/* ─── Fonts (self-hosted, variable weight) ─── */
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/jakarta-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/jakarta-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/jakarta-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/jakarta-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Sora'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ─── Tokens ─── */
:root {
  --bg: #0B0B10;
  --fg: #F5F4F1;
  --muted: #A8A6B3;
  --dim: #85838F;
  --accent: #8B7CFA;
  --accent-rgb: 139, 124, 250;
  --lime: #D4FF3D;
  --line: rgba(245, 244, 241, 0.08);
  --line-strong: rgba(245, 244, 241, 0.14);

  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 10vw, 112px);
  --max: 1240px;
  --nav-h: 76px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ol, ul { list-style: none; margin: 0; padding: 0; }
svg { display: block; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

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

/* ─── Ambient layers ─── */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 40; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}

.blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.blob--a {
  width: min(520px, 110vw); aspect-ratio: 1; top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(139,124,250,.35), transparent 70%);
  animation: drift-a 18s ease-in-out infinite;
}
.blob--b {
  width: min(460px, 90vw); aspect-ratio: 1; top: -80px; right: -140px;
  background: radial-gradient(circle, rgba(212,255,61,.2), transparent 70%);
  animation: drift-b 22s ease-in-out infinite;
}
.blob--soft { opacity: .6; }
@keyframes drift-a { 0%,100% { transform: translate(-8%,-8%) scale(1); } 50% { transform: translate(6%,4%) scale(1.15); } }
@keyframes drift-b { 0%,100% { transform: translate(6%,4%) scale(1); } 50% { transform: translate(-6%,-8%) scale(1.1); } }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 14px 30px; border-radius: 10px;
  font-weight: 700; font-size: 16px; line-height: 1.2;
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--ghost { border: 1px solid rgba(245,244,241,.2); color: var(--fg); font-weight: 600; }
.btn--sm { white-space: nowrap; min-height: 40px; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.btn--lg { min-height: 56px; padding: 18px 36px; font-size: 17px; }
@media (hover: hover) {
  .btn--primary:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(var(--accent-rgb), .4); }
  .btn--ghost:hover { border-color: rgba(245,244,241,.5); background: rgba(245,244,241,.05); transform: translateY(-2px); }
}

.shine { position: relative; overflow: hidden; isolation: isolate; }
.shine::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; pointer-events: none;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .65s ease;
}
@media (hover: hover) { .shine:hover::after { left: 130%; } }

/* ─── Nav ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,16,.55);
  border-bottom: 1px solid rgba(245,244,241,.06);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.nav.is-solid { background: rgba(11,11,16,.92); border-bottom-color: rgba(245,244,241,.12); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); padding-block: 12px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--bg);
}
.brand__mark svg { width: 64%; height: auto; }
.brand__mark--sm { width: 24px; height: 24px; border-radius: 6px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; }

.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__link { white-space: nowrap; font-size: 15px; color: var(--muted); transition: color .2s ease; }
.nav__link:hover { color: var(--fg); }

.lang { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 3px; }
.lang__btn {
  padding: 6px 12px; border-radius: 5px; font-size: 12px; font-weight: 700; color: var(--muted);
  transition: background .2s ease, color .2s ease;
}
.lang__btn[aria-current] { background: var(--accent); color: var(--bg); }
.lang__btn:not([aria-current]):hover { color: var(--fg); }

.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--fg); transition: transform .25s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1140px) {
  :root { --nav-h: 68px; }
  .brand__mark { width: 40px; height: 40px; border-radius: 10px; }
  .brand__name { font-size: 21px; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 24px;
    background: rgba(11,11,16,.98);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 24px 40px rgba(0,0,0,.45);
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav.is-open { background: rgba(11,11,16,.98); }
  .nav__link { padding: 14px 4px; font-size: 17px; color: var(--fg); border-bottom: 1px solid var(--line); }
  .lang { align-self: flex-start; margin-block: 16px 12px; }
  .lang__btn { padding: 8px 16px; font-size: 13px; }
  .nav__menu .btn { min-height: 48px; font-size: 16px; }
}

/* ─── Hero ─── */
.hero {
  position: relative; overflow: clip;
  display: flex; flex-direction: column;
  min-height: min(calc(100svh - var(--nav-h)), 920px);
}
/* Glows follow the content column, not the viewport edges */
.hero__glow {
  position: absolute; inset: 0 auto 0 50%; z-index: 0; pointer-events: none;
  width: min(100%, var(--max)); transform: translateX(-50%);
}
.hero__glow .blob--b { right: -60px; top: 0; }
.hero__spot {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(560px circle at var(--sx, 30%) var(--sy, 15%), rgba(139,124,250,.18), transparent 45%);
}
.hero__inner {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: clamp(24px, 3vw, 32px);
  padding-block: clamp(64px, 11vw, 128px) clamp(80px, 10vw, 112px);
}
.hero__inner > * { max-width: 1000px; }
.badge {
  margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--line-strong); background: rgba(245,244,241,.03);
  font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; line-height: 1.4;
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.hero__title { font-size: clamp(40px, 7.2vw, 80px); line-height: 1.04; font-weight: 800; }
.shimmer {
  background-image: linear-gradient(90deg, var(--accent), var(--lime), var(--accent));
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer-text 4s linear infinite;
}
@keyframes shimmer-text { to { background-position: 200% center; } }
.hero__sub { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.6; color: var(--muted); max-width: 620px !important; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.scroll-cue {
  position: absolute; z-index: 1; bottom: 16px; left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  width: 32px; height: 32px; display: grid; place-items: center; color: var(--dim);
  animation: bounce-y 2s ease-in-out infinite;
}
.scroll-cue svg { width: 20px; height: 20px; }
@keyframes bounce-y { 0%,100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(8px); opacity: 1; } }

@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-in { animation: hero-in .7s var(--ease-out) both; }
.hero-in--1 { animation-delay: .05s; }
.hero-in--2 { animation-delay: .16s; }
.hero-in--3 { animation-delay: .27s; }
.hero-in--4 { animation-delay: .38s; }

@media (max-width: 600px) {
  .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .actions .btn { width: 100%; }
  .scroll-cue { display: none; }
}

/* ─── Trust strip ─── */
.trust { border-block: 1px solid var(--line); }
.trust__inner { display: flex; align-items: flex-start; gap: 12px; padding-block: 28px; }
.trust__icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.trust p { font-size: 15px; line-height: 1.6; color: var(--dim); max-width: 820px; }

/* ─── Sections ─── */
.section { position: relative; padding-block: var(--section-y); }
.section--tinted { background: rgba(245,244,241,.02); border-block: 1px solid var(--line); }
.section__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 680px; }
.eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.section__title { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.15; font-weight: 700; }

.grid { display: grid; gap: 24px; }
.grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--why { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }

@media (max-width: 1024px) {
  .grid--steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
}
@media (max-width: 860px) {
  .grid--why { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 560px; }
}
@media (max-width: 720px) {
  .grid--services { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 520px) {
  .grid--steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* ─── Service cards ─── */
.card {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: clamp(24px, 3.2vw, 36px); border-radius: 16px;
  border: 1px solid rgba(245,244,241,.1); background: rgba(245,244,241,.02);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)) scale(var(--s, 1));
  transition: transform .12s ease-out, border-color .25s ease, box-shadow .25s ease;
}
.card__spot {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .22), transparent 62%);
}
.card__index {
  position: absolute; top: 22px; right: 26px; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4vw, 46px); line-height: 1;
  color: rgba(245,244,241,.045); letter-spacing: -0.02em; transition: color .3s ease, transform .3s ease;
}
.card__icon {
  width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(var(--accent-rgb), .14); color: var(--accent);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .3s ease;
}
.card__icon svg { width: 22px; height: 22px; }
.card__title { font-size: clamp(19px, 2vw, 22px); line-height: 1.3; font-weight: 700; padding-right: 48px; }
.card__desc { font-size: 15px; line-height: 1.6; color: var(--muted); }
.card__cta {
  display: flex; align-items: center; gap: 6px; margin-top: auto;
  font-size: 14px; font-weight: 600; color: var(--accent);
  transition: opacity .3s ease, transform .3s ease;
}
.card__cta svg { width: 15px; height: 15px; transition: transform .3s ease; }

@media (hover: hover) and (pointer: fine) {
  .card__cta { opacity: 0; transform: translateX(-8px); }
  .card:hover { border-color: rgba(var(--accent-rgb), .55); box-shadow: 0 20px 48px rgba(0,0,0,.4); }
  .card:hover .card__spot { opacity: 1; }
  .card:hover .card__index { color: rgba(245,244,241,.1); transform: translateY(-2px); }
  .card:hover .card__icon { transform: scale(1.12) rotate(-6deg); background: rgba(var(--accent-rgb), .24); }
  .card:hover .card__cta, .card:focus-visible .card__cta { opacity: 1; transform: none; }
  .card:hover .card__cta svg { transform: translateX(4px); }
}
@media (hover: none) {
  .card:active { border-color: rgba(var(--accent-rgb), .55); }
}

/* ─── Process ─── */
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--line-strong); }
.step__num { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--accent); }
.step__title { font-size: 19px; font-weight: 700; }
.step__desc { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ─── Why ─── */
.why { display: flex; flex-direction: column; gap: 14px; }
.why__icon { width: 26px; height: 26px; color: var(--lime); }
.why__title { font-size: 19px; font-weight: 700; }
.why__desc { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ─── CTA ─── */
.cta { overflow: clip; border-top: 1px solid var(--line); padding-block: clamp(80px, 11vw, 128px); }
.cta__inner { position: relative; z-index: 1; max-width: 760px; display: flex; flex-direction: column; gap: 28px; }
.cta__title { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; font-weight: 800; }
.cta__sub { font-size: clamp(17px, 1.6vw, 18px); line-height: 1.6; color: var(--muted); max-width: 560px; }
.cta__line { font-size: 14px; color: var(--dim); }
.cta__mail { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(168,166,179,.4); }
.cta__mail:hover { color: var(--fg); }
@media (max-width: 600px) { .cta__line { text-align: center; } }

/* ─── FAQ ─── */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--nav-h) + 32px); margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 4px; }
.faq__q { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; transition: color .2s ease; }
.faq__item summary:hover .faq__q { color: var(--accent); }
.faq__icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; color: var(--accent); }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s ease;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 40px 24px 0; font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 640px; }
@media (max-width: 860px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq .section__head { position: static; margin-bottom: 8px; }
  .faq__a { padding-right: 0; }
}

/* ─── Footer ─── */
.footer { border-top: 1px solid var(--line); }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px;
  padding-block: 40px calc(40px + env(safe-area-inset-bottom));
}
.footer__brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer__name { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.footer__tag { font-size: 12px; color: var(--dim); padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--line-strong); }
.footer__nav, .footer__social { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer__rights { font-size: 13px; color: var(--dim); flex-basis: 100%; }
.foot-link { font-size: 13px; color: var(--muted); transition: color .2s ease; padding-block: 8px; display: inline-block; }
.foot-link:hover { color: var(--fg); }
@media (max-width: 720px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ─── 404 ─── */
.notfound { min-height: 100svh; display: flex; align-items: center; }
.notfound__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 64px; }
.notfound__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 18vw, 180px); line-height: .9; letter-spacing: -0.04em; color: rgba(var(--accent-rgb), .35); margin-top: 24px; }
.notfound__title { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.notfound__text { color: var(--muted); font-size: 17px; line-height: 1.6; }

/* ─── Scroll reveal (only when JS is running) ─── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Card tilt uses transform too — once revealed, hand it back to the tilt rule */
.js .card.reveal.is-visible {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)) scale(var(--s, 1));
}
.js .card.reveal.is-settled { transition: transform .12s ease-out, border-color .25s ease, box-shadow .25s ease; }

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .shimmer { background-position: 0 center; }
}
