/* ============================================================
   Rymi — marketing site
   Visual system carried over from the app:
   cool near-white paper · Bricolage display + Manrope UI ·
   plum (#B370B0) reserved as the Today / commitment signature.
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #FBFBFC;   /* page */
  --surface:   #FFFFFF;   /* cards / app window */
  --panel:     #F4F4F5;   /* alternating quiet section */
  --desktop:   #E9E9E7;   /* behind the app window */

  /* ink scale (three-level hierarchy) */
  --l1: #111111;          /* commitments — loudest */
  --l2: #5A5A5A;          /* context */
  --l3: #9E9E9E;          /* structure — felt, not seen */
  --l4: #C4C4C4;
  --prose: #2C2C2C;       /* long-form body ink */

  --hairline:      rgba(0,0,0,0.07);
  --hairline-soft: rgba(0,0,0,0.04);

  /* the one signature colour */
  --warm:      #B370B0;          /* plum — Today / commitment ONLY */
  --warm-deep: #7E4A7C;
  --warm-soft: rgba(179,112,176,0.09);
  --warm-glow: rgba(179,112,176,0.16);
  --red:       #C0392B;

  /* rhythm */
  --maxw: 1080px;
  --gut: clamp(22px, 5vw, 40px);
  --section-y: clamp(88px, 12vw, 168px);

  --serif: "Bricolage Grotesque", "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;

  --ease: cubic-bezier(0.4, 0.0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--l1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

/* display type */
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  font-variation-settings: "opsz" 96;
  color: var(--l1);
  text-wrap: balance;
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--l3);
}

/* the plum-dash motif borrowed from the app's "Today —" title */
.dash {
  display: inline-block;
  width: clamp(34px, 5vw, 60px);
  height: 2px;
  border-radius: 2px;
  background: var(--warm);
  vertical-align: middle;
  margin-left: 0.42em;
  margin-bottom: 0.18em;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 11px 20px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-primary {
  background: var(--l1);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.18), 0 8px 22px -10px rgba(0,0,0,0.4);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 14px 30px -10px rgba(0,0,0,0.45); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--l1);
  border-color: var(--hairline);
}
.btn-ghost:hover { background: rgba(0,0,0,0.03); }

.meta-line {
  font-size: 13px;
  color: var(--l3);
  letter-spacing: -0.005em;
}
.meta-line .dot { margin: 0 8px; opacity: 0.6; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 24;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--l1);
}
.wordmark .mark {
  width: 19px; height: 19px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--warm);
}
.nav-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.nav-links a.text {
  font-size: 14px; font-weight: 500; color: var(--l2);
  letter-spacing: -0.01em; transition: color 0.15s var(--ease);
  white-space: nowrap;
}
.nav-links a.text:hover { color: var(--l1); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(56px, 9vw, 104px);
  overflow: hidden;
}
.hero-head { text-align: center; max-width: 760px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(44px, 8vw, 86px);
  margin: 0;
}
.hero .sub {
  margin: clamp(20px, 3vw, 28px) auto 0;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--l2);
  max-width: 460px;
  letter-spacing: -0.012em;
  line-height: 1.5;
  text-wrap: balance;
}
.hero-cta {
  margin-top: clamp(28px, 4vw, 38px);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}

/* dawn glow */
.hero-glow {
  position: absolute;
  top: -10%; left: 50%;
  width: min(1100px, 120vw); height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 60% 60% at 50% 30%, var(--warm-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-head, .hero-stage { position: relative; z-index: 1; }

/* hero app stage */
.hero-stage {
  margin-top: clamp(48px, 7vw, 88px);
  display: flex;
  justify-content: center;
}

/* ============================================================
   APP WINDOW MOCK  (faithful Today screen)
   ============================================================ */
.app-frame {
  width: 100%;
  /* soft plum "dawn" wash — echoes the hero glow and ties the
     product shot into the brand. Layered over an even light-plum
     base that stays tinted on every edge (never fades to white). */
  background:
    /* warm glow, top-right */
    radial-gradient(120% 130% at 80% 4%, rgba(179,112,176,0.16), transparent 55%),
    /* deeper plum pool, lower-left */
    radial-gradient(100% 130% at 6% 96%, color-mix(in srgb, var(--warm) 14%, transparent), transparent 60%),
    /* even plum-tinted base (must NOT be white anywhere) */
    linear-gradient(160deg,
      color-mix(in srgb, var(--warm) 7%, #fff) 0%,
      color-mix(in srgb, var(--warm) 12%, #fff) 100%);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 52px) clamp(18px, 4vw, 52px) 0;
}
.app-window {
  width: 100%;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.05),
    0 24px 60px -12px rgba(40,40,40,0.22),
    0 0 0 0.5px rgba(0,0,0,0.1);
  font-family: var(--sans);
  text-align: left;
  min-height: 520px;
}

/* sidebar */
.aw-side {
  background: #FAFAFA;
  border-right: 1px solid var(--hairline);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
}
.aw-traffic { display: flex; align-items: center; gap: 8px; padding: 0 4px 18px; }
.aw-traffic .light { width: 12px; height: 12px; border-radius: 50%; }
.aw-traffic .r { background: #FF5F57; }
.aw-traffic .y { background: #FEBC2E; }
.aw-traffic .g { background: #28C840; }
.aw-traffic .toggle { margin-left: auto; color: var(--l3); display: flex; }

.aw-row {
  height: 32px;
  border-radius: 6px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--l1);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
}
.aw-row .ico { color: var(--l2); display: flex; width: 16px; }
.aw-row .count { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--l3); font-variant-numeric: tabular-nums; }
.aw-row.sel { background: rgba(0,0,0,0.05); }

/* Today row — the signature treatment */
.aw-row.today { color: var(--warm); }
.aw-row.today .ico { color: var(--warm); }
.aw-row.today .count { color: var(--warm); }
.aw-row.today.sel { background: var(--warm-soft); }
.aw-row.today.sel::before {
  content: ""; position: absolute; left: -12px; top: 4px; bottom: 4px;
  width: 2px; border-radius: 2px; background: var(--warm);
}

.aw-projhead {
  display: flex; align-items: center;
  padding: 18px 10px 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--l3);
}
.aw-projhead .plus { margin-left: auto; color: var(--l3); display: flex; }
.aw-side .spacer { flex: 1; }
.aw-gear { color: var(--l3); padding: 8px 10px 2px; display: flex; }

/* main panel */
.aw-main { display: flex; flex-direction: column; min-width: 0; }
.aw-header { padding: 34px 36px 22px; }
.aw-title-row { display: flex; align-items: flex-start; gap: 0; }
.aw-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 42px;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variation-settings: "opsz" 96;
  color: var(--l1);
}
.aw-title-dash { width: 46px; height: 2px; border-radius: 2px; background: var(--warm); margin: 22px 0 0 14px; }
.aw-subhead { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; }
.aw-date { font-size: 14px; color: var(--l2); letter-spacing: -0.005em; }
.aw-progress { font-size: 13px; color: var(--l3); font-variant-numeric: tabular-nums; }
.aw-progress b { color: var(--l2); font-weight: 600; }

.aw-divider { height: 1px; background: var(--hairline); margin: 0 36px; }

.aw-list { padding: 10px 0 0; flex: 1; }
.aw-task {
  height: 34px;
  padding: 0 20px 0 22px;
  display: flex; align-items: center; gap: 12px;
  position: relative;
}
.aw-task.sel { background: var(--warm-soft); }
.aw-task.sel::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 2px; background: var(--warm);
}
.aw-check {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--l3); flex: none;
}
.aw-check.done {
  background: #3A3A3A; border-color: #3A3A3A;
  display: flex; align-items: center; justify-content: center;
}
.aw-check.done svg { color: #fff; }
.aw-tasktitle {
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--l1);
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.aw-task.done .aw-tasktitle { color: var(--l3); text-decoration: line-through; }
.aw-tasktitle .rep { color: var(--l3); display: inline-flex; flex: none; }
.aw-proj { width: 130px; flex: none; font-size: 12.5px; color: var(--l2); text-align: left; letter-spacing: -0.005em; }
.aw-due {
  width: 96px; flex: none; text-align: right;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  font-variant-numeric: tabular-nums; color: var(--l2);
}
.aw-due.t { color: var(--warm); }
.aw-due.over { color: var(--red); }
.aw-task.done .aw-due { opacity: 0.55; }

.aw-secthead {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--l3);
}
.aw-secthead .c { font-weight: 500; opacity: 0.6; }

.aw-quickadd {
  height: 34px; padding: 0 22px; display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--l3);
}
.aw-quickadd .ring { width: 16px; height: 16px; border-radius: 50%; border: 1px dashed var(--l3); opacity: 0.5; flex: none; }
.aw-quickadd .k {
  font-family: var(--mono); font-size: 10.5px; color: var(--l2);
  padding: 1px 5px; background: rgba(0,0,0,0.03); border: 1px solid var(--hairline);
  border-radius: 3px; margin: 0 3px;
}

.aw-footer {
  height: 38px; border-top: 1px solid var(--hairline-soft);
  padding: 0 36px; display: flex; align-items: center; gap: 18px;
  font-size: 11.5px; color: var(--l3); letter-spacing: -0.005em;
}
.aw-footer .grp { display: inline-flex; align-items: center; gap: 6px; }
.aw-footer .sp { flex: 1; }
.kbd {
  font-family: var(--mono); font-size: 10.5px; color: var(--l2);
  padding: 1px 5px; background: rgba(0,0,0,0.03); border: 1px solid var(--hairline);
  border-radius: 3px; font-variant-numeric: tabular-nums;
}

/* ============================================================
   GENERIC SECTION
   ============================================================ */
section { position: relative; }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section.panel { background: var(--panel); }
.section-head { max-width: 620px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 50px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 14px 0 0;
  font-variation-settings: "opsz" 64;
  text-wrap: balance;
}
.section .lead {
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--l2);
  margin-top: 18px;
  max-width: 520px;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- daily ritual arc ---------- */
.ritual {
  margin-top: clamp(48px, 6vw, 76px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
}
.ritual-step {
  background: var(--surface);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex; flex-direction: column;
  min-height: 230px;
}
/* icon badge — a 46px circle, ~24px icon, top of the card */
.ritual-step .rs-mark {
  width: 46px; height: 46px; border-radius: 50%;
  flex: none; align-self: flex-start;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.05);
  color: var(--l1);
}
.ritual-step .rs-time {
  margin-top: 22px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--l3);
}
.ritual-step .rs-title {
  font-family: var(--serif);
  font-weight: 500; font-size: 22px; letter-spacing: -0.03em; margin-top: 12px;
  font-variation-settings: "opsz" 36;
  /* reserve a uniform two-line height so body copy starts on the
     same baseline across all four cards regardless of title length */
  line-height: 1.2;
  height: 2.4em;
  overflow: hidden;
}
.ritual-step .rs-body { font-size: 14.5px; color: var(--l2); margin-top: 10px; letter-spacing: -0.005em; line-height: 1.5; }
/* the Plan step — the signature moment — earns the plum */
.ritual-step.signature { background: var(--warm-soft); }
.ritual-step.signature .rs-mark { background: color-mix(in srgb, var(--warm) 16%, transparent); color: var(--warm); }
.ritual-step.signature .rs-time { color: var(--warm); }

/* ---------- today is the centre (split) ---------- */
.split {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

/* ---------- commitment model card ---------- */
.model-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 18px 40px -20px rgba(0,0,0,0.18);
}
.model-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 22px 26px;
  border-top: 1px solid var(--hairline-soft);
  position: relative;
}
.model-row:first-child { border-top: none; }
.model-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--l1);
  font-variation-settings: "opsz" 24;
}
.model-line { font-size: 14.5px; color: var(--l2); letter-spacing: -0.005em; line-height: 1.45; }
.model-row.today { background: var(--warm-soft); }
.model-row.today::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px;
  width: 2px; border-radius: 2px; background: var(--warm);
}
.model-row.today .model-name { color: var(--warm); }

/* ---------- keyboard ---------- */
.keys {
  margin-top: clamp(36px, 4vw, 52px);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.key {
  font-family: var(--mono);
  font-size: 14px; color: var(--l2);
  min-width: 38px; height: 38px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), inset 0 -2px 0 rgba(0,0,0,0.03);
  letter-spacing: -0.01em;
}
.key.dots { border: none; box-shadow: none; background: none; color: var(--l3); }

/* ---------- does less (constraints) ---------- */
.less-grid {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 6vw, 88px);
  row-gap: 0;
}
.less-item {
  padding: 24px 0;
  border-top: 1px solid var(--hairline);
}
.less-item h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.015em; margin: 0; color: var(--l1); }
.less-item p { font-size: 14px; color: var(--l2); margin: 7px 0 0; letter-spacing: -0.005em; }
.less-foot {
  margin-top: clamp(40px, 5vw, 60px);
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 2.6vw, 26px);
  letter-spacing: -0.03em;
  color: var(--l1);
  font-variation-settings: "opsz" 36;
}

/* ---------- closing ---------- */
.closing { text-align: center; }
.closing h2 { font-size: clamp(34px, 6vw, 64px); }
.closing .hero-cta { margin-top: clamp(26px, 3vw, 34px); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--hairline);
  padding: 34px 0 40px;
}
.foot-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.foot .copy { font-size: 13px; color: var(--l3); }
.foot .links { display: flex; gap: 24px; }
.foot .links a { font-size: 13px; color: var(--l2); transition: color 0.15s var(--ease); }
.foot .links a:hover { color: var(--l1); }
.foot .credit { width: 100%; text-align: center; font-size: 12.5px; color: var(--l4); margin-top: 22px; }
.foot .credit a:hover { color: var(--l2); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* soft dawn glow behind page headers */
.page-glow {
  position: absolute;
  top: -120px; left: 50%;
  width: min(1000px, 120vw); height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 60% 60% at 50% 35%, var(--warm-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.about-intro {
  position: relative;
  padding-top: clamp(64px, 9vw, 104px);
  padding-bottom: clamp(8px, 2vw, 20px);
  text-align: center;
}
.about-intro .wrap { position: relative; z-index: 1; }
.about-intro h1 {
  font-size: clamp(40px, 7vw, 76px);
  margin: 14px 0 0;
}
.about-intro .lead {
  font-size: clamp(18px, 2.4vw, 23px);
  color: var(--l2);
  margin: clamp(20px, 3vw, 28px) auto 0;
  max-width: 560px;
  letter-spacing: -0.014em;
  line-height: 1.45;
  text-wrap: balance;
}

/* ---------- chapters ---------- */
.chapters { max-width: 920px; margin: clamp(40px, 6vw, 72px) auto 0; }
.chapter {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(38px, 5vw, 64px) 0;
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.chapter:first-child { border-top: none; padding-top: clamp(20px, 3vw, 36px); }
.chapter-label {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.025em;
  color: var(--l1);
  font-variation-settings: "opsz" 32;
  line-height: 1.15;
  display: flex; align-items: center; gap: 11px;
  position: sticky; top: 88px;
}
.chapter-label::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--warm); flex: none;
}
.chapter-body p {
  font-size: 18px; line-height: 1.7; color: var(--prose); letter-spacing: -0.011em;
  margin: 0; text-wrap: pretty;
}
.chapter-body p + p { margin-top: 22px; }
.chapter-body p.first { font-size: 20px; color: var(--l1); line-height: 1.55; }
.chapter-body strong { font-weight: 700; color: var(--l1); }

/* ---------- centred statement ---------- */
.statement {
  background: var(--panel);
  margin-top: clamp(20px, 3vw, 36px);
  padding: clamp(64px, 9vw, 120px) 0;
  text-align: center;
}
.statement p {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 4.2vw, 46px); line-height: 1.12; letter-spacing: -0.035em;
  color: var(--l1); margin: 0 auto; max-width: 820px;
  font-variation-settings: "opsz" 60;
  text-wrap: balance;
}
.statement .dash { display: block; margin: 28px auto 0; }

/* ---------- close / contact ---------- */
.about-close {
  text-align: center;
  padding: clamp(64px, 9vw, 120px) 0 clamp(80px, 11vw, 140px);
}
.about-close .eyebrow { display: block; }
.about-close p {
  font-size: clamp(17px, 2.2vw, 20px); color: var(--l2);
  max-width: 500px; margin: 18px auto 0; letter-spacing: -0.012em; line-height: 1.5;
  text-wrap: balance;
}
.about-close .hero-cta { margin-top: clamp(26px, 3vw, 34px); }

/* signature */
.about-signature {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: clamp(36px, 5vw, 52px) auto 0;
}
.sig-avatars { display: flex; }
.sig-avatars .av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--warm-soft); color: var(--warm);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}
.sig-text { text-align: left; }
.sig-text .who { font-size: 15px; font-weight: 600; color: var(--l1); letter-spacing: -0.01em; }
.sig-text .role { font-size: 12.5px; color: var(--l3); }

@media (max-width: 720px) {
  .chapter { grid-template-columns: 1fr; gap: 14px; }
  .chapter-label { position: static; }
}

/* ============================================================
   BLOG — index + article
   ============================================================ */

/* shared page header (blog index + article) */
.page-head {
  position: relative;
  padding-top: clamp(64px, 9vw, 104px);
  padding-bottom: clamp(20px, 3vw, 32px);
}
.page-head .wrap { position: relative; z-index: 1; }

/* ---------- blog index ---------- */
.blog-head { text-align: center; }
.blog-head h1 {
  font-size: clamp(40px, 7vw, 72px);
  margin: 14px 0 0;
}
.blog-head .lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--l2);
  margin: 18px auto 0;
  max-width: 440px;
  letter-spacing: -0.01em;
}

/* featured latest post */
.featured {
  display: block;
  margin: clamp(36px, 5vw, 56px) auto 0;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 22px 50px -26px rgba(0,0,0,0.2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.featured:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 30px 60px -26px rgba(0,0,0,0.26); }
.featured-cover {
  position: relative;
  height: clamp(220px, 30vw, 340px);
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(120% 120% at 78% 18%, var(--warm-glow), transparent 60%),
    linear-gradient(160deg, #FCFBFC 0%, var(--panel) 100%);
}
.featured-cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.featured-cover .tag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--warm);
  background: rgba(255,255,255,0.92);
  padding: 5px 11px; border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.featured-body { padding: clamp(24px, 3vw, 36px); }
.post-meta {
  font-size: 12.5px; color: var(--l3); letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 9px;
}
.post-meta .sep { opacity: 0.6; }
.featured-body h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.035em; line-height: 1.04;
  margin: 14px 0 0; color: var(--l1);
  font-variation-settings: "opsz" 48;
  text-wrap: balance;
}
.featured-body p { font-size: 16px; color: var(--l2); margin: 12px 0 0; max-width: 560px; letter-spacing: -0.005em; }

/* post list */
.post-list { margin-top: clamp(20px, 3vw, 28px); }
.post-row {
  display: block;
  padding: clamp(26px, 3vw, 34px) 0;
  border-top: 1px solid var(--hairline);
  position: relative;
  transition: padding-left 0.2s var(--ease);
}
.post-row:hover { padding-left: 14px; }
.post-row::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%) scaleY(0);
  width: 2px; height: 46px; border-radius: 2px; background: var(--warm);
  transition: transform 0.2s var(--ease);
}
.post-row:hover::before { transform: translateY(-50%) scaleY(1); }
.post-row h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 2.8vw, 30px); letter-spacing: -0.03em; line-height: 1.06;
  margin: 12px 0 0; color: var(--l1);
  font-variation-settings: "opsz" 40;
  display: flex; align-items: baseline; gap: 12px;
}
.post-row h3 .arrow {
  color: var(--warm); font-size: 0.7em; opacity: 0; transform: translateX(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.post-row:hover h3 .arrow { opacity: 1; transform: none; }
.post-row p { font-size: 15.5px; color: var(--l2); margin: 9px 0 0; max-width: 600px; letter-spacing: -0.005em; }

/* ---------- article ---------- */
.article { padding-bottom: clamp(72px, 10vw, 128px); }
.article-head { position: relative; padding-top: clamp(40px, 6vw, 72px); }
.measure { max-width: 720px; margin: 0 auto; }
.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 500; color: var(--l2);
  letter-spacing: -0.01em; transition: color 0.15s var(--ease), gap 0.15s var(--ease);
  white-space: nowrap;
}
.back-link:hover { color: var(--l1); gap: 10px; }
.back-link .a { color: var(--warm); }

.article-head h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -0.04em; line-height: 1.0;
  margin: clamp(26px, 4vw, 40px) 0 0; color: var(--l1);
  font-variation-settings: "opsz" 72;
  text-wrap: balance;
}
.article-head .deck {
  font-size: clamp(17px, 2.2vw, 21px); color: var(--l2);
  margin: 20px 0 0; letter-spacing: -0.012em; line-height: 1.45;
  max-width: 620px; text-wrap: pretty;
}
.article-head .meta {
  margin-top: 22px;
  font-size: 13px; color: var(--l3); letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 9px;
}
.article-head .meta .sep { opacity: 0.6; }

/* cover */
.cover-wrap { margin-top: clamp(28px, 4vw, 44px); }
.cover-slot {
  display: block;
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.cover-slot img { width: 100%; height: auto; display: block; }

/* article body */
.prose { margin-top: clamp(34px, 5vw, 52px); }
.prose > * + * { margin-top: 26px; }
.prose p {
  font-size: 18px; line-height: 1.72; color: var(--prose);
  letter-spacing: -0.011em; text-wrap: pretty;
}
.prose p .lead-in { font-weight: 700; color: var(--l1); }
.prose a { color: var(--warm); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--warm-deep); }
.prose h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.03em; line-height: 1.1;
  margin-top: 48px; color: var(--l1);
  font-variation-settings: "opsz" 40;
}
.prose blockquote {
  margin: 40px 0; padding: 4px 0 4px 26px;
  border-left: 2px solid var(--warm);
}
.prose blockquote p {
  font-family: var(--serif); font-weight: 400; font-style: normal;
  font-size: clamp(21px, 2.8vw, 27px); line-height: 1.34; letter-spacing: -0.025em;
  color: var(--l1);
  font-variation-settings: "opsz" 36;
}
.prose hr { border: none; border-top: 1px solid var(--hairline); margin: 44px 0; }

.article-end {
  display: flex; justify-content: center; margin-top: 52px;
  color: var(--warm); opacity: 0.7;
}

.article-foot {
  max-width: 720px; margin: clamp(44px, 6vw, 64px) auto 0;
  padding-top: 28px; border-top: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.byline { display: flex; align-items: center; gap: 12px; }
.byline .av {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--warm-soft); color: var(--warm);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.byline .who { font-size: 14px; font-weight: 600; color: var(--l1); letter-spacing: -0.01em; }
.byline .role { font-size: 12.5px; color: var(--l3); }

@media (max-width: 620px) {
  .article-foot { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   CONTENT PAGES (privacy, terms, contact)
   ============================================================ */
.content-page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--gut) clamp(72px, 10vw, 120px);
}
.content-page h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.04em; line-height: 1.02;
  font-variation-settings: "opsz" 64; color: var(--l1); margin: 0;
  text-wrap: balance;
}
.content-page h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 2.8vw, 28px); letter-spacing: -0.03em; line-height: 1.12;
  font-variation-settings: "opsz" 40; color: var(--l1); margin: 48px 0 0;
}
.content-page p {
  font-size: 18px; line-height: 1.7; color: var(--prose);
  letter-spacing: -0.011em; margin: 22px 0 0; text-wrap: pretty;
}
.content-page ul { margin: 18px 0 0; padding-left: 22px; }
.content-page li {
  font-size: 18px; line-height: 1.7; color: var(--prose);
  letter-spacing: -0.011em; margin-top: 8px;
}
.content-page strong { font-weight: 700; color: var(--l1); }
.content-page a:not(.btn) { color: var(--warm); text-decoration: underline; text-underline-offset: 2px; }
.content-page a:not(.btn):hover { color: var(--warm-deep); }
.content-page .last-updated { font-size: 13px; color: var(--l3); margin-top: 10px; letter-spacing: 0; }

/* ============================================================
   ACCOUNT PAGES (sign in, welcome, confirmed, reset)
   ============================================================ */
.account-page {
  padding: clamp(72px, 10vw, 120px) var(--gut);
  display: flex; justify-content: center;
}
.account-container { width: 100%; max-width: 400px; }
.account-container h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 4vw, 34px); letter-spacing: -0.035em; line-height: 1.05;
  font-variation-settings: "opsz" 40; color: var(--l1); margin: 0;
  text-wrap: balance;
}
.account-subtitle { font-size: 16px; line-height: 1.5; color: var(--l2); margin-top: 12px; }
.account-form { display: flex; flex-direction: column; margin-top: 28px; }
.account-label { font-size: 13px; font-weight: 600; color: var(--l2); margin-bottom: 7px; letter-spacing: -0.005em; }
.account-label + .account-label { margin-top: 16px; }
.account-input {
  width: 100%; padding: 11px 14px;
  font-family: var(--sans); font-size: 15px; color: var(--l1);
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 9px; outline: none;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.account-input:focus { border-color: var(--warm); box-shadow: 0 0 0 3px var(--warm-soft); }
.account-input + .account-label { margin-top: 16px; }
.account-btn-primary {
  width: 100%; margin-top: 24px; justify-content: center;
  background: var(--l1); color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.18), 0 8px 22px -10px rgba(0,0,0,0.4);
}
.account-btn-primary:hover { transform: translateY(-1px); }
.account-btn-secondary {
  width: 100%; justify-content: center;
  background: var(--surface); color: var(--l1); border: 1px solid var(--hairline);
}
.account-btn-secondary:hover { background: rgba(0,0,0,0.03); }
.account-btn-primary:disabled, .account-btn-secondary:disabled { opacity: 0.5; cursor: default; transform: none; }
.account-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; gap: 12px; }
.account-message { font-size: 14px; line-height: 1.5; color: var(--l2); margin-top: 16px; }
.account-forgot { font-size: 13.5px; color: var(--l3); }
.account-forgot:hover { color: var(--l1); }
.account-toggle { cursor: pointer; }
.account-toggle-action { font-weight: 600; color: var(--l2); }
.account-toggle:hover .account-toggle-action { color: var(--l1); }
.account-email { font-size: 16px; color: var(--l2); margin-top: 8px; }
.account-plan-note { font-size: 14px; color: var(--l3); margin-top: 12px; }
#signed-in .account-btn-secondary { width: 100%; margin-top: 28px; }
.account-link { display: inline-block; font-size: 15px; font-weight: 600; color: var(--warm); margin-top: 24px; }
.account-link:hover { color: var(--warm-deep); }

@media (max-width: 480px) {
  .account-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   DOWNLOAD PAGE — confirmation (left) + the ask (right) + steps
   ============================================================ */
.dl-hero {
  position: relative;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.dl-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

/* left — quiet confirmation */
.dl-badge {
  width: 60px; height: 60px; border-radius: 50%;
  margin: 0 0 24px;
  background: color-mix(in srgb, var(--warm) 13%, transparent);
  color: var(--warm);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.dl-badge::after {
  content: ""; position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--warm) 24%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .dl-badge::after { animation: dl-ring 2.6s var(--ease) infinite; }
}
@keyframes dl-ring {
  0% { transform: scale(0.9); opacity: 0.7; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { opacity: 0; }
}

.dl-confirm h1 { font-size: clamp(34px, 4.6vw, 54px); margin: 0; }
.dl-confirm .sub {
  margin: 18px 0 0;
  font-size: clamp(16px, 1.9vw, 18px); color: var(--l2);
  letter-spacing: -0.012em; line-height: 1.5; text-wrap: pretty;
}
.dl-confirm .sub a { color: var(--warm); font-weight: 600; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--warm) 35%, transparent); }
.dl-confirm .sub a:hover { border-bottom-color: var(--warm); }

.dl-status {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--l3); letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
}
.dl-status .spin {
  width: 13px; height: 13px; border-radius: 50%;
  border: 1.5px solid var(--l4); border-top-color: var(--warm);
}
@media (prefers-reduced-motion: no-preference) {
  .dl-status .spin { animation: dl-spin 0.8s linear infinite; }
}
@keyframes dl-spin { to { transform: rotate(360deg); } }
.dl-status.done .spin {
  border: none; background: var(--warm); color: #fff;
  display: flex; align-items: center; justify-content: center; animation: none;
}
.dl-meta { margin-top: 16px; font-size: 13px; color: var(--l3); letter-spacing: -0.005em; }
.dl-meta .dot { margin: 0 8px; opacity: 0.6; }

/* right — the ask, as an elevated card (the focal point) */
.ask-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: clamp(26px, 3vw, 40px);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 30px 64px -30px rgba(40,30,45,0.28);
  position: relative;
}
.ask-card .eyebrow { display: block; }
.ask-card h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 2.8vw, 31px); letter-spacing: -0.035em; line-height: 1.08;
  margin: 12px 0 0; color: var(--l1);
  font-variation-settings: "opsz" 44; text-wrap: balance;
}
.ask-card .note {
  font-size: 15.5px; color: var(--l2); line-height: 1.55; letter-spacing: -0.008em;
  margin: 14px 0 0; text-wrap: pretty;
}
.ask-card .note strong { color: var(--l1); font-weight: 600; }

/* honeypot — hidden from people, catches bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--l3); display: block; margin-bottom: 10px;
}
.field-label .opt { text-transform: none; font-weight: 500; letter-spacing: 0; color: var(--l4); }

.ask-form input,
.ask-form textarea {
  width: 100%; min-width: 0;
  font-family: var(--sans); font-size: 15px; color: var(--l1);
  padding: 13px 16px; border-radius: 10px;
  border: 1px solid var(--hairline); background: var(--bg);
  letter-spacing: -0.01em;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.ask-form textarea { line-height: 1.5; resize: vertical; min-height: 58px; }
.ask-form input::placeholder,
.ask-form textarea::placeholder { color: var(--l4); }
.ask-form input:focus,
.ask-form textarea:focus {
  outline: none; border-color: var(--warm);
  box-shadow: 0 0 0 3px var(--warm-soft);
}
.ask-form input.invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--l2);
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--hairline); background: var(--bg);
  cursor: pointer; letter-spacing: -0.01em; white-space: nowrap;
  transition: all 0.15s var(--ease);
  user-select: none;
}
.chip:hover { border-color: var(--l3); color: var(--l1); }
.chip.sel {
  background: var(--warm-soft); border-color: color-mix(in srgb, var(--warm) 40%, transparent);
  color: var(--warm-deep);
}

.ask-block { margin-top: 18px; }
.ask-block:first-of-type { margin-top: clamp(20px, 3vw, 28px); }

.ask-fine {
  font-size: 12px; color: var(--l3); line-height: 1.5; letter-spacing: -0.005em;
  margin: 16px 0 0;
}

.ask-submit {
  width: 100%; justify-content: center;
  margin-top: 16px;
  background: var(--warm); color: #fff;
}
.ask-submit:hover { background: var(--warm-deep); }

.ask-hint {
  font-size: 12.5px; color: var(--red); letter-spacing: -0.005em;
  margin: 10px 0 0; text-align: center;
  display: none;
}
.ask-hint.show { display: block; }

.ask-sign {
  display: flex; align-items: center; gap: 11px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--hairline-soft);
}
.ask-sign .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--warm-soft); color: var(--warm);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.ask-sign .who { font-size: 14px; font-weight: 600; color: var(--l1); letter-spacing: -0.01em; }
.ask-sign .role { font-size: 12.5px; color: var(--l3); }

/* thank-you state (swaps in place inside the card) */
.ask-thanks { display: none; }
.ask-form.sent { display: none; }
.ask-thanks.show { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .ask-thanks.show { animation: dl-fade 0.5s var(--ease); }
}
@keyframes dl-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ask-thanks .mark {
  width: 52px; height: 52px; border-radius: 50%;
  margin: 0 0 18px; background: var(--warm-soft); color: var(--warm);
  display: flex; align-items: center; justify-content: center;
}
.ask-thanks h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 2.8vw, 31px); letter-spacing: -0.035em; line-height: 1.08;
  margin: 0; color: var(--l1); font-variation-settings: "opsz" 44;
}
.ask-thanks p { font-size: 15.5px; color: var(--l2); line-height: 1.6; margin: 16px 0 0; text-wrap: pretty; }

/* below the fold: install steps */
.dl-start { padding-bottom: clamp(64px, 9vw, 120px); }
.dl-start .head { text-align: center; }
.dl-steps {
  max-width: 880px; margin: clamp(28px, 4vw, 44px) auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--hairline);
  border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden;
}
.dl-step { background: var(--surface); padding: clamp(22px, 2.6vw, 30px); }
.dl-step .n {
  font-family: var(--mono); font-size: 12px; color: var(--warm); font-weight: 600;
  letter-spacing: 0.04em;
}
.dl-step h3 {
  font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: -0.03em;
  margin: 12px 0 0; color: var(--l1); font-variation-settings: "opsz" 28;
}
.dl-step p { font-size: 14px; color: var(--l2); margin: 8px 0 0; letter-spacing: -0.005em; line-height: 1.5; }
.dl-step kbd {
  font-family: var(--mono); font-size: 11px; color: var(--l1);
  padding: 1px 6px; background: rgba(0,0,0,0.04); border: 1px solid var(--hairline);
  border-radius: 4px;
}

@media (max-width: 880px) {
  .dl-grid { grid-template-columns: 1fr; gap: 36px; }
  .dl-confirm { text-align: center; }
  .dl-badge { margin-left: auto; margin-right: auto; }
  .dl-confirm .sub { max-width: 420px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 720px) {
  .dl-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   reveal-on-scroll  (only active when JS is present)
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 920px) {
  .ritual { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  /* Keep the product shot's real desktop layout — don't re-arrange it.
     Just scale the whole window down so it reads as a smaller version
     of the same screen. zoom (unlike transform) reflows the box, so
     there's no leftover whitespace below. */
  .app-frame { overflow: hidden; padding: 16px 14px 0; }
  .app-window { width: 680px; min-height: 0; margin-inline: auto; zoom: 0.74; }
}
@media (max-width: 620px) {
  .less-grid { grid-template-columns: 1fr; }
  .ritual { grid-template-columns: 1fr; }
  .nav-links a.text { display: none; }
  .app-window { zoom: 0.58; }
}
@media (max-width: 480px) {
  .app-window { zoom: 0.44; }
}
@media (max-width: 380px) {
  .app-window { zoom: 0.36; }
}
