/* =====================================================================
   Novix — 2026 site stylesheet
   Modern, light, premium. No framework dependencies.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg:            #ffffff;
  --bg-soft:       #f5f5f7;
  --bg-tint:       #f7f7fb;
  --surface:       #ffffff;
  --ink:           #1d1d1f;
  --ink-2:         #515158;
  --ink-3:         #6e6e76;
  --line:          #e7e7ec;
  --line-2:        #ededf2;

  --brand:         #5b54e6;
  --brand-2:       #9b5cf6;
  --brand-3:       #ff7eb6;
  --brand-ink:     #4b3fd6;

  --grad-brand:    linear-gradient(120deg, #5b54e6 0%, #9b5cf6 52%, #ff7eb6 100%);
  --grad-soft:     linear-gradient(120deg, #eef0ff 0%, #f4ecff 50%, #ffeef6 100%);
  --grad-text:     linear-gradient(120deg, #5b54e6 0%, #8b5cf6 100%);

  --star:          #ff9f0a;

  --radius-xl:     28px;
  --radius-lg:     22px;
  --radius-md:     16px;
  --radius-sm:     12px;
  --radius-pill:   999px;

  --shadow-sm:     0 1px 2px rgba(16,16,40,.05), 0 2px 8px rgba(16,16,40,.05);
  --shadow-md:     0 8px 24px rgba(16,16,40,.08), 0 2px 6px rgba(16,16,40,.05);
  --shadow-lg:     0 24px 60px rgba(16,16,40,.14), 0 8px 20px rgba(16,16,40,.07);
  --shadow-brand:  0 18px 40px rgba(91,84,230,.28);

  --maxw:          1160px;
  --gutter:        clamp(20px, 5vw, 40px);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;

  --ease:          cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: rgba(91,84,230,.18); }

/* ---------- Focus & a11y utilities ---------- */
:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 8px;
}
.btn-brand:focus-visible { outline-color: var(--ink); }
.band :focus-visible { outline-color: #fff; }

.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-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--ink); color: #fff; font-weight: 600;
  padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg);
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section--tint { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-ink);
  background: rgba(91,84,230,.08);
  border: 1px solid rgba(91,84,230,.16);
  padding: 6px 13px; border-radius: var(--radius-pill);
}

.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08; letter-spacing: -0.03em; font-weight: 700;
  margin-top: 18px;
}
.section-head p {
  color: var(--ink-2); font-size: clamp(17px, 2vw, 20px);
  margin-top: 16px;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  padding: 14px 26px; border-radius: var(--radius-pill);
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-brand { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(91,84,230,.36); }
.btn-ghost { background: rgba(120,120,140,.06); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(120,120,140,.1); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -0.02em; font-size: 20px; }
.brand .logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad-brand); box-shadow: var(--shadow-brand);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px;
  flex: 0 0 auto;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a {
  color: var(--ink-2); font-weight: 500; font-size: 15px;
  padding: 9px 14px; border-radius: var(--radius-pill);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links > a:hover { color: var(--ink); background: rgba(120,120,140,.07); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 20px; font-size: 15px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(120,120,140,.08); border: 1px solid var(--line);
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px; transform: translateX(-50%);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(130px, 18vh, 200px);
  padding-bottom: clamp(70px, 9vw, 120px);
  text-align: center;
}
.hero-aurora { position: absolute; inset: -25% -10% auto -10%; height: 130%; z-index: -1; filter: blur(60px); opacity: .85; pointer-events: none; }
.hero-aurora span { position: absolute; border-radius: 50%; mix-blend-mode: multiply; }
.hero-aurora .a1 { width: 46vw; height: 46vw; left: -6vw; top: -8vw; background: radial-gradient(circle, rgba(91,84,230,.5), transparent 62%); animation: drift1 18s var(--ease) infinite alternate; }
.hero-aurora .a2 { width: 42vw; height: 42vw; right: -4vw; top: -4vw; background: radial-gradient(circle, rgba(255,126,182,.45), transparent 62%); animation: drift2 22s var(--ease) infinite alternate; }
.hero-aurora .a3 { width: 38vw; height: 38vw; left: 32vw; top: 6vw; background: radial-gradient(circle, rgba(155,92,246,.42), transparent 64%); animation: drift3 20s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(8vw, 6vw) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-7vw, 5vw) scale(1.1); } }
@keyframes drift3 { to { transform: translate(4vw, -5vw) scale(1.16); } }

.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.02; letter-spacing: -0.045em; font-weight: 800;
  max-width: 16ch; margin-inline: auto;
}
.hero .lede {
  margin: 26px auto 0; max-width: 56ch;
  font-size: clamp(18px, 2.3vw, 22px); color: var(--ink-2);
}
.hero-actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--ink-3); display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.hero-stars { color: var(--star); letter-spacing: 2px; }

/* floating app icon marquee under hero */
.icon-strip { margin-top: clamp(48px, 7vw, 80px); }
.icon-strip-track {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  max-width: 920px; margin-inline: auto;
}
.icon-chip {
  width: 74px; height: 74px; border-radius: 19px; box-shadow: var(--shadow-md);
  overflow: hidden; background: #fff; transition: transform .4s var(--ease);
}
.icon-chip:nth-child(2n) { transform: translateY(-10px); }
.icon-chip:hover { transform: translateY(-14px) scale(1.04); }
.icon-chip img { width: 100%; height: 100%; }

/* ---------- Stats bar ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat .label { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* ---------- Apps grid ---------- */
.apps-grid {
  margin-top: 56px;
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.app-card {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.app-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s var(--ease);
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.app-card:hover::before { opacity: 1; }
.app-card-top { display: flex; align-items: center; gap: 15px; }
.app-icon {
  width: 64px; height: 64px; border-radius: 15px; flex: 0 0 auto;
  box-shadow: var(--shadow-sm); background: var(--bg-soft);
}
.app-id .name { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; line-height: 1.2; }
.app-id .cat {
  margin-top: 6px; display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--ink-3); background: var(--bg-soft); border: 1px solid var(--line);
  padding: 3px 9px; border-radius: var(--radius-pill);
}
.app-desc { color: var(--ink-2); font-size: 15px; flex: 1 1 auto; }
.app-meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.app-meta .rating { font-weight: 700; color: var(--ink); }
.app-meta .stars { color: var(--star); letter-spacing: 1px; font-size: 13px; }
.app-meta .dot { color: var(--ink-3); }

/* App Store badge */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; border-radius: 12px;
  padding: 9px 15px 9px 13px; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  align-self: flex-start;
}
.appstore-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.appstore-badge svg { width: 22px; height: 22px; fill: #fff; }
.appstore-badge .b-small { display: block; font-size: 10px; line-height: 1; opacity: .85; letter-spacing: .02em; }
.appstore-badge .b-big { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }

.apps-more { margin-top: 40px; text-align: center; }

/* ---------- Reviews ---------- */
.reviews-grid { margin-top: 56px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars { color: var(--star); letter-spacing: 3px; font-size: 16px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); letter-spacing: -0.01em; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 3px; }
.review-app { font-weight: 700; font-size: 14.5px; }
.review-src { font-size: 13px; color: var(--ink-3); }

/* ---------- Approach / features ---------- */
.feature-grid { margin-top: 56px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand-ink); margin-bottom: 18px;
}
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.feature p { margin-top: 9px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Split / values band ---------- */
.band {
  border-radius: var(--radius-xl); padding: clamp(36px, 6vw, 72px);
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%;
  background: var(--grad-brand); filter: blur(70px); opacity: .55; pointer-events: none;
}
.band > * { position: relative; }
.band h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; font-weight: 800; max-width: 18ch; }
.band p { margin-top: 18px; color: rgba(255,255,255,.78); font-size: clamp(17px, 2vw, 20px); max-width: 56ch; }
.band-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.band .btn-light { background: #fff; color: var(--ink); }
.band .btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.band .btn-outline { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.band .btn-outline:hover { background: rgba(255,255,255,.16); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-info h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.03em; font-weight: 700; }
.contact-info p { color: var(--ink-2); margin-top: 16px; font-size: 18px; }
.contact-list { margin-top: 26px; display: grid; gap: 14px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 500; }
.contact-list .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand-ink); flex: 0 0 auto; }
.contact-list .ic svg { width: 18px; height: 18px; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-md); }
.field { position: relative; margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 14px 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px rgba(91,84,230,.12);
}
.form .btn { width: 100%; margin-top: 4px; }
.form-status { margin-top: 14px; font-size: 14.5px; text-align: center; min-height: 20px; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #c0392b; }

/* Email-first contact card (no backend) */
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md); text-align: center; }
.contact-card .ic-lg { width: 62px; height: 62px; border-radius: 17px; background: var(--grad-soft); color: var(--brand-ink); display: grid; place-items: center; margin: 0 auto 18px; }
.contact-card .ic-lg svg { width: 30px; height: 30px; }
.contact-card-label { font-size: 13px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.contact-email { display: inline-block; margin-top: 8px; font-size: clamp(20px, 3vw, 27px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.contact-email:hover { color: var(--brand-ink); }
.contact-card-actions { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact-card-note { margin-top: 20px; color: var(--ink-2); font-size: 15px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 60px 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand { font-size: 19px; }
.footer-tag { color: var(--ink-2); margin-top: 16px; max-width: 32ch; font-size: 15px; }
.footer-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer ul a, .footer address a { color: var(--ink-2); transition: color .2s var(--ease); }
.footer ul a:hover, .footer address a:hover { color: var(--ink); }
.footer address { font-style: normal; color: var(--ink-2); line-height: 1.8; font-size: 15px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }
.footer-bottom a { color: var(--ink-3); }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal-hero { padding-top: clamp(120px, 16vh, 170px); padding-bottom: clamp(28px, 4vw, 52px); }
.legal-hero .eyebrow { margin-bottom: 16px; }
.legal-hero h1 { font-size: clamp(34px, 5.5vw, 60px); letter-spacing: -0.04em; font-weight: 800; }
.legal-hero p { color: var(--ink-2); margin-top: 16px; max-width: 60ch; font-size: 18px; }
.legal-meta { margin-top: 20px; font-size: 14px; color: var(--ink-3); display: flex; gap: 18px; flex-wrap: wrap; }

.legal-body { padding-bottom: clamp(60px, 8vw, 110px); }
.legal-doc { max-width: 820px; }
.legal-doc h2 {
  font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; font-weight: 700;
  margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line);
}
.legal-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-doc h3 { font-size: 18px; font-weight: 700; margin-top: 28px; letter-spacing: -0.01em; }
.legal-doc p { color: var(--ink-2); margin-top: 14px; font-size: 16.5px; }
.legal-doc ul { color: var(--ink-2); margin-top: 14px; padding-left: 22px; display: grid; gap: 10px; font-size: 16.5px; }
.legal-doc a { color: var(--brand-ink); font-weight: 500; }
.legal-doc a:hover { text-decoration: underline; }
.legal-doc strong { color: var(--ink); }
.legal-callout {
  margin-top: 22px; background: var(--grad-soft); border: 1px solid rgba(91,84,230,.16);
  border-radius: var(--radius-lg); padding: 22px 24px;
}
.legal-callout p { margin-top: 8px; color: var(--ink-2); }
.legal-callout p:first-child { margin-top: 0; }

.legal-toc {
  position: sticky; top: 96px; align-self: start;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: var(--surface);
}
.legal-toc-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 0 0 12px; }
.legal-toc ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.legal-toc a {
  display: block; color: var(--ink-2); font-size: 14.5px;
  padding: 4px 0 4px 14px; border-left: 2px solid var(--line);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.legal-toc a:hover { color: var(--brand-ink); }
.legal-toc a.active { color: var(--brand-ink); font-weight: 600; border-left-color: var(--brand); }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }

/* ---------- Reveal on scroll (only hides when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 68px; left: var(--gutter); right: var(--gutter);
    background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; box-shadow: var(--shadow-lg);
  }
  .nav.is-open .nav-links a { padding: 13px 16px; }
  .nav.is-open .nav-cta { margin: 6px 0 0; }
  .nav.is-open .nav-cta .btn { width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .app-card { padding: 20px; }
}
