/* ============================================================
   TGM Technologies — Study & Course Data API
   Brand: near-black + white, single warm accent (orange-red).
   ============================================================ */

:root {
  --ink: #0a0a0a;
  --ink-2: #1a1a1c;
  --muted: #6b6b70;
  --muted-2: #9a9aa0;
  --line: #e9e9ec;
  --bg: #ffffff;
  --bg-alt: #f6f6f4;
  --accent: #ff4d2e;
  --accent-2: #e8492b;
  --accent-soft: rgba(255, 77, 46, 0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, .05), 0 6px 20px rgba(10, 10, 10, .04);
  --shadow-md: 0 12px 40px rgba(10, 10, 10, .10);
  --shadow-lg: 0 30px 70px rgba(10, 10, 10, .16);
  --maxw: 1160px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
/* the [hidden] attribute must always win over component display rules
   (e.g. the waitlist success overlay uses display:flex) */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth; scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;  /* no auto text inflation on rotate */
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  width: 100%;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;  /* no grey flash on tap */
}

/* Belt-and-braces: nothing may cause a horizontal scroll on mobile.
   `clip` (unlike `hidden`) doesn't create a scroll container, so the
   sticky nav keeps working. */
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, svg, video, canvas { max-width: 100%; }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.08; font-weight: 800; overflow-wrap: break-word; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* padding respects notch safe-areas on landscape phones; stays 24px otherwise */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right)); }
.accent { color: var(--accent); }
.accent-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  --pad: 12px 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad);
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .18s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { --pad: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; box-shadow: var(--shadow-md); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(255,77,46,.30); }
.btn--accent:hover { background: var(--accent-2); box-shadow: 0 12px 30px rgba(255,77,46,.40); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }

/* ---------- A. Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(10,10,10,.02); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; max-width: var(--maxw); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.logo__mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(140deg, #232327, #0a0a0a);
  box-shadow: 0 4px 12px rgba(10,10,10,.22), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.logo:hover .logo__mark { transform: translateY(-1px) rotate(-3deg); box-shadow: 0 6px 16px rgba(255,77,46,.28); }
.logo__mark svg { display: block; }
.logo__text { position: relative; font-size: 19px; letter-spacing: -0.03em; font-weight: 800; }
.logo__thin { font-weight: 500; color: var(--muted); margin-left: 2px; }
/* the period is a real orange ball — absolutely placed so it adds NO layout
   space, centered on the letters (not sitting under them). */
.logo__dot {
  position: absolute; left: 100%; top: 50%; margin: -3.5px 0 0 3px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  font-size: 0; box-shadow: 0 1px 2px rgba(255,77,46,.5);
}
.logo__dot::before { /* highlight that orbits as it rolls, so the spin reads */
  content: ""; position: absolute; top: 1px; left: 1.6px;
  width: 2.4px; height: 2.4px; border-radius: 50%; background: rgba(255,255,255,.9);
}
/* the ball rolls across the letters, rests as the period, then loops forever;
   --roll-x / --roll-r are measured + set in JS */
.logo__dot { z-index: 3; }
.logo__dot--loop { animation: dotLoop 5.5s var(--ease) infinite; }
@keyframes dotLoop {
  0%   { transform: translateX(var(--roll-x, -120px)) rotate(var(--roll-r, -1900deg)); opacity: 0; }
  6%   { opacity: 1; }
  50%  { transform: translateX(0) rotate(0); opacity: 1; }
  86%  { transform: translateX(0) rotate(0); opacity: 1; }
  94%  { transform: translateX(0) rotate(0); opacity: 0; }
  100% { transform: translateX(var(--roll-x, -120px)) rotate(var(--roll-r, -1900deg)); opacity: 0; }
}
.logo__text--footer { font-size: 22px; color: #fff; }
.logo__text--footer .logo__dot { width: 8px; height: 8px; margin-top: -4px; }
.logo__text--footer .logo__thin { color: rgba(255,255,255,.55); }

.nav__links { display: flex; align-items: center; gap: 2px; margin-left: 14px; flex-wrap: nowrap; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; white-space: nowrap;
  padding: 8px 11px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--ink); background: var(--bg-alt); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav__badge {
  margin-left: 6px; font-size: 10px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
  padding: 2px 6px; border-radius: 999px; vertical-align: middle;
}
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; }
.nav__link--cta { display: none; } /* shown only inside the collapsed mobile menu */

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section__title { font-size: clamp(28px, 4vw, 42px); }
.section__lead { margin-top: 14px; color: var(--muted); font-size: 17px; }
.kicker {
  display: inline-block; margin-bottom: 14px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.kicker--light { color: var(--accent); }
.kicker__badge {
  margin-left: 8px; color: var(--muted); background: #fff; border: 1px solid var(--line);
  padding: 2px 8px; border-radius: 999px; font-size: 10px; letter-spacing: .06em;
}

.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- B. Hero ---------- */
.hero { position: relative; padding: 120px 0 96px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,10,10,.08) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  opacity: .6;
}
/* slow-drifting warm glow behind the headline */
.hero__bg::after {
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(38% 42% at 30% 32%, rgba(255,77,46,.12), transparent 70%),
    radial-gradient(34% 40% at 74% 62%, rgba(255,77,46,.09), transparent 70%);
  animation: heroGlow 16s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { transform: translate(-3%, -2%) scale(1); }
  to   { transform: translate(4%, 3%) scale(1.09); }
}
.hero__inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 26px;
  background: var(--accent-soft); color: var(--accent-2);
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,77,46,.18); }
.hero__headline { font-size: clamp(38px, 6.6vw, 76px); font-weight: 900; letter-spacing: -0.035em; }
/* animated shimmer across the accent words in the headline */
.hero__headline .accent {
  background: linear-gradient(100deg, var(--accent) 0%, #ff8163 28%, var(--accent) 55%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: accentShimmer 6.5s linear infinite;
}
@keyframes accentShimmer { to { background-position: -220% 0; } }
.hero__subhead { margin: 26px auto 0; max-width: 620px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.hero__cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* floating cards */
.hero__cards { position: absolute; inset: 0; }
.floatcard {
  position: absolute; display: flex; gap: 10px; align-items: flex-start;
  width: 210px; padding: 13px 15px; border-radius: 14px;
  background: rgba(255,255,255,.92); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); backdrop-filter: blur(6px);
  will-change: transform;
}
.floatcard__dot { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px var(--accent-soft); }
.floatcard__provider { font-size: 11px; font-weight: 700; color: var(--muted); }
.floatcard__course { font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; }
.floatcard__meta { font-size: 11.5px; color: var(--muted-2); margin-top: 2px; }
/* scattered positions; each bobs on its own, forever, with no mouse needed
   (negative delays desync them so they don't move in lockstep) */
.floatcard:nth-child(1) { top: 12%;  left: 4%;  animation: floatA 7.5s ease-in-out -0.4s infinite; }
.floatcard:nth-child(2) { top: 22%;  right: 5%; animation: floatB 9s   ease-in-out -3.0s infinite; }
.floatcard:nth-child(3) { bottom: 16%; left: 7%; animation: floatA 8.3s ease-in-out -1.6s infinite; }
.floatcard:nth-child(4) { bottom: 12%; right: 8%; animation: floatB 8.8s ease-in-out -4.2s infinite; }
.floatcard:nth-child(5) { top: 46%;  right: 2%; animation: floatA 7.9s ease-in-out -2.3s infinite; }
@keyframes floatA { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(10px, -24px) rotate(2deg); } }
@keyframes floatB { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-12px, -20px) rotate(-2.5deg); } }

/* ---------- C. Features ---------- */
.feature {
  padding: 26px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #dcdce0; }
.feature__icon, .usecase__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px;
}
.feature__icon svg, .usecase__icon svg { width: 22px; height: 22px; }
.feature__title { font-size: 18px; margin-bottom: 8px; }
.feature__body, .usecase__body { color: var(--muted); font-size: 14.5px; }

/* ---------- D. Data & Coverage ---------- */
.subtabs { position: relative; display: flex; width: fit-content; max-width: 100%; gap: 4px; margin: 0 auto 34px; padding: 5px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.subtab { position: relative; z-index: 2; border: 0; background: transparent; cursor: pointer;
  padding: 9px 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14.5px; color: var(--muted); transition: color .25s; }
.subtab.is-active { color: #fff; }
.subtabs__slider { position: absolute; z-index: 1; top: 5px; bottom: 5px; border-radius: 999px;
  background: var(--ink); transition: left .32s var(--ease), width .32s var(--ease); }

.fieldgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.field {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 500;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.field:hover { transform: translateY(-2px); border-color: #dcdce0; box-shadow: var(--shadow-sm); }
.field__check { display: grid; place-items: center; width: 20px; height: 20px; flex: none;
  border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.field__check svg { width: 12px; height: 12px; }

.exclusive { margin-top: 34px; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fff), var(--accent-soft);
  border: 1px dashed rgba(255,77,46,.4); text-align: center; }
.exclusive__label { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; margin-bottom: 16px; }
.exclusive__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { padding: 8px 15px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; }

/* ---------- E. Packages ---------- */
.toggle { position: relative; display: flex; width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 5px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.toggle__btn { position: relative; z-index: 2; border: 0; background: transparent; cursor: pointer;
  padding: 10px 26px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .25s; }
.toggle__btn.is-active { color: #fff; }
.toggle__slider { position: absolute; z-index: 1; top: 5px; bottom: 5px;
  background: var(--accent); border-radius: 999px; transition: left .32s var(--ease), width .32s var(--ease); }

.pkg-cards { max-width: 860px; margin: 0 auto; align-items: start; }
.pricecard { position: relative; padding: 30px; border-radius: 20px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.pricecard:hover { transform: translateY(-6px) scale(1.015); box-shadow: var(--shadow-lg); }
.pricecard--featured { border-color: var(--accent); box-shadow: 0 20px 50px rgba(255,77,46,.14); }
.pricecard__badge { position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; }
.pricecard__tier { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pricecard__price { margin: 10px 0 6px; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.pricecard__note { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pricecard__summary { color: var(--muted); font-size: 14.5px; min-height: 44px; margin-bottom: 20px; }
.pricecard__features { margin-top: 22px; display: grid; gap: 11px; border-top: 1px solid var(--line); padding-top: 22px; }
.pricecard__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.pricecard__features svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent); }

.bundle { margin-top: 24px; max-width: 860px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding: 26px 30px; border-radius: 20px; background: var(--ink); color: #fff; }
.bundle__tier { font-size: 19px; font-weight: 800; }
.bundle__summary { color: rgba(255,255,255,.7); font-size: 14.5px; margin-top: 4px; }
.bundle__price { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.bundle__amount { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.bundle__amount span { display: block; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.55); }

/* ---------- F. Use cases ---------- */
.usecase { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.usecase__title { font-size: 17px; margin-bottom: 8px; }

/* ---------- G. API Suite ---------- */
.suite { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.apicard {
  text-align: left; font: inherit; cursor: pointer;
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.apicard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.apicard.is-active { border-color: var(--accent); box-shadow: 0 16px 40px rgba(255,77,46,.14); }
.apicard__top { display: flex; align-items: center; justify-content: space-between; }
.apicard__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
  background: var(--accent-soft); color: var(--accent); }
.apicard__icon svg { width: 20px; height: 20px; }
.apicard__status { font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; }
.apicard__status--launching-first { background: var(--accent); color: #fff; }
.apicard__status--coming-soon { background: var(--accent-soft); color: var(--accent-2); }
.apicard__status--on-the-roadmap { background: #eef0f3; color: var(--muted); }
.apicard__name { font-size: 16.5px; }
.apicard__tagline { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.apicard__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.chip--sm { padding: 4px 10px; font-size: 11.5px; background: var(--bg-alt); color: var(--ink-2); font-weight: 600; }
.apicard__endpoint { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.apicard__endpoint code { font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--muted); }

.apiwrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
/* let scrollable children shrink instead of forcing the track wider than the screen */
.apiwrap > *, .codeblock { min-width: 0; }
.codeblock__view { display: none; }
.codeblock__view.is-active { display: block; animation: panelIn .35s var(--ease); }
.codeblock { border-radius: 16px; overflow: hidden; background: #0d0d0f; border: 1px solid #232327; box-shadow: var(--shadow-lg); }
.codeblock__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid #1e1e22; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.codeblock__label { margin-left: auto; font-size: 11.5px; color: #6b6b72; letter-spacing: .03em; }
.codeblock__req { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #1e1e22; overflow-x: auto; }
.codeblock__req code { font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; color: #c9c9d1; white-space: nowrap; }
.tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; letter-spacing: .04em; flex: none; }
.tag--get { background: rgba(40,200,64,.15); color: #4ade80; }
.tag--post { background: rgba(99,140,255,.16); color: #8aa6ff; }
.apicard__endpoint .tag--get { background: rgba(40,200,64,.14); color: #1f9d3a; }
.apicard__endpoint .tag--post { background: rgba(99,140,255,.16); color: #4f6bd6; }
.codeblock__body { margin: 0; padding: 18px 16px; overflow-x: auto; max-height: 420px; }
.codeblock__body code { font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.7; color: #d6d6de; white-space: pre; }

.roadmap { position: relative; padding-left: 8px; }
.roadmap__step { position: relative; display: flex; gap: 16px; padding: 0 0 26px 22px; }
.roadmap__step::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: -4px; width: 2px; background: var(--line); }
.roadmap__step:last-child::before { display: none; }
.roadmap__marker { position: absolute; left: 0; top: 4px; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.roadmap__phase { font-weight: 700; font-size: 15.5px; }
.roadmap__when { font-size: 11.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.roadmap__note { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ---------- H. Waitlist ---------- */
.section--cta { background: var(--ink); color: #fff; }
.section--cta .section__lead { color: rgba(255,255,255,.6); }
.waitlist { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 980px; margin: 0 auto; }
.waitlist__copy .section__title { font-size: clamp(26px, 3.4vw, 38px); }
.waitlist__points { margin-top: 22px; display: grid; gap: 12px; }
.waitlist__points li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-weight: 500; }
.waitlist__points svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.waitform { position: relative; background: #fff; color: var(--ink); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-lg); }
.waitform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.waitform label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.waitform input, .waitform select {
  width: 100%; margin-top: 7px; padding: 12px 14px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.waitform input:focus, .waitform select:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.waitform__error { margin-top: 12px; color: var(--accent-2); font-size: 13.5px; font-weight: 600; }

/* product picker (multi-select chips) */
.waitform__group { margin-bottom: 14px; }
.waitform__grouplabel { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 9px; }
.prodpick { display: flex; flex-wrap: wrap; gap: 9px; }
.prodpick__opt { display: inline-flex; cursor: pointer; margin: 0; }
.prodpick__opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.prodpick__chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--bg-alt); color: var(--ink-2); border: 1px solid var(--line);
  transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease);
}
.prodpick__chip::before {
  content: ""; width: 15px; height: 15px; border-radius: 50%; flex: none;
  border: 2px solid var(--muted-2); transition: border-color .2s, background .2s;
}
.prodpick__opt:hover .prodpick__chip { border-color: var(--ink); transform: translateY(-1px); }
.prodpick__opt input:checked + .prodpick__chip {
  background: var(--accent-soft); color: var(--accent-2); border-color: var(--accent);
}
.prodpick__opt input:checked + .prodpick__chip::before {
  border-color: var(--accent); background: var(--accent);
  box-shadow: inset 0 0 0 2px #fff;
}
.prodpick__opt input:focus-visible + .prodpick__chip { box-shadow: 0 0 0 4px var(--accent-soft); }

.waitform__success { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; background: #fff; border-radius: 20px; padding: 30px; gap: 6px;
  animation: fadeIn .4s var(--ease); }
.waitform__success h3 { font-size: 22px; }
.waitform__success p { color: var(--muted); }
.waitform__check { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--accent); color: #fff; margin-bottom: 12px; animation: pop .5s var(--ease) both; }
.waitform__check svg { width: 30px; height: 30px; }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- I. Footer ---------- */
.footer { background: #060606; color: #fff; padding: 60px 0 max(30px, env(safe-area-inset-bottom)); }
.footer__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__tag { margin-top: 12px; color: rgba(255,255,255,.55); max-width: 300px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px 26px; align-content: flex-start; }
.footer__links a { color: rgba(255,255,255,.7); font-size: 14.5px; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; color: rgba(255,255,255,.4); font-size: 13px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.is-in[style*="--i"] { transition-delay: calc(var(--i, 0) * 45ms); }

/* ---------- Panels (tab content) ---------- */
.panel { animation: none; }
.panel.is-active { animation: panelIn .4s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Business Suite (standalone page)
   ============================================================ */
.bizhero { position: relative; padding: 130px 0 90px; overflow: hidden; text-align: center; }
.bizhero__bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(50% 55% at 20% 0%, rgba(124,92,252,.14), transparent 70%),
    radial-gradient(45% 50% at 82% 8%, rgba(255,77,46,.14), transparent 70%),
    radial-gradient(40% 45% at 60% 100%, rgba(47,107,255,.12), transparent 70%);
}
.bizhero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,10,10,.07) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 72%);
  opacity: .5;
}
.bizhero__inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.bizhero__headline { font-size: clamp(34px, 5.4vw, 64px); font-weight: 900; letter-spacing: -0.035em; }
.bizhero__subhead { margin: 24px auto 0; max-width: 640px; font-size: clamp(16px, 2vw, 19px); color: var(--muted); }
.bizhero__stats { margin-top: 34px; display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  font-size: 14.5px; color: var(--muted); }
.bizhero__stats strong { color: var(--ink); font-weight: 800; }
.bizhero__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }

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

.bizcard {
  position: relative; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  outline: none;
}
.bizcard:hover, .bizcard:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
/* colored glow that grows from the top on hover */
.bizcard__glow { position: absolute; top: -40%; left: 50%; width: 120%; height: 60%; transform: translateX(-50%) scale(.6);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 30%, transparent), transparent);
  opacity: 0; transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.bizcard:hover .bizcard__glow, .bizcard:focus-visible .bizcard__glow { opacity: 1; transform: translateX(-50%) scale(1); }
/* top accent bar */
.bizcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); z-index: 3; }
.bizcard:hover::before, .bizcard:focus-visible::before { transform: scaleX(1); }

.bizcard__inner { position: relative; z-index: 2; padding: 26px; display: flex; flex-direction: column; min-height: 220px; }
.bizcard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.bizcard__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c);
  transition: transform .4s var(--ease), background .4s; }
.bizcard__icon svg { width: 25px; height: 25px; }
.bizcard:hover .bizcard__icon, .bizcard:focus-visible .bizcard__icon { transform: scale(1.08) rotate(-4deg); background: var(--c); color: #fff; }
.bizcard__num { font-size: 13px; font-weight: 800; letter-spacing: .05em; color: var(--muted-2);
  transition: color .4s; }
.bizcard:hover .bizcard__num, .bizcard:focus-visible .bizcard__num { color: var(--c); }
.bizcard__title { font-size: 20px; letter-spacing: -0.02em; }
.bizcard__tagline { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

/* hover-reveal panel (grid-rows 0fr -> 1fr for smooth height animation) */
.bizcard__reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease), margin-top .45s var(--ease); margin-top: 0; }
.bizcard__reveal-in { overflow: hidden; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease) .05s, transform .4s var(--ease) .05s; }
.bizcard:hover .bizcard__reveal, .bizcard:focus-visible .bizcard__reveal { grid-template-rows: 1fr; margin-top: 18px; }
.bizcard:hover .bizcard__reveal-in, .bizcard:focus-visible .bizcard__reveal-in { opacity: 1; transform: none; }

.bizcard__features { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.bizcard__features li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.bizcard__check { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 5px;
  background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.bizcard__check svg { width: 11px; height: 11px; }
.bizcard__usecase { margin-top: 16px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.bizcard__uclabel { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c); margin-bottom: 5px; }
.bizcard__cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--c); }
.bizcard__cta svg { transition: transform .3s var(--ease); }
.bizcard:hover .bizcard__cta svg, .bizcard:focus-visible .bizcard__cta svg { transform: translateX(4px); }

/* CTA band */
.bizcta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.bizcta .section__head, .bizcta .section__title { text-align: left; margin: 0; }
.bizcta .section__title { max-width: 560px; }

/* --- Home teaser band --- */
.bizteaser { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: 44px; border-radius: 26px; overflow: hidden;
  background: var(--ink); color: #fff; }
.bizteaser .kicker { color: var(--accent); }
.bizteaser .section__title { text-align: left; color: #fff; }
.bizteaser .section__lead { color: rgba(255,255,255,.65); }
.bizteaser__copy { position: relative; z-index: 2; }
.bizteaser__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.pill { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.bizteaser__cta { background: #fff; color: var(--ink); }
.bizteaser__cta:hover { background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.3); }

.bizteaser__art { position: relative; height: 260px; }
.bizteaser__blob { position: absolute; border-radius: 50%; filter: blur(30px); opacity: .55; }
.bizteaser__blob--1 { width: 180px; height: 180px; background: #FF4D2E; top: -10%; right: 10%; animation: blob 9s var(--ease) infinite alternate; }
.bizteaser__blob--2 { width: 150px; height: 150px; background: #7C5CFC; bottom: 0; right: 40%; animation: blob 11s var(--ease) infinite alternate-reverse; }
.bizteaser__blob--3 { width: 140px; height: 140px; background: #2F6BFF; top: 30%; right: -5%; animation: blob 10s var(--ease) infinite alternate; }
@keyframes blob { from { transform: translate(0,0) scale(1); } to { transform: translate(-18px,14px) scale(1.12); } }
.bizteaser__tiles { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: 100%; align-content: center; }
.bizteaser__tiles span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: var(--c);
  backdrop-filter: blur(6px); transition: transform .3s var(--ease), background .3s; }
.bizteaser__tiles span:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); }
.bizteaser__tiles svg { width: 26px; height: 26px; }

/* ============================================================
   B2. TUEG — flagship product band
   ============================================================ */
.tueg { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.tueg__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 50% at 12% 6%, rgba(255,77,46,.22), transparent 70%),
    radial-gradient(42% 46% at 94% 26%, rgba(37,211,102,.16), transparent 70%),
    radial-gradient(52% 52% at 74% 104%, rgba(124,92,252,.15), transparent 72%); }
.tueg__bg::before { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 82% 70% at 28% 30%, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse 82% 70% at 28% 30%, #000 18%, transparent 76%);
  opacity: .5; }
.tueg .container { position: relative; z-index: 1; }
.tueg__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
.tueg .kicker--light { color: var(--accent); }

.tueg__lockup { display: flex; align-items: baseline; gap: 13px; margin-bottom: 16px; flex-wrap: wrap; }
.tueg__badge { font-size: 23px; font-weight: 900; letter-spacing: -0.02em; padding: 6px 15px; border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), #ff7a5c); color: #fff; box-shadow: 0 10px 26px rgba(255,77,46,.4); }
.tueg__full { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.6); }
.tueg__title { color: #fff; text-align: left; font-size: clamp(28px, 3.6vw, 46px); }
.tueg__lead { color: rgba(255,255,255,.68); text-align: left; margin: 14px 0 0; max-width: 560px; }

.tueg__stats { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 30px 0 30px; }
.tueg__stat { display: flex; flex-direction: column; }
.tueg__statval { font-size: 31px; font-weight: 900; letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(100deg, #fff 30%, #ffcabb);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tueg__statlabel { font-size: 12px; color: rgba(255,255,255,.5); max-width: 165px; margin-top: 7px; line-height: 1.4; }

.tueg__features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-bottom: 34px; }
.tuegfeat { display: flex; gap: 13px; align-items: flex-start; }
.tuegfeat__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: rgba(255,77,46,.13); color: var(--accent); border: 1px solid rgba(255,77,46,.22);
  transition: transform .3s var(--ease), background .3s; }
.tuegfeat:hover .tuegfeat__icon { transform: translateY(-3px) rotate(-4deg); background: rgba(255,77,46,.22); }
.tuegfeat__icon svg { width: 19px; height: 19px; }
.tuegfeat__title { font-size: 14.5px; font-weight: 700; }
.tuegfeat__body { font-size: 12.5px; color: rgba(255,255,255,.52); line-height: 1.5; margin-top: 3px; }

/* --- Phone + WhatsApp chat mockup --- */
.tueg__art { display: flex; justify-content: center; }
.phone { position: relative; width: 300px; animation: phoneFloat 6s ease-in-out infinite; }
@keyframes phoneFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone__glow { position: absolute; inset: -14% -12%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37,211,102,.4), transparent 72%); filter: blur(34px); }
.phone__frame { position: relative; z-index: 1; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #2b2b31, #0c0c0f);
  box-shadow: 0 44px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.09); border: 1px solid #34343a; }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 25px; border-radius: 999px; background: #000; z-index: 4; }
.phone__screen { position: relative; border-radius: 33px; overflow: hidden; background: #efeae2;
  height: 520px; display: flex; flex-direction: column; }

.chat__head { display: flex; align-items: center; gap: 10px; padding: 32px 14px 12px; background: #128c7e; color: #fff; }
.chat__avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: rgba(255,255,255,.16); }
.chat__avatar svg { width: 20px; height: 20px; }
.chat__name { font-size: 13.5px; font-weight: 700; }
.chat__status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(255,255,255,.82); margin-top: 1px; }
.chat__online { width: 7px; height: 7px; border-radius: 50%; background: #34e56a; box-shadow: 0 0 0 3px rgba(52,229,106,.3); }

.chat__body { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 9px; overflow: hidden;
  background: #efeae2; }
.bubble { max-width: 84%; padding: 8px 11px; border-radius: 12px; font-size: 12px; line-height: 1.45; color: #111b21;
  box-shadow: 0 1px 1px rgba(0,0,0,.09); opacity: 0; transform: translateY(10px) scale(.98);
  animation: bubbleIn .5s var(--ease) forwards; animation-delay: calc(.5s + var(--n, 0) * .9s); }
.bubble--in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.bubble--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.bubble--typing { align-self: flex-start; background: #fff; display: inline-flex; gap: 4px; padding: 11px 13px;
  border-top-left-radius: 4px; max-width: none; }
.bubble--typing span { width: 6px; height: 6px; border-radius: 50%; background: #9aa0a6; animation: chatTyping 1.3s infinite; }
.bubble--typing span:nth-child(2) { animation-delay: .18s; }
.bubble--typing span:nth-child(3) { animation-delay: .36s; }
@keyframes bubbleIn { to { opacity: 1; transform: none; } }
@keyframes chatTyping { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ---------- Responsive ---------- */
/* Collapse the nav to a menu before the links can crowd */
@media (max-width: 1060px) {
  .nav__links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid var(--line); padding: 10px; box-shadow: var(--shadow-md); }
  .nav__links.is-open { display: flex; }
  .nav__link { padding: 12px 14px; border-radius: 8px; font-size: 15px; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--bg-alt); }
  .nav__cta { display: none; }
  .nav__burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
  .nav__burger span { display: block; height: 2px; width: 18px; margin: 0 auto; background: var(--ink); transition: transform .3s, opacity .3s; }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* keep a Join Waitlist action available in the mobile menu */
  .nav__link--cta { display: block; margin-top: 8px; text-align: center; font-weight: 700;
    background: var(--ink); color: #fff; }
  .nav__link--cta:hover, .nav__link--cta.is-active { background: #000; color: #fff; }
}
@media (max-width: 940px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .suite { grid-template-columns: repeat(2, 1fr); }
  .bizgrid { grid-template-columns: repeat(2, 1fr); }
  .bizteaser { grid-template-columns: 1fr; gap: 28px; }
  .bizteaser__art { height: 200px; }
  .apiwrap { grid-template-columns: 1fr; }
  .waitlist { grid-template-columns: 1fr; gap: 30px; }
  .fieldgrid { grid-template-columns: repeat(2, 1fr); }
  .tueg__grid { grid-template-columns: 1fr; gap: 44px; }
  .tueg__art { order: 2; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .hero { padding: 70px 0 60px; }
  .floatcard { display: none; }
  .floatcard:nth-child(1), .floatcard:nth-child(4) { display: flex; width: 168px; }
  .floatcard:nth-child(1) { top: 2%; left: -2%; } .floatcard:nth-child(4) { bottom: 2%; right: -2%; }
  .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .suite { grid-template-columns: 1fr; }
  .bizgrid { grid-template-columns: 1fr; }
  .bizteaser { padding: 28px; }
  .fieldgrid { grid-template-columns: 1fr 1fr; }
  .bundle { flex-direction: column; align-items: flex-start; }
  .waitform__row { grid-template-columns: 1fr; }
  .tueg__features { grid-template-columns: 1fr; }
  .phone { width: 268px; }
  .phone__screen { height: 470px; }
  /* No hover on touch — reveal product details by default */
  .bizcard__reveal { grid-template-rows: 1fr; margin-top: 18px; }
  .bizcard__reveal-in { opacity: 1; transform: none; }
  .bizcard::before { transform: scaleX(1); }
}
@media (max-width: 600px) {
  .container { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .nav__inner { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .section { padding: 54px 0; }
  .hero { padding: 50px 0 44px; }
  .bizhero { padding: 86px 0 56px; }
  .section__head { margin-bottom: 34px; }
  /* decorative hero cards clutter/overlap text on phones — hide for clarity */
  .floatcard { display: none !important; }
  /* stack hero CTAs full-width for easy tapping */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .btn--lg { padding: 14px 22px; font-size: 15.5px; }
  .feature, .usecase, .apicard, .exclusive { padding: 20px; }
  .pricecard { padding: 22px; }
  .waitform { padding: 22px; }
  .waitlist { gap: 24px; }
  /* 16px inputs stop iOS Safari from auto-zooming the page on focus */
  .waitform input, .waitform select { font-size: 16px; }
  /* keep the UG/PG toggle + data sub-tabs inside narrow screens */
  .toggle__btn { padding: 10px 16px; font-size: 14px; }
  .subtab { padding: 9px 15px; font-size: 13.5px; }
  .codeblock__body code, .codeblock__req code { font-size: 11.5px; }
  .bizhero__stats { gap: 10px; font-size: 13px; }
  .bizteaser { padding: 22px; }
  .bizcta { flex-direction: column; align-items: stretch; }
  .bizcta .btn { width: 100%; }
  .bizcta .section__title { max-width: none; }
  /* stack the mark above the wordmark so the lockup always fits and centers */
  .splash__stage { flex-direction: column; gap: 16px; padding: 0 16px; text-align: center; max-width: 100%; }
  .splash__mark { width: 60px; height: 60px; border-radius: 16px; }
  .splash__t { width: 32px; height: 36px; }
  .splash__mbar { width: 32px; height: 7px; }
  .splash__mstem { left: 12px; width: 7px; height: 36px; }
  .splash__word { max-width: 100%; }
  .splash__wordclip span { font-size: clamp(22px, 7vw, 40px); }
  .splash__progress { bottom: 46px; width: 140px; }
}
@media (max-width: 360px) {
  .splash__wordclip span { font-size: 21px; }
}
@media (max-width: 420px) {
  .fieldgrid { grid-template-columns: 1fr; }
  .container, .nav__inner { padding-left: max(15px, env(safe-area-inset-left)); padding-right: max(15px, env(safe-area-inset-right)); }
  .logo__text { font-size: 17px; }
  .hero__headline { font-size: 33px; }
  .section__title { font-size: 25px; }
  .pricecard__price { font-size: 28px; }
  .eyebrow { font-size: 12px; }
}

/* ============================================================
   Splash screen (intro on first load)
   ============================================================ */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg); overflow: hidden;
  animation: splashHide .6s var(--ease) 3.05s forwards;
}
.splash--skip { display: none; }
.splash__stage { display: flex; align-items: center; gap: 22px; padding: 0 24px; max-width: 100%; }

.splash__mark {
  position: relative; width: 76px; height: 76px; border-radius: 20px; flex: none;
  background: linear-gradient(140deg, #232327, #0a0a0a);
  box-shadow: 0 14px 34px rgba(10,10,10,.25), inset 0 1px 0 rgba(255,255,255,.08);
  display: grid; place-items: center;
  animation: splashMark .7s var(--ease) both;
}
.splash__t { position: relative; width: 40px; height: 44px; }
.splash__mbar { position: absolute; top: 0; left: 0; width: 40px; height: 8px; border-radius: 4px;
  background: var(--accent); transform-origin: left center; animation: splashBar .4s var(--ease) .28s both; }
.splash__mstem { position: absolute; top: 0; left: 16px; width: 8px; height: 44px; border-radius: 4px;
  background: #fff; transform-origin: top center; animation: splashStem .4s var(--ease) .45s both; }

.splash__word { position: relative; display: flex; align-items: flex-end; }
/* wipe with clip-path (horizontal only) so descenders like "g" aren't cut */
.splash__wordclip { display: block; white-space: nowrap; padding-right: 2px;
  clip-path: inset(-30% 100% -30% -2%); animation: splashWord .7s var(--ease) .7s forwards; }
.splash__wordclip span { font-size: clamp(34px, 7vw, 52px); letter-spacing: -0.03em; line-height: 1.2; }
.splash__tgm { font-weight: 800; color: var(--ink); }
.splash__tech { font-weight: 500; color: var(--muted); letter-spacing: -0.02em; }

.splash__track { position: relative; width: 16px; height: 30px; margin: 0 0 8px 8px; flex: none; }
.splash__ball { position: absolute; left: 0; bottom: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 2px 6px rgba(255,77,46,.5);
  animation: splashBall 1.2s cubic-bezier(.15,.6,.25,1) 1.15s both; }
.splash__glare { position: absolute; top: 2px; left: 3px; width: 4.5px; height: 4.5px; border-radius: 50%;
  background: rgba(255,255,255,.85); }

.splash__progress { position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%);
  width: 170px; height: 3px; border-radius: 3px; background: rgba(10,10,10,.1); overflow: hidden; }
.splash__progress span { display: block; height: 100%; width: 100%; background: var(--accent);
  transform-origin: left center; transform: scaleX(0); animation: splashProgress 2.9s linear both; }

@keyframes splashMark { 0% { opacity: 0; transform: scale(.6) rotate(-12deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes splashBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes splashStem { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes splashWord { from { clip-path: inset(-30% 100% -30% -2%); } to { clip-path: inset(-30% -4% -30% -2%); } }
@keyframes splashBall {
  0%   { transform: translateX(280px) rotate(760deg); }
  70%  { transform: translateX(0) rotate(0); }
  82%  { transform: translateX(9px) rotate(60deg); }
  92%, 100% { transform: translateX(0) rotate(0); }
}
@keyframes splashProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes splashHide { to { opacity: 0; visibility: hidden; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover, .feature:hover, .pricecard:hover, .usecase:hover, .field:hover { transform: none; }
  .floatcard { opacity: 1; }
  .bubble { opacity: 1 !important; transform: none !important; }
  .splash { display: none !important; }
  /* keep product details accessible without motion */
  .bizcard__reveal { grid-template-rows: 1fr; margin-top: 18px; }
  .bizcard__reveal-in { opacity: 1; transform: none; }
}
