/* ============================================================
   GlimPlayX — prelanding stylesheet
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --bg:        #05121e;
  --bg-elev:   #081c2c;
  --bg-alt:    #071825;
  --surface:   rgba(255, 255, 255, .038);
  --surface-2: rgba(255, 255, 255, .062);
  --line:      rgba(127, 230, 255, .14);
  --line-soft: rgba(127, 230, 255, .08);

  --ink:       #eaf6ff;
  --ink-dim:   #9dbdd4;
  --ink-faint: #6f90a8;

  --cyan:      #4fd8ff;
  --cyan-lite: #7fe6ff;
  --cyan-deep: #1668be;
  --amber:     #ffa92e;

  --font-display: 'Outfit', 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shell:  1180px;
  --radius: 18px;
  --radius-lg: 26px;

  --shadow-sm: 0 6px 20px rgba(0, 0, 0, .3);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, .42);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, .55);

  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; border: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--cyan-lite); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

button { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--cyan);
  color: #04121d;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; color: #04121d; }

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 24px;
}
.shell-narrow { max-width: 800px; }

.section { padding: 104px 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, transparent, var(--bg-alt) 12%, var(--bg-alt) 88%, transparent);
  border-block: 1px solid var(--line-soft);
}

.section-head {
  max-width: 660px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head-left { margin-inline: 0; text-align: left; }

.kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); }
.section-lede {
  margin-top: 18px;
  color: var(--ink-dim);
  font-size: 17.5px;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-lite), var(--cyan) 45%, var(--cyan-deep));
  color: #03121e;
  box-shadow: 0 10px 30px rgba(79, 216, 255, .26);
}
.btn-primary:hover {
  color: #03121e;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(79, 216, 255, .38);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(127, 230, 255, .34);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn-lg { padding: 17px 38px; font-size: 18px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              backdrop-filter .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(5, 18, 30, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand img { display: block; }
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.brand-name em { font-style: normal; color: var(--amber); }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
}
.nav a {
  position: relative;
  color: var(--ink-dim);
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color .18s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: width .22s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- ambient background ---------- */
.aurora {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  pointer-events: none;
  background:
    radial-gradient(48% 42% at 22% 20%, rgba(79, 216, 255, .22), transparent 68%),
    radial-gradient(42% 38% at 78% 10%, rgba(122, 92, 255, .16), transparent 70%),
    radial-gradient(56% 46% at 50% 78%, rgba(22, 104, 190, .18), transparent 72%);
  filter: blur(6px);
}
.aurora-soft { opacity: .7; }

.frost-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(72% 62% at 40% 38%, #000, transparent);
          mask-image: radial-gradient(72% 62% at 40% 38%, #000, transparent);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 78px 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(79, 216, 255, .07);
  color: #c3e4f7;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(79, 216, 255, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(79, 216, 255, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(79, 216, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 216, 255, 0); }
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 68px);
  letter-spacing: -.035em;
}
.grad {
  background: linear-gradient(100deg, var(--cyan-lite), var(--cyan) 40%, #9d7cff);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--ink-dim);
  font-size: 18px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-size: 14.5px;
}
.hero-meta strong {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  margin-right: 5px;
}

/* hero visual */
.hero-visual { position: relative; }

.screen-frame {
  border: 1px solid rgba(127, 230, 255, .22);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(127, 230, 255, .1), rgba(5, 18, 30, .6));
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease);
}
.hero-visual:hover .screen-frame { transform: translateY(-6px); }

.screen-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(3, 12, 20, .72);
  border-bottom: 1px solid var(--line-soft);
}
.screen-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}
.screen-bar i:first-child { background: rgba(255, 105, 97, .5); }
.screen-bar i:nth-child(2) { background: rgba(255, 189, 68, .5); }
.screen-bar i:nth-child(3) { background: rgba(102, 214, 128, .5); }
.screen-bar span {
  margin-left: 12px;
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: .01em;
}

.screen-frame img { display: block; width: 100%; }

.float-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 28, 44, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  animation: bob 6s ease-in-out infinite;
}
.float-chip b {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  color: var(--cyan-lite);
}
.float-chip span {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: .02em;
}
/* Sit over the artwork rather than the frame's title bar. */
.chip-a { top: 64px; left: -28px; }
.chip-b { bottom: -24px; right: -20px; animation-delay: -3s; }
.chip-b b { color: var(--amber); }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ---------- stat bar ---------- */
.statbar {
  border-block: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .018);
}
.statbar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding-block: 34px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.stat span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* ---------- feature cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .25s var(--ease), border-color .25s var(--ease),
              background-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  background: var(--surface-2);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(79, 216, 255, .09);
  color: var(--cyan);
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 { font-size: 19.5px; margin-bottom: 10px; }
.card p { color: var(--ink-dim); font-size: 15.8px; line-height: 1.6; }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 34px 28px 32px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(79, 216, 255, .06), transparent 60%);
}
.step::before {
  content: '';
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: .5;
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: rgba(127, 230, 255, .3);
  margin-bottom: 12px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--ink-dim); font-size: 15.8px; }

/* ---------- showcase ---------- */
.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: center;
}

.device { margin: 0; }
.device figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-faint);
}

.device-shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.device-shot:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.device-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-phone .device-shot {
  aspect-ratio: 19.5 / 9;
  border: 7px solid #0e2233;
  border-radius: 26px;
  outline: 1px solid var(--line);
}
.device-tablet .device-shot {
  aspect-ratio: 3 / 2;
  border: 12px solid #0e2233;
  border-radius: 20px;
  outline: 1px solid var(--line);
}
.device-desktop .device-shot {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 14px;
  border-top-width: 22px;
  border-top-color: #0e2233;
  border-top-style: solid;
}

/* ---------- facts ---------- */
.facts-wrap {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.facts-wrap .section-head { margin-bottom: 0; }
.facts-wrap .btn { margin-top: 30px; }

.facts {
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-dim); font-size: 15.5px; }
.facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-align: right;
}

/* ---------- faq ---------- */
.faq {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 26px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 600;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cyan-lite); background: rgba(255, 255, 255, .022); }
.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p {
  padding: 0 26px 22px;
  max-width: 66ch;
  color: var(--ink-dim);
  font-size: 16px;
}

/* ---------- final cta ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 108px 0;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--bg), #071e2f);
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}
.cta-mark { margin-bottom: 22px; }
.cta-inner h2 { font-size: clamp(30px, 4.6vw, 48px); }
.cta-inner > p {
  margin: 20px auto 34px;
  max-width: 56ch;
  color: var(--ink-dim);
  font-size: 18px;
}
.cta-note {
  margin-top: 22px !important;
  max-width: none !important;
  font-size: 13.5px !important;
  color: var(--ink-faint) !important;
}

/* ---------- responsible strip ---------- */
.responsible {
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 169, 46, .05);
}
.responsible-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 24px;
}
.responsible p {
  color: var(--ink-dim);
  font-size: 14.8px;
  line-height: 1.6;
}
.age-badge {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--amber);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: #040e17;
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 44px;
  padding-bottom: 52px;
}
.footer-brand p {
  margin-top: 16px;
  max-width: 40ch;
  color: var(--ink-faint);
  font-size: 15px;
}
.footer-nav { display: flex; flex-direction: column; gap: 11px; }
.footer-nav h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 5px;
}
.footer-nav a {
  color: var(--ink-faint);
  font-size: 15.2px;
  text-decoration: none;
  width: fit-content;
  transition: color .18s var(--ease);
}
.footer-nav a:hover { color: var(--cyan-lite); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-size: 13.8px;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(3, 10, 17, .9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade .2s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 84vh;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s var(--ease);
}
.lightbox-close:hover { background: var(--surface-2); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- legal pages ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); }
.page-hero .shell { position: relative; z-index: 1; }
.page-hero p { margin-top: 16px; color: var(--ink-dim); }

.prose { padding: 64px 0 96px; }
.prose h2 {
  font-size: 24px;
  margin: 44px 0 14px;
  padding-top: 4px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-dim); font-size: 16.5px; }
.prose p + p { margin-top: 14px; }
.prose ul {
  list-style: disc;
  padding-left: 22px;
  margin: 14px 0;
  display: grid;
  gap: 8px;
}
.prose ul li::marker { color: var(--cyan); }
.prose .updated {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-faint);
  font-size: 13.5px;
  margin-bottom: 34px;
}

.notfound {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.notfound .shell { position: relative; z-index: 1; }
.notfound .code {
  font-family: var(--font-display);
  font-size: clamp(66px, 14vw, 130px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  background: linear-gradient(100deg, var(--cyan-lite), var(--cyan) 45%, #9d7cff);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.notfound h1 { font-size: clamp(26px, 4vw, 38px); margin-top: 10px; }
.notfound p { margin: 16px auto 30px; max-width: 46ch; color: var(--ink-dim); }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   responsive
   ============================================================ */

@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 640px; }
  .screen-frame { transform: none; }
  .hero-visual:hover .screen-frame { transform: none; }
  .chip-a { left: -8px; }
  .chip-b { right: -8px; }

  .statbar-inner { grid-template-columns: repeat(3, 1fr); gap: 26px 20px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .facts-wrap { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 24px 24px;
    background: rgba(5, 18, 30, .97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow-md);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    padding: 15px 2px;
    font-size: 17px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }

  .header-inner { justify-content: space-between; }
  .nav-toggle { display: block; }

  .steps { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .shell { padding-inline: 18px; }

  .hero { padding: 54px 0 72px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-meta { gap: 10px 22px; }

  .statbar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:last-child { grid-column: 1 / -1; }

  .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 26px 22px 28px; }

  .float-chip { padding: 9px 14px; }
  .float-chip b { font-size: 18px; }
  .chip-a { top: 54px; left: -6px; }
  .chip-b { bottom: -18px; right: -6px; }

  .faq summary { padding: 17px 20px; font-size: 16.5px; }
  .faq details p { padding: 0 20px 20px; }

  .facts > div { padding: 14px 18px; }
  .cta-band { padding: 84px 0; }
  .responsible-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .lightbox { padding: 18px; }
}

/* The header CTA and the burger stop fitting side by side on narrow phones;
   the hero and closing sections both carry the same call to action. */
@media (max-width: 480px) {
  .header-actions .btn { display: none; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 19px; }
}

/* ---------- motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav, .hero-visual, .showcase, .lightbox, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}
