/* ===========================================================================
   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: "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; }
.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; }
.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; }
}
