:root {
  --ink: #16213a;
  --ink-soft: #46506a;
  --paper: #fbf8f3;
  --card: #ffffff;
  --tint: #f2ede4;
  --line: #e4ddd0;
  --accent: #e8572a;
  --accent-dark: #c4431b;
  --teal: #1d7566;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 33, 58, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 22ch; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; margin-top: 32px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: #fff; padding: 8px 12px; }

.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--teal); margin-bottom: .6em; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }

.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1rem/1.2 Inter, system-ui, sans-serif; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.btn-small { padding: 10px 18px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-wide { width: 100%; padding: 16px; font-size: 1.05rem; }
.text-link { color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 248, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.brand em { font-style: normal; font-weight: 500; color: var(--ink-soft); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 64px; background: radial-gradient(1200px 500px at 85% -10%, #fde4d6 0, transparent 60%), radial-gradient(800px 400px at -10% 110%, #d9efe9 0, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.click { color: var(--accent); position: relative; white-space: nowrap; }
.click::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .14em; background: currentColor; opacity: .25; border-radius: 4px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-soft); font-size: .95rem; }
.facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-right: 8px; vertical-align: middle; }
.hero-card { background: var(--card); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-card-title { font-family: Fraunces, Georgia, serif; font-size: 1.35rem; font-weight: 700; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .95rem; background: var(--paper); }
.chips a:hover { border-color: var(--accent); color: var(--accent-dark); }
.hero-card-note { color: var(--ink-soft); font-size: .9rem; margin: 16px 0 0; }

/* Sections */
.section { padding: 84px 0; }
.section-tint { background: var(--tint); }
.grid { display: grid; gap: 20px; margin-top: 36px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card, .tool, .who { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p, .who p, .principle p { color: var(--ink-soft); margin: 0; }
.card-accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-accent p { color: #cfd5e3; margin-bottom: 14px; }
.card-accent .text-link { color: #ffb397; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.steps p { color: var(--ink-soft); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 16px; }

.principle { border-left: 4px solid var(--teal); padding: 4px 0 4px 20px; }
.aside-note { margin-top: 32px; font-weight: 600; }

.tool { display: flex; flex-direction: column; box-shadow: var(--shadow); }
.tool p { color: var(--ink-soft); }
.tool-tag { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal) !important; margin-bottom: 8px; }
.tool-links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 8px; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; font-size: 1.3rem; line-height: 1; color: var(--accent); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--ink-soft); }

/* Contact */
.contact { background: var(--ink); color: #fff; }
.contact .eyebrow { color: #7fd3c3; }
.contact .lede { color: #cfd5e3; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { padding: 6px 0 6px 30px; position: relative; color: #e6e9f1; }
.checks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 9px; border-left: 3px solid #7fd3c3; border-bottom: 3px solid #7fd3c3; transform: rotate(-45deg); }
.form { background: var(--card); color: var(--ink); border-radius: 22px; padding: 28px; display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
label .lbl b { color: var(--accent-dark); margin-left: 2px; }
label small { font-weight: 400; color: var(--ink-soft); }
input, select, textarea { font: 400 1rem/1.4 Inter, system-ui, sans-serif; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
textarea { resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #c62828; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #c62828; }
.privacy { margin: 0; font-size: .82rem; color: var(--ink-soft); }
.form.sent { text-align: center; padding: 48px 28px; }

.foot { padding: 36px 0 90px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.foot-row p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

.mobile-cta { display: none; }

@media (max-width: 920px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .top-row { justify-content: space-between; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 40px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .steps, .row { grid-template-columns: 1fr; }
  .top .btn-small { display: none; }
  .mobile-cta {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 30;
    text-align: center; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none;
    padding: 15px; border-radius: 999px; box-shadow: 0 8px 24px rgba(232, 87, 42, .35);
  }
  .mobile-cta.hide { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
