/* RIBO landing — tokens measured from the cloned site's design system, recolored to the RIBO logo palette. */
:root {
  /* palette (sampled from logo: navy #17344a, cyan #69e5f4, blue #428ed2, indigo #4f5fff, violet #c992e6) */
  --bg: #07121d;
  --bg-2: #0b1d2e;
  --navy: #17344a;
  --ink: #f6f4ec;
  --ink-dim: rgba(246, 244, 236, 0.62);
  --ink-faint: rgba(246, 244, 236, 0.38);
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #69e5f4;
  --blue: #428ed2;
  --indigo: #4f5fff;
  --peri: #8a9cf5;
  --violet: #c992e6;
  --mint: #8fe8c8;
  --soft: #e8edf2;
  --grad: linear-gradient(90deg, var(--cyan), var(--peri) 55%, var(--violet));
  /* type (clone: Geist body 14/19.6, display 420 weight, -0.03em tracking) */
  --font-display: "Outfit", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  /* shape (clone radii 8 / 16 / 24 / 90 pill) */
  --r-sm: 8px;
  --r-md: calc(16px * var(--rx-radius, 1));
  --r-lg: calc(24px * var(--rx-radius, 1));
  --r-pill: 90px;
  --ease: cubic-bezier(0.44, 0, 0.56, 1);
  --shadow-card: 0 1px 16px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 0.5px rgba(0, 0, 0, 0.04), 0 4px 24px rgba(0, 0, 0, 0.04);
  --gutter: 24px;
  --max: 1440px;
}
*, *::before, *::after { box-sizing: border-box; }
section[id] { scroll-margin-top: 56px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 14px; line-height: 1.4; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* hatch texture (clone: fine diagonal overlay on every dark section) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 3px);
}

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.035em; color: var(--ink); }
h1.display { font-size: calc(clamp(44px, 5.1vw, 72px) * var(--rx-type, 1)); line-height: 1; letter-spacing: -0.035em; font-weight: var(--rx-hw, 300); }
h2.display { font-size: calc(clamp(34px, 3.5vw, 48px) * var(--rx-type, 1)); line-height: 1.15; font-weight: var(--rx-hw, 300); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-dim); }
.eyebrow.br::before { content: "[ "; } .eyebrow.br::after { content: " ]"; }
.lead { font-size: 17px; line-height: 1.5; letter-spacing: -0.015em; color: var(--ink-dim); }
.lead b, .lead strong { color: var(--ink); font-weight: 500; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* buttons (clone: 90px pills, 14px label) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: var(--r-pill); border: 0; font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-primary { background: linear-gradient(100deg, color-mix(in srgb, var(--rx-a, #10b3cc) 55%, #fff), color-mix(in srgb, var(--rx-b, #4f5fff) 45%, #fff) 70%, color-mix(in srgb, var(--rx-c, #b06be0) 55%, #fff)); color: #08202f; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(105, 229, 244, 0.28); }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: var(--ink); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn-light { background: #fff; color: #08202f; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }

/* NAV (clone: fixed, blur 10px, hairline bottom, 56px) */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: 56px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(rgba(7, 18, 29, 0.35), rgba(7, 18, 29, 0.35)); border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.nav.solid { background: rgba(7, 18, 29, 0.72); }
.logo-chip { display: inline-flex; align-items: center; justify-self: start; height: 40px; }
.logo-chip img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { color: var(--ink-dim); transition: color 0.4s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { justify-self: end; display: flex; align-items: center; gap: 22px; }

/* scroll reveals (clone: appear effects, 0.7s ease, short Y travel) */
.rv { opacity: 0; transform: translateY(var(--rx-rv-y, 22px)); transition: opacity var(--rx-rv-dur, 0.7s) var(--ease), transform var(--rx-rv-dur, 0.7s) var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* HERO */
.hero { position: relative; min-height: 100svh; padding: 56px 0 0; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.hero canvas.bg, .aurora-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 18, 29, 0.5), transparent 28%, transparent 55%, rgba(7, 18, 29, 0.55)); pointer-events: none; }
.hero-eyebrow { text-align: center; padding-top: 28px; }
.hero-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 18px 0 30px; }
.hero-tabs { display: flex; gap: 8px; }
.hero-tab {
  height: 26px; padding: 0 12px; border-radius: var(--r-pill); border: 0; font-size: 14px; letter-spacing: -0.14px;
  background: rgba(255, 255, 255, 0.1); color: var(--ink-dim); backdrop-filter: blur(12px);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.hero-tab.on { background: #fff; color: #08202f; }
.stack { position: relative; width: min(360px, 88vw); height: 96px; transition: opacity 0.35s var(--ease); }
.stack.swap { opacity: 0; }
.ncard {
  position: absolute; left: 0; right: 0; top: 0; height: 66px; padding: 12px; display: flex; align-items: center; gap: 12px;
  border-radius: var(--r-md); background: rgba(246, 247, 250, 0.9); color: #0d1b2a; box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  transition: transform 0.65s var(--ease), opacity 0.65s var(--ease), filter 0.65s var(--ease);
  will-change: transform, opacity;
}
.ncard[data-pos="0"] { transform: none; opacity: 1; z-index: 3; }
.ncard[data-pos="1"] { transform: translateY(14px) scale(0.96); opacity: 0.62; z-index: 2; filter: blur(0.4px); }
.ncard[data-pos="2"] { transform: translateY(26px) scale(0.92); opacity: 0.32; z-index: 1; filter: blur(0.8px); }
.ncard.exit { transform: translateY(-22px) scale(1.02) !important; opacity: 0 !important; transition-duration: 0.45s; }
.ncard.nt { transition: none !important; }
.nicon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #0f2a3f; color: #fff; display: grid; place-items: center; }
.nicon svg { width: 20px; height: 20px; }
.nbody { min-width: 0; flex: 1; }
.nbody b { display: block; font-weight: 500; font-size: 15px; letter-spacing: -0.15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nbody span { display: block; color: rgba(13, 27, 42, 0.55); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nbadge { flex: none; align-self: flex-start; font-size: 12px; padding: 2px 8px; border-radius: var(--r-pill); background: rgba(13, 27, 42, 0.08); }
.illus { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-faint); text-transform: uppercase; margin-top: -4px; }

.timeline { position: relative; width: 100%; height: 56px; margin-top: 6px; }
.tl-line { position: absolute; left: 0; right: 0; top: 18px; height: 1px; background: rgba(255, 255, 255, 0.18); }
.tl-fill { position: absolute; left: 0; top: 18px; height: 1px; width: 0; background: linear-gradient(90deg, transparent, var(--cyan)); box-shadow: 0 0 10px var(--cyan); }
.tl-stop { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 14px; color: rgba(246, 244, 236, 0.7); transition: color 0.4s var(--ease); }
.tl-stop i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); margin-top: 15px; transition: background 0.4s, box-shadow 0.4s, transform 0.4s; }
.tl-stop.on { color: var(--ink); }
.tl-stop.on i { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transform: scale(1.25); }

.hero-bottom { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: end; padding-bottom: 36px; }
.hero-bottom h1 { max-width: min(640px, 100%); }
.hero-cap { margin-top: 18px; max-width: 34ch; font-size: 16px; color: var(--ink-dim); line-height: 1.45; }
.hero-right { display: flex; flex-direction: column; gap: 14px; max-width: 520px; justify-self: end; }
.hero-right .lead.first { color: var(--ink-faint); font-size: 15px; }
.hero-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.micro { font-size: 13px; color: var(--ink-faint); margin-left: 8px; }

/* STICKY STAGES (clone: tall wrappers with a pinned 100vh stage) */
.stage-wrap { position: relative; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.stage::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: var(--fade, 0); pointer-events: none; z-index: 5; }
.orbit-wrap { height: 280svh; background: var(--bg-2); }
.orbit-wrap .stage { background: linear-gradient(180deg, #082a3c 0%, #0a2335 45%, #0c2c46 62%, #3d73d6 88%, #8fb8f5 100%); }
.orbit-wrap .stage::before { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; z-index: -1; background: radial-gradient(60% 80% at 50% 110%, rgba(138, 156, 245, 0.95), rgba(105, 229, 244, 0.35) 45%, transparent 70%); }
.orbit-center { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); text-align: center; }
.orbit-text { max-width: 760px; font-family: var(--font-display); font-weight: var(--rx-hw, 300); font-size: calc(clamp(30px, 3.9vw, 56px) * var(--rx-type, 1)); line-height: 1.12; letter-spacing: -0.035em; }
.orbit-text .line { display: block; }
.orbit-text .l2 { text-align: left; max-width: 520px; margin: 8px auto 0; font-size: 0.92em; }
.orbit-text .l3 { margin-top: 18px; font-size: 0.7em; }
.w { opacity: 0.16; transition: opacity 0.25s linear; }
.l2 .w, .l3 .w { color: #d9f6c9; }
.l2 .w { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile {
  position: absolute; left: 0; top: 0; width: 132px; height: 132px; border-radius: calc(14px * var(--rx-radius, 1)); overflow: hidden; will-change: transform, opacity;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); background: #0f2a3f; display: grid; place-items: center; color: #fff; opacity: 0;
}
.tile .art { position: absolute; inset: 0; opacity: 0.95; }
.tile svg.ic { position: relative; width: 42px; height: 42px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); }
.tile .tag { position: absolute; right: 0; top: 0; bottom: 0; width: 20px; background: rgba(8, 20, 32, 0.78); backdrop-filter: blur(4px); }
.tile .tag span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(90deg); white-space: nowrap; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }

.detail { padding: calc(var(--rx-sec, 112px) * 1.07) 0; position: relative; background: var(--bg); }
.detail-head { max-width: 760px; }
.scen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.scen-card { padding: 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); backdrop-filter: blur(6px); min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.scen-card .n { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); }
.scen-card p { font-family: var(--font-display); font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; font-weight: var(--rx-hw, 300); }
.scen-card p em { font-style: normal; color: var(--ink-dim); }
.detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 88px; align-items: start; }
.detail-body .lead { margin-bottom: 14px; }
.pull { font-family: var(--font-display); font-weight: var(--rx-hw, 300); font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; letter-spacing: -0.035em; }
.pull span { color: var(--ink-dim); }

/* INTRODUCING / STATS (clone: 1800-tall wrapper, digit reels) */
.intro-wrap { height: 300svh; }
.intro-wrap .stage { background: var(--bg); }
.intro-wrap .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.intro-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gutter) 120px; gap: 22px; }
.intro-center h2 { max-width: 15ch; font-size: calc(clamp(38px, 4.6vw, 66px) * var(--rx-type, 1)); line-height: 1.08; }
.nomore { display: grid; gap: 4px; margin-top: 4px; }
.nomore p { font-size: 17px; color: var(--ink-dim); opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.nomore p.on { opacity: 1; transform: none; }
.intro-end { max-width: 640px; font-size: 18px; opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.intro-end.on { opacity: 1; transform: none; }
.intro-end b { font-weight: 400; color: var(--ink); }
.stats { position: absolute; left: 0; right: 0; bottom: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.stat { text-align: center; opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0s); }
.stat.on { opacity: 1; transform: none; }
.reel-row { display: inline-flex; height: 56px; overflow: hidden; align-items: flex-start; font-family: var(--font-display); font-weight: var(--rx-hw, 300); font-size: 48px; line-height: 56px; letter-spacing: -0.035em; }
.reel { display: block; height: 56px; overflow: hidden; }
.reel > div { will-change: transform; }
.reel span { display: block; height: 56px; }
.reel-row .suf { display: block; line-height: 56px; }
.stat small { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-dim); }

/* SECTIONS (shared) */
.sec { padding: var(--rx-sec, 112px) 0; position: relative; }
.sec-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 56px; }
.sec-head h2 { max-width: 16ch; margin-top: 16px; }

/* SOLUTIONS (clone: tab list + glass panel) */
.sol { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
.tabs { display: flex; flex-direction: column; gap: 4px; }
.tab { text-align: left; background: transparent; border: 0; border-radius: var(--r-lg); padding: 22px 24px; position: relative; overflow: hidden; transition: background 0.4s var(--ease); display: block; }
.tab:hover { background: rgba(255, 255, 255, 0.04); }
.tab.on { background: rgba(255, 255, 255, 0.07); }
.tab h3 { font-family: var(--font-display); font-weight: var(--rx-hw, 300); font-size: 30px; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink-dim); transition: color 0.4s; }
.tab.on h3 { color: var(--ink); }
.tab .t-sub { font-size: 16px; color: var(--ink); margin-top: 6px; opacity: 0.85; }
.tab .t-more { color: var(--ink-dim); font-size: 15px; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), margin 0.5s var(--ease); }
.tab.on .t-more { max-height: 120px; opacity: 1; margin-top: 10px; }
.tab .bar { position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.08); opacity: 0; }
.tab.on .bar { opacity: 1; }
.tab .bar i { display: block; height: 100%; width: 0; background: var(--grad); }
.panel { position: relative; min-height: 520px; border-radius: calc(28px * var(--rx-radius, 1)); overflow: hidden; background: radial-gradient(90% 90% at 80% 100%, rgba(79, 95, 255, 0.5), transparent 60%), radial-gradient(70% 70% at 10% 0%, rgba(105, 229, 244, 0.22), transparent 60%), #0d2438; border: 1px solid var(--line); }
.pane { position: absolute; inset: 0; padding: 36px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(16px) scale(0.985); pointer-events: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.pane.on { opacity: 1; transform: none; pointer-events: auto; }
.glass { background: rgba(246, 247, 250, 0.92); color: #0d1b2a; border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), var(--shadow-card); }
.crm { width: min(460px, 100%); padding: 22px; display: grid; gap: 16px; }
.crm-top { display: flex; align-items: center; gap: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 17px; }
.crm-top b { font-size: 17px; font-weight: 600; display: block; letter-spacing: -0.02em; }
.crm-top span { color: rgba(13, 27, 42, 0.55); font-size: 13px; }
.chip { margin-left: auto; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(79, 95, 255, 0.12); color: #3041d8; }
.chip.mint { background: rgba(60, 190, 150, 0.16); color: #0f7a5c; }
.tl { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(13, 27, 42, 0.07); font-size: 13.5px; align-items: start; }
.tl-item i { width: 22px; height: 22px; border-radius: 7px; background: #e5eefb; display: grid; place-items: center; color: #2c4a9a; }
.tl-item i svg { width: 13px; height: 13px; }
.tl-item span { color: rgba(13, 27, 42, 0.66); font-size: 12px; }
.tl-item b { font-weight: 500; display: block; }
.next-step { display: flex; align-items: center; gap: 10px; background: #0f2a3f; color: #fff; border-radius: calc(14px * var(--rx-radius, 1)); padding: 12px 14px; font-size: 13.5px; }
.next-step svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }
.sample { text-align: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(13, 27, 42, 0.62); }
.notes { width: min(520px, 100%); padding: 20px; display: grid; gap: 14px; }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; }
.wave i { flex: 1; background: linear-gradient(180deg, var(--blue), var(--violet)); border-radius: 3px; animation: wv 1.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.09s); height: 30%; }
@keyframes wv { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini { background: #fff; border-radius: calc(14px * var(--rx-radius, 1)); padding: 12px 14px; font-size: 13px; border: 1px solid rgba(13, 27, 42, 0.06); }
.mini h4 { font-size: 11px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: rgba(13, 27, 42, 0.66); margin-bottom: 8px; font-weight: 500; }
.mini li { list-style: none; padding: 4px 0 4px 22px; position: relative; }
.mini ul { margin: 0; padding: 0; }
.mini li::before { content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid #4f5fff; }
.mind { width: 100%; height: 130px; }
.sf { width: min(520px, 100%); display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px; align-items: center; }
.qr { width: 150px; height: 150px; border-radius: calc(14px * var(--rx-radius, 1)); background: #fff; padding: 10px; border: 1px solid rgba(13, 27, 42, 0.08); }
.bub { padding: 9px 12px; border-radius: calc(14px * var(--rx-radius, 1)); font-size: 13px; max-width: 92%; line-height: 1.35; }
.bub.a { background: #e8eefb; border-bottom-left-radius: 4px; }
.bub.u { background: #0f2a3f; color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.sf-chat { display: grid; gap: 8px; }

/* NOTETAKER (clone: framed media block + copy) */
.nt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nt-copy h2 { margin: 16px 0 24px; }
.nt-copy .lead { margin-bottom: 14px; max-width: 520px; }
.can { display: grid; gap: 10px; margin: 28px 0; padding: 0; list-style: none; counter-reset: c; }
.can li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 16px; color: var(--ink); padding: 14px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.can li::before { counter-increment: c; content: counter(c, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--cyan); padding-top: 3px; }
.support { font-family: var(--font-display); font-weight: var(--rx-hw, 300); font-size: 28px; letter-spacing: -0.025em; line-height: 1.2; }
.support span { color: var(--ink-dim); }
.device-stage { position: relative; aspect-ratio: 1 / 1.05; border-radius: calc(32px * var(--rx-radius, 1)); overflow: hidden; background: radial-gradient(70% 60% at 50% 100%, rgba(105, 229, 244, 0.35), transparent 70%), radial-gradient(80% 80% at 90% 10%, rgba(79, 95, 255, 0.5), transparent 60%), #0b2236; border: 1px solid var(--line); display: grid; place-items: center; }
.device { position: relative; width: 150px; height: 292px; border-radius: calc(34px * var(--rx-radius, 1)); background: linear-gradient(160deg, #20465f, #0c2133 60%); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.06); transform: rotate(-6deg); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-12px); } }
.device::before { content: ""; position: absolute; inset: 14px; border-radius: calc(24px * var(--rx-radius, 1)); background: linear-gradient(180deg, #0a1a28, #102a40); }
.dev-ring { position: absolute; left: 50%; top: 34%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: conic-gradient(from 0deg, var(--cyan), var(--indigo), var(--violet), var(--cyan)); animation: spin 6s linear infinite; }
.dev-ring::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #0b1c2b; }
@keyframes spin { to { transform: rotate(360deg); } }
.dev-dot { position: absolute; left: 50%; top: 34%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 18px var(--mint); animation: pulse 1.6s ease-in-out infinite; z-index: 2; }
@keyframes pulse { 50% { transform: scale(1.35); opacity: 0.7; } }
.dev-wave { position: absolute; left: 30px; right: 30px; bottom: 48px; height: 46px; display: flex; align-items: center; gap: 3px; z-index: 2; }
.dev-wave i { flex: 1; background: linear-gradient(180deg, var(--cyan), var(--violet)); border-radius: 2px; animation: wv 1s ease-in-out infinite; animation-delay: calc(var(--i) * -0.08s); height: 20%; }
.dev-label { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.6); z-index: 2; }
.fchip { position: absolute; padding: 8px 12px; border-radius: var(--r-pill); font-size: 13px; background: rgba(246, 247, 250, 0.92); color: #0d1b2a; box-shadow: var(--shadow-card); display: flex; gap: 8px; align-items: center; animation: floaty2 6s ease-in-out infinite; animation-delay: var(--dl, 0s); backdrop-filter: blur(8px); }
.fchip svg { width: 15px; height: 15px; color: #3041d8; }
@keyframes floaty2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.dev-note { position: absolute; left: 18px; bottom: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; color: var(--ink-faint); text-transform: uppercase; }

/* SMART FORMS (clone: "Ask it anything" assistant demo) */
.sf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sf-grid h2 { margin: 16px 0 24px; max-width: 14ch; }
.sf-grid .lead { margin-bottom: 14px; max-width: 520px; }
.phone-stage { position: relative; display: grid; place-items: center; padding: 20px 0; }
.phone-stage::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(79, 95, 255, 0.45), transparent 65%); filter: blur(30px); }
.phone { position: relative; width: 320px; border-radius: 40px; padding: 10px; background: #0a1826; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.phone-in { border-radius: calc(31px * var(--rx-radius, 1)); background: #f4f6fa; color: #0d1b2a; height: 540px; display: flex; flex-direction: column; overflow: hidden; }
.ph-head { padding: 18px 18px 12px; display: flex; align-items: center; gap: 10px; background: #fff; border-bottom: 1px solid rgba(13, 27, 42, 0.06); }
.ph-head .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--indigo)); display: grid; place-items: center; color: #fff; }
.ph-head .av svg { width: 17px; height: 17px; }
.ph-head b { font-size: 14px; font-weight: 600; display: block; }
.ph-head span { font-size: 11px; color: #1f9d78; }
.ph-body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 84%; padding: 10px 13px; border-radius: calc(16px * var(--rx-radius, 1)); font-size: 14px; line-height: 1.35; opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.msg.show { opacity: 1; transform: none; }
.msg.a { background: #fff; border: 1px solid rgba(13, 27, 42, 0.06); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.u { background: linear-gradient(135deg, #3d6fe0, #5b6cf5); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.typing { align-self: flex-start; display: none; gap: 4px; padding: 12px 14px; border-radius: calc(16px * var(--rx-radius, 1)); background: #fff; border: 1px solid rgba(13, 27, 42, 0.06); }
.typing.show { display: flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8a98ad; animation: ty 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ty { 0%, 60%, 100% { transform: none; opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.toast { margin: 0 16px 16px; padding: 12px 14px; border-radius: calc(14px * var(--rx-radius, 1)); background: #0f2a3f; color: #fff; display: flex; align-items: center; gap: 10px; font-size: 14px; opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.toast.show { opacity: 1; transform: none; }
.toast svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.qr-float { position: absolute; left: 0; top: 12%; width: 150px; padding: 12px; border-radius: calc(20px * var(--rx-radius, 1)); background: #fff; color: #0d1b2a; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4); text-align: center; font-size: 12px; transform: rotate(-7deg); animation: floaty2 7s ease-in-out infinite; }
.qr-float svg { width: 100%; height: auto; margin-bottom: 6px; }

/* JOURNEY (clone: lifecycle timeline / audit trail) */
.how { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
.how-left { position: sticky; top: 120px; align-self: start; }
.how-left h2 { margin-top: 16px; max-width: 12ch; }
.how-left .lead { margin-top: 24px; max-width: 360px; }
.steps { position: relative; padding-left: 48px; display: grid; gap: 20px; }
.steps::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.steps-fill { position: absolute; left: 11px; top: 14px; width: 1px; height: 0; background: linear-gradient(180deg, var(--cyan), var(--violet)); box-shadow: 0 0 10px var(--cyan); }
.step { position: relative; padding: 30px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); opacity: 0.42; transform: scale(0.985); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease); }
.step.on { opacity: 1; transform: none; background: rgba(255, 255, 255, 0.07); border-color: rgba(105, 229, 244, 0.35); }
.step::before { content: ""; position: absolute; left: -44px; top: 36px; width: 11px; height: 11px; border-radius: 50%; background: #1d3a50; border: 1px solid var(--line); transition: background 0.4s, box-shadow 0.4s; }
.step.on::before { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.step .num { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); }
.step h3 { font-family: var(--font-display); font-weight: var(--rx-hw, 300); font-size: 36px; letter-spacing: -0.035em; margin: 10px 0 8px; line-height: 1.1; }
.step p { font-size: 17px; line-height: 1.45; color: var(--ink-dim); max-width: 46ch; }
.how-end { grid-column: 1 / -1; text-align: center; margin-top: 40px; }

/* PAYOFF (soft gray panel — the clone's one light moment) */
.payoff { padding: 40px 0 140px; }
.pay-panel { background: var(--soft); color: #0d1b2a; border-radius: calc(36px * var(--rx-radius, 1)); padding: 80px 64px; position: relative; overflow: hidden; }
.pay-panel::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(105, 229, 244, 0.35), transparent 65%); }
.pay-panel h2 { color: #0d1b2a; max-width: 14ch; position: relative; }
.pay-panel .eyebrow { color: rgba(13, 27, 42, 0.55); position: relative; }
.table { margin-top: 56px; display: grid; gap: 8px; position: relative; }
.row { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: center; gap: 12px; opacity: 0; transform: translateX(-16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0s); }
.row.in { opacity: 1; transform: none; }
.row.hd { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(13, 27, 42, 0.66); opacity: 1; transform: none; }
.row.hd div:last-child { color: #3041d8; }
.cell { padding: 18px 22px; border-radius: calc(16px * var(--rx-radius, 1)); font-size: 18px; letter-spacing: -0.02em; }
.cell.no { background: rgba(13, 27, 42, 0.05); color: rgba(13, 27, 42, 0.66); text-decoration: line-through; text-decoration-color: rgba(13, 27, 42, 0.25); }
.cell.yes { background: #fff; box-shadow: var(--shadow-card); display: flex; align-items: center; gap: 12px; font-weight: 500; }
.cell.yes svg { width: 20px; height: 20px; flex: none; color: #1f9d78; }
.arrow { display: grid; place-items: center; color: rgba(13, 27, 42, 0.35); }
.arrow svg { width: 20px; height: 20px; }
.pay-end { margin-top: 48px; max-width: 640px; font-size: 19px; line-height: 1.45; color: rgba(13, 27, 42, 0.7); position: relative; }

/* AUDIENCE (clone: industries card row) */
.aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.acard { position: relative; border-radius: var(--r-lg); overflow: hidden; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 440px; transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease); }
.acard:hover { transform: translateY(-6px); border-color: rgba(105, 229, 244, 0.4); background: rgba(255, 255, 255, 0.08); }
.acard .art { position: relative; height: 200px; overflow: hidden; }
.acard .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 18, 29, 0.85)); }
.acard .art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.9s var(--ease); }
.acard:hover .art svg { transform: scale(1.08); }
.acard .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.acard h3 { font-family: var(--font-display); font-weight: var(--rx-hw, 300); font-size: 30px; letter-spacing: -0.035em; line-height: 1.08; }
.acard p { color: var(--ink-dim); font-size: 16px; line-height: 1.45; }
.acard .go { margin-top: auto; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; transition: background 0.4s, transform 0.4s var(--ease); }
.acard:hover .go { background: var(--cyan); color: #08202f; transform: translateX(4px); }
.acard .go svg { width: 16px; height: 16px; }

/* WAITLIST (clone: closing CTA over imagery + footer) */
.cta { position: relative; padding: calc(var(--rx-sec, 112px) * 1.25) 0; overflow: hidden; isolation: isolate; }
.cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: linear-gradient(180deg, transparent, #060f18); z-index: -1; pointer-events: none; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta h2 { font-size: calc(clamp(40px, 4.8vw, 68px) * var(--rx-type, 1)); line-height: 1.04; margin: 16px 0 24px; }
.cta .lead { max-width: 480px; margin-bottom: 14px; color: rgba(246, 244, 236, 0.75); }
.form { padding: 32px; border-radius: calc(28px * var(--rx-radius, 1)); background: rgba(8, 24, 38, 0.62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); display: grid; gap: 22px; }
.form label.t { font-size: 14px; color: var(--ink-dim); display: block; margin-bottom: 8px; }
.form input[type="email"] { width: 100%; height: 50px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: var(--ink); padding: 0 20px; font: inherit; font-size: 16px; outline: none; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s; }
.form input[type="email"]::placeholder { color: var(--ink-faint); }
.form input[type="email"]:focus { border-color: var(--cyan); background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 4px rgba(105, 229, 244, 0.15); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { font-size: 14px; color: var(--ink-dim); margin-bottom: 10px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--r-pill); font-size: 14px; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--ink-dim); transition: all 0.3s var(--ease); }
.chips input:checked + span { background: #fff; color: #08202f; border-color: #fff; }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(105, 229, 244, 0.5); }
.fine { font-size: 12px; line-height: 1.5; color: var(--ink-faint); }
.form-msg { font-size: 14px; color: var(--mint); min-height: 20px; }
.form-msg.err { color: #ffb4a8; }

.footer { position: relative; padding: 80px 0 0; border-top: 1px solid var(--line); overflow: hidden; background: #060f18; }
.foot-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 0.5fr); gap: 40px; padding-bottom: 80px; }
.foot-tag { font-family: var(--font-display); font-weight: var(--rx-hw, 300); font-size: 30px; line-height: 1.2; letter-spacing: -0.035em; max-width: 14ch; }
.foot-sub { margin-top: 18px; color: var(--ink-faint); font-size: 14px; max-width: 28ch; }
.foot-col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); font-weight: 400; margin-bottom: 20px; }
.foot-col a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--ink); transition: color 0.4s var(--ease); }
.foot-col a:hover { color: var(--cyan); }
.ghost-logo { display: block; width: min(1100px, 92%); margin: 0 auto -60px; filter: grayscale(1) invert(1) contrast(1.2); mix-blend-mode: screen; opacity: 0.1; }
.legal { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-faint); background: #060f18; }

/* mobile sticky CTA */
.sticky-cta { display: none; }

/* RESPONSIVE (clone breakpoints: <810 mobile, 810–1199 tablet) */
@media (max-width: 1199px) {
  .nav-links { gap: 24px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 28px; }
  .hero-right { justify-self: start; }
  .sol, .nt-grid, .sf-grid, .how, .cta-grid, .detail-body { grid-template-columns: 1fr; gap: 40px; }
  .how-left { position: static; }
  .aud { grid-template-columns: repeat(2, 1fr); }
  .scen { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .pay-panel { padding: 56px 32px; }
}
@media (max-width: 809px) {
  :root { --gutter: 16px; }
  .nav { grid-template-columns: auto 1fr; }
  .nav-links { display: none; }
  .nav-cta .btn { height: 34px; padding: 0 14px; }
  .sec { padding: calc(var(--rx-sec, 112px) * 0.78) 0; }
  .hero-center { gap: 16px; }
  .tl-stop { font-size: 11px; }
  .tl-stop span { max-width: 56px; text-align: center; }
  .stats { grid-template-columns: repeat(2, 1fr); bottom: 28px; gap: 6px; }
  .reel-row { font-size: 38px; height: 46px; line-height: 46px; } .reel, .reel span { height: 46px; } .reel-row .suf { line-height: 46px; }
  .intro-center { padding-bottom: 210px; }
  .tile { width: 92px; height: 92px; } .tile svg.ic { width: 30px; height: 30px; } .tile .tag { width: 16px; } .tile .tag span { font-size: 7px; }
  .aud { grid-template-columns: 1fr; }
  .acard { min-height: 0; }
  .panel { min-height: 560px; } .pane { padding: 16px; } .sf { grid-template-columns: 1fr; } .qr { margin: 0 auto; }
  .row { grid-template-columns: 1fr; } .arrow { display: none; } .row.hd { display: none; }
  .cell { font-size: 16px; padding: 14px 16px; } .pay-panel { padding: 40px 18px; border-radius: calc(28px * var(--rx-radius, 1)); }
  .step { padding: 22px; } .step h3 { font-size: 30px; }
  .steps { padding-left: 32px; } .step::before { left: -29px; } .steps::before, .steps-fill { left: 6px; }
  .phone { width: 290px; } .qr-float { display: none; }
  .foot-grid { grid-template-columns: 1fr; padding-bottom: 40px; } .legal { flex-direction: column; }
  .form { padding: 22px; }
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; transform: translateY(140%); transition: transform 0.5s var(--ease); }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; height: 52px; font-size: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .row { opacity: 1; transform: none; transition: none; }
  .device, .fchip, .qr-float, .wave i, .dev-wave i, .dev-ring, .dev-dot { animation: none; }
}

.hero canvas.bg, .intro-wrap .stage canvas, .cta canvas { opacity: var(--rx-aurora-op, 1); }

/* ---- audit fixes: focus, tap targets, legible small text, mobile menu ---- */
:where(a, button, [role="tab"], summary):focus-visible { outline: 2px solid var(--teal, #0b8fa6); outline-offset: 3px; border-radius: 6px; }
.nav-toggle { display: none; }
.nav-links a { padding: 12px 0; }
.foot-col a { padding: 11px 0; }
.hero-tab { min-height: 40px; }
.illus, .sample, .dev-label, .dev-note, .tile .tag span { font-size: max(11px, 1em); }
.tile .tag span { font-size: 11px; }
@media (max-width: 809px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 11px; margin-left: 4px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
  .nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav.open { background: var(--bg, #f6f8fb); }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; padding: 8px var(--gutter) 16px; background: var(--bg, #f6f8fb); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(18, 48, 74, 0.08); }
  .nav.open .nav-links a { padding: 14px 0; font-size: 17px; color: var(--ink); }
  .nav-cta { display: flex; justify-self: end; }
}
