/* ==========================================================================
   Deep Advantage Website v2: Design System & Styles
   Strict 3-hex palette: #0A0A0A (bg), #F8FAFC (fg), #D4A843 (gold)
   Fonts: Bricolage Grotesque (display/headings), DM Sans (body/UI)
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;

  /* The only three hexes in the palette */
  --bg:   #0A0A0A;
  --fg:   #F8FAFC;
  --gold: #D4A843;

  /* Neutrals: alpha of --fg */
  --fg-90: rgb(248 250 252 / .90);
  --fg-72: rgb(248 250 252 / .72);  /* secondary text, about 9.7:1 on bg */
  --fg-56: rgb(248 250 252 / .56);  /* tertiary text. FLOOR for informational text, about 6:1 */
  --fg-24: rgb(248 250 252 / .24);  /* decorative only, never for text */
  --line:        rgb(248 250 252 / .08);
  --line-strong: rgb(248 250 252 / .16);
  --surface-1:   rgb(248 250 252 / .03);
  --surface-2:   rgb(248 250 252 / .06);
  --surface-3:   rgb(248 250 252 / .10);

  /* Golds: alpha and mixes of --gold */
  --gold-06: rgb(212 168 67 / .06);
  --gold-12: rgb(212 168 67 / .12);
  --gold-24: rgb(212 168 67 / .24);
  --gold-40: rgb(212 168 67 / .40);
  --gold-hi: color-mix(in oklab, var(--gold) 70%, var(--fg));
  --gold-lo: color-mix(in oklab, var(--gold) 55%, var(--bg));

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Motion */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --t-press: 120ms;
  --t-hover: 180ms;
  --t-ui:    240ms;
  --t-hero:  700ms;

  /* Sizing */
  --B: clamp(104px, 10.4vw, 156px);
  --container-max: 1200px;
  --section-pad: clamp(88px, 11vw, 168px);
}

/* --------------------------------------------------------------------------
   Reset & Base Primitives
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg);
  color: var(--fg);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  padding: 0.6rem 1.2rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--r-pill);
  transform: translateY(-200%);
  transition: transform var(--t-ui) var(--ease-out);
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

/* Focus Rings */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* --------------------------------------------------------------------------
   Typography Tokens (Section 5.2)
   -------------------------------------------------------------------------- */
.display {
  font-family: "Bricolage Grotesque", serif;
  font-size: clamp(2.75rem, 1.4rem + 6vw, 6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h2, .h2 {
  font-family: "Bricolage Grotesque", serif;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h3, .h3 {
  font-family: "Bricolage Grotesque", serif;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h4, .h4 {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.body-l {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--fg-72);
  text-wrap: pretty;
  max-width: 68ch;
}

p {
  color: var(--fg-72);
  line-height: 1.6;
  text-wrap: pretty;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Component: Buttons (Section 5.5)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out),
              background-color var(--t-hover) var(--ease-out),
              border-color var(--t-hover) var(--ease-out),
              box-shadow var(--t-hover) var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  height: 48px;
  padding-inline: 1.5rem 1.1rem;
  background: var(--gold);
  color: var(--bg);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--fg) 40%, transparent),
              0 8px 28px -8px var(--gold-40);
}

.btn--primary:hover {
  filter: brightness(1.06);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--fg) 50%, transparent),
              0 10px 32px -6px var(--gold-40);
}

.btn--primary .btn-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--r-pill);
  background: var(--fg);
  color: var(--bg);
}

.btn--secondary {
  height: 48px;
  padding-inline: 1.5rem;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
}

.btn--secondary:hover {
  border-color: var(--gold-40);
  background: var(--surface-1);
}

.btn--sm {
  height: 40px;
  padding-inline: 1.1rem;
  font-size: 0.875rem;
}

.text-link {
  color: var(--fg-72);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--t-hover) var(--ease-out);
}
.text-link:hover {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Eyebrow badge pill (REF-4) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 28px;
  padding-inline: 0.75rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface-1);
  color: var(--fg-90);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   Card System (Section 7, from REF-3 in gold)
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  isolation: isolate;
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 32px);
  background:
    radial-gradient(120% 90% at 0% 0%, rgb(248 250 252 / .07), transparent 55%),
    linear-gradient(180deg, rgb(248 250 252 / .035), rgb(248 250 252 / .012));
  box-shadow: inset 0 1px 0 rgb(248 250 252 / .10), 0 24px 48px -24px rgb(0 0 0 / .8);
  overflow: hidden;
}

/* Gradient hairline border: bright at top-left, fading, gold return at bottom-right */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(150deg, rgb(248 250 252 / .22), rgb(248 250 252 / .05) 35%, rgb(248 250 252 / .02) 70%, rgb(212 168 67 / .22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background var(--t-hover) var(--ease-out);
}

/* Tiny subtle gold corner glow */
.card::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -40%;
  width: 70%;
  aspect-ratio: 1;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgb(212 168 67 / .16), transparent);
}

.card--feature {
  border-radius: var(--r-xl);
}

.card--panel {
  border-radius: var(--r-lg);
}

.card--chip {
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
}

/* Interactive link cards */
.card--link {
  display: block;
  cursor: pointer;
  transition: transform var(--t-press) var(--ease-out);
}

.card--link:active {
  transform: scale(0.99);
}

@media (hover: hover) and (pointer: fine) {
  .card--link:hover::before {
    background: linear-gradient(150deg, rgb(212 168 67 / .45), rgb(248 250 252 / .12) 40%, rgb(212 168 67 / .35));
  }
}

/* --------------------------------------------------------------------------
   Glow System (Volumetric Atmospheric Gold Spotlight)
   -------------------------------------------------------------------------- */
.lamp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.lamp-bloom {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 320px;
  background: radial-gradient(ellipse min(440px, 40vw) 180px at 50% 0%,
    rgba(255, 245, 220, 0.24) 0%,
    rgba(230, 195, 115, 0.14) 25%,
    rgba(212, 168, 67, 0.05) 55%,
    rgba(212, 168, 67, 0.008) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
}

.lamp-cone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse min(620px, 48vw) min(820px, 75vh) at 50% 0%,
    rgba(240, 215, 145, 0.18) 0%,
    rgba(224, 185, 95, 0.12) 18%,
    rgba(212, 168, 67, 0.065) 42%,
    rgba(212, 168, 67, 0.02) 68%,
    rgba(212, 168, 67, 0.004) 86%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(to bottom,
    #000 0%,
    rgba(0, 0, 0, 0.95) 20%,
    rgba(0, 0, 0, 0.65) 45%,
    rgba(0, 0, 0, 0.25) 70%,
    rgba(0, 0, 0, 0.05) 88%,
    transparent 98%
  );
  mask: linear-gradient(to bottom,
    #000 0%,
    rgba(0, 0, 0, 0.95) 20%,
    rgba(0, 0, 0, 0.65) 45%,
    rgba(0, 0, 0, 0.25) 70%,
    rgba(0, 0, 0, 0.05) 88%,
    transparent 98%
  );
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}

.lamp-haze {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse min(900px, 70vw) min(700px, 65vh) at 50% 0%,
    rgba(212, 168, 67, 0.08) 0%,
    rgba(212, 168, 67, 0.04) 30%,
    rgba(212, 168, 67, 0.01) 65%,
    rgba(212, 168, 67, 0.002) 85%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.8) 50%, transparent 95%);
  mask: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.8) 50%, transparent 95%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.stage-bloom {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: clamp(340px, 48vw, 540px);
  height: clamp(260px, 38vw, 400px);
  border-radius: 28px;
  background: radial-gradient(
    ellipse closest-side at 50% 50%,
    rgba(212, 168, 67, 0.28) 0%,
    rgba(212, 168, 67, 0.12) 45%,
    rgba(212, 168, 67, 0.03) 70%,
    transparent 100%
  );
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 240px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 2;
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 25%, #000 25%, transparent 80%);
  mask: radial-gradient(ellipse 70% 60% at 50% 25%, #000 25%, transparent 80%);
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Header & Floating Nav (Section 5.5, 9.1)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-inline: 1rem;
  pointer-events: none;
  transition: transform var(--t-ui) var(--ease-out);
}

.site-header.is-hidden {
  transform: translateY(-120%);
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
  height: 56px;
  padding-inline: 1.25rem 0.6rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgb(10 10 10 / .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px -12px rgb(0 0 0 / .6);
}

[data-tier="b"] .nav {
  background: rgb(10 10 10 / .95);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-72);
  transition: color var(--t-hover) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--fg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-login {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-72);
  padding: 0.4rem 0.6rem;
  transition: color var(--t-hover) var(--ease-out);
}
.nav-login:hover {
  color: var(--fg);
}

.nav-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  color: var(--fg);
}

/* Mobile Menu Sheet */
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-ui) var(--ease-out);
}

.menu-sheet:target,
.menu-sheet.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: auto;
}

.menu-links a {
  font-family: "Bricolage Grotesque", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--fg-90);
}

.menu-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.menu-actions .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Hero Section (Section 8)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(156px, 16vh, 188px);
  padding-bottom: clamp(1.25rem, 2.5vw, 2.25rem);
  overflow: hidden;
  text-align: center;
}

@media (max-width: 1024px) {
  .hero {
    padding-top: clamp(138px, 15vh, 162px);
  }
  .hero-lead {
    margin-bottom: 2rem;
  }
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 840px;
}

.hero-badge {
  margin-bottom: 1rem;
}

.hero h1.display {
  margin-bottom: clamp(1.75rem, 3.5vh, 2.5rem);
}

.h1-line {
  display: block;
}

/* Hero Kinetic 3D Rotor Headline */
.hero-kinetic-headline {
  text-align: center;
  margin-bottom: clamp(1.75rem, 3.5vh, 2.5rem);
}

.hero-kinetic-line1 {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
  gap: 0.22em;
}

.hero-kinetic-rotor {
  position: relative;
  display: inline-grid;
  grid-template-areas: "word";
  grid-template-columns: minmax(0, 1fr);
  align-items: baseline;
  justify-items: start;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
  overflow: visible;
  perspective: 600px;
  transition: width 0.48s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width;
}

.hero-kinetic-word {
  grid-area: word;
  justify-self: start;
  text-align: left;
  display: inline-block;
  width: max-content;
  font-family: inherit;
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
  padding-right: 0;
  opacity: 0;
  transform: translate3d(0, 62%, 0) rotateX(-38deg);
  filter: blur(4px);
  transition:
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
  pointer-events: none;
  white-space: nowrap;
}

.hero-kinetic-word.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0deg);
  filter: blur(0px);
  pointer-events: auto;
}

.hero-kinetic-word.is-ExitUp {
  opacity: 0;
  transform: translate3d(0, -62%, 0) rotateX(38deg);
  filter: blur(4px);
}

.hero-kinetic-inline {
  display: inline-block;
  white-space: nowrap;
}

.hero-kinetic-line2 {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--fg-72);
  max-width: 58ch;
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}

.hero-btn-arrow {
  display: inline-block;
  vertical-align: middle;
  transition: transform var(--t-hover) var(--ease-out);
}

.hero-btn--secondary:hover .hero-btn-arrow {
  transform: translateY(2px);
}

.hero-micro {
  font-size: 0.8125rem;
  color: var(--fg-56);
  margin-bottom: 1.5rem;
}

/* Hero Carousel Stage (Section 8.3) */
.stage-wrap {
  position: relative;
  width: 100%;
  margin-block: 0.5rem 2.5rem;
  z-index: 2;
}

.stage {
  position: relative;
  height: calc(var(--B) * 1.333 * 1.7);
  perspective: 1100px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.stage:active {
  cursor: grabbing;
}

.stage-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--B);
  aspect-ratio: 3/4;
  margin: calc(var(--B) * -.667) 0 0 calc(var(--B) * -.5);
  border-radius: 14px;
  overflow: hidden;
  will-change: transform;
  backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgb(248 250 252 / calc(.08 + .30 * var(--lit, 0))),
              0 30px 60px -20px rgb(0 0 0 / .8);
  background: var(--bg);
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* Dim overlay away from centre */
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  pointer-events: none;
  opacity: calc(.38 * (1 - var(--lit, 0)));
  transition: opacity 120ms linear;
  z-index: 2;
}

/* Gold hairline rim light on centre frame */
.frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, rgb(212 168 67 / calc(.9 * var(--lit, 0))), transparent);
}

/* Frame Plate Styles (Appendix A) */
.frame-plate {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.frame-plate--issue .frame-thumb {
  width: 100%;
  aspect-ratio: 14/9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 0.6rem;
}

.frame-plate--issue .frame-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-plate .frame-meta {
  font-size: 0.65rem;
  color: var(--fg-56);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.frame-plate .frame-title {
  font-family: "Bricolage Grotesque", serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--fg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.frame-plate--market .frame-price {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-top: 0.2rem;
}

.frame-plate--market .frame-delta {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.15rem;
}

.frame-delta--up {
  color: var(--gold);
}
.frame-delta--down {
  color: var(--fg-56);
}

.frame-plate--quote {
  justify-content: center;
  padding: 1.25rem;
}
.frame-plate--quote blockquote {
  font-family: "Bricolage Grotesque", serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg-90);
  border-left: 2px solid var(--gold);
  padding-left: 0.75rem;
}

.stage-toggle {
  position: absolute;
  right: 1.5rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: rgb(10 10 10 / .7);
  border: 1px solid var(--line);
  color: var(--fg-72);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: color var(--t-hover) var(--ease-out),
              border-color var(--t-hover) var(--ease-out);
}
.stage-toggle:hover {
  color: var(--fg);
  border-color: var(--gold-40);
}
.stage-toggle[aria-pressed="true"] .i-pause { display: none; }
.stage-toggle[aria-pressed="true"] .i-play { display: block; }
.stage-toggle[aria-pressed="false"] .i-pause { display: block; }
.stage-toggle[aria-pressed="false"] .i-play { display: none; }

/* Strategic Intelligence Pillars beneath the hero carousel stage */
.hero-cards {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: 2.25rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  text-align: left;
  position: relative;
  z-index: 3;
}

.hero-features li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hero-features h2 {
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.hero-features p {
  font-size: 0.875rem;
  color: var(--fg-56);
}

/* --------------------------------------------------------------------------
   Section: The Thesis (Section 9.3, from REF-4)
   -------------------------------------------------------------------------- */
.section-thesis {
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: 0;
  text-align: center;
}

.section-thesis .thesis-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 0;
}

.section-thesis .badge {
  margin-bottom: 1.5rem;
}

.section-thesis h2 {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Infinite Topic Marquee (Reference Strip)
   -------------------------------------------------------------------------- */
.thesis-marquee {
  width: 100%;
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 18, 28, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.thesis-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
  will-change: transform;
}

.thesis-marquee:hover .thesis-marquee__track {
  animation-play-state: paused;
}

.thesis-marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 1.15rem 0;
}

.thesis-marquee__item {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-72);
  white-space: nowrap;
  transition: color var(--t-hover) var(--ease-out);
}

.thesis-marquee__item:hover {
  color: var(--fg);
}

.thesis-marquee__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline: 1.75rem;
  color: var(--gold);
  font-size: 0.75rem;
  line-height: 1;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .thesis-marquee__track {
    animation: none;
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .thesis-marquee {
    margin-top: 2.25rem;
  }
  .thesis-marquee__item {
    font-size: 0.725rem;
    letter-spacing: 0.15em;
  }
  .thesis-marquee__dot {
    margin-inline: 1.15rem;
  }
}

.thesis-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.thesis-tile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.thesis-tile__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.thesis-tile h3 {
  color: var(--fg);
  font-size: 1.125rem;
}

.thesis-tile p {
  font-size: 0.875rem;
  color: var(--fg-72);
}

/* --------------------------------------------------------------------------
   Section: Latest Briefings (Section 9.4, Bento from REF-3)
   -------------------------------------------------------------------------- */
.section-briefings {
  padding-block: var(--section-pad);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1.5rem;
}

.section-header__left {
  max-width: 600px;
}

@media (min-width: 768px) {
  .section-header__left {
    max-width: min(100%, 1100px);
  }

  #markets-title,
  #platform-title {
    white-space: nowrap;
    text-wrap: nowrap;
  }
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--fg-72);
  max-width: 65ch;
}

.briefings-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

/* Row 1: Featured card (span 12) */
.card-featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(24px, 3.5vw, 48px);
}

.card-featured__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-featured__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--fg-56);
}

.card-featured h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  line-height: 1.2;
  color: var(--fg);
}

.card-featured p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1rem;
  color: var(--fg-72);
}

.card-featured__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.card-featured__bloom {
  position: absolute;
  inset: 10%;
  background: radial-gradient(closest-side, rgb(212 168 67 / .32), transparent);
  pointer-events: none;
}

.card-featured__cover {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 14/9;
  border-radius: var(--r-md);
  overflow: hidden;
  transform: rotate(-3deg);
  box-shadow: 0 20px 40px -10px rgb(0 0 0 / .7), 0 0 0 1px var(--line-strong);
  transition: transform var(--t-ui) var(--ease-out);
}

.card-featured:hover .card-featured__cover {
  transform: rotate(-1deg) scale(1.02);
}

.card-featured__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Row 2: Secondary cards (span 4 each) */
.card-secondary {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card-secondary__thumb {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-2);
}

.card-secondary__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-secondary h4 {
  color: var(--fg);
  font-size: 1.25rem;
  line-height: 1.3;
}

.card-secondary p {
  font-size: 0.875rem;
  color: var(--fg-72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-archive {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-archive__stack {
  position: relative;
  height: 120px;
  margin-top: 1rem;
}

.card-archive__layer {
  position: absolute;
  width: 80%;
  height: 70px;
  border-radius: var(--r-sm);
  background: var(--surface-3);
  border: 1px solid var(--line);
}
.card-archive__layer:nth-child(1) { top: 0; left: 10%; opacity: 0.4; transform: scale(0.9); }
.card-archive__layer:nth-child(2) { top: 15px; left: 10%; opacity: 0.7; transform: scale(0.95); }
.card-archive__layer:nth-child(3) { top: 30px; left: 10%; opacity: 1; border-color: var(--gold-40); }

/* --------------------------------------------------------------------------
   Section: Markets (Section 9.5, 2D Globe + Telemetry)
   -------------------------------------------------------------------------- */
.section-markets {
  padding-block: var(--section-pad);
}

.markets-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

/* Globe Card */
.globe-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 520px;
  padding: 1.5rem;
}

.globe-viewport {
  position: relative;
  width: 100%;
  height: 400px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.globe-viewport:active {
  cursor: grabbing;
}

#globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.globe-bloom {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(212 168 67 / .18), transparent);
  pointer-events: none;
  z-index: 0;
}

/* Hub selector chips */
.hub-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hub-chip {
  height: 32px;
  padding-inline: 0.85rem;
  border-radius: var(--r-pill);
  background: var(--surface-1);
  border: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg-72);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--t-hover) var(--ease-out);
}

.hub-chip:hover {
  color: var(--fg);
  border-color: var(--line-strong);
}

.hub-chip.is-active,
.hub-chip[aria-pressed="true"] {
  background: var(--surface-3);
  border-color: var(--gold-40);
  color: var(--fg);
}

.hub-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg-56);
}
.hub-chip.is-active .hub-chip__dot,
.hub-chip[aria-pressed="true"] .hub-chip__dot {
  background: var(--gold);
}

/* Telemetry Column */
.telemetry-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.telemetry-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.telemetry-city {
  font-size: 1.5rem;
  color: var(--fg);
  line-height: 1.2;
}

.telemetry-region {
  font-size: 0.8125rem;
  color: var(--fg-56);
  margin-top: 0.2rem;
}

.session-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface-2);
  white-space: nowrap;
}

.session-badge--open {
  border-color: var(--gold-40);
  color: var(--gold);
}
.session-badge--closed {
  color: var(--fg-56);
}

.telemetry-thesis {
  font-size: 0.875rem;
  color: var(--fg-72);
  line-height: 1.55;
}

.telemetry-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
}

.metric-cell {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--fg-56);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.metric-value {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
}

.metric-sub {
  font-size: 0.8125rem;
  font-weight: 600;
}

.telemetry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--fg-56);
  gap: 1rem;
}

.telemetry-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.telemetry-clock {
  font-family: "DM Sans", sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fg);
}

/* Benchmark Chips under Telemetry */
.benchmark-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.benchmark-chip {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.benchmark-chip__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.benchmark-chip__name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg-72);
}

.benchmark-chip__price {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.benchmark-chip__delta {
  font-size: 0.75rem;
  font-weight: 600;
}

.benchmark-sparkline {
  width: 100%;
  height: 36px;
}

.markets-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--fg-56);
  text-align: right;
}

/* --------------------------------------------------------------------------
   Section: Platform Bento (Section 9.6)
   -------------------------------------------------------------------------- */
.section-platform {
  padding-block: var(--section-pad);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.platform-card--span7 {
  grid-column: span 7;
}

.platform-card--span5 {
  grid-column: span 5;
}

.platform-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

.platform-card__body h3 {
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.platform-card__body p {
  font-size: 0.9375rem;
  color: var(--fg-72);
}

.platform-card__visual {
  position: relative;
  width: 100%;
  margin-top: 2rem;
  overflow: hidden;
  border-radius: var(--r-md) var(--r-md) 0 0;
  border: 1px solid var(--line);
  border-bottom: none;
  background: var(--surface-1);
}

/* Visual 1: Reader preview */
.reader-mock {
  padding: 1.5rem;
  background: radial-gradient(120% 90% at 50% 0%, var(--surface-2), var(--surface-1));
}

.reader-mock__quote {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1.1rem;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.reader-mock__lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.reader-mock__line {
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--line-strong);
}

/* Visual 2: Podcast player */
.podcast-player {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.podcast-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.podcast-art {
  width: 60px;
  height: 60px;
  border-radius: var(--r-sm);
  object-fit: cover;
  background: var(--surface-2);
}

.podcast-title {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

.podcast-duration {
  font-size: 0.75rem;
  color: var(--fg-56);
}

.audio-control-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.audio-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.audio-waveform {
  flex-grow: 1;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.audio-bar {
  flex-grow: 1;
  background: var(--line-strong);
  border-radius: 2px;
}

/* Visual 4: Offline chips */
.offline-chips {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.offline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--fg-90);
}

/* --------------------------------------------------------------------------
   Section: Pricing (Deep Advantage Gold Palette + Consistent Card Design)
   -------------------------------------------------------------------------- */
.section-pricing {
  position: relative;
  padding-top: clamp(120px, 14vh, 160px);
  padding-bottom: clamp(80px, 10vw, 130px);
  overflow: hidden;
}

.pricing-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Warm Gold Lamp Haze & Ambient Radial - ZERO blue */
.pricing-planet-arc {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212, 168, 67, 0.12) 0%, rgba(10, 10, 10, 0.6) 45%, transparent 70%);
  filter: blur(60px);
  opacity: 0.9;
}

.pricing-glow-radial {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  bottom: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 65%);
  filter: blur(50px);
  opacity: 0.7;
}

.pricing-container {
  position: relative;
  z-index: 1;
}

.pricing-header-wrap {
  position: relative;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.pricing-watermark {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "DM Sans", -apple-system, sans-serif;
  font-size: clamp(5.5rem, 16vw, 13rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: -1;
  line-height: 1;
}

.pricing-kicker-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background: rgba(212, 168, 67, 0.10);
  border: 1px solid rgba(212, 168, 67, 0.28);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px rgba(212, 168, 67, 0.12);
}

.pricing-heading {
  font-size: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  max-width: 24ch;
  margin: 0 auto 1rem;
  line-height: 1.15;
  color: var(--fg);
}

.pricing-subhead {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: var(--fg-72);
  max-width: 58ch;
  margin: 0 auto;
  line-height: 1.6;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

/* Pricing Card: Extends the homepage .card design system for visual consistency */
.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.25rem 1.85rem;
  transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

/* ONLY the VIP card has an enhanced outer gold glow */
.pricing-card--vip {
  box-shadow: 0 0 35px rgba(212, 168, 67, 0.32), inset 0 1px 0 rgba(212, 168, 67, 0.45), 0 24px 48px -24px rgb(0 0 0 / .8);
}

.pricing-card--vip::before {
  background: linear-gradient(150deg, rgba(212, 168, 67, 0.75), rgba(212, 168, 67, 0.25) 50%, rgba(212, 168, 67, 0.85));
}

.pricing-card--vip:hover {
  box-shadow: 0 0 45px rgba(212, 168, 67, 0.45), inset 0 1px 0 rgba(212, 168, 67, 0.6), 0 24px 48px -24px rgb(0 0 0 / .8);
}

.pricing-card__head {
  margin-bottom: 2rem;
}

.pricing-card__tier {
  font-family: "DM Sans", -apple-system, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--fg);
  margin: 0 0 0.75rem;
}

.pricing-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.pricing-card__amount {
  font-family: "DM Sans", -apple-system, sans-serif;
  font-size: clamp(2.5rem, 3.8vw, 3.25rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card[data-plan="free"] .pricing-card__amount {
  font-size: clamp(1.85rem, 2.5vw, 2.35rem);
  letter-spacing: -0.02em;
}

.pricing-card__period {
  font-size: 1.15rem;
  color: var(--fg-72);
  font-weight: 400;
}

.pricing-card__desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--fg-72);
  margin: 0;
  min-height: 2.75em;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  flex-grow: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--fg-72);
}

.pricing-card__features li strong {
  color: var(--fg);
}

.pricing-card .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--fg);
}

.pricing-card--vip .check-icon {
  background: rgba(212, 168, 67, 0.18);
  border-color: rgba(212, 168, 67, 0.40);
  color: var(--gold);
}

.pricing-card__foot {
  margin-top: auto;
}

.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #0A0A0A;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  transition: all var(--t-hover) var(--ease-out);
}

.pricing-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.pricing-btn--vip {
  background: #FFFFFF;
  color: #0A0A0A;
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.25);
}

.pricing-btn--vip:hover {
  background: var(--gold);
  color: #0A0A0A;
  box-shadow: 0 0 25px rgba(212, 168, 67, 0.50);
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  user-select: none;
}

.pricing-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pricing-toggle__track {
  width: 48px;
  height: 26px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.pricing-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-toggle__input:checked + .pricing-toggle__track {
  background: var(--gold);
  border-color: var(--gold);
}

.pricing-toggle__input:checked + .pricing-toggle__track .pricing-toggle__thumb {
  transform: translateX(22px);
}

.pricing-toggle__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fg);
}

.pricing-toggle__discount-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: rgba(212, 168, 67, 0.18);
  border: 1px solid rgba(212, 168, 67, 0.35);
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Section: Writer Band (Section 9.7)
   -------------------------------------------------------------------------- */
.section-writer {
  padding-block: clamp(48px, 6vw, 96px);
}

.writer-band {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
}

.writer-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  position: relative;
}

.writer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}

.writer-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.writer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-56);
}

.writer-name {
  font-size: 1.75rem;
  color: var(--fg);
}

.writer-role {
  font-size: 0.9375rem;
  color: var(--gold);
  font-weight: 500;
}

.writer-bio {
  font-size: 0.9375rem;
  color: var(--fg-72);
  line-height: 1.6;
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   Section: FAQ (Section 9.8)
   -------------------------------------------------------------------------- */
.section-faq {
  padding-block: var(--section-pad);
}

.faq-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--r-md);
  background: var(--surface-1);
  border: 1px solid var(--line);
  padding: 1.25rem 1.5rem;
  transition: border-color var(--t-hover) var(--ease-out);
}

.faq-item[open] {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.faq-summary {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--fg-56);
  flex-shrink: 0;
  transition: transform var(--t-hover) var(--ease-out);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--gold);
}

.faq-body {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--fg-72);
  line-height: 1.65;
}

.faq-body p + p {
  margin-top: 0.75rem;
}

.faq-body ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-body li {
  list-style: disc;
}

.faq-body strong {
  color: var(--fg);
  font-weight: 600;
}

.faq-body em {
  color: var(--fg-90);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Section: Final CTA (Section 9.9, Bookend lamp)
   -------------------------------------------------------------------------- */
.section-cta {
  position: relative;
  padding-block: clamp(100px, 14vw, 180px);
  text-align: center;
  overflow: hidden;
}

.section-cta .lamp {
  opacity: 0.6;
}

.cta-box {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-box h2 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem);
}

.cta-box p {
  font-size: 1.125rem;
  color: var(--fg-72);
}

/* --------------------------------------------------------------------------
   Footer (Section 9.10)
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-block: 4rem 2.5rem;
  background: var(--bg);
}

.footer-rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 30%, var(--gold-40) 50%, var(--line-strong) 70%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--fg-56);
  max-width: 32ch;
}

.footer-head {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-56);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--fg-72);
  transition: color var(--t-hover) var(--ease-out);
}

.footer-col a:hover {
  color: var(--fg);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--fg-56);
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.legal-footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.legal-footer-links a {
  color: var(--fg-72);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--t-hover) var(--ease-out);
}

.legal-footer-links a:hover {
  color: var(--fg);
}

/* --------------------------------------------------------------------------
   Entrance & Keyframe Animations (Section 11)
   -------------------------------------------------------------------------- */
@keyframes lampFadeIn {
  from { opacity: 0; transform: scaleX(0.2); }
  to   { opacity: 1; transform: scaleX(1); }
}

@keyframes riseUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fanOut {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.js .lamp-bar {
  animation: lampFadeIn 400ms var(--ease-out) forwards;
}
.js .lamp-haze,
.js .lamp-cone,
.js .lamp-bloom {
  animation: riseUp 700ms var(--ease-out) forwards;
}
.js .hero-badge {
  animation: riseUp 400ms var(--ease-out) 120ms both;
}
.js .display .h1-line:nth-child(1) {
  animation: riseUp 500ms var(--ease-out) 200ms both;
}
.js .display .h1-line:nth-child(2) {
  animation: riseUp 500ms var(--ease-out) 260ms both;
}
.js .hero-lead {
  animation: riseUp 500ms var(--ease-out) 380ms both;
}
.js .hero-ctas,
.js .hero-micro {
  animation: riseUp 500ms var(--ease-out) 460ms both;
}
.js .stage-wrap {
  animation: fanOut 900ms var(--ease-in-out) 520ms both;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .stage-wrap,
  .js .lamp-bar,
  .js .lamp-haze,
  .js .lamp-cone,
  .js .lamp-bloom,
  .js .hero-badge,
  .js .display .h1-line,
  .js .hero-lead,
  .js .hero-ctas,
  .js .hero-micro {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive Layout Rules (Section 16)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) and (min-width: 641px) {
  /* Tablet (e.g. 768px iPad, 800px-1024px screens): Remains a refined floating pill navigation */
  .site-header {
    top: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding-inline: 0.75rem;
    pointer-events: none;
  }
  .nav {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.2vw, 1.25rem);
    padding-inline: 1rem 0.5rem;
    height: 52px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    width: auto;
    max-width: calc(100vw - 1.5rem);
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 1.15rem);
  }
  .nav-links a {
    font-size: 0.8125rem;
    white-space: nowrap;
  }
  .nav-actions {
    display: flex;
    align-items: center;
  }
  .nav-menu-btn {
    display: none;
  }
}

@media (max-width: 1024px) {
  .markets-grid {
    grid-template-columns: 1fr;
  }
  .platform-card--span7,
  .platform-card--span5 {
    grid-column: span 12;
  }
  .card-featured {
    grid-template-columns: 1fr;
  }
  .card-featured__cover {
    transform: none;
    max-width: 100%;
  }
  .writer-band {
    grid-template-columns: 140px 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pricing-watermark {
    font-size: clamp(4.5rem, 14vw, 9rem);
    top: -15%;
  }
}

@media (max-width: 640px) {
  /* Mobile: Full-width edge-to-edge pinned header with hamburger menu */
  .site-header {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding-inline: 0;
  }
  .nav-links, .nav-actions {
    display: none;
  }
  .nav-menu-btn {
    display: flex;
    margin-left: auto;
  }
  .nav {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--line);
    height: 60px;
    padding-inline: clamp(1rem, 4vw, 1.75rem);
    justify-content: space-between;
    box-shadow: 0 4px 20px rgb(0 0 0 / .45);
  }
  .nav-brand {
    margin-right: auto;
  }
  .hero {
    padding-top: clamp(118px, 14vh, 138px);
    padding-bottom: 0.5rem;
  }
  .hero-copy {
    padding-inline: 0.75rem;
  }
  .hero-kinetic-headline {
    font-size: clamp(2.15rem, 8.2vw, 2.75rem);
    line-height: 1.14;
    margin-bottom: 1rem;
  }
  .hero-lead {
    font-size: 1.0625rem;
    line-height: 1.45;
    max-width: 32ch;
    margin-bottom: 1.85rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
  }
  .hero-btn--primary {
    width: 100%;
    height: 48px;
    font-size: 0.9375rem;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.22);
  }
  .hero-btn--secondary {
    width: auto !important;
    height: 36px;
    padding: 0 1rem;
    background: rgba(248, 250, 252, 0.04);
    border: 1px solid rgba(248, 250, 252, 0.14);
    color: var(--fg-72);
    font-size: 0.8125rem;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
  }
  .hero-btn--secondary:hover {
    background: rgba(248, 250, 252, 0.08);
    color: var(--fg);
    border-color: rgba(248, 250, 252, 0.25);
  }
  .hero-micro {
    font-size: 0.75rem;
    color: var(--fg-56);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
  }
  .stage-wrap {
    margin-block: 0.25rem 1.75rem;
  }
}

@media (max-width: 768px) {
  .hero-features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .thesis-tiles {
    grid-template-columns: 1fr;
  }
  .card-secondary,
  .card-archive {
    grid-column: span 12;
  }
  .benchmark-chips {
    grid-template-columns: 1fr;
  }
  .telemetry-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.875rem;
  }
  .telemetry-footer .btn {
    order: 1;
    width: 100%;
    justify-content: center;
  }
  .telemetry-footer .telemetry-time {
    order: 2;
    font-size: 0.8125rem;
    color: var(--fg-56);
  }
  .writer-band {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .writer-photo {
    max-width: 160px;
    margin-inline: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1.25rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }
  .legal-footer-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem 1.5rem;
  }
  .legal-footer-links a {
    padding: 0.25rem 0;
  }
  .footer-bottom p {
    width: 100%;
    margin: 0;
    line-height: 1.5;
  }
  .pricing-card {
    padding: 2.25rem 1.5rem;
  }
  .pricing-card__desc {
    min-height: auto;
  }
  .pricing-watermark {
    font-size: clamp(3.5rem, 16vw, 6.5rem);
    top: -8%;
  }
  .pricing-toggle-wrap {
    margin-top: 1.25rem;
  }
}
