/* EziWay Fundamentals — Unified Editorial Design System (Light Warm Paper + Deep OLED) */
:root {
  --background: #fbf6ef;
  --surface-alt: #f3ebdf;
  --foreground: #1b1712;
  --card: #fffdf9;
  --card-foreground: #1b1712;
  --popover: #fffdf9;
  --popover-foreground: #1b1712;
  --primary: #1b1712;
  --primary-foreground: #fbf6ef;
  --secondary: #efe8dd;
  --secondary-foreground: #1b1712;
  --muted: #f3ebdf;
  --muted-foreground: #6f665a;
  --accent: #efe8dd;
  --accent-foreground: #1b1712;
  --destructive: #e54b4f;
  --destructive-foreground: #ffffff;
  --border: #e6dccf;
  --border-subtle: rgba(27, 23, 18, 0.09);
  --seam: rgba(27, 23, 18, 0.06);
  --input: #efe8dd;
  --ring: #1b1712;
  --chart-1: #ffae04;
  --chart-2: #2d62ef;
  --chart-3: #a4a4a4;
  --positive: #15803d;
  --positive-soft: rgba(21, 128, 61, 0.10);
  --amber-soft: rgba(255, 174, 4, 0.14);
  --blue-soft: rgba(45, 98, 239, 0.10);
  --destructive-soft: rgba(229, 75, 79, 0.10);
  --font-display: "Onest", "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Geist", "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 0.5rem;
  --shadow-xs: 0 1px 2px 0 rgba(20, 20, 19, 0.04);
  --shadow-sm: 0 4px 12px -2px rgba(20, 20, 19, 0.05), 0 1px 3px -1px rgba(20, 20, 19, 0.04);
  --shadow-md: 0 12px 28px -6px rgba(20, 20, 19, 0.08), 0 4px 10px -2px rgba(20, 20, 19, 0.04);
  --shadow-lg: 0 24px 52px -14px rgba(20, 20, 19, 0.12), 0 8px 18px -6px rgba(20, 20, 19, 0.05);
}

.dark {
  --background: #06070a;
  --surface-alt: #0b0d13;
  --foreground: #f4f4f5;
  --card: #10131c;
  --card-foreground: #f4f4f5;
  --popover: #12151f;
  --popover-foreground: #f4f4f5;
  --primary: #ffffff;
  --primary-foreground: #09090b;
  --secondary: #1e222d;
  --secondary-foreground: #ffffff;
  --muted: #161922;
  --muted-foreground: #a1a1aa;
  --accent: #272b36;
  --accent-foreground: #ffffff;
  --destructive: #ff5b5b;
  --destructive-foreground: #000000;
  --border: #232733;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --seam: rgba(255, 255, 255, 0.065);
  --input: #272b36;
  --ring: #a1a1aa;
  --chart-1: #ffae04;
  --chart-2: #2671f4;
  --chart-3: #747474;
  --positive: #3fb950;
  --positive-soft: rgba(63, 185, 80, 0.15);
  --amber-soft: rgba(255, 174, 4, 0.16);
  --blue-soft: rgba(38, 113, 244, 0.16);
  --destructive-soft: rgba(255, 91, 91, 0.15);
  --shadow-xs: 0 1px 2px 0 hsl(0 0% 0% / 0.25);
  --shadow-sm: 0 1px 2px 0 hsl(0 0% 0% / 0.35);
  --shadow-md: 0 6px 18px -4px hsl(0 0% 0% / 0.55);
  --shadow-lg: 0 24px 52px -12px hsl(0 0% 0% / 0.85);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 150ms ease, color 150ms ease;
}

::selection { background: var(--primary); color: var(--primary-foreground); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
h1, h2, h3:not(#cmp-mini-sym) { font-family: var(--font-display); }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--n3-gutter); }

/* Header Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--background) 84%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 750;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #0a0f1c;
  border: 1px solid rgba(45, 98, 239, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 140ms ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--foreground); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

@media (max-width: 820px) { .nav-links { display: none; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow-xs);
  transition: background-color 140ms ease, border-color 140ms ease, transform 120ms ease, opacity 140ms ease;
}
.btn:hover { background: var(--muted); border-color: color-mix(in srgb, var(--foreground) 25%, var(--border)); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.btn-primary:hover { opacity: 0.88; background: var(--primary); }
.btn-lg { height: 46px; padding: 0 22px; font-size: 14.5px; border-radius: calc(var(--radius) + 2px); }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: var(--radius); }

/* Spatial Hero with Subtle Aura & 3D Floating HUD */
.hero-band {
  position: relative;
  overflow: hidden;
  padding: 68px 0 64px;
}
.hero-aura {
  position: absolute;
  inset: -120px -100px auto;
  height: 620px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 52% at 74% 38%, rgba(45, 98, 239, 0.10), transparent 72%),
    radial-gradient(ellipse 40% 44% at 86% 62%, rgba(255, 174, 4, 0.10), transparent 70%);
  z-index: 0;
}
.dark .hero-aura {
  background:
    radial-gradient(ellipse 48% 52% at 74% 38%, rgba(38, 113, 244, 0.16), transparent 72%),
    radial-gradient(ellipse 40% 44% at 86% 62%, rgba(255, 174, 4, 0.10), transparent 70%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-band { padding: 42px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}
.hero-title {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--foreground);
}
.hero-highlight {
  position: relative;
  display: inline-block;
  color: var(--chart-2);
}
.hero-highlight svg {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 10px;
  pointer-events: none;
}
.hero-sub {
  margin-top: 20px;
  font-size: 16.5px;
  color: var(--muted-foreground);
  max-width: 52ch;
  line-height: 1.62;
}
.hero-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-trust {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12.5px;
  color: var(--muted-foreground);
  font-weight: 500;
}
.hero-trust-item { display: inline-flex; align-items: center; gap: 7px; }

/* 3D Perspective Stage + Floating Callouts */
.stage-wrap {
  position: relative;
  perspective: 1400px;
}
.hud-stage {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(2.5deg);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 360ms ease;
}
.stage-wrap:hover .hud-stage {
  transform: rotateY(0deg) rotateX(0deg);
}
@media (max-width: 980px) {
  .hud-stage { transform: none; }
}
.float-badge {
  position: absolute;
  z-index: 4;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 9px 13px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.float-badge.top-left { top: -16px; left: -18px; }
.float-badge.bot-right { bottom: 48px; right: -14px; }
.stage-wrap:hover .float-badge.top-left { transform: translate(-4px, -4px); }
.stage-wrap:hover .float-badge.bot-right { transform: translate(4px, 4px); }
@media (max-width: 680px) { .float-badge { display: none; } }

.hud-preview-top {
  background: #0a0c11;
  color: #ffffff;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid #1e2330;
}
.hud-preview-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 99px;
  color: #4ade80;
  background: rgba(63, 185, 80, 0.16);
  border: 1px solid rgba(74, 222, 128, 0.35);
}
.hud-preview-head {
  padding: 14px 16px 0;
  border-bottom: 1px solid var(--border);
}
.hud-stock-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hud-stock-left { display: flex; align-items: center; gap: 10px; }
.hud-avatar {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--primary); color: var(--primary-foreground);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px;
}
.hud-tabs { display: flex; gap: 16px; margin-top: 12px; overflow-x: auto; }
.hud-tab-btn {
  background: transparent; border: none; border-bottom: 2px solid transparent;
  padding: 8px 2px; font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  color: var(--muted-foreground); cursor: pointer; white-space: nowrap;
  transition: color 120ms, border-color 120ms;
}
.hud-tab-btn[aria-selected="true"] { color: var(--foreground); border-bottom-color: var(--foreground); }
.hud-preview-body { padding: 16px; min-height: 224px; }
.hud-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hud-kpi {
  background: var(--muted); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px;
}
.hud-kpi-k { font-size: 10.5px; color: var(--muted-foreground); }
.hud-kpi-v { font-family: var(--font-mono); font-size: 13px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }
.hud-kpi-v.pos { color: var(--positive); }
.bar-row { display: flex; align-items: flex-end; gap: 8px; height: 112px; padding-top: 14px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; height: 100%; justify-content: flex-end; }
.bar-fill { width: 100%; border-radius: 4px 4px 0 0; background: var(--chart-2); transition: height 220ms ease; }
.bar-fill.amber { background: var(--chart-1); }
.bar-lbl { font-family: var(--font-mono); font-size: 10px; color: var(--muted-foreground); }

.stock-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.stock-chip {
  height: 28px;
  padding: 0 11px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 140ms ease;
}
.stock-chip[aria-pressed="true"] {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* ============================================================================
   SECTION 1 & 2: SYNTRA HERO + STICKY GLASS FLIP-LABEL NAVBAR (TweakCN Light/Dark)
   ============================================================================ */
:root {
  --n3-page: #fbf6ef;
  --n3-ink: #1b1712;
  --n3-grey: #6f665a;
  --n3-line: #dfd5c7;
  --n3-accent: #ff6a3d;
  --n3-accent-warm: #ffb547;
  --n3-gutter: 20px;
  --n3-nav-space: 84px;
  --n3-float: 8;
  --n3-float-seconds: 6.5s;
}
.dark {
  --n3-page: #06070a;
  --n3-ink: #f4f4f5;
  --n3-grey: #a1a1aa;
  --n3-line: #232733;
  --n3-accent: #ff6a3d;
  --n3-accent-warm: #ffb547;
}
@media (min-width: 640px) { :root { --n3-gutter: 32px; } }
@media (min-width: 1024px) { :root { --n3-gutter: 56px; } }

.n3-root {
  position: relative;
  width: 100%;
  font-family: var(--font-sans);
  color: var(--n3-ink);
  background:
    radial-gradient(ellipse 46% 58% at 72% 48%, rgba(255, 106, 61, 0.22) 0%, transparent 72%),
    radial-gradient(ellipse 38% 48% at 86% 62%, rgba(255, 181, 71, 0.24) 0%, transparent 72%),
    radial-gradient(ellipse 52% 42% at 10% 10%, rgba(255, 255, 255, 0.72) 0%, transparent 72%),
    linear-gradient(to bottom, #fbf6ef 80%, #f3ebdf 100%);
}
.dark .n3-root {
  background:
    radial-gradient(ellipse 52% 62% at 74% 48%, rgba(255, 106, 61, 0.13) 0%, transparent 70%),
    radial-gradient(ellipse 42% 46% at 88% 12%, rgba(38, 113, 244, 0.09) 0%, transparent 70%),
    linear-gradient(to bottom, #06070a 84%, #0a0c12 100%);
}
.n3-frame { padding-left: var(--n3-gutter); padding-right: var(--n3-gutter); }

/* Navbar (Tempo Floating Glass Capsule Morph on Scroll) */
.n3-header {
  position: sticky;
  top: 10px;
  z-index: 60;
  width: 100%;
  padding: 0 clamp(10px, 2vw, 24px);
  pointer-events: none;
  font-family: "Onest", var(--font-sans);
  color: var(--n3-ink);
  animation: n3-drop 600ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.n3-nav-bar {
  pointer-events: auto;
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 9999px;
  background-color: transparent;
  border: 1px solid transparent;
  transition: background-color 300ms cubic-bezier(0.22, 1, 0.36, 1), border-color 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}
.n3-nav-bar-scrolled {
  background-color: color-mix(in srgb, var(--card) 78%, transparent);
  border-color: var(--border-subtle);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}
.dark .n3-nav-bar-scrolled {
  background-color: rgba(14, 16, 22, 0.80);
  border-color: rgba(255, 255, 255, 0.10);
}
.n3-nav-inner {
  max-width: 100%;
  margin: 0 auto;
  height: 58px;
  padding-left: clamp(14px, 2.2vw, 24px);
  padding-right: clamp(10px, 1.8vw, 18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (min-width: 1024px) { .n3-nav-inner { height: 64px; } }

.n3-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--n3-ink);
  text-decoration: none;
  font-size: clamp(16.5px, 4.2vw, 20px);
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 639px) {
  .n3-logo svg { width: 26px; height: 26px; }
}
.n3-nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 36px;
}
@media (min-width: 1024px) { .n3-nav-links { display: flex; } }
.n3-nav-links a {
  color: var(--n3-ink);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 450;
  padding: 6px 0;
  transition: color 200ms ease;
}
.n3-nav-links a:hover { color: var(--n3-accent); }

.n3-nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
@media (max-width: 767px) {
  .n3-nav-actions .n3-pill-dark { display: none; }
}
.n3-theme-btn {
  width: 38px; height: 38px;
  border-radius: 9999px;
  border: 1px solid var(--n3-line);
  background: color-mix(in srgb, var(--card) 75%, transparent);
  color: var(--n3-ink);
  display: grid; place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 180ms, background-color 180ms;
}
.n3-theme-btn:hover { border-color: var(--n3-accent); }
.n3-menu-btn {
  width: 38px; height: 38px;
  border: none; background: transparent; color: var(--n3-ink);
  display: grid; place-items: center; border-radius: 9999px; cursor: pointer; flex-shrink: 0;
}
@media (min-width: 1024px) { .n3-menu-btn { display: none; } }

.n3-mobile-drawer {
  pointer-events: auto;
  max-width: 1240px;
  margin: 8px auto 0;
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--card) 94%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  padding: 12px 18px 18px;
}
.n3-mobile-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.n3-mobile-drawer a:not(.n3-mobile-cta) {
  display: flex; align-items: center; height: 42px;
  color: var(--n3-ink); text-decoration: none; font-size: 15px; font-weight: 500;
}
.n3-mobile-cta {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}
.n3-mobile-drawer.hidden { display: none; }

/* 3D Cube Label Flip Buttons (Zero subpixel backface bleed) */
.n3-flip { perspective: 600px; text-decoration: none; white-space: nowrap; }
.n3-flip-box {
  --d: 0.75em;
  display: inline-grid;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--d) * -1)) rotateX(0deg);
  transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}
.n3-flip-face {
  grid-area: 1 / 1;
  display: inline-flex;
  height: 1.5em;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.5em;
  white-space: nowrap;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(var(--d));
}
.n3-flip-back {
  transform: rotateX(-90deg) translateZ(var(--d));
  opacity: 0;
  transition: opacity 120ms ease;
}
.n3-flip:hover .n3-flip-box, .n3-flip:focus-visible .n3-flip-box {
  transform: translateZ(calc(var(--d) * -1)) rotateX(90deg);
}
.n3-flip:hover .n3-flip-back, .n3-flip:focus-visible .n3-flip-back {
  opacity: 1;
}
.n3-pill-dark {
  display: inline-flex; align-items: center;
  height: 44px; padding: 0 20px; border-radius: 9999px;
  background: var(--n3-ink); color: var(--n3-page);
  font-size: 15px; font-weight: 500;
}
@media (min-width: 640px) { .n3-pill-dark { height: 48px; padding: 0 24px; font-size: 15.5px; } }
.n3-pill-accent {
  display: inline-flex; align-items: center;
  height: 52px; padding: 0 28px; border-radius: 9999px;
  background: var(--n3-accent); color: #ffffff;
  font-size: 15.5px; font-weight: 550;
  box-shadow: 0 12px 26px -10px rgba(255, 122, 47, 0.55);
}
.n3-pill-ghost {
  display: inline-flex; align-items: center;
  height: 52px; padding: 0 24px; border-radius: 9999px;
  border: 1px solid var(--n3-line);
  background: color-mix(in srgb, var(--card) 68%, transparent);
  color: var(--n3-ink);
  font-size: 15.5px; font-weight: 500;
}
.n3-play-ring {
  width: 20px; height: 20px; border-radius: 9999px;
  border: 1px solid var(--n3-ink);
  display: inline-grid; place-items: center;
}

/* Hero Section Layout & Spotlight Floor */
.n3-hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  min-height: calc(100dvh - var(--n3-nav-space));
}
@media (max-width: 1023px) { .n3-hero { min-height: 0; } }

.n3-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: inherit;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 48px;
}
@media (min-width: 1024px) {
  .n3-hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 56px;
    padding-top: 24px;
    padding-bottom: 44px;
  }
}

.n3-floor-wrap {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -10;
  overflow: hidden;
}
.n3-floor, .n3-floor-lit {
  --n3-floor-area: radial-gradient(ellipse 75% 80% at 72% 70%, #000 20%, transparent 100%);
  --n3-floor-edges: linear-gradient(to left, transparent 0%, #000 22%), linear-gradient(to top, transparent 0%, #000 28%);
  -webkit-mask-image: var(--n3-floor-area), var(--n3-floor-edges);
  mask-image: var(--n3-floor-area), var(--n3-floor-edges);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.n3-floor { position: absolute; inset: 0; opacity: 0.42; }
.dark .n3-floor { opacity: 0.25; }
.n3-floor-spot {
  position: absolute; top: 0; left: 0; width: 340px; height: 340px;
  opacity: 0; transition: opacity 380ms ease; will-change: transform, opacity;
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 0%, transparent 100%);
}
.n3-floor-wrap[data-spot="on"] .n3-floor-spot { opacity: 0.72; }
.n3-floor-lit { position: absolute; top: 0; left: 0; will-change: transform; }

/* Hero Left Copy & Metrics */
.n3-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--n3-grey);
}
.n3-dot {
  width: 8px; height: 8px; border-radius: 9999px;
  background: var(--n3-accent);
  box-shadow: 0 0 0 4px rgba(255, 122, 47, 0.16);
}
.n3-h1 {
  margin-top: 24px;
  font-size: clamp(2.45rem, 1.15rem + 3.45vw, 4.25rem);
  font-weight: 450;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--n3-ink);
}
.n3-h1 span.line { display: block; }
.n3-h1 .accent { color: var(--n3-accent); }
.n3-body {
  margin-top: 24px;
  max-width: 31rem;
  font-size: clamp(16.5px, 1.3vw, 18.5px);
  line-height: 1.62;
  color: var(--n3-grey);
}
.n3-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.n3-metrics {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 640px) { .n3-metrics { display: flex; align-items: stretch; gap: 0; } }
@media (min-width: 1024px) { .n3-metrics { margin-top: 64px; } }
.n3-metric {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-right: 12px;
}
@media (min-width: 640px) {
  .n3-metric { flex-direction: row; align-items: center; gap: 12px; padding-right: 28px; }
  .n3-metric + .n3-metric { border-left: 1px solid var(--n3-line); padding-left: 28px; }
}
.n3-metric-v { font-size: 14px; font-weight: 600; color: var(--n3-ink); line-height: 1.25; }
.n3-metric-k { font-size: 12.5px; color: var(--n3-grey); line-height: 1.3; }

/* Right Isometric Exploding Core Visual */
.n3-visual-shell {
  position: relative;
  width: 118%;
  margin-left: -9%;
  aspect-ratio: 1 / 1;
  container-type: inline-size;
  animation: n3-enter 1100ms cubic-bezier(0.22, 1, 0.36, 1) 200ms backwards;
}
@media (min-width: 768px) {
  .n3-visual-shell { width: 100%; max-width: 780px; margin: 0 auto; }
}
@media (min-width: 1024px) {
  .n3-visual-shell { width: 104%; max-width: none; margin: 0; }
}

.n3-halo {
  position: absolute; inset: 6%; border-radius: 9999px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.90), transparent);
}
.dark .n3-halo {
  background: radial-gradient(closest-side, rgba(255, 122, 47, 0.14), transparent);
}
.n3-fade-edge {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%);
  mask-image: linear-gradient(to right, transparent 0%, #000 14%);
}
.n3-layer { position: absolute; inset: 0; pointer-events: none; }
.n3-tilted-wrap { position: absolute; inset: 0; pointer-events: none; perspective: 1400px; }
.n3-tilted { position: absolute; inset: 0; transform-style: preserve-3d; }
.n3-float-anim { position: absolute; inset: 0; animation: n3-float var(--n3-float-seconds) ease-in-out infinite alternate; }
.n3-seam-pulse { animation: n3-seam 4.8s ease-in-out infinite alternate; }

.n3-svg-full { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.n3-core-hit {
  position: absolute; top: 30%; left: 22%; width: 56%; height: 44%;
  border-radius: 3rem; border: none; background: transparent; cursor: pointer;
}
.n3-hint {
  position: absolute; top: 84%; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--n3-grey); white-space: nowrap;
  pointer-events: none; transition: opacity 220ms ease;
}

/* Stage Cards beside Exploding Plates */
.n3-cards-list {
  position: absolute; inset: 0; list-style: none; margin: 0; padding: 0;
  pointer-events: none; display: none;
  font-size: clamp(10px, 1.7cqw, 14.5px);
}
@media (min-width: 768px) { .n3-cards-list { display: block; } }
.n3-card-slot { position: absolute; transform: translateY(-50%); }

.n3-stage-card {
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 1.25em;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.85em 0.95em;
  box-shadow: 0 1px 2px rgba(60, 50, 40, 0.05), 0 14px 34px -18px rgba(90, 78, 62, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 260ms ease, box-shadow 260ms ease;
}
.dark .n3-stage-card {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(14, 14, 14, 0.86);
  box-shadow: 0 14px 36px -14px rgba(0, 0, 0, 0.85);
}
.n3-stage-card.lit {
  border-color: rgba(255, 122, 47, 0.45);
  box-shadow: 0 2px 4px rgba(60, 50, 40, 0.05), 0 18px 38px -16px rgba(255, 122, 47, 0.42);
}

.n3-sc-grid { display: grid; grid-template-columns: 1.4em minmax(0, 1fr) auto; align-items: start; column-gap: 0.6em; }
.n3-sc-num { font-size: 0.8em; font-weight: 600; color: var(--n3-grey); height: 1.6em; display: flex; align-items: center; font-variant-numeric: tabular-nums; }
.n3-sc-title-row { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4em; }
.n3-sc-title-row.main { grid-column: 2 / -1; }
.n3-sc-title { font-size: 0.98em; font-weight: 650; line-height: 1.25; letter-spacing: -0.015em; color: var(--n3-ink); white-space: nowrap; }
.n3-sc-main-tag { font-size: 0.7em; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--n3-accent); white-space: nowrap; }
.n3-sc-ico { grid-column: 1; grid-row: 2; margin-top: 0.35em; color: var(--n3-accent); display: flex; align-items: center; }
.n3-sc-sub { grid-column: 2; grid-row: 2; margin-top: 0.25em; font-size: 0.85em; color: var(--n3-grey); line-height: 1.38; }
.n3-sc-sub.main { grid-column: 2 / -1; }
.n3-sc-pills { grid-column: 3; grid-row: 1 / span 2; align-self: center; display: flex; gap: 0.3em; align-items: center; }
.n3-sc-pills.main { grid-column: 2 / -1; grid-row: 3; justify-content: flex-end; margin-top: 0.5em; }
.n3-sc-chip {
  font-family: var(--font-mono); font-size: 0.72em; font-weight: 700;
  padding: 0.22em 0.52em; border-radius: 0.45em;
  background: var(--muted); border: 1px solid var(--border); color: var(--n3-ink);
}
@container (max-width: 640px) { .n3-sc-pills { display: none; } }

/* Mobile Stage List below Visual */
.n3-mobile-stages {
  list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px;
  font-size: 13px; margin-top: 8px;
}
@media (min-width: 640px) { .n3-mobile-stages { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .n3-mobile-stages { display: none; } }

/* Entry & Core Keyframes */
.n3-rise { animation: n3-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) backwards; }
@keyframes n3-rise { from { opacity: 0; translate: 0 18px; } }
@keyframes n3-drop { from { opacity: 0; translate: 0 -12px; } }
@keyframes n3-enter { from { opacity: 0; scale: 0.97; } }
@keyframes n3-float { from { transform: translateY(0); } to { transform: translateY(calc(var(--n3-float) * -1px)); } }
@keyframes n3-seam { from { opacity: 0.78; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .n3-rise, .n3-header, .n3-visual-shell, .n3-float-anim, .n3-seam-pulse { animation: none; }
  .n3-flip-box { transition: none; }
}

/* ============================================================================
   TERMINAL METRICS & COMPATIBILITY STRIP (clevision/logo-cloud inspired)
   ============================================================================ */
.ms-section {
  position: relative;
  background: linear-gradient(180deg, #f3ebdf 0%, #fbf6ef 100%);
  padding: 34px 0 40px;
}
.dark .ms-section {
  background: linear-gradient(180deg, #0a0c12 0%, #06070a 100%);
}
.ms-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--n3-gutter);
}
.ms-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--card);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
@media (max-width: 960px) { .ms-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ms-stats { grid-template-columns: 1fr; } }

.ms-stat {
  padding: 20px 22px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ms-stat:last-child { border-right: none; }
@media (max-width: 960px) {
  .ms-stat { border-bottom: 1px solid var(--border); }
  .ms-stat:last-child { border-bottom: none; }
  .ms-stat:nth-child(even) { border-right: none; }
}
@media (max-width: 520px) { .ms-stat { border-right: none; } }

.ms-val {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
}
.ms-val .acc { color: var(--n3-accent); }
.ms-lbl { font-size: 13px; font-weight: 650; color: var(--foreground); margin-top: 2px; }
.ms-sub { font-size: 11.5px; color: var(--muted-foreground); line-height: 1.4; }

.ms-marquee-box {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ms-marquee-row {
  display: flex;
  gap: 10px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.ms-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  animation: ms-scroll 34s linear infinite;
  will-change: transform;
}
.ms-marquee-row[data-reverse="true"] .ms-track {
  animation-direction: reverse;
  animation-duration: 38s;
}
.ms-marquee-row:hover .ms-track { animation-play-state: paused; }
@keyframes ms-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 10px)); }
}
@media (prefers-reduced-motion: reduce) { .ms-track { animation: none; } }

.ms-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
}
.ms-chip svg { color: var(--n3-accent); flex-shrink: 0; }
.ms-chip .tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-foreground);
  padding-left: 6px;
  border-left: 1px solid var(--border);
}

/* ============================================================================
   SECTION 3: TESTIMONIAL GLOBE (Interactive 3D Dotted Earth + Leader Line)
   ============================================================================ */
.tg-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(46% 60% at 28% 52%, rgba(255, 253, 249, 0.78), transparent 72%),
    radial-gradient(38% 46% at 78% 20%, rgba(255, 106, 61, 0.09), transparent 72%),
    #fbf6ef;
  padding: 60px 0;
}
.dark .tg-section {
  background:
    radial-gradient(46% 60% at 28% 52%, rgba(255, 122, 47, 0.08), transparent 72%),
    radial-gradient(36% 42% at 78% 18%, rgba(45, 98, 239, 0.06), transparent 72%),
    #06070a;
}
.tg-glow-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(38% 54% at 28% 50%, color-mix(in srgb, var(--n3-accent) 6%, transparent), transparent 72%);
}
.tg-stage {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--n3-gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
@media (min-width: 900px) {
  .tg-section { padding: 66px 0; }
  .tg-stage {
    display: grid;
    grid-template-columns: 400px minmax(0, 540px);
    column-gap: 68px;
    row-gap: 24px;
    justify-content: center;
    align-items: center;
  }
}
@media (min-width: 1120px) {
  .tg-stage { grid-template-columns: 430px minmax(0, 544px); column-gap: 76px; }
}

.tg-header { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
@media (min-width: 900px) {
  .tg-header { grid-column: 2; grid-row: 1; align-items: flex-start; align-self: end; text-align: left; }
}
.tg-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.1vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--foreground);
  max-width: 18ch;
}
.tg-stats-bar {
  margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
}
.tg-dl {
  margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-size: 13.5px; color: var(--muted-foreground);
}
.tg-dl-item { display: inline-flex; align-items: baseline; gap: 5px; }
.tg-dl-item dd { margin: 0; font-weight: 700; color: var(--foreground); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 4px; }
.tg-sep { width: 1px; height: 12px; background: var(--border); }
@media (max-width: 899px) {
  .tg-header { align-items: center; text-align: center; }
  .tg-heading { max-width: 22ch; font-size: clamp(25px, 6.2vw, 32px); }
  .tg-stats-bar { width: 100%; flex-direction: column; align-items: center; gap: 14px; }
  .tg-dl { justify-content: center; gap: 8px; }
  .tg-sep { display: none; }
  .tg-dl-item {
    padding: 4px 11px;
    border-radius: 99px;
    border: 1px solid var(--border-subtle);
    background: var(--surface-alt);
    font-size: 12.5px;
  }
}

/* Globe Box */
.tg-globe-box {
  position: relative;
  width: 300px;
  height: 300px;
  flex-shrink: 0;
  touch-action: pan-y;
  user-select: none;
}
@media (min-width: 900px) {
  .tg-globe-box { grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 400px; height: 400px; }
}
@media (min-width: 1120px) {
  .tg-globe-box { width: 430px; height: 430px; }
}

.tg-stars { pointer-events: none; position: absolute; inset: 0; }
.tg-star {
  position: absolute; border-radius: 9999px; background: var(--foreground); opacity: 0.25;
  animation: tg-pulse 3.2s ease-in-out infinite alternate;
}
.dark .tg-star { opacity: 0.55; }
@keyframes tg-pulse { from { opacity: 0.12; } to { opacity: 0.65; } }

.tg-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  cursor: grab;
}
.tg-canvas:active { cursor: grabbing; }

.tg-pins-layer { pointer-events: none; position: absolute; inset: 0; }
.tg-pin {
  position: absolute; left: 0; top: 0;
  border: none; background: transparent; padding: 0; border-radius: 9999px;
  cursor: pointer; outline: none; will-change: transform, opacity;
}
.tg-pin-ping {
  pointer-events: none; position: absolute; inset: 0; border-radius: 9999px;
  border: 2px solid var(--pin-color, var(--chart-2));
  opacity: 0.28; animation: tg-ping 3s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.tg-pin[data-featured="true"] .tg-pin-ping { opacity: 0.82; }
@keyframes tg-ping {
  0% { transform: scale(1); opacity: 0.75; }
  75%, 100% { transform: scale(1.95); opacity: 0; }
}
.tg-pin-face {
  position: relative; width: 100%; height: 100%; border-radius: 9999px;
  overflow: hidden; background: var(--muted); color: var(--foreground);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--pin-color, var(--chart-2)), 0 6px 14px rgba(0, 0, 0, 0.16);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.tg-pin-face img, .tg-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 9999px;
}
.tg-pin:not([data-featured="true"]) .tg-pin-face {
  transform: scale(0.82);
}
.tg-pin[data-featured="true"] .tg-pin-face {
  transform: scale(1.32);
  box-shadow: 0 0 0 2px var(--background), 0 0 0 5px var(--pin-color, var(--chart-2)), 0 10px 22px rgba(0, 0, 0, 0.24);
}
.tg-pin:focus-visible .tg-pin-face { outline: 2px solid var(--foreground); outline-offset: 5px; }

/* Card Region & Stack */
.tg-card-wrap { position: relative; width: 100%; max-width: 440px; min-width: 0; }
@media (min-width: 900px) { .tg-card-wrap { grid-column: 2; grid-row: 2; align-self: start; max-width: none; } }
.tg-card-shadow {
  pointer-events: none; position: absolute; left: 32px; right: 32px; bottom: -16px; z-index: -1;
  height: 40px; border-radius: 100%; background: #000; opacity: 0.11; filter: blur(22px);
}
.dark .tg-card-shadow { opacity: 0.65; }
.tg-quote-region { position: relative; display: grid; }
.tg-quote-card {
  grid-column: 1; grid-row: 1;
  position: relative; margin: 0; min-width: 0;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--border);
  background: var(--card); color: var(--card-foreground);
  padding: 24px; min-height: 224px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) { .tg-quote-card { padding: 18px; min-height: 204px; } }
.tg-quote-top { display: flex; align-items: center; gap: 12px; height: 28px; padding-right: 112px; }
.tg-quote-text {
  margin: 14px 0 0; font-size: 16.5px; line-height: 1.58; color: var(--foreground);
}
.tg-quote-foot {
  margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 12px;
}
.tg-avatar {
  width: 44px; height: 44px; border-radius: 9999px; flex-shrink: 0; overflow: hidden;
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  background: var(--muted); color: var(--foreground);
  box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--pin-color, var(--chart-2));
}
.tg-author-meta { min-width: 0; flex: 1; }
.tg-author-name { display: block; font-size: 13.5px; font-weight: 700; color: var(--foreground); }
.tg-author-role { display: block; font-size: 12px; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-author-loc { text-align: right; font-size: 12px; line-height: 1.3; color: var(--muted-foreground); flex-shrink: 0; }

.tg-pager {
  position: absolute; top: 20px; right: 18px; z-index: 10;
  display: flex; align-items: center; gap: 2px;
}
.tg-page-btn {
  width: 28px; height: 28px; border-radius: 9999px; border: none; background: transparent;
  color: var(--muted-foreground); display: grid; place-items: center; cursor: pointer;
  transition: background-color 140ms, color 140ms;
}
.tg-page-btn:hover { background: var(--muted); color: var(--foreground); }
.tg-page-count { min-width: 44px; text-align: center; font-size: 12px; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }

.tg-leader-svg {
  pointer-events: none; position: absolute; left: 0; top: 0; width: 1px; height: 1px;
  overflow: visible; z-index: 45; color: var(--foreground); display: none;
}
@media (min-width: 900px) { .tg-leader-svg { display: block; } }

/* ============================================================================
   SECTION 4: PROBLEM VS SOLUTION (Before vs. After Workflow Comparison)
   ============================================================================ */
.cmp-section {
  position: relative;
  background: linear-gradient(180deg, #fbf6ef 0%, #f3ebdf 35%, #f3ebdf 70%, #fbf6ef 100%);
  padding: 62px 0;
}
.dark .cmp-section {
  background: linear-gradient(180deg, #06070a 0%, #0b0d13 35%, #0b0d13 70%, #06070a 100%);
}
.cmp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--n3-gutter);
}
.cmp-head {
  max-width: 740px;
  margin: 0 auto 30px;
  text-align: center;
}
.cmp-head .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.cmp-panel-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.cmp-head .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.cmp-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 1024px) { .cmp-grid { grid-template-columns: 1fr; } }

.cmp-panel {
  position: relative;
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease, border-color 240ms ease;
}
.cmp-panel.before {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.cmp-panel.after {
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(255, 122, 47, 0.08), transparent 65%),
    #0b0e14;
  color: #f0f6fc;
  border: 1px solid #262c36;
  box-shadow: 0 28px 64px -18px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(255, 122, 47, 0.16);
}
.dark .cmp-panel.after {
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(255, 122, 47, 0.10), transparent 65%),
    #0d111a;
  border-color: #273042;
  box-shadow: 0 28px 64px -16px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 122, 47, 0.18);
}

.cmp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cmp-after-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cmp-panel-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.cmp-panel.before .cmp-panel-title { color: var(--foreground); }
.cmp-panel.after .cmp-panel-title { color: #ffffff; }

.cmp-meta-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.22);
  padding: 3px 10px;
  border-radius: 99px;
}
.dark .cmp-meta-chip {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.26);
}
.cmp-kbd-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
}
.cmp-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid #30363d;
  background: #161b22;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 1px 0 #05070a;
}

/* Before: Chrome Tab Overflow Mockup */
.cmp-chaos-stage {
  border-radius: 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 296px;
}
.cmp-chrome-tabs {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 7px 8px 0;
  background: color-mix(in srgb, var(--surface-alt) 65%, var(--border) 35%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.cmp-ch-tab {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--muted-foreground);
  padding: 4px 8px;
  border-radius: 6px 6px 0 0;
  background: color-mix(in srgb, var(--card) 55%, transparent);
  border: 1px solid transparent;
  white-space: nowrap;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmp-ch-tab.active {
  background: var(--card);
  color: var(--foreground);
  font-weight: 600;
  border-color: var(--border);
  border-bottom-color: var(--card);
  margin-bottom: -1px;
}
.cmp-chaos-viewport {
  position: relative;
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: var(--card);
}
.cmp-blur-chart {
  position: absolute;
  inset: 12px 14px 40px;
  color: var(--muted-foreground);
  opacity: 0.45;
  filter: blur(1.2px);
  pointer-events: none;
}
.cmp-stack-deck {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.cmp-stack-win {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 94%, var(--surface-alt));
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.14);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--foreground);
  transition: transform 220ms ease;
}
.cmp-stack-url {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmp-stack-win.w1 { width: 93%; }
.cmp-stack-win.w2 { width: 96%; margin-left: auto; }
.cmp-stack-win.w3 { width: 91%; }
.cmp-panel.before:hover .cmp-stack-win.w2 { transform: translateX(-3px); }
.cmp-panel.before:hover .cmp-stack-win.w3 { transform: translateX(3px); }
.cmp-stack-tag {
  font-size: 9.5px;
  font-weight: 600;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
  padding: 2px 7px;
  border-radius: 5px;
  white-space: nowrap;
}
.dark .cmp-stack-tag { color: #f87171; background: rgba(248, 113, 113, 0.14); }
.cmp-chaos-bar {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.16);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #b91c1c;
}
.dark .cmp-chaos-bar {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.22);
  color: #fca5a5;
}
.cmp-chaos-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #ef4444;
  flex-shrink: 0;
}

/* After: Real Split Chart + Authentic 7-Tab Extension HUD */
.cmp-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #4ade80;
}
.cmp-sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}
.cmp-live-stage {
  border-radius: 14px;
  background: #0d111a;
  border: 1px solid #262e3d;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 296px;
}
.cmp-split-ui {
  display: grid;
  grid-template-columns: 0.54fr 1.46fr;
  flex: 1;
}
@media (max-width: 720px) { .cmp-split-ui { grid-template-columns: 1fr; } }

.cmp-mini-chart {
  padding: 12px;
  border-right: 1px solid #212836;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  background: #090c12;
}
@media (max-width: 720px) { .cmp-mini-chart { border-right: none; border-bottom: 1px solid #212836; } }
.cmp-chart-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cmp-ticker-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.cmp-ticker-btn {
  border: 1px solid #262f3f;
  background: #111622;
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 140ms, color 140ms, border-color 140ms;
}
.cmp-ticker-btn:hover { color: #ffffff; border-color: #475569; }
.cmp-ticker-btn[aria-selected="true"] {
  background: #ff7a2f;
  color: #ffffff;
  border-color: #ff7a2f;
}
.cmp-mini-hdr { padding-top: 2px; }
.cmp-mini-sym { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; color: #e2e8f0; }
.cmp-mini-px { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: #f8fafc; margin-top: 2px; }
.cmp-mini-px span { color: #4ade80; font-size: 10px; }
.cmp-chart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #64748b;
  padding-top: 4px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* Real Extension Window Replica */
.cmp-ext-win {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #0f172a;
  min-width: 0;
}
.dark .cmp-ext-win {
  background: #111622;
  color: #f1f5f9;
}
.cmp-ext-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px;
  background: #0b0f17;
  color: #ffffff;
  border-bottom: 1px solid #1e293b;
}
.cmp-ext-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.cmp-ext-ico {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #161e2e;
  border: 1px solid #263145;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cmp-ext-title {
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}
.cmp-ext-domain {
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: #94a3b8;
  background: #161d2b;
  border: 1px solid #263145;
  padding: 1px 6px;
  border-radius: 99px;
  white-space: nowrap;
}
.cmp-ext-pro {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 2px 7px;
  border-radius: 99px;
  white-space: nowrap;
}
.cmp-ext-body {
  padding: 10px 12px 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.cmp-ext-co {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.cmp-ext-co-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.cmp-ext-mono {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.dark .cmp-ext-mono { background: #020617; border: 1px solid #263145; }
.cmp-ext-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cmp-ext-name {
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmp-ext-live {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: #16a34a;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.cmp-ext-sub-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9.5px;
}
.cmp-ext-sym-pill {
  padding: 1px 5px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
}
.dark .cmp-ext-sym-pill { background: #1e293b; color: #cbd5e1; }
.cmp-ext-price { font-weight: 700; }
.cmp-ext-chg {
  padding: 1px 5px;
  border-radius: 4px;
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
}
.dark .cmp-ext-chg { background: rgba(34, 197, 94, 0.16); color: #4ade80; }
.cmp-ext-basis {
  display: inline-flex;
  padding: 2px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.dark .cmp-ext-basis { background: #0b0f17; border-color: #263145; }
.cmp-basis-btn {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
  cursor: pointer;
}
.cmp-basis-btn[aria-pressed="true"] {
  background: #0f172a;
  color: #ffffff;
}
.dark .cmp-basis-btn[aria-pressed="true"] { background: #ff7a2f; color: #ffffff; }

.cmp-ext-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cmp-ext-tabs::-webkit-scrollbar { display: none; }
.dark .cmp-ext-tabs { border-bottom-color: #232b3b; }
.cmp-ext-tab {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 9.5px;
  font-weight: 600;
  padding: 4px 1px 6px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 140ms, border-color 140ms;
}
.cmp-ext-tab:hover { color: #0f172a; }
.dark .cmp-ext-tab:hover { color: #f8fafc; }
.cmp-ext-tab[aria-selected="true"] {
  color: #0f172a;
  border-bottom-color: #0f172a;
  font-weight: 700;
}
.dark .cmp-ext-tab[aria-selected="true"] {
  color: #ffffff;
  border-bottom-color: #ff7a2f;
}

.cmp-ext-view {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 158px;
}
.cmp-ev-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.cmp-ev-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0f172a;
}
.dark .cmp-ev-title { color: #e2e8f0; }
.cmp-ev-legend, .cmp-ev-pill, .cmp-ev-pos, .cmp-ev-valpill {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.cmp-ev-legend { color: #64748b; }
.cmp-ev-pill { background: #0f172a; color: #ffffff; }
.cmp-ev-pos { background: #dcfce7; color: #15803d; }
.dark .cmp-ev-pos { background: rgba(34, 197, 94, 0.16); color: #4ade80; }
.cmp-ev-valpill { background: #fef3c7; color: #b45309; border: 1px solid #fcd34d; }
.dark .cmp-ev-valpill { background: rgba(245, 158, 11, 0.14); color: #fbbf24; border-color: rgba(245, 158, 11, 0.3); }

/* Tab Subviews */
.cmp-ev-ratios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.cmp-ev-ratio {
  padding: 7px 8px;
  border-radius: 7px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cmp-ev-ratio.tone-good { background: #f0fdf4; border-color: #bbf7d0; }
.cmp-ev-ratio.tone-warn { background: #fef2f2; border-color: #fecaca; }
.dark .cmp-ev-ratio { background: #161d2b; border-color: #252f42; }
.dark .cmp-ev-ratio.tone-good { background: rgba(22, 163, 74, 0.12); border-color: rgba(34, 197, 94, 0.25); }
.dark .cmp-ev-ratio.tone-warn { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.28); }
.cmp-ev-rk { font-size: 8.5px; color: #64748b; }
.cmp-ev-rv { font-family: var(--font-mono); font-size: 11px; font-weight: 700; }

.cmp-ev-qcards, .cmp-ev-score, .cmp-ev-valsub {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}
.cmp-ev-score, .cmp-ev-valsub { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cmp-ev-qcard, .cmp-ev-score-item, .cmp-ev-vsubcard {
  padding: 5px 7px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dark .cmp-ev-qcard, .dark .cmp-ev-score-item, .dark .cmp-ev-vsubcard { background: #161d2b; border-color: #252f42; }
.cmp-ev-qk { font-size: 8px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-ev-qv { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; }
.cmp-ev-qv.tone-blue { color: #2563eb; }
.cmp-ev-qv.tone-teal { color: #0f766e; }
.cmp-ev-qv.tone-good { color: #16a34a; }
.cmp-ev-qv.tone-warn { color: #d97706; }
.dark .cmp-ev-qv.tone-blue { color: #60a5fa; }
.dark .cmp-ev-qv.tone-teal { color: #2dd4bf; }
.dark .cmp-ev-qv.tone-good { color: #4ade80; }
.cmp-ev-qs { font-family: var(--font-mono); font-size: 7.5px; color: #16a34a; }
.dark .cmp-ev-qs { color: #4ade80; }

.cmp-ev-chartbox {
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}
.dark .cmp-ev-chartbox { background: #0d121c; border-color: #252f42; }
.cmp-ev-chartcap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 3px;
}
.dark .cmp-ev-chartcap { color: #94a3b8; }
.cmp-ev-avgtag { color: #d97706; font-family: var(--font-mono); font-size: 8px; }

.cmp-ev-share {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.dark .cmp-ev-share { background: #161d2b; border-color: #252f42; }
.cmp-ev-donut { flex-shrink: 0; }
.cmp-ev-sharebars { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cmp-ev-srow { display: flex; flex-direction: column; gap: 2px; }
.cmp-ev-stop { display: flex; justify-content: space-between; font-size: 9px; font-weight: 600; }
.cmp-ev-strack { height: 6px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.dark .cmp-ev-strack { background: #0b0f17; }
.cmp-ev-sfill { height: 100%; border-radius: 99px; }

.cmp-ev-news { display: flex; flex-direction: column; gap: 7px; }
.cmp-ev-nitem {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}
.dark .cmp-ev-nitem { background: #161d2b; border-color: #252f42; }
.cmp-ev-nmeta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3px; }
.cmp-ev-ntag { font-family: var(--font-mono); font-size: 8px; color: #64748b; }
.cmp-ev-nbadge {
  font-size: 8px; font-weight: 700; padding: 1px 6px; border-radius: 99px;
  background: #dcfce7; color: #15803d;
}
.dark .cmp-ev-nbadge { background: rgba(34, 197, 94, 0.16); color: #4ade80; }
.cmp-ev-nhead { font-size: 10px; font-weight: 600; line-height: 1.35; }

.cmp-ev-valgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.cmp-ev-valbox {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.dark .cmp-ev-valbox { background: #161d2b; border-color: #252f42; }
.cmp-ev-vrow { display: flex; justify-content: space-between; font-size: 9px; }
.cmp-ev-fval { font-family: var(--font-mono); font-size: 15px; font-weight: 800; color: #2563eb; }
.dark .cmp-ev-fval { color: #60a5fa; }
.cmp-ev-cmpv { font-family: var(--font-mono); font-size: 8.5px; color: #64748b; }
.cmp-ev-vsv { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; }

/* Concise Scannable Points Below Visuals */
.cmp-pts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.45;
}
.cmp-panel.before .cmp-pts { color: var(--muted-foreground); }
.cmp-panel.after .cmp-pts { color: #cbd5e1; }
.cmp-pt {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cmp-pt strong { font-weight: 650; }
.cmp-panel.after .cmp-pt strong { color: #ffffff; }
.cmp-pt-dot {
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cmp-pt-dot.bad { background: var(--destructive-soft); color: var(--destructive); }
.cmp-pt-dot.good { background: rgba(63, 185, 80, 0.16); color: #3fb950; }

.cmp-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.cmp-panel.before .cmp-foot { color: var(--muted-foreground); }
.cmp-panel.after .cmp-foot {
  border-top-color: #21262d;
  color: #94a3b8;
}
.cmp-cta-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cmp-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 18px;
  border-radius: 9999px;
  background: #ff7a2f;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(255, 122, 47, 0.65);
  transition: transform 140ms ease, background-color 140ms ease;
}
.cmp-cta-primary:hover { transform: translateY(-1px); background: #ff8a47; }
.cmp-cta-primary:active { transform: scale(0.98); }
.cmp-cta-ghost {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 9999px;
  border: 1px solid #30363d;
  background: #161b22;
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 140ms, color 140ms;
}
.cmp-cta-ghost:hover { border-color: #64748b; color: #ffffff; }

/* Sections & Centered Editorial Heads */
.section {
  width: 100%;
  padding: 60px 0;
  background:
    radial-gradient(56% 52% at 50% 45%, rgba(255, 253, 249, 0.65), transparent 72%),
    #fbf6ef;
}
.dark .section {
  background:
    radial-gradient(56% 52% at 50% 45%, rgba(255, 106, 61, 0.045), transparent 72%),
    #06070a;
}
.section.band-alt {
  background:
    radial-gradient(ellipse 68% 58% at 50% 44%, rgba(255, 106, 61, 0.09), transparent 72%),
    linear-gradient(180deg, #fbf6ef 0%, #f3ebdf 48%, #fbf6ef 100%);
}
.dark .section.band-alt {
  background:
    radial-gradient(ellipse 68% 58% at 50% 44%, rgba(255, 122, 47, 0.09), transparent 72%),
    linear-gradient(180deg, #06070a 0%, #0b0d13 48%, #06070a 100%);
}
@media (max-width: 768px) {
  .section, .tg-section, .cmp-section, .fc-section { padding: 44px 0; }
}
.section-head {
  max-width: 740px;
  margin: 0 auto 28px;
  text-align: center;
}
.section-head .section-desc { margin-left: auto; margin-right: auto; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-desc { margin-top: 10px; color: var(--muted-foreground); font-size: 15.5px; max-width: 58ch; }

/* Smooth Viewport Scroll Reveal (snappy zero-lag entry) */
html.rv-ready .rv {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 460ms cubic-bezier(0.22, 1, 0.36, 1), transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
html.rv-ready .rv.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html.rv-ready .rv {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Product Walkthrough Video Frame Showcase */
.demo-stage {
  max-width: 980px;
  margin: 0 auto;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid var(--border);
  background: #0b0e14;
  box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--n3-accent) 12%, transparent);
  overflow: hidden;
}
.term-chrome {
  height: 44px;
  padding: 0 16px;
  background: #111622;
  border-bottom: 1px solid #1e2636;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.term-dots { display: flex; align-items: center; gap: 7px; }
.term-dot { width: 10px; height: 10px; border-radius: 9999px; background: #2d3748; }
.term-dot.r { background: #ef4444; }
.term-dot.y { background: #f59e0b; }
.term-dot.g { background: #22c55e; }
.term-url {
  padding: 4px 12px;
  border-radius: 6px;
  background: #0b0e14;
  border: 1px solid #222b3d;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #070a10;
  overflow: hidden;
}
.demo-facade-btn {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: #070a10;
  cursor: pointer;
  display: block;
}
.demo-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.88;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
}
.demo-facade-btn:hover .demo-poster {
  transform: scale(1.02);
  opacity: 0.96;
}
.demo-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.55));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.demo-play-circle {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  background: var(--n3-accent);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 38px -8px rgba(255, 122, 47, 0.72), 0 0 0 8px rgba(255, 122, 47, 0.20);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease;
}
.demo-facade-btn:hover .demo-play-circle {
  transform: scale(1.08);
  box-shadow: 0 22px 44px -8px rgba(255, 122, 47, 0.85), 0 0 0 12px rgba(255, 122, 47, 0.28);
}
.demo-play-lbl {
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.demo-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================================
   SECTION 7: HOW IT WORKS (vovalopuh13/cd-steps-path Wavy Route + 3D Deck)
   ============================================================================ */
.sp-shell {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  background: var(--card);
  color: var(--foreground);
  padding: 20px 28px 20px;
  box-shadow: var(--shadow-lg);
}
.sp-ambient {
  display: none;
}
.sp-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sp-top-title {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.sp-top-sub {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
}
.sp-circle-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, opacity 150ms ease;
}
.sp-circle-btn:hover:not(:disabled) {
  background: var(--muted);
  border-color: var(--n3-accent);
  color: var(--n3-accent);
}
.sp-circle-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.sp-route {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  height: 74px;
  touch-action: none;
  user-select: none;
}
.sp-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 74px;
  overflow: visible;
  pointer-events: none;
}
.sp-track-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 1 11;
}
.sp-track-fill {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--n3-accent) 48%, transparent));
}
.sp-node-btn {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
}
.sp-node-dot {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: 2px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.sp-node-btn[data-done="true"] .sp-node-dot,
.sp-node-btn[data-active="true"] .sp-node-dot {
  border-color: var(--foreground);
  background: var(--foreground);
  color: var(--background);
}
.sp-node-btn[data-active="true"] .sp-node-dot {
  transform: scale(1.15);
  border-color: var(--n3-accent);
}
.sp-knob-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  z-index: 8;
  will-change: transform;
}
.sp-knob-slider {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  cursor: grab;
  outline: none;
}
.sp-knob-slider:active { cursor: grabbing; }
.sp-knob-slider:focus-visible { outline: 2px solid var(--n3-accent); outline-offset: 2px; }
.sp-knob-core {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: 3px solid var(--card);
  background: linear-gradient(135deg, var(--n3-accent), var(--foreground));
  box-shadow: 0 0 0 2px var(--n3-accent), 0 8px 18px -4px color-mix(in srgb, var(--n3-accent) 68%, transparent);
  transition: transform 140ms ease;
}
.sp-knob-slider:active .sp-knob-core { transform: scale(1.16); }
.sp-burst {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 12;
}
.sp-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  border-radius: 9999px;
}

.sp-deck-wrap {
  position: relative;
  z-index: 2;
  margin-top: 4px;
  height: 164px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  perspective: 1000px;
}
.sp-deck-wrap:active { cursor: grabbing; }
.sp-cards-list {
  position: relative;
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-card-slot {
  position: absolute;
  left: 50%;
  top: 0;
  list-style: none;
  will-change: transform, opacity;
}
.sp-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-alt);
  padding: 18px 22px;
  min-height: 148px;
  box-shadow: 0 20px 38px -22px rgba(15, 23, 42, 0.22);
}
.dark .sp-card {
  background: #141720;
  box-shadow: 0 24px 44px -22px rgba(0, 0, 0, 0.72);
}
.sp-ghost-num {
  pointer-events: none;
  position: absolute;
  right: 8px;
  top: -12px;
  user-select: none;
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--foreground);
  opacity: 0.045;
  will-change: transform;
}
.sp-card-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-card-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--foreground), var(--n3-accent));
  color: var(--background);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.sp-card-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted-foreground);
}
.sp-card h3 {
  position: relative;
  margin-top: 10px;
  font-size: 17.5px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.sp-card p {
  position: relative;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.sp-foot {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sp-hint {
  text-align: center;
  font-size: 12px;
  color: var(--muted-foreground);
}
.sp-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  border-radius: 9999px;
  border: none;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 150ms ease, opacity 150ms ease;
}
.sp-next-btn:hover { transform: scale(1.04); }

@media (max-width: 600px) {
  .sp-shell { padding: 16px 14px 18px; border-radius: 18px; }
  .sp-deck-wrap { height: 196px; }
  .sp-card { padding: 16px; min-height: 176px; }
  .sp-hint { display: none; }
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
@media (max-width: 880px) {
  .col-7, .col-5, .col-6, .col-4 { grid-column: span 12; }
}
.bento-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.bento-card p { font-size: 13.5px; color: var(--muted-foreground); line-height: 1.58; }
.mini-list { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; }
.mini-row {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 8px 11px; border-radius: 6px;
  background: var(--muted); border: 1px solid var(--border);
}

/* ============================================================================
   SECTION 6: EDITORIAL SPLIT HUD SHOWCASE (Tempo-Inspired Perspective Stage)
   ============================================================================ */
.fc-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbf6ef 0%, #f3ebdf 50%, #fbf6ef 100%);
  padding: 72px 0;
}
.dark .fc-section {
  background: linear-gradient(180deg, #06070a 0%, #0b0d13 50%, #06070a 100%);
}
.fc-wrap {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--n3-gutter);
}
.fc-split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 960px) {
  .fc-split { grid-template-columns: 1fr; gap: 36px; }
}

.fc-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.fc-dashes {
  display: flex;
  align-items: center;
  gap: 7px;
}
.fc-dash-btn {
  border: none;
  padding: 0;
  height: 6px;
  width: 24px;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--foreground) 16%, transparent);
  cursor: pointer;
  transition: width 260ms cubic-bezier(0.22, 1, 0.36, 1), background-color 220ms ease;
}
.fc-dash-btn:hover { background: color-mix(in srgb, var(--foreground) 34%, transparent); }
.fc-dash-btn[aria-current="true"] {
  width: 42px;
  background: #ff6a3d;
}

.fc-caption-step {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #c84117;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dark .fc-caption-step { color: #ff8a47; }

.fc-editorial-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--foreground);
  text-wrap: balance;
}
.fc-editorial-desc {
  font-size: 16px;
  color: var(--muted-foreground);
  line-height: 1.58;
  max-width: 44ch;
  text-wrap: pretty;
}

.fc-right-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1700px;
}
.fc-sunrise-aura {
  pointer-events: none;
  position: absolute;
  inset: -12% -6%;
  z-index: 0;
  border-radius: 9999px;
  background:
    radial-gradient(circle at 48% 46%, rgba(255, 106, 61, 0.28) 0%, transparent 56%),
    radial-gradient(circle at 62% 58%, rgba(255, 181, 71, 0.26) 0%, transparent 60%);
  filter: blur(42px);
}
.dark .fc-sunrise-aura {
  background:
    radial-gradient(circle at 48% 46%, rgba(255, 106, 61, 0.16) 0%, transparent 58%),
    radial-gradient(circle at 64% 56%, rgba(41, 98, 255, 0.14) 0%, transparent 62%);
}

.fc-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 432px;
  transform: rotateX(3deg) rotateY(-6deg) rotateZ(0.6deg);
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
.fc-right-col:hover .fc-stage {
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
}
@media (max-width: 960px) {
  .fc-stage { transform: none; height: 420px; }
  .fc-right-col:hover .fc-stage { transform: none; }
}
.fc-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.fc-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  transition: opacity 280ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}
.fc-card.shot-dark {
  background: #0b0e14;
  color: #e6edf3;
  border: 1px solid #2b3240;
  box-shadow: 0 32px 68px -18px rgba(27, 23, 18, 0.35), 0 0 0 1px rgba(255, 106, 61, 0.16);
}
.fc-card.shot-light {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #d5cfc4;
  box-shadow: 0 32px 68px -18px rgba(27, 23, 18, 0.22), 0 0 0 1px rgba(255, 106, 61, 0.18);
}

.fc-step-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.fc-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.fc-nav-btn:hover {
  border-color: var(--n3-accent);
  color: var(--n3-accent);
  transform: scale(1.06);
}
.fc-hint {
  font-size: 11px;
  color: var(--muted-foreground);
  margin-left: 4px;
}

/* Authentic EziWay HUD Window Internals inside Carousel Cards */
.shot-chrome {
  height: 36px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  flex-shrink: 0;
}
.shot-dark .shot-chrome {
  background: #111622;
  border-bottom: 1px solid #21262d;
  color: #8b949e;
}
.shot-light .shot-chrome {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
}
.shot-chrome-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot-dark .shot-chrome-url { background: #0b0e14; border: 1px solid #262c36; color: #cbd5e1; }
.shot-light .shot-chrome-url { background: #f1f5f9; border: 1px solid #cbd5e1; color: #1e293b; }
.shot-mode-tag {
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.shot-dark .shot-mode-tag { background: rgba(31, 111, 235, 0.16); color: #58a6ff; border: 1px solid rgba(56, 139, 253, 0.35); }
.shot-light .shot-mode-tag { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

.shot-hud {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  font-family: var(--font-sans);
}
.shot-hdr {
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-shrink: 0;
  min-width: 0;
}
.shot-dark .shot-hdr { background: #161b22; border: 1px solid #30363d; }
.shot-light .shot-hdr { background: #ffffff; border: 1px solid #cbd5e1; }

.shot-hdr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.shot-co-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.shot-avatar {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #1f6feb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.shot-co-name {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot-co-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1px;
}
.shot-dark .shot-co-sub { color: #8b949e; }
.shot-light .shot-co-sub { color: #475569; }
.shot-live-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 99px;
}
.shot-dark .shot-live-pill { background: rgba(63, 185, 80, 0.14); color: #3fb950; border: 1px solid rgba(63, 185, 80, 0.35); }
.shot-light .shot-live-pill { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }

.shot-hdr-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.shot-seg {
  display: inline-flex;
  padding: 2px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
}
.shot-dark .shot-seg { background: #0d1117; border: 1px solid #30363d; color: #8b949e; }
.shot-light .shot-seg { background: #f1f5f9; border: 1px solid #cbd5e1; color: #475569; }
.shot-seg span {
  padding: 3px 8px;
  border-radius: 4px;
}
.shot-seg span.active {
  background: #1f6feb;
  color: #ffffff;
}
.shot-theme-ico {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.shot-dark .shot-theme-ico { background: #0d1117; border: 1px solid #30363d; color: #e3b341; }
.shot-light .shot-theme-ico { background: #f1f5f9; border: 1px solid #cbd5e1; color: #1d4ed8; }

.shot-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 7px;
  font-size: 10.5px;
  font-weight: 600;
}
.shot-dark .shot-tabs { color: #8b949e; }
.shot-light .shot-tabs { color: #64748b; }
.shot-tab {
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.shot-dark .shot-tab.active { color: #ffffff; border-bottom-color: #1f6feb; }
.shot-light .shot-tab.active { color: #0f172a; border-bottom-color: #1d4ed8; }

.shot-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
  min-height: 0;
}
.shot-panel {
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}
.shot-dark .shot-panel { background: #161b22; border: 1px solid #30363d; }
.shot-light .shot-panel { background: #ffffff; border: 1px solid #cbd5e1; }
.shot-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 0;
}
.shot-ratio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  font-family: var(--font-mono);
  min-width: 0;
}
.shot-ratio-cell {
  padding: 7px 8px;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.shot-dark .shot-ratio-cell { background: #0d1117; border: 1px solid #21262d; }
.shot-light .shot-ratio-cell { background: #f8fafc; border: 1px solid #e2e8f0; }
.shot-ratio-k { font-size: 9.5px; opacity: 0.72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-ratio-v { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.shot-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  flex: 1;
  min-width: 0;
  min-height: 0;
}
.shot-alert-card {
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 10.5px;
  line-height: 1.42;
}
.shot-alert-card.pro { background: rgba(35, 134, 54, 0.09); border: 1px solid rgba(63, 185, 80, 0.35); }
.shot-alert-card.con { background: rgba(218, 54, 51, 0.09); border: 1px solid rgba(248, 81, 73, 0.35); }
.shot-alert-ttl {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.shot-alert-card.pro .shot-alert-ttl { color: #3fb950; }
.shot-alert-card.con .shot-alert-ttl { color: #f85149; }

.shot-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  font-family: var(--font-mono);
}
.shot-kpi {
  border-radius: 7px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.shot-dark .shot-kpi { background: #0d1117; border: 1px solid #21262d; }
.shot-light .shot-kpi { background: #f8fafc; border: 1px solid #e2e8f0; }

.shot-chart-box {
  flex: 1;
  min-height: 0;
  border-radius: 8px;
  padding: 8px 10px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.shot-dark .shot-chart-box { background: #0d1117; border: 1px solid #21262d; }
.shot-light .shot-chart-box { background: #f8fafc; border: 1px solid #e2e8f0; }

.shot-flow-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-family: var(--font-mono);
  min-width: 0;
}
.shot-flow-track {
  height: 9px;
  border-radius: 99px;
  background: #e2e8f0;
  overflow: hidden;
  display: flex;
}
.shot-val-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
}
.shot-dark .shot-val-row { background: #161b22; border: 1px solid #21262d; }

/* Tempo Interactive Module Switcher Pills */
.fc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fc-pill-btn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: var(--surface-alt);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.fc-pill-btn:hover {
  background: color-mix(in srgb, var(--foreground) 10%, var(--surface-alt));
}
.dark .fc-pill-btn {
  background: #141925;
  border-color: #242c3d;
  color: #cbd5e1;
}
.dark .fc-pill-btn:hover {
  border-color: #3f4c68;
  color: #ffffff;
}
.fc-pill-btn[aria-selected="true"] {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

@media (max-width: 640px) {
  .fc-stage { height: 422px; }
  .shot-chrome { height: 32px; padding: 0 10px; font-size: 9.5px; }
  .shot-hud { padding: 9px 10px; gap: 7px; }
  .shot-hdr { padding: 8px 9px; gap: 6px; }
  .shot-co-name { font-size: 11.5px; }
  .shot-co-sub { font-size: 9.5px; }
  .shot-seg span { padding: 2px 5px; font-size: 9px; }
  .shot-theme-ico { width: 22px; height: 22px; font-size: 11px; }
  .shot-tabs { gap: 8px; font-size: 9.5px; }
  .shot-panel { padding: 8px 9px; gap: 5px; }
  .shot-panel-head { font-size: 9.5px; }
  .shot-val-row { padding: 4px 6px; font-size: 9.5px; gap: 6px; }
  .shot-two-col { flex: 0 0 auto; gap: 6px; }
  .shot-kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-flow-row { grid-template-columns: 60px minmax(0, 1fr) 42px; font-size: 9px; }
}

/* Pricing Split + vamsiy78/glow-border */
@property --glow-border-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 40deg;
}

.pricing-grid {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }

.tier-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 761px) {
  .tier-card.tier-starter { margin: 14px 0; }
}

.glow-border {
  position: relative;
  isolation: isolate;
  border-radius: 16px;
  padding: 2px;
  --glow-border-angle: 40deg;
  --glow-bg: conic-gradient(
    from var(--glow-border-angle),
    transparent 0%,
    #ff7a2f 14%,
    #ffae04 28%,
    #2d62ef 42%,
    transparent 55%,
    transparent 100%
  );
}
.glow-border-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background: var(--glow-bg);
  filter: blur(14px);
  opacity: 0.28;
}
.dark .glow-border-glow { opacity: 0.45; }
.glow-border-ring {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--border);
}
.glow-border-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--glow-bg);
}
.glow-border-content {
  position: relative;
  height: 100%;
  border-radius: 14px;
  background: var(--card);
  color: var(--card-foreground);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}

.tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tier-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--foreground);
}
.tier-pop-pill {
  padding: 3px 10px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #ff7a2f, #ffae04);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.tier-price-row {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.tier-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.tier-period {
  font-size: 13.5px;
  color: var(--muted-foreground);
}
.tier-note {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13.5px;
  color: var(--foreground);
}
.tier-list li { display: flex; align-items: flex-start; gap: 9px; }
.tier-list svg { flex-shrink: 0; margin-top: 2px; }
.tier-cta-btn { width: 100%; border-radius: 10px; }

/* ============================================================================
   SECTION 9: FAQ SECTION (ln-dev7/faqs-01 Hairline Accordion + Callout)
   ============================================================================ */
.faq-shell {
  max-width: 780px;
  margin: 0 auto;
}
.faq-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.faq-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.faq-sub {
  max-width: 56ch;
  font-size: 15.5px;
  color: var(--muted-foreground);
  line-height: 1.55;
}
.faq-sub a {
  color: var(--foreground);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
}
.faq-sub a:hover { text-decoration: underline; }

.faq-acc {
  margin-top: 42px;
  border-top: 1px solid var(--border-subtle);
}
.faq-row {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-trigger {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: none;
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 140ms ease;
}
.faq-trigger:hover { color: var(--n3-accent); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), color 140ms ease;
}
.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--n3-accent);
}
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-panel[data-open="true"] {
  grid-template-rows: 1fr;
}
.faq-panel-inner {
  overflow: hidden;
}
.faq-body {
  padding: 0 0 20px;
  font-size: 14.5px;
  color: var(--muted-foreground);
  line-height: 1.65;
}
.faq-body a {
  color: var(--foreground);
  text-underline-offset: 3px;
}

.faq-callout {
  margin-top: 38px;
  border: 1px dashed var(--border);
  background: color-mix(in srgb, var(--surface-alt) 55%, transparent);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 640px) {
  .faq-callout {
    flex-direction: column;
    text-align: center;
  }
  .faq-callout-left {
    flex-direction: column;
  }
}
.faq-callout-left {
  display: flex;
  align-items: center;
  gap: 13px;
}
.faq-callout-ico {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  background: var(--foreground);
  color: var(--background);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.faq-callout-ttl {
  font-size: 14.5px;
  font-weight: 650;
  color: var(--foreground);
  line-height: 1.3;
}
.faq-callout-sub {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted-foreground);
}

/* Legal / Read Pages */
.legal-shell {
  padding: 44px 0 68px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
@media (max-width: 860px) { .legal-shell { grid-template-columns: 1fr; gap: 20px; } }
.legal-aside { position: sticky; top: 82px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 860px) { .legal-aside { position: static; flex-direction: row; flex-wrap: wrap; } }
.legal-aside a { padding: 7px 11px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--muted-foreground); text-decoration: none; }
.legal-aside a:hover { background: var(--muted); color: var(--foreground); }
.legal-aside a.active { background: var(--secondary); color: var(--foreground); font-weight: 650; }
.legal-article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) { .legal-article { padding: 22px; } }
.legal-article h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.legal-meta { margin-top: 8px; font-size: 13px; color: var(--muted-foreground); padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.legal-article h2 { font-size: 17px; font-weight: 700; margin-top: 26px; margin-bottom: 8px; letter-spacing: -0.015em; }
.legal-article p, .legal-article li { font-size: 14.5px; color: var(--muted-foreground); max-width: 68ch; line-height: 1.65; }
.legal-article ul { padding-left: 18px; display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.legal-article code { font-family: var(--font-mono); font-size: 12.5px; background: var(--muted); border: 1px solid var(--border); padding: 1px 6px; border-radius: 4px; color: var(--foreground); }
.legal-article a { color: var(--chart-2); text-underline-offset: 3px; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13.5px; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.legal-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted-foreground); background: var(--muted); }

/* ============================================================================
   FINAL CTA STAGE (Tempo Contained Obsidian Finale Card)
   ============================================================================ */
.cta-section {
  width: 100%;
  padding: 18px 0 56px;
  background: linear-gradient(180deg, #fbf6ef 0%, #f3ebdf 100%);
}
.dark .cta-section {
  background: linear-gradient(180deg, #06070a 0%, #0b0d13 100%);
}
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #0b0e14;
  color: #ffffff;
  border: 1px solid #222834;
  padding: clamp(36px, 5vw, 68px) clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 32px 72px -18px rgba(15, 23, 42, 0.34);
}
.dark .cta-card {
  background: #0d1017;
  border-color: #252b38;
  box-shadow: 0 32px 72px -16px rgba(0, 0, 0, 0.85);
}
@media (max-width: 860px) {
  .cta-card { grid-template-columns: 1fr; border-radius: 26px; gap: 28px; }
}
.cta-glow {
  pointer-events: none;
  position: absolute;
  left: -10%;
  bottom: -24%;
  width: 420px;
  height: 420px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255, 122, 47, 0.28), transparent 70%);
}
.cta-copy { position: relative; z-index: 2; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.cta-sub {
  margin-top: 14px;
  font-size: 16px;
  color: #94a3b8;
  max-width: 48ch;
  line-height: 1.55;
}
.cta-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cta-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 9999px;
  background: #ff7a2f;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(255, 122, 47, 0.65);
  transition: transform 160ms ease, background-color 160ms ease;
}
.cta-btn-main:hover { transform: translateY(-2px); background: #ff8b47; }
.cta-btn-alt {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.cta-btn-alt:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.09); }

.cta-specs {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}
.cta-spec-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.cta-spec-k { font-size: 13px; color: #94a3b8; white-space: nowrap; }
.cta-spec-v { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: #ffffff; white-space: nowrap; text-align: right; }
@media (max-width: 440px) {
  .cta-spec-card { padding: 13px 14px; gap: 10px; }
  .cta-spec-k, .cta-spec-v { font-size: 11.5px; }
}

/* Structured Multi-Column Enterprise Footer */
.site-footer {
  border-top: 1px solid var(--seam);
  background: #f3ebdf;
  padding: 46px 0 36px;
  font-size: 13px;
  color: var(--muted-foreground);
}
.dark .site-footer {
  background: #0b0d13;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 12px; font-weight: 700; color: var(--foreground); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--muted-foreground); text-decoration: none; font-size: 13px; }
.footer-col a:hover { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}
