/* adoreatech.com. Created by Adorea. */

/* ------------------------------------------------------------ Tokens */
:root {
  color-scheme: light dark;

  /* Palette */
  --obsidian: #0e0d0c;
  --graphite: #262523;
  --stone: #6b675f;
  --ash: #a9a49a;
  --platinum: #e4e1da;
  --ivory: #f6f3ec;
  --sand: #e4d9c6;
  --champagne: #c4a76e;
  --champagne-deep: #7d6433; /* gold that passes contrast on ivory */
  --stamp: #ff8f24;          /* NostalgiaCam's date stamp */

  /* Page (light) */
  --bg: var(--ivory);
  --bg-2: #efe9de;
  --surface: #fbf9f5;
  --text: var(--obsidian);
  --text-2: #45423d;
  --text-3: var(--stone);
  --line: rgba(14, 13, 12, 0.11);
  --line-2: rgba(14, 13, 12, 0.2);
  --btn-bg: var(--obsidian);
  --btn-fg: var(--ivory);
  --gold-text: var(--champagne-deep);
  --wm-dot: #a88a4f;
  --stamp-text: #a44e00;
  --focus: var(--champagne-deep);

  /* Stage (always dark) */
  --stage: var(--obsidian);
  --stage-2: #171614;
  --stage-3: #1f1d1b;
  --stage-text: #f6f3ec;
  --stage-text-2: #bfbab0;
  --stage-text-3: #958f85;
  --stage-line: rgba(228, 225, 218, 0.12);
  --stage-line-2: rgba(228, 225, 218, 0.24);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --radius: 20px;
  --header-h: 60px;
  --ease: cubic-bezier(0.16, 0.84, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--obsidian);
    --bg-2: #141311;
    --surface: #181715;
    --text: #f2efe9;
    --text-2: #c4bfb5;
    --text-3: #9b958b;
    --line: rgba(228, 225, 218, 0.1);
    --line-2: rgba(228, 225, 218, 0.2);
    --btn-bg: var(--platinum);
    --btn-fg: var(--obsidian);
    --gold-text: var(--champagne);
    --wm-dot: var(--champagne);
    --stamp-text: var(--stamp);
    --focus: var(--champagne);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  interpolate-size: allow-keywords;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--champagne); color: var(--obsidian); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.stage-ctx :focus-visible, .site-header :focus-visible { outline-color: var(--champagne); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--ivory); color: var(--obsidian); padding: 10px 16px; border-radius: 2px;
  font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.mono, .fig, .eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------ Wordmark and symbol */
.wm { overflow: visible; }
.wm .wm-dot { fill: var(--wm-dot); }
.site-header .wm .wm-dot, .stage-ctx .wm .wm-dot { fill: var(--champagne); }
.wm-orbit { transform-box: fill-box; transform-origin: 50% 50%; }

@media (prefers-reduced-motion: no-preference) {
  .brand:hover .wm-orbit, .brand:focus-visible .wm-orbit { animation: dot-orbit 1.2s cubic-bezier(0.6, 0, 0.2, 1); }
  /* Until orbit.js takes over, the animated wordmark waits hidden, with a fallback if it never loads. */
  .js .wm-anim:not(.orb-done):not(.orb-playing) .wm-letters path { stroke-dasharray: 2000 2000; stroke-dashoffset: 2000; animation: wm-failsafe 0s 3s forwards; }
  .js .wm-anim:not(.orb-done):not(.orb-playing) .orb-final { opacity: 0; animation: wm-failsafe-o 0s 3s forwards; }
  /* Once orbit.js is running, a mark waiting for its turn stays hidden: no half-drawn peek. */
  .orbit-ready .wm-anim.orb-armed .wm-letters path { stroke-dasharray: 2000 2000; stroke-dashoffset: 2000; animation: none; }
  .orbit-ready .wm-anim.orb-armed .orb-final { opacity: 0; animation: none; }
}
@keyframes dot-orbit { to { transform: rotate(-360deg); } }
@keyframes wm-failsafe { to { stroke-dashoffset: 0; } }
@keyframes wm-failsafe-o { to { opacity: 1; } }

/* ------------------------------------------------------------ Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 13, 12, 0.93);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid rgba(228, 225, 218, 0.08);
  color: var(--stage-text);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; padding: 10px 0; color: var(--platinum); }
.site-header .brand .wm { height: 13px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; }
.nav a { display: inline-block; padding: 10px 0; color: var(--stage-text-2); text-decoration: none; transition: color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--stage-text); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: 0.5em; }
.nav .nav-cta { padding: 8px 16px; border: 1px solid var(--stage-line-2); border-radius: 2px; color: var(--stage-text); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.nav .nav-cta:hover { background: var(--platinum); color: var(--obsidian); border-color: var(--platinum); }
@media (max-width: 420px) { .nav .hide-xs { display: none; } }
@media (max-width: 719px) { .nav .nav-cta { border: 0; padding: 10px 0; } .nav .nav-cta:hover { background: none; color: var(--stage-text); } }

/* ------------------------------------------------------------ Buttons, pills, chips */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px;
  font: 500 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--graphite); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.stage-ctx .btn-primary { background: var(--platinum); color: var(--obsidian); }
.stage-ctx .btn-primary:hover { background: #fff; }
.stage-ctx .btn-ghost { border-color: var(--stage-line-2); color: var(--stage-text); }
.stage-ctx .btn-ghost:hover { border-color: var(--platinum); background: rgba(228, 225, 218, 0.06); }
@media (prefers-color-scheme: dark) { .btn-primary:hover { background: #fff; } }

.pill {
  display: inline-flex; align-items: center; gap: 9px; justify-self: start; align-self: start;
  margin: 0; padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 0.8125rem; color: var(--text-2); letter-spacing: 0.01em;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--champagne); }
.stage-ctx .pill { border-color: var(--stage-line-2); color: var(--stage-text-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 6px 12px; border: 1px solid var(--stage-line-2); border-radius: 999px; font-size: 0.875rem; color: var(--stage-text-2); }

.stamp { font-family: var(--mono); font-weight: 700; color: var(--stamp-text); }
.stage-ctx .stamp { color: var(--stamp); text-shadow: 0 0 12px rgba(255, 143, 36, 0.55); }
@media (prefers-color-scheme: dark) { .stamp { text-shadow: 0 0 12px rgba(255, 143, 36, 0.5); } }

/* ------------------------------------------------------------ Stage surfaces */
.stage-ctx { background: var(--stage); color: var(--stage-text); }
.stage-ctx .fig, .stage-ctx .eyebrow { color: var(--stage-text-3); }


/* ------------------------------------------------------------ Home hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 55% 60% at 74% 36%, rgba(214, 200, 176, 0.12), transparent 70%),
    radial-gradient(ellipse 90% 45% at 50% 108%, rgba(196, 167, 110, 0.1), transparent 70%),
    var(--stage);
}
/* The opening screen fills the window, so the big wordmark always starts just below the fold. */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr); align-items: center;
  gap: clamp(24px, 4vw, 56px);
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(40px, 6vw, 72px) clamp(16px, 2vw, 24px);
}
.hero-copy { position: relative; z-index: 2; display: grid; gap: 0; }
.hero h1 {
  margin: 24px 0 0;
  font: 600 clamp(3.1rem, 1.3rem + 6vw, 7rem)/0.94 var(--font-display);
  letter-spacing: -0.045em;
  color: var(--stage-text);
}
/* The headline's descenders (g, y) eat into the gap below it, so the subtext sits a little lower. */
.hero-sub { margin: clamp(22px, 2.4vw, 34px) 0 0; max-width: 34ch; font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem); line-height: 1.45; color: var(--stage-text-2); }
.hero-sub span { white-space: nowrap; }
.hero .actions { margin-top: clamp(28px, 3vw, 40px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-figure { position: relative; z-index: 1; margin: 0; }
.hero-art { position: relative; width: 100%; aspect-ratio: var(--ar); }
.hero-art svg { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; overflow: visible; }
/* --close (0 open, 1 shut) is set from scroll by site.js; each layer slides toward the middle one. */
.hero-art .layer { will-change: transform; translate: calc(var(--mx, 0) * var(--d) * 1px) calc(var(--my, 0) * var(--d) * 0.6px + var(--close, 0) * var(--collapse)); transition: translate 0.35s var(--ease); }
.hero-art .ph-label, .hero-art .ph-conn { opacity: calc(1 - var(--close, 0) * 2.2); }
.fall { display: inline-block; white-space: nowrap; }
.fall .drop { display: inline-block; transform-origin: 50% 70%; will-change: transform; }

.hero-mark { position: relative; z-index: 1; padding-block: clamp(56px, 7vw, 110px) clamp(64px, 8vw, 120px); }
.hero-mark .wm { width: 100%; height: auto; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 36px; }
  .hero-art { aspect-ratio: var(--ar-phone); }
  .hero-art svg { width: var(--wide); }
  .hero-art .ph-label { display: none; }
  .hero-figure { margin-top: 8px; }
}

/* ------------------------------------------------------------ Sections */
.section { padding-block: clamp(64px, 8vw, 116px); }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.section-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.display {
  margin: 0;
  font: 600 clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem)/1 var(--font-display);
  letter-spacing: -0.04em;
}
.lede { margin: 0; max-width: 60ch; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--text-2); }
.stage-ctx .lede { color: var(--stage-text-2); }

/* ------------------------------------------------------------ App cards */
.apps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card-stage {
  position: relative; overflow: hidden; isolation: isolate; margin: 0;
  border-radius: var(--radius); background: var(--stage-2); color: var(--stage-text);
  box-shadow: inset 0 0 0 1px rgba(228, 225, 218, 0.07);
}

.app-feature {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center;
  background:
    radial-gradient(ellipse 55% 80% at 82% 50%, rgba(255, 170, 90, 0.13), transparent 70%),
    radial-gradient(ellipse 60% 60% at 0% 0%, rgba(228, 225, 218, 0.06), transparent 70%),
    var(--stage-2);
}
.app-feature-copy { display: grid; justify-items: start; gap: 0; padding: clamp(28px, 4.5vw, 60px); }
.app-icon { width: 84px; height: 84px; border-radius: 22.37%; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.8), 0 0 0 0.5px rgba(228, 225, 218, 0.18); }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 24px 0 0; font-size: 0.875rem; color: var(--stage-text-2); }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--champagne); }
.app-feature h3 { margin: 10px 0 0; font: 600 clamp(2rem, 1.5rem + 1.6vw, 3rem)/1 var(--font-display); letter-spacing: -0.035em; }
.app-feature h3 a { text-decoration: none; }
.app-feature h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--champagne); }
.tagline { margin: 8px 0 0; font-size: 1.1875rem; color: var(--stage-text-2); }
.app-feature-copy > p:not([class]) { margin: 18px 0 0; max-width: 44ch; color: var(--stage-text-2); }
.app-feature .chips { margin-top: 22px; }
.app-feature .actions { margin-top: 30px; }
.app-feature-art { padding: clamp(20px, 3.5vw, 48px); padding-left: 0; }
.camera { width: 100%; height: auto; filter: drop-shadow(0 36px 50px rgba(0, 0, 0, 0.55)); }
@media (prefers-reduced-motion: no-preference) {
  .app-feature-art .camera { transition: transform 0.9s var(--ease); }
  .app-feature:hover .camera { transform: rotate(-1.5deg) translateY(-6px); }
}

.app-card { display: grid; grid-template-rows: auto 1fr; }
.app-card-art svg { width: 100%; height: auto; }
.app-card-copy { position: relative; padding: 26px 28px 30px; border-top: 1px solid var(--stage-line); }
.app-card-copy h3 { margin: 8px 0 6px; font: 600 1.625rem/1.1 var(--font-display); letter-spacing: -0.03em; }
.app-card-copy p { margin: 0; color: var(--stage-text-2); }
.app-card .eyebrow { color: var(--champagne); }

@media (max-width: 860px) {
  .apps-grid { grid-template-columns: minmax(0, 1fr); }
  .app-feature { grid-template-columns: minmax(0, 1fr); }
  .app-feature-art { order: -1; padding: 28px 24px 0; }
}

/* ------------------------------------------------------------ Studio */
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.orbit-card { display: grid; place-items: center; aspect-ratio: 1; padding: clamp(12px, 3vw, 32px);
  background: radial-gradient(circle at 50% 50%, #221f1c, var(--stage) 70%); }
.orbit-diagram { width: 100%; height: auto; }
.studio-copy { display: grid; gap: 20px; }
.studio-copy p { margin: 0; }
.studio-copy p:not(.lede):not(.pill) { color: var(--text-2); max-width: 58ch; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 16px 0 0; border-top: 1px solid var(--line-2); }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.stats div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-2); }
.stats dd { margin: 0; font: 600 clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem)/1 var(--font-display); letter-spacing: -0.03em; }
.stats dt { font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); list-style: none; margin: clamp(72px, 10vw, 130px) 0 0; padding: 0; }
.principles li { padding-top: 24px; border-top: 1px solid var(--line-2); }
.principles .num { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.12em; color: var(--gold-text); }
.principles h3 { margin: 18px 0 10px; font: 600 clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem)/1.15 var(--font-display); letter-spacing: -0.025em; }
.principles p { margin: 0; color: var(--text-2); }

@media (max-width: 860px) {
  .studio-grid, .principles { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------ Contact */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(88px, 11vw, 150px);
  background: radial-gradient(ellipse 60% 70% at 12% 0%, rgba(214, 200, 176, 0.1), transparent 70%), var(--stage);
}
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stage-line); }
.contact-row {
  display: grid; grid-template-columns: 170px minmax(0, 1fr) auto;
  grid-template-areas: "kind email arrow" ". desc arrow";
  column-gap: 28px; row-gap: 6px; padding: 30px 0; border-bottom: 1px solid var(--stage-line);
  color: inherit; text-decoration: none;
}
.contact-kind { grid-area: kind; padding-top: 0.9em; font: 500 0.75rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stage-text-3); }
.contact-email { grid-area: email; font: 500 clamp(1.3rem, 0.9rem + 2.4vw, 3rem)/1.15 var(--font-display); letter-spacing: -0.03em; overflow-wrap: anywhere; transition: color 0.3s; }
.contact-desc { grid-area: desc; color: var(--stage-text-2); }
.contact-row .arrow {
  grid-area: arrow; align-self: center; width: 52px; height: 52px; padding: 15px; border-radius: 50%;
  border: 1px solid var(--stage-line-2); transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.4s var(--ease);
}
.contact-row:hover .arrow, .contact-row:focus-visible .arrow { background: var(--platinum); color: var(--obsidian); transform: rotate(-45deg); }
.contact-row:hover .contact-email { color: #e9d7ae; }
@media (max-width: 720px) {
  .contact-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kind arrow" "email arrow" "desc arrow"; }
  .contact-kind { padding-top: 0; }
  .contact-row .arrow { width: 44px; height: 44px; padding: 12px; }
}

/* ------------------------------------------------------------ Footer */
.site-footer { padding-block: 68px 30px; background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 48px; }
.footer-brand .brand { color: var(--text); }
.footer-brand .wm { height: 17px; width: auto; }
.footer-brand p { margin: 18px 0 0; color: var(--text-3); max-width: 30ch; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-cols h2 { margin: 0 0 12px; font: 600 0.9375rem/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--text); }
.footer-cols ul { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; }
.footer-cols a, .footer-cols span { display: inline-block; padding: 4px 0; color: var(--text-2); text-decoration: none; }
.footer-cols li > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.footer-cols a:hover { color: var(--text); text-decoration: underline; }
.footer-cols em { white-space: nowrap; padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 999px; font: normal 0.6875rem/1.5 var(--mono); letter-spacing: 0.06em; color: var(--text-3); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--text-3); }
.footer-bottom p { margin: 0; }
.footer-email { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.footer-email span { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.footer-bottom .footer-email a { color: var(--text); font-weight: 500; }
.footer-meta { display: flex; align-items: center; gap: 28px; }
.footer-bottom a { color: var(--text-3); text-decoration: none; padding: 4px 0; }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 1100px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------ Product pages */
.product-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(26px, 4vw, 44px) clamp(48px, 6vw, 84px);
  background:
    radial-gradient(ellipse 50% 70% at 80% 36%, rgba(255, 160, 80, 0.14), transparent 70%),
    radial-gradient(ellipse 60% 60% at 0% 0%, rgba(214, 200, 176, 0.08), transparent 70%),
    var(--stage);
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 0.875rem; color: var(--stage-text-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--stage-line-2); }
.crumbs a { color: var(--stage-text-2); text-decoration: none; }
.crumbs a:hover { color: var(--stage-text); text-decoration: underline; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(28px, 4vw, 44px); }
.product-id { display: flex; align-items: center; gap: 22px; }
.product-id .app-icon { width: clamp(80px, 8vw, 112px); height: auto; aspect-ratio: 1; }
.product-hero h1 { margin: 0; font: 600 clamp(2.6rem, 1.6rem + 3.8vw, 4.8rem)/0.98 var(--font-display); letter-spacing: -0.045em; }
.product-hero .tagline { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); }
.product-hero .chips { margin-top: 28px; }
.tabs { display: flex; gap: 8px; margin-top: 30px; }
.tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--stage-line-2); border-radius: 2px; color: var(--stage-text-2); text-decoration: none; font-size: 0.9375rem; transition: border-color 0.2s, color 0.2s; }
.tab:hover { border-color: var(--platinum); color: var(--stage-text); }
.tab[aria-current="page"] { background: var(--platinum); border-color: var(--platinum); color: var(--obsidian); font-weight: 500; }
.product-art { position: relative; }
.product-hero.compact .product-grid { grid-template-columns: minmax(0, 1fr); }
.product-hero.compact h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.8rem); }
.product-hero .meta-line { margin: 12px 0 0; color: var(--stage-text-2); }
@media (max-width: 860px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-art { order: -1; }
}

.product-body { padding-block: clamp(56px, 8vw, 100px) clamp(80px, 10vw, 130px); }
.product-body .lede { font-size: clamp(1.1875rem, 1rem + 0.7vw, 1.625rem); line-height: 1.5; color: var(--text); max-width: 34em; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; }
.feature { padding: 24px 22px 26px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.feature svg { width: 30px; height: 30px; color: var(--text); }
.feature svg .gold { color: var(--gold-text); }
.feature h3 { margin: 18px 0 8px; font: 600 1.125rem/1.25 var(--font-display); letter-spacing: -0.015em; }
.feature p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--text-2); }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .features { grid-template-columns: minmax(0, 1fr); } }

.block-title { margin: clamp(64px, 9vw, 110px) 0 22px; font: 600 clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem)/1.05 var(--font-display); letter-spacing: -0.035em; }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 500 clamp(1.0625rem, 1rem + 0.3vw, 1.25rem)/1.35 var(--font-display); letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--text-2); }
.faq .plus { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.faq .plus::after { rotate: 90deg; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--text); border-color: var(--text); color: var(--bg); }
.faq .answer { padding: 0 56px 26px 0; color: var(--text-2); max-width: 70ch; }
.faq .answer p { margin: 0; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } }

.help-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px;
  margin-top: 22px; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.help-card p { margin: 0; max-width: 56ch; color: var(--text-2); font-size: 1.0625rem; }
.help-card a:not(.btn) { color: var(--text); font-weight: 500; }
@media (max-width: 720px) { .help-card { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ Documents (privacy) */
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); padding-block: clamp(56px, 8vw, 100px) clamp(80px, 10vw, 130px); }
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.toc h2 { margin: 0 0 14px; font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.toc ol { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--text-2); font-size: 0.9375rem; text-decoration: none; }
.toc a:hover { color: var(--text); border-left-color: var(--champagne); }
.prose { max-width: 68ch; }
.prose h2 { margin: 56px 0 14px; font: 600 clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem)/1.15 var(--font-display); letter-spacing: -0.025em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { margin: 30px 0 8px; font: 600 1.1875rem/1.3 var(--font-display); letter-spacing: -0.01em; }
.prose p { margin: 0 0 14px; color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); font-weight: 500; }
.callout { padding: 24px 26px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.callout p { margin: 0; color: var(--text); font-size: 1.0625rem; }
@media (max-width: 900px) { .doc { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

/* ------------------------------------------------------------ 404 */
.lost { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: calc(100svh - var(--header-h)); padding-block: 56px; text-align: center; }
.lost .wrap { display: grid; justify-items: center; gap: 20px; }
.lost-art { width: min(100%, 560px); height: auto; }
.lost h1 { margin: 0; font: 600 clamp(2.6rem, 1.6rem + 4vw, 5rem)/1 var(--font-display); letter-spacing: -0.045em; }
.lost p { margin: 0; max-width: 40ch; color: var(--stage-text-2); font-size: 1.125rem; }

/* ------------------------------------------------------------ Motion */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  .hero-art .layer { animation: ph-explode 1.9s var(--ease) calc(0.2s + var(--i) * 0.06s) both, ph-float calc(7s + var(--i) * 0.8s) ease-in-out calc(2.3s + var(--i) * 0.06s) infinite; }
  .hero-art .art-back, .hero-art .art-front { animation: fade-in 2s ease 0.4s both; }
  .hero-copy > * { animation: rise 1s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .product-hero .product-copy > * { animation: rise 0.9s var(--ease) both; }
  .product-hero .product-art { animation: rise 1.1s var(--ease) 0.1s both; }

  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}
@keyframes ph-explode { from { transform: translateY(var(--collapse)); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes ph-float { 0%, 100% { transform: none; } 50% { transform: translateY(-0.8%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
