/* ============================================================
   Alwenna nav-kit — the shared language + theme switchers.
   Used by both the landing (apps/landing) and the blog (apps/blog); each build
   concatenates this into its own fingerprinted stylesheet. Relies on the host
   page's theme tokens (--surface, --text, --line, --hero-a/b, …), which both
   sites define identically per [data-theme].
   ============================================================ */

/* compact dropdown menus — language + theme. Native <details>; no JS to open. */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); color: var(--text-soft); border: 1px solid var(--line-2);
  padding: 8px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-sm);
  transition: color .2s, border-color .2s; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::marker { content: ""; }
.menu > summary:hover, .menu[open] > summary { color: var(--text); border-color: var(--line); }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .55; }
.menu-pop { position: absolute; top: calc(100% + 8px); right: 0; min-width: 170px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 6px; display: flex; flex-direction: column; gap: 2px; z-index: 60; }
.menu-pop a, .menu-pop button { display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: none; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--text-soft); text-align: left; padding: 9px 12px; border-radius: 10px; transition: background .15s, color .15s; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--surface-sunk); color: var(--text); }
.menu-pop a[aria-current="true"] { color: var(--text); font-weight: 700; }

/* theme swatches */
.sw { width: 16px; height: 16px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--line-2) inset; }
.sw-light { background: linear-gradient(135deg,#efe7fb,#8a5cf0); }
.sw-dark { background: linear-gradient(135deg,#221a47,#7d5cff); }
.sw-warm { background: linear-gradient(135deg,#f7e9e4,#e07a64); }
.sw-active { background: linear-gradient(135deg,var(--hero-a),var(--hero-b)); box-shadow: none; }

/* theme switcher — inline row for the footer (reuses .sw swatches + data-theme-btn) */
.theme-control { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.theme-control-label { font-size: 13px; font-weight: 700; color: var(--text-mut); }
.theme-opt { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 600; color: var(--text-soft); background: var(--surface);
  border: 1px solid var(--line-2); padding: 7px 13px; border-radius: 999px;
  transition: color .15s, border-color .15s, background .15s; }
.theme-opt:hover { color: var(--text); border-color: var(--line); }
.theme-opt.is-active { color: var(--text); border-color: transparent; background: var(--surface-sunk); box-shadow: var(--shadow-sm); }

/* pagination — reusable, icon + number only (apps/shared/nav-kit.mjs → pagination()) */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 44px 0 4px; flex-wrap: wrap; }
.pager-nums { display: flex; align-items: center; gap: 4px; }
.pager-btn, .pager-num { display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 7px; box-sizing: border-box; border-radius: 13px;
  font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; color: var(--text-soft);
  border: 1px solid var(--line); background: var(--surface);
  transition: background .15s, color .15s, border-color .15s, transform .1s; }
.pager-btn svg { width: 20px; height: 20px; display: block; }
.pager-btn:hover, .pager-num:hover { color: var(--text); border-color: var(--line); background: var(--surface-sunk); }
.pager-btn:active, .pager-num:active { transform: translateY(1px); }
.pager-num.is-current { color: var(--hero-ink); border-color: transparent; cursor: default;
  background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); box-shadow: var(--shadow-sm); }
.pager-btn.is-disabled { opacity: .32; cursor: default; pointer-events: none; }
.pager-gap { min-width: 26px; text-align: center; color: var(--text-mut); font-weight: 700; user-select: none; }

/* ============================================================
   Alwenna — landing page styles.
   The app's design language, on a marketing page: four colours, three radii, hairlines
   instead of shadows, a serif for headings and a text face for everything else. Theme via
   [data-theme] on <html> — two of them, because the design is one drawing under two lights.
   ============================================================ */

/* The app's pair. Golos Text carries Latin + Cyrillic, Cormorant Garamond the same, so the
   Russian page is set in the same two faces as the English one rather than falling back. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Golos+Text:wght@400;500;600&display=swap');
/* Golos and Cormorant carry Latin and Cyrillic and nothing else, so a page in an Indian
   language would be set in whatever the phone substituted. Each script brings its own Noto
   pair — the same faces the app uses — and only the pages written in that script ask for
   them (the @import is unconditional, but the browser fetches a face only when it is used). */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600&family=Noto+Serif+Devanagari:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600&family=Noto+Serif+Bengali:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Telugu:wght@400;500;600&family=Noto+Serif+Telugu:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Tamil:wght@400;500;600&family=Noto+Serif+Tamil:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ---------- The four colours ----------
   Paper, ink, night, terracotta. Everything below is one of them at a lower opacity; a
   fifth colour would be a decision nobody made. */
:root, [data-theme="light"] {
  color-scheme: light;

  --paper: #fbf3e4;
  /* The ink is the blue the illustrations are drawn in, so the page and the pictures
     on it are the same colour rather than a teal beside a navy. */
  --ink: #16354f;
  --night: #0d1f2e;
  --accent: #c25b34;

  --page: var(--paper);
  --bg-top: var(--paper); --bg-bot: var(--paper);
  --surface: var(--paper);
  /* A sunk area is the same paper pressed a shade darker, not a different material. */
  --surface-sunk: #f2e8d5;
  /* The bar along the bottom of a sheet sits a shade under the page. */
  --bar: #f6ecd9;

  --text: var(--ink);
  --text-soft: rgba(22, 53, 79, .72);
  --text-mut: rgba(22, 53, 79, .52);

  /* The accent is the only call to action. */
  --primary: var(--accent);
  --primary-ink: var(--paper);
  --primary-soft: rgba(194, 91, 52, .1);

  /* A hero is ink on paper turned around: night ground, paper type. No gradient. */
  --hero-a: var(--night); --hero-b: var(--night);
  --hero-ink: var(--paper);
  --hero-sub: rgba(251, 243, 228, .72);

  /* Separation is a line. */
  --line: rgba(22, 53, 79, .18);
  --line-2: rgba(22, 53, 79, .1);
  --chip-bg: rgba(22, 53, 79, .07);
  --chip-ink: var(--text-soft);

  --good: var(--ink);
  --tough: var(--accent);
  --star: rgba(22, 53, 79, .5);

  /* No shadows. The names stay because the shared chrome asks for them; all four are
     nothing, so a stray `box-shadow: var(--shadow-md)` draws no shadow rather than an error. */
  --shadow-sm: none; --shadow-md: none; --shadow-lg: none; --shadow-hero: none;

  /* Three radii, and what each is for:
     999 — a button, a chip: something you press.
     22  — anything you can put a sentence in: a card, a sheet, a field.
     6   — a small mark: a glyph tile, a square behind an icon. */
  --r-card: 22px; --r-lg: 22px; --r-mark: 6px;

  /* Small uppercase labels are tracked out so they read as labels, not small sentences. */
  --tracking-label: 1.1px;

  /* The two faces, asked for by name so a script can swap them in one place. */
  --font-sans: 'Golos Text';
  --font-display: 'Cormorant Garamond';
}

/* Hindi and Marathi share Devanagari; the rest bring their own. A letter in these scripts is
   a cluster, so the label tracking goes to zero as well — spacing them apart pulls a word
   into loose syllables. */
:root:lang(hi), :root:lang(mr) { --font-sans: 'Noto Sans Devanagari'; --font-display: 'Noto Serif Devanagari'; --tracking-label: 0; }
:root:lang(bn) { --font-sans: 'Noto Sans Bengali'; --font-display: 'Noto Serif Bengali'; --tracking-label: 0; }
:root:lang(te) { --font-sans: 'Noto Sans Telugu'; --font-display: 'Noto Serif Telugu'; --tracking-label: 0; }
:root:lang(ta) { --font-sans: 'Noto Sans Tamil'; --font-display: 'Noto Serif Tamil'; --tracking-label: 0; }

[data-theme="dark"] {
  color-scheme: dark;

  /* The same drawing under a different light: paper and ink change places, the accent does
     not. Two tokens carry it; everything below is derived exactly as above. */
  --paper: #11293c;
  --ink: #f2e9d8;
  --night: #0d1f2e;
  --accent: #d16a41;

  --surface-sunk: #0f2334;
  --bar: #0f2334;

  --text-soft: rgba(242, 233, 216, .74);
  --text-mut: rgba(242, 233, 216, .52);

  --primary-soft: rgba(209, 106, 65, .16);
  --hero-a: #1a3e5c; --hero-b: #1a3e5c;
  --hero-ink: #f6efe1;
  --hero-sub: rgba(246, 239, 225, .74);

  --line: rgba(242, 233, 216, .18);
  --line-2: rgba(242, 233, 216, .1);
  --chip-bg: rgba(242, 233, 216, .08);
  --star: rgba(242, 233, 216, .6);
}

body {
  font-family: var(--font-sans), -apple-system, system-ui, sans-serif;
  background: var(--page);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* The paper has a grain: hairlines every three pixels, at four per cent, over the whole
   page. Close up it is a ruled sheet; at arm's length it is just warmth. Drawn over the
   ground rather than in it, so it costs one element and never repaints while scrolling. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .04;
  background-image: repeating-linear-gradient(0deg, var(--ink) 0 1px, transparent 1px 3px);
}
body > * { position: relative; z-index: 1; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.sec { padding: 92px 0; position: relative; }

/* ---------- type ----------
   Headings are the serif; body text never is. Applied here rather than per block: a heading
   that forgets it is a heading is how a type system quietly stops existing. */
h1, h2, h3 { margin: 0; color: var(--text); font-family: var(--font-display), Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: .2px; }
h1 { font-size: clamp(44px, 6.4vw, 74px); line-height: 1.04; }
h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.1; }
h3 { font-size: 21px; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* The serif, where a block needs it without being a heading: the phone's own headings and
   the mock Book cover. One class so the face is asked for by name, never re-declared. */
.aw-serif, .phone-display { font-family: var(--font-display), Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: .2px; }

.lead { font-size: clamp(15.5px, 1.4vw, 17.5px); color: var(--text-soft); line-height: 1.62; }
.sec-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.sec-head p { margin-top: 14px; }

/* An eyebrow names what follows. It is a line of small capitals, not a coloured pill. */
.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 8px;
  color: var(--accent);
  font-size: 11.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--tracking-label); line-height: 1.5;
}
/* The glyph rides the first line rather than the middle of the block: on a narrow screen the
   label wraps to two lines, and a centred star ends up floating between them. */
.eyebrow svg { display: block; margin-top: 2px; flex: none; }

/* ---------- buttons ----------
   Pills, and only two of them: the accent one that asks for the click, and the quiet one
   that offers an alternative. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; font-weight: 500;
  border-radius: 999px; padding: 14px 26px; font-size: 15.5px; text-decoration: none;
  transition: background .18s, color .18s, border-color .18s; white-space: nowrap;
}
.btn-primary, .btn-hero { background: var(--accent); color: var(--paper); }
.btn-primary:hover, .btn-hero:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn-soft { background: transparent; color: var(--text); border-color: var(--line); }
.btn-soft:hover { border-color: var(--text-soft); }
.btn-ghost { background: transparent; color: var(--text-soft); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
/* The sample-download CTA. Allowed to wrap and capped to its container so a long label never
   overflows a narrow screen. */
.btn-download { font-size: 17px; padding: 18px 38px; gap: 11px; white-space: normal; max-width: 100%; text-align: center; line-height: 1.3; }
/* The book's own language, under the button. The button already points at the right file for
   this page; this row says which one that is and hands over the other three. */
.sample-langs {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: 6px 14px; margin: 14px auto 0;
  font-size: 12.5px; letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--text-mut);
}
.sample-langs > span::after { content: ":"; }
.sample-langs a { color: var(--text-soft); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.sample-langs a:hover { color: var(--text); border-bottom-color: var(--text); }
.sample-langs a[aria-current] { color: var(--accent); border-bottom-color: var(--accent); }

/* On a night ground the quiet button borrows the paper, not the ink. */
.on-night .btn-soft { color: var(--hero-ink); border-color: rgba(251, 243, 228, .34); }
.on-night .btn-soft:hover { border-color: var(--hero-ink); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--page);
  border-bottom: 1px solid var(--line-2);
}
.nav-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display), Georgia, serif;
  font-size: 19px; font-weight: 500; letter-spacing: 0.16em; line-height: 1;
  text-transform: uppercase; color: var(--text); }
/* The mark is drawn in the ink, like every other mark the brand owns. Terracotta is the
   colour of the one thing on a screen you are meant to press, and a logo is not that. */
.brand-mark { display: grid; place-items: center; color: var(--text); }
.brand-mark svg { display: block; }
.nav-links { display: flex; gap: 26px; margin-left: 26px; }
.nav-links a { font-size: 14.5px; color: var(--text-soft); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* ---------- hero ---------- */
.hero { padding-top: 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin: 20px 0 0; }
.hero .lead { margin: 20px 0 30px; max-width: 470px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { display: flex; align-items: center; gap: 16px; margin-top: 24px; font-size: 13px; color: var(--text-mut); flex-wrap: wrap; }

/* The phone: a hairline outline holding the app as it actually looks. No chrome-black
   bezel, no drop shadow — the device is a frame, not an object. */
.phone { position: relative; width: 300px; margin: 0 auto;
  border-radius: 34px; border: 1px solid var(--line); background: var(--surface); padding: 10px; }
.phone-screen { border-radius: 26px; overflow: hidden; background: var(--surface); position: relative; min-height: 430px; }
.phone-notch { display: none; }

/* ---------- the trust strip: three figures, ruled apart ---------- */
.trust { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust .stat { text-align: center; }
.trust .stat b { display: block; font-family: var(--font-display), Georgia, serif; font-weight: 400; font-size: 40px; line-height: 1.1; color: var(--text); }
.trust .stat span { font-size: 12px; color: var(--text-mut); text-transform: uppercase; letter-spacing: var(--tracking-label); }
.trust .vr { width: 1px; height: 44px; background: var(--line-2); }

/* ---------- a lead sheet ----------
   The one card that leads a section: night ground, paper type. Where the old page put a
   gradient band, this puts the drawing turned over. */
.flagship { background: var(--hero-a); color: var(--hero-ink); border-radius: var(--r-card); padding: 52px; position: relative; }
.flagship h2, .flagship h3 { color: var(--hero-ink); }
.flagship p, .flagship .lead { color: var(--hero-sub); }
.flagship .eyebrow { color: var(--hero-ink); opacity: .8; }
.flag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.flag-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--hero-ink);
  font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-label); opacity: .82; }
/* The card inside a lead sheet: the same paper, at a lower opacity, with a hairline. */
.score-card { background: rgba(251, 243, 228, .06); border: 1px solid rgba(251, 243, 228, .18); border-radius: var(--r-card); padding: 24px; }
.score-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.score-bar { flex: 1; height: 3px; background: rgba(251, 243, 228, .22); border-radius: 999px; overflow: hidden; }
.score-bar > div { height: 100%; background: var(--accent); border-radius: 999px; }

/* A lead sheet the other way round: paper, hairline, terracotta rule. Used for the second
   flagship so the page does not read as two night bands in a row. */
.flagship.quiet { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.flagship.quiet h2, .flagship.quiet h3 { color: var(--text); }
.flagship.quiet p, .flagship.quiet .lead { color: var(--text-soft); }
.flagship.quiet .eyebrow, .flagship.quiet .flag-badge { color: var(--accent); opacity: 1; }
.flagship.quiet .score-card { background: var(--surface-sunk); border-color: var(--line-2); color: var(--text); }
.flagship.quiet .score-bar { background: var(--line-2); }

/* ---------- the section grid: one sheet ruled into cells ----------
   Cards with gaps between them turn six things into six things; a sheet ruled into cells
   reads as one place with parts in it. */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.feat { padding: 30px 28px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.feat-grid > .feat:nth-child(3n) { border-right: none; }
.feat-grid > .feat:nth-last-child(-n+3) { border-bottom: none; }
.feat-ic { width: 34px; height: 34px; border-radius: var(--r-mark); border: 1px solid var(--line-2);
  display: grid; place-items: center; margin-bottom: 16px; color: var(--accent); }
.feat h3 { margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--text-soft); }

/* ---------- steps: numbered in the serif, ruled apart ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 30px 30px 30px 0; border-right: 1px solid var(--line-2); }
.steps > .step:last-child { border-right: none; }
.steps > .step:not(:first-child) { padding-left: 30px; }
.step-num { font-family: var(--font-display), Georgia, serif; font-size: 34px; line-height: 1;
  color: var(--accent); margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-soft); }

/* ---------- the day: a card of numbers beside the day's own words ---------- */
.day-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; align-items: stretch; }
.day-card, .day-mood {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 28px;
}
.day-date { font-size: 12.5px; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-mut); }
/* Seven days, seven numbers. A strip rather than a chart: the point is that they differ. */
.day-week-label { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--text-soft); }
.day-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 10px 0 18px; }
.day-cell { text-align: center; padding: 12px 0 10px; border-radius: 14px; border: 1px solid transparent; }
.day-cell b { display: block; font-size: 19px; font-weight: 600; color: var(--text); }
.day-cell span { font-size: 12px; color: var(--text-mut); }
.day-cell.is-today { border-color: var(--accent); background: var(--primary-soft); }
.day-note { font-size: 13px; line-height: 1.55; color: var(--text-mut); margin: 0; }
.day-mood { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.day-chip {
  padding: 4px 12px; border-radius: 999px; border: 1px solid var(--accent);
  color: var(--accent); font-size: 12px; font-weight: 600;
}
.day-mood h3 { font-size: 23px; }
.day-mood p { font-size: 14.5px; line-height: 1.6; color: var(--text-soft); margin: 0; }
.day-mood .btn { margin-top: auto; }

/* ---------- the four bonds ---------- */
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.type { padding: 26px 24px; border-right: 1px solid var(--line-2); }
.type-grid > .type:last-child { border-right: none; }
.type-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.type h3 { font-size: 20px; }
/* The score is the argument: four different numbers from one pair of charts. */
.type-score { font-family: var(--font-display), Georgia, serif; font-size: 30px; line-height: 1; color: var(--accent); }
.type p { font-size: 14px; line-height: 1.55; color: var(--text-soft); margin: 0; }

.types-note {
  max-width: 640px; margin: 26px auto 0; text-align: center;
  font-size: 13.5px; line-height: 1.6; color: var(--text-mut);
}

/* ---------- star cards: the real artefact, three of them ---------- */
.star-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 820px; margin: 0 auto; }
.star-card { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line-2); display: block; }
/* The middle card sits a little proud, so three cards read as a hand rather than a row. */
.star-card[style*="--i:1"] { transform: translateY(-14px); }
.star-privacy {
  max-width: 620px; margin: 30px auto 0; text-align: center; font-size: 14px; line-height: 1.6;
  color: var(--text-soft);
}

/* ---------- who made it ---------- */
.credo { background: var(--surface-sunk); border-radius: var(--r-card); padding: 52px 44px; }
.credo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.credo-point { padding: 28px 26px 0 0; border-right: 1px solid var(--line-2); }
.credo-grid > .credo-point:last-child { border-right: none; }
.credo-grid > .credo-point:not(:first-child) { padding-left: 26px; }
.credo-point h3 { font-size: 19px; margin-bottom: 8px; }
.credo-point p { font-size: 14px; line-height: 1.55; color: var(--text-soft); }

/* ---------- quotes (gated) ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; }
.quote .stars-row { color: var(--accent); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: 15px; color: var(--text); }
.quote .who { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.quote .who .ava { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); }
.quote .who b { font-size: 14px; font-weight: 600; display: block; }
.quote .who span { font-size: 12.5px; color: var(--text-mut); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 30px 28px; display: flex; flex-direction: column; position: relative; }
/* The plan we recommend is the drawing turned over — not a bigger, brighter card. */
.plan.featured { background: var(--hero-a); border-color: transparent; color: var(--hero-ink); }
.plan.featured h3, .plan.featured .price, .plan.featured li { color: var(--hero-ink); }
.plan.featured .price small, .plan.featured .plan-sub { color: var(--hero-sub); }
.plan.featured .btn-soft { color: var(--hero-ink); border-color: rgba(251, 243, 228, .34); }
.plan-tag { position: absolute; top: 26px; right: 26px; color: var(--hero-ink); opacity: .8;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-label); }
.plan-tag.soon { color: var(--accent); opacity: 1; }
.btn.is-soon { opacity: .45; cursor: default; }
.plan h3 { font-size: 20px; }
.plan-sub { font-size: 13px; color: var(--text-mut); margin-top: 4px; }
.price { font-family: var(--font-display), Georgia, serif; font-size: 46px; line-height: 1.1; margin: 18px 0 4px; }
.price small { font-family: var(--font-sans), system-ui, sans-serif; font-size: 14px; color: var(--text-mut); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-soft); }
.plan li svg { flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* ---------- faq: hairline rows, no boxes ---------- */
.faq { max-width: 720px; margin: 0 auto; border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 2px; text-align: left; font-size: 16.5px; font-weight: 500; color: var(--text); }
.faq-q svg { flex: none; color: var(--accent); transition: transform .25s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; }
.faq-item.open .faq-a { max-height: 260px; padding: 0 2px 22px; }
.faq-a p { font-size: 15px; color: var(--text-soft); }

/* ---------- the closing band ---------- */
.cta-band { text-align: center; background: var(--hero-a); color: var(--hero-ink);
  border-radius: var(--r-card); padding: 68px 40px; }
.cta-band h2 { color: var(--hero-ink); }
.cta-band p, .cta-band .lead { color: var(--hero-sub); }
.cta-band .eyebrow { color: var(--hero-ink); opacity: .8; }

/* ---------- footer ---------- */
.footer { padding: 60px 0 36px; border-top: 1px solid var(--line-2); margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: var(--tracking-label);
  color: var(--text-mut); font-weight: 600; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14.5px; color: var(--text-soft); }
.footer a:hover { color: var(--text); }
/* The footer's own blurb, narrow by design — it sits in a column, not across the page. It
   used to be written as a bare `.lead`, with a stray `.footer` glued to the comment above it,
   so every section's lead on the site was capped at 280px and knocked off centre. */
.footer .lead { font-size: 14.5px; max-width: 280px; margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 44px;
  padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-mut); flex-wrap: wrap; gap: 14px; }
.footer-credit { font-size: 12.5px; font-weight: 500; color: var(--text-soft); }
.footer-credit:hover { color: var(--text); }
.footer-disclaimer { margin: 16px 0 0; font-size: 12px; line-height: 1.6; color: var(--text-mut); max-width: 820px; }

/* ---------- the shared chrome, in this palette ----------
   nav-kit.css is written against these tokens, so it mostly follows on its own. Two things
   it hard-codes are re-drawn here: the theme swatches (built for a three-theme lavender
   site) and the pill it paints with a gradient. */
.sw { box-shadow: 0 0 0 1px var(--line) inset; }
.sw-light { background: #fbf3e4; }
.sw-dark { background: #11293c; }
.sw-active { background: var(--accent); box-shadow: none; }
.menu > summary { border-radius: 999px; }
.menu-pop { border-radius: var(--r-card); }
.menu-pop a, .menu-pop button { border-radius: 999px; }
.theme-opt.is-active { background: var(--surface-sunk); border-color: var(--line); }
.pager-num.is-current { background: var(--accent); color: var(--paper); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .flag-grid { grid-template-columns: 1fr; }
  .hero-phone-col { order: -1; }
  .feat-grid, .quotes, .price-grid { grid-template-columns: 1fr; }
  .feat-grid > .feat { border-right: none; }
  .feat-grid > .feat:not(:last-child) { border-bottom: 1px solid var(--line-2); }
  .steps { grid-template-columns: 1fr; }
  .day-grid { grid-template-columns: 1fr; }
  .day-week { gap: 4px; }
  .day-cell b { font-size: 17px; }
  .type-grid { grid-template-columns: 1fr; }
  .type { border-right: none; border-bottom: 1px solid var(--line-2); }
  .type-grid > .type:last-child { border-bottom: none; }
  .star-row { grid-template-columns: 1fr; max-width: 320px; gap: 20px; }
  .star-card[style*="--i:1"] { transform: none; }
  .credo { padding: 34px 22px; }
  .credo-grid { grid-template-columns: 1fr; }
  .credo-point { border-right: none; padding: 24px 0 0; }
  .credo-grid > .credo-point:not(:first-child) { padding-left: 0; }
  .step, .steps > .step:not(:first-child) { padding: 26px 0; border-right: none; border-bottom: 1px solid var(--line-2); }
  .steps > .step:last-child { border-bottom: none; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec { padding: 60px 0; }
  .flagship { padding: 32px; }
  .cta-band { padding: 52px 26px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust { gap: 20px; }
  .trust .vr { display: none; }
  /* Phone nav: the section links are hidden ≤920px and the theme switcher lives in the
     footer, so brand + language + CTA fit; tighten the cluster. */
  .nav .brand { font-size: 16px; gap: 8px; letter-spacing: 0.12em; }
  .nav .brand-mark svg { width: 26px; height: 26px; }
  .nav-in { gap: 10px; height: 60px; }
  .nav .wrap { padding: 0 16px; }
  .nav-right { gap: 8px; }
  .nav-right .btn { padding: 10px 15px; font-size: 13.5px; }
  .btn-download { width: 100%; padding: 15px 20px; font-size: 15px; }
}
