/* =============================================================================
   Little Things — marketing site
   Editorial paper / warm ink / quiet motion
   ============================================================================= */

:root {
  color-scheme: light;

  /* Paper palette */
  --paper: #f4ebdc;
  --paper-soft: #fbf4e7;
  --paper-deep: #ecdfc8;
  --paper-edge: #d8c8ad;

  /* Ink palette */
  --ink: #1a1916;
  --ink-soft: #423e36;
  --ink-mute: #6a6358;
  --ink-faint: #8c8579;

  /* Accent palette — restrained */
  --terracotta: #c75a44;
  --terracotta-soft: #f3d6c8;
  --sage: #6f8a64;
  --sage-soft: #d6e0c9;
  --sage-deep: #4a614a;
  --rose: #e7c0b3;
  --lavender: #c8c0d8;
  --blue: #b3c7d2;
  --gold: #c79a3f;
  --gold-soft: #ecd9a4;

  /* Charcoal for dark sections */
  --char: #1d1d18;
  --char-deep: #131310;
  --char-soft: #29291f;

  /* Lines */
  --line: rgba(26, 25, 22, 0.12);
  --line-strong: rgba(26, 25, 22, 0.22);
  --line-faint: rgba(26, 25, 22, 0.06);
  --line-light: rgba(251, 244, 231, 0.18);

  /* Type */
  --serif: "Fraunces", "Source Serif Pro", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --device-serif: "Playfair Display", "Source Serif Pro", Georgia, serif;
  --device-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Device-mode palette (matches the real app's lightPalette) */
  --d-bg: #f0efe9;
  --d-paper: #fdfcf8;
  --d-sage: #acc1ad;
  --d-terracotta: #e2725b;
  --d-sand: #f5f5dc;
  --d-slate: #708090;
  --d-ink: #1e1e1e;
  --d-ink-mid: #4a4a4a;
  --d-ink-light: #9a9a9a;
  --d-border: rgba(30, 30, 30, 0.08);

  /* Glint-intent accents */
  --d-observation: #4a7fa5;
  --d-interest: #c8850a;
  --d-gift: #c06b36;
  --d-moment: #8b6cb5;
  --d-support: #c0556b;

  /* Motion */
  --ease-heavy: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.22, 0.8, 0.24, 1);
  --ease-quiet: cubic-bezier(0.4, 0.16, 0.16, 1);

  /* Layout */
  --max: 1240px;
  --max-narrow: 980px;
  --gutter: clamp(1rem, 4vw, 3rem);

  /* Stacking */
  --nav-z: 30;
  --overlay-z: 40;
  --grain-z: 90;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 40% at 70% 0%, rgba(199, 154, 63, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 30%, rgba(199, 90, 68, 0.05), transparent 60%),
    linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 50%, var(--paper-deep) 100%);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 88, "WONK" 0, "opsz" 144;
  font-weight: 540;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h1 em,
h2 em,
h3 em,
.manifesto-headline em,
.privacy-headline em {
  font-style: italic;
  font-variation-settings: "SOFT" 92, "WONK" 1, "opsz" 144;
  font-weight: 460;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.022em;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  color: var(--ink-soft);
  line-height: 1.6;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: transparent;
  border: 0;
}

::selection {
  color: var(--paper-soft);
  background: var(--terracotta);
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 0.2rem;
}

.primary-action:focus-visible,
.nav-button:focus-visible,
button.primary-action:focus-visible {
  outline-offset: 4px;
}

summary:focus-visible,
.faq-list summary:focus-visible {
  outline-offset: 0;
}

/* =====================================  texture  ===================================== */

.grain {
  position: fixed;
  inset: 0;
  z-index: var(--grain-z);
  pointer-events: none;
  opacity: 0.045;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.paper-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 30% at 50% 0%, rgba(0, 0, 0, 0) 30%, rgba(60, 40, 20, 0.04) 100%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(0, 0, 0, 0) 40%, rgba(60, 40, 20, 0.05) 100%);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--paper-soft);
  background: var(--ink);
  border-radius: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* =====================================  nav  ===================================== */

.site-nav {
  position: fixed;
  top: 1.1rem;
  left: 50%;
  z-index: var(--nav-z);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  width: min(calc(100% - 1.6rem), 1080px);
  min-height: 4.1rem;
  padding: 0.5rem 0.5rem 0.5rem 0.85rem;
  background: rgba(251, 244, 231, 0.78);
  border: 1px solid rgba(26, 25, 22, 0.07);
  border-radius: 999px;
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.7) inset,
    0 18px 38px rgba(60, 40, 20, 0.1),
    0 4px 8px rgba(60, 40, 20, 0.05);
  backdrop-filter: saturate(140%) blur(20px);
  transform: translateX(-50%);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.85rem;
  box-shadow: 0 8px 20px rgba(60, 40, 20, 0.12);
}

.desktop-links {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
}

.desktop-links a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--ink-mute);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: color 360ms var(--ease-heavy);
}

.desktop-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0.3rem;
  height: 0.3rem;
  background: var(--terracotta);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, 0.6rem);
  transition: opacity 320ms var(--ease-heavy), transform 320ms var(--ease-heavy);
}

.desktop-links a:hover {
  color: var(--ink);
}

.desktop-links a:focus-visible {
  color: var(--ink);
  outline: 2px solid var(--terracotta);
  outline-offset: 0.4rem;
  border-radius: 0.2rem;
}

.desktop-links a:hover::after,
.desktop-links a:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.nav-button,
.primary-action,
button.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  color: var(--paper-soft);
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(26, 25, 22, 0.18);
  transition:
    transform 460ms var(--ease-heavy),
    box-shadow 460ms var(--ease-heavy),
    background 460ms var(--ease-heavy);
}

.nav-button i,
.primary-action i,
button.primary-action i {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  color: var(--ink);
  background: var(--paper-soft);
  border-radius: 999px;
  font-size: 0.85rem;
  font-style: normal;
  transition: transform 460ms var(--ease-heavy);
}

.primary-action,
button.primary-action {
  background: var(--terracotta);
  box-shadow:
    0 14px 30px rgba(199, 90, 68, 0.32),
    0 1px 1px rgba(255, 255, 255, 0.18) inset;
}

.primary-action i,
button.primary-action i {
  color: var(--terracotta);
}

.magnetic:hover {
  transform: translateY(-0.12rem);
}

.magnetic:hover i {
  transform: translate(0.12rem, -0.1rem);
}

.magnetic:active {
  transform: scale(0.985);
}

.menu-button {
  display: none;
  position: relative;
  width: 2.95rem;
  height: 2.95rem;
  background: var(--ink);
  border-radius: 999px;
}

.menu-button span {
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  height: 1.5px;
  background: var(--paper-soft);
  border-radius: 999px;
  transition: transform 420ms var(--ease-heavy);
}

.menu-button span:first-child {
  transform: translateY(-0.22rem);
}

.menu-button span:last-child {
  transform: translateY(0.22rem);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--overlay-z);
  display: grid;
  place-items: center;
  padding: 6rem 1.4rem;
  background: rgba(19, 19, 16, 0.92);
  backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms var(--ease-heavy);
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay nav {
  display: grid;
  gap: 0.75rem;
  width: min(100%, 32rem);
}

.menu-overlay a {
  display: block;
  padding: 0.85rem 0;
  color: var(--paper-soft);
  border-bottom: 1px solid rgba(251, 244, 231, 0.16);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 7vw, 3rem);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -0.018em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(0.8rem);
  transition: opacity 520ms var(--ease-heavy), transform 520ms var(--ease-heavy);
}

.menu-overlay.is-open a {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay.is-open a:nth-child(2) { transition-delay: 60ms; }
.menu-overlay.is-open a:nth-child(3) { transition-delay: 120ms; }
.menu-overlay.is-open a:nth-child(4) { transition-delay: 180ms; }
.menu-overlay.is-open a:nth-child(5) { transition-delay: 240ms; }

/* =====================================  shared atoms  ===================================== */

.eyebrow,
.quiet-line {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  color: var(--sage-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow i,
.quiet-line i {
  display: inline-block;
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow-light {
  color: var(--gold-soft);
}

.eyebrow-light i {
  background: var(--gold-soft);
  opacity: 0.5;
}

.section-head {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 4rem;
}

.section-lede {
  max-width: 36rem;
  font-size: 1.04rem;
  color: var(--ink-soft);
}

.section-head-split {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 2.2rem 3rem;
}

.section-lede-right {
  align-self: end;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 100% 1px;
  background-repeat: no-repeat;
  transition: color 360ms var(--ease-heavy), background-size 360ms var(--ease-heavy);
}

.text-action i {
  font-style: normal;
  transition: transform 360ms var(--ease-heavy);
}

.text-action:hover {
  color: var(--terracotta);
}

.text-action:hover i {
  transform: translateX(0.2rem);
}

/* =====================================  HERO  ===================================== */

.hero {
  position: relative;
  width: min(calc(100% - 1.6rem), var(--max));
  margin: 0 auto;
  padding: clamp(7rem, 12vh, 9rem) 0 clamp(3rem, 6vh, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(28rem, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  min-height: clamp(38rem, 70vh, 50rem);
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 36rem;
}

#hero-title {
  margin-top: 0.4rem;
}

#hero-title .line {
  display: block;
  padding: 0.02em 0;
}

#hero-title em {
  font-style: italic;
}

.hero-lede {
  max-width: 31rem;
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.3rem;
  margin-top: 2.2rem;
}

.hero-actions .primary-action {
  min-height: 3.5rem;
  padding-left: 1.4rem;
  font-size: 0.95rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-trust .dot {
  width: 0.42rem;
  height: 0.42rem;
  background: var(--terracotta);
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(199, 90, 68, 0.14);
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 44rem;
  isolation: isolate;
}

.hero-stage-caption {
  position: absolute;
  right: 0;
  bottom: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.4rem 0.7rem;
  color: var(--ink-mute);
  background: rgba(251, 244, 231, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  backdrop-filter: blur(8px);
}

.hero-stage-caption .caption-mark {
  display: inline-grid;
  width: 1.05rem;
  height: 1.05rem;
  place-items: center;
  color: var(--terracotta);
  background: rgba(199, 90, 68, 0.12);
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1;
}

.story-disclaimer {
  max-width: 30rem;
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(251, 244, 231, 0.18);
  color: rgba(251, 244, 231, 0.55);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.005em;
}

.footer-disclaimer {
  display: block;
  max-width: 30rem;
  margin-top: 0.4rem;
  color: var(--ink-faint);
  font-style: italic;
}

/* concentric paper rings */
.stage-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.stage-rings .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(26, 25, 22, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.stage-rings .ring-1 {
  width: 26rem;
  height: 26rem;
  border-color: rgba(26, 25, 22, 0.08);
}

.stage-rings .ring-2 {
  width: 38rem;
  height: 38rem;
  border-style: solid;
  border-color: rgba(199, 90, 68, 0.12);
}

.stage-rings .ring-3 {
  width: 50rem;
  height: 50rem;
  border-color: rgba(26, 25, 22, 0.05);
}

@keyframes drift {
  0%   { transform: translate(var(--ox, 0), var(--oy, 0)) rotate(var(--rot, 0deg)); }
  50%  { transform: translate(calc(var(--ox, 0) + 0.5rem), calc(var(--oy, 0) - 0.65rem)) rotate(calc(var(--rot, 0deg) + 0.6deg)); }
  100% { transform: translate(var(--ox, 0), var(--oy, 0)) rotate(var(--rot, 0deg)); }
}

.orbit-card {
  position: absolute;
  z-index: 5;
  width: 14rem;
  padding: 0.95rem 1rem 1.05rem;
  background: var(--paper-soft);
  border: 1px solid rgba(26, 25, 22, 0.1);
  border-radius: 0.85rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 38px rgba(60, 40, 20, 0.18),
    0 3px 6px rgba(60, 40, 20, 0.08);
  animation: drift 13s ease-in-out infinite;
  animation-delay: var(--drift-delay, 0s);
  transform: translate(var(--ox, 0), var(--oy, 0)) rotate(var(--rot, 0deg));
}

.orbit-card .card-tag,
.memory .card-tag,
.nudge-card .card-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.18rem 0.5rem;
  color: var(--sage-deep);
  background: var(--sage-soft);
  border-radius: 0.3rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orbit-card .tag-rose,
.memory .card-rose .card-tag,
.nudge-card .tag-rose,
.tag-rose {
  color: #8a3a2a;
  background: var(--rose);
}

.orbit-card .tag-sage,
.tag-sage {
  color: var(--sage-deep);
  background: var(--sage-soft);
}

.orbit-card .tag-lavender,
.tag-lavender {
  color: #4a3e64;
  background: var(--lavender);
}

.orbit-card strong,
.memory strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.04rem;
  font-weight: 540;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.012em;
}

.orbit-card .card-meta,
.memory .card-meta {
  display: block;
  margin-top: 0.5rem;
  color: var(--ink-mute);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.orbit-card-1 {
  top: 6%;
  right: -2%;
  --ox: 0; --oy: 0; --rot: 4deg;
  background: var(--paper-soft);
}

.orbit-card-2 {
  top: 28%;
  left: -8%;
  --ox: 0; --oy: 0; --rot: -6deg;
  background: #eef3e5;
}

.orbit-card-3 {
  bottom: 8%;
  right: -4%;
  --ox: 0; --oy: 0; --rot: -3deg;
  background: var(--rose);
}

.orbit-card-4 {
  bottom: 0%;
  left: -2%;
  --ox: 0; --oy: 0; --rot: 5deg;
  background: var(--lavender);
}

/* phone device */
.device {
  position: relative;
  z-index: 4;
  width: 22rem;
  isolation: isolate;
  filter: drop-shadow(0 36px 80px rgba(26, 25, 22, 0.32));
}

.device-bezel {
  padding: 0.55rem;
  background:
    linear-gradient(160deg, #2c2b25 0%, #15140f 60%, #0a0908 100%);
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: 3rem;
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.18) inset,
    0 0 0 1px rgba(0, 0, 0, 0.6);
}

.device-bezel::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 50%;
  z-index: 6;
  width: 6.2rem;
  height: 1.4rem;
  background: #0b0a08;
  border-radius: 999px;
  transform: translateX(-50%);
}

.capture-device .device-bezel {
  padding: 0.42rem;
}

.capture-device .device-bezel::before {
  display: none;
}

.hero-device {
  transform: translate3d(calc(var(--tilt-x, 0) * 0.4rem), calc(var(--tilt-y, 0) * 0.4rem), 0) rotate(-1.2deg);
  transition: transform 540ms var(--ease-heavy);
}

/* ──────────────  Device screen — mirrors the real app's lightPalette  ────────────── */

.device-screen {
  position: relative;
  min-height: 40.5rem;
  overflow: hidden;
  padding: 2.6rem 1rem 4.6rem;
  background: var(--d-bg);
  border-radius: 2.4rem;
  font-family: var(--device-sans);
  color: var(--d-ink);
}

.device-screen.capture-screen {
  aspect-ratio: 368 / 800;
  min-height: 0;
  padding: 0;
  background: var(--d-bg);
}

.capture-device .device-screen.capture-screen {
  min-height: 0;
  padding: 0;
}

.screen-capture {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.story-screen.capture-screen .status-bar {
  display: none;
}

.story-screen.capture-screen .story-screen-content {
  height: 100%;
  min-height: 0;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--d-ink);
  font-family: var(--device-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
}

.status-glyph {
  font-family: var(--device-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
}

/* Date eyebrow + greeting on Home */
.dev-eyebrow {
  display: block;
  margin: 1.25rem 0 0.18rem;
  color: var(--d-ink-light);
  font-family: var(--device-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dev-greeting {
  display: block;
  color: var(--d-ink);
  font-family: var(--device-serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
}

.dev-greeting-sub {
  display: block;
  margin-top: 0.18rem;
  color: var(--d-ink-mid);
  font-family: var(--device-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.dev-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.1rem 0 0.45rem;
  padding: 0 0.1rem;
  color: var(--d-ink-mid);
  font-family: var(--device-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dev-section-label .label-meta {
  color: var(--d-ink-light);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* Featured "Reach out" hero (NudgeRow) */
.dev-feature {
  position: relative;
  margin-top: 0.4rem;
  padding: 0.32rem;
  background: var(--d-paper);
  border: 1px solid rgba(30, 30, 30, 0.06);
  border-radius: 1.1rem;
  box-shadow: 0 14px 28px rgba(60, 50, 40, 0.09), 0 2px 4px rgba(60, 50, 40, 0.05);
}

.dev-feature-photo {
  position: relative;
  aspect-ratio: 1.18;
  overflow: hidden;
  border-radius: 0.85rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45), transparent 50%),
    linear-gradient(160deg, #d9b8a6 0%, #c79880 60%, #a87a64 100%);
}

.dev-feature-photo.vibe-sage {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.5), transparent 52%),
    linear-gradient(160deg, #d4dfc7 0%, #aac0a0 50%, #7a9472 100%);
}

.dev-feature-photo.vibe-lavender {
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.5), transparent 50%),
    linear-gradient(160deg, #d6cee0 0%, #aea0c0 60%, #7d6f96 100%);
}

.dev-feature-photo .quiet-pill {
  position: absolute;
  top: 0.5rem;
  left: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.18rem 0.58rem 0.2rem;
  color: var(--d-ink);
  background: rgba(253, 252, 248, 0.92);
  border-radius: 999px;
  font-family: var(--device-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.dev-feature-photo .quiet-pill::before {
  content: "";
  width: 0.32rem;
  height: 0.32rem;
  background: var(--d-terracotta);
  border-radius: 999px;
}

.dev-feature-photo .photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.55) 100%);
}

.dev-feature-photo .name-overlay {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.7rem;
  color: #fdfcf8;
  font-family: var(--device-serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.dev-feature-photo .reach-out {
  position: absolute;
  right: 0.7rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.36rem 0.7rem;
  color: var(--d-ink);
  background: rgba(253, 252, 248, 0.95);
  border-radius: 999px;
  font-family: var(--device-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.dev-feature-photo .reach-out::after {
  content: "→";
  font-size: 0.78rem;
  line-height: 1;
}

/* Person companion strip below the feature */
.dev-companions {
  display: flex;
  gap: 0.42rem;
  margin-top: 0.5rem;
  padding: 0 0.1rem;
}

.dev-companions .chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.32rem;
  flex: 1 1 0;
  min-width: 0;
}

.dev-companions .chip .avatar-circle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--chip-bg, var(--d-sage));
  display: grid;
  place-items: center;
  color: #fdfcf8;
  font-family: var(--device-serif);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.dev-companions .chip .name {
  font-family: var(--device-sans);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--d-ink-mid);
  letter-spacing: 0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Coming up row */
.dev-coming {
  display: grid;
  grid-template-columns: 1.85rem minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.4rem;
  padding: 0.62rem 0.7rem;
  background: var(--d-paper);
  border: 1px solid var(--d-border);
  border-radius: 0.78rem;
}

.dev-coming.sensitive {
  border-color: rgba(191, 148, 151, 0.55);
}

.dev-coming .av {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--av-bg, var(--d-sage));
  display: grid;
  place-items: center;
  color: #fdfcf8;
  font-family: var(--device-serif);
  font-size: 0.74rem;
  font-weight: 500;
}

.dev-coming .text {
  display: grid;
  gap: 0.06rem;
  min-width: 0;
}

.dev-coming .text .who {
  font-family: var(--device-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--d-ink);
  letter-spacing: 0;
}

.dev-coming .text .what {
  font-family: var(--device-sans);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--d-ink-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dev-coming .when {
  font-family: var(--device-sans);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--d-ink-light);
  letter-spacing: 0.02em;
}

/* Glint card (real app structure) */
.dev-glint {
  position: relative;
  display: flex;
  margin-top: 0.5rem;
  background: var(--d-paper);
  border: 1px solid var(--d-border);
  border-radius: 1.1rem;
  overflow: hidden;
}

.dev-glint .strip {
  width: 0.22rem;
  background: var(--strip, var(--d-observation));
  flex-shrink: 0;
}

.dev-glint .body {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.7rem 0.85rem 0.78rem;
}

.dev-glint .top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.32rem;
}

.dev-glint .who {
  display: flex;
  align-items: baseline;
  gap: 0.42rem;
  min-width: 0;
}

.dev-glint .who .name {
  font-family: var(--device-serif);
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--d-ink);
  letter-spacing: -0.005em;
}

.dev-glint .who .drink {
  font-family: var(--device-sans);
  font-size: 0.62rem;
  font-weight: 300;
  color: var(--d-ink-light);
  letter-spacing: 0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dev-glint .badge {
  flex-shrink: 0;
  padding: 0.12rem 0.5rem;
  color: var(--badge-text, var(--d-observation));
  background: var(--badge-bg, rgba(74, 127, 165, 0.08));
  border: 1px solid var(--badge-border, rgba(74, 127, 165, 0.25));
  border-radius: 0.32rem;
  font-family: var(--device-sans);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dev-glint .content {
  font-family: var(--device-sans);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.42;
  color: var(--d-ink-mid);
}

.dev-glint .meta {
  margin-top: 0.32rem;
  font-family: var(--device-sans);
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--d-ink-light);
  letter-spacing: 0.005em;
}

/* glint variants */
.dev-glint[data-intent="observation"] { --strip: var(--d-observation); --badge-text: #3a6a8a; --badge-bg: rgba(74,127,165,.08); --badge-border: rgba(74,127,165,.25); }
.dev-glint[data-intent="interest"]    { --strip: var(--d-interest);    --badge-text: #8b5a00; --badge-bg: rgba(200,133,10,.08); --badge-border: rgba(200,133,10,.25); }
.dev-glint[data-intent="gift"]        { --strip: var(--d-gift);        --badge-text: #a05a2a; --badge-bg: rgba(192,107,54,.08); --badge-border: rgba(192,107,54,.25); }
.dev-glint[data-intent="moment"]      { --strip: var(--d-moment);      --badge-text: #6b4c95; --badge-bg: rgba(139,108,181,.08); --badge-border: rgba(139,108,181,.25); }
.dev-glint[data-intent="support"]     { --strip: var(--d-support);     --badge-text: #a03555; --badge-bg: rgba(192,85,107,.08); --badge-border: rgba(192,85,107,.25); }

/* Resurfacing card — italic memory quote */
.dev-resurface {
  margin-top: 0.5rem;
  padding: 0.85rem 0.95rem 1rem;
  background: var(--d-paper);
  border: 1px solid var(--d-border);
  border-radius: 1.05rem;
  position: relative;
}

.dev-resurface .top-line {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--d-ink-light);
  font-family: var(--device-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dev-resurface .quote {
  font-family: var(--device-serif);
  font-size: 0.94rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--d-ink);
  letter-spacing: -0.005em;
}

.dev-resurface .quote::before { content: "\201C"; }
.dev-resurface .quote::after  { content: "\201D"; }

.dev-resurface .who-meta {
  display: block;
  margin-top: 0.55rem;
  color: var(--d-ink-light);
  font-family: var(--device-sans);
  font-size: 0.62rem;
  font-weight: 500;
}

/* People bento grid (1×1 slots) */
.dev-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.dev-bento .slot {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--slot-bg, var(--d-sage));
  border-radius: 0.95rem;
  box-shadow: 0 6px 14px rgba(60, 50, 40, 0.06);
}

.dev-bento .slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
}

.dev-bento .slot.sage { background:
  radial-gradient(circle at 32% 28%, rgba(255,255,255,.5), transparent 52%),
  linear-gradient(160deg, #d4dfc7 0%, #aac0a0 50%, #7a9472 100%); }
.dev-bento .slot.terra { background:
  radial-gradient(circle at 30% 28%, rgba(255,255,255,.45), transparent 50%),
  linear-gradient(160deg, #ebccbc 0%, #d39d85 50%, #ad7058 100%); }
.dev-bento .slot.lav { background:
  radial-gradient(circle at 30% 28%, rgba(255,255,255,.5), transparent 50%),
  linear-gradient(160deg, #d6cee0 0%, #aea0c0 60%, #7d6f96 100%); }
.dev-bento .slot.slate { background:
  radial-gradient(circle at 32% 28%, rgba(255,255,255,.45), transparent 50%),
  linear-gradient(160deg, #c3ccd5 0%, #94a4b3 50%, #6a7b8c 100%); }

.dev-bento .slot .name {
  position: absolute;
  z-index: 2;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.46rem;
  color: #fdfcf8;
  font-family: var(--device-serif);
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.1;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}

.dev-bento .slot .drink {
  position: absolute;
  z-index: 2;
  left: 0.6rem;
  bottom: 0.32rem;
  margin-bottom: -0.05rem;
  color: rgba(253, 252, 248, 0.78);
  font-family: var(--device-sans);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.dev-bento .slot .name-with-drink {
  bottom: 1rem;
}

/* Filter chips (Glints screen) */
.dev-chips {
  display: flex;
  gap: 0.32rem;
  margin-top: 0.4rem;
  padding: 0 0.05rem;
  overflow: hidden;
}

.dev-chips .chip {
  flex-shrink: 0;
  padding: 0.32rem 0.65rem;
  background: var(--d-paper);
  border: 1px solid var(--d-border);
  border-radius: 999px;
  color: var(--d-ink-mid);
  font-family: var(--device-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.dev-chips .chip.active {
  color: #fdfcf8;
  background: var(--d-ink);
  border-color: var(--d-ink);
}

/* Person screen — avatar header */
.dev-person-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.5rem;
  padding: 0.4rem 0.1rem 0.3rem;
}

.dev-person-head .av-lg {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--av-bg, var(--d-sage));
  display: grid;
  place-items: center;
  color: #fdfcf8;
  font-family: var(--device-serif);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  flex-shrink: 0;
}

.dev-person-head .meta {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.dev-person-head .meta .name {
  color: var(--d-ink);
  font-family: var(--device-serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.05;
}

.dev-person-head .meta .quiet {
  color: var(--d-ink-light);
  font-family: var(--device-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Coming-up large nudge card (Nudges screen) */
.dev-nudge-large {
  position: relative;
  margin-top: 0.5rem;
  padding: 0.95rem 0.95rem 1rem;
  background: var(--d-paper);
  border: 1px solid var(--d-border);
  border-radius: 1.1rem;
}

.dev-nudge-large .top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.dev-nudge-large .top .av {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--av-bg, var(--d-sage));
  display: grid;
  place-items: center;
  color: #fdfcf8;
  font-family: var(--device-serif);
  font-size: 0.86rem;
  font-weight: 500;
}

.dev-nudge-large .top .who {
  display: grid;
  gap: 0.04rem;
}

.dev-nudge-large .top .name {
  color: var(--d-ink);
  font-family: var(--device-serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.dev-nudge-large .top .quiet {
  color: var(--d-ink-light);
  font-family: var(--device-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dev-nudge-large .ctx {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--d-border);
  color: var(--d-ink-mid);
  font-family: var(--device-sans);
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.45;
}

/* Tab bar */
.tab-bar {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.7rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0.6rem 0.4rem 0.55rem;
  background: rgba(253, 252, 248, 0.92);
  border: 1px solid var(--d-border);
  border-radius: 1.4rem;
  box-shadow: 0 8px 22px rgba(60, 50, 40, 0.07);
  backdrop-filter: blur(12px);
}

.tab-bar span {
  color: var(--d-ink-light);
  font-family: var(--device-sans);
  font-size: 0.6rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.005em;
}

.tab-bar .active {
  color: var(--d-ink);
  font-weight: 600;
}

/* Avatar default colors used by old hero markup */
.avatar {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: #fdfcf8;
  border-radius: 1.1rem;
  font-family: var(--device-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 2px solid #fdfcf8;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.people-row {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.05rem;
}

.people-row .avatar {
  width: 2.95rem;
  height: 2.95rem;
}

.avatar-rose { background: var(--d-terracotta); }
.avatar-sage { background: var(--d-sage); }
.avatar-lavender { background: #8b7fad; }
.avatar-blue { background: #6d92ac; }

/* Legacy classes from hero phone — keep for backward-compat */
.screen-head { margin-top: 1.4rem; }
.screen-head .kicker {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--d-ink-light);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.screen-head strong {
  display: block;
  max-width: 14rem;
  color: var(--d-ink);
  font-family: var(--device-serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.005em;
}

.nudge-card {
  margin-top: 1.05rem;
  padding: 0.85rem 0.95rem;
  background: var(--d-paper);
  border: 1px solid var(--d-border);
  border-radius: 1.05rem;
}

.nudge-card .card-tag {
  margin-bottom: 0.45rem;
}

.nudge-card strong {
  display: block;
  color: var(--d-ink);
  font-family: var(--device-serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.nudge-card p {
  margin-top: 0.32rem;
  color: var(--d-ink-mid);
  font-family: var(--device-sans);
  font-size: 0.74rem;
  line-height: 1.4;
}

.screen-list { display: grid; gap: 0.5rem; margin-top: 0.85rem; }
.screen-list li,
.profile-list li {
  padding: 0.7rem 0.8rem;
  background: var(--d-paper);
  border: 1px solid var(--d-border);
  border-radius: 0.85rem;
}

.screen-list span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--d-ink-light);
  font-family: var(--device-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.screen-list strong {
  display: block;
  color: var(--d-ink);
  font-family: var(--device-serif);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* =====================================  MANIFESTO + EXAMPLES  ===================================== */

.manifesto {
  position: relative;
  width: min(calc(100% - 1.6rem), var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 10vh, 8rem) 0 clamp(5rem, 10vh, 8rem);
}

.manifesto::before {
  content: "";
  position: absolute;
  top: clamp(5rem, 10vh, 8rem);
  left: 0;
  width: 4.5rem;
  height: 1px;
  background: var(--ink);
  opacity: 0.4;
}

.manifesto-headline {
  max-width: 60rem;
  margin-top: 0.4rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 540;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.m-line {
  display: block;
  padding: 0.02em 0;
}

.manifesto-headline em {
  position: relative;
  font-style: italic;
  color: var(--terracotta);
}

.manifesto-headline em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 0.06em;
  background: currentColor;
  opacity: 0.45;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 920ms var(--ease-heavy) 320ms;
}

.manifesto-headline em > * {
  display: inline-block;
}

.manifesto.is-visible .manifesto-headline em::after {
  transform: scaleX(1);
}

.manifesto-lede {
  max-width: 42rem;
  margin-top: 1.8rem;
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.manifesto .examples-board {
  margin-top: clamp(3rem, 6vh, 5rem);
}

.examples-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.9rem, 1.4vw, 1.4rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 3rem) 0;
}

.paper-card {
  position: relative;
  display: block;
  padding: 1.2rem 1.25rem 1.3rem;
  background: var(--paper-soft);
  border: 1px solid rgba(26, 25, 22, 0.08);
  border-radius: 0.5rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 16px 30px rgba(60, 40, 20, 0.08),
    0 3px 6px rgba(60, 40, 20, 0.06);
  transition: transform 540ms var(--ease-heavy), box-shadow 540ms var(--ease-heavy);
}

.paper-card .card-tag {
  margin-bottom: 0.7rem;
}

.paper-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 540;
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.paper-card .card-meta {
  display: block;
  margin-top: 0.7rem;
  color: var(--ink-mute);
  font-size: 0.78rem;
  font-weight: 500;
}

.paper-card.card-sage {
  background: #e9efe1;
}

.paper-card.card-rose {
  background: var(--rose);
}

.paper-card.card-rose .card-tag {
  color: #8a3a2a;
  background: rgba(255, 255, 255, 0.45);
}

.paper-card.card-lavender {
  background: var(--lavender);
}

.paper-card.card-lavender .card-tag {
  color: #4a3e64;
  background: rgba(255, 255, 255, 0.45);
}

.paper-card.card-sage .card-tag {
  background: rgba(255, 255, 255, 0.55);
}

/* board layout — asymmetric placement */
.examples-board .card-tilt-a {
  grid-column: 1 / span 4;
  transform: rotate(-1.4deg);
  z-index: 3;
}

.examples-board .card-tilt-b {
  grid-column: 5 / span 4;
  margin-top: 1.4rem;
  transform: rotate(1deg);
  z-index: 4;
}

.examples-board .card-tilt-c {
  grid-column: 9 / span 4;
  transform: rotate(-1.6deg);
  z-index: 3;
}

.examples-board .card-tilt-d {
  grid-column: 2 / span 4;
  margin-top: -1.4rem;
  transform: rotate(1.6deg);
  z-index: 5;
}

.examples-board .card-tilt-e {
  grid-column: 6 / span 4;
  margin-top: 0.5rem;
  transform: rotate(-1deg);
  z-index: 4;
}

.examples-board .card-tilt-f {
  grid-column: 9 / span 4;
  margin-top: -2rem;
  transform: rotate(2deg);
  z-index: 3;
}

.examples-board .card-tilt-g {
  grid-column: 4 / span 5;
  display: grid;
  place-items: center;
  min-height: 9rem;
  margin: 1.4rem auto 0;
  background: transparent;
  border: 1.5px dashed var(--line-strong);
  box-shadow: none;
  transform: rotate(-0.6deg);
  text-align: center;
}

.paper-card-blank em {
  font-family: var(--hand);
  font-style: normal;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0.005em;
}

.paper-card.is-visible {
  /* nothing, already in place; reveal handled below */
}

.examples-board .paper-card {
  opacity: 0;
  transition: opacity 760ms var(--ease-heavy), transform 760ms var(--ease-heavy);
}

.examples-board.is-visible .paper-card {
  opacity: 1;
}

.examples-board.is-visible .card-tilt-a { transition-delay: 30ms; }
.examples-board.is-visible .card-tilt-b { transition-delay: 130ms; }
.examples-board.is-visible .card-tilt-c { transition-delay: 230ms; }
.examples-board.is-visible .card-tilt-d { transition-delay: 330ms; }
.examples-board.is-visible .card-tilt-e { transition-delay: 430ms; }
.examples-board.is-visible .card-tilt-f { transition-delay: 530ms; }
.examples-board.is-visible .card-tilt-g { transition-delay: 660ms; }

/* =====================================  STORY (pinned product)  ===================================== */

.story {
  position: relative;
  overflow: clip;
  color: var(--paper-soft);
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(199, 154, 63, 0.14), transparent 60%),
    linear-gradient(180deg, #232220 0%, #161613 56%, var(--char-deep) 100%);
}

.story::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 80%, rgba(199, 90, 68, 0.06), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 6%, transparent 94%, rgba(255, 255, 255, 0.04) 100%);
}

.story::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.story-prologue {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 1.6rem), var(--max));
  max-width: 50rem;
  margin: 0 auto;
  padding: clamp(6rem, 10vh, 9rem) 0 0;
}

.story-prologue h2 {
  color: var(--paper-soft);
}

.story-lede {
  max-width: 36rem;
  margin-top: 1.4rem;
  color: rgba(251, 244, 231, 0.75);
  font-size: 1.06rem;
}

.story-track {
  position: relative;
  z-index: 1;
  height: 480dvh;
}

.story-pin {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(20rem, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  width: min(calc(100% - 1.6rem), var(--max));
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(4rem, 6vh, 5rem) 0 clamp(3rem, 4vh, 4rem);
}

.story-side {
  position: relative;
  z-index: 8;
  display: grid;
  gap: 1.4rem;
  align-content: center;
  min-height: 30rem;
}

.story-count {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-heading {
  max-width: 24rem;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  font-weight: 540;
  line-height: 1.04;
  letter-spacing: -0.022em;
}

.story-body {
  max-width: 24rem;
  color: rgba(251, 244, 231, 0.78);
  font-size: 1.02rem;
  line-height: 1.55;
}

.story-progress {
  position: relative;
  width: min(100%, 22rem);
  height: 1px;
  overflow: hidden;
  background: rgba(251, 244, 231, 0.18);
}

.story-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(var(--orbit-progress, 0));
  transform-origin: left;
  transition: transform 320ms var(--ease-heavy);
}

.story-steps {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.6rem;
  max-width: 22rem;
}

.story-steps button {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.7rem;
  color: rgba(251, 244, 231, 0.68);
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(251, 244, 231, 0.12);
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-align: left;
  transition: color 380ms var(--ease-heavy), background 380ms var(--ease-heavy), padding 380ms var(--ease-heavy);
}

.story-steps button:last-child {
  border-bottom: 1px solid rgba(251, 244, 231, 0.12);
}

.story-steps button:hover {
  color: var(--paper-soft);
  background: rgba(251, 244, 231, 0.04);
  padding-left: 1rem;
}

.story-steps button:focus-visible {
  color: var(--paper-soft);
  background: rgba(251, 244, 231, 0.08);
  padding-left: 1rem;
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.story-steps .step-num {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(251, 244, 231, 0.4);
  transition: color 380ms var(--ease-heavy);
}

.story-steps .step-label {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 540;
  letter-spacing: -0.012em;
}

.story-steps button.is-active {
  color: var(--paper-soft);
  background: linear-gradient(90deg, rgba(199, 154, 63, 0.18), transparent 80%);
  padding-left: 1rem;
}

.story-steps button.is-active .step-num {
  color: var(--gold);
}

/* stage */
.story-stage {
  position: relative;
  display: grid;
  min-height: 44rem;
  place-items: center;
  isolation: isolate;
  perspective: 1400px;
}

.story-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.story-rings .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(64deg) rotateZ(var(--ring-turn, -22deg));
  transition: transform 1100ms var(--ease-heavy), border-color 1100ms var(--ease-heavy);
}

.story-rings .ring-a {
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(251, 244, 231, 0.22);
}

.story-rings .ring-b {
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(199, 90, 68, 0.32);
}

.story-rings .ring-c {
  width: 44rem;
  height: 44rem;
  border: 1px dashed rgba(251, 244, 231, 0.14);
}

/* memory cards */
.story-memory {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 13rem;
  min-height: 6.5rem;
  padding: 0.95rem 1rem;
  color: var(--ink);
  background: var(--note-bg, var(--paper-soft));
  border: 1px solid rgba(26, 25, 22, 0.12);
  border-radius: 0.65rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 22px 50px rgba(0, 0, 0, 0.32);
  opacity: var(--note-opacity, 1);
  transform:
    translate(-50%, -50%)
    translate3d(var(--note-x, 0), var(--note-y, 0), 0)
    rotate(var(--note-rotate, 0deg))
    scale(var(--note-scale, 1));
  transition:
    transform 760ms var(--ease-heavy),
    opacity 760ms var(--ease-heavy),
    background 760ms var(--ease-heavy);
  will-change: transform, opacity;
}

.story-memory span {
  display: inline-block;
  margin-bottom: 0.42rem;
  padding: 0.16rem 0.5rem;
  color: var(--sage-deep);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-memory strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.04rem;
  font-weight: 540;
  line-height: 1.18;
  letter-spacing: -0.012em;
}

/* default placement */
.story-memory[data-orbit-note="0"] { --note-x: -18rem; --note-y: -13rem; --note-rotate: -8deg; }
.story-memory[data-orbit-note="1"] { --note-x: 17rem; --note-y: -12rem; --note-rotate: 6deg; }
.story-memory[data-orbit-note="2"] { --note-x: -19rem; --note-y: 12rem; --note-rotate: 5deg; }
.story-memory[data-orbit-note="3"] { --note-x: 18rem; --note-y: 12rem; --note-rotate: -5deg; }

.story-device {
  width: 21rem;
  filter: drop-shadow(0 36px 80px rgba(0, 0, 0, 0.44));
  transform: rotate(var(--phone-rotate, -1.4deg)) translate3d(0, var(--phone-lift, 0), 4rem);
  transition: transform 1100ms var(--ease-heavy);
}

.story-screen .screen-head .kicker {
  color: var(--sage-deep);
}

.story-screen-content {
  min-height: 30rem;
}

.story-screen-content.is-swapping {
  animation: screen-swap 460ms var(--ease-heavy);
}

@keyframes screen-swap {
  0% { opacity: 1; transform: translateY(0); }
  44% { opacity: 0; transform: translateY(0.7rem); }
  100% { opacity: 1; transform: translateY(0); }
}

.profile-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.05rem;
}

.profile-list li {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.55rem;
}

.profile-list b {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  font-size: 0.82rem;
}

.profile-list span {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 540;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.profile-list em {
  color: var(--ink-mute);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.note-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.note-list li {
  padding: 0.78rem 0.85rem;
  background: rgba(251, 244, 231, 0.78);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 540;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.note-list.compact li {
  padding: 0.65rem 0.8rem;
  font-size: 0.86rem;
}

.moment-photo {
  width: 100%;
  aspect-ratio: 1.32;
  margin-top: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 50%),
    linear-gradient(150deg, var(--terracotta) 0%, var(--gold) 50%, var(--blue) 100%);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.nudge-stack {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.nudge-stack li {
  display: grid;
  gap: 0.18rem;
  padding: 0.78rem 0.85rem;
  background: rgba(251, 244, 231, 0.78);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
}

.nudge-stack span {
  color: var(--ink-mute);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nudge-stack strong {
  font-family: var(--serif);
  font-size: 0.96rem;
  font-weight: 540;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.privacy-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.privacy-list li {
  padding: 0.78rem 0.85rem;
  background: rgba(251, 244, 231, 0.85);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 540;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.privacy-list li:first-child {
  background: var(--sage-soft);
}

/* =====================================  PRIVACY MANIFESTO  ===================================== */

.privacy {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--paper-soft);
  background:
    linear-gradient(180deg, var(--char-deep) 0%, #100f0d 100%);
  padding: clamp(7rem, 12vh, 10rem) 0 clamp(7rem, 12vh, 10rem);
}

.privacy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 30% 30%, rgba(199, 154, 63, 0.06), transparent 60%),
    radial-gradient(ellipse 50% 30% at 80% 70%, rgba(199, 90, 68, 0.07), transparent 60%);
  z-index: -1;
}

.privacy::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.privacy-inner {
  position: relative;
  width: min(calc(100% - 1.6rem), var(--max));
  margin: 0 auto;
}

.privacy-headline {
  max-width: 50rem;
  margin-top: 0.6rem;
  color: var(--paper-soft);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -0.025em;
}

.privacy-headline span {
  display: block;
}

.privacy-headline em {
  color: var(--terracotta-soft);
  font-style: italic;
}

.privacy-lede {
  max-width: 38rem;
  margin-top: 1.7rem;
  color: rgba(251, 244, 231, 0.74);
  font-size: 1.1rem;
  line-height: 1.55;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(3.5rem, 6vh, 5rem);
  border-top: 1px solid rgba(251, 244, 231, 0.18);
  border-bottom: 1px solid rgba(251, 244, 231, 0.18);
}

.promise {
  position: relative;
  padding: 2rem 1.6rem 2.2rem;
  border-right: 1px solid rgba(251, 244, 231, 0.14);
}

.promise:last-child {
  border-right: 0;
}

.promise-num {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.promise h3 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 540;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper-soft);
}

.promise p {
  margin-top: 0.7rem;
  color: rgba(251, 244, 231, 0.7);
  font-size: 0.94rem;
  line-height: 1.55;
}

.privacy-caveat {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: 1.2rem 3rem;
  align-items: start;
  margin-top: clamp(3rem, 5vh, 4rem);
  padding-top: 2.2rem;
}

.privacy-caveat strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 540;
  letter-spacing: -0.015em;
  color: var(--paper-soft);
}

.privacy-caveat p {
  max-width: 38rem;
  color: rgba(251, 244, 231, 0.72);
  font-size: 1rem;
  line-height: 1.6;
}

.privacy-caveat a {
  color: var(--terracotta-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(243, 214, 200, 0.4);
  transition: text-decoration-color 320ms var(--ease-heavy);
}

.privacy-caveat a:hover {
  text-decoration-color: var(--terracotta-soft);
}

/* =====================================  BETA  ===================================== */

.beta {
  position: relative;
  width: min(calc(100% - 1.6rem), var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 10vh, 8rem) 0;
}

.beta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 0;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 30px 70px rgba(60, 40, 20, 0.14),
    0 6px 14px rgba(60, 40, 20, 0.06);
}

.beta-card-inner {
  padding: clamp(2rem, 4vw, 3.4rem);
}

.beta-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
  padding: 0.32rem 0.85rem;
  color: var(--terracotta);
  background: transparent;
  border: 1.5px solid var(--terracotta);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.beta-stamp .stamp-dot {
  opacity: 0.6;
}

.beta-card h2 {
  max-width: 22rem;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.04;
}

.beta-lede {
  max-width: 30rem;
  margin-top: 1.2rem;
  font-size: 1.04rem;
  line-height: 1.55;
}

.beta-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}

.beta-promises li {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0 0.85rem;
  color: var(--ink-soft);
  background: rgba(26, 25, 22, 0.05);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.beta-form {
  display: grid;
  gap: 0.82rem;
  margin-top: 2.2rem;
}

.beta-form label {
  display: grid;
  gap: 0.42rem;
}

.beta-form label > span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.beta-name-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.beta-form input,
.beta-form select,
.beta-form textarea {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-strong);
  outline: 0;
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 280ms var(--ease-heavy), box-shadow 280ms var(--ease-heavy);
}

.beta-form input,
.beta-form select {
  min-height: 3.25rem;
  padding: 0 1rem;
  border-radius: 999px;
}

.beta-form textarea {
  min-height: 5.6rem;
  resize: vertical;
  padding: 0.92rem 1rem;
  border-radius: 1.05rem;
  line-height: 1.45;
  font-family: var(--sans);
}

.beta-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position:
    calc(100% - 1rem) 50%,
    calc(100% - 0.72rem) 50%;
  background-size: 0.32rem 0.32rem, 0.32rem 0.32rem;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.beta-form input:focus,
.beta-form select:focus,
.beta-form textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(199, 90, 68, 0.12);
}

.beta-form input::placeholder,
.beta-form textarea::placeholder {
  color: var(--ink-faint);
}

.beta-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.62rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.35;
}

.beta-consent input {
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  min-height: 1rem;
  margin-top: 0.1rem;
  accent-color: var(--terracotta);
}

.beta-consent span {
  color: inherit;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.beta-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.beta-submit {
  justify-self: start;
  margin-top: 0.1rem;
}

.beta-submit[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.form-message {
  min-height: 1.2rem;
  color: var(--ink-mute);
  font-size: 0.82rem;
}

.beta-card-aside {
  position: relative;
  padding: clamp(2rem, 4vw, 3.4rem);
  background:
    linear-gradient(160deg, var(--terracotta) 0%, #b04830 100%);
  color: var(--paper-soft);
  display: grid;
  align-content: end;
}

.beta-card-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.18), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.16), transparent 60%);
  pointer-events: none;
}

.aside-eyebrow {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(251, 244, 231, 0.32);
  color: rgba(251, 244, 231, 0.95);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.aside-list {
  position: relative;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-list li {
  position: relative;
  display: grid;
  grid-template-columns: 0.9rem 1fr;
  gap: 0.55rem;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 1.04rem;
  font-weight: 540;
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--paper-soft);
}

.aside-list li > span {
  font-family: var(--sans);
  font-size: 1.4rem;
  line-height: 0.7;
  color: rgba(251, 244, 231, 0.7);
}

/* =====================================  DOCS + FAQ  ===================================== */

.docs {
  position: relative;
  width: min(calc(100% - 1.6rem), var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 10vh, 8rem) 0 clamp(4rem, 8vh, 6rem);
}

.docs .section-head-split {
  margin-bottom: clamp(3rem, 5vh, 4rem);
}

.docs-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.doc-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) 2rem;
  gap: 1.2rem;
  align-items: center;
  padding: 1.6rem 0.5rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding 380ms var(--ease-heavy), background 380ms var(--ease-heavy);
}

.doc-row:last-child {
  border-bottom: 0;
}

.doc-row:hover {
  background: linear-gradient(90deg, transparent, rgba(199, 90, 68, 0.05));
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.doc-num {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}

.doc-meta {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.doc-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.doc-meta strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 540;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.doc-meta p {
  max-width: 38rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.doc-arrow {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 1rem;
  transition: transform 380ms var(--ease-heavy), background 380ms var(--ease-heavy), color 380ms var(--ease-heavy);
}

.doc-row:hover .doc-arrow {
  background: var(--ink);
  color: var(--paper-soft);
  transform: translateX(0.2rem);
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: start;
  margin-top: clamp(4rem, 7vh, 6rem);
}

.faq-head h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 540;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 18rem;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 540;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.faq-list summary i {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-style: normal;
  font-weight: 600;
  font-family: var(--sans);
  font-size: 1rem;
  transition: transform 380ms var(--ease-heavy), background 380ms var(--ease-heavy), color 380ms var(--ease-heavy);
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--paper-soft);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  padding: 0 0 1.4rem;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* =====================================  FOOTER  ===================================== */

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  width: min(calc(100% - 1.6rem), var(--max));
  margin: 0 auto;
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-brand-block {
  max-width: 28rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 540;
  letter-spacing: -0.012em;
  text-decoration: none;
}

.footer-brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
}

.footer-brand-block p {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink-mute);
}

.footer-links {
  display: grid;
  gap: 1.2rem;
  justify-items: end;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 1.4rem;
}

.site-footer nav a {
  color: var(--ink-mute);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: color 320ms var(--ease-heavy);
}

.site-footer nav a:hover {
  color: var(--ink);
}

.footer-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem 0.5rem 1.05rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 320ms var(--ease-heavy), color 320ms var(--ease-heavy);
}

.footer-back i {
  font-style: normal;
}

.footer-back:hover {
  color: var(--paper-soft);
  background: var(--ink);
}

.footer-coda {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-faint);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
}

/* =====================================  REVEAL UTILITIES  ===================================== */

.reveal {
  opacity: 0;
  transform: translateY(0.9rem);
  transition: opacity 760ms var(--ease-heavy), transform 760ms var(--ease-heavy);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.heading-reveal {
  display: block;
  overflow: visible;
  padding: 0.04em 0 0.16em;
}

.heading-reveal .heading-reveal-inner {
  display: block;
  opacity: 0;
  transform: translate3d(0, 0.6em, 0);
  transition: opacity 920ms var(--ease-heavy), transform 920ms var(--ease-heavy);
}

.heading-reveal.is-visible .heading-reveal-inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* =====================================  DOCUMENT PAGES  ===================================== */

.document-page {
  background:
    linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 100%);
}

.doc-hero {
  width: min(calc(100% - 1.6rem), var(--max));
  margin: 0 auto;
  padding: 9rem 0 3.5rem;
}

.doc-hero h1 {
  max-width: 54rem;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 1.02;
}

.doc-hero p:not(.quiet-line) {
  max-width: 42rem;
  margin-top: 1.2rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.doc-layout {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 3rem;
  width: min(calc(100% - 1.6rem), var(--max));
  margin: 0 auto;
  padding: 0 0 6rem;
}

.doc-sidebar {
  position: sticky;
  top: 7rem;
  align-self: start;
  display: grid;
  gap: 0.4rem;
}

.doc-sidebar a {
  padding: 0.7rem 0;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 320ms var(--ease-heavy);
}

.doc-sidebar a:hover {
  color: var(--ink);
}

.doc-article {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.doc-section,
.doc-callout,
.source-card {
  padding: 1.5rem;
  background: rgba(251, 244, 231, 0.85);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
}

.doc-callout {
  background: var(--sage-soft);
}

.doc-section.dark {
  color: var(--paper-soft);
  background: var(--char);
  border-color: rgba(251, 244, 231, 0.16);
}

.doc-section h2 {
  max-width: 36rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 540;
  line-height: 1.04;
}

.doc-section h3 {
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 540;
  color: var(--ink);
}

.doc-section.dark h2,
.doc-section.dark h3 {
  color: var(--paper-soft);
}

.doc-section p,
.doc-callout p,
.doc-section ul,
.doc-section ol {
  max-width: 44rem;
  margin-top: 0.85rem;
  font-size: 0.98rem;
}

.doc-section ul,
.doc-section ol {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.doc-section.dark p,
.doc-section.dark ul,
.doc-section.dark ol {
  color: rgba(251, 244, 231, 0.78);
}

.doc-callout strong,
.source-card strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 540;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.source-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--paper-soft);
}

.source-card a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  color: var(--paper-soft);
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

/* =====================================  RESPONSIVE  ===================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .orbit-card {
    animation: none !important;
  }

  #hero-title .line span,
  #hero-title .line em {
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2rem;
  }

  .hero-stage {
    min-height: 40rem;
  }

  .examples-board {
    grid-template-columns: repeat(8, 1fr);
  }

  .examples-board .card-tilt-a { grid-column: 1 / span 4; }
  .examples-board .card-tilt-b { grid-column: 5 / span 4; }
  .examples-board .card-tilt-c { grid-column: 1 / span 4; margin-top: 0; }
  .examples-board .card-tilt-d { grid-column: 5 / span 4; margin-top: 0; }
  .examples-board .card-tilt-e { grid-column: 1 / span 4; margin-top: 0; }
  .examples-board .card-tilt-f { grid-column: 5 / span 4; margin-top: 0; }
  .examples-board .card-tilt-g { grid-column: 2 / span 6; }

  .privacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promise:nth-child(1),
  .promise:nth-child(2) {
    border-bottom: 1px solid rgba(251, 244, 231, 0.14);
  }

  .promise:nth-child(2) {
    border-right: 0;
  }

  .privacy-caveat {
    grid-template-columns: 1fr;
  }

  .beta-card {
    grid-template-columns: 1fr;
  }

  .beta-card-aside {
    order: -1;
    min-height: 12rem;
  }

  .story-pin {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  }

  .story-memory {
    width: 11.5rem;
  }

  .story-memory[data-orbit-note="0"] { --note-x: -14rem; --note-y: -13rem; }
  .story-memory[data-orbit-note="1"] { --note-x: 14rem; --note-y: -12rem; }
  .story-memory[data-orbit-note="2"] { --note-x: -15rem; --note-y: 12rem; }
  .story-memory[data-orbit-note="3"] { --note-x: 15rem; --note-y: 12rem; }

  .docs .section-head-split {
    grid-template-columns: 1fr;
  }

  .faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-nav {
    grid-template-columns: auto 1fr auto;
    width: calc(100% - 1rem);
    min-height: 3.7rem;
    top: 0.5rem;
    padding-left: 0.7rem;
  }

  .desktop-links,
  .nav-button {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .brand-mark img {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.7rem;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .hero,
  .manifesto,
  .privacy-inner,
  .beta,
  .docs,
  .site-footer,
  .doc-hero,
  .doc-layout {
    width: min(calc(100% - 1.4rem), var(--max));
  }

  .hero {
    padding: 6.5rem 0 3rem;
  }

  .hero-stage {
    min-height: 32rem;
  }

  .device {
    width: 16.5rem;
  }

  .device-bezel {
    border-radius: 2.4rem;
  }

  .device-bezel::before {
    width: 4.8rem;
    height: 1.1rem;
  }

  .device-screen {
    min-height: 32rem;
    padding: 2.5rem 0.85rem 4.4rem;
    border-radius: 1.9rem;
  }

  .screen-head strong {
    font-size: 1.4rem;
  }

  .stage-rings .ring-1 { width: 18rem; height: 18rem; }
  .stage-rings .ring-2 { width: 26rem; height: 26rem; }
  .stage-rings .ring-3 { display: none; }

  .orbit-card {
    width: 11.4rem;
    padding: 0.78rem 0.85rem 0.9rem;
  }

  .orbit-card strong {
    font-size: 0.92rem;
  }

  .orbit-card .card-meta {
    font-size: 0.68rem;
  }

  .orbit-card-1 { top: 4%; right: 0%; }
  .orbit-card-2 { top: 18%; left: -2%; }
  .orbit-card-3 { display: none; }
  .orbit-card-4 { display: none; }

  .hero-stage-caption {
    margin-top: 1rem;
    font-size: 0.95rem;
    justify-content: flex-start;
    text-align: left;
  }

  .examples-board {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .examples-board .card-tilt-a,
  .examples-board .card-tilt-b,
  .examples-board .card-tilt-c,
  .examples-board .card-tilt-d,
  .examples-board .card-tilt-e,
  .examples-board .card-tilt-f,
  .examples-board .card-tilt-g {
    grid-column: 1;
    margin-top: 0;
  }

  .examples-board .card-tilt-a { transform: rotate(-1deg); }
  .examples-board .card-tilt-b { transform: rotate(0.6deg); }
  .examples-board .card-tilt-c { transform: rotate(-0.8deg); }
  .examples-board .card-tilt-d { transform: rotate(1deg); }
  .examples-board .card-tilt-e { transform: rotate(-0.6deg); }
  .examples-board .card-tilt-f { transform: rotate(0.8deg); }
  .examples-board .card-tilt-g { transform: none; }

  .who h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .who-lede {
    font-size: 1.05rem;
  }

  .story-prologue {
    padding: 5rem 0 0;
  }

  .story-track {
    height: auto;
  }

  .story-pin {
    position: relative;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 1rem 0 2.5rem;
    gap: 1.6rem;
  }

  .story-side {
    min-height: 0;
    gap: 1rem;
  }

  .story-heading {
    max-width: 38rem;
    font-size: clamp(1.7rem, 6vw, 2.3rem);
  }

  .story-body {
    max-width: 38rem;
  }

  .story-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 100%;
  }

  .story-steps button {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.6rem 0.4rem;
    text-align: center;
    border-top: 1px solid rgba(251, 244, 231, 0.12);
    border-right: 1px solid rgba(251, 244, 231, 0.12);
  }

  .story-steps button:last-child {
    border-right: 0;
  }

  .story-steps button:hover,
  .story-steps button.is-active {
    padding-left: 0.4rem;
  }

  .story-steps .step-num {
    font-size: 0.62rem;
  }

  .story-steps .step-label {
    font-size: 0.85rem;
  }

  .story-stage {
    min-height: 30rem;
  }

  .story-rings .ring-a { width: 16rem; height: 16rem; }
  .story-rings .ring-b { width: 22rem; height: 22rem; }
  .story-rings .ring-c { display: none; }

  .story-memory {
    width: 9.6rem;
    min-height: 5.2rem;
    padding: 0.7rem 0.78rem;
  }

  .story-memory strong {
    font-size: 0.86rem;
  }

  .story-memory[data-orbit-note="0"] { --note-x: -8.5rem; --note-y: -10.5rem; }
  .story-memory[data-orbit-note="1"] { --note-x: 8.5rem; --note-y: -10rem; }
  .story-memory[data-orbit-note="2"] { --note-x: -8.5rem; --note-y: 10rem; }
  .story-memory[data-orbit-note="3"] { --note-x: 8.5rem; --note-y: 10rem; }

  .story-device {
    width: 14.5rem;
  }

  .story-device .device-screen {
    min-height: 26rem;
  }

  .story-screen-content {
    min-height: 19rem;
  }


  .privacy-headline {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .promise {
    padding: 1.4rem 0.5rem 1.5rem;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(251, 244, 231, 0.14);
  }

  .promise:last-child {
    border-bottom: 0;
  }

  .doc-row {
    grid-template-columns: 2.5rem minmax(0, 1fr) 1.8rem;
    gap: 0.8rem;
    padding: 1.2rem 0.4rem;
  }

  .doc-row:hover {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .doc-arrow {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.85rem;
  }

  .doc-meta strong {
    font-size: 1.15rem;
  }

  .doc-meta p {
    font-size: 0.9rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding-top: 3rem;
  }

  .footer-links {
    justify-items: start;
  }

  .footer-coda {
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
  }

  .doc-hero {
    padding-top: 7rem;
  }

  .doc-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .doc-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 0.6rem;
    padding-bottom: 0.4rem;
  }

  .doc-sidebar a {
    flex: 0 0 auto;
    min-height: 2.6rem;
    padding: 0.7rem 1rem;
    background: var(--paper-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
  }

  .source-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  .hero-stage {
    min-height: 28rem;
  }

  .device {
    width: 14.4rem;
  }

  .device-screen {
    min-height: 28rem;
    padding: 2.2rem 0.7rem 4rem;
  }

  .stage-rings .ring-1 { width: 14rem; height: 14rem; }
  .stage-rings .ring-2 { width: 19rem; height: 19rem; }

  .orbit-card-1, .orbit-card-2 {
    width: 9.5rem;
    padding: 0.7rem 0.78rem 0.8rem;
  }

  .orbit-card-1 { top: -1%; right: -1%; }
  .orbit-card-2 { top: 50%; left: -2%; }

  .orbit-card .card-meta {
    display: none;
  }

  .manifesto-headline,
  .privacy-headline {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .beta-card-inner,
  .beta-card-aside {
    padding: 1.5rem 1.3rem;
  }

  .beta-card h2 {
    font-size: 1.9rem;
  }

  .beta-name-grid {
    grid-template-columns: 1fr;
  }

  .beta-submit {
    width: 100%;
    justify-content: center;
  }
}
