:root {
  color-scheme: dark;
  --bg: #06080c;
  --bg-2: #0b0f16;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink: #eef2f8;
  --muted: #8f99aa;
  --faint: #5d6778;
  --amber: #ffb547;
  --coral: #ff7a45;
  --blue: #5b8cff;
  --mint: #3ddc97;
  --grad: linear-gradient(135deg, #ffd08a 0%, #ffb547 35%, #ff7a45 100%);
  --grad-blue: linear-gradient(135deg, #9ab8ff 0%, #5b8cff 60%, #3a5bd9 100%);
  --radius: 18px;
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(91, 140, 255, 0.16), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(255, 122, 69, 0.10), transparent 60%),
    radial-gradient(800px 700px at 50% 120%, rgba(255, 181, 71, 0.08), transparent 60%);
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: #ffd08a; }
::selection { background: rgba(255, 181, 71, 0.35); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 8, 12, 0.65);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.logo svg { width: 32px; height: 32px; filter: drop-shadow(0 4px 14px rgba(255, 181, 71, 0.35)); }
.logo em { font-style: normal; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta {
  color: #1a1206; background: var(--grad); padding: 9px 16px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 6px 24px rgba(255, 150, 60, 0.35);
}
.nav .nav-cta:hover { color: #1a1206; }
@media (max-width: 820px) { .nav a:not(.nav-cta) { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1fr; align-items: center;
  gap: 8px; padding: 28px 0 40px;
}
@media (min-width: 980px) {
  .hero { grid-template-columns: 1.02fr 1fr; min-height: min(calc(100vh - 68px), 820px); padding: 20px 0 40px; }
}
.hero-copy { position: relative; z-index: 2; order: 2; }
.hero-visual { position: relative; order: 1; height: 380px; margin: 0 -16px; }
@media (min-width: 980px) {
  .hero-copy { order: 1; }
  .hero-visual { order: 2; height: 640px; margin: 0 -40px 0 0; }
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(91, 140, 255, 0.18), transparent 70%);
  z-index: -1;
}
.hero-fallback {
  position: absolute; inset: 12% 18%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a3b63, #0c1220 70%);
  box-shadow: 0 0 120px rgba(91, 140, 255, 0.35), inset 0 0 60px rgba(0, 0, 0, 0.6);
  display: none;
}
.no-webgl .hero-fallback { display: block; }
.no-webgl #hero-canvas { display: none; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line-strong);
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.18); } 50% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0.05); } }

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 6.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 22px 0 20px;
}
.standfirst { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 54ch; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 14px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #1a1206; background: var(--grad); box-shadow: 0 10px 34px rgba(255, 140, 60, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-primary:hover { color: #1a1206; box-shadow: 0 16px 44px rgba(255, 140, 60, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-ghost { color: var(--ink); background: var(--surface-2); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--ink); background: rgba(255, 255, 255, 0.09); }
.btn svg { width: 18px; height: 18px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--mint); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 20px 30px; white-space: nowrap;
  font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--muted); letter-spacing: -0.01em;
}
.marquee-item i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); display: inline-block; box-shadow: 0 0 12px var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin: 0 0 14px; }
h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 4.2vw, 50px); line-height: 1.06; letter-spacing: -0.03em;
  margin: 0 0 16px; max-width: 20ch;
}
.lede { color: var(--muted); max-width: 60ch; margin: 0 0 44px; font-size: 18px; }

.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* Glass cards with 3D tilt */
.tilt { transform-style: preserve-3d; perspective: 900px; }
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 181, 71, 0.13), transparent 45%);
}
.card:hover { border-color: var(--line-strong); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.card:hover::before { opacity: 1; }
.card.is-tilting { transition: transform .08s linear, border-color .3s, box-shadow .5s var(--ease); }
.card h3 { font-family: var(--display); margin: 22px 0 10px; font-size: 21px; letter-spacing: -0.02em; transform: translateZ(30px); }
.card p { margin: 0; color: var(--muted); font-size: 16px; transform: translateZ(20px); }
.icon3d {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad); color: #1a1206;
  box-shadow: 0 12px 30px rgba(255, 140, 60, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -6px 12px rgba(160, 60, 10, 0.35);
  transform: translateZ(50px);
}
.icon3d.blue { background: var(--grad-blue); color: #0a1330; box-shadow: 0 12px 30px rgba(91, 140, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -6px 12px rgba(20, 40, 140, 0.35); }
.icon3d.mint { background: linear-gradient(135deg, #a6f5d0, #3ddc97 60%, #1ea56b); color: #062416; box-shadow: 0 12px 30px rgba(61, 220, 151, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -6px 12px rgba(10, 90, 50, 0.35); }
.icon3d svg { width: 26px; height: 26px; }

/* ---------- Order tracker showcase ---------- */
.showcase { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 980px) { .showcase { grid-template-columns: 1fr 1fr; gap: 72px; } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.checklist li strong { color: var(--ink); display: block; font-weight: 600; }
.checklist .tick { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(61, 220, 151, 0.12); color: var(--mint); margin-top: 2px; }
.checklist .tick svg { width: 15px; height: 15px; }

.stage { perspective: 1400px; display: grid; place-items: center; padding: 20px 0; }
.order-card {
  width: min(440px, 100%);
  border-radius: 24px;
  padding: 26px;
  background: linear-gradient(160deg, rgba(30, 40, 60, 0.9), rgba(12, 16, 24, 0.95));
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 0 80px rgba(91, 140, 255, 0.12);
  transform: rotateX(14deg) rotateY(-18deg) rotateZ(2deg);
  transform-style: preserve-3d;
  animation: floatCard 7s ease-in-out infinite;
  position: relative;
}
@keyframes floatCard {
  0%, 100% { transform: rotateX(14deg) rotateY(-18deg) rotateZ(2deg) translateY(0); }
  50% { transform: rotateX(10deg) rotateY(-12deg) rotateZ(1deg) translateY(-14px); }
}
.order-card .oc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; transform: translateZ(30px); }
.oc-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.oc-id { font-family: var(--display); font-weight: 600; font-size: 18px; }
.oc-badge { font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; color: #062416; background: var(--mint); box-shadow: 0 0 24px rgba(61, 220, 151, 0.4); }
.oc-product { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); transform: translateZ(45px); }
.oc-thumb { width: 60px; height: 60px; border-radius: 14px; background: var(--grad); position: relative; flex: none; box-shadow: inset 0 -8px 14px rgba(150, 60, 10, 0.4), 0 10px 20px rgba(0, 0, 0, 0.4); }
.oc-thumb::after { content: ""; position: absolute; left: 44%; top: 0; bottom: 0; width: 12%; background: rgba(255, 240, 210, 0.55); }
.oc-product strong { display: block; font-size: 15px; }
.oc-product span { font-size: 13px; color: var(--muted); }
.oc-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; transform: translateZ(25px); }
.oc-steps li { position: relative; padding: 0 0 18px 32px; font-size: 14px; color: var(--muted); }
.oc-steps li:last-child { padding-bottom: 0; }
.oc-steps li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--faint); }
.oc-steps li::after { content: ""; position: absolute; left: 10.5px; top: 18px; bottom: -2px; width: 1px; background: var(--line-strong); }
.oc-steps li:last-child::after { display: none; }
.oc-steps li.done::before { background: var(--mint); box-shadow: 0 0 12px rgba(61, 220, 151, 0.6); }
.oc-steps li.live::before { background: var(--amber); box-shadow: 0 0 0 5px rgba(255, 181, 71, 0.18), 0 0 16px rgba(255, 181, 71, 0.7); animation: pulseAmber 1.8s infinite; }
@keyframes pulseAmber { 50% { box-shadow: 0 0 0 9px rgba(255, 181, 71, 0.05), 0 0 16px rgba(255, 181, 71, 0.7); } }
.oc-steps strong { color: var(--ink); font-weight: 600; }
.oc-foot { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-strong); display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); transform: translateZ(20px); }
.oc-foot b { color: var(--ink); font-weight: 600; }
.oc-note { text-align: center; font-size: 13px; color: var(--faint); margin-top: 22px; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.orb-1 { width: 80px; height: 80px; right: -30px; top: -26px; background: radial-gradient(circle at 30% 30%, #ffd08a, #ff7a45 60%, #7a2a0c); box-shadow: 0 20px 50px rgba(255, 122, 69, 0.45); transform: translateZ(80px); animation: bob 5s ease-in-out infinite; }
.orb-2 { width: 46px; height: 46px; left: -18px; bottom: 40px; background: radial-gradient(circle at 30% 30%, #c4d5ff, #5b8cff 60%, #1b2f7a); box-shadow: 0 16px 40px rgba(91, 140, 255, 0.45); transform: translateZ(60px); animation: bob 6s ease-in-out infinite reverse; }
@keyframes bob { 50% { translate: 0 -12px; } }

/* ---------- Comparison table ---------- */
.table-wrap {
  overflow-x: auto; border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
th, td { text-align: left; padding: 20px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); font-weight: 600; }
tbody tr { transition: background .25s; }
tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
tr:last-child td { border-bottom: 0; }
td.muted { color: var(--muted); }
.brand-cell { display: flex; align-items: center; gap: 12px; font-weight: 600; font-family: var(--display); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #0b0f16; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-no { color: var(--mint); background: rgba(61, 220, 151, 0.1); }
.pill-applied { color: var(--amber); background: rgba(255, 181, 71, 0.1); }
.pill-wip { color: #a9b8ff; background: rgba(91, 140, 255, 0.12); }
.table-note { font-size: 14px; color: var(--muted); margin: 18px 4px 0; max-width: 80ch; }

/* ---------- Method timeline ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step; position: relative;
  padding: 30px 24px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
}
.steps li::before {
  content: "0" counter(step);
  display: block; font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -0.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px;
}
.steps strong { display: block; font-family: var(--display); font-size: 18px; margin-bottom: 6px; letter-spacing: -0.01em; }
.steps span { color: var(--muted); font-size: 15px; }

/* ---------- Disclosure ---------- */
.disclosure {
  position: relative; border-radius: 26px; padding: 44px 36px;
  background: linear-gradient(160deg, rgba(255, 181, 71, 0.10), rgba(255, 122, 69, 0.04) 50%, rgba(91, 140, 255, 0.06));
  border: 1px solid rgba(255, 181, 71, 0.22);
  overflow: hidden;
}
.disclosure::after {
  content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 71, 0.25), transparent 65%);
  pointer-events: none;
}
.disclosure p { position: relative; z-index: 1; max-width: 70ch; color: var(--muted); margin: 0 0 12px; font-size: 17px; }
.disclosure p:last-child { margin-bottom: 0; }
.disclosure strong { color: var(--ink); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .orb-1 { right: -8px; top: -30px; width: 64px; height: 64px; }
  .orb-2 { left: -8px; }
  .order-card { transform: rotateX(10deg) rotateY(-10deg) rotateZ(1deg); animation-name: floatCardSm; }
  @keyframes floatCardSm { 0%, 100% { transform: rotateX(10deg) rotateY(-10deg) rotateZ(1deg) translateY(0); } 50% { transform: rotateX(7deg) rotateY(-6deg) rotateZ(.5deg) translateY(-10px); } }
  section { padding: 72px 0; }
}
