@font-face {
  font-family: 'Nexa';
  src: url('assets/NexaBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nexa';
  src: url('assets/NexaLight.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ══════════════════════════════════════════════
   GONCHAR — Design System
   Craft level: Dayos-grade
   Motion: Lenis smooth scroll + ease-out-expo
   Section stacking: sticky + border-radius layers
   Light/dark alternating sections
   ══════════════════════════════════════════════ */

:root {
  --primary: #0071e3;
  --primary-hover: #409cff;
  --primary-focus: #0066cc;
  --primary-soft: rgba(0, 113, 227, 0.12);
  --ink: #f7f8f8;
  --body: #d0d6e0;
  --body-strong: #f7f8f8;
  --muted: #8a8f98;
  --muted-soft: #62666d;
  --hairline: #23252a;
  --hairline-soft: #34343a;
  --canvas: #010102;
  --surface-soft: #0f1011;
  --surface-card: #141516;
  --surface-dark: #0f1011;
  --surface-dark-elevated: #141516;
  --surface-dark-soft: #18191a;
  --on-primary: #ffffff;
  --on-dark: #f7f8f8;
  --on-dark-soft: #8a8f98;
  --success: #27a644;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-card: 20px;
  --radius-hero-frame: 64px;
  --radius-pill: 9999px;
  --max: 1120px;

  /* Nexa Bold (display/headings) · Inter (body) · JetBrains Mono (titlebar only) */
  --font-display-condensed: 'Nexa', 'Archivo Black', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Dayos-exact easing functions */
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-snappy: cubic-bezier(.165, .84, .44, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-decel: cubic-bezier(.25, .46, .45, .94);

  --brand-gradient: linear-gradient(145deg, #0d1117 0%, #001a3d 52%, #0071e3 100%);
  --brand-gradient-subtle: linear-gradient(145deg, rgba(13, 17, 23, 0.8) 0%, rgba(0, 26, 61, 0.65) 52%, rgba(0, 113, 227, 0.45) 100%);

  /* Section stacking */
  --section-radius: 40px;
  --section-overlap: 40px;

  /* ── Typography scale ── */
  --text-display: clamp(2.8rem, 6.5vw, 5.5rem);
  --text-h2: clamp(2rem, 4vw, 3rem);
  --text-h3: clamp(1.25rem, 2vw, 1.5rem);
  --text-xl: 1.125rem;
  --text-base: 0.9375rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  /* ── Weights ── */
  --weight-display: 700;
  --weight-bold: 600;
  --weight-medium: 500;
  --weight-regular: 400;

  /* ── Line heights ── */
  --leading-tight: 1.0;
  --leading-snug: 1.15;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* ── Letter spacing ── */
  --tracking-tight: -0.03em;
  --tracking-snug: -0.02em;
  --tracking-normal: -0.01em;
  --tracking-wide: 0.06em;

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  color: var(--body);
  background: var(--canvas);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

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


/* ── Brand mark (legacy dot — hidden when logo images load) ── */
.brand-mark {
  display: none;
}

/* ── Nav logo images ── */
.nav-logo-img {
  display: block;
  height: 16px;
  width: auto;
  flex-shrink: 0;
}
.nav-logo-dark  { display: block; }
.nav-logo-light { display: none; }
.site-header.nav-light .nav-logo-dark  { display: none; }
.site-header.nav-light .nav-logo-light { display: block; }


/* ══════════════════════════════════════════════
   NAVBAR — Floating pill
   ══════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  /* pointer-events none on wrapper so only pill is clickable */
  pointer-events: none;
}

.nav {
  pointer-events: all;
  width: calc(100% - 48px);
  max-width: 1100px;
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 10px 8px 20px;
  border-radius: 16px;
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 14, 0.55);
  transition:
    background 400ms var(--ease),
    border-color 400ms var(--ease),
    color 400ms var(--ease);
}

/* Scrolled: frosted glass */
.site-header.is-scrolled .nav {
  background: rgba(8, 8, 14, 0.55);
  border-color: rgba(255, 255, 255, 0.10);
}

/* Light section nav */
.site-header.nav-light .nav {
  background: rgba(233, 233, 227, 0.55);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-color: rgba(0, 0, 0, 0.07);
  border-radius: 16px;
}
.site-header.nav-light .brand-wordmark { color: #0a0a0a; }
.site-header.nav-light .nav-links a { color: #555550; }
.site-header.nav-light .nav-links a::after { background: #0a0a0a; }
.site-header.nav-light .nav-links a:hover { color: #0a0a0a; }
.site-header.nav-light .nav-cta {
  background: #0a0a0a;
  color: #ffffff;
}
.site-header.nav-light .nav-cta:hover {
  background: #222;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-wordmark {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
  transition: color 400ms var(--ease);
}

/* Nav links with slide-in underline */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(247, 248, 248, 0.65);
}
.nav-links a {
  position: relative;
  padding-bottom: 2px;
  color: rgba(247, 248, 248, 0.65);
  transition: color 160ms var(--ease-snappy);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 240ms var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-normal);
  transition:
    background 160ms var(--ease-snappy),
    transform 200ms var(--ease),
    box-shadow 200ms var(--ease);
}
.nav-cta svg { width: 15px; height: 15px; }
.nav-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.38);
}
.nav-cta:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 70ms;
}


/* ══════════════════════════════════════════════
   SECTION UTILITIES
   ══════════════════════════════════════════════ */

.section, .section-sm {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.section { padding: clamp(100px, 11vw, 140px) 0; }
.section-sm { padding: 56px 0 72px; }

.band-soft {
  /* Background set by [data-theme] — band-soft provides width/padding only */
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - var(--max)) / 2 + 16px));
  padding-right: max(16px, calc((100% - var(--max)) / 2 + 16px));
}
.band-soft.section,
.band-soft.section-sm {
  width: 100%;
  max-width: none;
}


/* ══════════════════════════════════════════════
   SECTION STACK — Layered card stacking
   Sections with rounded tops slide over each other
   as you scroll. Higher z-index wins.
   ══════════════════════════════════════════════ */

.section-stack {
  border-radius: var(--section-radius) var(--section-radius) 0 0;
  margin-top: calc(-1 * var(--section-overlap));
  overflow: hidden;
  /* Dark section edge highlight */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 -4px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="light"].section-stack {
  box-shadow:
    inset 0 1px 0 rgba(0, 0, 0, 0.04),
    0 -4px 24px rgba(0, 0, 0, 0.12);
}

/* Z-index stacking order — matches new DOM order */
section#gap          { z-index: 2; }
section#offerings    { z-index: 3; }
section#audit        { z-index: 5; }
section#pricing      { z-index: 6; }
section#data-privacy { z-index: 7; }
section#onprem       { z-index: 8; }
section#not-do       { z-index: 9; }
section#faq          { z-index: 10; }
.final-cta           { z-index: 11; }
.footer              { z-index: 12; position: relative; }


/* ══════════════════════════════════════════════
   SECTION BACKGROUNDS BY THEME
   Higher specificity beats .band-soft { background }
   ══════════════════════════════════════════════ */

/* Dark sections — unified warm near-black */
section[data-theme="dark"].band-soft {
  background-color: #0d0d0d;
}
section#pricing[data-theme="dark"] {
  background-color: #0d0d0d;
}
section#not-do[data-theme="dark"] {
  background-color: #0d0d0d;
}

/* Light sections — cooler/grayer off-white */
section[data-theme="light"],
section[data-theme="light"].band-soft {
  background-color: #e9e9e3;
}
section#audit[data-theme="light"],
section#audit[data-theme="light"].band-soft {
  background-color: #e4e4de;
}

/* Accent CTA — background from .cta-bg child */
.final-cta[data-theme="accent"] {
  background: transparent;
}


/* ══════════════════════════════════════════════
   TYPOGRAPHY — Dayos scale
   ══════════════════════════════════════════════ */

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1, h2, h3 {
  font-family: var(--font-display-condensed);
  color: var(--ink);
}
h1 {
  max-width: 900px;
  font-size: var(--text-display);
  font-weight: var(--weight-display);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 24px;
}
h2 {
  font-size: var(--text-h2);
  font-weight: var(--weight-display);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-snug);
  margin-bottom: 16px;
}
h3 {
  font-size: var(--text-h3);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-snug);
  margin-bottom: 8px;
  color: var(--ink);
}

.hero-lead,
.section-lead {
  font-family: var(--font-body);
  color: var(--body);
  font-size: var(--text-xl);
  max-width: 480px;
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-normal);
}
.section-lead { margin: 0 auto; }
.section-heading .section-lead { margin-top: 0; }


/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 136px 16px 72px;
  overflow: hidden;
  background: #010102;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform-origin: center top;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(35, 37, 42, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 37, 42, 0.4) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 88% 68% at 50% 42%, black 10%, transparent 70%);
  opacity: 0;
  animation: gridFadeIn 2.2s var(--ease-out) 0.2s forwards;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 90% 55% at 50% 20%, transparent 28%, #010102 100%),
    linear-gradient(to bottom, rgba(1, 1, 2, 0.35) 0%, transparent 28%, transparent 70%, rgba(1, 1, 2, 0.6) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero staggered entrance */
.hero-inner .eyebrow {
  margin-bottom: 20px;
  opacity: 0;
  animation: heroCopyIn 0.9s var(--ease) 0.36s forwards;
}
.hero-inner h1 {
  opacity: 0;
  animation: heroCopyIn 0.9s var(--ease) 0.52s forwards;
}
.hero-inner .hero-lead {
  margin-bottom: 44px;
  opacity: 0;
  animation: heroCopyIn 0.9s var(--ease) 0.68s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 0;
  opacity: 0;
  animation: heroCopyIn 0.9s var(--ease) 0.82s forwards;
}
.hero-guarantee {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 480px;
  margin: 0;
  text-align: center;
  opacity: 0;
  animation: heroCopyIn 0.9s var(--ease) 0.96s forwards;
}
.hero-guarantee > svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
  flex-shrink: 0;
}
.hero-guarantee-headline {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--ink);
  letter-spacing: var(--tracking-snug);
}
.hero-guarantee-detail {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--muted);
}


/* ── Hero Workflow Demo ── */
.hero-workflow-demo {
  position: relative;
  z-index: 1;
  width: min(920px, 92%);
  margin-top: 64px;
  opacity: 0;
  animation:
    convergeFadeIn 0.9s var(--ease) 0.6s forwards,
    deviceFloat 5.5s ease-in-out 2.0s infinite;
}

.wf-device {
  background: rgba(10, 11, 14, 0.97);
  border: 1px solid rgba(52, 52, 58, 0.85);
  border-radius: var(--radius-hero-frame) var(--radius-hero-frame) 20px 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 64px rgba(0, 113, 227, 0.06);
}

.wf-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(16, 17, 20, 0.99);
  border-bottom: 1px solid rgba(35, 37, 42, 0.85);
}
.wf-dots { display: flex; gap: 6px; flex-shrink: 0; }
.wf-dots span { width: 10px; height: 10px; border-radius: 50%; }
.wf-dots span:nth-child(1) { background: #ff5f57; }
.wf-dots span:nth-child(2) { background: #ffbd2e; }
.wf-dots span:nth-child(3) { background: #28c840; }
.wf-titlebar-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.2px;
}
.wf-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  margin-left: auto;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(39, 166, 68, 0.22);
}

.wf-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Query Interface ── */
.qi-prompt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 4px;
}
.qi-prompt-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  font-style: italic;
}
.qi-prompt-enter {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.qi-query {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  opacity: 0;
  animation: qiFadeIn 0.5s ease 1.5s forwards;
}
.qi-cursor {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
}
.qi-query-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.qi-response {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 16px;
  opacity: 0;
  animation: qiFadeIn 0.6s ease 2.2s forwards;
}
.qi-response-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.qi-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  opacity: 0;
}
.qi-item-1 { animation: qiFadeIn 0.4s ease 2.6s forwards; }
.qi-item-2 { animation: qiFadeIn 0.4s ease 2.9s forwards; }
.qi-item-3 { animation: qiFadeIn 0.4s ease 3.2s forwards; }
.qi-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.qi-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  flex: 1;
}
.qi-text strong { color: rgba(255,255,255,0.95); }
.qi-source {
  font-size: 0.68rem;
  color: var(--primary);
  background: rgba(0,113,227,0.12);
  border: 1px solid rgba(0,113,227,0.25);
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
}

.qi-wire-nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}
.qi-arrow {
  color: var(--primary);
  font-style: normal;
}


/* ══════════════════════════════════════════════
   DEVICE FRAMES — CSS-only MacBook Pro (desktop) + iPhone (mobile)
   No PNGs. Pure CSS bezel frames with UI content inside.
   Responsive swap at 768px.
   ══════════════════════════════════════════════ */

/* ── MacBook Pro CSS frame ── */
.device-macbook {
  width: min(860px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 32px 64px rgba(0, 113, 227, 0.12));
}

.device-macbook-lid {
  background: #111114;
  border-radius: 14px 14px 0 0;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-bottom: none;
  padding: 28px 12px 0;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}

/* Camera notch */
.device-macbook-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 20px;
  background: #111114;
  border-radius: 0 0 10px 10px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.device-macbook-notch::after {
  content: '';
  width: 5px;
  height: 5px;
  background: #2a2a30;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}

/* Screen area */
.device-macbook-screen {
  background: #0a0b0e;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
}

/* Keyboard base */
.device-macbook-base {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.device-macbook-hinge {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.06) 20%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.06) 80%,
    transparent
  );
}
.device-macbook-foot {
  height: 18px;
  width: 110%;
  background: linear-gradient(180deg, #1e1e24, #16161c);
  border-radius: 0 0 8px 8px;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-top: none;
  position: relative;
}
/* Trackpad hint */
.device-macbook-foot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18%;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}

/* ── iPhone CSS frame ── */
.device-iphone {
  display: none; /* shown only on mobile via media query */
  width: min(300px, 82vw);
  margin: 0 auto;
  background: #111114;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.12);
  padding: 56px 10px 28px;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 32px 64px rgba(0,0,0,0.4);
  filter: drop-shadow(0 24px 48px rgba(0, 113, 227, 0.12));
}

/* Dynamic Island */
.device-iphone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 28px;
  background: #000;
  border-radius: 20px;
}

/* Side buttons */
.device-iphone-action,
.device-iphone-vol-up,
.device-iphone-vol-down {
  position: absolute;
  left: -2px;
  width: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px 0 0 2px;
}
.device-iphone-action    { top: 16%; height: 18px; }
.device-iphone-vol-up    { top: 24%; height: 28px; }
.device-iphone-vol-down  { top: 34%; height: 36px; }
.device-iphone-power {
  position: absolute;
  right: -2px;
  top: 22%;
  width: 3px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 0 2px 2px 0;
}

/* Screen */
.device-iphone-screen {
  background: #0a0b0e;
  border-radius: 38px;
  overflow: hidden;
  min-height: 380px;
}

/* Home bar */
.device-iphone-bar {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}

/* Strip chrome from wf-device inside CSS device screens */
.device-macbook-screen .wf-device,
.device-iphone-screen .wf-device {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.device-macbook-screen .wf-body,
.device-iphone-screen .wf-body {
  flex: 1;
  overflow: hidden;
}

/* ── Responsive swap ── */
@media (max-width: 767px) {
  .device-macbook { display: none; }
  .device-iphone  { display: block; }
  .hero-workflow-demo { width: min(400px, calc(100% - 24px)); }
}


/* ══════════════════════════════════════════════
   BUTTONS — scale + glow, Dayos-grade
   ══════════════════════════════════════════════ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-normal);
  border: 1px solid transparent;
  transition:
    transform 200ms var(--ease-snappy),
    background 160ms var(--ease-snappy),
    color 160ms var(--ease-snappy),
    border-color 160ms var(--ease-snappy),
    box-shadow 200ms var(--ease-snappy);
}
.button svg { width: 17px; height: 17px; }
.button:hover {
  transform: translateY(-2px) scale(1.02);
}
.button:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 70ms;
}

.button.primary {
  background: var(--primary);
  color: var(--on-primary);
}
.button.primary:hover {
  background: var(--primary-hover);
  box-shadow:
    0 0 0 3px rgba(0, 113, 227, 0.3),
    0 8px 28px rgba(0, 113, 227, 0.44);
}

.button.secondary {
  background: rgba(18, 19, 21, 0.6);
  color: var(--ink);
  border-color: var(--hairline);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.button.secondary:hover {
  background: var(--surface-card);
  border-color: var(--hairline-soft);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.32);
}

.button.wide { width: 100%; max-width: 300px; }

/* CTA Pulse — draws the eye when idle */
@keyframes ctaPulse {
  0%, 100% {
    box-shadow:
      0 2px 10px rgba(0, 113, 227, 0.24),
      0 0 0 0 rgba(0, 113, 227, 0);
  }
  50% {
    box-shadow:
      0 2px 20px rgba(0, 113, 227, 0.52),
      0 0 0 6px rgba(0, 113, 227, 0.1);
  }
}
.cta-pulse {
  animation: ctaPulse 2.8s ease-in-out infinite;
}
.cta-pulse:hover,
.cta-pulse:focus {
  animation: none;
  box-shadow:
    0 0 0 3px rgba(0, 113, 227, 0.18),
    0 8px 28px rgba(0, 113, 227, 0.44);
}


/* ══════════════════════════════════════════════
   LOGOS STRIP
   ══════════════════════════════════════════════ */

.logos {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.logos span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  transition:
    border-color 160ms var(--ease-snappy),
    color 160ms var(--ease-snappy),
    transform 160ms var(--ease-snappy);
}
.logos span svg { width: 13px; height: 13px; color: var(--primary); }
.logos span:hover {
  border-color: var(--hairline-soft);
  color: var(--ink);
  transform: translateY(-1px);
}


/* ══════════════════════════════════════════════
   DIFFERENTIATOR BAR
   ══════════════════════════════════════════════ */

.differentiator-bar {
  position: relative;
  isolation: isolate;
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 14px 0;
}
.differentiator-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.diff-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--muted);
  letter-spacing: var(--tracking-normal);
}
.diff-item svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}
.diff-sep {
  color: var(--hairline-soft);
  font-size: 18px;
  line-height: 1;
  user-select: none;
}


/* ══════════════════════════════════════════════
   SECTION HEADING
   Blur reveal on h2 when parent becomes visible
   ══════════════════════════════════════════════ */

.section-heading {
  max-width: 640px;
  text-align: center;
  margin: 0 auto 56px;
}

/* Heading blur — clears when parent .reveal gets .is-visible */
.section-heading.reveal h2,
.audit-panel.reveal h2,
.not-do-panel.reveal h2,
.cta-panel.reveal h2 {
  filter: blur(4px);
  transition:
    filter 800ms var(--ease) 100ms;
}
.section-heading.is-visible h2,
.audit-panel.is-visible h2,
.not-do-panel.is-visible h2,
.cta-panel.is-visible h2 {
  filter: blur(0);
}


/* ══════════════════════════════════════════════
   OFFERINGS / WHAT WE DO
   Light section: white cards on warm off-white bg
   ══════════════════════════════════════════════ */

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.offering-card {
  position: relative;
  padding: 32px 26px;
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  transition:
    border-color 300ms var(--ease),
    transform 300ms var(--ease),
    box-shadow 300ms var(--ease);
}
.offering-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
}
.offering-step {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--muted-soft);
  letter-spacing: var(--tracking-wide);
}
.offering-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: var(--radius-md);
  background: var(--surface-dark-soft);
  border: 1px solid var(--hairline);
  transition: border-color 200ms var(--ease-snappy);
}
.offering-card:hover .offering-icon {
  border-color: rgba(0, 113, 227, 0.3);
}
.offering-icon svg {
  width: 21px;
  height: 21px;
  color: var(--primary);
}
.offering-price {
  font-family: var(--font-display-condensed);
  font-size: var(--text-sm);
  color: var(--primary);
  margin-bottom: 12px;
}
.offering-card > p:not(.offering-price) {
  margin: 0 0 18px;
  color: var(--body);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}
.offering-list {
  list-style: none;
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.offering-list li {
  position: relative;
  padding-left: 15px;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-snug);
}
.offering-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.65;
}


/* ══════════════════════════════════════════════
   PRICING
   Dark section — dark cards with blue accents
   ══════════════════════════════════════════════ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  transition:
    border-color 300ms var(--ease),
    transform 300ms var(--ease),
    box-shadow 300ms var(--ease);
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 113, 227, 0.42);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.52);
}
/* Featured card: scale on hover instead of lift */
.pricing-card-featured {
  border-color: rgba(0, 113, 227, 0.48);
  border-top: 3px solid var(--primary);
  background: var(--surface-card);
}
.pricing-card-featured:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 40px rgba(0, 113, 227, 0.2);
}
.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pricing-tier {
  font-family: var(--font-display-condensed);
  font-size: var(--text-xs);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: 6px;
}
.pricing-card h3 {
  font-weight: var(--weight-bold);
  color: var(--ink);
  margin-bottom: 14px;
}
.pricing-amount {
  font-family: var(--font-display-condensed);
  font-size: 2rem;
  font-weight: var(--weight-display);
  color: var(--ink);
  letter-spacing: -0.04em;
  margin: 0 0 4px;
  line-height: 1;
}
.pricing-currency {
  font-size: 1.2rem;
  vertical-align: super;
  font-weight: 600;
}
.pricing-range {
  font-size: 1.2rem;
  color: var(--muted);
  font-weight: 400;
}
.pricing-period {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}
.pricing-note {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--primary);
  margin: 0 0 20px;
}
.pricing-list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
  flex: 1;
}
.pricing-list li {
  position: relative;
  padding-left: 15px;
  font-size: var(--text-sm);
  color: var(--body);
  line-height: var(--leading-snug);
}
.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.65;
}
.pricing-card .button {
  margin-top: auto;
}
.pricing-disclaimer {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-normal);
}

.pricing-footnote {
  max-width: 640px;
  margin: 16px auto 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-normal);
}
.pricing-footnote a {
  color: var(--primary);
  opacity: 0.8;
}
.pricing-footnote a:hover {
  opacity: 1;
}

/* Pricing section mesh */
.section-mesh-accent {
  position: relative;
  overflow: hidden;
}
.section-mesh-accent > :not(.section-mesh-bg) {
  position: relative;
  z-index: 1;
}
.section-mesh-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.section-mesh-gradient {
  position: absolute;
  inset: 0;
}
.section-mesh-gradient--pricing {
  background: linear-gradient(
    to bottom,
    rgba(0, 113, 227, 0.15) 0%,
    rgba(0, 26, 61, 0.07) 28%,
    transparent 52%
  );
}


/* ══════════════════════════════════════════════
   AUDIT / OPS SCAN PANEL
   Light section — white deliverable cards
   ══════════════════════════════════════════════ */

.audit-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5.5vw, 72px);
  align-items: start;
}
.audit-copy .section-lead {
  margin: 0 0 32px;
  text-align: left;
}
.deliverable-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.deliverable-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  transition:
    border-color 220ms var(--ease-snappy),
    transform 220ms var(--ease-snappy),
    box-shadow 220ms var(--ease-snappy);
}
.deliverable-list li:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}
.deliverable-list li svg {
  width: 21px;
  height: 21px;
  color: var(--primary);
  margin-top: 2px;
}
.deliverable-list strong {
  display: block;
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: var(--tracking-normal);
}
.deliverable-list span {
  display: block;
  font-size: var(--text-sm);
  color: var(--body);
  line-height: var(--leading-normal);
}


/* ══════════════════════════════════════════════
   WHAT WE DON'T DO
   Dark section — dark cards
   ══════════════════════════════════════════════ */

.not-do-panel {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: clamp(24px, 4.5vw, 52px);
  align-items: start;
}
.not-do-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.not-do-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  font-size: var(--text-base);
  color: var(--body);
  line-height: var(--leading-normal);
  transition:
    border-color 180ms var(--ease-snappy),
    transform 180ms var(--ease-snappy),
    box-shadow 180ms var(--ease-snappy);
}
.not-do-list li:hover {
  border-color: rgba(0, 113, 227, 0.3);
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.not-do-list li svg {
  width: 17px;
  height: 17px;
  color: var(--muted-soft);
  flex-shrink: 0;
  margin-top: 2px;
}


/* ══════════════════════════════════════════════
   FAQ — Smooth custom accordion
   Light section: white cards on warm bg
   ══════════════════════════════════════════════ */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 8px;
}
.faq-item {
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition:
    border-color 200ms var(--ease-snappy),
    box-shadow 200ms var(--ease-snappy);
}
.faq-item.is-open {
  border-color: var(--hairline-soft);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.faq-summary {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--ink);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color 160ms var(--ease-snappy);
}
.faq-summary:hover { color: var(--ink); }
.faq-summary > i,
.faq-summary > svg:not(.faq-chevron) {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}
.faq-summary span {
  flex: 1;
  line-height: 1.4;
}
.faq-chevron {
  width: 17px;
  height: 17px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 320ms var(--ease);
}
.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}
.faq-body {
  height: 0;
  overflow: hidden;
  transition: height 340ms var(--ease);
}
.faq-body p {
  padding: 0 22px 20px 52px;
  margin: 0;
  color: var(--body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}


/* ══════════════════════════════════════════════
   FINAL CTA — Accent gradient
   ══════════════════════════════════════════════ */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 120px) max(16px, calc((100% - var(--max)) / 2 + 16px));
}
/* Higher specificity than .final-cta > * to keep position: absolute */
.final-cta > .cta-bg {
  position: absolute;
  inset: 0;
  background: var(--brand-gradient);
  z-index: 0;
}
.final-cta > * { position: relative; z-index: 1; }

.cta-panel {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  color: var(--ink);
}
.cta-panel .eyebrow {
  color: rgba(247, 248, 248, 0.65);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.cta-panel h2 {
  color: var(--ink);
  margin-top: 16px;
  margin-bottom: 16px;
}
.cta-panel p {
  max-width: 440px;
  margin: 0 auto 32px;
  color: rgba(208, 214, 224, 0.9);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}


/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */

.footer {
  overflow: hidden;
  background: #010102;
  color: var(--muted);
  padding: 56px 0 36px;
  border-top: 1px solid var(--hairline);
  /* Footer participates in stacking chain — slides over CTA */
  border-radius: var(--section-radius) var(--section-radius) 0 0;
  margin-top: calc(-1 * var(--section-overlap));
}
.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 36px;
}
.footer-tagline {
  font-size: var(--text-xs);
  color: var(--muted-soft);
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.footer-top {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 24px;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--body-strong);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li a,
.footer-col li span {
  font-size: var(--text-sm);
  color: var(--muted);
  transition: color 160ms var(--ease-snappy);
}
.footer-col li a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer .brand-wordmark { color: var(--ink); }
.footer p {
  margin: 0;
  font-size: var(--text-xs);
}
.footer a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-xs);
  color: var(--muted);
  transition: color 160ms var(--ease-snappy);
}
.footer a svg { width: 15px; height: 15px; }
.footer a:hover { color: var(--ink); }


/* ══════════════════════════════════════════════
   LIGHT SECTION OVERRIDES
   [data-theme="light"] → warm off-white base
   White cards, dark text, warm muted tones
   ══════════════════════════════════════════════ */

/* Typography */
[data-theme="light"] .eyebrow { color: #888882; }
[data-theme="light"] h2 { color: #0a0a0a; }
[data-theme="light"] .section-heading h2 { color: #0a0a0a; }
[data-theme="light"] h3 { color: #0a0a0a; }
[data-theme="light"] .section-lead { color: #4a4a44; }
[data-theme="light"] .audit-copy .section-lead { color: #4a4a44; }

/* Offering cards — flat white on off-white */
[data-theme="light"] .offering-card {
  background: #ffffff;
  border-color: #e8e8e4;
  box-shadow: none;
}
[data-theme="light"] .offering-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .offering-card h3 { color: #0a0a0a; }
[data-theme="light"] .offering-card > p:not(.offering-price) { color: #4a4a44; }
[data-theme="light"] .offering-list { border-top-color: #e8e8e4; }
[data-theme="light"] .offering-list li { color: #666660; }
[data-theme="light"] .offering-step { color: #aaa8a4; }
[data-theme="light"] .offering-icon {
  background: #ebebE7;
  border-color: #dededa;
}
[data-theme="light"] .offering-card:hover .offering-icon { border-color: rgba(0, 113, 227, 0.3); }

/* Deliverable list */
[data-theme="light"] .deliverable-list li {
  background: #ffffff;
  border-color: #e8e8e4;
}
[data-theme="light"] .deliverable-list li:hover {
  transform: translateY(-2px);
  border-color: #ccc;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .deliverable-list strong { color: #0a0a0a; }
[data-theme="light"] .deliverable-list span { color: #4a4a44; }

/* FAQ */
[data-theme="light"] .faq-item {
  background: #ffffff;
  border-color: #e8e8e4;
}
[data-theme="light"] .faq-item.is-open {
  border-color: rgba(0, 113, 227, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .faq-summary { color: #0a0a0a; }
[data-theme="light"] .faq-summary:hover { color: #0a0a0a; }
[data-theme="light"] .faq-chevron { color: #aaa; }
[data-theme="light"] .faq-body p { color: #4a4a44; }

/* Buttons in light sections */
[data-theme="light"] .button.primary {
  background: #0a0a0a;
  color: #ffffff;
}
[data-theme="light"] .button.primary:hover {
  background: #222222;
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.1),
    0 8px 28px rgba(0, 0, 0, 0.18);
}
[data-theme="light"] .button.secondary {
  background: transparent;
  color: #0a0a0a;
  border-color: #d0d0ca;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
[data-theme="light"] .button.secondary:hover {
  background: #ebebE7;
  border-color: #bbb;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}


/* ══════════════════════════════════════════════
   SCROLL REVEAL — Dayos-exact
   translateY(28px) → 0, 700ms ease-out-expo
   80ms stagger between siblings
   ══════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 80ms sibling stagger */
.stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.stagger > .reveal:nth-child(5) { transition-delay: 320ms; }


/* ══════════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════════ */

@keyframes gridFadeIn {
  to { opacity: 0.5; }
}
/* Hero device entrance: scale(0.96) → scale(1) with fade */
@keyframes convergeFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Device levitation — ±6px spec */
@keyframes deviceFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
@keyframes qiFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes headlineReveal {
  from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}


/* ══════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal,
  .hero-inner .eyebrow,
  .hero-inner h1,
  .hero-inner .hero-lead,
  .hero-actions,
  .hero-grid,
  .hero-workflow-demo,
  .qi-query, .qi-response, .qi-item-1, .qi-item-2, .qi-item-3,
  .jv-query, .jv-response, .jv-alert-1, .jv-alert-2, .jv-alert-3 {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
  .section-heading.reveal h2,
  .audit-panel.reveal h2,
  .not-do-panel.reveal h2,
  .cta-panel.reveal h2 {
    filter: none !important;
  }
}


/* ══════════════════════════════════════════════
   STATIC FILM GRAIN
   SVG feTurbulence fractal noise — purely static,
   no keyframes, no animation. Applied via ::before
   pseudo-elements so HTML stays untouched.
   ══════════════════════════════════════════════ */

/* Shared grain layer base */
.hero-bg::after,
.logos::before,
section#gap::before,
section#offerings::before,
section#pricing::before,
section#data-privacy::before,
section#onprem::before,
section#audit::before,
section#not-do::before,
section#faq::before,
.final-cta::before,
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
}

/* Hero grain — lives inside .hero-bg (which is a stacking context
   via position: absolute + z-index: 0 + will-change: transform).
   z-index: 3 places grain above .hero-vignette (z: 2) within that
   context, while .hero-inner (z: 1 in hero's context) stays on top
   of .hero-bg as a whole. */
.hero-bg::after {
  z-index: 3;
  opacity: 0.10;
}

/* Dark section grain — clear texture on near-black surfaces */
.logos::before,
section#gap::before,
section#pricing::before,
section#data-privacy::before,
section#onprem::before,
section#not-do::before,
.footer::before {
  z-index: -1;
  opacity: 0.10;
}

/* Light section grain — higher opacity for visibility on off-white */
section#offerings::before,
section#audit::before,
section#faq::before {
  z-index: -1;
  opacity: 0.15;
}

/* CTA accent gradient grain — above .cta-bg (z: 0), below content (z: 1).
   ::before pseudo-elements are not matched by .final-cta > * so z-index
   is set independently here. At same z-index level as content, ::before
   paints first (pseudo precedes DOM children), so content appears on top. */
.final-cta::before {
  z-index: 1;
  opacity: 0.10;
}


/* ══════════════════════════════════════════════
   BODY TEXT SIZE
   Sections use --text-base (15px); leads use --text-xl.
   ══════════════════════════════════════════════ */

p { font-size: var(--text-base); }
.section-lead { font-size: var(--text-xl); }


/* ══════════════════════════════════════════════
   PRICING TRANSPARENCY CALLOUT
   Subtle inline note below pricing cards
   ══════════════════════════════════════════════ */

.pricing-transparency {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.pt-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.pt-header i,
.pt-header svg {
  width: 14px;
  height: 14px;
  color: var(--muted-soft);
  flex-shrink: 0;
}
.pt-header > span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-soft);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.pt-lead {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.65;
}
.pt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.pt-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pt-col-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--body-strong);
  letter-spacing: -0.01em;
}
.pt-col-text {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}


/* ══════════════════════════════════════════════
   HOW IT WORKS STRIP — inside pricing section
   ══════════════════════════════════════════════ */

.how-it-works {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto 52px;
  padding: 24px 28px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  gap: 5px;
  padding: 0 12px;
}
.hiw-num {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--primary);
  letter-spacing: 0.1em;
}
.hiw-label {
  font-family: var(--font-display-condensed);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hiw-desc {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.5;
}
.hiw-arrow {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  opacity: 0.5;
  padding: 0 4px;
}


/* ══════════════════════════════════════════════
   PRICING DUAL — setup + care price display
   ══════════════════════════════════════════════ */

.pricing-dual {
  margin: 0 0 6px;
}
.pricing-dual-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 5px;
}
.pricing-dual-label {
  font-size: var(--text-xs);
  color: var(--muted);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 42px;
  flex-shrink: 0;
}
.pricing-dual-amount {
  font-family: var(--font-display-condensed);
  font-size: 1.65rem;
  font-weight: var(--weight-display);
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
.pricing-dual-amount--care {
  font-size: 1.15rem;
  color: var(--body);
}
.pricing-currency--sm {
  font-size: 0.85rem;
  vertical-align: super;
  font-weight: 600;
}
.pricing-dual-row--care {
  opacity: 0.72;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 6px;
  margin-top: 2px;
}


/* ══════════════════════════════════════════════
   ON-PREMISE PRICING CALLOUT
   Dark premium card below the 3 pricing cards
   ══════════════════════════════════════════════ */

.onprem-pricing-callout {
  position: relative;
  max-width: 100%;
  margin: 32px 0 28px;
  padding: 36px 40px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(0, 26, 61, 0.55) 0%, rgba(0, 10, 28, 0.85) 100%);
  border: 1px solid rgba(0, 113, 227, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 4px 40px rgba(0, 0, 0, 0.45),
    0 0 72px rgba(0, 113, 227, 0.07);
  overflow: hidden;
}
.onprem-pricing-callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 113, 227, 0.55) 40%, rgba(0, 113, 227, 0.55) 60%, transparent 100%);
}
.opc-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 14px;
  border-radius: 6px;
  background: rgba(0, 113, 227, 0.12);
  border: 1px solid rgba(0, 113, 227, 0.28);
  color: var(--primary);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.opc-badge i, .opc-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.opc-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: start;
}
.opc-copy h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--ink);
  margin-bottom: 10px;
}
.opc-tagline {
  color: var(--body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  margin-bottom: 20px;
  max-width: 460px;
}
.opc-list {
  margin-bottom: 24px;
}
.opc-pricing {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.opc-price-row {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 200ms var(--ease-snappy);
}
.opc-price-row:hover {
  border-color: rgba(255, 255, 255, 0.13);
}
.opc-price-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}
.opc-price-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--body-strong);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.opc-price-pass {
  font-size: 0.65rem;
  color: var(--primary);
  background: rgba(0, 113, 227, 0.1);
  border: 1px solid rgba(0, 113, 227, 0.22);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.opc-price-value {
  display: block;
  font-family: var(--font-display-condensed);
  font-size: 1.5rem;
  font-weight: var(--weight-display);
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.opc-price-period {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 400;
}
.opc-price-note {
  display: block;
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .opc-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .how-it-works {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
  .hiw-arrow {
    transform: rotate(90deg);
  }
  .onprem-pricing-callout {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .opc-badge { font-size: 0.6rem; }
}


/* ══════════════════════════════════════════════
   ON-PREMISE HARDWARE SECTION
   Dark standalone section after pricing
   ══════════════════════════════════════════════ */

.onprem .section-heading {
  margin-bottom: 44px;
}

/* ── Visual wrapper — centered Mac Studio stack ── */
.onprem-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(960px, calc(100% - 32px));
  margin: 0 auto 64px;
  padding: 48px 0;
}

/* ── Mac Studio Stack illustration ── */
.mac-stack-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(280px, 85vw);
  margin: 0 auto;
  position: relative;
}

/* Soft halo behind stack — Apple product page atmosphere */
.mac-stack-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(200,200,200,0.06) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.mac-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Each Mac Studio unit — premium aluminum render */
.mac-studio-unit {
  width: 100%;
  height: 78px;
  background: linear-gradient(
    180deg,
    #ddddd8 0%,
    #c8c8c4 15%,
    #b8b8b4 60%,
    #a8a8a4 100%
  );
  border-radius: 16px;
  position: relative;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 -1px 0 rgba(0,0,0,0.15) inset,
    0 8px 32px rgba(0,0,0,0.35),
    0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 0;
}

/* Ventilation slots — recessed, realistic */
.mac-studio-vents {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.mac-studio-vent {
  width: 4px;
  height: 40px;
  background: rgba(0,0,0,0.35);
  border-radius: 2px;
  box-shadow:
    inset 0 2px 2px rgba(0,0,0,0.3),
    inset 0 -1px 1px rgba(0,0,0,0.2);
}

/* SD card / port horizontal slot — recessed */
.mac-studio-slot {
  height: 5px;
  width: 52px;
  background: rgba(0,0,0,0.35);
  border-radius: 3px;
  margin-left: 12px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

/* Node label — hidden (Apple-style: no text on product) */
.mac-studio-node-label {
  display: none;
}

/* Power LED — steady warm white, Apple-authentic */
.mac-studio-led {
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(255,255,255,0.6);
  flex-shrink: 0;
  position: absolute;
  right: 20px;
}

/* Caption below stack — Apple-style spec line */
.mac-stack-caption {
  margin: 20px 0 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted-soft);
  letter-spacing: 0.01em;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
/* Premium network switch — dark anodized aluminum */
.mac-switch-unit {
  width: 100%;
  height: 32px;
  background: linear-gradient(180deg, #2a2a2e 0%, #1e1e22 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.55),
    0 6px 18px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* Switch label — hidden (no text on product) */
.mac-switch-label {
  display: none;
}

.mac-switch-ports {
  display: flex;
  gap: 1.5px;
  flex: 1;
  justify-content: center;
}

.mac-switch-ports span {
  width: 5px;
  height: 9px;
  border-radius: 1px;
  background: #2c2c32;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* First 4 ports show as active (lit) */
.mac-switch-ports span:nth-child(-n+4) {
  background: rgba(52, 199, 89, 0.18);
  border-color: rgba(52, 199, 89, 0.28);
}




/* Typical setup block */
.onprem-setup {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}
.onprem-setup h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.onprem-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 auto 22px;
  text-align: left;
  max-width: 440px;
}
.onprem-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.5;
}
.onprem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.65;
}
.onprem-footnote {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.65;
}


/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .offerings-grid,
  .audit-panel,
  .not-do-panel {
    grid-template-columns: 1fr;
  }
  .audit-copy .section-lead {
    margin-left: 0;
    max-width: 100%;
  }
  :root {
    --section-radius: 28px;
    --section-overlap: 28px;
  }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { padding-top: 108px; }
  .hero-workflow-demo { margin-top: 32px; }
  .nav {
    width: calc(100% - 32px);
    padding: 8px 10px 8px 16px;
  }
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .how-it-works { margin-bottom: 36px; }
  .differentiator-inner { gap: 16px; }
  .diff-sep { display: none; }
  .pt-grid { grid-template-columns: 1fr; }
  .onprem-visual {
    grid-template-columns: 1fr;
    gap: 32px;
    width: calc(100% - 32px);
  }
  .hardware-photo-wrap { order: -1; }
}

@media (max-width: 560px) {
  .section, .section-sm, .nav, .footer-inner {
    width: min(100% - 24px, var(--max));
  }
  .nav-cta span { display: inline; }
  .nav-cta [data-lucide] { display: none; }
  .nav-cta { padding: 10px 14px; }
  .logos { justify-content: center; }
  .deliverable-list li { grid-template-columns: 36px 1fr; padding: 14px 16px; }
  :root {
    --section-radius: 20px;
    --section-overlap: 20px;
  }
  /* Mac Studio stack — compact on very small screens */
  .mac-studio-unit { height: 62px; }
  .mac-studio-vent { height: 30px; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
}

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

/* ══════════════════════════════════════════════
   MOBILE — Full-width buttons + card text fixes
   ══════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* All CTA buttons go full-width on mobile */
  .hero-actions .button,
  .pricing-card .button,
  .audit-copy .button,
  .onprem-setup .button,
  .dp-card .button,
  .cta-panel .button {
    width: 100%;
    max-width: none;
  }
  /* Ensure wide modifier also removes max-width */
  .button.wide {
    max-width: none;
  }
  /* Card body text: ensure readable size and word-break */
  .offering-card > p,
  .offering-list li,
  .pricing-list li,
  .pricing-card h3,
  .deliverable-list span,
  .not-do-list li,
  .dp-card > p,
  .dp-list li {
    font-size: 14px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  /* Pricing grid: single column on mobile */
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════════════════════
   GAP SECTION — editorial dark
   ══════════════════════════════════════════════ */

.gap-section {
  padding: clamp(72px, 9vw, 116px) max(16px, calc((100% - var(--max)) / 2 + 16px));
}

.gap-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.gap-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

.gap-headline {
  font-family: var(--font-display-condensed);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--weight-display);
  color: var(--ink);
  letter-spacing: var(--tracking-snug);
  line-height: var(--leading-snug);
  margin-bottom: 24px;
}

.gap-body {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: var(--body);
  line-height: var(--leading-relaxed);
  max-width: 560px;
  margin: 0 auto 28px;
}

.gap-closer {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--primary);
  letter-spacing: var(--tracking-normal);
  margin: 0;
}


/* ══════════════════════════════════════════════
   DATA PRIVACY SECTION
   ══════════════════════════════════════════════ */

.dp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
}

.dp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  transition:
    border-color 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.dp-card-featured {
  border-color: rgba(0, 113, 227, 0.4);
  border-top: 3px solid var(--primary);
}

.dp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(0, 113, 227, 0.12);
  border: 1px solid rgba(0, 113, 227, 0.28);
  color: var(--primary);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}

.dp-badge i,
.dp-badge svg {
  width: 12px;
  height: 12px;
}

.dp-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--surface-dark-soft);
  border: 1px solid var(--hairline);
  flex-shrink: 0;
}

.dp-icon svg {
  width: 21px;
  height: 21px;
  color: var(--primary);
}

.dp-card h3 {
  font-size: var(--text-h3);
  color: var(--ink);
  margin-bottom: 8px;
}

.dp-tagline {
  font-size: var(--text-sm);
  color: var(--primary);
  font-weight: var(--weight-medium);
  margin: 0 0 14px;
}

.dp-card > p:not(.dp-tagline) {
  font-size: var(--text-sm);
  color: var(--body);
  line-height: var(--leading-relaxed);
  margin: 0 0 20px;
}

.dp-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  flex: 1;
}

.dp-list li {
  position: relative;
  padding-left: 15px;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-snug);
}

.dp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.65;
}

.dp-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.dp-footnote {
  max-width: 560px;
  margin: 20px auto 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-normal);
}
.dp-footnote a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ══════════════════════════════════════════════
   LEGAL PAGES (privacy.html, terms.html)
   ══════════════════════════════════════════════ */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.legal-page .legal-meta {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: 56px;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  color: var(--ink);
  margin: 40px 0 12px;
  letter-spacing: var(--tracking-snug);
}

.legal-page p,
.legal-page li {
  font-size: var(--text-base);
  color: var(--body);
  line-height: var(--leading-relaxed);
}

.legal-page ul,
.legal-page ol {
  padding-left: 20px;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-page a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 24px;
  background: rgba(1, 1, 2, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-header a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--muted);
  transition: color 160ms var(--ease-snappy);
}

.legal-header a:hover { color: var(--ink); }

.legal-footer {
  background: #010102;
  border-top: 1px solid var(--hairline);
  padding: 32px 24px;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--muted);
}

/* ══════════════════════════════════════════════
   JARVIS UI — Dashboard Visualization
   Atlas design tokens, in-device hero
   ══════════════════════════════════════════════ */

/* ── Layout: sidebar + main ── */
.device-macbook-screen .wf-body,
.device-iphone-screen .wf-body {
  flex-direction: row !important;
  padding: 0 !important;
  gap: 0 !important;
  background: #0a0a0f;
}

/* ── Sidebar ── */
.jv-sidebar {
  width: 110px;
  background: #13131f;
  border-right: 1px solid rgba(255,255,255,0.07);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
}
.jv-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 6px;
}
.jv-logo-dot {
  width: 8px;
  height: 8px;
  background: #0066ff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,102,255,0.55);
  flex-shrink: 0;
}
.jv-logo span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.3px;
}
.jv-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 8px;
  flex: 1;
}
.jv-nav-item {
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 10.5px;
  color: rgba(255,255,255,0.40);
  cursor: default;
}
.jv-nav-active {
  background: rgba(0,102,255,0.12);
  color: #0066ff;
  border: 1px solid rgba(0,102,255,0.22);
}
.jv-sources {
  padding: 8px 12px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 6px;
}
.jv-sources-label {
  font-size: 8.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.30);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.jv-source-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3.5px 0;
  font-size: 9.5px;
  color: rgba(255,255,255,0.50);
}
.jv-source-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.jv-dot-success { background: #10b981; }
.jv-dot-warn    { background: #f59e0b; }
.jv-dot-danger  { background: #ef4444; }

/* ── Main area ── */
.jv-main {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  min-width: 0;
}

/* KPI cards */
.jv-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  flex-shrink: 0;
}
.jv-kpi-card {
  background: #111118;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 9px 10px;
}
.jv-kpi-label {
  font-size: 8.5px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jv-kpi-value {
  font-size: 19px;
  font-weight: 700;
  color: rgba(255,255,255,0.90);
  line-height: 1;
}
.jv-value-danger { color: #ef4444; }
.jv-value-warn   { color: #f59e0b; }
.jv-kpi-delta {
  font-size: 8.5px;
  margin-top: 3px;
  white-space: nowrap;
}
.jv-delta-success { color: #10b981; }
.jv-delta-warn    { color: #f59e0b; }
.jv-delta-danger  { color: #ef4444; }

/* AI Prompt bar */
.jv-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 9px 12px;
  flex-shrink: 0;
}
.jv-prompt-icon {
  font-size: 11px;
  color: #0066ff;
  flex-shrink: 0;
}
.jv-prompt-text {
  font-size: 10.5px;
  color: rgba(255,255,255,0.30);
  font-style: italic;
  flex: 1;
}
.jv-prompt-enter {
  font-size: 9.5px;
  color: rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.07);
  padding: 2px 5px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Query line */
.jv-query {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  flex-shrink: 0;
  opacity: 0;
  animation: jvFadeIn 0.5s ease 1.5s forwards;
}
.jv-query-cursor {
  color: #0066ff;
  font-size: 14px;
  font-weight: 700;
}
.jv-query-text {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* Response card */
.jv-response {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 9px;
  padding: 11px 13px;
  flex-shrink: 0;
  opacity: 0;
  animation: jvFadeIn 0.6s ease 2.0s forwards;
}
.jv-response-label {
  font-size: 8.5px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 9px;
}
.jv-alert-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  opacity: 0;
}
.jv-alert-1 { animation: jvFadeIn 0.4s ease 2.4s forwards; }
.jv-alert-2 { animation: jvFadeIn 0.4s ease 2.7s forwards; }
.jv-alert-3 { animation: jvFadeIn 0.4s ease 3.0s forwards; }
.jv-alert-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.jv-alert-text {
  font-size: 10.5px;
  color: rgba(255,255,255,0.75);
  flex: 1;
}
.jv-alert-text strong { color: rgba(255,255,255,0.95); }
.jv-badge {
  font-size: 8.5px;
  color: #0066ff;
  background: rgba(0,102,255,0.12);
  border: 1px solid rgba(0,102,255,0.22);
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.jv-nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  font-size: 9.5px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}
.jv-nudge-arrow {
  color: #0066ff;
  font-style: normal;
}

/* Fade-in keyframe */
@keyframes jvFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── iPhone: hide sidebar, 2×2 KPI grid ── */
.device-iphone-screen .jv-sidebar {
  display: none;
}
.device-iphone-screen .jv-kpi-row {
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.device-iphone-screen .jv-kpi-card {
  padding: 7px 9px;
}
.device-iphone-screen .jv-kpi-value {
  font-size: 16px;
}
.device-iphone-screen .jv-main {
  padding: 10px 12px;
  gap: 8px;
}
.device-iphone-screen .jv-prompt {
  padding: 8px 10px;
}
.device-iphone-screen .jv-alert-text,
.device-iphone-screen .jv-query-text {
  font-size: 10px;
}
.device-iphone-screen .jv-response {
  padding: 9px 11px;
}

/* prefers-reduced-motion: show all jv- elements immediately */
@media (prefers-reduced-motion: reduce) {
  .jv-query, .jv-response,
  .jv-alert-1, .jv-alert-2, .jv-alert-3 {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
