/* Clarify — calm wayfinding */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --field: #ffffff;
  --field-line: #dfe5e1;
  --on-field: #13201a;
  --on-field-soft: #45524b;
  --green: #14634a;
  --green-tint: #e6f0eb;
  --ground: #ffffff;
  --soft: #f5f8f6;
  --paper: #ffffff;
  --ink: #15201b;
  --ink-soft: #3c4842;
  --line: #e1e7e3;
  --accent: #14634a;
  --accent-hover: #0f5440;
  --error: #b3261e;
  --display: "Archivo", "Arial", sans-serif;
  --text: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --r: 6px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #b9c6bf var(--ground); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--text); font-size: 1.0556rem; line-height: 1.6; color: var(--ink); background: var(--ground); }
::selection { background: #cfe5da; color: var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: #b9c6bf; border-radius: 8px; border: 3px solid var(--ground); }
a { color: var(--green); text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
a:hover { text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 3px; }
img, svg { display: block; max-width: 100%; }
p { margin: 0; text-wrap: pretty; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--accent); color: #fff; padding: 0.6rem 1rem; border-radius: var(--r); font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: min(1200px, 100% - 3rem); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 750; font-stretch: 105%; line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 3.6vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 2.6vw, 2.3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: inherit; text-decoration: none; font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; flex: none; }

/* Header + hero share the green field */
.field-bg { background: var(--field); color: var(--on-field); }
.field-bg a { color: var(--on-field); }
.top { border-bottom: 1px solid var(--line); }
.top { padding-block: 1.1rem; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top-link { font-weight: 700; font-size: 0.95rem; text-decoration: none; padding: 0.55rem 1rem; border: 2px solid var(--field-line); border-radius: 999px; transition: border-color 160ms var(--ease), background-color 160ms var(--ease); }
.top-link:hover { border-color: var(--accent); color: var(--accent); }
.doc-top { background: var(--paper); color: var(--ink); }

.hero { padding-block: clamp(1.4rem, 2.5vw, 2.2rem) clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 0.92fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero-copy { padding-top: 0.6rem; }
.lede { font-size: 1.2rem; line-height: 1.55; margin-top: 1.1rem; max-width: 34em; color: var(--on-field-soft); }
.scope { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--field-line); font-size: 0.98rem; max-width: 38em; color: var(--on-field); }
.scope strong { color: var(--accent); }

/* The route: three steps, the hero's one authored moment */
.route { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.route li:not(:last-child)::after { content: ""; position: absolute; left: 46px; right: 0; top: 22px; height: 2px; background: var(--accent); transform-origin: left center; animation: draw 0.9s var(--ease) both; }
.route li:nth-child(1)::after { animation-delay: 0.25s; }
.route li:nth-child(2)::after { animation-delay: 0.75s; }
.route li { position: relative; }
.route li > .rt, .route li > p { padding-right: 1.2rem; }
.route .node { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--accent); }
.route li:first-child .node { background: var(--accent); color: #fff; }
.route .rt { display: block; margin-top: 0.9rem; font-family: var(--display); font-weight: 750; font-stretch: 105%; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--on-field); }
.route p { margin-top: 0.3rem; font-size: 0.95rem; color: var(--on-field-soft); line-height: 1.45; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .route li::after { animation: none !important; } }

/* Form panel */
.panel { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.3rem, 2.4vw, 2rem); box-shadow: 0 40px 80px -40px rgba(14, 50, 36, 0.28), 0 6px 16px -8px rgba(14, 50, 36, 0.12); scroll-margin-top: 1rem; }
.panel a { color: var(--green); }
.panel h2 { font-size: 1.4rem; }
.panel > p { margin-top: 0.35rem; color: var(--ink-soft); font-size: 0.98rem; }
form { margin-top: 1rem; display: grid; gap: 0.7rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.field { display: grid; gap: 0.3rem; align-content: start; }
label { font-weight: 700; font-size: 0.95rem; }
.opt { font-weight: 400; color: #5b6660; }
input, select, textarea { font: inherit; font-size: 1.04rem; color: var(--ink); width: 100%; min-height: 52px; padding: 0.6rem 0.8rem; background: #fff; border: 1.5px solid #8f9a94; border-radius: var(--r); caret-color: var(--green); transition: border-color 140ms var(--ease); }
textarea { min-height: 76px; resize: vertical; line-height: 1.45; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2315201b' stroke-width='2.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.6rem; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(20, 99, 74, 0.35); outline-offset: 0; border-color: var(--green); }
::placeholder { color: #66716b; }
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: var(--error); }
.err { color: var(--error); font-size: 0.9rem; font-weight: 700; display: none; }
.field[data-invalid] .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { font-size: 0.88rem; line-height: 1.45; color: var(--ink-soft); }
.btn { appearance: none; border: 0; cursor: pointer; width: 100%; min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; font-family: var(--display); font-weight: 750; font-stretch: 105%; font-size: 1.08rem; letter-spacing: -0.005em; color: #fff; background: var(--accent); border-radius: var(--r); padding: 0.85rem 1.2rem; text-decoration: none; box-shadow: 0 10px 20px -12px rgba(20, 99, 74, 0.7); transition: background-color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease); }
.btn svg { width: 20px; height: 20px; transition: transform 200ms var(--ease); }
.btn:hover { background: var(--accent-hover); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); box-shadow: 0 4px 10px -8px rgba(20, 99, 74, 0.7); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn[disabled] { cursor: progress; opacity: 0.75; }
.safe { font-size: 0.88rem; color: var(--ink-soft); display: flex; gap: 0.5rem; align-items: flex-start; }
.safe svg { width: 16px; flex: none; margin-top: 0.2rem; color: var(--green); }
.form-error { display: none; color: var(--error); font-weight: 700; background: #fbeceb; padding: 0.7rem 0.9rem; border-radius: var(--r); }
.form-error.show { display: block; }

/* Sections on the light ground */
.section { padding-block: clamp(3.2rem, 6vw, 5.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section.tint { background: var(--soft); }
.section-head { max-width: 40em; margin-bottom: 2.2rem; }
.section-head p { margin-top: 0.7rem; color: var(--ink-soft); font-size: 1.08rem; }

/* What to gather */
.gather { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.gather li { display: grid; gap: 0.9rem; align-content: start; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.gather svg { width: 52px; height: 52px; color: var(--green); }
.gather svg * { vector-effect: non-scaling-stroke; }
.gather h3 { font-size: 1.05rem; }
.gather p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5; margin-top: -0.5rem; }

/* What happens next: a timeline, not cards */
.timeline { --gap: clamp(1.5rem, 4vw, 3.5rem); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 52px; right: calc(-1 * var(--gap) + 8px); height: 2px; background: var(--line); }
.timeline li { position: relative; }
.timeline .node { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--green); color: var(--green); font-family: var(--display); font-weight: 800; }
.timeline h3 { margin-top: 1rem; }
.timeline p { margin-top: 0.4rem; color: var(--ink-soft); max-width: 22em; }

/* Covers / not */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.checklist, .not-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1rem; }
.checklist li, .not-list li { display: grid; grid-template-columns: 26px 1fr; gap: 0.85rem; align-items: start; max-width: 34em; }
.checklist svg, .not-list svg { width: 26px; height: 26px; margin-top: 0.05rem; }
.checklist svg { color: var(--green); }
.not-box { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.4rem, 3vw, 2rem); }
.not-list svg { color: var(--ink-soft); }
.not-h { font-size: 1.45rem; }

/* Paid help disclosure */
.price { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.range { font-family: var(--display); font-weight: 800; font-stretch: 105%; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; margin-top: 0.8rem; font-variant-numeric: tabular-nums; }
.range small { display: block; line-height: 1.45; font-family: var(--text); font-weight: 400; font-size: 1rem; letter-spacing: 0; color: var(--ink-soft); margin-top: 0.4rem; }
.price-copy p + p { margin-top: 0.9rem; }
.price-copy .warn { padding: 1rem 1.1rem; background: var(--green-tint); border-radius: var(--r); font-weight: 700; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); max-width: 52em; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.15rem 0.1rem; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1.5 1.5l6.5 6.5 6.5-6.5' fill='none' stroke='%2314634a' stroke-width='3'/%3E%3C/svg%3E") no-repeat center; transition: transform 220ms var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:hover { color: var(--green); }
.faq details > div { padding: 0 0.1rem 1.3rem; max-width: 40em; color: var(--ink-soft); }
.faq details > div p + p { margin-top: 0.6rem; }

/* Closing band */
.close { padding-block: clamp(3.2rem, 6vw, 5rem); background: var(--soft); border-top: 1px solid var(--line); }
.close .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.close h2 { color: var(--on-field); }
.close p { margin-top: 0.5rem; color: var(--on-field-soft); max-width: 34em; }
.close .btn { width: auto; padding-inline: 1.8rem; }

/* Footer */
.foot { background: #fff; color: var(--ink-soft); border-top: 1px solid var(--line); padding-block: 2.6rem 3rem; font-size: 0.92rem; }
.foot a { color: var(--ink); }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.foot p { max-width: 36em; }
.foot p + p { margin-top: 0.4rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.2rem; color: #5d6963; }
.todo { background: #ffe58a; color: #15201b; padding: 0 0.25em; border-radius: 3px; font-weight: 700; }

/* Mobile marker: a bar that points to the form until the form is on screen */
.to-form { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(14, 50, 36, 0.25); display: none; transform: translateY(0); transition: transform 260ms var(--ease); }
.to-form.hide { transform: translateY(110%); }

/* Document pages (privacy, terms, thank-you) */
.doc { padding-block: 2.5rem 4rem; background: var(--soft); }
.doc .sign { max-width: 820px; margin-inline: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.5rem, 4vw, 3rem); }
.doc h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.doc h2 { font-size: 1.3rem; margin-top: 2rem; }
.doc p, .doc li { max-width: 36em; text-wrap: pretty; }
.doc p { margin-top: 0.8rem; }
.doc ul { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.doc li + li { margin-top: 0.4rem; }

@media (min-width: 1200px) {
  .row-2.wide-only { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1199px) {
  .row-2.wide-only { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .hero .wrap, .split, .price { grid-template-columns: 1fr; }
  .panel { max-width: 640px; }
  .gather { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.8rem; }
  .timeline { --gap: 1.8rem; grid-template-columns: 1fr; }
  .timeline li:not(:last-child)::after { top: 52px; bottom: calc(-1 * var(--gap) + 8px); left: 21px; right: auto; width: 2px; height: auto; }
  .timeline li { display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; }
  .timeline .node { grid-row: span 2; }
  .timeline h3 { margin-top: 0.55rem; }
  .foot .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  html { font-size: 106.25%; }
  .wrap { width: calc(100% - 2rem); }
  .top-link { display: none; }
  .row-2 { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; gap: 1.1rem; margin-top: 1.8rem; }
  .route li:not(:last-child)::after { left: 22px; right: auto; top: 46px; bottom: -1.1rem; width: 2px; height: auto; transform-origin: top center; animation-name: drawY; }
  .route li { display: grid; grid-template-columns: 46px 1fr; column-gap: 0.9rem; }
  .route li > .rt, .route li > p { padding-right: 0; }
  .route .node { grid-row: span 2; }
  .route .rt { margin-top: 0.15rem; }
  .gather { grid-template-columns: 1fr; row-gap: 1.1rem; }
  .gather li { grid-template-columns: 44px 1fr; column-gap: 1rem; row-gap: 0.25rem; padding-top: 1rem; }
  .gather svg { grid-row: span 2; width: 44px; height: 44px; }
  .gather p { margin-top: 0; }
  .panel { padding-inline: 1.1rem; }
  .panel .btn { font-size: 1rem; gap: 0.45rem; padding-inline: 0.9rem; }
  .doc { padding-block: 0; background: var(--paper); }
  .doc .wrap { width: 100%; }
  .doc .sign { border: 0; border-radius: 0; padding: 1.8rem 1.1rem; }
  .to-form { display: block; }
  .foot { padding-bottom: 6rem; }
}
@keyframes drawY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 380px) { .panel .btn svg { display: none; } }

/* Thank-you: the route continues */
.route--done { margin: 1.8rem 0 0.4rem; }
.route--done li:nth-child(2) .node { background: #fff; color: var(--accent); }
.checks { list-style: none; padding: 0 !important; margin-top: 1rem !important; display: grid; gap: 0.9rem; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 0.85rem; align-items: start; }
.checks li + li { margin-top: 0 !important; }
.checks svg { width: 26px; height: 26px; color: var(--green); margin-top: 0.05rem; }
.doc .route li { margin-top: 0; max-width: none; }
.doc .route p { margin-top: 0.3rem; }
