:root {
  /* Dark theme (default — oathera.ai) */
  --background: oklch(0.129 0.042 264.695);
  --foreground: oklch(0.984 0.003 247.858);
  --primary: oklch(0.85 0.15 195);
  --glow-2: oklch(0.7 0.2 330);
  --muted-foreground: oklch(0.704 0.04 256.788);
  /* One consistent type system across the whole site: Inter for all text,
     with Orbitron reserved only for the big brand/display headings. The old
     --font-mono name is kept as an alias of the sans font so existing rules
     stay consistent instead of switching to a monospace face. */
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Orbitron", var(--font-sans);
  --font-mono: var(--font-sans);
  /* Which emblem to show; overridden by the light theme. */
  --emblem-image: url("/oathera-emblem-transparent.png");
  --emblem-opacity: 1;
}

/* Light theme (oathera.com) — white background, darker ink, same accent hues
   but tuned down so they read on light. */
[data-theme="light"] {
  --background: oklch(0.995 0.002 247.858);
  --foreground: oklch(0.21 0.03 264.695);
  --primary: oklch(0.58 0.14 215);
  --glow-2: oklch(0.6 0.17 330);
  --muted-foreground: oklch(0.47 0.03 256.788);
  /* Dark-stroke emblem reads on the white background. */
  --emblem-image: url("/oathera-emblem-dark.png");
  --emblem-opacity: 0.95;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* No underlined hyperlinks anywhere on the site. */
a {
  text-decoration: none;
}

.hero {
  position: relative;
}

/* Animated grid background — fixed to the viewport so it doesn't stretch the
   document or repaint on every scroll frame. */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(color-mix(in oklab, var(--primary) 10%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--primary) 10%, transparent) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  animation: gridmove 20s linear infinite;
}
@keyframes gridmove {
  to {
    background-position: 60px 60px;
  }
}

/* Floating glow orbs */
.orb {
  position: fixed;
  border-radius: 9999px;
  filter: blur(100px);
  opacity: 0.45;
  animation: float 12s ease-in-out infinite;
  pointer-events: none;
}
.orb-a {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -150px;
  left: -100px;
}
.orb-b {
  width: 450px;
  height: 450px;
  background: var(--glow-2);
  bottom: -150px;
  right: -100px;
  animation-delay: -6s;
}
@keyframes float {
  50% {
    transform: translate(60px, 40px) scale(1.1);
  }
}

/* Rotating rings centered on screen */
.rings {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--primary) 35%, transparent);
  transform: translate(-50%, -50%);
}
.ring-1 {
  width: 420px;
  height: 420px;
  border-style: dashed;
  animation: spin 40s linear infinite;
}
.ring-2 {
  width: 620px;
  height: 620px;
  border-top-color: var(--primary);
  animation: spin 18s linear infinite reverse;
}
.ring-3 {
  width: 860px;
  height: 860px;
  border-color: color-mix(in oklab, var(--glow-2) 25%, transparent);
  border-left-color: var(--glow-2);
  animation: spin 30s linear infinite;
}
@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 3px,
    color-mix(in oklab, var(--foreground) 3%, transparent) 3px 4px
  );
}

/* Header */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--foreground);
}
.brand-mark {
  height: 1.75rem;
  width: 1.75rem;
  object-fit: contain;
  /* Swap the rendered image per theme without touching the markup. */
  content: var(--emblem-image);
}
.header-signal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 640px) {
  .header-tag {
    display: none;
  }
}

/* Center content */
.content {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: calc(100vh - 140px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  text-align: center;
}
.emblem {
  height: 8rem;
  width: 8rem;
  object-fit: contain;
  margin-bottom: 2rem;
  opacity: var(--emblem-opacity);
  content: var(--emblem-image);
}
@media (min-width: 640px) {
  .emblem {
    height: 10rem;
    width: 10rem;
  }
}
.eyebrow {
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  color: var(--primary);
}
.title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.15em;
  font-size: clamp(3.75rem, 12vw, 8rem);
  line-height: 1;
}
.divider {
  margin: 2rem 0;
  height: 1px;
  width: 12rem;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
}
.subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  letter-spacing: 0.6em;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}

/* Rich multi-column footer (PRODUCT / DEVELOPERS / COMPANY / LEGAL). */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid color-mix(in oklab, var(--primary) 15%, transparent);
  background: color-mix(in oklab, var(--background) 70%, transparent);
}
.footer-cols {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 18rem;
}
.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--foreground);
  text-decoration: none;
}
.footer-brand .brand img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  content: var(--emblem-image);
}
.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.6;
  letter-spacing: normal;
  color: var(--muted-foreground);
}
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.footer-col a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: normal;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--primary);
  outline: none;
}
.footer-col .soon {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: normal;
  color: color-mix(in oklab, var(--muted-foreground) 70%, transparent);
}
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid color-mix(in oklab, var(--primary) 10%, transparent);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}
@media (max-width: 860px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}
@media (max-width: 520px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Footer social icons (GitHub, LinkedIn) — pinned to the far right. */
.social-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  color: var(--muted-foreground);
  border: 1px solid color-mix(in oklab, var(--primary) 25%, transparent);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}
.social-link:hover,
.social-link:focus-visible {
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 16px color-mix(in oklab, var(--primary) 45%, transparent);
  transform: translateY(-2px);
  outline: none;
}
.social-link svg {
  display: block;
}

@media (max-width: 640px) {
  .site-footer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .social-links {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

/* Effects */
.title-glow {
  text-shadow:
    0 0 20px color-mix(in oklab, var(--primary) 70%, transparent),
    0 0 60px color-mix(in oklab, var(--primary) 40%, transparent);
  animation: flicker 6s infinite;
}
@keyframes flicker {
  0%, 92%, 100% {
    opacity: 1;
  }
  93% {
    opacity: 0.6;
  }
  95% {
    opacity: 1;
  }
  96% {
    opacity: 0.4;
  }
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--muted-foreground),
    var(--primary),
    var(--glow-2),
    var(--muted-foreground)
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: 300% 0;
  }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}

.logo-glow {
  filter:
    drop-shadow(0 0 24px color-mix(in oklab, var(--primary) 45%, transparent))
    drop-shadow(0 0 60px color-mix(in oklab, var(--primary) 20%, transparent));
  animation: logofloat 8s ease-in-out infinite;
}
@keyframes logofloat {
  50% {
    transform: translateY(-10px);
  }
}

.fade-in {
  animation: fadein 1.2s ease both;
}
@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
}

/* Tagline under COMING SOON — short, crawlable summary line. */
.tagline {
  margin-top: 2rem;
  max-width: 44rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Crawlable answer-first content section (AEO/GEO). Sits below the hero fold,
   fully visible to both users and search / AI answer engines. */
.prose {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
  font-family: var(--font-sans);
  color: var(--foreground);
}
.prose section {
  margin-bottom: 2.5rem;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  margin-bottom: 0.9rem;
  color: var(--foreground);
}
.prose h2::before {
  content: "// ";
  color: var(--primary);
  font-family: var(--font-mono);
}
.prose h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 1.75rem 0 0.5rem;
  color: color-mix(in oklab, var(--foreground) 92%, var(--primary));
}
.prose p {
  line-height: 1.75;
  font-size: 1.02rem;
  color: color-mix(in oklab, var(--foreground) 88%, transparent);
}
.prose strong {
  color: var(--foreground);
  font-weight: 700;
}
.prose a {
  color: var(--primary);
  text-decoration: none;
}
.prose a:hover,
.prose a:focus-visible {
  color: color-mix(in oklab, var(--primary) 80%, var(--foreground));
}
.feature-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
  color: color-mix(in oklab, var(--foreground) 88%, transparent);
}
.feature-list li::before {
  content: "∅";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.faq h3 {
  color: var(--foreground);
}

/* ============================================================
   Cookie consent — sticky bottom-left button + preferences panel
   ============================================================ */
.cookie-fab {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 9999px;
  cursor: pointer;
  color: var(--primary);
  background: color-mix(in oklab, var(--background) 82%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 20px color-mix(in oklab, var(--primary) 25%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cookie-fab:hover,
.cookie-fab:focus-visible {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 0 28px color-mix(in oklab, var(--primary) 45%, transparent);
  outline: none;
}
.cookie-fab svg {
  display: block;
}

.cookie-panel {
  position: fixed;
  left: 1.25rem;
  bottom: 5.25rem;
  z-index: 1001;
  width: min(360px, calc(100vw - 2.5rem));
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  padding: 1.25rem 1.25rem 1rem;
  border-radius: 0.9rem;
  color: var(--foreground);
  background: color-mix(in oklab, var(--background) 92%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px color-mix(in oklab, #000 55%, transparent);
  font-family: var(--font-sans);
  animation: cookiePop 0.2s ease both;
}
.cookie-panel[hidden] {
  display: none;
}
@keyframes cookiePop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cookie-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-panel-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--foreground);
}
.cookie-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}
.cookie-close:hover,
.cookie-close:focus-visible {
  color: var(--primary);
  outline: none;
}

.cookie-intro {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: color-mix(in oklab, var(--foreground) 82%, transparent);
}
.cookie-intro a {
  color: var(--primary);
  text-decoration: none;
}

.cookie-cats {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.cookie-cat {
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid color-mix(in oklab, var(--primary) 16%, transparent);
  background: color-mix(in oklab, var(--primary) 5%, transparent);
}
.cookie-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
}
.cookie-cat-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--foreground);
}
.cookie-cat-desc {
  margin-top: 0.45rem;
  font-size: 0.76rem;
  line-height: 1.55;
  color: color-mix(in oklab, var(--foreground) 72%, transparent);
}
.cookie-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 14%, transparent);
}

/* Toggle switch */
.cookie-switch {
  position: relative;
  flex: none;
  width: 2.4rem;
  height: 1.35rem;
}
.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.cookie-slider {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--muted-foreground) 45%, transparent);
  transition: background 0.2s ease;
}
.cookie-slider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.2rem;
  width: 0.95rem;
  height: 0.95rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--background);
  transition: left 0.2s ease;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--primary);
}
.cookie-switch input:checked + .cookie-slider::before {
  left: calc(100% - 1.15rem);
}
.cookie-switch input:focus-visible + .cookie-slider {
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 55%, transparent);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.cookie-btn {
  flex: 1 1 auto;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease;
}
.cookie-btn-ghost {
  color: var(--foreground);
  background: transparent;
  border: 1px solid color-mix(in oklab, var(--primary) 35%, transparent);
}
.cookie-btn-ghost:hover,
.cookie-btn-ghost:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  outline: none;
}
.cookie-btn-solid {
  color: var(--background);
  background: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 0 18px color-mix(in oklab, var(--primary) 40%, transparent);
}
.cookie-btn-solid:hover,
.cookie-btn-solid:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 26px color-mix(in oklab, var(--primary) 55%, transparent);
  outline: none;
}

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

/* ============================================================
   Top navigation (shared, injected on every page)
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 2rem;
  background: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in oklab, var(--primary) 14%, transparent);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--foreground);
  text-decoration: none;
}
.nav-brand img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  content: var(--emblem-image);
}
.nav-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-menu a {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--primary);
  outline: none;
}
.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: var(--background) !important;
  background: var(--primary);
  font-weight: 600;
  box-shadow: 0 0 18px color-mix(in oklab, var(--primary) 35%, transparent);
}
.nav-cta:hover {
  color: var(--background) !important;
  filter: brightness(1.05);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 4px;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0.4rem;
  background: none;
  border: 1px solid color-mix(in oklab, var(--primary) 25%, transparent);
  border-radius: 0.4rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--foreground);
}
@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: color-mix(in oklab, var(--background) 96%, transparent);
    border-bottom: 1px solid color-mix(in oklab, var(--primary) 14%, transparent);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid color-mix(in oklab, var(--primary) 8%, transparent);
  }
  .nav-cta {
    margin-top: 0.6rem;
    text-align: center;
  }
}

/* ============================================================
   Shared section + content primitives
   ============================================================ */
main {
  position: relative;
  z-index: 1;
}
.section {
  position: relative;
  padding: 4.5rem 1.5rem;
}
.section-alt {
  background: color-mix(in oklab, var(--primary) 4%, transparent);
}
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.section-inner.narrow {
  max-width: 760px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15;
  color: var(--foreground);
  margin-bottom: 1.1rem;
}
.section-lead {
  max-width: 68ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: color-mix(in oklab, var(--foreground) 82%, transparent);
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
/* All buttons use the clear/outlined style so text is always legible on both
   themes. (btn-primary kept as an alias of btn-ghost.) */
.btn-primary,
.btn-ghost {
  color: var(--foreground);
  background: transparent;
  border: 1px solid color-mix(in oklab, var(--primary) 35%, transparent);
}
.btn-primary:hover,
.btn-ghost:hover,
.btn-primary:focus-visible,
.btn-ghost:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  outline: none;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Hero band */
.hero-band {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 1.5rem 4.5rem;
  overflow: hidden;
}
.hero-emblem {
  width: 7rem;
  height: 7rem;
  object-fit: contain;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1.02;
  margin: 0.5rem 0 1.25rem;
  text-shadow:
    0 0 24px color-mix(in oklab, var(--primary) 50%, transparent),
    0 0 70px color-mix(in oklab, var(--primary) 25%, transparent);
}
.hero-sub {
  max-width: 60ch;
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
  margin-bottom: 2rem;
}
.hero-band .cta-row {
  justify-content: center;
  margin-bottom: 2.5rem;
}
.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  padding: 0;
  margin: 0;
}
.trust-strip li {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  position: relative;
}
.trust-strip li:not(:last-child)::after {
  content: "·";
  margin-left: 1.4rem;
  color: color-mix(in oklab, var(--primary) 40%, transparent);
}

/* Stat callouts */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.stat-card {
  padding: 1.5rem;
  border-radius: 0.8rem;
  border: 1px solid color-mix(in oklab, var(--primary) 14%, transparent);
  background: color-mix(in oklab, var(--background) 60%, transparent);
}
.stat-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.stat-card p {
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  line-height: 1.6;
}

/* Card grid (pillars / features / integrations) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  padding: 1.6rem;
  border-radius: 0.9rem;
  border: 1px solid color-mix(in oklab, var(--primary) 16%, transparent);
  background: color-mix(in oklab, var(--primary) 4%, transparent);
}
.card-kicker {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--foreground);
  margin-bottom: 0.6rem;
}
.card p {
  color: color-mix(in oklab, var(--foreground) 82%, transparent);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}
.steps li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.step-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--background);
  background: var(--primary);
  box-shadow: 0 0 18px color-mix(in oklab, var(--primary) 40%, transparent);
}
.steps h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--foreground);
  margin-bottom: 0.35rem;
}
.steps p {
  color: color-mix(in oklab, var(--foreground) 82%, transparent);
  line-height: 1.65;
}

/* Q&A blocks */
.qa h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--foreground);
  margin: 1.5rem 0 0.4rem;
}
.qa h3:first-child {
  margin-top: 0;
}
.qa p {
  color: color-mix(in oklab, var(--foreground) 82%, transparent);
  line-height: 1.7;
}

/* Closing CTA band */
.cta-band {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 1.5rem;
  background: color-mix(in oklab, var(--primary) 7%, transparent);
  border-top: 1px solid color-mix(in oklab, var(--primary) 14%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--primary) 14%, transparent);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--foreground);
  margin-bottom: 0.9rem;
}
.cta-band p {
  max-width: 60ch;
  margin: 0 auto 2rem;
  color: color-mix(in oklab, var(--foreground) 82%, transparent);
  line-height: 1.7;
}
.cta-band .cta-row {
  justify-content: center;
}

/* Comparison / defense-in-depth tables on content pages */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border: 1px solid color-mix(in oklab, var(--primary) 16%, transparent);
  vertical-align: top;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
  line-height: 1.55;
}
.data-table th {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 7%, transparent);
}

@media (max-width: 820px) {
  .stat-grid,
  .card-grid,
  .card-grid.cols-3 {
    grid-template-columns: 1fr;
  }
  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table th,
  .data-table td,
  .data-table tr {
    display: block;
  }
  .data-table thead {
    display: none;
  }
  .data-table td {
    border: none;
    border-bottom: 1px solid color-mix(in oklab, var(--primary) 12%, transparent);
    padding: 0.5rem 0;
  }
  .data-table tr {
    padding: 0.75rem 0;
    border-bottom: 1px solid color-mix(in oklab, var(--primary) 20%, transparent);
  }
}
