/* Layout: warm editorial landing page. Paper-grain oat ground, forest-green bands
   for the two "do something" moments (finder, footer), one terracotta accent. */
:root {
  --oat: #FAF8F5;
  --stone: #F3EFEA;
  --line: #E5DEC9;
  --forest: #1B4332;
  --forest-2: #2D6A4F;
  --forest-pale: #E8F3EE;
  --forest-deep: #0F291E;
  --terra: #A3462A;          /* deep terracotta: readable as small text on oat and under white text */
  --terra-soft: #E07A5F;
  --terra-pale: #FDF2EF;
  --ink: #1F2937;
  --ink-2: #2F3B36;          /* secondary text: dark green-grey, still high contrast on oat */
  --white: #FFFFFF;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 12px 32px -8px rgba(27,67,50,.10), 0 4px 12px -2px rgba(27,67,50,.05);
  --shadow-lg: 0 20px 45px -12px rgba(27,67,50,.16), 0 8px 18px -4px rgba(27,67,50,.06);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background-color: var(--oat);
  background-image: radial-gradient(rgba(27,67,50,.045) 1px, transparent 0);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--display); color: var(--forest); margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--terra-soft); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.narrow { max-width: 780px; }
.band { padding-block: clamp(56px, 8vw, 104px); }
.eyebrow { font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 62ch; }
.section-head { display: grid; gap: 10px; max-width: none; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; font-weight: 600; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 600; border-radius: 16px; padding: 15px 24px; transition: background-color .15s, transform .15s, box-shadow .15s; border: 1px solid transparent; cursor: pointer; font-family: var(--body); font-size: 16px; line-height: 1.3; text-align: center; }
.btn-primary { background: var(--forest); color: var(--oat); box-shadow: var(--shadow-lg); }
.btn-primary:hover { background: var(--forest-2); transform: translateY(-1px); }
.btn-quiet { background: var(--stone); color: var(--forest); border-color: var(--line); }
.btn-quiet:hover { background: var(--line); }
.btn-light { background: var(--oat); color: var(--forest); }
.btn-light:hover { background: var(--white); }
.btn .arrow { color: var(--terra-soft); }

/* 1. announcement */
.notice { background: var(--forest); color: var(--oat); font-size: 16px; }
.notice .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; padding-block: 10px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 7px; background: var(--terra); color: var(--white); border-radius: 999px; padding: 3px 11px; font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.notice a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--terra-soft); text-underline-offset: 4px; }

/* 2. header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(250,248,245,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--forest); color: var(--oat); display: grid; place-items: center; flex: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--forest); line-height: 1; }
.brand-name small { font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--terra); margin-left: 2px; }
.brand-sub { display: block; font-size: 16px; color: var(--ink-2); margin-top: 3px; }
.nav { display: flex; gap: 22px; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--forest); }
.head-cta { padding: 11px 18px; font-size: 16px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; }
.menu-toggle { display: none; align-items: center; gap: 8px; background: var(--stone); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; min-height: 44px; font: 600 16px var(--body); color: var(--forest); cursor: pointer; }
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px 16px 14px; background: var(--oat); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { display: flex; align-items: center; min-height: 46px; padding: 6px 4px; border-bottom: 1px solid var(--stone); font-size: 17px; }
  .nav a:last-child { border-bottom: none; }
}
@media (max-width: 560px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 20px; }
  .brand-name small { display: none; }
  /* the hero's full-width "Start free" button sits directly below — no room for both */
  .head-cta { display: none; }
  .menu-toggle span { display: none; }
  .menu-toggle { padding: 10px 12px; }
}

/* 3. hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px); }
.hero::before, .hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hero::before { background: rgba(232,243,238,.9); top: -140px; left: -140px; }
.hero::after { background: rgba(253,242,239,.95); top: 30%; right: -160px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.tag { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: var(--stone); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 16px; font-weight: 500; color: var(--forest); }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--forest-2); }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.08; font-weight: 600; }
.hero h1 em { display: block; font-style: italic; font-weight: 400; color: var(--terra); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; padding: 0; margin: 0; list-style: none; font-size: 16px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--forest-pale); color: var(--forest); display: grid; place-items: center; font-size: 16px; font-weight: 700; margin-top: 1px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }
.fineprint { font-size: 16px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hero-art { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 14px; }
.hero-art svg { display: block; width: 100%; height: auto; border-radius: 18px; }
.hero-art figcaption { font-size: 16px; color: var(--ink-2); padding: 12px 8px 4px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } .hero-ctas .btn { width: 100%; } }

/* 4. relief */
.relief { background: rgba(243,239,234,.85); border-block: 1px solid var(--line); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.side { border-radius: var(--r-lg); padding: clamp(26px, 3.5vw, 40px); display: grid; gap: 18px; align-content: start; }
.side-old { background: var(--oat); border: 1px solid var(--line); }
.side-new { background: var(--forest); color: var(--oat); box-shadow: var(--shadow-lg); }
.side-new h3 { color: var(--white); }
.side h3 { font-size: clamp(22px, 2.4vw, 27px); line-height: 1.2; font-weight: 600; }
.badge { justify-self: start; font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }
.side-old .badge { background: #F6E3DE; color: #8A3A26; }
.side-new .badge { background: var(--terra); color: var(--white); }
.side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.side li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.side-old li::before { content: "✕"; color: #A6452C; font-weight: 700; }
.side-new li::before { content: "✓"; color: #9FE0BE; font-weight: 700; }
.side-new li { color: var(--oat); }
.side-foot { font-size: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-style: italic; }
.side-new .side-foot { border-top-color: var(--forest-2); color: #DCF2E6; font-style: normal; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.side-new .side-foot a { color: var(--white); font-weight: 600; }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }

/* 5. steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; }
.step-top { display: flex; align-items: center; gap: 12px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: var(--oat); display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: none; }
.step-when { font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); }
.step h3 { font-size: 23px; font-weight: 600; }
.step p { color: var(--ink-2); font-size: 16px; }
.step-icon { height: 110px; border-radius: var(--r-md); background: var(--forest-pale); display: grid; place-items: center; color: var(--forest); margin-bottom: 6px; }
.step:nth-child(2) .step-icon { background: var(--terra-pale); color: var(--terra); }
.step-note { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 600; color: var(--forest); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* 6. finder */
.finder-band { background: var(--forest); }
.finder { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); display: grid; gap: 28px; }
.finder-head { display: grid; gap: 10px; max-width: none; }
.finder-head .badge { background: var(--terra-pale); color: var(--terra); }
.finder-head h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; font-weight: 600; }
.finder-head p { color: var(--ink-2); }
.controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field select { appearance: none; -webkit-appearance: none; width: 100%; background: var(--oat) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231B4332' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 40px 13px 14px; font: 500 16px/1.3 var(--body); color: var(--forest); cursor: pointer; }
.field select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(45,106,79,.18); }
@media (max-width: 820px) { .controls { grid-template-columns: 1fr; } }
/* A select's min-content width is its longest option ("Community Interest Company (…)")
   — let the grid tracks shrink below it on narrow phones */
.finder > *, .controls > *, .field > * { min-width: 0; }
.field select { text-overflow: ellipsis; }
.results-box { background: var(--oat); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: grid; gap: 16px; }
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 16px; }
.results-head strong { font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.results-head span { color: var(--ink-2); }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .results { grid-template-columns: 1fr; } }
.funder { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; }
.funder-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 16px; }
.chip { background: var(--forest-pale); color: var(--forest); font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.amount { font-weight: 700; color: var(--terra); font-variant-numeric: tabular-nums; white-space: nowrap; }
.funder h4 { font-size: 18px; line-height: 1.25; font-weight: 600; }
.funder p { font-size: 16px; color: var(--ink-2); }
.funder a { font-size: 16px; font-weight: 600; color: var(--forest); padding-top: 10px; border-top: 1px solid var(--line); text-decoration: none; }
.funder a:hover { text-decoration: underline; }
.empty { grid-column: 1 / -1; font-size: 16px; color: var(--ink-2); padding: 8px 2px; }
.finder-note { font-size: 16px; color: var(--ink-2); }
.next-step { border-top: 1px solid var(--line); padding-top: 26px; display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; }
.next-step h3 { font-size: 22px; font-weight: 600; }
.next-step p { color: var(--ink-2); font-size: 16px; margin-top: 6px; max-width: 60ch; }
.next-step .btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .next-step { grid-template-columns: 1fr; } .next-step .btn { width: 100%; } }

/* 7. pricing */
.plans { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; align-items: stretch; }
.plan { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); display: grid; gap: 22px; align-content: start; }
.plan-charter { position: relative; background: var(--white); border: 2px solid var(--forest); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: -15px; left: 28px; background: var(--terra); color: var(--white); font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 6px 15px; }
.plan-monthly { background: rgba(243,239,234,.95); border: 1px solid var(--line); }
.plan-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan-top h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; }
.plan-top .sub { font-size: 16px; color: var(--ink-2); margin-top: 4px; }
.price { font-family: var(--display); font-weight: 700; color: var(--forest); font-size: clamp(44px, 5vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--terra); display: block; margin-top: 6px; text-align: right; }
.plan-monthly .price { color: var(--ink); font-size: 44px; }
.plan-monthly .price small { color: var(--ink-2); text-align: left; }
.list-label { font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-2); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.plan li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.plan-charter li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--forest); color: var(--oat); display: grid; place-items: center; font-size: 16px; margin-top: 2px; }
.plan-monthly li::before { content: "✓"; color: var(--forest); font-weight: 700; }
.plan-foot { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan-foot .btn { width: 100%; font-size: 17px; padding-block: 17px; }
.plan-foot .meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 16px; color: var(--ink-2); }
.plan-foot .meta strong { color: var(--terra); }
.sum { background: var(--oat); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; font-size: 16px; color: var(--ink-2); display: grid; gap: 4px; }
.sum strong { color: var(--forest); }
.sum table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; margin-top: 6px; }
.sum td { padding: 4px 0; }
.sum td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.sum tr + tr td { border-top: 1px dashed var(--line); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* 8. founder */
.founder-band { background: rgba(243,239,234,.75); border-block: 1px solid var(--line); }
.letter { background: var(--oat); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(26px, 4vw, 48px); display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.portrait { display: grid; gap: 12px; justify-items: center; text-align: center; }
.portrait img { width: 180px; height: 180px; object-fit: cover; border-radius: 28px; border: 3px solid var(--line); }
.portrait strong { font-family: var(--display); color: var(--forest); font-size: 18px; }
.portrait span { font-size: 16px; color: var(--ink-2); display: block; }
.letter-body { display: grid; gap: 16px; }
.letter-body h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 600; }
.letter-body p { color: var(--ink-2); max-width: 64ch; }
.sign { font-family: var(--display); font-style: italic; color: var(--forest); font-size: 18px; }
@media (max-width: 720px) { .letter { grid-template-columns: 1fr; } }

/* 9. faq */
.faqs { display: grid; gap: 12px; }
.faqs details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.faqs summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--forest); }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; font-family: var(--body); color: var(--terra); font-size: 22px; line-height: 1; flex: none; }
.faqs details[open] summary::after { content: "−"; }
.faqs details p { padding: 0 22px 20px; color: var(--ink-2); font-size: 16px; }

/* footer */
.foot { background: var(--forest-deep); color: var(--oat); font-size: 16px; }
.foot .wrap { display: grid; gap: 32px; padding-block: 56px; }
.foot-brand { text-decoration: none; color: var(--oat); }
.foot-brand small { color: #F2A58E; }   /* light terracotta: readable on the dark band */
.foot-cols { display: grid; grid-template-columns: 1.35fr 1.35fr 1fr 1fr; gap: 32px 40px; align-items: start; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-label { font-family: var(--body); font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #F2A58E; margin: 0 0 4px; }
.foot p { margin: 0; font-size: 16px; color: var(--oat); max-width: 46ch; }
.foot a { color: var(--oat); text-decoration: none; overflow-wrap: anywhere; }
.foot a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 960px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr; } }

/* (mockup flag removed) */ .mock-flag-unused { position: fixed; z-index: 40; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--oat); font-size: 16px; font-weight: 600; border-radius: 999px; padding: 8px 14px; box-shadow: var(--shadow-lg); }

::placeholder { color: #59625D; opacity: 1; }
