/* ============================================================
   Subjective Technologies — Sacred Futuristic Gold System
   ============================================================ */

:root {
  /* Warm near-black field */
  --bg:        #0a0908;
  --bg-2:      #0d0c0a;
  --bg-3:      #111010;

  /* Gold ladder */
  --gold:      #d4af37;
  --gold-lite: #f0d089;
  --gold-soft: #e8c977;
  --gold-deep: #a87a2e;
  --gold-edge: rgba(212, 175, 55, 0.22);
  --gold-edge-strong: rgba(212, 175, 55, 0.45);
  --gold-glow: rgba(212, 175, 55, 0.30);

  /* Text */
  --ink:       #f6f1e6;
  --ink-2:     #c8c1b2;
  --ink-3:     #8b857a;
  --ink-4:     #5b564d;

  /* Glass */
  --glass:     rgba(255, 255, 255, 0.025);
  --glass-2:   rgba(255, 255, 255, 0.04);
  --glass-brd: rgba(255, 255, 255, 0.06);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Manrope", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Page-wide ambient warmth — extremely subtle */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 800px at 50% -10%, rgba(212,175,55,0.06), transparent 60%),
    radial-gradient(900px 600px at 80% 110%, rgba(212,175,55,0.04), transparent 60%);
}

::selection { background: rgba(212,175,55,0.25); color: #fff; }

/* ---------- Scrollbar (slim, blends with background) ---------- */
html { scrollbar-width: thin; scrollbar-color: #161310 var(--bg); }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #161310; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #1f1b15; }
::-webkit-scrollbar-corner { background: var(--bg); }

/* ---------- Type ---------- */
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }

.serif { font-family: var(--serif); font-weight: 500; letter-spacing: 0; }

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.gold-text {
  background: linear-gradient(180deg, var(--gold-lite) 0%, var(--gold) 48%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--ink-3); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
section { position: relative; z-index: 2; }
.section-pad { padding: clamp(96px, 13vh, 168px) 0; }

.hairline {
  height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.18), transparent);
}

/* ---------- Buttons (premium CTA system) ---------- */
.btn {
  --mx: 50%; --my: 50%;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--sans);
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  min-height: 50px; padding: 0 1.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease, filter .22s ease;
}
.btn-sm { min-height: 42px; padding: 0 1.35rem; font-size: 13.5px; }

.btn-gold {
  color: #0b0905;
  border-color: rgba(244, 217, 138, 0.55);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,0.30), transparent 32%),
    linear-gradient(180deg, #f6dc8e 0%, #d4af37 52%, #a87922 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.48),
    inset 0 -1px 0 rgba(0,0,0,0.22),
    0 10px 30px rgba(212,175,55,0.18);
}
.btn-gold:hover {
  transform: translateY(-1px);
  border-color: rgba(244, 217, 138, 0.85);
  filter: saturate(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.58),
    inset 0 -1px 0 rgba(0,0,0,0.20),
    0 14px 42px rgba(244,217,138,0.28);
}
.btn-gold:active { transform: translateY(0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), inset 0 -1px 0 rgba(0,0,0,0.24), 0 7px 20px rgba(212,175,55,0.16); }
.btn-gold:focus-visible { outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.48), 0 10px 30px rgba(212,175,55,0.18), 0 0 0 3px rgba(244,217,138,0.30); }

.btn-ghost {
  color: rgba(255, 248, 220, 0.88);
  border-color: rgba(244,217,138,0.22);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 10px 30px rgba(0,0,0,0.22);
}
.btn-ghost:hover {
  transform: translateY(-1px);
  color: #f4d98a;
  border-color: rgba(244,217,138,0.42);
  background: linear-gradient(180deg, rgba(244,217,138,0.08), rgba(244,217,138,0.03));
}
.btn-ghost:active { transform: translateY(0); }
.btn-ghost:focus-visible { outline: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 0 0 3px rgba(244,217,138,0.22); }

/* ghost / text link button */
.btn-text {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: rgba(244,217,138,0.84); font-weight: 500; font-size: 14px; text-decoration: none;
  transition: color .18s ease, transform .18s ease;
  min-height: 0; padding: 0; border: none; background: none;
}
.btn-text:hover { color: #f4d98a; transform: translateX(2px); }

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

/* ---------- Glass cards ---------- */
.glass {
  position: relative;
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--glass-brd);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), border-color .55s, box-shadow .6s;
}
.glass::before {
  /* top gold edge light */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, var(--gold-edge), transparent 38%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .8;
  pointer-events: none;
}
.glass:hover {
  transform: translateY(-5px);
  border-color: var(--gold-edge-strong);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,0.9), 0 0 48px -16px var(--gold-glow);
}
/* hover bloom that follows is handled inline via --mx/--my */
.glass .bloom {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  transition: opacity .5s;
  background: radial-gradient(280px 280px at var(--mx,50%) var(--my,0%), rgba(212,175,55,0.14), transparent 60%);
}
.glass:hover .bloom { opacity: 1; }

.card-pad { padding: 30px 30px 32px; }

/* gold mini icon plate */
.icon-plate {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, rgba(212,175,55,0.22), rgba(212,175,55,0.04));
  border: 1px solid var(--gold-edge);
  color: var(--gold-lite);
  box-shadow: inset 0 0 18px -8px var(--gold-glow);
}
.icon-plate svg { width: 22px; height: 22px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Halo bloom behind scroll phrases */
.halo-phrase { position: relative; display: inline-block; }
.halo-phrase::after {
  content: "";
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(.6);
  width: 130%; height: 320%;
  background: radial-gradient(closest-side, rgba(212,175,55,0.22), transparent 70%);
  opacity: 0; transition: opacity 1.4s, transform 1.6s; z-index: -1; pointer-events: none;
  filter: blur(6px);
}
.halo-phrase.in::after { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .5s, border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,9,8,0.55);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(212,175,55,0.10);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 14px; color: var(--ink-3); text-decoration: none; letter-spacing: 0.01em;
  position: relative; transition: color .35s; padding: 6px 0;
}
.nav-link:hover { color: var(--ink); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: linear-gradient(90deg, var(--gold), transparent); transition: width .4s;
}
.nav-link:hover::after { width: 100%; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { height: 42px; width: auto; display: block; }
.logo-word { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.logo-word b { color: var(--gold); font-weight: 600; }

/* nav actions + responsive (hamburger) menu */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0; background: transparent; cursor: pointer;
  border: 1px solid var(--gold-edge); border-radius: 10px; transition: border-color .3s, background .3s; }
.nav-toggle:hover { border-color: var(--gold-edge-strong); }
.nav-toggle span { display: block; width: 18px; height: 1.5px; margin: 0 auto; background: var(--ink);
  transition: transform .3s ease, opacity .3s ease; }
.nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile { display: none; flex-direction: column; padding: 8px 24px 26px;
  background: rgba(10,9,8,0.92); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(212,175,55,0.12); }
.nav-mobile-link { font-size: 16px; color: var(--ink-2); text-decoration: none; padding: 14px 2px;
  border-bottom: 1px solid rgba(255,255,255,0.06); transition: color .3s; }
.nav-mobile-link:hover { color: var(--gold); }
.nav-mobile .btn { margin-top: 18px; align-self: flex-start; }

/* ---------- Misc ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink-2);
  padding: 7px 14px; border-radius: 100px;
  background: var(--glass); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(6px);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

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

.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* fine grain texture overlay */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Canvas ---------- */
.hero-canvas, .fill-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Media frames ---------- */
.media-frame { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--bg-2);
  border: 1px solid var(--glass-brd); }
.media-frame img, .media-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-frame .media-edge { position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px; background: linear-gradient(160deg, var(--gold-edge-strong), transparent 40%, transparent 70%, var(--gold-edge));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.media-frame.glow { box-shadow: 0 40px 90px -50px #000, 0 0 60px -24px var(--gold-glow); }
.media-frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 22px 18px;
  font-size: 13px; letter-spacing: 0.04em; color: var(--gold-soft);
  background: linear-gradient(0deg, rgba(8,7,6,0.85), transparent); }

/* ---------- Zoomable thumbnail + lightbox ---------- */
.media-frame.zoomable { cursor: zoom-in; }
.media-frame.zoomable img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.media-frame.zoomable:hover img { transform: scale(1.04); }
.media-frame.zoomable:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.media-frame .zoom-hint { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 10px; color: var(--gold);
  background: rgba(10,10,12,0.55); backdrop-filter: blur(6px); border: 1px solid var(--gold-edge);
  opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.media-frame .zoom-hint svg { width: 18px; height: 18px; }
.media-frame.zoomable:hover .zoom-hint, .media-frame.zoomable:focus-visible .zoom-hint { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 4vmin;
  background: rgba(6,6,8,0.92); backdrop-filter: blur(10px); cursor: zoom-out; animation: lightbox-in .22s ease; }
.lightbox-img { max-width: 94vw; max-height: 90vh; width: auto; height: auto; object-fit: contain;
  border-radius: 12px; box-shadow: 0 40px 120px -40px #000, 0 0 80px -30px var(--gold-glow); cursor: default; }
.lightbox-close { position: absolute; top: max(18px, 3vmin); right: max(18px, 3vmin); width: 44px; height: 44px;
  font-size: 26px; line-height: 1; color: #fff; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  transition: background .2s ease; }
.lightbox-close:hover { background: rgba(255,255,255,0.18); }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-art { position: absolute; inset: 0; z-index: 0; }
.hero-art img { position: absolute; right: 0; top: 0; height: 100%; width: 70%; object-fit: cover; object-position: center right;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); opacity: 0.92; }
.hero-art::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 12% 50%, var(--bg) 18%, transparent 60%); }
.hero-field { position: absolute; inset: 0; z-index: 1; mix-blend-mode: screen; opacity: 0.85; }
.hero-content { position: relative; z-index: 3; text-align: left; max-width: 640px; }
.hero h1 { font-size: clamp(44px, 7vw, 92px); }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 520px; margin: 24px 0 0; line-height: 1.5; }
.hero-agi { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: clamp(17px,1.6vw,21px); color: var(--gold-soft); }
.hero-support { margin-top: 18px; color: var(--ink-3); font-size: 14px; letter-spacing: 0.03em; font-weight: 500; }
.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.float-label {
  position: absolute; z-index: 2;
  font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(12,11,9,0.5); border: 1px solid var(--gold-edge);
  backdrop-filter: blur(8px); white-space: nowrap;
  opacity: 0; transform: translateY(6px);
  animation: floatIn 1.1s forwards;
}
.float-label .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-lite); box-shadow: 0 0 8px var(--gold); }
@keyframes floatIn { to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.float-label.bobbing { animation: floatIn 1.1s forwards, bob 7s ease-in-out infinite; }

.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: var(--ink-4); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue .line { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(.4); opacity:.4 } 50% { transform: scaleY(1); opacity:1 } }

/* ---------- Problem fragments ---------- */
.frag-stage { position: relative; min-height: 240px; display: grid; place-items: center; }
.frag {
  position: absolute; font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; color: var(--ink-3);
  background: rgba(255,255,255,0.03); border: 1px solid var(--glass-brd);
  transition: all 1.3s cubic-bezier(.5,0,.1,1); opacity: .85;
}
.frag-stage.collapsed .frag { left: 50% !important; top: 50% !important; transform: translate(-50%,-50%) scale(.7) !important; opacity: 0 !important; }
.frag-result {
  position: relative; z-index: 2; opacity: 0; transform: scale(.9);
  transition: opacity 1s .5s, transform 1.1s .5s;
  font-family: var(--serif); font-size: clamp(26px,3.2vw,42px); font-weight: 500;
}
.frag-stage.collapsed .frag-result { opacity: 1; transform: none; }

/* ---------- Steps ---------- */
.steps { position: relative; }
.step-row { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 26px 0; position: relative; }
.step-num { font-family: var(--serif); font-size: 30px; color: var(--gold); width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--gold-edge); background: radial-gradient(120% 120% at 30% 20%, rgba(212,175,55,.16), transparent); position: relative; z-index: 2; }
.step-line { position: absolute; left: 28px; top: 56px; bottom: -26px; width: 1px; background: linear-gradient(var(--gold-edge-strong), var(--gold-edge)); z-index: 1; }
.step-row:last-child .step-line { display: none; }

/* ---------- Demo ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.demo-list { display: flex; flex-direction: column; gap: 10px; }
.demo-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.025); border: 1px solid var(--glass-brd); font-size: 13.5px; color: var(--ink-3);
  transition: opacity .6s, transform .6s; }
.demo-item .x { color: var(--ink-4); font-size: 12px; }
.demo-faded .demo-item { opacity: .28; }
.demo-arrow { font-size: 30px; color: var(--gold); opacity: .6; }
.counter-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px; }
.counter { text-align: center; }
.counter .n { font-family: var(--serif); font-size: clamp(36px,5vw,58px); color: var(--gold-lite); line-height: 1; }
.counter .l { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--glass-brd); }
.compare-col { padding: 44px 40px; }
.compare-col.dim { background: rgba(255,255,255,0.015); }
.compare-col.lit { background: linear-gradient(180deg, rgba(212,175,55,0.08), rgba(212,175,55,0.02)); position: relative; }
.compare-col.lit::before { content:""; position:absolute; inset:0; box-shadow: inset 0 0 90px -30px var(--gold-glow); pointer-events:none; }
.compare-col h3 { font-family: var(--serif); font-size: 30px; margin-bottom: 26px; }
.compare-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.compare-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.compare-list .mk { flex: none; margin-top: 1px; }
.compare-col.dim .mk { color: var(--ink-4); } .compare-col.dim li { color: var(--ink-3); }
.compare-col.lit .mk { color: var(--gold); } .compare-col.lit li { color: var(--ink); }

/* ---------- VirtualGlass ---------- */
.vg-stage { position: relative; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 120% at 70% 10%, rgba(212,175,55,0.10), transparent 55%), var(--bg-2); border: 1px solid var(--glass-brd); }
.vg-pane { position: absolute; inset: 16% 14%; border-radius: 14px; border: 1px solid var(--gold-edge-strong);
  background: linear-gradient(135deg, rgba(212,175,55,0.10), rgba(255,255,255,0.02)); backdrop-filter: blur(2px);
  box-shadow: inset 0 0 60px -20px var(--gold-glow), 0 30px 60px -40px #000; }
.vg-signal { position: absolute; font-size: 10.5px; letter-spacing: .08em; color: var(--gold-soft); padding: 4px 9px; border-radius: 6px; background: rgba(12,11,9,.6); border: 1px solid var(--gold-edge); }
.vg-action { position: absolute; font-size: 12px; font-weight: 600; color: #1a1407; padding: 7px 14px; border-radius: 100px;
  background: linear-gradient(180deg,var(--gold-lite),var(--gold)); box-shadow: 0 8px 22px -8px var(--gold-glow); animation: bob 6s ease-in-out infinite; }

/* ---------- Final CTA ---------- */
.final { position: relative; text-align: center; overflow: hidden; }
.final-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.final-art img { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(1100px, 120vw); opacity: 0.6;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 80%); mask-image: radial-gradient(closest-side, #000 55%, transparent 80%); }
.final-halo { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(900px,90vw); aspect-ratio: 1; z-index: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212,175,55,0.18), rgba(212,175,55,0.05) 45%, transparent 70%); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%,100% { opacity: .7; transform: translate(-50%,-50%) scale(.92); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.05); } }

/* ---------- Platform ---------- */
.flow-row { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; justify-content: center; margin: 0 auto; }
.flow-step { display: flex; align-items: center; gap: 16px; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 6px 4px; min-width: 96px; }
.flow-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-lite);
  background: radial-gradient(120% 120% at 30% 20%, rgba(212,175,55,.20), rgba(212,175,55,.03)); border: 1px solid var(--gold-edge);
  box-shadow: inset 0 0 16px -8px var(--gold-glow); }
.flow-node.is-glass .flow-dot { background: radial-gradient(120% 120% at 30% 20%, rgba(212,175,55,.34), rgba(212,175,55,.06)); box-shadow: 0 0 24px -8px var(--gold-glow); }
.flow-node span { font-size: 11.5px; letter-spacing: 0.04em; color: var(--ink-2); max-width: 90px; }
.flow-link { width: 38px; height: 1px; background: linear-gradient(90deg, var(--gold-edge), var(--gold-edge-strong)); position: relative; flex: none; }
.flow-link::after { content: "›"; position: absolute; right: -3px; top: -10px; color: var(--gold); font-size: 14px; }
.platform-card-cta { margin-top: 18px; }

/* ---------- Section header w/ side art ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.feature-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.feature-list .fi { color: var(--gold-lite); margin-top: 2px; }
.feature-list h4 { font-size: 16px; color: var(--ink); margin-bottom: 3px; }
.feature-list p { font-size: 14px; color: var(--ink-3); }

/* ---------- Body extensions split caption ---------- */
.embodied-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 14px; margin-top: 30px; }
.embodied-item { padding: 16px 18px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-brd); }
.embodied-item .e-ic { color: var(--gold-lite); margin-bottom: 10px; display: block; }
.embodied-item h4 { font-size: 14.5px; color: var(--ink); margin-bottom: 4px; }
.embodied-item p { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
.tag-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold-soft); }

/* ---------- AR Virtual Body Parts ---------- */
.bodyparts-img img { object-position: 82% center; }
.bodyparts-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.bodyparts-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink-3); line-height: 1.5; }
.bodyparts-list .ar { color: var(--gold); margin-top: 1px; }
.bodyparts-list b { color: var(--ink); font-weight: 600; }
.bodyparts-note { margin-top: 30px; padding: 20px 24px; border-left: 1px solid var(--gold-edge-strong);
  background: var(--glass); border-radius: 0 12px 12px 0; font-family: var(--serif); font-style: italic;
  font-size: 19px; color: var(--gold-soft); line-height: 1.4; }

/* ---------- Cognitive ---------- */
.cog-card { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--glass-brd); }
.cog-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.cog-card:hover img { transform: scale(1.04); }
.cog-body { position: absolute; inset: auto 0 0 0; padding: 28px 22px 22px; background: linear-gradient(0deg, rgba(8,7,6,0.92) 30%, transparent); }
.cog-body h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 6px; }
.cog-body p { font-size: 13.5px; color: var(--ink-2); }
.cog-edge { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(180deg, var(--gold-edge), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; }
.cog-card:hover .cog-edge { opacity: 1; }

/* ---------- STC ---------- */
.stc-formula { font-family: var(--serif); font-style: italic; font-size: clamp(20px,2.4vw,30px); color: var(--gold-soft); }
.stc-bullets { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.stc-bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.stc-bullets .mk { color: var(--gold); flex: none; margin-top: 1px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(212,175,55,0.10); padding: 54px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.foot-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.foot-col h5 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 16px; font-weight: 600; }
.foot-col a { display: block; color: var(--ink-3); text-decoration: none; font-size: 14px; margin-bottom: 11px; transition: color .3s; white-space: nowrap; }
.foot-col a:hover { color: var(--gold-lite); }

/* clickable card link */
.card-link { text-decoration: none; display: block; height: 100%; }
.card-link .glass { display: flex; flex-direction: column; }
.card-link-cue { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--gold-soft); letter-spacing: 0.02em; opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s; }
.card-link:hover .card-link-cue { opacity: 1; transform: none; }

/* footer social */
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--glass-brd); color: var(--ink-3); text-decoration: none; font-size: 13px; font-weight: 600;
  transition: border-color .3s, color .3s, background .3s; }
.foot-social a:hover { border-color: var(--gold-edge-strong); color: var(--gold-lite); background: var(--glass); }

@media (max-width: 760px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-arrow { transform: rotate(90deg); justify-self: center; }
  .compare { grid-template-columns: 1fr; }
  .float-label { display: none; }
  .float-label.keep { display: inline-flex; }
}

.fl-gold {
  color: #1d1707; font-weight: 600;
  background: linear-gradient(180deg, var(--gold-lite), var(--gold));
  border-color: transparent;
  box-shadow: 0 8px 22px -10px var(--gold-glow);
}
.fl-gold .dot { background: #2a2207; box-shadow: none; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .hero-content { text-align: left; }
  .hero-art img { width: 100%; opacity: 0.5;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 50%); mask-image: linear-gradient(180deg, transparent, #000 50%); }
  .flow-row { gap: 4px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta-desktop { display: none; }
  .nav-mobile.open { display: flex; }
  .section-pad { padding: 84px 0; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
