/* Mintora Apps & Games — design system
   ------------------------------------------------- */

:root {
  /* foundation */
  --ink-900: #050609;
  --ink-800: #090a0f;
  --ink-700: #101118;
  --surface: #15161f;
  --surface-2: #1a1b24;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* text */
  --text: #f7f5f0;
  --text-dim: #b8b6be;
  --muted: #8e8c93;

  /* accents — official Mintora warm system */
  --coral: #f1462c;
  --ember: #ef6231;
  --orange: #ed8638;
  --amber: #eb993c;
  --gold: #e8c545;
  --grad: linear-gradient(100deg, var(--coral), var(--orange) 55%, var(--gold));

  /* product tints */
  --noplo-yellow: #ffc84d;
  --noplo-coral: #ff6b4a;
  --noplo-peach: #f7b2a1;
  --noplo-mint: #a8d5b8;
  --noplo-cocoa: #6b3e2e;
  --noplo-cream: #f4e9d9;
  --rush-blue: #1d8fe0;
  --rush-deep: #0b4f8a;
  --rush-orange: #ff8a1f;

  /* scale */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --shadow-2: 0 24px 70px rgba(0, 0, 0, .5);
  --wrap: 1160px;
  --pad: clamp(20px, 5vw, 40px);

  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-800);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
svg { display: block; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 660;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

a { color: var(--text); text-decoration: none; }
a:hover { color: #ffffff; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--text);
  color: var(--ink-900);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-weight: 620;
  transition: top .18s ease;
}
.skip-link:focus { top: 16px; color: var(--ink-900); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.eyebrow {
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--muted);
  margin: 0 0 18px;
}
.eyebrow--accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { color: var(--text-dim); font-size: clamp(17px, 1.6vw, 19.5px); max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 22, .72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 38px; width: auto; flex: none; }
.site-footer .brand__logo { height: 44px; }
@media (max-width: 560px) { .brand__logo { height: 32px; } .site-footer .brand__logo { height: 38px; } }

.nav { margin-left: auto; }
.nav__list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav__link {
  display: block;
  padding: 9px 13px;
  font-size: 15px;
  color: var(--text-dim);
  border-radius: 9px;
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }

.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 17px; height: 1.5px; background: currentColor;
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: currentColor;
  transition: transform .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px;
  min-height: 46px;
  border-radius: 12px;
  font-size: 15.5px; font-weight: 620; letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn--primary {
  background: #fff; color: var(--ink-900);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .35);
}
.btn--primary:hover { color: var(--ink-900); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.btn--accent {
  background: var(--grad); color: #1a0d06;
  box-shadow: 0 10px 30px rgba(239, 98, 49, .3);
}
.btn--accent:hover { color: #1a0d06; transform: translateY(-2px); box-shadow: 0 16px 42px rgba(239, 98, 49, .42); }
.btn--accent:active, .btn--primary:active, .btn--ghost:active { transform: translateY(0); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; min-height: 40px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.arrow { transition: transform .18s ease; }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15.5px; color: var(--text);
}
.link-arrow:hover { color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 108px) 0 clamp(64px, 8vw, 112px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -280px -10% auto 20%;
  height: 640px;
  background:
    radial-gradient(48% 46% at 30% 40%, rgba(241, 70, 44, .26), transparent 70%),
    radial-gradient(40% 40% at 68% 42%, rgba(237, 134, 56, .22), transparent 72%),
    radial-gradient(30% 34% at 52% 74%, rgba(232, 197, 69, .14), transparent 74%);
  filter: blur(6px);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  letter-spacing: -0.042em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__copy .lede { margin-bottom: 32px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-family: "Sora", ui-sans-serif, -apple-system, "Segoe UI", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.015em;
  line-height: 1;
  color: #d9d5cd;
  margin-bottom: 26px;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232, 197, 69, .16); }

/* hero device composition */
.stage {
  position: relative;
  aspect-ratio: 5 / 4.6;
  min-height: 380px;
}
.stage__panel {
  position: absolute;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--ink-700));
  box-shadow: var(--shadow-2);
}
.stage__panel--back {
  inset: 6% 0 18% 8%;
  background: linear-gradient(160deg, rgba(241, 70, 44, .16), rgba(232, 197, 69, .07) 60%, transparent);
  border-color: rgba(255, 255, 255, .12);
  transform: rotate(-3deg);
}
.phone {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-52%, -50%);
  width: min(258px, 62%);
  aspect-ratio: 9 / 18.5;
  border-radius: 34px;
  padding: 9px;
  background: linear-gradient(170deg, #33303a, #14141b);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-2);
}
.phone__screen {
  height: 100%;
  border-radius: 26px;
  background: var(--noplo-cream);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone__notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 5px; border-radius: 99px; background: rgba(107, 62, 46, .18);
}
.phone__body { padding: 30px 16px 16px; display: grid; gap: 10px; }
.mini-card {
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  color: var(--noplo-cocoa);
  box-shadow: 0 2px 10px rgba(107, 62, 46, .08);
  display: grid;
  gap: 8px;
}
.mini-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mini-card__label { font-size: 11.5px; font-weight: 650; letter-spacing: -0.01em; }
.mini-card__value { font-size: 11.5px; font-weight: 700; }
.bar { height: 7px; border-radius: 99px; background: rgba(107, 62, 46, .12); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--noplo-yellow), var(--noplo-coral)); }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-size: 10.5px; font-weight: 640; padding: 4px 9px; border-radius: 99px;
  background: var(--noplo-peach); color: var(--noplo-cocoa);
}
.chip--mint { background: var(--noplo-mint); }
.chip--yellow { background: var(--noplo-yellow); }
.task-line { display: flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 560; color: var(--noplo-cocoa); }
.task-line i { width: 14px; height: 14px; border-radius: 5px; border: 1.5px solid rgba(107, 62, 46, .35); flex: none; }
.task-line--done i { background: var(--noplo-mint); border-color: transparent; }
.task-line--done { opacity: .6; text-decoration: line-through; }

.float-card {
  position: absolute;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(20, 26, 43, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-2);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 11px;
}
.float-card img { width: 38px; height: 38px; border-radius: 10px; }
.float-card__text { display: grid; line-height: 1.3; }
.float-card__text strong { font-size: 14px; font-weight: 640; }
.float-card__text small { font-size: 12px; color: var(--muted); }
.float-card--a { top: 12%; right: -2%; animation: floaty 7s ease-in-out infinite; }
.float-card--b { bottom: 10%; left: -4%; animation: floaty 8.5s ease-in-out .8s infinite; }

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

/* ---------- section heads ---------- */
.head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.head h2 { font-size: clamp(30px, 3.8vw, 46px); }
.head--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: end;
  gap: 32px;
}

/* ---------- product cards ---------- */
.products { display: grid; gap: clamp(20px, 3vw, 28px); }
.product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 3.6vw, 48px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--surface), var(--ink-700) 70%);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.product:hover { border-color: var(--line-strong); }
.product::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  right: -120px; top: -220px;
  border-radius: 50%;
  background: var(--tint, rgba(237, 134, 56, .2));
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
}
.product--noplo { --tint: rgba(241, 70, 44, .28); }
.product--rush { --tint: rgba(232, 197, 69, .22); }
.product__body { position: relative; }
.product__icon {
  width: 68px; height: 68px; border-radius: 18px;
  box-shadow: var(--shadow-1);
  margin-bottom: 20px;
}
.product__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.tag {
  font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; font-weight: 650;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text-dim);
}
.tag--soon { border-color: rgba(232, 197, 69, .5); color: var(--gold); }
.product h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.product__tagline { font-size: 17px; font-weight: 560; color: var(--text); margin-bottom: 14px; }
.product p { color: var(--text-dim); margin-bottom: 24px; }

.product__visual { position: relative; }
.visual-frame {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: radial-gradient(120% 110% at 50% 0%, rgba(255, 255, 255, .07), transparent 60%), var(--ink-700);
  padding: 22px;
  display: grid;
  place-items: center;
  min-height: 260px;
  overflow: hidden;
}
.visual-frame--noplo { background: linear-gradient(160deg, #fff5e6, #f4e9d9); }
.visual-frame--rush { background: linear-gradient(160deg, #1d8fe0, #0b3f74); }
.visual-frame img { max-height: 260px; width: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .22)); }

/* screenshot placeholder */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.shot {
  border-radius: 20px;
  border: 1px dashed var(--line-strong);
  aspect-ratio: 9 / 19;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 10px, transparent 10px 20px);
  background-color: rgba(255, 255, 255, .02);
  display: grid; place-items: center; text-align: center;
  padding: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- generic cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--ink-700));
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 15.5px; }
.card__num {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  display: block; margin-bottom: 18px;
}
.card__icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad);
  margin-bottom: 18px;
  position: relative;
}
.card__icon::after {
  content: ""; position: absolute; inset: 12px; border-radius: 4px;
  background: var(--ink-900);
}
.card--link { display: grid; gap: 14px; }
.card--flat { background: rgba(255, 255, 255, .025); }

/* feature list */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 16px;
}
.feature-list li:first-child { border-top: 1px solid var(--line); }
.feature-list strong { color: var(--text); font-weight: 620; display: block; }
.feature-list .dot {
  width: 8px; height: 8px; border-radius: 3px; flex: none; margin-top: 9px;
  background: var(--grad);
}

/* ---------- page hero ---------- */
.page-hero {
  padding: clamp(52px, 7vw, 96px) 0 clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: -220px 40% auto -10%; height: 460px;
  background: radial-gradient(45% 50% at 50% 50%, rgba(241, 70, 44, .2), transparent 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 780px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 20px; }

.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

/* ---------- prose / policy ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc {
  position: sticky; top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  background: rgba(255, 255, 255, .02);
}
.toc p { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 650; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; font-size: 14.5px; color: var(--text-dim); padding: 6px 8px; border-radius: 8px; }
.toc a:hover { background: rgba(255, 255, 255, .06); color: #fff; }

.prose { max-width: 72ch; }
.prose section { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; }
.prose h3 { font-size: 18px; margin: 22px 0 8px; }
.prose p { color: var(--text-dim); margin-bottom: 14px; font-size: 16.5px; }
.prose ul { color: var(--text-dim); padding-left: 20px; margin: 0 0 14px; }
.prose li { margin-bottom: 8px; }
.note {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  padding: 18px 20px;
  background: rgba(255, 255, 255, .02);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 8px; top: 50%;
  width: 11px; height: 11px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq summary:hover { color: #fff; }
.faq p { color: var(--text-dim); padding: 0 44px 24px 0; margin-top: -4px; font-size: 16px; }

/* ---------- contact ---------- */
.contact-card {
  display: grid; gap: 12px;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--ink-700));
}
.contact-card h3 { font-size: 19px; }
.contact-card p { color: var(--text-dim); font-size: 15.5px; }
.mail {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--orange);
  word-break: break-all;
}
.mail:hover { color: var(--gold); }

/* ---------- CTA band ---------- */
.band {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(80% 140% at 12% 0%, rgba(241, 70, 44, .26), transparent 60%),
    radial-gradient(70% 130% at 88% 100%, rgba(232, 197, 69, .18), transparent 62%),
    var(--ink-700);
  display: grid; gap: 26px;
  justify-items: start;
  overflow: hidden;
}
.band h2 { font-size: clamp(26px, 3.4vw, 40px); max-width: 20ch; }
.band p { color: var(--text-dim); max-width: 54ch; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-900);
  padding: clamp(48px, 6vw, 72px) 0 32px;
  margin-top: clamp(48px, 6vw, 80px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}
.footer-grid p { color: var(--muted); font-size: 15px; max-width: 34ch; margin-top: 14px; }
.footer-col h4 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 650; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-dim); font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--muted); font-size: 14px;
}

/* ---------- 404 ---------- */
.err { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.err__code {
  font-size: clamp(72px, 14vw, 150px);
  font-weight: 700; letter-spacing: -0.06em; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .stage { max-width: 460px; margin: 0 auto; min-height: 420px; }
  .product { grid-template-columns: 1fr; }
  .head--split { grid-template-columns: 1fr; align-items: start; }
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    inset: 76px 0 auto;
    margin: 0;
    background: rgba(8, 11, 19, .98);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--pad) 28px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 14px 12px; font-size: 16.5px; min-height: 48px; }
  .nav__list .btn { margin-top: 14px; width: 100%; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .float-card--a { right: -2%; top: 6%; }
  .float-card--b { left: -2%; bottom: 6%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
}

@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; }
}

/* ---------- additions ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.prose a:not(.btn):not(.mail) { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.prose a:not(.btn):not(.mail):hover { color: var(--gold); }
.ext::after {
  content: "\2197\FE0E";
  font-size: .85em;
  margin-left: 2px;
  display: inline-block;
}
.meta-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.meta-list li { color: var(--text-dim); font-size: 15.5px; display: flex; gap: 10px; }
.meta-list b { color: var(--text); font-weight: 620; }
.form-note {
  display: grid; gap: 14px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .025);
}
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 620; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 15.5px;
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 46px;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); outline: none; }
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(21, 22, 31, .9);
  border: 1px solid var(--line-strong);
  color: var(--text);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s, background-color .2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgba(237, 134, 56, .18); border-color: rgba(237, 134, 56, .5); }
