/* ==========================================================================
   Adesse — sales site stylesheet
   Derived exactly from docs/website-design.md ("Look up" direction, approved
   2026-07-07). Tokens §3, type §4, motion §6. Grayscale belongs to the phone;
   warm color belongs to life. No gradients. Sentence case everywhere.
   ========================================================================== */

:root {
  /* §3 color tokens */
  --paper: #FAF6EF;        /* Morning Paper — page background */
  --card: #FFFDF8;         /* Card White — raised surfaces */
  --ink: #26221E;          /* Graphite — text, filled buttons */
  --taupe: #5B5348;        /* Warm Taupe — secondary text */
  --marigold: #E8A13C;     /* Marigold — the life color, non-text only */
  --amber-ink: #8A5410;    /* Amber Ink — links, text-level accent */
  --night: #211D19;        /* Nightstand — dark bands */
  --hairline: #E9E2D6;

  /* Derived, non-token tints (Marigold over Paper — the "warm field") */
  --warm-field: #F5E2C2;
  --gray-field: #ECEAE6;   /* the pre-warm state of the signature moment */
  --ink-hover: #3A342E;    /* Graphite, lifted — button/nav hover */
  --muted-on-night: #B7AFA4; /* secondary text on Nightstand (AA 7.6:1) */

  /* §4 type */
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, "Segoe UI", sans-serif;

  --measure: 65ch;
  --container: 72rem;
}

/* ---- Reset-adjacent ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;             /* 19px body — accessibility floor */
  font-weight: 400;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

/* Visible keyboard focus — 2px Amber Ink, offset 2 (plan §4) */
:focus-visible {
  outline: 2px solid var(--amber-ink);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 99;
  font-family: var(--sans);
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---- Type scale (§4) ---- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2.125rem, 4vw, 3rem); line-height: 1.12; }
h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.25; }

/* One italic emphasis word per key headline — Amber Ink, the small delight */
h1 em, h2 em {
  font-style: italic;
  color: var(--amber-ink);
}

p { max-width: var(--measure); }
p + p { margin-top: 1rem; }

a { color: var(--amber-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--amber-ink);
  margin-bottom: 0.875rem;
}

.lede { font-size: 1.25rem; }
.muted { color: var(--taupe); }
.small {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--taupe);
}

/* ---- Layout ---- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section h2 { margin-bottom: 1.25rem; }

.section--hairline { border-top: 1px solid var(--hairline); }

.section--night {
  background: var(--night);
  color: var(--paper);
}
.section--night .eyebrow { color: var(--marigold); }
.section--night .muted,
.section--night .small { color: var(--muted-on-night); }
.section--night h2 em { color: var(--marigold); }

/* Focus indicators on dark bands: Amber Ink fails 3:1 there; Marigold passes */
.section--night :focus-visible,
.site-footer :focus-visible { outline-color: var(--marigold); }

/* ---- Header / nav ---- */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
/* The mark ("Beyond the phone"): grayscale phone silhouette, marigold sun
   rising behind it. Phone body uses currentColor so it inverts on dark
   surfaces; the sun stays Marigold everywhere. */
.wordmark-mark { display: block; flex: none; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-family: var(--sans);
  font-size: 1rem;
}
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--amber-ink); }
.site-nav .nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1.1rem;
  border-radius: 12px;
}
.site-nav .nav-cta:hover { color: var(--paper); background: var(--ink-hover); }
/* Customer account (account.thekalaphone.com): the quiet outlined counterpart to
   the solid CTA. */
.site-nav .nav-account {
  border: 1px solid var(--taupe);
  border-radius: 12px;
  padding: 0.5rem 1.1rem;
}
.site-nav .nav-account:hover { color: var(--amber-ink); border-color: var(--amber-ink); }

/* Mobile menu button: only phone widths under a .has-menu header, and only
   once the page script unhides it (no JS = no dead button). */
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn[aria-expanded="true"] .icon-burger { display: none; }
.menu-btn[aria-expanded="false"] .icon-close { display: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 0.9rem 1.75rem;
  border-radius: 12px;
  transition: background-color 200ms ease, transform 200ms ease;
}
.btn:hover { background: var(--ink-hover); transform: translateY(-1px); }
.section--night .btn { background: var(--paper); color: var(--ink); }
.section--night .btn:hover { background: var(--card); }

/* Quiet secondary — outline, for a second action beside a filled .btn */
.btn--quiet {
  background: none;
  color: var(--ink);
  border: 1px solid var(--taupe);
  padding: calc(0.9rem - 1px) calc(1.75rem - 1px);  /* same box as .btn despite the border */
}
.btn--quiet:hover { background: var(--card); border-color: var(--ink); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

/* ---- Waitlist form (pre-launch CTA) ---- */
.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  max-width: 34rem;
}
.waitlist-form input[type="email"] {
  flex: 1 1 14rem;
  font-family: var(--sans);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--taupe);   /* ≥3:1 boundary on Paper (WCAG 1.4.11) */
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.waitlist-form input[type="email"]::placeholder { color: var(--taupe); }
button.btn { border: 0; cursor: pointer; }
button.btn:disabled { opacity: 0.7; cursor: default; transform: none; }
.waitlist-form .form-note,
.waitlist-form .form-msg { flex-basis: 100%; margin: 0; }
.form-msg:empty { display: none; }
.form-msg[data-state="error"] { color: var(--amber-ink); }
.section--night .form-msg[data-state="error"] { color: var(--marigold); }

/* Back link (contact page — shown by JS only when arriving from this site) */
.back-link {
  font-family: var(--sans);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}
.back-link a { text-decoration: none; }
.back-link a:hover { text-decoration: underline; }

/* ---- Ask form (/contact/ message + /apps/ app request) ---- */
.ask-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
  max-width: 34rem;
}
.ask-form input[type="email"],
.ask-form input[type="text"],
.ask-form textarea {
  font-family: var(--sans);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--taupe);   /* ≥3:1 boundary on Paper (WCAG 1.4.11) */
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.ask-form input[type="email"]::placeholder,
.ask-form input[type="text"]::placeholder,
.ask-form textarea::placeholder { color: var(--taupe); }
.ask-form textarea {
  min-height: 7.5rem;
  resize: vertical;
  line-height: 1.5;
}
.ask-form .btn { justify-self: start; }
.ask-form .form-msg { margin: 0; }
@media (max-width: 620px) {
  .ask-form .btn { justify-self: stretch; width: 100%; }
}

.trust-line { margin-top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* Honeypot: offscreen, never display:none (bots skip that) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ==========================================================================
   Hero — the reddit ad brought home: the phone open on paper, no card, with
   the marigold sun behind it placed exactly like the wordmark (founder call
   2026-07-23). The color-return signature lives at the turn section.
   ========================================================================== */
.hero {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  overflow-x: clip;   /* the sun may bleed past the viewport on mid widths */
}
/* Capped below the global h1 so the headline sets as a balanced stack, never
   the skinny four-line tower the full 5rem produces in this column. */
.hero h1 { font-size: clamp(2.75rem, 4.8vw, 3.75rem); }
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy .lede { margin-top: 1.5rem; }

.hero-scene {
  display: flex;
  justify-content: center;
}

/* The logo made literal: the marigold sun behind the phone at the wordmark's
   exact geometry — circle diameter = phone width, center at 121% of the
   phone's width from its left edge and 44% down its height (from the
   wordmark SVG: circle cx 21.5 cy 15 r 7 against rect x 4.5 y 5.5 w 14 h 21.5). */
.hero-device { position: relative; }
.hero-device .phone { z-index: 1; }
.hero-sun {
  position: absolute;
  top: 44%;
  left: 121%;
  transform: translate(-50%, -50%);
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--marigold);
}

/* Mid-page echo of the signature (§3 "the turn") — warms on scroll */
.warm-echo {
  background: var(--gray-field);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  transition: background-color 1600ms ease-out;
}
.warm-echo.in-view { background: var(--warm-field); }

@media (prefers-reduced-motion: reduce) {
  .warm-echo { transition: none; background: var(--warm-field); }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* ---- The phone: drawn to match the REAL device. A themeable component — the
       screen palette, frame, and day-line colors are all CSS variables, so one
       markup shape renders any of the three shipped theme families (Morning
       Paper / Overcast / E-Ink, each light + dark; see the .t-* classes below)
       and any day-line preset. Defaults below = AdesseThemes.MorningPaper.light,
       the phone's shipped default. Values mirror the :design tokens exactly.
       The launcher is icon-free: a Literata clock, the full date, a day-progress
       line, a short finite app list, a swipe-up hint, and a settings mark in the
       corner — never a bottom row. (Stock OS grayscale is off by default.) ---- */
.phone {
  /* Theme (Morning Paper light — :design AdesseThemes.MorningPaper.light) */
  --frame: #201C18;                    /* warm near-black hardware frame (constant) */
  --screen-bg: #FAF6EF;
  --screen-ink: #26221E;
  --screen-secondary: #5B5348;
  --screen-hairline: #E4DCCE;
  /* Day line (Classic by default: elapsed = secondary @45%, track = hairline,
     dot = secondary, timer accent = Amber Ink on light / Marigold on dark). */
  --dl-elapsed-1: color-mix(in srgb, var(--screen-secondary) 45%, transparent);
  --dl-elapsed-2: color-mix(in srgb, var(--screen-secondary) 45%, transparent);
  --dl-track: var(--screen-hairline);
  --dl-tick: color-mix(in srgb, var(--screen-secondary) 30%, transparent);
  --dl-dot: var(--screen-secondary);
  --dl-timer: #8A5410;                 /* Amber Ink (light classic timer accent) */
  --dl-weight: 1px;                    /* Fine (2 = Regular, 3 = Bold) */
  --dl-dot-d: 5px;                     /* Small (6.5 = Medium, 8 = Large) */
  --day: 26%;                          /* now, as fraction of the 24h day */
  --timer: 60%;                        /* timer sweep dot, on its own scale */

  position: relative;
  width: min(272px, 70vw);
  aspect-ratio: 9 / 19;
  background: var(--frame);
  border-radius: 36px;
  padding: 11px;
  box-shadow: 0 24px 48px rgba(38, 34, 30, 0.2);
}
/* Theme families — override only what differs from Morning Paper light. */
.phone.t-paper-dark    { --screen-bg:#211D19; --screen-ink:#EDE7DB; --screen-secondary:#9A9082; --screen-hairline:#332D27; --dl-timer:#E8A13C; }
.phone.t-overcast      { --screen-bg:#ECEDEE; --screen-ink:#23262A; --screen-secondary:#565C63; --screen-hairline:#D8DBDE; --dl-timer:#8A5410; }
.phone.t-overcast-dark { --screen-bg:#1A1C1E; --screen-ink:#E2E4E6; --screen-secondary:#9BA1A6; --screen-hairline:#2A2D30; --dl-timer:#E8A13C; }
.phone.t-eink          { --screen-bg:#F6F5F2; --screen-ink:#1C1B19; --screen-secondary:#55534E; --screen-hairline:#E2E0DA; --dl-timer:#8A5410; }
.phone.t-eink-dark     { --screen-bg:#000000; --screen-ink:#E8E2D6; --screen-secondary:#8F8578; --screen-hairline:#22201C; --dl-timer:#E8A13C; }

/* Hero variant: a REAL device screenshot framed in the bezel. The frame goes
   near-black so the screenshot's own black rounded corners blend into it with
   no seam; height follows the image's aspect (no 9/19 lock). */
.phone.phone--shot {
  --frame: #070707;
  aspect-ratio: auto;
  padding: 10px;
  line-height: 0;
}
.phone-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}
/* Centered front-camera punch-hole, overlaid on the screenshot's status bar
   (a real screen capture omits the physical camera cutout). Pixel a-series. */
.phone-cam {
  position: absolute;
  top: 4.6%;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #050505;
  z-index: 3;
}

/* Side buttons, frame-colored like the real device: power above, volume rocker below. */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  left: 100%;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--frame);
}
.phone::before { top: 26%; height: 7.5%; }   /* power */
.phone::after  { top: 35.5%; height: 14%; }  /* volume */

.phone-screen {
  position: relative;
  background: var(--screen-bg);
  color: var(--screen-ink);
  border-radius: 27px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
}
/* Centered punch-hole front camera in the status-bar strip (Pixel a-series). */
.phone-screen::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--frame);            /* flat dot — no bevel, no highlight */
  z-index: 3;
}

/* The system status bar: tiny time left, signal/wifi/battery right. */
.phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.05rem 0;
  color: var(--screen-ink);
}
.phone-sb-time { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.01em; }
.phone-sb-icons { display: inline-flex; align-items: center; gap: 4px; }
.phone-sb-icons svg { display: block; }

/* Settings: a quiet mark (gear or a chosen glyph) in the top-right corner. */
.phone-gear {
  position: absolute;
  top: 2.1rem;
  right: 0.7rem;
  color: var(--screen-secondary);
  line-height: 0;
  z-index: 2;
}

/* The launcher content, inset clear of the status bar like the real safe area. */
.phone-home {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.55rem 1.25rem 0;
}
/* Clock row: the clock, plus (when a timer runs) a presence dot beside it. */
.phone-clockrow { display: flex; align-items: center; }
/* Clock: display type — Literata, big and quiet (68sp on device). */
.phone-clock {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.65rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--screen-ink);
}
/* Timer presence dot beside the clock — filled, timer accent, ~12dp gap. */
.phone-presence {
  width: max(6px, var(--dl-dot-d));
  height: max(6px, var(--dl-dot-d));
  margin-left: 9px;
  border-radius: 50%;
  background: var(--dl-timer);
}
/* Date: full weekday, month, day — Instrument Sans, secondary tone (16sp). */
.phone-date {
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--screen-secondary);
}
/* Day line: progress through the calendar day. The elapsed 0→now slice shows a
   gradient pinned to the FULL width (so each hue stays fixed to a time of day),
   drawn at the weight's thickness; the remaining track is always a 1px hairline;
   a faint noon tick; a dot at now (and, with a timer, a second dot on its own
   scale beneath it). Classic (default vars) makes the elapsed a solid tone. */
.phone-dayline {
  position: relative;
  height: max(6px, var(--dl-dot-d));
  margin-top: 11px;
  background: linear-gradient(var(--dl-track) 0 0) no-repeat center / 100% 1px;
}
.phone-dayline::before {          /* elapsed 0→now, at weight thickness */
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: var(--dl-weight);
  transform: translateY(-50%);
  background: linear-gradient(to right, var(--dl-elapsed-1), var(--dl-elapsed-2));
  clip-path: inset(0 calc(100% - var(--day)) 0 0);
}
.phone-dayline::after {           /* noon tick */
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: max(4px, calc(var(--dl-weight) + 2px));
  transform: translate(-50%, -50%);
  background: var(--dl-tick);
}
.phone-dayline__dot,
.phone-dayline__timer {
  position: absolute;
  top: 50%;
  width: var(--dl-dot-d);
  height: var(--dl-dot-d);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.phone-dayline__dot   { left: var(--day);   background: var(--dl-dot);   z-index: 2; }  /* now, on top */
.phone-dayline__timer { left: var(--timer); background: var(--dl-timer); z-index: 1; }  /* timer sweep */

/* Day-line modifiers: weight, dot size, and the "Sunset" preset (light face). */
.dl-fine    { --dl-weight: 1px; }
.dl-regular { --dl-weight: 2px; }
.dl-bold    { --dl-weight: 3px; }
.dl-small   { --dl-dot-d: 5px; }
.dl-medium  { --dl-dot-d: 6.5px; }
.dl-large   { --dl-dot-d: 8px; }
.dl-sunset  { --dl-elapsed-1: #C93F2E; --dl-elapsed-2: #B87400; --dl-dot: #B0342C; --dl-timer: #0B7285; }

/* Home text: the customer's own line — Literata, secondary tone, two-line clamp,
   ~20dp below the day line. Only present when the customer set one. */
.phone-hometext {
  margin-top: 0.6rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--screen-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* The 0.42 : 1 spacer weights that put the list ~a third down, as on device. */
.phone-gap--a { flex: 0.42 0 0; }
.phone-gap--b { flex: 1 0 0; }
/* App list: Instrument Sans Medium, no icons, hairline dividers (22sp on device). */
.phone-apps { list-style: none; }
.phone-apps li {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--screen-ink);
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--screen-hairline);
}
.phone-apps li:last-child { border-bottom: 0; }
/* Swipe-up hint: a small line-art glyph, secondary tone, floating clear of the
   bottom edge (the real launcher keeps ~80dp of clearance beneath it). */
.phone-hint {
  align-self: center;
  margin-bottom: 2.4rem;
  color: var(--screen-secondary);
  line-height: 0;
}

/* ==========================================================================
   "Does it end?" stays/goes columns — retired from the home page 2026-07-23
   (replaced by the drawn-lines diagram, mockups/rule-section variant B);
   still used by /articles/escape-phone-addiction and /welcome.
   ========================================================================== */
.rule-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
  max-width: 56rem;
}
.rule-col {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 1.75rem 1.75rem 1.5rem;
}
.rule-col h3 { margin-bottom: 0.375rem; }
.rule-col .small { margin-bottom: 1rem; }
.rule-col ul { list-style: none; font-family: var(--sans); font-size: 1.0625rem; }
.rule-col li { padding-block: 0.4rem; display: flex; gap: 0.625rem; align-items: baseline; }
.rule-col li::before { font-weight: 600; }
.rule-col--stays li::before { content: "✓"; color: var(--amber-ink); }
.rule-col--goes li::before { content: "—"; color: var(--taupe); }
.rule-col--goes { color: var(--taupe); }

/* ==========================================================================
   Section 5 — app categories + honest notes
   ========================================================================== */
/* Mobile-first: a simple vertical stack of full-width cards (plenty of room to
   scroll down — no need to hide any of the five behind a swipe). */
.category-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.category-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 200ms ease;
}
.category-card:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .category-card { transition: none; }
  .category-card:hover { transform: none; }
}
.category-card h3 { font-size: 1.1875rem; margin-bottom: 0.5rem; }
.category-card p { font-family: var(--sans); font-size: 1rem; color: var(--taupe); }

/* Desktop: the five equal cards become one row you drag or scroll through — no
   orphaned fifth card, no full-width band. A manual carousel: user-driven only,
   never autoplays (the anti-hijack promise applies to our own site, §6). ~Four
   show with the next peeking. Grab-and-drag the cards (see the script) or use
   the pill scrollbar below. */
@media (min-width: 860px) {
  .category-grid {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;                  /* room for the scrollbar below the cards */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;                 /* Firefox */
    scrollbar-color: var(--taupe) var(--hairline);
  }
  .category-grid:focus-visible { outline: 2px solid var(--amber-ink); outline-offset: 4px; }
  .category-grid.is-draggable { cursor: grab; }
  .category-grid.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
  /* A soft pill scrollbar (WebKit) — a clear, on-brand scroll affordance. */
  .category-grid::-webkit-scrollbar { height: 10px; }
  .category-grid::-webkit-scrollbar-track {
    background: var(--hairline);
    border-radius: 999px;
    margin: 0 2px;
  }
  .category-grid::-webkit-scrollbar-thumb {
    background: var(--taupe);
    border-radius: 999px;
  }
  .category-grid::-webkit-scrollbar-thumb:hover { background: var(--amber-ink); }
  .category-card {
    flex: 0 0 clamp(240px, 30%, 300px);    /* fixed width → the row overflows into a carousel */
    scroll-snap-align: start;
  }
}

.honest-notes {
  margin-top: 2.5rem;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--marigold);   /* Marigold as accent, non-text */
  border-radius: 16px;
  padding: 1.75rem 2rem;
  max-width: 56rem;
}
.honest-notes h3 { margin-bottom: 1rem; }
.honest-notes ul { list-style: none; }
.honest-notes li + li { margin-top: 1rem; }
.honest-notes strong { font-family: var(--sans); font-size: 1.0625rem; }
.honest-notes li p { font-family: var(--sans); font-size: 1.0625rem; color: var(--taupe); margin-top: 0.2rem; }

/* ==========================================================================
   Section 7 — the object: condition tiers as finishes
   ========================================================================== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
  max-width: 60rem;
}
.tier-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 1.75rem;
}
.tier-card h3 { margin-bottom: 0.625rem; }
.tier-card p { font-family: var(--sans); font-size: 1.0625rem; color: var(--taupe); }
.spec-note { margin-top: 2rem; }

/* ==========================================================================
   Section 9 — founder note
   ========================================================================== */
.founder-note {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 46rem;
}
.founder-note blockquote p { font-size: 1.1875rem; }
.founder-sig { margin-top: 1.25rem; }

/* ==========================================================================
   Section 11 — FAQ (native details/summary)
   ========================================================================== */
.faq-list { margin-top: 2rem; max-width: 56rem; }
.faq-list details {
  border-top: 1px solid var(--hairline);
  padding-block: 1.125rem;
}
.faq-list details:last-child { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;              /* replace the browser triangle... */
  position: relative;
  padding-left: 1.6rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {      /* ...with a calm +/− inside the padding */
  content: "+";
  position: absolute;
  left: 0;
  color: var(--amber-ink);
}
.faq-list details[open] summary::before { content: "−"; }
.faq-list summary:hover { color: var(--amber-ink); }
.faq-list details p {
  margin-top: 0.75rem;
  padding-left: 1.6rem;
  color: var(--taupe);
}

/* ==========================================================================
   Section 12 + footer
   ========================================================================== */
.final-cta h2 { max-width: 22ch; }
.closing-line {
  margin-top: 2.5rem;
  font-style: italic;
  font-size: 1.25rem;
}

.site-footer {
  background: var(--night);
  color: var(--muted-on-night);
  font-family: var(--sans);
  font-size: 0.9375rem;
  padding-block: 2.5rem;
}
.site-footer .container { display: grid; gap: 0.625rem; }
.site-footer .no-feed { color: var(--paper); font-family: var(--serif); font-style: italic; font-size: 1.0625rem; }
.site-footer a { color: var(--muted-on-night); }

/* ---- Reveal-on-scroll (gentle, gated by reduced-motion in JS too) ---- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  /* Mobile: message and CTA land first, then the whole phone follows in
     normal page flow — no fixed window, no crop, no inner scrolling.
     Showing the complete phone is on-message: the list ends. The sun keeps
     the wordmark geometry and bleeds off the right edge (.hero clips it,
     so it never causes a horizontal scrollbar). */
  .phone { width: min(230px, 60vw); }
  .rule-columns { grid-template-columns: 1fr; }
  /* Nav stays fully reachable: wrap under the wordmark, never hide links */
  .site-header .container { flex-wrap: wrap; row-gap: 0.75rem; }
  .site-nav { flex-wrap: wrap; gap: 1.1rem; font-size: 0.9375rem; }
}

/* Phone-width header (.has-menu pages): one quiet bar — wordmark left, menu
   button right — with the nav collapsed behind the button. The page script
   unhides the button; without JS it stays [hidden] and the nav renders open
   as a stacked list, so nothing is ever unreachable. */
@media (max-width: 620px) {
  .has-menu .menu-btn:not([hidden]) { display: inline-flex; }
  .has-menu .menu-btn:not([hidden]) + .site-nav:not(.open) { display: none; }
  .has-menu .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 0 0.85rem;
    font-size: 1.0625rem;
  }
  .has-menu .site-nav a {
    padding: 0.9rem 0.25rem;
    border-top: 1px solid var(--hairline);
  }
  .has-menu .site-nav .nav-account,
  .has-menu .site-nav .nav-cta {
    border-top: 0;
    margin-top: 0.85rem;
    text-align: center;
    padding: 0.85rem 1.1rem;
  }
  .has-menu .site-nav .nav-account { border: 1px solid var(--taupe); }
}
