/* ===========================================================================
   OATHERA.com — marketing site design system (light).

   This is a self-contained stylesheet for the oathera.com experience. It does
   NOT load styles.css; it defines its own tokens and styles both the shared
   injected chrome (top nav, footer, cookie panel, skip link, chat widget vars)
   and the marketing page components.

   Aesthetic: a blend of Gong (bright, bold, confident, warm accent, generous
   whitespace, big type) and NeuroNest (sleek, minimal, soft cards, calm).
   =========================================================================== */

:root {
  /* Surfaces */
  --background: #ffffff;
  --surface: #f6f8fb;        /* soft section tint */
  --surface-2: #eef2f7;      /* deeper tint / cards */
  --ink: #0b1220;            /* near-black headings */
  --foreground: #0b1220;
  --body: #3b4556;           /* body text */
  --muted-foreground: #5a6475;
  --muted: #6b7686;
  --line: #dfe5ee;           /* hairline borders */

  /* Brand: a confident indigo primary with a warm coral secondary accent
     (the Gong-style warmth) and a teal tertiary that nods to the .ai cyan. */
  --primary: #4f46e5;        /* indigo 600 */
  --primary-strong: #4338ca; /* indigo 700 */
  --primary-ink: #ffffff;
  --accent: #ff6a4d;         /* warm coral */
  --accent-2: #0ea5a5;       /* teal */
  --primary-soft: #eef0fe;   /* tinted chip background */

  /* Control border token for interactive element boundaries (buttons, inputs,
     the nav toggle). #767f90 measures ~4:1 against white, clearing the WCAG
     1.4.11 non-text contrast minimum of 3:1. The lighter --line token below is
     only used on non-interactive dividers and card edges. */
  --control-border: #767f90;
  /* Off-state fill for the cookie toggle track. #6b7686 is ~4.6:1 on white. */
  --control-track: #6b7686;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Orbitron", "Sora", "Inter", system-ui, sans-serif;
  --font-mono: var(--font-sans);

  /* Shared chat/cookie widgets read these; keep them light-appropriate. */
  --emblem-image: url("/oathera-o-black.svg");
  --emblem-opacity: 1;
  --glow-2: #ff6a4d;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.12);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--background);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* The dark site paints a grid + orbs; neutralize them on .com so a stray
   element never shows. */
.grid-bg, .orb, .rings { display: none !important; }

/* Skip link (shared). Visible on focus. */
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--primary-ink);
  background: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-150%);
  transition: transform 0.15s ease;
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); outline: 2px solid var(--ink); outline-offset: 2px; }
#main-content:focus { outline: none; }

/* ===========================================================================
   Shared top navigation — restyled for the light marketing look.
   =========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 1.5rem;
  background: color-mix(in oklab, var(--background) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.nav-brand img { width: 1.6rem; height: 1.6rem; object-fit: contain; }
.nav-menu { margin-left: auto; display: flex; align-items: center; gap: 0.3rem; }
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-trigger:hover,
.nav-trigger:focus-visible,
.nav-item.open .nav-trigger { color: var(--primary); background: var(--primary-soft); outline: none; }
.nav-caret { transition: transform 0.2s ease; }
.nav-item.open .nav-caret { transform: rotate(180deg); }
.nav-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 20rem;
  max-width: min(22rem, calc(100vw - 2rem));
  display: grid;
  gap: 0.15rem;
  padding: 0.5rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 60;
}
.nav-item--right .nav-panel { left: auto; right: 0; }
.nav-panel::before { content: ""; position: absolute; top: -0.6rem; left: 0; right: 0; height: 0.6rem; }
.nav-item:hover .nav-panel,
.nav-item.open .nav-panel { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-panel a { display: grid; gap: 0.1rem; padding: 0.6rem 0.75rem; border-radius: 10px; color: var(--ink); transition: background 0.15s ease; }
.nav-panel a:hover,
.nav-panel a:focus-visible { background: var(--surface); outline: none; }
.nav-link-title { font-size: 0.95rem; font-weight: 650; }
.nav-link-desc { font-size: 0.8rem; line-height: 1.35; color: var(--muted-foreground); }
.nav-cta {
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  color: var(--primary-ink) !important;
  background: var(--primary);
  font-weight: 700;
  box-shadow: 0 6px 18px color-mix(in oklab, var(--primary) 35%, transparent);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.nav-cta:hover { background: var(--primary-strong); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 4px;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--control-border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-trigger { width: 100%; justify-content: space-between; border-radius: 0; padding: 0.9rem 0.25rem; }
  .nav-panel {
    position: static; min-width: 0; opacity: 1; transform: none; pointer-events: auto;
    background: none; border: none; box-shadow: none; padding: 0 0 0.5rem 0.5rem; display: none; transition: none;
  }
  .nav-item.open .nav-panel { display: grid; }
  .nav-panel::before { display: none; }
  .nav-cta { margin-top: 0.8rem; text-align: center; }
}

/* ===========================================================================
   Layout primitives
   =========================================================================== */
main { position: relative; z-index: 1; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5.5rem 0; }
.section--tint { background: var(--surface); }
.section--deep { background: var(--surface-2); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.9rem;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-head p { margin-top: 1rem; font-size: 1.1rem; color: var(--muted-foreground); }

/* ===========================================================================
   Buttons
   =========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  color: var(--primary-ink);
  background: var(--primary);
  box-shadow: 0 10px 24px color-mix(in oklab, var(--primary) 32%, transparent);
}
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-2px); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--control-border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.cta-row--center { justify-content: center; }

/* ===========================================================================
   Hero
   =========================================================================== */
.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 80% -10%, color-mix(in oklab, var(--primary) 14%, transparent), transparent 60%),
    radial-gradient(50rem 28rem at 0% 10%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 55%),
    var(--background);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.03; }
.hero .lead { margin-top: 1.3rem; font-size: 1.2rem; color: var(--muted-foreground); max-width: 36ch; }
.hero .cta-row { margin-top: 2rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 1.4rem;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.hero-note { margin-top: 1.3rem; font-size: 0.92rem; color: var(--muted); }

/* Hero visual: a stacked "identity card" mock built from CSS, no imagery. */
.hero-art {
  position: relative;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem;
}
.hero-art .ha-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); }
.hero-art .ha-row:last-child { border-bottom: none; }
.hero-art .ha-badge { width: 34px; height: 34px; border-radius: 9px; background: var(--primary-soft); display: grid; place-items: center; color: var(--primary); flex: 0 0 auto; }
.hero-art .ha-k { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hero-art .ha-v { font-weight: 650; color: var(--ink); }
.hero-art .ha-ok { margin-left: auto; color: var(--accent-2); font-weight: 700; font-size: 0.85rem; }

/* ===========================================================================
   Logos / trust strip
   =========================================================================== */
.trust { padding: 2.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust p { text-align: center; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; font-weight: 650; }
.trust-row { display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: center; align-items: center; }
.trust-row span { font-family: var(--font-display); font-weight: 700; color: #9aa4b2; font-size: 1.15rem; letter-spacing: 0.03em; }

/* ===========================================================================
   Feature / value cards
   =========================================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in oklab, var(--primary) 30%, var(--line)); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 1.1rem; }
.card .ic svg { width: 24px; height: 24px; }
/* Logo tiles for the integrations cards: a neutral white chip so brand marks
   (including dark greys) stay legible, slightly larger than the icon tiles. */
.card .ic-logo {
  width: 64px;
  height: 64px;
  background:
    radial-gradient(circle at 50% 35%, #ffffff, #eef1f3);
  border: 1px solid var(--line);
  padding: 0.5rem;
}
.card .ic-logo img { width: auto; height: auto; max-width: 40px; max-height: 40px; display: block; }
.card .ic-logo-pair { gap: 0.4rem; display: flex; align-items: center; justify-content: center; }
.card .ic-logo-pair img { max-width: 28px; max-height: 28px; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted-foreground); font-size: 0.98rem; }
.card--accent .ic { background: color-mix(in oklab, var(--accent) 16%, #fff); color: var(--accent); }
.card--teal .ic { background: color-mix(in oklab, var(--accent-2) 16%, #fff); color: var(--accent-2); }

/* ===========================================================================
   Split feature rows (alternating)
   =========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split + .split { margin-top: 4.5rem; }
.split--rev .split-media { order: 2; }
.split h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.9rem; }
.split p { color: var(--muted-foreground); font-size: 1.05rem; }
.split ul { list-style: none; margin-top: 1.2rem; display: grid; gap: 0.7rem; }
.split li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--body); }
.split li svg { flex: 0 0 auto; margin-top: 2px; color: var(--accent-2); }
.split-media {
  background: linear-gradient(160deg, var(--surface), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.6rem;
  min-height: 240px;
}
.mock-line { height: 10px; border-radius: 6px; background: var(--surface-2); margin: 0.6rem 0; }
.mock-line.w70 { width: 70%; }
.mock-line.w50 { width: 50%; }
.mock-line.accent { background: color-mix(in oklab, var(--primary) 40%, var(--surface-2)); }
.mock-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.7rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary-strong); font-size: 0.8rem; font-weight: 650; margin: 0.3rem 0.3rem 0 0; }

/* ===========================================================================
   Stats band
   =========================================================================== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.stat { text-align: center; }
.stat .n { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--ink); }
.stat .l { color: var(--muted-foreground); font-size: 0.95rem; margin-top: 0.3rem; }

/* ===========================================================================
   Quote / testimonial-style band (Gong-ish social proof)
   =========================================================================== */
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.3; color: var(--ink); font-weight: 600; }
.quote .by { margin-top: 1.3rem; color: var(--muted-foreground); font-weight: 600; }

/* ===========================================================================
   Big CTA band
   =========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  border-radius: 24px;
  padding: 3.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-band p { color: color-mix(in oklab, #fff 86%, transparent); margin-top: 0.9rem; font-size: 1.1rem; }
.cta-band .cta-row { margin-top: 1.8rem; }
.cta-band .btn-primary { background: #fff; color: var(--primary-strong); box-shadow: none; }
.cta-band .btn-primary:hover { background: #f1f1ff; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: color-mix(in oklab, #fff 55%, transparent); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ===========================================================================
   FAQ (reuses <details>)
   =========================================================================== */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 0.7rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.25rem; font-weight: 650; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 1.25rem 1.1rem; color: var(--muted-foreground); }

/* ===========================================================================
   Simple content pages (platform/features/etc. that use prose blocks)
   =========================================================================== */
.page-hero { padding: 4.5rem 0 2rem; background: linear-gradient(180deg, var(--surface), var(--background)); }
.page-hero .eyebrow { }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.page-hero p { margin-top: 1rem; font-size: 1.15rem; color: var(--muted-foreground); max-width: 60ch; }

/* Integrations hero: text on the left, a loose cluster of partner/ecosystem
   logos drifting on the right. Every logo sits in an identical round tile so
   they all read at the same size regardless of each SVG's own viewBox. */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 2.5rem; align-items: center; }
.logo-cloud { position: relative; min-height: 340px; }
.logo-cloud .logo-chip {
  position: absolute; width: 60px; height: 60px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 6px 18px rgb(10 15 28 / 0.08), 0 1px 2px rgb(10 15 28 / 0.06);
  animation: logoFloat var(--d, 7s) ease-in-out var(--delay, 0s) infinite;
}
.logo-cloud .logo-chip img { width: 30px; height: 30px; object-fit: contain; display: block; }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Use-cases hero: the known/unknown agent scene. */
.agents-scene-wrap { display: flex; align-items: center; justify-content: center; }
.agents-scene { width: 100%; max-width: 460px; height: auto; border-radius: 16px; box-shadow: 0 14px 40px rgb(10 15 28 / 0.18); }
@media (prefers-reduced-motion: reduce) {
  /* Freeze the scene on its resolved frame: show both verdicts, drop the motion. */
  .agents-scene animate, .agents-scene animateTransform { display: none; }
}
@media (max-width: 860px) { .agents-scene { max-width: 360px; } }

/* Platform hero: the three-part architecture scene. */
.plat-scene-wrap { display: flex; align-items: center; justify-content: center; }
.plat-scene { width: 100%; max-width: 480px; height: auto; border-radius: 16px; box-shadow: 0 14px 40px rgb(10 15 28 / 0.18); }
@media (prefers-reduced-motion: reduce) {
  .plat-scene animate, .plat-scene animateMotion, .plat-scene animateTransform { display: none; }
}
@media (max-width: 860px) { .plat-scene { max-width: 380px; } }

/* Features + Security hero scenes. */
.feat-scene-wrap, .sec-scene-wrap { display: flex; align-items: center; justify-content: center; }
.feat-scene, .sec-scene { width: 100%; max-width: 480px; height: auto; border-radius: 16px; box-shadow: 0 14px 40px rgb(10 15 28 / 0.18); }
@media (prefers-reduced-motion: reduce) {
  .feat-scene animate, .feat-scene animateMotion, .feat-scene animateTransform,
  .sec-scene animate, .sec-scene animateMotion, .sec-scene animateTransform { display: none; }
}
@media (max-width: 860px) { .feat-scene, .sec-scene { max-width: 380px; } }

/* ===========================================================================
   About Us page
   =========================================================================== */
.about-hero { padding: 4.5rem 0 3rem; }
.about-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end; }
.about-hero .wordmark { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 6vw, 4.5rem); color: var(--ink); line-height: 1; margin: 0.4rem 0 1rem; letter-spacing: -0.01em; }
.about-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12; }
.about-hero h1 .muted { color: var(--muted-foreground); display: block; }
.about-hero-aside p { color: var(--muted-foreground); font-size: 1.05rem; line-height: 1.6; }
.about-hero-aside .jump { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.1rem; color: var(--primary); font-weight: 600; text-decoration: none; }
.about-hero-aside .jump:hover { text-decoration: underline; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.why-lead h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; margin-bottom: 1.2rem; }
.why-lead p { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 1rem; max-width: 46ch; }
.why-points { display: grid; gap: 0; }
.why-point { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.why-point:first-child { border-top: 0; }
.why-point .ic { width: 34px; height: 34px; color: var(--primary); }
.why-point .ic svg { width: 34px; height: 34px; }
.why-point h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.why-point p { color: var(--muted-foreground); font-size: 0.95rem; line-height: 1.55; }

.heritage { text-align: center; }
.heritage .kicker { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.heritage-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; margin-top: 1.8rem; }
/* Each heritage company is a full-card link. The whole <a> is the click
   target; a gradient sweep and lift animate on hover. */
.heritage-item {
  display: flex; flex-direction: column; text-align: left; text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 1.3rem 1.25rem 1.15rem; border-radius: 16px;
  background: linear-gradient(170deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.heritage-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(120% 80% at 0% 0%, color-mix(in oklab, var(--primary) 14%, transparent), transparent 60%);
  transition: opacity 0.25s ease;
}
.heritage-item:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--primary) 45%, var(--line)); box-shadow: 0 16px 34px color-mix(in oklab, var(--primary) 16%, transparent); }
.heritage-item:hover::before { opacity: 1; }
.heritage-item:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.heritage-item .name { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; color: var(--ink); line-height: 1.15; }
.heritage-item .what { margin-top: 0.4rem; font-size: 0.88rem; color: var(--muted-foreground); line-height: 1.45; }
.heritage-item .go { margin-top: auto; padding-top: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); opacity: 0; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.2s ease; }
.heritage-item:hover .go, .heritage-item:focus-visible .go { opacity: 1; transform: translateY(0); }
.heritage-item .go .arrow { transition: transform 0.2s ease; }
.heritage-item:hover .go .arrow { transform: translate(2px, -2px); }

.founders-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.founders-head .kicker { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.founders-head .sub { color: var(--muted-foreground); }
.founders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.founder-card { display: flex; flex-direction: column; }
.founder-photo { position: relative; aspect-ratio: 4 / 3.4; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--surface), var(--surface-2)); display: grid; place-items: center; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(5px) brightness(0.62) saturate(0.85); transform: scale(1.06); transition: filter 0.35s ease, transform 0.45s ease; }
/* A translucent dark overlay sits above the photo but below the LinkedIn
   icon. Both the blur and the overlay clear when the card is hovered or
   keyboard-focused, revealing the clear photograph. */
.founder-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgb(8 11 18 / 0.5); pointer-events: none; transition: opacity 0.35s ease; }
.founder-photo:hover img, .founder-photo:focus-within img { filter: none; transform: scale(1); }
.founder-photo:hover::after, .founder-photo:focus-within::after { opacity: 0; }
.founder-photo .initials { position: relative; z-index: 2; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: color-mix(in oklab, var(--primary) 55%, var(--muted)); }
.founder-photo .num { position: absolute; left: 0; bottom: 0; z-index: 2; background: #fff; color: var(--ink); font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.5rem; border-top-right-radius: 8px; }
.founder-photo .num-li { position: absolute; left: 0; bottom: 0; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; color: #0a66c2; text-decoration: none; transition: background 0.15s ease, color 0.15s ease; }
.founder-photo .num-li:hover { background: #0a66c2; color: #fff; }
.founder-photo .num-li:focus-visible { outline: 2px solid #0a66c2; outline-offset: 2px; }
.founder-role { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-top: 1rem; }
.founder-card h3 { font-size: 1.4rem; margin: 0.2rem 0 0.1rem; }
.founder-card .focus { color: var(--muted-foreground); font-size: 0.92rem; margin-bottom: 0.6rem; }
.founder-card .bio { color: var(--body); font-size: 0.95rem; line-height: 1.6; flex: 1; }
.founder-card .read { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.9rem; color: var(--ink); font-weight: 600; text-decoration: none; }
.founder-card .read:hover { color: var(--primary); }

/* About: the dark 'next frontier' section between the hero and Why Oathera. */
.frontier { background: var(--ink); color: #fff; }
.frontier .kicker { color: var(--accent-2, #34d8c4); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.frontier h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.12; margin: 0.7rem 0 1.6rem; max-width: 20ch; }
.frontier-body { max-width: 62ch; }
.frontier-body p { color: color-mix(in oklab, #fff 74%, transparent); line-height: 1.7; font-size: 1.05rem; margin-bottom: 1.1rem; }
.frontier-body p strong { color: #fff; font-weight: 600; }
.frontier-tagline { margin-top: 1.8rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: #fff; }
.frontier-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.6rem 3rem; align-items: start; }
.frontier-head { grid-column: 1 / -1; }
.frontier-head h2 { margin-bottom: 0.4rem; max-width: 24ch; }
.frontier-grid .frontier-lead { grid-column: 1; grid-row: 2; }
.frontier-grid .frontier-body { max-width: none; }
.frontier-callout { grid-column: 2; grid-row: 2; align-self: center; position: relative; padding: 2rem 1.9rem; border-radius: 18px;
  background: linear-gradient(160deg, color-mix(in oklab, var(--primary) 22%, #10151f), #0c1018);
  border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.45), inset 0 1px 0 color-mix(in oklab, #fff 10%, transparent); }
.frontier-callout::before { content: ""; position: absolute; left: 1.9rem; top: 1.9rem; width: 34px; height: 3px; border-radius: 3px; background: var(--accent-2, #34d8c4); }
.frontier-callout p { color: color-mix(in oklab, #fff 88%, transparent); font-size: 1.12rem; line-height: 1.65; margin: 1.4rem 0 0; }
.frontier-callout p strong { color: #fff; font-weight: 700; }
.frontier-tagline { grid-column: 1 / -1; grid-row: 3; margin-top: 1rem; }
@media (max-width: 860px) {
  .frontier-grid { grid-template-columns: 1fr; }
  .frontier-head, .frontier-lead, .frontier-callout, .frontier-tagline { grid-column: 1; grid-row: auto; }
}
.about-cta { background: var(--ink); color: #fff; padding: 2.75rem 0; }
.about-cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.about-cta .kicker { color: var(--accent-2, #34d8c4); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.about-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0.5rem 0 0.4rem; }
.about-cta p { color: color-mix(in oklab, #fff 72%, transparent); max-width: 48ch; }
.about-cta .backed-by { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.6rem; }
.about-cta .backed-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in oklab, #fff 55%, transparent); font-weight: 700; }
.about-cta .backed-by a { display: inline-flex; opacity: 0.92; transition: opacity 0.15s ease; }
.about-cta .backed-by a:hover { opacity: 1; }
.about-cta .backed-by img { height: 44px; width: auto; display: block; }

@media (max-width: 860px) {
  .about-hero-grid, .why-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .heritage-row { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .founders-grid { grid-template-columns: 1fr; }
  .about-cta .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) { .heritage-row { grid-template-columns: 1fr; } }
/* Touch devices have no real hover, so reveal the visit hint by default. */
@media (hover: none) {
  .heritage-item .go { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .logo-cloud .logo-chip { animation: none; } }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .logo-cloud { min-height: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
  .logo-cloud .logo-chip { position: static; animation: none; width: 52px; height: 52px; }
  .logo-cloud .logo-chip img { width: 26px; height: 26px; }
}
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 2.4rem 0 0.8rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 0.5rem; color: var(--ink); }
.prose p { margin: 0.6rem 0; color: var(--body); }
.prose ul { margin: 0.6rem 0 0.6rem 1.1rem; color: var(--body); }
.prose li { margin: 0.35rem 0; }
.prose strong { color: var(--ink); }

/* ===========================================================================
   Contact form (shared markup on contact page)
   =========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-form { display: grid; gap: 1.1rem; max-width: 560px; }
.contact-form .field { display: grid; gap: 0.4rem; }
.contact-form label { font-weight: 650; color: var(--ink); font-size: 0.92rem; }
.contact-form label span { color: var(--accent); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--control-border);
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 18%, transparent); }
.contact-form textarea { resize: vertical; min-height: 7rem; }
.cf-turnstile { margin: 0.25rem 0; }
.contact-form .btn { justify-self: start; }
.cf-status { font-weight: 600; min-height: 1.2em; }
.cf-status-ok { color: var(--accent-2); }
.cf-status-error { color: #c23b33; }

/* ===========================================================================
   Footer — restyled light.
   =========================================================================== */
.footer { position: relative; z-index: 1; background: #ffffff; color: var(--muted-foreground); padding: 3.5rem 1.5rem 2rem; border-top: 1px solid var(--line); }
.footer-cols { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.footer-brand .brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.footer-brand .brand img { width: 1.5rem; height: 1.5rem; }
.footer-tagline { margin-top: 0.8rem; font-size: 0.9rem; color: var(--muted-foreground); max-width: 32ch; }
.footer-col h3 { color: var(--ink); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-col a { color: var(--muted-foreground); font-size: 0.92rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--primary); }
.footer-col .soon { color: var(--muted); font-size: 0.92rem; }
.footer-bottom { max-width: var(--maxw); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }
.social-links { display: flex; gap: 0.6rem; }
.social-link { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 999px; color: var(--muted-foreground); border: 1px solid var(--control-border); transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease; }
.social-link:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }

/* ===========================================================================
   Responsive
   =========================================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .split, .split--rev .split-media { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 3.5rem 0; }
  .cta-band { padding: 2.2rem 1.3rem; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* ===========================================================================
   Shared structural pages (legal, learn hub, learn guides, developers) reuse
   the .legal-* and .oa-* classes from the dark site. Style them here for the
   light marketing look so the Developers and Legal sections match the rest of
   oathera.com.
   =========================================================================== */
.legal-main { max-width: var(--maxw); margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.legal-hero { max-width: 820px; margin: 0 auto 2.5rem; text-align: center; }
.legal-eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 0.9rem;
}
.legal-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.legal-updated { margin-top: 1rem; font-size: 1.1rem; color: var(--muted-foreground); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 3rem; align-items: start; }
.legal-sidebar { position: sticky; top: 5rem; }
.legal-toc h2 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.legal-toc ol { list-style: none; display: grid; gap: 0.5rem; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { color: var(--muted-foreground); font-size: 0.92rem; transition: color 0.15s ease; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: var(--primary); outline: none; }
.legal-content { max-width: 760px; }
.legal-content section { margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.5rem; margin: 2rem 0 0.8rem; }
.legal-content h3 { font-size: 1.12rem; margin: 1.4rem 0 0.5rem; color: var(--ink); }
.legal-content p { margin: 0.6rem 0; color: var(--body); }
.legal-content ul, .legal-content ol:not(.legal-toc ol) { margin: 0.6rem 0 0.6rem 1.2rem; color: var(--body); }
.legal-content li { margin: 0.35rem 0; }
.legal-content a { color: var(--primary); font-weight: 600; }
/* Buttons inside legal-content keep their own label color; the generic
   .legal-content a rule above (indigo) would otherwise hide the white
   label of a .btn-primary (indigo background) placed in this region. */
.legal-content a.btn-primary { color: var(--primary-ink); }
.legal-content a.btn-ghost { color: var(--ink); }
.legal-content a.btn-ghost:hover { color: var(--primary); }
.legal-content strong { color: var(--ink); }
.legal-back {
  display: inline-block; margin-top: 2rem;
  font-size: 0.9rem; font-weight: 600; color: var(--primary);
}
.legal-back:hover { color: var(--primary-strong); }

/* Learn hub cards */
.oa-cards { list-style: none; margin: 1rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.9rem; }
.oa-cards li { margin: 0; }
.oa-cards a {
  display: block; height: 100%; padding: 1.1rem 1.2rem;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: var(--shadow-sm); color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.oa-cards a:hover, .oa-cards a:focus-visible {
  border-color: color-mix(in oklab, var(--primary) 35%, var(--line));
  box-shadow: var(--shadow-md); transform: translateY(-3px); outline: none;
}
.oa-cards h3 { margin: 0 0 0.4rem; font-size: 1.02rem; color: var(--ink); }
.oa-cards p { margin: 0; font-size: 0.92rem; color: var(--muted-foreground); }

/* Callout / FAQ / stats used in guides */
.oa-callout { margin: 1.4rem 0 2rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--primary); border-radius: 10px; background: var(--primary-soft); }
.oa-callout p { margin: 0; color: var(--ink); }
.oa-callout a { color: var(--primary); font-weight: 600; }
.oa-faq { margin: 1rem 0 2rem; display: grid; gap: 0.6rem; }
.oa-faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.oa-faq summary { cursor: pointer; list-style: none; padding: 0.9rem 1.1rem; font-weight: 650; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.oa-faq summary::-webkit-details-marker { display: none; }
.oa-faq summary::after { content: "+"; color: var(--primary); font-size: 1.2rem; line-height: 1; }
.oa-faq details[open] summary::after { content: "\2212"; }
.oa-faq .oa-faq-body { padding: 0 1.1rem 1rem; }
.oa-faq .oa-faq-body p { margin: 0; font-size: 0.95rem; color: var(--muted-foreground); }
.oa-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; list-style: none; margin: 1.2rem 0; padding: 0; }
.oa-stats li { margin: 0; padding: 1.1rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }

/* Developers page buttons reuse .btn classes already defined above. */

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
  .legal-hero { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .card:hover, .btn:hover, .nav-cta:hover, .oa-cards a:hover { transform: none; }
}

/* ===========================================================================
   Cookie consent — sticky bottom-left button + preferences panel (light).
   Mirrors the shared markup used site-wide; styled for the .com light theme.
   =========================================================================== */
.cookie-fab {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 9999px;
  cursor: pointer;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--control-border);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cookie-fab:hover,
.cookie-fab:focus-visible {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  outline: none;
}
.cookie-fab svg { display: block; }

.cookie-panel {
  position: fixed;
  left: 1.25rem;
  bottom: 5.25rem;
  z-index: 1001;
  width: min(360px, calc(100vw - 2.5rem));
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  padding: 1.25rem 1.25rem 1rem;
  border-radius: 16px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-sans);
  animation: cookiePop 0.2s ease both;
}
.cookie-panel[hidden] { display: none; }
@keyframes cookiePop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-panel-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.cookie-close {
  background: none; border: none; cursor: pointer; font-size: 1.6rem; line-height: 1;
  color: var(--muted-foreground); transition: color 0.2s ease;
}
.cookie-close:hover, .cookie-close:focus-visible { color: var(--primary); outline: none; }
.cookie-intro { margin-top: 0.6rem; font-size: 0.82rem; line-height: 1.6; color: var(--muted-foreground); }
.cookie-intro a { color: var(--primary); font-weight: 600; }
.cookie-cats { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.cookie-cat { padding: 0.75rem 0.85rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.cookie-cat-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; cursor: pointer; }
.cookie-cat-name { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.cookie-cat-desc { margin-top: 0.45rem; font-size: 0.76rem; line-height: 1.55; color: var(--muted-foreground); }
.cookie-badge {
  font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.25rem 0.5rem; border-radius: 9999px; color: var(--primary-strong); background: var(--primary-soft); font-weight: 700;
}
/* Toggle switch */
.cookie-switch { position: relative; flex: none; width: 2.4rem; height: 1.35rem; }
.cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-slider { position: absolute; inset: 0; border-radius: 9999px; background: var(--control-track); transition: background 0.2s ease; }
.cookie-slider::before {
  content: ""; position: absolute; top: 50%; left: 0.2rem; width: 0.95rem; height: 0.95rem;
  transform: translateY(-50%); border-radius: 50%; background: #ffffff; box-shadow: 0 1px 2px rgba(0,0,0,0.25); transition: left 0.2s ease;
}
.cookie-switch input:checked + .cookie-slider { background: var(--primary); }
.cookie-switch input:checked + .cookie-slider::before { left: calc(100% - 1.15rem); }
.cookie-switch input:focus-visible + .cookie-slider { box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 55%, transparent); }
/* Actions */
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.cookie-btn {
  flex: 1 1 auto; padding: 0.6rem 0.75rem; font-family: var(--font-sans); font-size: 0.82rem; font-weight: 650;
  border-radius: 10px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cookie-btn-ghost { color: var(--ink); background: #fff; border-color: var(--control-border); }
.cookie-btn-ghost:hover, .cookie-btn-ghost:focus-visible { border-color: var(--primary); color: var(--primary); outline: none; }
.cookie-btn-solid { color: var(--primary-ink); background: var(--primary); border-color: var(--primary); box-shadow: 0 6px 16px color-mix(in oklab, var(--primary) 30%, transparent); }
.cookie-btn-solid:hover, .cookie-btn-solid:focus-visible { background: var(--primary-strong); transform: translateY(-1px); outline: none; }

@media (prefers-reduced-motion: reduce) {
  .cookie-panel { animation: none; }
  .cookie-fab:hover { transform: none; }
}

/* ============================================================
   OATH model band + AI security signals + ecosystem (retrofit)
   Light theme (.com).
   ============================================================ */
.oath-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.oath-card {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius, 16px);
  border: 1px solid var(--line);
  background: var(--background);
  box-shadow: var(--shadow-sm);
}
.oath-letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--primary);
}
.oath-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0.7rem 0 0.4rem;
}
.oath-card p { font-size: 0.9rem; line-height: 1.6; color: var(--body); }
.oath-card .oath-terms {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--primary-strong);
}
@media (max-width: 920px) { .oath-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .oath-grid { grid-template-columns: 1fr; } }

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.signal-card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border-radius: var(--radius-sm, 10px);
  border: 1px solid var(--line);
  background: var(--surface);
}
.signal-stat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.signal-card p { font-size: 0.9rem; line-height: 1.6; color: var(--body); margin-bottom: 0.75rem; }
.signal-src { margin-top: auto; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted-foreground); }
@media (max-width: 920px) { .signal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .signal-grid { grid-template-columns: 1fr; } }

.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.eco-card {
  padding: 1.4rem;
  border-radius: var(--radius-sm, 10px);
  border: 1px solid var(--line);
  background: var(--background);
  box-shadow: var(--shadow-sm);
}
.eco-card .eco-ic { width: 2.4rem; height: 2.4rem; margin-bottom: 0.8rem; color: var(--primary); }
.eco-card h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin-bottom: 0.4rem; }
.eco-card p { font-size: 0.88rem; line-height: 1.55; color: var(--body); }
@media (max-width: 920px) { .eco-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .eco-grid { grid-template-columns: 1fr; } }

.flow-figure {
  margin: 2rem 0 0;
  border-radius: var(--radius, 16px);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.25rem;
  overflow-x: auto;
}
.flow-figure svg { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.flow-figcaption { margin-top: 0.8rem; text-align: center; font-size: 0.85rem; color: var(--muted-foreground); }
.uc-video { max-width: 960px; margin-left: auto; margin-right: auto; }
.uc-video video { display: block; width: 100%; height: auto; border-radius: 10px; background: #0b1220; }
@media (max-width: 640px) { .uc-video { padding: 0.4rem; } .uc-video video { border-radius: 8px; } }

/* How it works: video on the left, the three steps on the right. The video
   uses custom translucent controls (play/pause, mute, volume) rendered over
   the frame; the native <video controls> UI is intentionally omitted. */
.hiw-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  margin-top: 1rem;
}
@media (max-width: 860px) {
  .hiw-split { grid-template-columns: 1fr; gap: 1.75rem; }
}

.hiw-video {
  position: relative;
  margin: 0;
  border-radius: var(--radius, 16px);
  overflow: hidden;
  background: #0b1220;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px color-mix(in oklab, #0b1220 18%, transparent);
}
.hiw-video__el {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0b1220;
  cursor: pointer;
}

/* Translucent control bar, overlaid on the bottom of the frame. */
.hiw-video__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  background: linear-gradient(to top, rgb(5 10 20 / 0.62), rgb(5 10 20 / 0));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}
/* Reveal controls on hover/focus-within, and whenever the video is paused. */
.hiw-video:hover .hiw-video__controls,
.hiw-video:focus-within .hiw-video__controls,
.hiw-video.is-paused .hiw-video__controls {
  opacity: 1;
  transform: translateY(0);
}

.hiw-video__btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 140ms ease, transform 120ms ease, border-color 140ms ease;
}
.hiw-video__btn:hover { background: rgb(255 255 255 / 0.28); transform: translateY(-1px); }
.hiw-video__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hiw-ico { width: 20px; height: 20px; fill: currentColor; }

/* Icon state toggling: play vs pause, volume vs muted. */
.hiw-ico--pause,
.hiw-ico--muted { display: none; }
.hiw-video.is-playing .hiw-ico--play { display: none; }
.hiw-video.is-playing .hiw-ico--pause { display: block; }
.hiw-video.is-muted .hiw-ico--vol { display: none; }
.hiw-video.is-muted .hiw-ico--muted { display: block; }

/* A big centred play affordance over the poster before first play. */
.hiw-video__btn--play { position: relative; }

.hiw-video__volume {
  -webkit-appearance: none;
  appearance: none;
  width: 92px;
  height: 4px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.35);
  cursor: pointer;
}
.hiw-video__volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 0;
}
.hiw-video__volume::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
.hiw-video__volume:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.hiw-copy .flow-steps { margin: 0; }

@media (max-width: 640px) {
  .hiw-video__controls { padding: 0.55rem 0.6rem; gap: 0.45rem; }
  .hiw-video__btn { width: 36px; height: 36px; }
  .hiw-video__volume { width: 72px; }
}

/* Capability status labels. Every capability the site names carries one, from
   the code: Available today (running), Coming (built, not yet wired), On our
   roadmap. Markup: <span class="status status--available">Available today</span>. */
.status {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  vertical-align: middle;
}
.status--available { background: #e6f6f6; color: #0b6e6e; border-color: #9fd9d9; }
.status--coming { background: var(--primary-soft); color: var(--primary-strong); border-color: #c7caf8; }
.status--roadmap { background: var(--surface-2); color: var(--body); border-color: var(--control-border); }

/* Use-case flow: the technical path (Identity MCP, identity service, Gateway MCP,
   the service) as an ordered list of steps, each with its status. */
.flow-steps { list-style: none; margin: 1rem 0 0; padding: 0; counter-reset: step; }
.flow-steps li { position: relative; padding: 0.55rem 0 0.55rem 2.4rem; border-top: 1px solid var(--line); }
.flow-steps li:first-child { border-top: 0; }
.flow-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0.55rem;
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary-strong);
  font-size: 0.8rem; font-weight: 700; text-align: center; line-height: 1.6rem;
}
.flow-steps .status { margin-left: 0.4rem; }

/* Blog: post list and article body. */
.post-list { display: grid; gap: 1.25rem; }

/* ===========================================================================
   Blog index: a featured post then a responsive card grid (Blocksy-style).
   =========================================================================== */
.blog-feed { display: grid; gap: 2.5rem; }

/* Featured (newest) post: two columns, visual + copy. */
.post-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgb(10 15 28 / 0.06); }
.post-feature .pf-visual { background: #0b1220; display: block; }
.post-feature .pf-visual svg { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.post-feature .pf-body { padding: 2.2rem; display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; }
.post-feature .pf-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.12; }
.post-feature .pf-body h2 a { color: var(--ink); text-decoration: none; }
.post-feature .pf-body h2 a:hover { color: var(--primary); }
.post-feature .pf-excerpt { color: var(--muted-foreground); font-size: 1rem; line-height: 1.6; }

/* Category pill + meta row, shared by feature and cards. */
.post-tag { align-self: flex-start; display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 0.3rem 0.65rem; border-radius: 999px; }
.post-byline { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; font-size: 0.82rem; color: var(--muted); }
.post-byline .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.6; }

/* Card grid. */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.post-grid .post-item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.post-grid .post-item:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgb(10 15 28 / 0.1); }
.post-grid .pi-visual { background: #0b1220; }
.post-grid .pi-visual svg { display: block; width: 100%; height: 170px; }
.post-grid .pi-body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.post-grid .pi-body h3 { font-size: 1.15rem; line-height: 1.25; }
.post-grid .pi-body h3 a { color: var(--ink); text-decoration: none; }
.post-grid .pi-body h3 a:hover { color: var(--primary); }
.post-grid .pi-excerpt { color: var(--muted-foreground); font-size: 0.92rem; line-height: 1.55; flex: 1; }

@media (max-width: 760px) {
  .post-feature { grid-template-columns: 1fr; }
  .post-feature .pf-visual svg { min-height: 180px; }
  .post-feature .pf-body { padding: 1.5rem; }
}
.post-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.post-card h2 { margin: 0.2rem 0 0.4rem; font-size: 1.25rem; }
.post-meta { font-size: 0.85rem; color: var(--muted); }
.post-body { max-width: 46rem; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 0.92rem; }
.post-body th, .post-body td { text-align: left; vertical-align: top; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); }
.post-body th { color: var(--ink); }

/* Blog article: a two-column layout so the text no longer floats in a narrow
   column with empty space to the right. Article on the left, a sticky aside on
   the right with a themed image and the latest posts. */
.post-hero { padding: 3.5rem 0 1.25rem; }
.post-hero .post-meta { margin-top: 0.75rem; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem; align-items: start; padding-top: 1.5rem; }
.post-layout .post-body { max-width: none; }
.post-aside { position: sticky; top: 5.5rem; display: grid; gap: 1.5rem; }
.post-figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0b1220; }
.post-figure svg { display: block; width: 100%; height: auto; }
.post-figure figcaption { padding: 0.7rem 0.9rem; font-size: 0.78rem; color: var(--muted-foreground); background: #fff; border-top: 1px solid var(--line); }
.post-side-panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.2rem 1.25rem; }
.post-side-panel h2 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.post-side-list { display: grid; gap: 1rem; }
.post-side-list a { display: block; color: var(--ink); font-weight: 650; font-size: 0.98rem; line-height: 1.35; text-decoration: none; }
.post-side-list a:hover { color: var(--primary); }
.post-side-list .post-meta { display: block; margin-top: 0.2rem; font-weight: 400; }
.post-side-list li.is-current a { color: var(--muted-foreground); font-weight: 600; }
.post-side-list li.is-current a:hover { color: var(--muted-foreground); }
@media (max-width: 920px) {
  .post-layout { grid-template-columns: 1fr; gap: 2rem; }
  .post-aside { position: static; grid-template-columns: 1fr 1fr; }
  .post-figure { max-width: 22rem; }
}
@media (max-width: 560px) { .post-aside { grid-template-columns: 1fr; } }
