/* Try On AI — site styles. Tokens follow the app's design system (core/designsystem/tryon/TryOnTokens.kt). */

:root {
  --bg: #FAFAF8;
  --bg-2: #F1F0ED;
  --surface: #FFFFFF;
  --ink: #141416;
  --ink-2: #45443F;
  --muted: #66655F;
  --line: #E5E3DF;
  --line-strong: #D6D3CD;
  --accent: #C2410C;
  --accent-ink: #9A3412;
  --accent-soft: #FCEEE7;
  --gold: #B8892E;
  --success: #15803D;
  --success-soft: #E6F4EA;
  --danger: #B42318;
  --shadow-sm: 0 1px 2px rgba(20, 20, 22, .05), 0 2px 8px rgba(20, 20, 22, .04);
  --shadow-lg: 0 30px 80px -30px rgba(20, 20, 22, .28), 0 10px 30px -12px rgba(20, 20, 22, .12);
  --header-bg: rgba(250, 250, 248, .78);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 72px;
  color-scheme: light;

  /* names used inside the ported legal documents */
  --accent-gold: var(--accent);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-2);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0E0F;
    --bg-2: #161617;
    --surface: #1B1B1D;
    --ink: #F4F2EE;
    --ink-2: #D0CDC6;
    --muted: #9C998F;
    --line: #2A2A2D;
    --line-strong: #3B3B3F;
    --accent: #F28A57;
    --accent-ink: #F6A77F;
    --accent-soft: rgba(242, 138, 87, .12);
    --gold: #D9B56A;
    --success: #4ADE80;
    --success-soft: rgba(74, 222, 128, .1);
    --danger: #F87171;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 10px 30px -12px rgba(0, 0, 0, .5);
    --header-bg: rgba(14, 14, 15, .72);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0E0E0F;
  --bg-2: #161617;
  --surface: #1B1B1D;
  --ink: #F4F2EE;
  --ink-2: #D0CDC6;
  --muted: #9C998F;
  --line: #2A2A2D;
  --line-strong: #3B3B3F;
  --accent: #F28A57;
  --accent-ink: #F6A77F;
  --accent-soft: rgba(242, 138, 87, .12);
  --gold: #D9B56A;
  --success: #4ADE80;
  --success-soft: rgba(74, 222, 128, .1);
  --danger: #F87171;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 10px 30px -12px rgba(0, 0, 0, .5);
  --header-bg: rgba(14, 14, 15, .72);
  color-scheme: dark;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.wrap-narrow { max-width: 860px; }

/* ───────── Type ───────── */
.display-xl, .display-lg, .display-md, .display-sm {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: .98; margin: 0;
  text-wrap: balance;
}
.display-xl { font-size: clamp(3.2rem, 8.6vw, 7.4rem); }
.display-lg { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; }
.display-md { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.04; }
.display-sm { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; }
.display-xl em, .display-lg em, .display-md em, .display-sm em { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 40ch; margin: 22px 0 0; text-wrap: pretty; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow:empty { display: none; }

/* ───────── Buttons & chips ───────── */
.btn {
  --b-bg: var(--surface); --b-fg: var(--ink); --b-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
  font-weight: 600; font-size: .95rem; letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.btn:active { transform: translateY(0); }
.btn-ink { --b-bg: var(--ink); --b-fg: var(--bg); --b-bd: var(--ink); }
.btn-ink:hover { box-shadow: 0 10px 30px -10px rgba(20, 20, 22, .45); }
.btn-accent { --b-bg: var(--accent); --b-fg: #fff; --b-bd: var(--accent); }
.btn-ghost { --b-bg: transparent; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .88rem; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1rem; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-play { padding-left: 18px; }
.btn-play svg { width: 20px; height: 20px; }

.text-link { font-weight: 600; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: var(--accent-soft); color: var(--accent-ink);
}
.chip-quiet { background: var(--bg-2); color: var(--ink-2); }
.chip-success { background: var(--success-soft); color: var(--success); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row:empty { display: none; }

/* ───────── Header ───────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.brand-word { font-family: var(--serif); font-size: 1.55rem; letter-spacing: -.01em; line-height: 1; }
.brand-word em { color: var(--accent); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent);
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: transparent; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.i-moon { display: none !important; }
:root[data-theme="dark"] .i-sun { display: none !important; }
:root[data-theme="dark"] .i-moon { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none !important; }
  :root:not([data-theme="light"]) .i-moon { display: block !important; }
}
.menu-btn { display: none; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu nav { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 24px; }
.mobile-menu nav a:not(.btn) {
  padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.7rem; line-height: 1.1;
}
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn { margin-top: 20px; }

@media (max-width: 900px) {
  .nav-links, .header-cta { display: none; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
}

/* ───────── Sections ───────── */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { display: grid; gap: 28px; grid-template-columns: 1.1fr 1fr; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .lede { margin: 0; justify-self: end; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .lede { justify-self: center; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head .lede { justify-self: start; } }
.bg-mist { background: var(--bg-2); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Always-dark band */
.band-dark {
  --bg: #0E0E0F; --bg-2: #18181A; --surface: #1D1D20; --ink: #F4F2EE; --ink-2: #CFCCC5; --muted: #98958D;
  --line: #2C2C30; --line-strong: #3E3E43; --accent: #F28A57; --accent-ink: #F6A77F; --accent-soft: rgba(242, 138, 87, .12);
  background: var(--bg); color: var(--ink);
}

/* ───────── Hero ───────── */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%); opacity: .9; pointer-events: none; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy .lede { max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: .88rem; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; stroke: var(--success); fill: none; stroke-width: 2; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; } }

.hero-visual { position: relative; }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.3;
  animation: floaty 7s ease-in-out infinite;
}
.float-card img { width: 52px; height: 60px; object-fit: contain; border-radius: 10px; background: var(--bg-2); }
.float-card strong { display: block; font-weight: 600; }
.float-card small { color: var(--muted); }
.float-card.fc-1 { left: -36px; top: 18%; }
.float-card.fc-2 { right: -28px; bottom: 14%; animation-delay: -3.5s; padding: 12px 16px; }
.fc-2 .chip { padding: 5px 10px; }
@media (max-width: 600px) { .float-card.fc-1 { left: -6px; top: 8%; } .float-card.fc-2 { right: -6px; bottom: 6%; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ───────── Compare slider ───────── */
.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 600 / 804; border-radius: 28px; overflow: hidden;
  background: var(--bg-2); box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; cursor: ew-resize;
  isolation: isolate;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 2;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
}
.compare-knob {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: #fff; color: #141416; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.compare-knob svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compare-tag {
  position: absolute; bottom: 18px; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .85); color: #141416; backdrop-filter: blur(8px);
}
.compare-tag.l { left: 18px; } .compare-tag.r { right: 18px; background: #141416; color: #fff; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.compare:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
.compare-hint { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 16px; }

/* ───────── Ticker / marquee ───────── */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.ticker-track { display: flex; gap: 56px; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 56px; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); white-space: nowrap; color: var(--ink-2); }
.ticker-item::after { content: "✦"; font-size: .6em; color: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ───────── Facts strip ───────── */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 32px 24px 8px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.02em; }
.fact span { display: block; margin-top: 10px; color: var(--muted); font-size: .92rem; max-width: 22ch; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ───────── Steps ───────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num { font-family: var(--serif); font-size: 1.1rem; color: var(--accent); }
.step h3 { margin: 0; font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--ink-2); }
.step-media { margin: 8px -28px -28px; aspect-ratio: 4 / 3; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; }
.step-media img { width: 100%; height: 100%; object-fit: cover; }
.step-media.contain img { object-fit: contain; padding: 22px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.src-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.src-list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.src-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ───────── Bento ───────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  position: relative; grid-column: span 2; padding: 30px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 260px;
}
.tile.w3 { grid-column: span 3; } .tile.w4 { grid-column: span 4; } .tile.w6 { grid-column: span 6; }
.tile h3 { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; }
.tile p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.tile .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 6px;
}
.tile .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile-dark { background: #141416; color: #F4F2EE; border-color: #141416; }
.tile-dark p { color: #CFCCC5; }
.tile-dark .ico { background: rgba(255, 255, 255, .08); color: #F6A77F; }
.tile-media { margin-top: auto; }
.tile-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.tile-split { min-height: 340px; }
.tile-split .tile-media { position: relative; margin: -30px -30px -30px 0; align-self: stretch; }
.tile-split .tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.share-mock { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--bg-2); font-size: .85rem; color: var(--muted); }
.share-mock img { width: 36px; height: 36px; border-radius: 10px; background: #fff; }
.share-mock strong { display: block; color: var(--ink); font-size: .9rem; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .tile, .tile.w3, .tile.w4 { grid-column: span 1; } .tile.w6, .tile.wide-m { grid-column: span 2; } }
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; } .tile, .tile.w3, .tile.w4, .tile.w6, .tile.wide-m { grid-column: span 1; }
  .tile-split { grid-template-columns: 1fr; } .tile-split .tile-media { margin: 0 -30px -30px; height: 280px; }
}

.mini-checks { display: grid; gap: 10px; margin-top: auto; }
.mini-checks div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-size: .9rem; font-weight: 500; }
.mini-checks svg { width: 18px; height: 18px; stroke: var(--success); fill: none; stroke-width: 2.2; flex-shrink: 0; }
.closet-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--bg-2); margin-top: auto; width: max-content; max-width: 100%; }
.closet-tabs span { padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.closet-tabs span.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.lang-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.lang-cloud span { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: .95rem; }

/* ───────── Split feature rows ───────── */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(80px, 10vw, 140px); }
.feature-row.flip .feature-media { order: 2; }
.feature-copy .lede { max-width: 42ch; }
.feature-media { position: relative; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); }
.ticks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; } .feature-row.flip .feature-media { order: 0; } }

.phone {
  position: relative; width: min(300px, 78%); margin: 0 auto; aspect-ratio: 540 / 1170; border-radius: 42px; padding: 10px;
  background: #0b0b0c; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2a2a2c;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 33px; }
.phone.tilt-l { transform: rotate(-4deg); } .phone.tilt-r { transform: rotate(4deg); }
.phone-pair { display: flex; justify-content: center; align-items: center; gap: 0; }
.phone-pair .phone { width: min(260px, 48%); margin: 0; }
.phone-pair .phone + .phone { margin-left: -40px; margin-top: 80px; }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-glow::before {
  content: ""; position: absolute; inset: 8% 4%; background: radial-gradient(closest-side, var(--accent-soft), transparent); z-index: -1; filter: blur(10px);
}

/* ───────── Privacy band ───────── */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.promise { background: var(--bg); padding: 34px 30px; }
.promise b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; margin-bottom: 12px; }
.promise p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .promise-grid { grid-template-columns: 1fr; } }

/* ───────── Shop band on home ───────── */
.shop-band { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 32px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.shop-band-media { position: relative; min-height: 460px; }
.shop-band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-band-copy { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 860px) { .shop-band { grid-template-columns: 1fr; } .shop-band-media { min-height: 340px; } }

/* ───────── Gallery strip ───────── */
.screens { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px clamp(16px, 4vw, 40px) 30px; scrollbar-width: none; }
.screens::-webkit-scrollbar { display: none; }
.screens figure { margin: 0; flex: 0 0 auto; width: 240px; scroll-snap-align: center; }
.screens .phone { width: 100%; }
.screens figcaption { text-align: center; margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* ───────── Pricing ───────── */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.plan.featured { background: #141416; color: #F4F2EE; border-color: #141416; box-shadow: var(--shadow-lg); }
.plan.featured .muted, .plan.featured li { color: #CFCCC5; }
.plan-badge { position: absolute; top: -12px; left: 26px; }
.plan h3 { margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
.plan .price { font-family: var(--serif); font-size: 3rem; line-height: 1; letter-spacing: -.02em; margin: 14px 0 2px; }
.plan .price small { font-family: var(--sans); font-size: .85rem; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan.featured .price small { color: #98958D; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "—"; color: var(--accent); }
.plan .btn { margin-top: auto; }
.plan.featured .btn { --b-bg: #F4F2EE; --b-fg: #141416; --b-bd: #F4F2EE; }
.addon { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
.addon p { margin: 0; color: var(--ink-2); }
.addon strong { color: var(--ink); }
.fine { font-size: .84rem; color: var(--muted); margin-top: 18px; }
@media (max-width: 1040px) { .pricing { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }

/* ───────── FAQ ───────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 500; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .35s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--bg-2); }
.faq .answer { padding: 0 60px 28px 0; color: var(--ink-2); max-width: 72ch; }
.faq .answer p { margin: 0 0 12px; }
.faq .answer a { color: var(--accent); font-weight: 600; }
.faq-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.faq-nav a { padding: 10px 14px; border-radius: 12px; color: var(--ink-2); font-weight: 500; }
.faq-nav a:hover { background: var(--bg-2); color: var(--ink); }
.faq-group + .faq-group { margin-top: 72px; }
.faq-group h2 { margin-bottom: 18px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-nav { position: static; display: flex; flex-wrap: wrap; } .faq .answer { padding-right: 0; } }

/* ───────── CTA ───────── */
.cta-card {
  position: relative; overflow: hidden; border-radius: 36px; padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px);
  background: #141416; color: #F4F2EE; text-align: center;
}
.cta-card::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background: radial-gradient(closest-side, rgba(242, 138, 87, .35), transparent 70%); pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card .display-lg em { color: #F6A77F; }
.cta-card .lede { color: #CFCCC5; margin-left: auto; margin-right: auto; }
.cta-card .hero-cta { justify-content: center; }
.cta-card .btn { --b-bg: transparent; --b-fg: #F4F2EE; --b-bd: #3E3E43; }
.cta-card .btn:hover { border-color: #F4F2EE; }
.cta-card .btn-light { --b-bg: #F4F2EE; --b-fg: #141416; --b-bd: #F4F2EE; }

/* ───────── About ───────── */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); }
.page-hero .lede { max-width: 52ch; }
.story-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.story-grid .prose-lg p { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.7; color: var(--ink-2); margin: 0 0 22px; }
.story-grid .prose-lg p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.6em; line-height: .82; padding: 6px 12px 0 0; color: var(--accent); }
.pull { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.12; letter-spacing: -.015em; position: sticky; top: calc(var(--header-h) + 40px); margin: 0; }
.pull em { color: var(--accent); }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } .pull { position: static; } }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product-card { position: relative; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.product-card .pc-media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-2); }
.product-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.04); }
.product-card .pc-body { padding: 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-card h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; }
.product-card p { margin: 0; color: var(--ink-2); }
.product-card .pc-foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.product-card .pkg { font-size: .78rem; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }

.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stack div { background: var(--bg); padding: 28px 24px; }
.stack b { display: block; font-weight: 600; margin-bottom: 8px; }
.stack span { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 900px) { .stack { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stack { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.member.lead { grid-column: span 2; display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; }
.avatar {
  width: 100%; aspect-ratio: 1; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent-soft), var(--bg-2)); font-family: var(--serif); font-size: 4.5rem; color: var(--accent);
}
.member:not(.lead) .avatar { width: 72px; font-size: 2rem; border-radius: 16px; }
.member h3 { margin: 0; font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; }
.member .role { color: var(--accent); font-weight: 600; font-size: .9rem; }
.member p { margin: 0; color: var(--ink-2); }
.member.join { border-style: dashed; background: transparent; justify-content: center; }
@media (max-width: 960px) { .team { grid-template-columns: 1fr 1fr; } .member.lead { grid-column: span 2; } }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } .member.lead { grid-column: span 1; grid-template-columns: 1fr; } .member.lead .avatar { width: 140px; } }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 6vw, 80px); }
.value { padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 12px; }
.value .n { font-family: var(--serif); font-size: 1.4rem; color: var(--accent); }
.value h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.value p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 40px 44px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline li.now::before { background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.timeline time { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.timeline h3 { margin: 6px 0 6px; font-size: 1.2rem; font-weight: 600; }
.timeline p { margin: 0; color: var(--ink-2); max-width: 56ch; }

/* ───────── Contact ───────── */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background .2s; font-size: 1rem;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366655F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .err { display: none; font-size: .82rem; color: var(--danger); }
.field.invalid .err { display: block; }
.topic-pills { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.topic-pills legend { width: 100%; padding: 0; }
.topic-pills legend { margin-bottom: 10px; }
.topic-pills label { cursor: pointer; }
.topic-pills input { position: absolute; opacity: 0; pointer-events: none; }
.topic-pills span {
  display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .9rem; font-weight: 500;
  transition: all .2s;
}
.topic-pills label:hover span { border-color: var(--ink); }
.topic-pills input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.topic-pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.check a { color: var(--accent); font-weight: 600; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-foot small { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 20px; padding: 18px 20px; border-radius: 16px; font-size: .95rem; }
.form-status.show { display: block; }
.form-status.ok { background: var(--success-soft); color: var(--ink); }
.form-status.bad { background: var(--accent-soft); color: var(--ink); }
.form-status a, .form-status button.linkish { color: var(--accent); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
[data-if-topic] { display: none; }
[data-if-topic].shown { display: flex; }

.info-stack { display: grid; gap: 14px; }
.info-card { padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.info-card h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 600; }
.info-card p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.info-card a { color: var(--accent); font-weight: 600; word-break: break-word; }
.info-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.info-card .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── Legal center ───────── */
.legal-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.legal-card {
  display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); min-height: 190px;
}
.legal-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.legal-card .tag { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal-card h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.05; }
.legal-card p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.legal-card .go { margin-top: auto; font-weight: 600; font-size: .9rem; display: inline-flex; gap: 8px; color: var(--accent); }
@media (max-width: 960px) { .legal-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .legal-cards { grid-template-columns: 1fr; } }
.legal-group + .legal-group { margin-top: 64px; }
.legal-group > h2 { margin-bottom: 26px; }

/* ───────── Legal documents ───────── */
.legal-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.legal-hero .lede { max-width: 60ch; }
.crumbs { display: flex; gap: 10px; font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 34px 0 20px; }
.legal-meta div { display: flex; flex-direction: column; gap: 2px; }
.legal-meta dt { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal-meta dd { margin: 0; font-weight: 500; }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-top: 56px; padding-bottom: 120px; }
.legal-toc-inner { position: sticky; top: calc(var(--header-h) + 28px); display: flex; flex-direction: column; gap: 18px; }
.toc-title { margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc ol a { display: flex; gap: 12px; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 1px solid transparent; font-size: .9rem; color: var(--ink-2); line-height: 1.4; transition: color .2s, border-color .2s; }
.legal-toc ol a span { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .8rem; padding-top: 1px; }
.legal-toc ol a:hover { color: var(--ink); }
.legal-toc ol a.active { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }
.toc-switch { display: block; padding: 16px 18px; border-radius: 14px; background: var(--bg-2); font-size: .88rem; color: var(--ink-2); line-height: 1.45; }
.toc-switch:hover { color: var(--ink); }
.toc-switch strong { color: var(--ink); }
.legal-toc .btn { align-self: flex-start; }
@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; padding-top: 32px; }
  .legal-toc-inner { position: static; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; border-left: 0; gap: 0 18px; }
  .legal-toc ol a { padding-left: 0; border-left: 0; }
  .legal-toc ol a.active { border: 0; }
}
@media (max-width: 520px) { .legal-toc ol { grid-template-columns: 1fr; } }

.prose { font-size: 1.02rem; line-height: 1.75; color: var(--ink-2); max-width: 760px; }
.prose .doc-section { padding: 0 0 48px; margin: 0 0 48px; border-bottom: 1px solid var(--line); }
.prose .doc-section:last-child { border-bottom: 0; margin-bottom: 0; }
.prose h2 {
  display: flex; align-items: baseline; gap: 16px; margin: 0 0 22px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.015em; color: var(--ink);
}
.prose .section-num { font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--accent); letter-spacing: .06em; transform: translateY(-.5em); }
.prose h3 { margin: 30px 0 10px; font-size: 1.08rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.prose p { margin: 0 0 16px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 1.3rem; }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose li::marker { color: var(--accent); }
.prose code { font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--bg-2); }
.prose .callout { margin: 24px 0; padding: 22px 24px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.prose .callout-info { background: var(--accent-soft); border-color: transparent; }
.prose .callout-success { background: var(--success-soft); border-color: transparent; }
.prose .callout-title { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.prose .callout p:last-child, .prose .callout ul:last-child, .prose .callout ol:last-child { margin-bottom: 0; }
.prose .callout ul, .prose .callout ol { margin-top: 8px; }
.prose .table-wrapper { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
.prose tr:last-child td { border-bottom: 0; }
.prose .ads-spec-box { margin: 22px 0; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px; }
.prose .ads-header-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.prose .ads-header-row h3 { margin: 0; }
.prose .id-item { padding-top: 14px; border-top: 1px solid var(--line); }
.prose .id-label { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prose .id-item p { margin: 4px 0 0; }
.prose .tag-badge { display: inline-flex; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--accent-soft); color: var(--accent-ink); }

/* ───────── Footer ───────── */
.site-footer { border-top: 1px solid var(--line); padding: 80px 0 32px; background: var(--bg); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.footer-brand p { color: var(--ink-2); max-width: 32ch; margin: 18px 0 14px; font-size: .95rem; }
.footer-mail { font-weight: 600; border-bottom: 1px solid var(--line-strong); }
.footer-mail:hover { color: var(--accent); border-color: var(--accent); }
.footer-badges { margin-top: 24px; }
.footer-badges img { height: 44px; width: auto; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { font-size: .92rem; color: var(--ink-2); transition: color .2s; }
.footer-cols a:hover { color: var(--accent); }
.footer-h { margin: 0 0 6px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-mark {
  margin: 72px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 15vw, 13rem); line-height: .9; letter-spacing: -.04em;
  white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--line-strong); user-select: none;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 28px; margin-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ───────── 404 ───────── */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .display-xl { font-size: clamp(6rem, 22vw, 16rem); }

/* ───────── Motion ───────── */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ───────── Print (legal pages) ───────── */
@media print {
  .site-header, .site-footer, .legal-toc, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-grid { display: block; padding: 0; }
  .prose { max-width: none; color: #000; }
  .legal-hero { border: 0; padding: 0 0 20px; }
}
