@import './fonts/fonts.css';
/* ─────────────────────────────────────────────────────────────
   Anthera Design System — Colors & Type
   Source of truth for brand tokens. Import this in any artifact.
   ───────────────────────────────────────────────────────────── */


:root {
  /* ── Brand core ───────────────────────────────────────────── */
  --anthera-red:        #DC1F2E;   /* sampled from the mountain-mark accent & social slide highlights */
  --anthera-red-hover:  #B81825;
  --anthera-red-deep:   #8E0F1A;
  --anthera-red-ember:  #FF3D4A;   /* glow / hover on dark */

  --anthera-black:      #0A0A0B;   /* page background on dark — not pure #000 */
  --anthera-ink:        #141417;   /* card / elevated surface on dark */
  --anthera-graphite:   #1E1E22;   /* hover / raised surface */
  --anthera-steel:      #2A2A30;   /* borders on dark */

  --anthera-white:      #FFFFFF;
  --anthera-bone:       #F5F5F2;   /* deck partners-strip background */
  --anthera-fog:        #E8E8E6;
  --anthera-mist:       #D1D1CE;

  /* ── Neutral ramp (cool charcoal, not blue) ───────────────── */
  --n-0:   #FFFFFF;
  --n-50:  #F7F7F6;
  --n-100: #ECECEB;
  --n-200: #D9D9D6;
  --n-300: #B8B8B4;
  --n-400: #8C8C88;
  --n-500: #5F5F5C;
  --n-600: #404040;
  --n-700: #2A2A30;
  --n-800: #1E1E22;
  --n-900: #141417;
  --n-950: #0A0A0B;

  /* ── Semantic — LIGHT mode defaults ───────────────────────── */
  --bg:        var(--n-0);
  --bg-sunken: var(--n-50);
  --bg-raised: var(--n-0);
  --surface:   var(--n-0);

  --fg1:       var(--n-950);        /* primary text */
  --fg2:       var(--n-600);        /* secondary text */
  --fg3:       var(--n-400);        /* tertiary / muted */
  --fg-invert: var(--n-0);

  --border:         var(--n-200);
  --border-strong:  var(--n-300);
  --border-focus:   var(--anthera-red);

  --accent:         var(--anthera-red);
  --accent-hover:   var(--anthera-red-hover);
  --accent-fg:      var(--anthera-white);

  --success: #2E7D32;
  --warning: #C98A10;
  --danger:  var(--anthera-red);
  --info:    #1F6FB3;

  /* ── Radii ─ restrained, never pill unless explicitly tagged */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 14px;
  --r-2xl: 20px;
  --r-pill: 999px;

  /* ── Spacing scale (4px base) ─────────────────────────────── */
  --sp-0: 0;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 48px;
  --sp-10: 64px;
  --sp-11: 80px;
  --sp-12: 96px;

  /* ── Shadows — short, crisp. No giant soft blooms. ────────── */
  --shadow-xs: 0 1px 1px rgba(10,10,11,.06);
  --shadow-sm: 0 1px 2px rgba(10,10,11,.08), 0 1px 1px rgba(10,10,11,.04);
  --shadow-md: 0 2px 6px rgba(10,10,11,.08), 0 1px 2px rgba(10,10,11,.06);
  --shadow-lg: 0 8px 24px rgba(10,10,11,.12), 0 2px 6px rgba(10,10,11,.06);
  --shadow-xl: 0 20px 48px rgba(10,10,11,.18), 0 6px 12px rgba(10,10,11,.08);
  --shadow-red-glow: 0 0 0 3px rgba(220,31,46,.25);

  /* ── Type families ────────────────────────────────────────── */
  /* Display / Headline — wide heavy grotesque. Barlow substitutes
     for the condensed+black sans in the pitch deck & socials.
     FLAG: replace with licensed brand face if/when available. */
  --font-display: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-sans:    "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ── Type scale (px, semantic) ────────────────────────────── */
  --fs-hero:   clamp(56px, 6.5vw, 96px);
  --fs-h1:     clamp(40px, 4.4vw, 64px);
  --fs-h2:     clamp(30px, 3.2vw, 44px);
  --fs-h3:     24px;
  --fs-h4:     20px;
  --fs-body-l: 18px;
  --fs-body:   16px;
  --fs-body-s: 14px;
  --fs-caption:12px;
  --fs-eyebrow:12px;

  --lh-tight:  1.05;
  --lh-snug:   1.2;
  --lh-normal: 1.5;
  --lh-relaxed:1.65;

  --tr-tight:  -0.02em;
  --tr-normal: 0;
  --tr-wide:   0.08em;   /* for eyebrows / all-caps labels */
  --tr-wider:  0.12em;

  /* ── Motion ───────────────────────────────────────────────── */
  --ease-standard: cubic-bezier(.2,.6,.2,1);
  --ease-out:      cubic-bezier(.16,1,.3,1);
  --ease-in:       cubic-bezier(.7,0,.84,0);
  --dur-1: 120ms;
  --dur-2: 180ms;
  --dur-3: 240ms;
  --dur-4: 360ms;

  /* ── Layout ───────────────────────────────────────────────── */
  --container: 1200px;
  --gutter: 24px;
}

/* ── DARK mode — the primary Anthera surface ────────────────── */
.theme-dark, [data-theme="dark"] {
  --bg:        var(--n-950);
  --bg-sunken: #050506;
  --bg-raised: var(--n-900);
  --surface:   var(--n-900);

  --fg1:       var(--n-0);
  --fg2:       #B8B8B4;
  --fg3:       #6E6E6B;
  --fg-invert: var(--n-950);

  --border:        rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.16);
  --border-focus:  var(--anthera-red-ember);

  --accent-hover: var(--anthera-red-ember);

  --shadow-xs: 0 1px 1px rgba(0,0,0,.6);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.7);
  --shadow-md: 0 4px 12px rgba(0,0,0,.6);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.7);
  --shadow-xl: 0 28px 64px rgba(0,0,0,.8);
}

/* ─────────────────────────────────────────────────────────────
   Semantic element styles
   ───────────────────────────────────────────────────────────── */

html, body {
  background: var(--bg);
  color: var(--fg1);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.display, .hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-tight);
  text-wrap: balance;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-tight);
  text-wrap: balance;
  margin: 0;
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--tr-tight);
  text-wrap: balance;
  margin: 0;
}

h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: var(--lh-snug);
  margin: 0;
}

h4, .h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
  margin: 0;
}

p, .body {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--fg2);
  margin: 0;
  text-wrap: pretty;
}

.body-l { font-size: var(--fs-body-l); line-height: var(--lh-relaxed); }
.body-s { font-size: var(--fs-body-s); line-height: var(--lh-normal); }

.eyebrow, .label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--accent);
}

.caption {
  font-size: var(--fs-caption);
  color: var(--fg3);
  line-height: var(--lh-normal);
}

code, .mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.accent-text { color: var(--accent); }
.invert { color: var(--fg-invert); }

/* Utility: the signature red top-rule seen on social slides */
.red-rule {
  height: 2px;
  background: var(--anthera-red);
  width: 100%;
  display: block;
}
.red-rule-short {
  height: 2px;
  background: var(--anthera-red);
  width: 48px;
  display: block;
}
/* Site-level styles for the Anthera homepage refresh */

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--anthera-black); color: var(--anthera-white); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
html, body { overflow-x: hidden; max-width: 100%; }
* { box-sizing: border-box; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.2,.6,.2,1), transform .6s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
.reveal[data-d="6"] { transition-delay: .48s; }

/* Slide-in red rule */
.red-rule-in { transform-origin: left; transform: scaleX(0); transition: transform .5s cubic-bezier(.2,.6,.2,1) .1s; }
.red-rule-in.in { transform: scaleX(1); }

/* Container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

/* Eyebrow */
.eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--anthera-red); font-weight: 600; font-family: var(--font-sans); }
.eyebrow-muted { color: var(--n-400); }
.eyebrow-tracked { letter-spacing: 0.22em; }

/* Display headings */
.h-hero { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 6.4vw, 104px); line-height: 0.98; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; margin: 0; }
.h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.25; margin: 0; }

.body { font-size: 16px; line-height: 1.6; color: var(--n-300); text-wrap: pretty; }
.body-l { font-size: 19px; line-height: 1.55; color: var(--n-300); text-wrap: pretty; }
.body-s { font-size: 14px; line-height: 1.55; color: var(--n-300); }
.caption { font-size: 12px; line-height: 1.4; color: var(--n-400); font-family: var(--font-mono); }

.mono { font-family: var(--font-mono); }
/* Display accent (headline-scale only) can take the variant intensity;
   12px labels/eyebrows stay on --anthera-red so small text never drops below contrast floor. */
.accent { color: var(--anthera-red-display, var(--anthera-red)); }

/* Red rules */
.red-rule { height: 2px; background: var(--anthera-red); display: block; }
.red-rule-short { height: 2px; width: 56px; background: var(--anthera-red); display: block; }
.red-rule-tiny { height: 3px; width: 34px; background: var(--anthera-red); display: block; }
.hairline { border-top: 1px solid rgba(255,255,255,0.08); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; font-size: 14px; font-weight: 600; border-radius: 6px; border: none; cursor: pointer; transition: all .2s cubic-bezier(.2,.6,.2,1); text-decoration: none; font-family: var(--font-sans); }
.btn-lg { padding: 16px 26px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-primary { background: var(--anthera-red); color: #fff; }
.btn-primary:hover { background: var(--anthera-red-ember); transform: translateY(-1px); box-shadow: 0 12px 32px -12px rgba(220,31,46,.6); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.20); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.04); }

/* Cards */
.card { background: var(--anthera-ink); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 28px; transition: background .2s, border-color .2s, transform .2s; }
.card:hover { background: var(--anthera-graphite); border-color: rgba(255,255,255,0.16); }

/* Section spacing */
section { position: relative; }
.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }

/* Selection */
::selection { background: var(--anthera-red); color: #fff; }

/* Scroll bar (dark) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--anthera-black); }
::-webkit-scrollbar-thumb { background: var(--anthera-steel); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a40; }

/* Marquee */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track { display: flex; align-items: center; animation: marquee 40s linear infinite; width: max-content; }
.marquee-track > * { margin-right: 80px; }

/* Logo treatment — force monochrome white (matches anthera.tech) */
.logo-img { filter: brightness(0) invert(1); opacity: 0.6; transition: opacity .2s; }
.logo-img:hover { opacity: 1; }
.logo-marquee { height: 30px; width: auto; max-width: 200px; object-fit: contain; display: block; flex: 0 0 auto; }
.logo-partner { height: 32px; width: auto; max-width: 170px; object-fit: contain; display: block; }
.logo-wordmark { white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; color: #fff; opacity: 0.6; transition: opacity .2s; flex: 0 0 auto; }
.logo-wordmark:hover { opacity: 1; color: #fff; }
.marquee-mask { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

/* Blinking caret */
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.caret { display: inline-block; width: 0.55ch; height: 1em; background: var(--anthera-red); transform: translateY(2px); animation: blink 1s steps(1,end) infinite; }

/* Data grid bg */
.bg-grid { background-image:
  linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
  linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px; }

/* Volumetric ember */
.ember-tl { background: radial-gradient(ellipse 60% 60% at 10% 0%, rgba(142,15,28,0.12), transparent 60%); }
.ember-tr { background: radial-gradient(ellipse 60% 70% at 90% 10%, rgba(142,15,28,0.08), transparent 55%); }
.silk { background:
  radial-gradient(ellipse at 30% 20%, rgba(142,15,28,0.07), transparent 45%),
  radial-gradient(ellipse at 80% 80%, rgba(120,12,24,0.12), transparent 50%),
  linear-gradient(180deg, #0A0A0B, #0A0A0B);
}

/* Status dot */
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.15); display: inline-block; }
.dot-pulse { animation: dotpulse 2s ease-in-out infinite; }
@keyframes dotpulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,0.10); } 50% { box-shadow: 0 0 0 8px rgba(34,197,94,0.0); } }

/* Chip */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-sans); background: rgba(255,255,255,0.06); color: var(--n-300); border: 1px solid rgba(255,255,255,0.10); }
.chip-red { background: rgba(220,31,46,0.10); color: var(--anthera-red-ember); border-color: rgba(220,31,46,0.30); }

/* Section labels (tracked CAPS rail).
   Write label text as normal words — letter-spacing + uppercase here do the styling.
   Never type literal spaces between characters (screen readers spell those out). */
.tracked { font-size: 12.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--n-200); font-weight: 700; }

/* Subtle hover lift */
.lift { transition: transform .25s cubic-bezier(.2,.6,.2,1), border-color .2s; }
.lift:hover { transform: translateY(-2px); }

/* Hide reveal when reduced motion off-screen handler not wired */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .red-rule-in { transform: none; transition: none; }
  .nx-link { transform: none; transition: none; }
  .float-slow { animation: none; }
  .dot-pulse { animation: none; }
  .topo-svg { animation: none; }
}

/* ── Placeholder slots ───────────────────────────────────────────
   Any figure or quote that has NOT been verified renders with .ph.
   It is deliberately visible so nothing fabricated is mistaken for
   a real fact. Search the codebase for "ph-" or className="ph" to
   find every slot, or see PLACEHOLDERS.md for the full checklist. */
.ph {
  color: var(--n-400);
  border-bottom: 1px dashed rgba(220,31,46,0.55);
  padding-bottom: 1px;
  font-style: normal;
}
.ph::before { content: "▢ "; color: var(--anthera-red); font-size: 0.85em; }
.ph-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--anthera-red-ember);
  border: 1px solid rgba(220,31,46,0.35);
  border-radius: 3px;
  padding: 1px 5px;
  vertical-align: middle;
  margin-left: 6px;
}

/* Illustrative banner for concept visualisations (not measured claims) */
.illustrative {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--n-400);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  padding: 3px 8px;
}
.illustrative::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warning); }

/* ── Mobile layer ─────────────────────────────────────────────────
   The design is authored desktop-first with inline styles. These
   !important rules collapse the section-level grids and tighten
   spacing on small screens. Direct grid children of a container are
   the section layouts; deeply nested grids (step rows, stat pairs)
   are left intact on purpose. */
@media (max-width: 820px) {
  .container, .container-wide { padding-left: 20px !important; padding-right: 20px !important; }
  .section-pad { padding-top: 64px !important; padding-bottom: 64px !important; }
  .section-pad-sm { padding-top: 48px !important; padding-bottom: 48px !important; }

  .container-wide > div[style*="grid-template-columns"],
  .container > div[style*="grid-template-columns"],
  .container-wide[style*="grid-template-columns"],
  .container[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* top bar: keep logo + CTA, drop the rest */
  nav { display: none !important; }
  .tb-sm-hide { display: none !important; }

  /* AgentDemo: the sticky left column must go static once the grid collapses,
     otherwise it composites over the run panel. */
  .ad-left { position: static !important; }

  /* Partners: compact 2-column grid, not a tower of full-width cells.
     Selector must outweigh the generic .container-wide > div[style*=...] collapse. */
  .container-wide > div.pt-grid { grid-template-columns: 1fr 1fr !important; gap: 0 !important; }
  .container-wide > div.pt-grid > div { padding: 16px 12px !important; min-height: 0 !important; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.06) !important; }
  .pt-grid .logo-partner { height: 22px; max-width: 110px; }
  .pt-grid .mono { font-size: 11px !important; }
}

/* ── Product hero (glassy collage) ───────────────────────────────── */
.hp-panel { position: relative; border-radius: 22px; overflow: hidden; min-height: 540px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(155deg, rgba(142,15,28,0.13), rgba(18,18,21,0.96) 50%, #0B0B0E 100%);
  box-shadow: 0 40px 120px -55px rgba(142,15,28,0.30), 0 30px 80px -40px rgba(0,0,0,0.82); }
.hp-sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 48% 38% at 92% -6%, rgba(170,22,36,0.14), transparent 64%); }
.hp-head { position: absolute; top: 22px; left: 26px; display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: rgba(255,255,255,0.7); z-index: 4; }
.hp-collage { position: absolute; inset: 0; opacity: 0.26; padding: 64px 28px 28px; z-index: 1; -webkit-mask-image: linear-gradient(180deg,#000,transparent 96%); mask-image: linear-gradient(180deg,#000,transparent 96%); }
.hp-cmetrics { display: flex; gap: 40px; margin-bottom: 26px; }
.hp-cmetrics > div { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: #fff; }
.hp-cmetrics span { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
.hp-cbars { display: flex; flex-direction: column; gap: 14px; max-width: 300px; }
.hp-cbar { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.16); }
.hp-cbar i { display: block; height: 100%; border-radius: 4px; background: rgba(255,255,255,0.5); }

.hp-glass { position: absolute; z-index: 3; background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 14px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.12); }

.hp-agent { top: 30%; left: 6%; width: 60%; padding: 18px 20px; }
.hp-who { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.hp-ico { width: 22px; height: 22px; border-radius: 6px; background: var(--anthera-red); display: flex; align-items: center; justify-content: center; }
.hp-ico b { width: 9px; height: 9px; border: 1.6px solid #fff; transform: rotate(45deg); display: block; }
.hp-nm { font-size: 12px; font-weight: 600; color: #fff; }
.hp-nm em { font-style: normal; color: rgba(255,255,255,0.5); font-family: var(--font-mono); font-size: 10px; margin-left: 8px; letter-spacing: 0.08em; }
.hp-agent p { font-size: 15px; line-height: 1.5; color: #fff; }
.hp-chips { display: flex; gap: 6px; margin-top: 12px; }
.hp-chip { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.8); }

.hp-ring { top: 24px; right: 24px; width: 128px; height: 128px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.hp-ring svg { position: absolute; inset: 0; }
.hp-v { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: #fff; }
.hp-l { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: rgba(255,255,255,0.65); text-transform: uppercase; }

.hp-status { bottom: 24px; left: 6%; width: 46%; padding: 16px 18px; }
.hp-t { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.hp-row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.hp-d { width: 6px; height: 6px; border-radius: 50%; }
.hp-n { flex: 1; font-size: 12px; color: #fff; }
.hp-pbar { width: 64px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.14); overflow: hidden; }
.hp-pbar i { display: block; height: 100%; background: var(--anthera-red); }

.hp-appr { bottom: 24px; right: 6%; width: 40%; padding: 16px 18px; }
.hp-at { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.hp-at b { color: var(--anthera-red-ember); }
.hp-ar { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 12px; color: #fff; }
.hp-ar .hp-s { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: #E2A93B; }

/* Product hero — mobile: stop overlapping, stack the glass cards */
@media (max-width: 820px) {
  .hp-panel { min-height: 0; padding: 18px; }
  .hp-collage, .hp-ring { display: none; }
  .hp-head { position: static; margin-bottom: 16px; }
  .hp-glass { position: static !important; box-shadow: none; }
  .hp-agent, .hp-status, .hp-appr { width: auto !important; inset: auto !important; margin: 0 0 12px !important; }
}

/* ── Hero: deployment status track (Version 1 — Ships) ───────────── */
.st-track { margin-top: 52px; max-width: 680px; display: flex; align-items: flex-start; }
.st-node { display: flex; flex-direction: column; gap: 10px; min-width: 96px; }
.st-top { display: flex; align-items: center; gap: 10px; }
.st-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; background: var(--n-500); }
.st-node.live .st-dot { background: var(--anthera-red); box-shadow: 0 0 0 5px rgba(184,24,37,0.18); animation: stpulse 2.2s ease-in-out infinite; }
@keyframes stpulse { 0%,100% { box-shadow: 0 0 0 5px rgba(184,24,37,0.16); } 50% { box-shadow: 0 0 0 9px rgba(184,24,37,0); } }
.st-nm { font-size: 14px; font-weight: 600; color: #fff; }
.st-node.done .st-nm { color: var(--n-400); }
.st-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--n-400); text-transform: uppercase; }
.st-node.live .st-sub { color: var(--anthera-red); }
.st-seg { flex: 1; height: 1px; margin-top: 5px; background: linear-gradient(90deg, rgba(255,255,255,0.16), rgba(184,24,37,0.5)); }
.st-seg.first { background: rgba(255,255,255,0.14); }

/* ── Hero: single outcome card (Version 2 — Capability) ─────────── */
.oc-card { position: relative; background: linear-gradient(160deg, rgba(142,15,28,0.10), rgba(20,20,23,0.96) 55%, #0C0C0F);
  border: 1px solid rgba(255,255,255,0.10); border-radius: 18px; padding: 30px 30px 26px;
  box-shadow: 0 40px 110px -50px rgba(142,15,28,0.30), 0 24px 60px -34px rgba(0,0,0,0.8); }
.oc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.oc-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--anthera-red); display: flex; align-items: center; justify-content: center; }
.oc-mark b { width: 9px; height: 9px; border: 1.6px solid #fff; transform: rotate(45deg); display: block; }
.oc-title { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.oc-live { margin-left: auto; display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--n-400); }
.oc-lab { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--n-400); text-transform: uppercase; }
.oc-big { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 1; letter-spacing: -0.03em; margin: 8px 0 4px; }
.oc-big em { font-style: normal; color: var(--anthera-red); }
.oc-desc { font-size: 15px; color: #fff; line-height: 1.5; max-width: 340px; }
.oc-cmp { font-family: var(--font-mono); font-size: 12px; color: var(--n-400); margin-top: 10px; }
.oc-row { display: flex; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap; }
.oc-chip { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 5px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: var(--n-300); }

@media (max-width: 720px) {
  .st-track { flex-direction: column; gap: 18px; }
  .st-seg { display: none; }
  .st-node { min-width: 0; }
}
@media (max-width: 820px) {
  .oc-big { font-size: 54px; }
}

/* ── Editorial numbered list (Approach / Why Anthera) ─────────────── */
.ed-list { display: flex; flex-direction: column; }
.ed-row { display: grid; grid-template-columns: 92px 1fr 1.5fr; gap: 40px; align-items: start; padding: 38px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.ed-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.ed-num { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; color: var(--anthera-red); letter-spacing: -0.02em; }
@media (max-width: 820px) {
  .ed-row { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .ed-num { font-size: 34px; }
}

/* ── Nexus: compact pillar row (not cards) ───────────────────────── */
.nx-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.08); }
.nx-pillar { padding: 28px 32px 28px 0; border-right: 1px solid rgba(255,255,255,0.08); }
.nx-pillar:last-child { border-right: none; padding-right: 0; }
.nx-pillar:not(:first-child) { padding-left: 32px; }
.nx-pk { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.nx-pt { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #fff; }
@media (max-width: 820px) {
  .nx-pillars { grid-template-columns: 1fr; }
  .nx-pillar { border-right: none; border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; }
  .nx-pillar:not(:first-child) { padding-left: 0; }
}

/* ── Nexus: platform layers (six surfaces over one shared core) ──── */
.nx-layers { margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); }
.nx-layers-head { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; max-width: 680px; }
.nx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nx-card { position: relative; display: flex; flex-direction: column; padding: 28px; min-height: 200px;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; background: var(--anthera-ink);
  overflow: hidden; transition: border-color .2s, background .2s, transform .2s; }
.nx-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--anthera-red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nx-card:hover { border-color: rgba(255,255,255,0.16); background: #161318; transform: translateY(-3px); }
.nx-card:hover::before { transform: scaleX(1); }
.nx-card-top { display: flex; align-items: center; justify-content: space-between; }
.nx-lx { font-family: var(--font-mono); font-size: 13px; color: var(--anthera-red); letter-spacing: 0.08em; }
.nx-ln { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: #fff; margin-top: 20px; }
.nx-ld { font-size: 15px; line-height: 1.5; color: var(--n-300); margin-top: 12px; }
.nx-lt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--n-400);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.nx-core { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 18px 26px;
  border-radius: 14px; border: 1px solid rgba(255,255,255,0.10); background: rgba(20,20,23,0.6); }
.nx-core-txt { font-size: 15px; color: var(--n-300); }
.nx-core-txt b { font-family: var(--font-display); font-weight: 800; color: #fff; margin-right: 4px; }

/* Surfaces-over-core diagram: six tiles, connector lines drawing down into one core bar */
.nx-tile { position: relative; padding: 18px 18px 16px; background: var(--anthera-ink);
  transition: background .2s, transform .25s cubic-bezier(.16,1,.3,1); }
.nx-tile::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--anthera-red); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.nx-tile:hover { background: #161318; transform: translateY(-2px); }
.nx-tile:hover::after { transform: scaleX(1); }
/* Core slab — the six surfaces sit flush on it; hovering any surface lights the
   shared core. Physical adjacency carries the metaphor, no connector lines. */
.nx-slab { border: 1px solid rgba(255,255,255,0.10); border-top: 2px solid rgba(220,31,46,0.40);
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(220,31,46,0.05), rgba(20,20,23,0.7));
  padding: 24px 28px;
  transition: border-color .35s, box-shadow .45s, background .45s; }
.nx-slab.lit { border-top-color: var(--anthera-red);
  box-shadow: 0 22px 60px -30px rgba(220,31,46,0.45);
  background: linear-gradient(180deg, rgba(220,31,46,0.10), rgba(20,20,23,0.78)); }
.nx-slab-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.nx-slab-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nx-slab-cols .t { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff; }
.nx-slab-cols .d { font-size: 13px; color: var(--n-400); margin-top: 4px; line-height: 1.5; }

/* Ambient float for the hero outcome card — slow, small, sleek */
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.float-slow { animation: floatSlow 7s ease-in-out infinite; }
@media (max-width: 900px) {
  .nx-layers-head { grid-template-columns: 1fr; gap: 16px; }
  .nx-grid { grid-template-columns: 1fr; }
  .nx-strip { grid-template-columns: 1fr 1fr !important; }
  .nx-strip > div { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nx-slab-cols { grid-template-columns: 1fr; gap: 16px; }
  .nx-core { padding: 16px 18px; margin-top: 16px !important; }
}
