/* WellSited — site styles v2
   Concept: "a well-sited home" — ridge behind, water in front, house on the bench between.
   Full-bleed illustrated dark bands alternate with light content bands. */
:root {
  --paper: #f5f8f5;
  --surface: #ffffff;
  --ink: #13211a;
  --muted: #55665d;
  --line: #dbe3dd;
  --pine: #163a2c;      /* dark bands */
  --pine-2: #1e4a39;
  --on-pine: #f1f6f2;
  --on-pine-muted: #b9cdc2;
  --brass: #c79a3c;
  --brass-ink: #1d1708;
  --red: #a63a2b;
  --amber: #8a5a00;
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1813; --surface: #15231c; --ink: #e7efe9; --muted: #a0b3a8; --line: #26382e;
    --red: #e58a78; --amber: #e0ac4e; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1813; --surface: #15231c; --ink: #e7efe9; --muted: #a0b3a8; --line: #26382e;
  --red: #e58a78; --amber: #e0ac4e; color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; margin: 0; text-wrap: balance; font-variation-settings: "SOFT" 50, "opsz" 96; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.5rem; font-variation-settings: "SOFT" 50, "opsz" 36; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.lead { font-size: 1.25rem; line-height: 1.55; max-width: 34em; }

/* ---------- Header (sits over the dark hero) ---------- */
.site-header { position: absolute; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 20; color: var(--on-pine); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-block: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.01em; }
.logo svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 1rem; }
.nav a { text-decoration: none; opacity: .82; padding-block: 4px; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brass); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 1.02rem var(--f-body); padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-brass { background: var(--brass); color: var(--brass-ink); }
.btn-brass:hover { background: #e0b65a; }
.btn-line { border-color: rgba(241,246,242,.5); color: var(--on-pine); }
.btn-line:hover { border-color: var(--on-pine); background: rgba(255,255,255,.06); }
.btn-pine { background: var(--pine); color: var(--on-pine); }
.btn-pine:hover { background: var(--pine-2); }

/* ---------- Dark illustrated bands ---------- */
.band-dark { position: relative; background: var(--pine); color: var(--on-pine); overflow: hidden; isolation: isolate; }
.band-dark .art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.band-dark .scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,28,20,.82) 0%, rgba(10,28,20,.45) 48%, rgba(10,28,20,0) 75%); }
.hero .wrap { min-height: clamp(620px, 88vh, 860px); display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-block: 140px 110px; }
.hero h1 { max-width: 11ch; }
.hero .lead { color: var(--on-pine-muted); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.page-hero .wrap { min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding-block: 150px 64px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 14ch; }
.page-hero .lead { color: var(--on-pine-muted); }
.pill { display: inline-block; width: fit-content; font-size: .9rem; font-weight: 600; padding: 5px 14px; border-radius: 999px; background: rgba(199,154,60,.18); color: #f2d593; border: 1px solid rgba(199,154,60,.45); }

/* ---------- Light bands ---------- */
.band { padding-block: clamp(72px, 10vw, 132px); }
.band-alt { background: var(--surface); border-block: 1px solid var(--line); }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }

/* Three paths: image-led tiles */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 960px) { .paths { grid-template-columns: 1fr; max-width: 560px; } }
.path { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.path:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(19,33,26,.45); }
.path .pic { aspect-ratio: 5 / 3; background: var(--pine); position: relative; }
.path .pic svg { width: 100%; height: 100%; display: block; }
.path .pic .pill { position: absolute; left: 16px; top: 16px; backdrop-filter: blur(4px); }
.path .body { padding: 26px 26px 28px; display: grid; gap: 12px; align-content: start; }
.path .who { color: var(--muted); font-weight: 600; font-size: .98rem; }
.path .price { margin-top: 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
.path .more { color: var(--pine-2); font-weight: 700; margin-top: 4px; }
:root[data-theme="dark"] .path .more { color: var(--brass); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .path .more { color: var(--brass); } }

/* Feature (product) band */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }
.feature .copy { display: grid; gap: 22px; }
.feature img { border-radius: 14px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.6); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; }
.price-line .amt { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--brass); border-bottom: 2.5px solid var(--brass); transform: rotate(-45deg); }

/* Spec figures */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } }
.spec { padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; min-width: 0; }
.spec .v { font-family: var(--f-display); font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1.05; color: var(--ink); }
.spec .k { color: var(--muted); }

/* Ridge & water (philosophy) band */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.framed { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--pine); }
.framed svg { width: 100%; height: 100%; display: block; }
.stack { display: grid; gap: 20px; }
.note { border-left: 3px solid var(--brass); padding: 4px 0 4px 18px; color: var(--muted); }

/* Steps: a real sequence */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--brass); }
.steps li::before { content: counter(s); font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--brass); }
.steps strong { font-size: 1.15rem; }

/* Sample item */
.item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px -36px rgba(19,33,26,.5); }
.item-head { padding: 18px 24px; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.item-head .n { font-family: var(--f-display); color: var(--brass); font-size: 1.5rem; }
.item-head h3 { font-size: 1.25rem; }
.item-row { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 16px 24px; }
.item-row + .item-row { border-top: 1px dashed var(--line); }
.item-row .lbl { font-weight: 700; font-size: .95rem; }
.lbl.trap { color: var(--amber); } .lbl.red { color: var(--red); } .lbl.ver { color: var(--pine-2); }
:root[data-theme="dark"] .lbl.ver { color: #7fc3a3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lbl.ver { color: #7fc3a3; } }
@media (max-width: 560px) { .item-row { grid-template-columns: 1fr; gap: 4px; } }

/* Contents list */
.toc { list-style: none; padding: 0; margin: 0; }
.toc li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.toc .l { font-family: var(--f-display); color: var(--brass); width: 1.3em; flex: none; font-size: 1.2rem; }
.toc .r { margin-left: auto; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Pricing tables */
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: .95rem; }
tr:last-child td { border-bottom: 0; }
td.price { font-family: var(--f-display); font-size: 1.35rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Lists in prose */
.list { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.prose { max-width: 68ch; display: grid; gap: 18px; }

/* Waitlist band */
.waitlist .wrap { padding-block: clamp(90px, 12vw, 150px); display: grid; gap: 18px; max-width: 860px; margin-left: auto; margin-right: auto; text-align: left; }
.waitlist p { color: var(--on-pine-muted); max-width: 52ch; }
.waitlist form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; max-width: 620px; }
.waitlist input[type="email"] { flex: 1 1 260px; min-width: 0; font: 1.05rem var(--f-body); padding: 15px 22px; border-radius: 999px; border: 1.5px solid rgba(241,246,242,.35); background: rgba(10,28,20,.55); color: var(--on-pine); }
.waitlist input::placeholder { color: rgba(241,246,242,.6); }
.waitlist .msg { min-height: 1.5em; color: var(--on-pine); }
.waitlist .fine { font-size: .92rem; }
.waitlist .fine a { color: var(--on-pine); }
.sr { position: absolute; left: -9999px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding-block: 22px; }
details summary { cursor: pointer; font-family: var(--f-display); font-size: 1.35rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
details summary::after { content: "+"; color: var(--brass); font-size: 1.6rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details summary::-webkit-details-marker { display: none; }
details > div { display: grid; gap: 12px; color: var(--muted); max-width: 70ch; margin-top: 14px; }

/* Footer */
.site-footer { background: #0c1f17; color: #b9cdc2; padding-block: 60px 40px; font-size: .98rem; }
.site-footer .wrap { display: grid; gap: 26px; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; }
.site-footer .brand { display: grid; gap: 8px; color: #f1f6f2; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.site-footer a { color: #dfe9e3; text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.site-footer .legal { font-size: .88rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: grid; gap: 8px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
