/* aryxzing — one stylesheet for the whole site.
   Tokens match the portfolio and the apps' Theme.swift. System fonts only, no external requests. */

:root {
  --bg: #000;
  --tile: #101010;
  --tile-2: #161617;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.22);
  --fg: #f5f5f7;
  --fg-2: #a1a1a6;
  --fg-3: #6e6e73; /* large text and decoration only: 4.1:1 on black */
  --gold: #d9b27a;
  --gold-2: #f3dcb2;
  --rose: #e08a6d;  /* portfolio gradient end, headlines only */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --wrap: 1100px;
  --gutter: clamp(16px, 5vw, 32px);
  --radius: 28px;
  --radius-sm: 16px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  color-scheme: dark;
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--fg); }

::selection { background: var(--gold); color: #000; }

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--fg);
  color: #000;
  font-weight: 600;
}
.skip:focus { top: 10px; color: #000; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
  backdrop-filter: saturate(150%) blur(20px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.brand { display: inline-flex; align-items: center; padding: 6px 0; }
.brand img { width: 92px; height: auto; }
.nav { display: flex; gap: 4px; font-size: 14px; }
.nav a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--fg-2);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: var(--fg); }

/* ---------- Type ---------- */

.eyebrow {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  color: var(--fg-2);
}
.display {
  font-size: clamp(44px, 9vw, 112px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.headline {
  font-size: clamp(34px, 5.6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.lead {
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.4;
  color: var(--fg-2);
}
.muted { color: var(--fg-3); }  /* used on large headline text only */
.small { font-size: 14px; color: var(--fg-2); }

.silver {
  padding-bottom: 0.12em;   /* room for descenders, which background-clip would cut */
  margin-bottom: -0.12em;
  background: linear-gradient(180deg, #fff 30%, #8d8d92 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.center .actions { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: var(--gold-2); color: #000; }

.btn-line { border-color: var(--line-2); color: var(--fg); }
.btn-line:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.35); }

.link {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}
.link:hover { text-decoration-color: var(--fg); }

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  font-size: 17px;
  color: var(--fg);
}
.more::after { content: "›"; transition: transform 0.2s ease; }
.more:hover::after { transform: translateX(3px); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 11vw, 140px); }
.section-tight { padding-block: clamp(48px, 7vw, 88px); }
.center { text-align: center; }
.stack > * + * { margin-top: 20px; }

.hero { padding-block: clamp(64px, 12vw, 150px) clamp(48px, 8vw, 96px); }
.hero > * + * { margin-top: 24px; }
.hero > .display { margin-top: 20px; }
.hero > .eyebrow + .display { margin-top: 12px; }
.hero > .actions { margin-top: 36px; }
.hero > .meta { margin-top: 16px; }
.hero .lead { max-width: 40rem; }
.hero.center .lead { margin-inline: auto; }

.app-icon { width: 128px; height: 128px; }
.center .app-icon { margin-inline: auto; }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
  color: var(--fg-2);
}
.center .meta { justify-content: center; }
.meta span + span::before { content: "·"; margin-right: 16px; color: var(--fg-3); }

/* ---------- Cards ---------- */

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tile);
  padding: clamp(24px, 4vw, 40px);
}
a.card, .card-hover { transition: background-color 0.3s ease, border-color 0.3s ease; }
a.card:hover, .card-hover:hover { background: var(--tile-2); border-color: rgba(255, 255, 255, 0.16); }

.grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.app-card { display: flex; flex-direction: column; gap: 20px; min-height: 100%; }
.app-card img { width: 88px; height: 88px; margin-left: -6px; }
.app-card h3 { font-size: clamp(30px, 4vw, 40px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.app-card p { color: var(--fg-2); font-size: 17px; }
.app-card .price { margin-top: 8px; color: var(--fg); font-weight: 600; font-size: 17px; }
.app-card .more { margin-top: auto; }

.feature h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.feature p, .feature li { color: var(--fg-2); font-size: 17px; }
.feature .glyph {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--tile-2);
  color: var(--fg);
}
.feature .glyph svg { width: 22px; height: 22px; }

/* ---------- Showcase: copy beside a screenshot ---------- */

.showcase { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .showcase { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .showcase.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .showcase.flip > :first-child { order: 2; }
}
.showcase .copy > * + * { margin-top: 16px; }
.showcase .copy p, .showcase .copy li { color: var(--fg-2); font-size: 17px; }
.showcase .copy strong { color: var(--fg); font-weight: 600; }

.bullets { padding: 0; list-style: none; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li + li { margin-top: 10px; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fg-2);
}

.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--tile);
  box-shadow: 0 50px 140px -60px rgba(217, 178, 122, 0.28);
}
.shot img { width: 100%; }
.hero-shot { max-width: 880px; margin: clamp(48px, 7vw, 80px) auto 0; }

/* ---------- Tables ---------- */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  text-align: left;
}
.table th, .table td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table th { font-weight: 600; color: var(--fg); }
.table thead th { font-size: 14px; color: var(--fg-2); font-weight: 500; }
.table td { color: var(--fg-2); }
.table tr:last-child > * { border-bottom: 0; }

/* Narrow screens: every row becomes a small labelled block. */
@media (max-width: 640px) {
  .table.stacked thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table.stacked, .table.stacked tbody, .table.stacked tr, .table.stacked td, .table.stacked th { display: block; }
  .table.stacked tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .table.stacked tr:last-child { border-bottom: 0; }
  .table.stacked td, .table.stacked th { padding: 3px 0; border: 0; }
  .table.stacked td::before {
    content: attr(data-label);
    display: block;
    font-size: 13px;
    color: var(--fg-2);
    font-weight: 600;
  }
  .table.stacked td:first-child { color: var(--fg); }
}

kbd {
  display: inline-block;
  min-width: 1.8em;
  padding: 1px 8px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 8px;
  background: var(--tile-2);
  color: var(--fg);
  font: 600 0.88em/1.5 var(--font);
  text-align: center;
}
.keys { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.keys kbd { font-size: clamp(22px, 4vw, 34px); padding: 10px 22px; border-radius: 16px; min-width: 2.6em; }

/* ---------- Notices ---------- */

.notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--tile);
  padding: 18px 20px;
  text-align: left;
  font-size: 15px;
  color: var(--fg-2);
}
.notice svg { width: 22px; height: 22px; margin-top: 1px; color: var(--fg); }
.notice strong { color: var(--fg); font-weight: 600; }
.notice p + p { margin-top: 6px; }
.notice-strong {
  border: 1px solid rgba(245, 245, 247, 0.45);
  background: var(--tile-2);
  font-size: 16px;
  color: var(--fg);
}
.notice-strong strong { font-size: 17px; }
.notices { display: grid; gap: 12px; max-width: 720px; margin: 28px auto 0; }

.steps { counter-reset: step; padding: 0; list-style: none; display: grid; gap: 12px; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--tile);
  color: var(--fg-2);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--fg);
  font-weight: 600;
  font-size: 15px;
}
.steps strong { color: var(--fg); font-weight: 600; }

/* ---------- Requirements ---------- */

.reqs { display: grid; gap: 0; padding: 0; list-style: none; }
.reqs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg-2);
}
.reqs li:last-child { border-bottom: 0; }
.reqs li span:first-child { color: var(--fg); font-weight: 500; }
.reqs li span:last-child { text-align: right; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 600;
  letter-spacing: -0.02em;
  border-radius: 8px;
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  color: var(--fg-2);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--fg); }
.faq summary:hover::after { color: var(--fg); }
.faq .answer { padding: 0 4px 24px; max-width: 46rem; color: var(--fg-2); }
.faq .answer > * + * { margin-top: 12px; }

/* ---------- Legal pages ---------- */

.legal { max-width: 760px; margin-inline: auto; }
.legal h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.legal .effective { margin-top: 16px; color: var(--fg-2); }
.legal h2 {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.legal p, .legal ul { margin-top: 16px; color: var(--fg-2); }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--fg-3); }
.legal strong { color: var(--fg); font-weight: 600; }
.legal .table { margin-top: 20px; font-size: 15px; }
.legal .table th:first-child, .legal .table td:first-child { min-width: 9em; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.legal-nav a {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--fg-2);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.legal-nav a:hover { color: var(--fg); border-color: var(--line-2); background: rgba(255, 255, 255, 0.05); }
.legal-nav a[aria-current="page"] { color: var(--fg); border-color: var(--line-2); }

/* Owner placeholders such as [contact email]: easy to spot, still readable. */
.ph {
  color: var(--gold-2);
  text-decoration: underline dotted var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  background: rgba(217, 178, 122, 0.10);
  border-radius: 4px;
  padding: 0 0.15em;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  padding-block: 28px 40px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-2);
}
.site-footer .wrap > * + * { margin-top: 12px; }
.site-footer a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--fg); text-decoration-color: var(--fg); }
.site-footer .footer-line { color: var(--fg); }

/* ---------- Motion (CSS only, off for Reduce Motion) ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .intro > * { animation: rise 0.9s var(--ease) both; }
  .intro > :nth-child(2) { animation-delay: 80ms; }
  .intro > :nth-child(3) { animation-delay: 160ms; }
  .intro > :nth-child(4) { animation-delay: 240ms; }
  .intro > :nth-child(5) { animation-delay: 320ms; }
  .intro > :nth-child(n + 6) { animation-delay: 400ms; }

  .shot img { transition: transform 0.8s var(--ease); }
  .shot:hover img { transform: scale(1.015); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* ---------- Small helpers ---------- */

.narrow { max-width: 820px; margin-inline: auto; }
.section-tight-top { margin-top: clamp(28px, 4vw, 40px); }
.small-copy p { color: var(--fg-2); font-size: 16px; }
.small-copy strong, .small-copy em { color: var(--fg); }
.lead .free { color: var(--fg); font-weight: 600; }
@media (max-width: 520px) {
  .meta { gap: 6px 14px; }
  .meta span + span::before { content: none; }
}
.narrow > .headline + .lead, .narrow > .big-title + .lead { margin-top: 20px; }

@media print {
  .site-header { position: static; }
  .reveal, .intro > * { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   Portfolio-style pieces: pinned hero, device, numbers,
   app sections. Motion only runs under html.motion (set by site.js
   when Reduce Motion is off); otherwise everything sits still.
   ===================================================================== */

.grad {
  background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 45%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}

.nav .nav-cta {
  margin-left: 6px;
  background: var(--gold);
  color: #000;
  font-weight: 500;
}
.nav .nav-cta:hover { background: var(--gold-2); color: #000; }
@media (max-width: 420px) { .nav .nav-hide-sm { display: none; } }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.pill:active { transform: scale(0.97); }
.pill-ivory { background: var(--fg); color: #000; }
.pill-ivory:hover { background: #fff; color: #000; }
.pill-line { border-color: rgba(255, 255, 255, 0.25); color: var(--fg); }
.pill-line:hover { background: rgba(255, 255, 255, 0.10); }

.tlink { color: var(--gold); font-size: 19px; }
.tlink:hover { color: var(--gold-2); text-decoration: underline; text-underline-offset: 4px; }

/* Reveal: hidden only when motion is on */
.motion .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.motion .reveal.in { opacity: 1; transform: none; }
.motion .d1 { transition-delay: 90ms; }
.motion .d2 { transition-delay: 180ms; }
.motion .d3 { transition-delay: 270ms; }

/* ---------- Device (laptop) ---------- */

.device { width: 100%; }
.device .screen {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: clamp(14px, 2.4vw, 26px);
  background: #0b0b0c;
  padding: 1.1%;
  box-shadow: 0 60px 160px -40px rgba(217, 178, 122, 0.35);
}
.device .screen .media { border-radius: clamp(6px, 1.1vw, 12px); }
.device .base {
  height: clamp(10px, 1.4vw, 16px);
  margin-inline: -7%;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #4a4a4d, #1c1c1e);
}
.device .base::after {
  content: "";
  display: block;
  width: 14%;
  height: 45%;
  margin-inline: auto;
  border-radius: 0 0 8px 8px;
  background: #2a2a2c;
}

/* A video (or image) box; holds the Pause button */
.media { position: relative; overflow: hidden; background: #0b0b0c; }
.media video, .media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.vbtn {
  position: absolute;
  right: 12px; bottom: 12px;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(22, 22, 23, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--fg);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
.vbtn:hover, .vbtn:focus-visible { opacity: 1; background: rgba(40, 40, 42, 0.9); }
.vbtn svg { width: 16px; height: 16px; fill: currentColor; }
.demo-note { margin-top: 14px; font-size: 13px; color: var(--fg-2); text-align: center; }

/* ---------- Pinned hero ---------- */

.pin-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: clamp(64px, 12vw, 140px) var(--gutter) clamp(48px, 8vw, 96px);
  text-align: center;
}
.hero-title .display { font-size: clamp(64px, 13vw, 168px); }
.hero-title .tag { margin-top: 18px; font-size: clamp(26px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
.hero-device { width: min(980px, 86%); }  /* room for the laptop base, which is 7% wider each side */
.hero-caption p { font-size: clamp(17px, 2vw, 19px); color: var(--fg-2); }
.hero-caption p strong { color: var(--fg); font-weight: 400; }
.hero-caption .actions { justify-content: center; margin-top: 20px; }

.motion .pin { position: relative; height: 260vh; }
.motion .pin-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: 52px var(--gutter) 150px;
  justify-content: center;
  overflow: hidden;
  gap: 0;
}
.motion .hero-title {
  position: absolute;
  inset: 10vh 0 auto;
  padding-inline: var(--gutter);
  pointer-events: none;
  opacity: calc(1 - var(--s, 0) * 2.2);
  transform: translateY(calc(var(--s, 0) * -120px)) scale(calc(1 - var(--s, 0) * 0.08));
}
.motion .hero-device {
  width: min(980px, 88vw, calc((100svh - 300px) * 1.5));
  transform: translateY(calc((1 - min(var(--s, 0) * 1.6, 1)) * 64vh)) scale(calc(1.4 - min(var(--s, 0) * 1.6, 1) * 0.4));
  will-change: transform;
}
.motion .hero-caption {
  position: absolute;
  inset: auto 0 max(24px, 4vh);
  padding-inline: var(--gutter);
  visibility: hidden;
  opacity: calc((var(--s, 0) - 0.62) * 4);
  transform: translateY(calc((1 - min(max((var(--s, 0) - 0.62) * 4, 0), 1)) * 30px));
}
.motion .pin.shown .hero-caption { visibility: visible; }

/* ---------- Section titles ---------- */

.big-title { font-size: clamp(40px, 6.4vw, 80px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }

/* ---------- Numbers ---------- */

.stats { display: grid; gap: 16px; grid-auto-rows: minmax(200px, auto); }
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-big { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-big { grid-column: span 2; grid-row: span 2; }  /* 4 columns: big tile 2×2 */
}
.stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--tile);
  transition: background-color 0.3s ease;
}
.stat:hover { background: var(--tile-2); }
.stat .num { display: block; font-size: clamp(72px, 7vw, 96px); font-weight: 700; letter-spacing: -0.045em; line-height: 0.95; }
.stat-big .num { font-size: clamp(110px, 16vw, 210px); }
.stat p { margin-top: 24px; font-size: 17px; line-height: 1.35; color: var(--fg-2); }
.stat-big p { max-width: 18rem; font-size: 24px; font-weight: 600; color: var(--fg); }

/* ---------- App sections ---------- */

.app-eyebrow { font-size: clamp(19px, 2vw, 21px); font-weight: 600; color: var(--gold); }
.app-title { margin-top: 12px; font-size: clamp(72px, 13vw, 170px); font-weight: 700; letter-spacing: -0.045em; line-height: 0.95; }
.app-tag { margin-top: 16px; font-size: clamp(30px, 4.6vw, 56px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.zoom-wrap { width: 100%; max-width: 1240px; margin: clamp(56px, 7vw, 80px) auto 0; padding-inline: clamp(12px, 2vw, 24px); }
.zoom {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--tile);
  box-shadow: 0 50px 140px -50px rgba(217, 178, 122, 0.3);
}
.motion .zoom {
  transform: scale(calc(0.88 + var(--p, 1) * 0.12));
  border-radius: calc(48px - var(--p, 1) * 20px);
  will-change: transform;
}
.features3 { display: grid; gap: 40px; margin-top: clamp(56px, 7vw, 80px); }
@media (min-width: 760px) { .features3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.features3 p { font-size: 19px; line-height: 1.45; color: var(--fg-2); }
.features3 p strong { color: var(--fg); font-weight: 600; }
.app-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; margin-top: 48px; }

/* ---------- Rows (privacy list) ---------- */

.rows { margin-top: 56px; border-top: 1px solid var(--line); padding: 0; list-style: none; }
.rows li {
  display: grid;
  gap: 4px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .rows li { grid-template-columns: 1fr 1.4fr 1.4fr; align-items: baseline; } .rows li span:last-child { text-align: right; } }
.rows li span:first-child { font-size: 15px; color: var(--fg-2); }
.rows li span:nth-child(2) { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.rows li span:last-child { font-size: 17px; color: var(--fg-2); }

.closer { padding: clamp(96px, 12vw, 144px) var(--gutter) clamp(72px, 9vw, 112px); text-align: center; }
.closer .display { font-size: clamp(56px, 10vw, 128px); }
.closer .lead { max-width: 36rem; margin: 24px auto 0; }
.closer .actions { justify-content: center; margin-top: 40px; }
.closer .meta { justify-content: center; }

@media print {
  .motion .pin { height: auto; }
  .motion .pin-inner { position: static; height: auto; }
  .motion .hero-title, .motion .hero-caption { position: static; opacity: 1; transform: none; visibility: visible; }
  .motion .hero-device, .motion .zoom { transform: none; }
  .motion .reveal { opacity: 1; transform: none; }
  .vbtn { display: none; }
}

/* ---------- App header, gold pill, hero icon ---------- */

.brand-app { gap: 10px; }
.brand-app img { width: 28px; height: 28px; }
.brand-app span { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.pill-gold { background: var(--gold); color: #000; }
.pill-gold:hover { background: var(--gold-2); color: #000; }
.pill svg { width: 18px; height: 18px; flex: none; }
.hero-icon { width: clamp(80px, 9vw, 112px); height: auto; margin: 0 auto 8px; }
.closer .hero-icon { margin-bottom: 24px; }
#get .notices { margin-top: 20px; }
@media (max-width: 420px) {
  .nav { gap: 0; font-size: 13px; }
  .nav a { padding: 6px 9px; }
  .brand-app span { font-size: 15px; }
}

/* Buttons shown before launch: same look, clearly inactive, not clickable. */
.pill[aria-disabled="true"] { opacity: 0.55; cursor: default; pointer-events: none; }
