/* ============================================================
   Beginary — Marketing site stylesheet
   Tokens reconciled to the canonical design brief (Section 4).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400;1,9..40,500&display=swap');

:root {
  /* surfaces */
  --bg:        #F4F6F3;
  --surface:   #FFFFFF;
  --surface2:  #EEF0ED;
  --fg:        #202821;
  --fg2:       #5C6B5E;
  --fg3:       #667066;
  --border:    #DDE4DD;

  /* brand + semantic */
  --accent:     #3A7450;
  --accent-h:   148;            /* hue for tweakable accent */
  --accent-bg:  #E8F2EC;
  --accent-dim: rgba(58,116,80,.12);
  --overdue:    #7A6B3A;
  --overdue-bg: #F9F5E8;
  --overdue-border: rgba(122,107,58,.22);
  --amber:      #D4921A;
  --amber-bg:   #FEF9EE;
  --purple:     #6B6096;
  --purple-bg:  #F0EFF9;

  /* deep ink (dark editorial sections) */
  --ink:       #161D18;
  --ink2:      #1E2721;
  --ink-fg:    #EAEFEA;
  --ink-fg2:   #A7B3A8;
  --ink-border:rgba(255,255,255,.10);

  /* category dots */
  --work:     #3D7A52;
  --personal: #6B6096;
  --health:   #B05A3A;
  --family:   #7A6B3A;
  --learning: #3A7A8A;

  --font: 'DM Sans', system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 100px;

  --ease: cubic-bezier(.22,1,.36,1);
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 72px);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'tnum' 0;
  overflow-x: hidden;
}

::selection { background: var(--accent-dim); color: var(--fg); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Layout helpers ── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 10vw, 132px); position: relative; }
.tnum { font-feature-settings: 'tnum'; font-variant-numeric: tabular-nums; }

/* ── Typographic system ── */
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content:''; width: 18px; height: 1.5px; background: currentColor; opacity:.55; }
.eyebrow.center { justify-content: center; }
.eyebrow.muted { color: var(--fg3); }

.display {
  font-weight: 300;
  letter-spacing: -.022em;
  line-height: 1.05;
  font-size: clamp(34px, 6.2vw, 70px);
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--accent); font-weight: 300; }

.h2 {
  font-weight: 300; letter-spacing: -.02em; line-height: 1.1;
  font-size: clamp(28px, 4.4vw, 46px); text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--accent); font-weight: 300; }

.h3 { font-weight: 500; letter-spacing: -.01em; font-size: clamp(19px, 2.4vw, 23px); line-height: 1.25; }

.lede {
  font-size: clamp(16px, 1.9vw, 20px); color: var(--fg2); line-height: 1.62; font-weight: 400;
  max-width: 46ch; text-wrap: pretty;
}
.muted { color: var(--fg3); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  padding: 14px 24px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 22px -8px var(--accent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -10px var(--accent); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
@media (prefers-reduced-motion: reduce){ .btn:hover { transform: none; } }

/* App Store badge — Apple "Download on the App Store" lockup + pre-launch caption */
.appstore-wrap { display: inline-flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.appstore {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 17px 10px; border-radius: 13px;
  background: #000; color: #fff; border: 1px solid rgba(255,255,255,.22);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
  box-shadow: 0 8px 22px -12px rgba(0,0,0,.55);
}
.appstore:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.appstore .as-logo { width: 26px; height: 26px; flex-shrink: 0; }
.appstore .as-text { display: flex; flex-direction: column; line-height: 1; }
.appstore .as-sub { font-size: 11px; font-weight: 400; letter-spacing: .01em; margin-bottom: 3px; opacity: .96; }
.appstore .as-main { font-size: 20px; font-weight: 500; line-height: 1; letter-spacing: -.015em; }
.appstore-cap {
  display: inline-flex; align-items: center; gap: 7px; padding-left: 3px; white-space: nowrap;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg3);
}
.appstore-cap .dot { width: 6px; height: 6px; background: var(--accent); }
@media (prefers-reduced-motion: reduce){ .appstore:hover { transform: none; } }

/* ── Wordmark — matches the iPhone app lockup: caps + accent "pulse" stroke ── */
.wordmark {
  position: relative; display: inline-block; line-height: 1;
  font-size: 17px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg); padding-bottom: 9px;
}
.wordmark::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.wordmark.on-ink { color: var(--ink-fg); }
.wordmark.center { display: inline-block; }
.wordmark.center::after { left: 50%; transform: translateX(-50%); }

/* ── Pills / chips ── */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 500; color: var(--fg2);
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ── Cards ── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 30px;
}
.card-soft { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--fg2); transition: color .18s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* ── Waitlist form ── */
.waitlist {
  display: flex; gap: 8px; max-width: 440px; width: 100%;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-pill); padding: 6px 6px 6px 8px;
  transition: border-color .2s, box-shadow .2s;
}
.waitlist:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); }
.waitlist input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--font); font-size: 15px; color: var(--fg); padding-left: 14px; min-width: 0;
}
.waitlist input::placeholder { color: var(--fg3); }
.waitlist .btn { padding: 12px 20px; }
.waitlist.done { border-color: var(--accent); background: var(--accent-bg); justify-content: center; padding: 14px; }
.form-note { font-size: 12.5px; color: var(--fg3); margin-top: 12px; }

/* ── Phone mockup ── */
.phone-frame {
  width: 300px; height: 620px; border-radius: 44px;
  background: var(--bg); position: relative; overflow: hidden;
  border: 10px solid #0c0f0d;
  box-shadow: 0 40px 80px -28px rgba(22,29,24,.45);
  flex-shrink: 0;
}
.phone-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 86px; height: 26px; background: #060807; border-radius: 14px; z-index: 8; }
.phone-screen { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 44px 16px 14px; }

/* ── Watch mockup ── */
.watch-frame {
  width: 178px; height: 216px; border-radius: 46px;
  background: #060807; position: relative; padding: 13px;
  border: 2px solid #2b302c;
  box-shadow: 0 26px 50px -20px rgba(22,29,24,.5);
  flex-shrink: 0;
}
.watch-screen {
  position: absolute; inset: 13px; border-radius: 34px; background: #000; overflow: hidden;
  display: flex; flex-direction: column; padding: 14px 13px;
}
.watch-band { position: absolute; left: 50%; transform: translateX(-50%); width: 74px; background: #2a2f2b; z-index: -1; }
.watch-band.top { top: -34px; height: 44px; border-radius: 12px 12px 4px 4px; }
.watch-band.bot { bottom: -34px; height: 44px; border-radius: 4px 4px 12px 12px; }

/* mini app components (shared by phone + watch) */
.app-status { display:flex; justify-content: space-between; align-items:center; font-size: 12px; font-weight: 600; color: var(--fg); margin-bottom: 10px; }
.app-h { font-size: 19px; font-weight: 300; letter-spacing: -.02em; color: var(--fg); }
.app-eyebrow { font-size: 8.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg3); }

.task-row { display: flex; align-items: center; gap: 10px; padding: 11px 4px; border-bottom: 1px solid var(--border); }
.task-row:last-child { border-bottom: none; }
.task-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.task-info { flex: 1; min-width: 0; }
.task-name { font-size: 13px; font-weight: 500; color: var(--fg); line-height: 1.3; }
.task-meta { font-size: 10.5px; color: var(--fg3); margin-top: 1px; }
.task-row.done .task-name { color: #93A394; text-decoration: line-through; text-decoration-color: rgba(147,163,148,.5); }
.task-check { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.task-check.on { background: var(--accent); border-color: var(--accent); }

.overdue-card {
  display: flex; align-items: center; gap: 10px; padding: 12px 13px; margin: 4px 0;
  background: var(--overdue-bg); border: 1px solid var(--overdue-border); border-radius: var(--r-md);
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--overdue); flex-shrink: 0; position: relative; }
.pulse-dot::after { content:''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--overdue); opacity: .4; animation: pulsering 2s var(--ease) infinite; }
@keyframes pulsering { 0%{transform:scale(.6);opacity:.5} 100%{transform:scale(1.5);opacity:0} }
@media (prefers-reduced-motion: reduce){ .pulse-dot::after { animation: none; } }
.reduce-motion .pulse-dot::after { animation: none; }
.reduce-motion .reveal { transition: none; }
.reduce-motion * { scroll-behavior: auto !important; }

/* ── Reveal-on-scroll ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Dark ink section ── */
.ink-sec { background: var(--ink); color: var(--ink-fg); }
.ink-sec .h2, .ink-sec .display { color: var(--ink-fg); }
.ink-sec .h2 em, .ink-sec .display em { color: #8FCBA4; }
.ink-sec .lede, .ink-sec .muted { color: var(--ink-fg2); }
.ink-sec .eyebrow { color: #8FCBA4; }

/* ── Section heads ── */
.sec-head { max-width: 62ch; }

/* ── Hero ── */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
/* min-width:0 lets the grid columns shrink below the device cluster's intrinsic
   ~424px width. Without it, the fixed-size phone+watch mockup forces the whole
   hero column — copy included — wider than narrow viewports, and the text,
   CTA, and pill clip off the right edge on phones. */
.hero-copy, .hero-devices { min-width: 0; }
.hero-devices { display: flex; align-items: center; justify-content: center; gap: 0; position: relative; }
.hero-devices .watch-frame { margin-left: -54px; margin-top: 120px; z-index: 3; }
.hero-devices .phone-frame { z-index: 1; }
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-devices { margin-top: 16px; }
  .waitlist { max-width: 100%; }
}
/* The phone+watch cluster is intrinsically ~424px wide. On phones, scale it down
   to fit — a transform scales both the visual and the measured box, so it no
   longer overflows — and pull the next section up to reclaim the vertical slack
   the transform leaves behind. (A bare transform:scale can't fix the overflow on
   its own; the min-width:0 above is what frees the layout to shrink.) */
@media (max-width: 520px){
  .hero-devices { transform: scale(.82); transform-origin: top center; margin-bottom: -96px; }
}
@media (max-width: 380px){
  .hero-devices { transform: scale(.72); margin-bottom: -150px; }
}

/* ── Wedge stats ── */
.wedge-stats { display: flex; justify-content: center; gap: clamp(28px, 6vw, 80px); flex-wrap: wrap; margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--ink-border); }
.wstat { text-align: center; }
.wstat-n { font-size: clamp(40px, 6vw, 64px); font-weight: 300; letter-spacing: -.03em; color: #8FCBA4; line-height: 1; font-feature-settings:'tnum'; }
.wstat-l { font-size: 13px; color: var(--ink-fg2); margin-top: 12px; max-width: 18ch; margin-inline: auto; line-height: 1.4; }
.wstat-l sup { color: #8FCBA4; }

/* ── How-it-works steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.step { padding-top: 22px; border-top: 2px solid var(--border); }
.step-n { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin-bottom: 16px; }
.step .h3 { margin-bottom: 10px; }
.step .muted { font-size: 14.5px; line-height: 1.6; }
@media (max-width: 920px){ .steps { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px){ .steps { grid-template-columns: 1fr; } }

/* ── Mood routing ── */
.mood-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.mood-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.mood-list li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--fg2); }
.mtag { flex-shrink: 0; min-width: 64px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: var(--r-pill); color: var(--c); background: var(--cb); }
.mood-device { display: flex; justify-content: center; }
@media (max-width: 860px){ .mood-grid { grid-template-columns: 1fr; } .mood-device { order: -1; } }

/* ── Surface grid ── */
.surface-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.surf { border: 1px solid var(--ink-border); border-radius: var(--r-lg); padding: 26px 24px; background: var(--ink2); }
.surf-n { font-size: 13px; font-weight: 700; color: #8FCBA4; letter-spacing: .1em; margin-bottom: 16px; }
.surf .h3 { margin-bottom: 10px; }
.surf p { font-size: 14px; color: var(--ink-fg2); line-height: 1.55; }
@media (max-width: 920px){ .surface-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .surface-grid { grid-template-columns: 1fr; } }

/* ── Watch section ── */
.watch-sec { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.watch-visual { display: flex; justify-content: center; padding: 40px 0; }
.watch-feats { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.wfeat { display: flex; gap: 14px; font-size: 15px; color: var(--fg2); line-height: 1.55; }
.wfeat .dot { margin-top: 8px; }
.wfeat strong { color: var(--fg); font-weight: 600; }
@media (max-width: 860px){ .watch-sec { grid-template-columns: 1fr; } .watch-visual { order: -1; } }

/* ── Science grid ── */
.sci-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.sci-card { display: flex; flex-direction: column; }
.sci-tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sci-card .h3 { margin-bottom: 12px; }
.sci-card .muted { font-size: 14.5px; line-height: 1.6; flex: 1; }
.sci-src { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--fg3); font-style: italic; }
@media (max-width: 860px){ .sci-grid { grid-template-columns: 1fr; } }

/* ── Streak band ── */
.streak-band { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; padding: clamp(36px,5vw,60px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); }
@media (max-width: 760px){ .streak-band { grid-template-columns: 1fr; } }

/* ── Compare table ── */
.compare-table { margin-top: 52px; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
.ct-head, .ct-row { display: grid; grid-template-columns: 1.1fr 1.3fr 1.3fr; }
.ct-row { border-top: 1px solid var(--border); }
.ct-cell { padding: 18px 22px; font-size: 15px; display: flex; align-items: center; }
.ct-head .ct-cell { padding-block: 22px; }
.ct-label { font-weight: 600; color: var(--fg); font-size: 13.5px; }
.ct-them { color: var(--fg3); }
.ct-us { color: var(--fg); font-weight: 500; background: var(--accent-bg); position: relative; }
.ct-us::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background: var(--accent); }
.ct-head .ct-them { font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--fg3); }
@media (max-width: 720px){
  .ct-head { display: none; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-cell { padding: 12px 18px; }
  .ct-label { padding-top: 18px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg3); }
  .ct-them::before { content:'Most apps: '; color: var(--fg3); font-weight:600; }
  .ct-us::before { width: 100%; height: 0; }
  .ct-us { padding-bottom: 18px; }
}

/* ── Quotes ── */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 52px; }
.quote-card { border: 1px solid var(--ink-border); border-radius: var(--r-lg); padding: 32px; background: var(--ink2); }
.quote-card blockquote { font-size: clamp(17px, 2vw, 21px); font-weight: 300; line-height: 1.5; letter-spacing: -.01em; color: var(--ink-fg); }
.quote-card figcaption { margin-top: 20px; font-size: 13px; color: var(--ink-fg2); font-style: italic; }
@media (max-width: 760px){ .quote-grid { grid-template-columns: 1fr; } }

/* ── Article cards ── */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.article-card { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(22,29,24,.4); }
.ac-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--g1), var(--g2)); position: relative; display: flex; align-items: flex-end; padding: 16px; }
.ac-thumb::before { content:''; position:absolute; inset:0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.4) 0 1px, transparent 1px 13px); opacity:.5; }
.ac-kicker { position: relative; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg2); background: rgba(255,255,255,.7); padding: 5px 11px; border-radius: var(--r-pill); }
.ac-body { padding: 24px; }
.ac-body .h3 { font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
.ac-body .muted { font-size: 14px; line-height: 1.55; }
.ac-read { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 860px){ .article-grid { grid-template-columns: 1fr; max-width: 460px; } }

/* ── Generative artwork (topographic) on thumbs + heroes ── */
.ac-thumb.art, .fa-thumb.art, .article-hero-img.art { background-size: cover; background-position: center; background-repeat: no-repeat; }
/* swap the diagonal hatch for a soft bottom scrim so the kicker stays legible */
.ac-thumb.art::before, .fa-thumb.art::before {
  background-image: linear-gradient(to top, rgba(20,29,24,.34), rgba(20,29,24,0) 52%);
  opacity: 1;
}
.article-hero-img.art::before { background-image: none; opacity: 0; }
/* kicker reads as a label on art rather than a frosted chip */
.art .ac-kicker { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); text-shadow: 0 1px 5px rgba(0,0,0,.3); }

/* ── CTA band ── */
.cta-band { text-align: center; max-width: 860px; margin-inline: auto; }
.cta-band .waitlist { margin-inline: auto; }

/* ════════════ WRITING INDEX ════════════ */
.writing-hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px,5vw,64px); }
.feature-article {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px,4vw,56px);
  align-items: center; border: 1px solid var(--border); border-radius: var(--r-xl);
  overflow: hidden; background: var(--surface);
}
.feature-article:hover { box-shadow: 0 24px 50px -28px rgba(22,29,24,.35); }
.fa-thumb { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--g1,#E8F2EC), var(--g2,#D4E5DA)); position: relative; display:flex; align-items:flex-end; padding: 22px; min-height: 280px; }
.fa-thumb::before { content:''; position:absolute; inset:0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.4) 0 1px, transparent 1px 15px); opacity:.5; }
.fa-body { padding: clamp(24px,3vw,40px) clamp(24px,3vw,48px) clamp(24px,3vw,40px) 0; }
@media (max-width: 800px){ .feature-article { grid-template-columns: 1fr; } .fa-thumb { min-height: 200px; } .fa-body { padding: 0 28px 32px; } }

.writing-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 860px){ .writing-list { grid-template-columns: 1fr; max-width: 480px; margin-inline:auto; } }

.tag-row { display: flex; gap: 9px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .03em; color: var(--fg2); padding: 6px 13px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); }
.tag.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ════════════ ARTICLE / PROSE ════════════ */
.article-head { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(20px,3vw,36px); }
.article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--fg3); margin-top: 22px; }
.article-meta .kicker { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.article-hero-img { aspect-ratio: 21/9; background: linear-gradient(135deg, var(--g1,#E8F2EC), var(--g2,#D4E5DA)); border-radius: var(--r-xl); margin-bottom: clamp(32px,4vw,56px); position: relative; overflow:hidden; }
.article-hero-img::before { content:''; position:absolute; inset:0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.35) 0 1px, transparent 1px 17px); opacity:.5; }

.prose { max-width: 720px; margin-inline: auto; }
.prose > * + * { margin-top: 1.35em; }
.prose p { font-size: 18px; line-height: 1.75; color: #2E382F; }
.prose .lead { font-size: 21px; line-height: 1.6; color: var(--fg); font-weight: 400; }
.prose h2 { font-size: clamp(24px,3vw,32px); font-weight: 300; letter-spacing: -.02em; line-height: 1.2; margin-top: 2em; color: var(--fg); }
.prose h2 em { font-style: italic; color: var(--accent); }
.prose h3 { font-size: 20px; font-weight: 600; margin-top: 1.8em; color: var(--fg); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose strong { font-weight: 600; color: var(--fg); }
.prose em { font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { font-size: 18px; line-height: 1.7; color: #2E382F; margin-top: .5em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { border-left: 3px solid var(--accent); padding: 6px 0 6px 24px; margin-left: 0; font-size: 21px; font-weight: 300; line-height: 1.5; color: var(--fg); font-style: italic; }
.prose blockquote cite { display: block; font-size: 14px; font-style: normal; color: var(--fg3); margin-top: 12px; }
.prose .callout { background: var(--accent-bg); border: 1px solid rgba(58,116,80,.18); border-radius: var(--r-lg); padding: 24px 26px; }
.prose .callout p { font-size: 16px; color: #2E382F; }
.prose .callout p:first-child { margin-top: 0; }
.prose .callout .callout-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.prose .source { font-size: 14px; color: var(--fg3); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.4em 0; }

.article-foot { border-top: 1px solid var(--border); margin-top: clamp(48px,6vw,80px); padding-top: 40px; }
.article-cta { background: var(--accent-bg); border-radius: var(--r-xl); padding: clamp(32px,4vw,52px); text-align: center; max-width: 720px; margin: 48px auto 0; }
.article-cta .waitlist { margin: 24px auto 0; }

.footnotes { max-width: 720px; margin: 48px auto 0; font-size: 13.5px; color: var(--fg3); line-height: 1.6; }
.footnotes p { margin-top: 8px; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: clamp(36px,4vw,52px) auto 0; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  list-style: none; cursor: pointer; position: relative;
  font-size: clamp(17px, 2.1vw, 20px); font-weight: 600; color: var(--fg);
  letter-spacing: -.01em; line-height: 1.4;
  padding: 22px 48px 22px 0;
  transition: color .18s var(--ease);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--accent); }
.faq-q::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 13px;
  margin-top: -7px;
  background:
    linear-gradient(var(--fg2),var(--fg2)) center/13px 1.6px no-repeat,
    linear-gradient(var(--fg2),var(--fg2)) center/1.6px 13px no-repeat;
  transition: transform .26s var(--ease), background .18s;
}
.faq-item[open] .faq-q { color: var(--accent); }
.faq-item[open] .faq-q::after { transform: rotate(90deg); opacity: .55; }
.faq-a { padding: 0 56px 24px 0; }
.faq-a p { font-size: 16px; line-height: 1.66; color: var(--fg2); max-width: 64ch; }
.faq-a em { font-style: italic; color: var(--fg); }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: faqReveal .34s var(--ease); }
}
@keyframes faqReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ── Footer ── */
.footer { background: var(--ink); color: var(--ink-fg2); padding-block: 64px 40px; }
.footer a { color: var(--ink-fg2); transition: color .18s; }
.footer a:hover { color: var(--ink-fg); }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-fg); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 11px; }
.footer-bot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--ink-border); font-size: 12.5px; }
@media (max-width: 760px){ .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* Honeypot — hidden from humans + assistive tech, bots fill it. See site.js. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
