/* PLACE website. Tokens mirror PlaceTokens in Sources/PLACE/Theme.swift (paper/ink, petrol teal, sage/plum/stone/mist). */

@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --paper: #F7F6F3;
  --paper-2: #F0EEE9;
  --raised: #FFFFFF;
  --elevated: #F2F0EC;
  --ink: #202427;
  --ink-2: #586268;
  --rule: #D6DAD7;
  --accent: #316A6B;
  --action: #316A6B;
  --action-hover: #285758;
  --on-action: #FFFFFF;
  --selected: #DCE8D7;
  --lavender: #C299FC;
  --sage: #CAD7C2;  --sage-ink: #56704C;
  --plum: #D9CBDB;  --plum-ink: #76587D;
  --stone: #E5DCD0; --stone-ink: #7E6643;
  --mist: #C9D8E3;  --mist-ink: #4A6A85;
  --warning: #86672A;
  --inverse: #1D2224;
  --on-inverse: #F1F3F0;
  --on-inverse-2: #B9C3C0;
  --inverse-rule: #394344;
  --contour-wash: rgba(247, 246, 243, 0);
  --shadow: 0 1px 2px rgba(32, 36, 39, .06), 0 24px 48px -24px rgba(32, 36, 39, .32);
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: "Plus Jakarta Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(18px, 4vw, 32px);
  --max: 1180px;
  --radius: 22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141719;
    --paper-2: #1A1F21;
    --raised: #1D2224;
    --elevated: #283033;
    --ink: #F1F3F0;
    --ink-2: #B9C3C0;
    --rule: #394344;
    --accent: #90C9C8;
    --action: #79BDB8;
    --action-hover: #8FCBC6;
    --on-action: #102527;
    --selected: #3A4F3F;
    --sage: #344738;  --sage-ink: #A8C29C;
    --plum: #4A364B;  --plum-ink: #C9AFCD;
    --stone: #514437; --stone-ink: #D6C09A;
    --mist: #34485A;  --mist-ink: #A3BDD3;
    --warning: #D1B779;
    --inverse: #1A1F21;
    --on-inverse: #F1F3F0;
    --on-inverse-2: #B9C3C0;
    --inverse-rule: #394344;
    --contour-wash: rgba(20, 23, 25, .58);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 48px -24px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 100px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
code, kbd { font-family: var(--mono); font-size: .86em; }
code { background: var(--elevated); padding: .08em .35em; border-radius: 5px; overflow-wrap: anywhere; }
kbd { font-family: var(--sans); font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.028em; line-height: 1.08; margin: 0; text-wrap: balance; overflow-wrap: normal; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--action); color: var(--on-action); border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Header ── */
.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .14em; font-size: 1.12rem; min-height: 44px; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; gap: 4px 24px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .94rem; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav .btn { padding: 11px 16px; font-size: .92rem; margin-left: 4px; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--raised); color: var(--ink); font: 600 .94rem var(--sans); cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }
@media (max-width: 899px) {
  .top .wrap { gap: 8px 16px; }
  .nav { margin-left: 0; width: 100%; gap: 0 20px; }
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; flex-direction: column; align-items: stretch; padding: 4px 0 10px; }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 12px 2px; min-height: 44px; border-top: 1px solid var(--rule); font-size: 1rem; }
  .js .nav a.btn { border-top: 0; justify-content: center; margin: 10px 0 0; padding: 14px 16px; }
  .js .nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  background: var(--action); color: var(--on-action); border: 1px solid transparent;
  border-radius: 12px; padding: 12px 20px;
  font-weight: 600; text-decoration: none; line-height: 1.2;
  transition: background-color .15s ease, transform .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--action-hover); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 16px 24px; font-size: 1.04rem; border-radius: 13px; }
.btn-quiet { background: var(--raised); color: var(--ink); border-color: var(--rule); }
.btn-quiet:hover { background: var(--elevated); border-color: var(--ink-2); }
.btn-lg + .btn-quiet { padding: 16px 20px; font-size: 1.04rem; border-radius: 13px; }
.nav a.btn, .nav a.btn:hover { color: var(--on-action); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }

/* ── Hero ── */
.hero { position: relative; padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-waves .w1 { fill: color-mix(in srgb, var(--sage) 38%, var(--paper)); }
.hero-waves .w2 { fill: color-mix(in srgb, var(--sage) 70%, var(--paper)); }
.hero-waves .w3 { fill: var(--sage); }
.hero-waves .wl { fill: none; stroke: var(--rule); stroke-width: 1; opacity: .7; }
.hero-grid { position: relative; display: grid; gap: 48px; }
.hero-copy { position: relative; min-width: 0; }
.eyebrow { font-weight: 700; color: var(--ink-2); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--lavender); flex: none; }
.hero h1 { font-size: clamp(2.4rem, 4.4vw + 1rem, 5rem); line-height: .98; letter-spacing: -.045em; text-wrap: nowrap; }
.hero h1 .accent { color: var(--plum-ink); white-space: nowrap; }
.hero .lede { font-size: clamp(1.06rem, 1.3vw, 1.2rem); color: var(--ink-2); margin: 26px 0 32px; max-width: 31em; }
.download { display: grid; gap: 14px; justify-items: start; }
.download .meta { color: var(--ink-2); font-size: .9rem; margin: 4px 0 0; font-weight: 500; }
.download .meta > span + span::before { content: "·"; margin: 0 .5em; color: var(--ink-2); opacity: .6; }
.download .gk { font-size: .88rem; margin: 0; color: var(--ink-2); max-width: 34em; }
.hero-shot { position: relative; margin: 0; }
.hero-inset { display: none; }
@media (min-width: 700px) {
  .hero-inset { display: block; position: absolute; left: -4%; bottom: -9%; width: 44%; border-radius: 12px; }
  .hero-shot { margin-bottom: 5%; }
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: 56px; }
  .hero-shot { margin-right: -72px; }
}

.values { position: relative; list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 22px; display: grid; gap: 22px; background: var(--raised); border: 1px solid var(--rule); border-radius: 24px 20px 26px 22px; }
.values li { display: flex; gap: 14px; align-items: center; }
.values svg { width: 44px; height: 44px; flex: none; padding: 10px; border-radius: 13px; background: var(--v); fill: none; stroke: var(--v-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.values strong { display: block; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.values span { display: block; color: var(--ink-2); font-size: .9rem; line-height: 1.45; margin-top: 3px; }
.v-sage { --v: var(--sage); --v-ink: var(--sage-ink); } .v-plum { --v: var(--plum); --v-ink: var(--plum-ink); }
.v-stone { --v: var(--stone); --v-ink: var(--stone-ink); } .v-mist { --v: var(--mist); --v-ink: var(--mist-ink); }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 26px 28px; } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }

/* Screenshot frame */
.shot { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); outline: 1px solid var(--rule); outline-offset: -1px; background: var(--paper-2); }
.shot img { width: 100%; }

/* ── Section scaffolding ── */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 46em; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); letter-spacing: -.035em; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }
.label { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0; }

.district-sage  { --district: var(--sage);  --district-ink: var(--sage-ink);  --district-art: url("contours/01_Tide.png"); }
.district-plum  { --district: var(--plum);  --district-ink: var(--plum-ink);  --district-art: url("contours/02_Drift.png"); }
.district-stone { --district: var(--stone); --district-ink: var(--stone-ink); --district-art: url("contours/03_Cove.png"); }
.district-mist  { --district: var(--mist);  --district-ink: var(--mist-ink);  --district-art: url("contours/04_Pulse.png"); }

/* ── How it works ── */
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.how-step h3 { font-size: 1.4rem; letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; margin: 22px 0 10px; }
.how-step h3 span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--district); color: var(--district-ink); font-size: .92rem; font-weight: 800; flex: none; }
.how-step p { color: var(--ink-2); margin: 0; }
.how-step p strong { color: var(--ink); font-weight: 600; }
.how-art { background: var(--district); border-radius: 24px 20px 26px 22px; padding: clamp(16px, 2.4vw, 28px); }
.how-art svg { display: block; width: 100%; height: auto; }
.g-card, .g-tile, .g-chip { fill: var(--raised); stroke: var(--rule); }
.g-line { fill: var(--rule); } .g-ink { fill: var(--ink-2); } .g-hl { fill: var(--district); } .g-wave { fill: var(--district); }
.g-bar { fill: var(--district-ink); } .g-btn, .g-chip.g-on { fill: var(--action); stroke: none; } .g-dot { fill: var(--rule); }
.g-tile.g-on { stroke: var(--action); stroke-width: 2.5; }
.g-arrow { fill: none; stroke: var(--district-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.how-more { margin: 40px 0 0; font-weight: 600; }
@media (min-width: 860px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }

/* ── A closer look (three real screens) ── */
.demo-band { background: var(--paper-2); }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.demo-tabs button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 18px 8px 8px; border-radius: 13px; border: 1px solid var(--rule); background: var(--raised); color: var(--ink-2); font: 600 .96rem var(--sans); cursor: pointer; }
.demo-tabs button span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--elevated); font-size: .85rem; font-weight: 800; }
.demo-tabs button:hover { color: var(--ink); border-color: var(--ink-2); }
.demo-tabs button[aria-selected="true"] { background: var(--action); border-color: var(--action); color: var(--on-action); }
.demo-tabs button[aria-selected="true"] span { background: color-mix(in srgb, var(--on-action) 18%, transparent); }
.demo-stage { position: relative; border-radius: 28px 22px 26px 24px; padding: clamp(14px, 4vw, 56px) clamp(14px, 4vw, 56px) clamp(14px, 2.4vw, 28px); background: linear-gradient(var(--contour-wash), var(--contour-wash)), url("contours/01_Tide.png") center / cover no-repeat, var(--sage); }
.demo-panel .shot { max-width: 1000px; margin: 0 auto; }
.demo-note { text-align: center; max-width: 1000px; margin: clamp(14px, 2vw, 22px) auto 0; font-size: .96rem; color: var(--ink); background: var(--paper); border-radius: 12px; padding: 12px 16px; }
.demo-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 32px 0 0; color: var(--ink-2); font-size: .94rem; }

/* ── Features ── */
.feats { display: grid; gap: 28px; }
.feat { display: flex; flex-direction: column; background: var(--raised); border: 1px solid var(--rule); border-radius: 26px 22px 28px 20px; overflow: hidden; }
.feat:nth-child(even) { border-radius: 22px 28px 20px 26px; }
.feat-art { position: relative; margin: 0; padding: clamp(18px, 3vw, 36px) clamp(18px, 3vw, 36px) 0; background: linear-gradient(var(--contour-wash), var(--contour-wash)), var(--district-art) center / cover no-repeat, var(--district); }
.feat-art .shot { height: clamp(190px, 27vw, 310px); border-radius: 12px 12px 0 0; box-shadow: 0 -1px 2px rgba(32, 36, 39, .05), 0 -18px 40px -22px rgba(32, 36, 39, .3); }
.feat-art picture { display: block; height: 100%; }
.feat-art .shot img { height: 100%; object-fit: cover; object-position: top left; }
.feat-art figcaption { position: absolute; left: 14px; bottom: 12px; max-width: calc(100% - 28px); font-size: .8rem; line-height: 1.35; color: var(--ink); background: var(--paper); padding: 5px 10px; border-radius: 8px; border: 1px solid var(--rule); }
.feat-copy { padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: start; }
.feat-copy > * { margin: 0; }
.feat-tag { font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--district-ink); display: flex; align-items: center; gap: 10px; }
.feat-tag::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--district-ink); }
.feat-copy h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -.025em; }
.feat-copy p { color: var(--ink-2); }
.feat ul { margin: 0; padding: 14px 0 0; list-style: none; display: grid; gap: 9px; border-top: 1px solid var(--rule); }
.feat li { position: relative; padding-left: 22px; font-size: .94rem; color: var(--ink-2); }
.feat li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--district-ink); }
.feat blockquote { font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.5; color: var(--ink); padding-left: 16px; border-left: 3px solid var(--district-ink); }
.feat blockquote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .84rem; color: var(--ink-2); margin-top: 6px; }
@media (min-width: 860px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.also { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: 20px; border-top: 1px solid var(--rule); padding-top: 28px; }
.also h3 { font-size: 1.15rem; letter-spacing: -.01em; }
.also dl { margin: 0; display: grid; gap: 20px 40px; }
.also dt { font-weight: 600; }
.also dd { margin: 4px 0 0; color: var(--ink-2); font-size: .96rem; }
@media (min-width: 760px) { .also dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Why PLACE ── */
.whys { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.whys li { background: var(--district); border-radius: 24px 20px 26px 22px; padding: clamp(22px, 3vw, 32px); }
.whys p { margin: 0; color: var(--ink); font-size: .96rem; }
.whys .why-them { font-weight: 600; color: var(--district-ink); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.whys .why-us { font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -.025em; line-height: 1.12; margin: 6px 0 12px; }
@media (min-width: 860px) { .whys { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.ai-card { --district-ink: var(--mist-ink); margin-top: 28px; display: grid; gap: 28px; background: var(--raised); border: 1px solid var(--rule); border-radius: 28px 22px 26px 24px; padding: clamp(24px, 4vw, 48px); }
.ai-copy { display: grid; gap: 14px; align-content: start; }
.ai-copy > * { margin: 0; }
.ai-copy h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.035em; }
.ai-copy p:not(.feat-tag) { color: var(--ink-2); font-size: 1.04rem; max-width: 34em; }
.ai-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.ai-points li { background: var(--mist); border-radius: 16px; padding: 16px; }
.ai-points strong { display: block; font-weight: 700; letter-spacing: -.01em; }
.ai-points span { display: block; font-size: .9rem; color: var(--ink); opacity: .82; margin-top: 2px; line-height: 1.4; }
.ai-note { grid-column: 1 / -1; margin: 0; font-size: .86rem; color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: 16px; }
@media (min-width: 900px) { .ai-card { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; } }
@media (max-width: 420px) { .ai-points { grid-template-columns: 1fr; } }

/* ── Closing panel ── */
.closing { padding: clamp(56px, 8vw, 112px) 0; border-top: 1px solid var(--rule); }
.closing-panel { position: relative; overflow: hidden; border-radius: 32px 26px 30px 24px; background: var(--sage); padding: clamp(40px, 8vw, 104px) clamp(22px, 6vw, 88px); }
.closing-contour, .closing-contour img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing-panel::after { content: ""; position: absolute; inset: 0; background: var(--contour-wash); }
.closing-copy { position: relative; z-index: 1; max-width: 40rem; display: grid; gap: 18px; justify-items: start; }
.closing-copy > * { margin: 0; }
.closing-mark { width: 76px; height: 76px; }
.closing-copy h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); letter-spacing: -.035em; }
.closing-copy p { color: var(--ink); font-weight: 500; }
@media (prefers-color-scheme: dark) { .closing-panel::after, .demo-stage { --contour-wash: rgba(20, 23, 25, .7); } }
.closing-copy .cta-row { margin-top: 10px; }

/* ── When to use ── */
.uses { margin: 0; display: grid; counter-reset: use; }
.use { display: grid; gap: 6px; padding: 22px 0; border-top: 1px solid var(--rule); counter-increment: use; }
.use:last-child { border-bottom: 1px solid var(--rule); }
.use dt { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.35; color: var(--ink); }
.use dt::before { content: counter(use, decimal-leading-zero); font-family: var(--sans); font-style: normal; font-weight: 600; font-size: .78rem; color: var(--accent); margin-right: 14px; vertical-align: .2em; }
.use dd { margin: 0; color: var(--ink-2); max-width: 40em; }
@media (min-width: 900px) {
  .use { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; }
}

/* ── Privacy band (inverse) ── */
.privacy-band { background: var(--inverse); color: var(--on-inverse); border-top: 0 !important; }
.privacy-band + .section { border-top: 0; }
.privacy-band .section-head p, .privacy-band .col p { color: var(--on-inverse-2); }
.privacy-band .label { color: #90C9C8; }
.privacy-band a { color: #90C9C8; }
.privacy-band code { background: rgba(255, 255, 255, .08); color: var(--on-inverse); }
.cols { display: grid; gap: 36px; }
.col { border-top: 1px solid var(--inverse-rule); padding-top: 20px; }
.col h3 { font-size: 1.2rem; letter-spacing: -.01em; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.col h3 svg { width: 20px; height: 20px; flex: none; color: #90C9C8; }
.col p { font-size: .97rem; }
.site-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--inverse-rule); color: var(--on-inverse-2); font-size: .95rem; }
@media (min-width: 900px) { .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

/* ── Install ── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; counter-reset: step; }
.step { counter-increment: step; display: grid; gap: 10px; align-content: start; }
.step h3 { font-size: 1.25rem; letter-spacing: -.015em; display: flex; gap: 12px; align-items: baseline; }
.step h3::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--action); color: var(--on-action); font-size: .9rem; flex: none; transform: translateY(-2px); }
.step p { color: var(--ink-2); margin: 0; }
.step .diagram { margin-top: 10px; }
@media (min-width: 900px) { .steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.diagram { margin: 0; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { font-size: .82rem; color: var(--ink-2); margin-top: 8px; }
.d-surface { fill: var(--raised); stroke: var(--rule); }
.d-bar { fill: var(--paper-2); }
.d-line { fill: var(--rule); }
.d-text { fill: var(--ink); font: 600 13px var(--sans); }
.d-muted { fill: var(--ink-2); font: 400 12px var(--sans); }
.d-btn { fill: var(--elevated); stroke: var(--rule); }
.d-btn-text { fill: var(--ink); font: 600 12px var(--sans); }
.d-hot { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.d-arrow { stroke: var(--accent); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.d-dot { fill: #FF5F57; } .d-dot2 { fill: #FEBC2E; } .d-dot3 { fill: #28C840; }

.then { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: 36px; }
.then h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 14px; }
.then ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; counter-reset: ob; }
.then li { counter-increment: ob; display: grid; grid-template-columns: 2.2em 1fr; gap: 4px 8px; padding: 12px 0; border-top: 1px solid var(--rule); }
.then li::before { content: counter(ob); font-weight: 600; color: var(--accent); }
.then li strong { font-weight: 600; }
.then li span { grid-column: 2; color: var(--ink-2); font-size: .95rem; }
@media (min-width: 1000px) { .then { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }

/* ── FAQ ── */
.faq { display: grid; gap: 48px; }
.faq-group h3 { font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: 8px; color: var(--accent); }
.qas { border-top: 1px solid var(--rule); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; position: relative; line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 6px; top: 1.35em; width: 9px; height: 9px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-50%) rotate(45deg); transition: transform .2s ease;
}
.qa[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.qa summary:hover { color: var(--accent); }
.qa p { color: var(--ink-2); margin: 0 0 18px; max-width: 46em; }
@media (min-width: 1000px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; } }

/* ── Long-form pages (install, privacy) ── */
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -.035em; line-height: 1.02; }
.page-head .label, .page-head .eyebrow { margin-bottom: 16px; }
.page-head p { color: var(--ink-2); font-size: 1.15rem; margin: 20px 0 0; max-width: 38em; }
.doc { display: grid; gap: 48px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(64px, 10vw, 120px); }
.toc { font-size: .93rem; }
.toc h2 { font-size: .85rem; letter-spacing: .02em; color: var(--ink-2); font-weight: 600; margin-bottom: 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.prose { max-width: 44em; min-width: 0; }
.prose > section { padding-top: 8px; }
.prose > section + section { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--rule); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 18px; }
.prose h3 { font-size: 1.15rem; letter-spacing: -.01em; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose li + li { margin-top: 8px; }
.prose ol.numbered { padding-left: 1.4em; }
.prose ol.numbered li::marker { color: var(--accent); font-weight: 600; }
.prose figure { margin: 28px 0; }
.prose figure.shot-fig figcaption { font-size: .85rem; color: var(--ink-2); margin-top: 10px; }
.callout { border-left: 3px solid var(--warning); background: var(--elevated); padding: 16px 18px; border-radius: 0 10px 10px 0; margin: 24px 0; }
.callout p { margin: 0; color: var(--ink); }
.callout p + p { margin-top: 8px; }
.pre { font-family: var(--mono); font-size: .86rem; background: var(--elevated); border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; overflow-x: auto; color: var(--ink); white-space: pre; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; color: var(--ink); }
td { color: var(--ink-2); }
td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.prose .qas { margin-top: 12px; }
@media (max-width: 639px) {
  table, tbody, tr, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { border-bottom: 1px solid var(--rule); padding: 12px 0; }
  td { border: 0; padding: 2px 0; white-space: normal !important; }
  td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; color: var(--ink); font-weight: 600; }
}
@media (min-width: 1000px) {
  .doc { grid-template-columns: 220px minmax(0, 1fr); gap: 72px; }
  .toc { position: sticky; top: 28px; align-self: start; }
}

/* ── Footer ── */
.foot { border-top: 1px solid var(--rule); padding: 48px 0 56px; color: var(--ink-2); font-size: .9rem; }
.foot .wrap { display: grid; gap: 28px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--accent); text-decoration: underline; }
.foot p { margin: 0; max-width: 62em; }
.foot .fine { display: grid; gap: 10px; font-size: .84rem; }
.foot .brand { letter-spacing: .14em; }

/* ── 404 ── */
.lost { min-height: 70vh; display: grid; align-content: center; gap: 20px; padding: 64px 0; }
.lost h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.04em; }
.lost blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-2); border-left: 3px solid var(--lavender); padding-left: 16px; max-width: 30em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .top .nav, .menu-btn, .skip, .hero-waves, .closing-contour { display: none; }
  .top { position: static; }
  .privacy-band { background: none; color: inherit; }
}
