/* =========================================================================
   Pastiq — landing styles
   Direction: "Quiet Vault, Cinematic Stage" — near-black canvas, indigo as the
   single accent, the only saturated color comes from the product's own clips.
   ========================================================================= */

:root {
  --bg: #08080A;
  --surface: #0E0E11;
  --surface-alt: #16161A;
  --surface-card: #1A1A1E;
  --border: #222227;
  --border-strong: #2C2C33;
  --hairline: rgba(255, 255, 255, 0.06);

  --text-primary: #F4F4F6;
  --text-secondary: #9A9AA4;
  --text-tertiary: #8A8A95;  /* ~5.3:1 on --bg — AA for small text */

  --accent: #6E6EF0;
  --accent-deep: #5B5BD6;
  --accent-hover: #7E7EF5;
  --accent-soft: rgba(110, 110, 240, 0.14);
  --accent-orange: #EB5A2A;

  --clip-orange: #FF8F4A;
  --clip-blue-deep: #2110A1;
  --clip-green: #9DDB46;
  --clip-magenta: #DB4678;
  --clip-violet: #BB80FF;
  --clip-blue: #006FFF;

  --glow-hero: radial-gradient(120% 90% at 50% -12%, rgba(110,110,240,0.22) 0%, rgba(91,91,214,0.09) 36%, rgba(8,8,10,0) 66%);
  --glow-accent: radial-gradient(80% 120% at 50% 0%, rgba(110,110,240,0.16) 0%, rgba(8,8,10,0) 60%);
  --icon-gradient: linear-gradient(150deg, #6E6EF0 0%, #5B5BD6 100%);

  --shadow-window: 0 40px 90px -20px rgba(0,0,0,0.65), 0 12px 32px -12px rgba(0,0,0,0.5);
  --shadow-card: 0 8px 28px -10px rgba(0,0,0,0.55);

  --radius-window: 22px;
  --radius-card: 16px;
  --radius-clip: 14px;
  --radius-chip: 10px;
  --radius-pill: 999px;

  --maxw-content: 1120px;
  --maxw-stage: 1500px;
  --space-section: clamp(120px, 14vw, 180px);

  --font-display: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', 'JetBrains Mono', monospace;

  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --dur-fast: 120ms;
  --dur-base: 420ms;
  --dur-reveal: 640ms;

  --nav-h: 64px;
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01" on, "cv01" on;
}
/* Subtle, fixed violet/indigo ambient wash behind the whole page (tasteful, low-opacity). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(52% 42% at 14% 4%, rgba(110, 110, 240, 0.10), transparent 60%),
    radial-gradient(46% 40% at 86% 20%, rgba(138, 92, 240, 0.085), transparent 60%),
    radial-gradient(64% 52% at 50% 108%, rgba(91, 91, 214, 0.10), transparent 60%);
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-chip); transition: top var(--dur-fast);
}
.skip-link:focus { top: 16px; }

/* shared typographic atoms ------------------------------------------------ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--text-primary);
  text-wrap: balance;
}
.section-lead {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 1.1rem auto 0;
}
.section-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-weight: 500; font-size: 0.98rem; letter-spacing: -0.01em;
  border-radius: var(--radius-chip);
  transition: transform var(--dur-fast) var(--ease-out-quart),
              background var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast);
  white-space: nowrap;
}
.btn__glyph { flex: none; opacity: 0.92; }
.btn--sm { padding: 8px 16px; font-size: 0.9rem; }
.btn--lg { padding: 14px 24px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary {
  /* --accent-deep (#5B5BD6) gives white text ~5:1 contrast (AA); the lighter --accent
     is reserved for icons/text on the dark canvas where it already passes. */
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(91,91,214,0.7), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn--primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(110,110,240,0.8), inset 0 1px 0 rgba(255,255,255,0.22); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.02);
}
.btn--ghost:hover { border-color: var(--text-tertiary); background: rgba(255,255,255,0.05); transform: translateY(-1px); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--dur-base) var(--ease-out-quart), backdrop-filter var(--dur-base), border-color var(--dur-base);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8,8,10,0.72);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom-color: var(--hairline);
}
.nav__inner {
  width: 100%; max-width: var(--maxw-content); margin: 0 auto;
  padding: 0 24px; display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; }
.brand__icon { border-radius: 0; box-shadow: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45)); }
.brand__name { font-size: 1.02rem; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 26px; margin-left: 14px; }
.nav__links a { color: var(--text-secondary); font-size: 0.94rem; transition: color var(--dur-fast); }
.nav__links a:hover { color: var(--text-primary); }
.nav__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

/* Language dropdown (flags) */
.lang-switch { position: relative; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 9px 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-chip);
  background: rgba(255,255,255,0.02); color: var(--text-secondary);
  transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast);
}
.lang-switch__btn:hover { color: var(--text-primary); border-color: var(--border-strong); background: rgba(255,255,255,0.05); }
.lang-switch__flag { font-size: 0.98rem; line-height: 1; }
.lang-switch__code { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; }
.lang-switch__chev { opacity: 0.65; transition: transform var(--dur-base) var(--ease-spring); }
.lang-switch.is-open .lang-switch__chev { transform: rotate(180deg); }

.lang-switch__menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 130;
  min-width: 188px; margin: 0; padding: 6px; list-style: none;
  background: rgba(14,14,17,0.92);
  -webkit-backdrop-filter: saturate(150%) blur(18px); backdrop-filter: saturate(150%) blur(18px);
  border: 1px solid var(--border-strong); border-radius: 14px;
  box-shadow: var(--shadow-window);
  transform-origin: top right;
  animation: langMenuIn var(--dur-base) var(--ease-spring);
}
@keyframes langMenuIn { from { opacity: 0; transform: translateY(-6px) scale(0.97); } to { opacity: 1; transform: none; } }
.lang-switch__opt {
  display: flex; align-items: center; gap: 11px; padding: 9px 11px;
  border-radius: 9px; cursor: pointer; color: var(--text-secondary);
  font-size: 0.92rem; transition: background var(--dur-fast), color var(--dur-fast);
}
.lang-switch__opt:hover, .lang-switch__opt:focus-visible { background: rgba(255,255,255,0.06); color: var(--text-primary); outline: none; }
.lang-switch__opt .lang-switch__flag { font-size: 1.15rem; }
.lang-switch__opt.is-active { color: var(--text-primary); }
.lang-switch__opt.is-active::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero__glow { position: absolute; inset: -10% -10% auto -10%; height: 800px; background: var(--glow-hero); pointer-events: none; z-index: 0; animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 0%,100%{opacity:0.85} 50%{opacity:1} }

/* One-time "light turns on" bloom that expands from behind the headline on load,
   then settles into a permanent soft violet presence. */
.hero__bloom {
  position: absolute; left: 36%; top: -8%; width: min(78vw, 1080px); aspect-ratio: 1 / 1;
  transform: translate(-50%, -28%) scale(0.3); z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 50%, rgba(150,110,255,0.55) 0%, rgba(110,110,240,0.34) 26%, rgba(91,91,214,0.12) 46%, transparent 64%);
  filter: blur(34px);
  animation: bloomIn 1.9s var(--ease-out-quart) 0.06s both;
}
@keyframes bloomIn {
  0%   { opacity: 0;    transform: translate(-50%, -28%) scale(0.3); }
  45%  { opacity: 1;    }
  100% { opacity: 0.62; transform: translate(-50%, -28%) scale(1.18); }
}

/* Animated violet aura — soft drifting blobs behind the hero (GPU transforms only).
   The whole layer springs in once on load, then the blobs drift gently forever. */
.hero__aura { position: absolute; inset: -28% -16% auto -16%; height: 1060px; z-index: 0; pointer-events: none; filter: blur(58px); opacity: 0; transform-origin: 50% 30%; animation: auraEnter 1.7s var(--ease-spring) 0.04s both; }
@keyframes auraEnter {
  0%   { opacity: 0;    transform: scale(0.72) translateY(48px); }
  55%  { opacity: 1;    }
  100% { opacity: 0.95; transform: none; }
}
.hero__aura span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation-delay: 0.5s; }
.hero__aura span:nth-child(1) { width: 48%; height: 64%; left: 5%;  top: 1%;  background: radial-gradient(circle at 50% 50%, rgba(146,98,248,0.66), transparent 68%); animation: aura1 26s var(--ease-out-quart) 0.5s infinite alternate; }
.hero__aura span:nth-child(2) { width: 44%; height: 58%; right: 3%; top: -7%; background: radial-gradient(circle at 50% 50%, rgba(118,118,246,0.60), transparent 68%); animation: aura2 32s var(--ease-out-quart) 0.5s infinite alternate; }
.hero__aura span:nth-child(3) { width: 42%; height: 54%; left: 38%; top: 20%; background: radial-gradient(circle at 50% 50%, rgba(99,99,224,0.52),   transparent 70%); animation: aura3 22s var(--ease-out-quart) 0.5s infinite alternate; }
@keyframes aura1 { from { transform: translate3d(-6%, -3%, 0) scale(1);    } to { transform: translate3d(8%, 5%, 0) scale(1.18);  } }
@keyframes aura2 { from { transform: translate3d(5%, 2%, 0) scale(1.05);   } to { transform: translate3d(-7%, 8%, 0) scale(0.93); } }
@keyframes aura3 { from { transform: translate3d(0, 0, 0) scale(1);        } to { transform: translate3d(-6%, -7%, 0) scale(1.16);} }

.hero__inner { position: relative; z-index: 1; max-width: var(--maxw-stage); margin: 0 auto; padding: 0 24px; }
.hero__copy { max-width: 760px; }
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.028em;
  margin-top: 0.2rem; text-wrap: balance;
}
.hero__sub { color: var(--text-secondary); font-size: clamp(1.06rem, 1.6vw, 1.25rem); line-height: 1.55; max-width: 56ch; margin-top: 1.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.1rem; }
.hero__note { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-tertiary); letter-spacing: 0.01em; margin-top: 1.4rem; font-variant-numeric: tabular-nums; }

/* stage: video + clip overlay */
.stage { margin-top: clamp(48px, 6vw, 80px); }
.stage__frame {
  position: relative; width: 100%; max-width: var(--maxw-stage); margin: 0 auto;
  aspect-ratio: 1660 / 1080;
  border-radius: var(--radius-window);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-window);
  background: #0b0b0d;
  /* feather the screenshot's own wallpaper edges into the canvas */
  -webkit-mask-image: radial-gradient(125% 125% at 50% 45%, #000 78%, transparent 100%);
          mask-image: radial-gradient(125% 125% at 50% 45%, #000 78%, transparent 100%);
}
.stage__video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 700ms var(--ease-out-quart); }
.stage.is-live .stage__video { opacity: 1; }
.stage__play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px;
  display: grid; place-items: center; color: #fff;
  background: rgba(8,8,10,0.55); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%; backdrop-filter: blur(8px); z-index: 3;
}
.stage__play svg { transform: translateX(2px); }

.stage__clips { position: absolute; inset: 0; padding: 4.5%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 3.4%; z-index: 2; transition: opacity 600ms var(--ease-out-quart); }
.stage.is-live .stage__clips { opacity: 0; pointer-events: none; }
.clip {
  border-radius: var(--radius-clip);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 12px; overflow: hidden; position: relative;
  /* initial scattered state */
  transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0)) scale(0.85);
  opacity: 0;
  filter: blur(6px);
  transition: transform 900ms var(--ease-spring), opacity 600ms var(--ease-out-quart), filter 600ms var(--ease-out-quart);
  transition-delay: calc(var(--i) * 36ms);
}
.stage.is-settled .clip { transform: translate(0,0) rotate(0) scale(1); opacity: 1; filter: blur(0); }
.clip--color { justify-content: flex-end; }
.clip--color::before { content: ""; position: absolute; inset: 0; background: var(--c); opacity: 0.96; }
.clip__hex { position: relative; font-family: var(--font-mono); font-size: 0.78rem; color: rgba(255,255,255,0.92); text-shadow: 0 1px 3px rgba(0,0,0,0.35); }
.clip--text .clip__line { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.16); margin-bottom: 7px; }
.clip--text .clip__line--sm { width: 62%; background: rgba(255,255,255,0.10); }
.clip--text { justify-content: flex-start; }
.clip--img { background: linear-gradient(135deg, #3a3550 0%, #6b5a7a 50%, #c98a6a 100%); }

/* ---------------------------------------------------------------- trust strip */
.trust { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.trust__inner { max-width: var(--maxw-content); margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.trust__lock { color: var(--accent); flex: none; }
.trust__text { font-family: var(--font-mono); font-size: 0.84rem; letter-spacing: 0.04em; color: var(--text-secondary); }

/* ---------------------------------------------------------------- how it works */
.how { padding: var(--space-section) 0 0; }
.how__steps {
  max-width: var(--maxw-content); margin: 56px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.how__step { padding: 28px 26px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.how__num { font-family: var(--font-mono); font-size: 0.82rem; color: var(--accent); letter-spacing: 0.06em; }
.how__t { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.015em; margin-top: 14px; }
.how__d { color: var(--text-secondary); font-size: 0.98rem; margin-top: 10px; }

/* ---------------------------------------------------------------- feature acts */
.act { padding: var(--space-section) 0 0; overflow: hidden; }
.act__inner {
  max-width: var(--maxw-stage); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 5vw, 80px); align-items: center;
}
.act__inner--copy-right { grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); }
.act__copy { max-width: 520px; }
.act__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.1; letter-spacing: -0.022em; }
.act__desc { color: var(--text-secondary); font-size: 1.08rem; margin-top: 1.1rem; }
.act__desc--muted { color: var(--text-tertiary); font-size: 1rem; margin-top: 0.9rem; }
.act__hint { color: var(--text-secondary); font-size: 0.98rem; margin-top: 1.4rem; }

/* 6-type ledger */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 14px; border-top: 1px solid var(--hairline); }
.ledger li { border-bottom: 1px solid var(--hairline); padding: 11px 2px; }
.ledger li:nth-child(odd) { padding-right: 16px; }
.ledger__k { font-family: var(--font-mono); font-size: 0.92rem; color: var(--text-primary); letter-spacing: 0.01em; }
.ledger li::before { content: "·"; color: var(--accent); margin-right: 10px; }

/* keyboard lines + keycaps */
.kbd-line { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 1.8rem; color: var(--text-tertiary); font-size: 0.9rem; }
.kbd-line--center { justify-content: center; }
.kbd-line__label { font-family: var(--font-mono); letter-spacing: 0.04em; margin-right: 4px; }
.kbd {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 9px;
  font-family: var(--font-mono); font-size: 0.86rem; color: var(--text-primary);
  background: linear-gradient(180deg, #232329 0%, #16161a 100%);
  border: 1px solid var(--border-strong); border-bottom-width: 2px;
  border-radius: 8px; box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 2px 4px -2px rgba(0,0,0,0.6);
  font-variant-numeric: tabular-nums;
}

/* keywall */
.keywall { margin-top: 1.9rem; border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; background: var(--surface); }
.keywall__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--hairline); }
.keywall__row:last-child { border-bottom: none; }
.keywall__label { color: var(--text-secondary); font-size: 0.95rem; }
.keys { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.keys__dash { color: var(--text-tertiary); margin: 0 3px; }

/* shot framing — screenshots carry their own window chrome + wallpaper */
.act__shot { min-width: 0; }
.shot {
  position: relative; border-radius: var(--radius-window); overflow: hidden;
  box-shadow: var(--shadow-window); border: 1px solid var(--border);
  background: #0b0b0d;
  -webkit-mask-image: radial-gradient(135% 130% at 50% 45%, #000 80%, transparent 100%);
          mask-image: radial-gradient(135% 130% at 50% 45%, #000 80%, transparent 100%);
}
.shot img { width: 100%; height: auto; }

/* ---------------------------------------------------------------- notch shelf */
.act--notch { text-align: center; }
.notch-stage { position: relative; max-width: 980px; margin: 64px auto 0; padding: 0 24px; }
.notch-lid {
  position: relative; height: 16px; width: min(680px, 90%); margin: 0 auto;
  background: linear-gradient(180deg, #1b1b20, #101013); border: 1px solid var(--border);
  border-bottom: none; border-radius: 16px 16px 0 0;
}
.notch-cut { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 150px; height: 14px; background: #000; border-radius: 0 0 12px 12px; }

.shelf {
  position: relative; margin: 0 auto;
  width: 132px; height: 92px;
  border-radius: 22px;
  background: rgba(20,20,24,0.85);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-window);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: width 760ms var(--ease-spring), height 760ms var(--ease-spring);
  display: flex; align-items: center; justify-content: center;
}
.shelf__pill { width: 56px; height: 8px; border-radius: 999px; background: var(--text-tertiary); opacity: 0.9; transition: opacity 220ms var(--ease-out-quart); }
.shelf__body { position: absolute; inset: 0; display: flex; gap: 26px; align-items: center; padding: 0 28px; opacity: 0; transition: opacity 320ms var(--ease-out-quart) 220ms; }
.notch-stage.is-open .shelf { width: min(880px, 100%); height: 168px; }
.notch-stage.is-open .shelf__pill { opacity: 0; }
.notch-stage.is-open .shelf__body { opacity: 1; }
.shelf__day { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.shelf__daylabel { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--text-tertiary); text-align: left; }
.shelf__cards { display: flex; gap: 12px; }
.mini { width: 78px; height: 78px; border-radius: 12px; background: var(--surface-card); border: 1px solid var(--hairline); position: relative; overflow: hidden; flex: none;
  transform: translateY(10px) scale(0.9); opacity: 0; transition: transform 480ms var(--ease-spring), opacity 360ms var(--ease-out-quart); }
.notch-stage.is-open .mini { transform: none; opacity: 1; }
.notch-stage.is-open .mini:nth-child(2){ transition-delay: 40ms } .notch-stage.is-open .mini:nth-child(3){ transition-delay: 80ms } .notch-stage.is-open .mini:nth-child(4){ transition-delay: 120ms }
.mini--color::before { content:""; position:absolute; inset:0; background: var(--c); }
.mini--img { background: linear-gradient(135deg, #3a3550, #c98a6a); }
.mini--text::before { content:""; position:absolute; left:12px; right:12px; top:18px; height:6px; border-radius:3px; background: rgba(255,255,255,0.16); box-shadow: 0 14px 0 rgba(255,255,255,0.10), 0 28px 0 rgba(255,255,255,0.10); }

/* ---------------------------------------------------------------- inspector meta */
.meta { margin-top: 1.8rem; border-top: 1px solid var(--hairline); }
.meta__row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.meta dt { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; color: var(--text-tertiary); }
.meta dd { font-family: var(--font-mono); font-size: 0.9rem; color: var(--text-secondary); }

/* ---------------------------------------------------------------- color mosaic */
.mosaic { padding: var(--space-section) 0 0; }
.mosaic__grid {
  max-width: var(--maxw-content); margin: 56px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.swatch {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-clip); overflow: hidden;
  background: var(--c); box-shadow: var(--shadow-card);
  display: flex; align-items: flex-end; padding: 14px;
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base);
}
.swatch:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--c) 55%, transparent); }
.swatch__hex { font-family: var(--font-mono); font-size: 0.82rem; color: rgba(255,255,255,0.95); text-shadow: 0 1px 4px rgba(0,0,0,0.4); }

/* ---------------------------------------------------------------- privacy */
.privacy { position: relative; padding: var(--space-section) 0 0; overflow: hidden; }
.privacy__glow { position: absolute; inset: 0 0 auto 0; height: 520px; background: var(--glow-accent); opacity: 0.6; pointer-events: none; }
.privacy__inner { position: relative; max-width: var(--maxw-content); margin: 0 auto; padding: 0 24px; }
.privacy__head { text-align: center; max-width: 720px; margin: 0 auto; }
.privacy__points { max-width: 760px; margin: 48px auto 0; display: grid; gap: 2px; }
.privacy__point { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-chip); color: var(--text-secondary); font-size: 1.02rem; }
.privacy__point svg { color: var(--accent); flex: none; margin-top: 3px; }

/* ---------------------------------------------------------------- pricing */
.pricing { padding: var(--space-section) 0 0; }
.price-card {
  position: relative; max-width: 460px; margin: 56px auto 0; padding: 40px 36px 32px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  text-align: center; overflow: hidden;
}
.price-card__glow { position: absolute; inset: 0 0 auto 0; height: 260px; background: var(--glow-accent); pointer-events: none; }
/* keep the glow out of flow; only real content gets stacking context above it */
.price-card > *:not(.price-card__glow) { position: relative; }
.price-card__icon { margin: 0 auto; border-radius: 0; box-shadow: none; filter: drop-shadow(0 10px 22px rgba(91,91,214,0.32)); }
.price-card__amount { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 22px; }
.price-card__price { font-family: var(--font-display); font-weight: 600; font-size: 3.2rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-card__per { color: var(--text-tertiary); font-size: 0.95rem; }
.price-card__note { color: var(--text-secondary); font-size: 0.9rem; margin-top: 6px; }
.price-card__list { text-align: left; margin: 26px 0; display: grid; gap: 13px; }
.price-card__list li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-secondary); font-size: 0.97rem; }
.price-card__list svg { color: var(--accent); flex: none; margin-top: 3px; }
.price-card__guarantee { color: var(--text-tertiary); font-size: 0.86rem; margin-top: 14px; }
.price-card__req { font-family: var(--font-mono); color: var(--text-tertiary); font-size: 0.76rem; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hairline); letter-spacing: 0.01em; }

/* ---------------------------------------------------------------- faq */
.faq { padding: var(--space-section) 0 0; }
.faq__list { max-width: 760px; margin: 48px auto 0; padding: 0 24px; }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron { position: relative; flex: none; width: 14px; height: 14px; }
.faq__chevron::before, .faq__chevron::after { content: ""; position: absolute; top: 50%; width: 9px; height: 1.5px; background: var(--text-secondary); border-radius: 2px; transition: transform var(--dur-base) var(--ease-spring); }
.faq__chevron::before { left: 0; transform: rotate(45deg); }
.faq__chevron::after { right: 0; transform: rotate(-45deg); }
.faq__item[open] .faq__chevron::before { transform: rotate(-45deg); }
.faq__item[open] .faq__chevron::after { transform: rotate(45deg); }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--text-secondary); font-size: 1rem; padding: 0 4px 24px; max-width: 64ch; }

/* ---------------------------------------------------------------- final cta */
.final { position: relative; margin-top: var(--space-section); padding: clamp(90px, 12vw, 150px) 0; overflow: hidden; }
.final__glow { position: absolute; inset: 0; background: radial-gradient(70% 120% at 50% 100%, rgba(110,110,240,0.18) 0%, rgba(8,8,10,0) 62%); pointer-events: none; }
.final__inner { position: relative; max-width: 760px; margin: 0 auto; padding: 0 24px; text-align: center; }
.final__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.final .btn { margin-top: 2rem; }
.final__note { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-tertiary); margin-top: 1.3rem; }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--hairline); padding: 48px 0 56px; }
.footer__inner { max-width: var(--maxw-content); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; }
.footer__dot { color: var(--text-tertiary); }
.footer__domain { font-family: var(--font-mono); font-size: 0.88rem; color: var(--text-secondary); font-weight: 400; }
.footer__tagline { color: var(--text-secondary); font-size: 0.95rem; margin-left: auto; }
.footer__links { display: inline-flex; align-items: center; gap: 20px; }
.footer__links a { color: var(--text-secondary); font-size: 0.92rem; transition: color var(--dur-fast); }
.footer__links a:hover { color: var(--text-primary); }
.footer__copy { max-width: var(--maxw-content); margin: 28px auto 0; padding: 0 24px; color: var(--text-tertiary); font-size: 0.82rem; }

/* ---------------------------------------------------------------- reveal
   The hidden start-state is gated behind .js (added before first paint). Without
   JS the class is never set, so all content renders visible — no blank page. */
.reveal { transition: opacity var(--dur-reveal) var(--ease-out-quart), transform var(--dur-reveal) var(--ease-out-quart); }
.js .reveal { opacity: 0; transform: translateY(24px); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 920px) {
  .nav__links { display: none; }
  .act__inner, .act__inner--copy-right { grid-template-columns: 1fr; gap: 32px; }
  /* keep copy above the screenshot on mobile for both layouts */
  .act__inner--copy-right .act__copy { order: -1; }
  .how__steps { grid-template-columns: 1fr; max-width: 480px; }
  .mosaic__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .nav__inner { gap: 12px; }
  .brand__name { display: none; }
  .hero__cta .btn { flex: 1 1 auto; }
  .mosaic__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__tagline { margin-left: 0; flex-basis: 100%; order: 3; }
  .meta__row { grid-template-columns: 96px 1fr; }
  .stage__frame { -webkit-mask-image: none; mask-image: none; }

  /* keep the keycap cluster from overflowing the keywall on small phones */
  .keywall__row { flex-wrap: wrap; }

  /* notch shelf: stack the day-groups so nothing is clipped on a phone */
  .notch-stage.is-open .shelf { height: 200px; }
  .shelf__body { flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 18px; }
  .shelf__cards { gap: 8px; }
  .mini { width: 50px; height: 50px; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .clip { opacity: 1; filter: none; transform: none; }
  .hero__glow { animation: none; }
  .shelf { width: min(880px, 100%); height: 168px; }
  .shelf__pill { display: none; }
  .shelf__body { opacity: 1; }
  .mini { opacity: 1; transform: none; }
}
