/* ===========================================================================
 * Nightingale OS — Landing / marketing styles
 * Rethemed to the canonical Claude Design system: warm paper ground, aubergine
 * ink, coral accent, aubergine dark bands. Layered on the design-system tokens.
 * (bead nightingale-vv8sx)
 * ======================================================================== */

@import url('ds-tokens.css');

:root {
  /* ---- Site-level vars — mirror the DS marketing site (site.css) --------- */
  --paper:      oklch(96.5% 0.012 80);   /* warm cream ground */
  --paper-2:    oklch(94.2% 0.014 78);   /* slightly deeper panel */
  --ink:        oklch(26% 0.05 312);     /* aubergine-leaning near-black */
  --ink-soft:   oklch(42% 0.04 312);
  --ink-faint:  oklch(56% 0.03 300);
  --line:       oklch(86% 0.018 70);     /* hairline on paper */
  --coral:      var(--brand-coral);
  --coral-deep: var(--brand-coral-deep);
  --aubergine:  var(--brand-aubergine);

  /* ---- Status accents (data / demo UI) — DS light-theme values ----------- */
  --ok:      var(--accent-mint);    /* emerald */
  --watch:   var(--accent-amber);   /* amber */
  --refusal: var(--accent-rose);    /* red */
  --info:    var(--accent-cyan);    /* sapphire — informational data only */
  --growth:  var(--accent-violet);  /* amethyst */

  /* ---- Type + radius ---------------------------------------------------- */
  --radius: 18px;                    /* DS card radius */
  --font-body: var(--font-sans);     /* Nunito Sans */
  /* --font-mono (IBM Plex Mono) and --font-brand (Gabarito) come from ds-tokens.css */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---- Brand lockup: heart-hands badge + wordmark ("the logo") ---------- */
.brand {
  display: inline-flex;
  align-items: center; /* badge sits optically centered with the wordmark */
  gap: 0.24em; /* word-space between .n and .os stays ~0.24em */
  text-decoration: none;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink);
}
/* Heart-hands app-icon mark (navy rounded square baked into the PNG). */
.brand-mark {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  /* badge → wordmark reads ~0.4em (0.24em gap + this margin) while n/OS stays 0.24em */
  margin-right: 0.18em;
  flex: none;
}
.brand .n  { color: var(--coral); }
/* Navy #0b2b5b echoes the badge — allowed in the lockup context only.
   Footer overrides .os to #fff on the aubergine band (see .footer-brand). */
.brand .os { color: #0b2b5b; }
/* The O of "OS" is the brand's four-point-star glyph (inline SVG), not a letter.
   The O-ring inherits currentColor (.os: navy nav / #fff footer); the star stays coral. */
.brand .os { display: inline-flex; align-items: baseline; }
.o-star { display: inline-block; width: .74em; height: .74em; margin-right: .015em; transform: translateY(.045em); }
.o-star circle { stroke: currentColor; }   /* O inherits .os color: navy nav / #fff footer */
.o-star .st { fill: var(--coral); }        /* the four-point star stays coral everywhere */
/* Footer lockup badge variant — smaller mark on the aubergine band. */
.footer-brand .brand-mark { width: 24px; height: 24px; border-radius: 6px; }

/* Navigation */

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px; left: 0;
  background: var(--coral);
  color: #fff;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  z-index: 200;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: #ff6b4a; /* fallback if oklch custom props are unsupported */
  background: var(--coral);
  color: #fff;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 18px oklch(70.7% 0.187 34 / 0.28);
}
.nav-cta:hover { transform: translateY(-1px); background: var(--coral-deep); }

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

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle svg {
  width: 24px; height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: color-mix(in srgb, var(--paper) 97%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
    gap: 0;
    margin-left: 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

/* Active nav link */
.nav-links a.active {
  color: var(--ink);
  font-weight: 700;
}

/* Hero — aubergine dark band */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: var(--aubergine);
  color: oklch(92% 0.02 300);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  top: 20%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(70.7% 0.187 34 / 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; }
/* The owl hero-grid needs the full band width — the 800px cap is for
   centered single-column heroes (index nests .hero-grid inside .hero-inner). */
.hero-inner:has(> .hero-grid) { max-width: 1160px; width: 100%; }

/* When the owl hero-grid is present, retire the empty centered blob —
   the glow moves behind the owl (see .hero-owl::before). */
.hero:has(.hero-grid) .hero-glow { display: none; }

/* Two-column hero: copy left, Charlie the Owl right, on the aubergine band. */
.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  text-align: left;
}
/* Left column reads left-aligned inside the otherwise-centered hero. */
.hero-grid .hero-inner { max-width: none; text-align: left; }
.hero-grid .hero-subtitle,
.hero-grid .hero-stats { margin-left: 0; margin-right: 0; }
.hero-grid .hero-actions { justify-content: flex-start; }

/* Charlie the Owl figure with a soft coral/rosewood radial glow behind
   the transparent PNG. */
.hero-owl {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-owl::before {
  content: "";
  position: absolute;
  inset: -6% -4% -10%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%,
    oklch(70.7% 0.187 34 / 0.34) 0%,     /* coral core */
    oklch(55% 0.14 18 / 0.20) 44%,       /* rosewood mid */
    transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}
.hero-owl img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 18px 42px oklch(20% 0.04 312 / 0.45));
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-aqua);
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  color: #fff;
}
.hero-highlight {
  background: linear-gradient(135deg, var(--coral), var(--brand-aqua));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: oklch(82% 0.03 300);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero-subtitle strong { color: #fff; }
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s var(--ease-standard), background 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: #ff6b4a; /* fallback if oklch custom props are unsupported */
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 18px oklch(70.7% 0.187 34 / 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--coral-deep);
  box-shadow: 0 10px 30px oklch(70.7% 0.187 34 / 0.34);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: var(--ink-faint);
}
/* Ghost button reads on the dark hero + CTA bands */
.hero .btn-ghost,
.subpage-hero .btn-ghost,
.cta .btn-ghost {
  color: #fff;
  border-color: oklch(100% 0 0 / 0.28);
}
.hero .btn-ghost:hover,
.subpage-hero .btn-ghost:hover,
.cta .btn-ghost:hover {
  border-color: oklch(100% 0 0 / 0.5);
  background: oklch(100% 0 0 / 0.06);
}
.btn-large { padding: 16px 36px; font-size: 1.05rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-aqua);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  color: oklch(78% 0.03 300);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 600px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Sections */
.section {
  padding: 100px 24px;
  position: relative;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.eyebrow {
  /* Founder ruling 2026-07-23: kickers in the organic house sans, not mono —
     the tiny letterspaced mono read as "analog typewriter" script. 13px floor. */
  font-family: var(--font-body);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral-deep);
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--coral);
  display: inline-block;
}
.section-header .eyebrow { display: inline-flex; }
.section-title {
  font-family: var(--font-brand);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-body {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 20px auto 0;
  line-height: 1.7;
}

/* Trust Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.trust-card:hover {
  border-color: var(--ink-faint);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.trust-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  margin-bottom: 20px;
}
.trust-card h3 {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.trust-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* Pilot Teaser — soft paper panel */
.pilot-teaser { background: var(--paper-2); border-top: 1px solid var(--line); }
.pilot-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.pilot-metric-row {
  display: flex;
  gap: 32px;
  margin: 32px 0;
}
.pilot-metric-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ok);
}
.pilot-metric-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Savings Bar */
.savings-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.savings-segment {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--paper-2);
  border-left: 4px solid var(--color, var(--coral));
  font-size: 0.9rem;
}
.savings-label { font-weight: 600; color: var(--ink); }
.savings-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ink-soft);
}
.pilot-note {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  margin-top: 16px;
  text-align: center;
}
.pilot-note a { color: var(--coral-deep); text-decoration: none; }
.pilot-note a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .pilot-teaser-grid { grid-template-columns: 1fr; }
}

/* Quote */
.quote {
  text-align: center;
  padding: 80px 24px;
}
.quote blockquote {
  max-width: 700px;
  margin: 0 auto;
}
.quote blockquote p {
  font-family: var(--font-brand);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px;
}
.quote footer {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.quote footer strong { color: var(--coral-deep); }

/* Advisors */
.advisor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.advisor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.advisor-role {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral-deep);
  font-weight: 500;
  margin-bottom: 8px;
}
.advisor-card h3 {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}
.advisor-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .advisor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .advisor-grid { grid-template-columns: 1fr; }
}

/* CTA — aubergine dark band */
.cta {
  text-align: center;
  background: var(--aubergine);
  border-top: 1px solid var(--line);
  color: oklch(92% 0.02 300);
}
.cta .section-title,
.cta .section-title * { color: #fff; }
.cta .section-body { color: oklch(82% 0.03 300); }
.cta .eyebrow { color: var(--brand-aqua); }
.cta .eyebrow::before { background: var(--brand-aqua); }
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0 16px;
}
.cta-note {
  font-size: 0.85rem;
  color: oklch(78% 0.03 300);
}
.cta-note a { color: var(--brand-aqua); text-decoration: none; }
.cta-note a:hover { text-decoration: underline; }

/* Footer — aubergine */
.footer {
  background: var(--aubergine);
  border-top: 1px solid oklch(100% 0 0 / 0.12);
  padding: 48px 24px;
  color: oklch(82% 0.03 300);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand .n  { color: var(--coral); }
.footer-brand .brand .os { color: #fff; }
.footer-meta {
  text-align: center;
  font-size: 0.8125rem;
  color: oklch(70% 0.03 300);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: oklch(82% 0.03 300);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

@media (max-width: 700px) {
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ======== SUBPAGE STYLES ======== */

.subpage-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  position: relative;
  overflow: hidden;
  background: var(--aubergine);
  color: oklch(92% 0.02 300);
}
.subpage-hero .hero-glow {
  width: 400px; height: 400px;
  top: 30%;
}
.subpage-hero .hero-title { font-size: clamp(2rem, 5vw, 3.5rem); }
.subpage-hero .hero-subtitle { max-width: 700px; }

/* Data Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}
.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.data-table th {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  font-weight: 500;
  background: var(--paper-2);
}
.data-table td { color: var(--ink-soft); }
.data-table tr:hover td { background: oklch(26% 0.05 312 / 0.03); }
.data-table .num {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
}
.data-table .highlight { color: var(--ok); }
.data-table .accent { color: var(--coral-deep); }

/* Metric Cards (subpage) */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.metric-card .metric-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral-deep);
  line-height: 1;
}
.metric-card .metric-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--ink-faint);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.metric-card .metric-note {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  margin-top: 8px;
}

@media (max-width: 900px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .metric-grid { grid-template-columns: 1fr; }
}

/* Detail Cards */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.detail-card h3 {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-card p,
.detail-card li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.detail-card ul { margin-top: 12px; padding-left: 20px; }
.detail-card li { margin-bottom: 6px; }

@media (max-width: 800px) {
  .detail-grid { grid-template-columns: 1fr; }
}

/* ROI Bar */
.roi-bar {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
  margin: 32px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.roi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.roi-row:last-child { border-bottom: none; }
.roi-label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.roi-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}
.roi-val.positive { color: var(--ok); }
.roi-val.negative { color: var(--refusal); }

/* Methodology Box */
.methodology {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
}
.methodology h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.methodology p,
.methodology li {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.methodology ul { padding-left: 20px; margin-top: 8px; }
.methodology li { margin-bottom: 4px; }

/* Charlie Page */
.charlie-values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 40px 0;
}
.charlie-value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.charlie-value-card h3 {
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--coral-deep);
}
.charlie-value-card p {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .charlie-values { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .charlie-values { grid-template-columns: 1fr; }
}

/* ======== BRAND ASSET COMPONENTS (bead nightingale-ykheh) ======== */

/* White-paper cover: white framed card wrapping the portrait cover thumbnail.
   Used as a link, so it carries hover lift + focus-visible ring. */
.wp-cover {
  display: inline-block;
  max-width: 340px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  line-height: 0;
  transition: transform 0.2s var(--ease-standard), box-shadow 0.2s;
}
.wp-cover img {
  display: block;
  width: 100%;
  max-width: 312px;   /* 960×1242 cover shown ~300–340px wide */
  height: auto;
  border-radius: 8px;
}
.wp-cover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wp-cover:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--coral);
}

/* Spot illustration: right-aligned owl figure for subpage heroes. */
.spot-owl {
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.spot-owl img {
  width: clamp(280px, 32vw, 360px);
  height: auto;
  filter: drop-shadow(0 14px 30px oklch(20% 0.04 312 / 0.35));
}
.spot-owl.sm img { width: clamp(200px, 24vw, 240px); }

/* Product screenshots — framed captures of the real Owl cockpit, in place of
   mascot spot art. Reads as a browser screenshot: hairline frame, restrained
   elevation, mono caption (data-as-data). */
.product-shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 42px oklch(20% 0.04 312 / 0.22);
}
.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}
.product-shot figcaption {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  padding: 11px 14px;
  background: var(--paper-2);
}

/* A row of two-to-four screenshots inside a content section. */
.shot-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: 44px;
}

/* Hero screenshot sits on the dark aubergine band — invert the frame to a
   light hairline so it reads against the dark surface. */
.hero-shot { width: 100%; }
.hero-grid .hero-shot { max-width: 560px; justify-self: end; }
.hero.subpage-hero .hero-shot { max-width: 640px; margin: 8px 0 0 auto; }
.hero .product-shot {
  border-color: oklch(100% 0 0 / 0.14);
  background: oklch(100% 0 0 / 0.05);
  box-shadow: 0 22px 50px oklch(12% 0.04 312 / 0.5);
}
.hero .product-shot img { border-bottom-color: oklch(100% 0 0 / 0.1); }
.hero .product-shot figcaption {
  color: oklch(82% 0.03 300);
  background: oklch(100% 0 0 / 0.04);
}

/* Hero product demo — the hero shot is a click-to-play video, not an autoplay
   loop. It is a 2-minute NARRATED walkthrough (muted autoplay would discard the
   narration), it costs megabytes nobody asked for on a hero most visitors
   scroll past, and unrequested motion fails the reduced-motion rule — CSS
   cannot pause an autoplaying video, so that compliance is decided in the
   markup, not here. The poster is the same cockpit still the old <img> carried,
   and 1280x800 is the same 16:10 as the 1440x900 poster, so first paint and
   layout are unchanged. */
.product-shot video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 800;
  object-fit: cover;               /* poster and frames share 16:10 — no crop, no pillarbox */
  background: var(--paper-2);      /* never the UA's black box while metadata loads */
  border-bottom: 1px solid var(--line);
}
.hero .product-shot video {
  background: oklch(100% 0 0 / 0.05);
  border-bottom-color: oklch(100% 0 0 / 0.1);
}
/* Keyboard: native controls are focusable; give the frame the house focus ring
   (same two-stop shadow as .wp-cover), inner stop matched to its ground. */
.product-shot video:focus-visible {
  outline: none;
  /* INSET, not outward: .product-shot sets overflow:hidden, which clips an
     outward ring to invisibility — the focus indicator has to be drawn inside
     the video's own box to survive. */
  box-shadow: inset 0 0 0 3px var(--coral), inset 0 0 0 6px var(--paper);
}
.hero .product-shot video:focus-visible {
  box-shadow: inset 0 0 0 3px var(--coral), inset 0 0 0 6px var(--aubergine);
}
/* Honesty line under the caption: the recording is silent with burned-in
   captions (no audio track, no <track> file), plus the readable alternative.
   Same mono caption face, one step down. */
.product-shot figcaption .shot-note {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--ink-faint);
}
.hero .product-shot figcaption .shot-note { color: oklch(78% 0.03 300); }
.product-shot figcaption a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.product-shot figcaption a:hover { color: var(--coral-deep); }
.hero .product-shot figcaption a { color: oklch(92% 0.02 300); }
.hero .product-shot figcaption a:hover { color: var(--coral); }

/* Hero + spot responsive: hero stops forcing full height, owl stacks below. */
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-grid .hero-inner { text-align: center; }
  .hero-grid .hero-subtitle,
  .hero-grid .hero-stats { margin-left: auto; margin-right: auto; }
  .hero-grid .hero-actions { justify-content: center; }
  .hero-owl { order: 2; }
  .hero-owl img { width: 60vw; max-width: 300px; }
  /* Product screenshots are content — they stack, they do not hide. */
  .hero-grid .hero-shot { order: 2; justify-self: center; max-width: 100%; }
  .hero.subpage-hero .hero-shot { max-width: 100%; margin: 24px auto 0; }
  /* Decorative subpage spot hides gracefully on small screens. */
  .spot-owl { display: none; }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.8s var(--ease-out) forwards;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======== GO-LIVE STEP BAND (company.html) ========
   White cards on paper, hairline border, DS radius, coral IBM Plex Mono numerals. */
.golive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.golive-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.golive-card:hover {
  border-color: var(--ink-faint);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.golive-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--coral);
  margin-bottom: 16px;
}
.golive-card h3 {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.golive-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
@media (max-width: 900px) { .golive-grid { grid-template-columns: 1fr; } }

/* Thin full-width brand accent divider (DS sunset gradient). */
.brand-divider {
  height: 3px;
  border: 0;
  margin: 0;
  background: var(--brand-sunset-gradient);
}

/* Reduced motion — calm by default, no reveal jumps */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* The hero demo carries no autoplay and no loop, so there is nothing moving
     to suppress — that is deliberate, and it is the reason this rule is short.
     Keep the frame perfectly static until the user starts it. */
  .product-shot video { transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .fade-in { animation: none !important; }
  .btn:hover, .trust-card:hover, .golive-card:hover, .nav-cta:hover, .btn-primary:hover,
  .wp-cover:hover { transform: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
