/* Locally hosted variable fonts; licenses live alongside the font files. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./fonts/Manrope-Latin-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("./fonts/SourceSans3-Latin-Variable.woff2") format("woff2");
}

/* ==========================================================================
   NeoUEM — Editorial Workspace Design System
   Warm bone canvas, Manrope headings, Source Sans 3 UI, 1px structure, muted pastels.
   ========================================================================== */

:root {
  color-scheme: light;

  --bg-base: #f6f3ec;
  --bg-surface: #fdfbf6;
  --bg-surface-elevated: #efede5;
  --bg-surface-glass: rgba(255, 255, 255, 0.78);
  --bg-surface-glass-hover: #f9f9f8;

  --border-subtle: #dad7ce;
  --border-muted: rgba(0, 0, 0, 0.08);
  --border-glow: #eaeaea;
  --border-highlight: rgba(0, 0, 0, 0.12);

  --text-primary: #252c28;
  --text-secondary: #646762;
  --text-muted: #70736e;
  --text-dim: #b0afa9;
  --on-accent: #ffffff;

  --accent: #293d32;
  --accent-hover: #3e5748;
  --accent-glow: transparent;
  --accent-subtle: #f1f0ec;

  --sky: #1f6c9f;
  --sky-glow: transparent;
  --sky-subtle: #e1f3fe;

  --mint: #346538;
  --mint-glow: transparent;
  --mint-subtle: #edf3ec;

  --violet: #1f6c9f;
  --amber: #956400;
  --amber-subtle: #fbf3db;
  --rose: #9f2f2d;
  --rose-subtle: #fdebec;

  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-display: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, "Liberation Mono", "SF Mono", monospace;

  --maxw: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
  --nav-height: 80px;
  --shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.04);

  --mouse-x: 50%;
  --mouse-y: 50%;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html.dark,
html[data-theme="dark"],
html[data-neouem-theme="dark"] {
  color-scheme: dark;

  --bg-base: #1c1917;
  --bg-surface: #292524;
  --bg-surface-elevated: #1c1917;
  --bg-surface-glass: rgba(41, 37, 36, 0.82);
  --bg-surface-glass-hover: #35302c;

  --border-subtle: #44403c;
  --border-muted: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.14);

  --text-primary: #f5f5f4;
  --text-secondary: #a8a29e;
  --text-muted: #78716c;
  --text-dim: #57534e;
  --on-accent: #1c1917;

  --accent: #f5f5f4;
  --accent-hover: #e7e5e4;
  --accent-subtle: #35302c;

  --sky: #7eb6d6;
  --sky-subtle: #243542;
  --mint: #8fad8f;
  --mint-subtle: #243328;
  --amber: #d4a017;
  --amber-subtle: #3d3218;
  --rose: #c97a78;
  --rose-subtle: #3d2424;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background-color: var(--bg-base);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100dvh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.ambient-blob { display: none; }

@keyframes blob-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-48px, 36px, 0); }
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 4000;
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}

p {
  color: var(--text-secondary);
  line-height: 1.65;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }

.mono { font-family: var(--font-mono); }

kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--bg-base);
  padding: 2px 6px;
  color: var(--text-secondary);
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Decorative backgrounds kept in markup — quiet on this canvas */
.aceternity-bg-dots,
.aceternity-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 12%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 12%, transparent 78%);
}

.hero-spotlight,
.ambient-glow-left,
.ambient-glow-right {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-spotlight {
  top: -80px;
  left: 8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(251, 243, 219, 0.55) 0%, transparent 70%);
}

.ambient-glow-left,
.ambient-glow-right { display: none; }

/* --------------------------------------------------------------------------
   Document header
   -------------------------------------------------------------------------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0;
  pointer-events: auto;
  background: rgba(246, 243, 236, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

html.dark .nav-wrap,
html[data-theme="dark"] .nav-wrap {
  background: rgba(28, 25, 23, 0.88);
}

.nav-capsule {
  width: 100%;
  max-width: var(--maxw);
  height: var(--nav-height);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.nav-capsule.scrolled { box-shadow: none; }

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.nav-brand svg {
  width: 22px;
  height: 22px;
  color: var(--text-primary);
}

.nav-brand-badge {
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--sky-subtle);
  color: var(--sky);
  border: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.nav-link:hover { color: var(--text-primary); }

.nav-link.active {
  color: var(--text-primary);
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-signin {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}

.nav-signin:hover { color: var(--text-primary); }

.theme-toggle {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
}

.theme-toggle:hover { color: var(--text-primary); }

html:not(.dark) .theme-toggle .sun-icon,
html[data-theme="light"] .theme-toggle .sun-icon { display: none; }
html.dark .theme-toggle .moon-icon,
html[data-theme="dark"] .theme-toggle .moon-icon { display: none; }

.hamburger {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  padding: 8px;
  cursor: pointer;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  z-index: 999;
  display: none;
  flex-direction: column;
  padding: 88px 24px 32px;
}

.mobile-nav-overlay.open { display: flex; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 18px;
  font-weight: 500;
}

.mobile-nav-links a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   Buttons & tags
   -------------------------------------------------------------------------- */
.btn-shimmer,
.btn-moving-border,
.btn-moving-border-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-accent);
  background: var(--accent);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  animation: none;
  overflow: visible;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-moving-border {
  padding: 0;
  background: transparent;
}

.btn-moving-border::before { display: none; }

.btn-moving-border-inner {
  padding: 10px 18px;
}

.btn-shimmer:hover,
.btn-moving-border:hover .btn-moving-border-inner {
  background: var(--accent-hover);
}

.btn-shimmer:active,
.btn-moving-border:active .btn-moving-border-inner,
.btn-glass:active {
  transform: scale(0.98);
}

.btn-shimmer:focus-visible,
.btn-glass:focus-visible,
.nav-link:focus-visible,
.theme-toggle:focus-visible,
.form-input:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  background: transparent;
  backdrop-filter: none;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-glass:hover { background: var(--bg-surface); }

.badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--amber-subtle);
  border: 0;
  box-shadow: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  position: relative;
  box-shadow: none;
}

.pulse-dot::after { display: none; }

.text-gradient,
.text-gradient-purple,
.text-gradient-mint {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: inherit;
  font-style: italic;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 88px;
  padding-bottom: 88px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 40rem;
}

.hero h1 {
  font-size: clamp(40px, 4.8vw, 66px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 16ch;
}

.hero .lede {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero-art-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: none;
}

.hero-art-glow { display: none; }

.hero-art-fused,
.hero-art-glass {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.hero-art-fused:hover,
.hero-art-glass:hover {
  transform: none;
  box-shadow: none;
}

.hero-art-image {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  object-fit: contain;
  border-radius: 0;
  mask-image: none;
  -webkit-mask-image: none;
  filter: none;
}

.zero-trust-hero-img,
.hero-art-glass img {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.fused-chip { display: none; }

.hero-art-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-align: center;
}

.hero-art-caption svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Platform strip
   -------------------------------------------------------------------------- */
.marquee-section {
  position: relative;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
  overflow: hidden;
}

.marquee-container {
  display: flex;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  animation: marquee-scroll 40s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.marquee-item svg {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  stroke-width: 2.25;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Bento
   -------------------------------------------------------------------------- */
.bento-section {
  position: relative;
  padding: 112px 0;
}

.section-head {
  text-align: left;
  max-width: 40rem;
  margin: 0 0 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-head p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 52ch;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
}

.bento-card::before { display: none; }

.bento-card:hover {
  transform: none;
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-hover);
}

.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.row-span-2 { grid-row: span 2; }

.bento-card-header {
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.bento-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.25;
}

.bento-icon-mint {
  background: var(--mint-subtle);
  color: var(--mint);
}

.bento-icon-sky {
  background: var(--sky-subtle);
  color: var(--sky);
}

.bento-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.bento-card-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.spec-tile {
  padding: 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.spec-tile .label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.spec-tile .meta {
  font-size: 11px;
  color: var(--text-muted);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-mark {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--mint-subtle);
  color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Terminal
   -------------------------------------------------------------------------- */
.terminal-window {
  position: relative;
  z-index: 2;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: none;
}

.terminal-header {
  background: var(--bg-surface);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots { display: flex; gap: 6px; }

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4d4d0;
}

.terminal-dot-red,
.terminal-dot-yellow,
.terminal-dot-green { background: #d4d4d0; }

.terminal-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.terminal-tabs::-webkit-scrollbar { display: none; }

.terminal-tab {
  background: transparent;
  border: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}

.terminal-tab:hover { color: var(--text-primary); }

.terminal-tab.active {
  color: var(--text-primary);
  background: var(--accent-subtle);
  border: 0;
}

.terminal-body {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  min-height: 220px;
  overflow-x: auto;
}

.terminal-pane { display: none; }
.terminal-pane.active { display: block; }

.term-row { margin-bottom: 6px; }
.term-prompt { color: var(--sky); font-weight: 500; }
.term-cmd { color: var(--text-primary); font-weight: 500; }
.term-out { color: var(--text-secondary); padding-left: 8px; }
.term-success { color: var(--mint); }
.term-info { color: var(--sky); }
.term-highlight { color: var(--text-primary); }

.term-cursor {
  display: inline-block;
  color: var(--text-primary);
  animation: blink 1s step-start infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.log-pane {
  padding: 16px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Metrics
   -------------------------------------------------------------------------- */
.metric-meter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.meter-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.meter-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.meter-val {
  font-size: 20px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.meter-val-fast { color: var(--mint); }

.meter-bar-bg {
  width: 100%;
  height: 4px;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
}

.meter-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--text-primary);
}

.meter-bar-mint {
  background: var(--mint);
  box-shadow: none;
}

.meter-bar-indigo {
  background: var(--sky);
  box-shadow: none;
}

.meter-subtext {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Compare table
   -------------------------------------------------------------------------- */
.compare-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  backdrop-filter: none;
  box-shadow: none;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.compare-table th {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: var(--bg-surface-elevated);
}

.compare-table th.highlight-col,
.compare-table td.highlight-col {
  color: var(--text-primary);
  background: var(--mint-subtle);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  font-weight: 600;
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: transparent; }
.compare-table tr:hover td.highlight-col { background: var(--mint-subtle); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 0;
}

.status-yes { background: var(--mint-subtle); color: var(--mint); }
.status-no { background: var(--rose-subtle); color: var(--rose); }
.status-partial { background: var(--amber-subtle); color: var(--amber); }

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */
.lamp-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 24px 100px;
  overflow: hidden;
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
}

.lamp-beam-container { display: none; }

.lamp-content {
  position: relative;
  z-index: 10;
  text-align: left;
  max-width: 40rem;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.lamp-content h2 {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.lamp-content p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 48ch;
}

.lamp-content .badge-glow { align-self: flex-start; }

.lamp-content [style*="justify-content"] {
  justify-content: flex-start !important;
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-hover);
  transform: translateY(8px);
  transition: transform 0.25s var(--ease-out);
}

.modal-overlay.open .modal-card { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transform: rotate(45deg);
}

.modal-close:hover { color: var(--text-primary); }

.modal-head { margin-bottom: 24px; }

.modal-head h3 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
}

.form-input:focus {
  outline: none;
  border-color: var(--text-primary);
  box-shadow: none;
}

.form-feedback {
  font-size: 13px;
  min-height: 18px;
  color: var(--rose);
}

.form-feedback.success { color: var(--mint); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-col p {
  max-width: 34ch;
  font-size: 14px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
/* Only hide after JS opts in (html.js-anim). Without JS, content stays visible. */
html.js-anim .reveal {
  opacity: 0;
  transform: translateY(12px);
}

html.js-anim .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: calc(var(--index, 0) * 80ms);
}

@media (scripting: none) {
  .reveal,
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
  text-align: left;
}

.split-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-visual {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .kpi-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 { max-width: none; }

  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .col-span-3 { grid-column: span 2; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-signin { display: none; }

  .hamburger { display: block; }

  .hero { padding-top: 56px; padding-bottom: 64px; }
  .bento-section { padding: 72px 0; }
  .lamp-section { padding: 80px 24px; }

  .bento-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr; }
  .col-span-1,
  .col-span-2,
  .col-span-3 { grid-column: span 1; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .bento-card [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .marquee-track,
  .ambient-blob { animation: none !important; }

  html.js-anim .reveal,
  html.js-anim .reveal.is-in,
  .reveal,
  .reveal.is-in { opacity: 1; transform: none; transition: none; }
}

/* Sketch artwork stays on an open paper canvas. */
.hero-art-image, .zero-trust-hero-img, .hero-art-glass img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
}
html.dark .hero-art-image, html.dark .zero-trust-hero-img, html.dark .hero-art-glass img {
  mix-blend-mode: normal;
  border-radius: 12px;
}
.nav-brand, .footer-brand { font-family: var(--font-display); }
.hero-art-caption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; margin-top: 24px; }
.aceternity-bg-grid, .aceternity-bg-dots { display: none; }
.badge-glow { background: transparent; color: var(--mint); padding: 0; border-radius: 0; letter-spacing: .13em; font-size: 11px; }
.badge-glow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #bd775b; }
.btn-shimmer, .btn-glass { min-height: 44px; border-radius: 6px; }
.hero-ctas { gap: 16px; }
.hero-ctas .btn-glass { border-color: transparent; padding-left: 8px; }
.hero-ctas .btn-glass span { margin-left: 8px; }
.page-index .hero h1 { font-size: clamp(44px, 5vw, 70px); max-width: 12ch; letter-spacing: -.055em; line-height: 1.08; }
.page-index .hero-art-wrapper { width: 115%; margin-left: -5%; }
/* A unified overview links platform coverage to the three core benefits. */
.platform-band { padding: 52px 0 56px; border-block: 1px solid var(--border-subtle); background: var(--accent-subtle); }
.platform-band-inner { display: grid; grid-template-columns: 1fr 1.45fr; align-items: center; gap: 48px; padding-bottom: 40px; }
.platform-band-label { display: block; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--mint); margin-bottom: 14px; }
.platform-band-copy h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.04em; font-weight: 600; }
.platform-band-copy h2 span { color: var(--text-secondary); }
.platform-agent-link { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; margin-top: 18px; color: var(--mint); }
.platform-agent-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.platform-names { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; }
.platform-names li { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 0 22px 24px; border-left: 1px solid var(--border-subtle); }
.platform-names svg { width: 40px; height: 40px; stroke: var(--text-primary); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.platform-names li > span { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; }
.platform-names small { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 12px; color: var(--text-secondary); font-weight: 400; }
.fleet-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.principle-card { display: flex; flex-direction: column; padding: 28px; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 8px; }
.principle-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.principle-art { width: 72px; height: 72px; flex-shrink: 0; stroke: var(--text-primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.principle-art .sketch-accent { stroke: #bd775b; stroke-width: 1; stroke-dasharray: 3 5; opacity: .65; }
.principle-number { font-family: var(--font-mono); color: var(--text-muted); font-size: 9px; letter-spacing: .06em; white-space: nowrap; }
.fleet-principles h3 { font-size: 21px; line-height: 1.25; margin-bottom: 12px; letter-spacing: -.035em; }
.fleet-principles p { font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.principle-detail { display: block; border-top: 1px solid var(--border-subtle); padding-top: 16px; margin-top: auto; font-size: 11px; color: var(--mint); letter-spacing: .03em; }
.page-index #features { padding-top: 64px; }
.page-index .bento-grid > .bento-card:last-child { grid-column: span 2; }
.bento-card { border-radius: 8px; }
.bento-icon { background: transparent; border: 1px solid var(--border-subtle); color: var(--text-primary); border-radius: 50%; }
.section-head { gap: 18px; }
.deployment-section { border-top: 1px solid var(--border-subtle); padding: 80px 0; }
.deployment-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.deployment-steps article { padding-top: 22px; border-top: 1px solid var(--border-subtle); }
.deployment-steps span { font-family: var(--font-mono); font-size: 11px; color: var(--mint); letter-spacing: .08em; }
.deployment-steps h3 { font-size: 21px; margin: 22px 0 12px; line-height: 1.35; }
.deployment-steps p { font-size: 16px; }
.lamp-section { background: var(--accent-subtle); }
.lamp-content { max-width: calc(var(--maxw) - 48px); }
.lamp-content h2 { max-width: 22ch; }
.footer { padding-top: 56px; }
@media (max-width: 1100px) {
  .nav-link { padding: 6px 8px; }
  .nav-actions { gap: 10px; }
  .nav-menu { gap: 0; }
}
@media (max-width: 1024px) {
  .page-index .hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .page-index .hero-art-wrapper { width: 100%; margin-left: 0; }
}
@media (max-width: 900px) {
  .nav-menu, .nav-signin { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 768px) {
  .page-index .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-index .hero-copy { max-width: 36rem; }
  .page-index .hero h1 { font-size: clamp(44px, 9vw, 64px); }
  .platform-band { padding: 36px 0; }
  .platform-band-inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .platform-names { gap: 12px; }
  .platform-names li { padding: 12px 0 12px 14px; }
  .platform-names li > span { font-size: 16px; }
  .platform-names small { font-size: 11px; }
  .fleet-principles, .deployment-steps { grid-template-columns: 1fr; gap: 16px; }
  .principle-card { padding: 24px; }
  .principle-top { margin-bottom: 18px; }
  .deployment-section { padding: 56px 0; }
  .nav-actions > .btn-shimmer { display: none; }
  .hero-art-caption { font-size: 10px; }
  .bento-card { padding: 24px; }
  .page-index .bento-grid > .bento-card:last-child { grid-column: span 1; }
}

/* Work-email verification inside the tenant-license dialog. */
.modal-card { max-height: calc(100dvh - 48px); overflow-y: auto; }
.verification-intro { display: flex; gap: 10px; align-items: center; font-size: 13px; padding: 12px; background: var(--mint-subtle); color: var(--mint); border-radius: 6px; margin-bottom: 20px; }
.form-hint { font-size: 12px; line-height: 1.5; }
.verification-send { width: 100%; }
.verification-code { margin-top: 16px; }
.verification-code[hidden] { display: none; }
.otp-controls { display: flex; gap: 8px; margin: 6px 0; }
.otp-controls input { min-width: 0; font-family: var(--font-mono); letter-spacing: .16em; }
.verification-status { font-size: 13px; margin: 12px 0 20px; }
.verification-status.verified { color: var(--mint); font-weight: 600; }
.license-submit { width: 100%; margin-top: 12px; }
.request-review-note { margin-top: 12px; }
.modal-card button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 480px) { .modal-overlay { padding: 16px; } .modal-card { padding: 28px 20px; max-height: calc(100dvh - 32px); } }

@media (min-width: 769px) and (max-width: 1100px) {
  .platform-band-inner { grid-template-columns: 1fr 1.3fr; gap: 24px; }
  .platform-names li { padding-left: 16px; }
  .principle-card { padding: 20px; }
  .principle-top { flex-wrap: wrap; gap: 8px; }
}

/* Feature tile illustrations share the hand-drawn benefit-card language. */
#features .feature-sketch { width: 72px; height: 72px; padding: 0; margin-bottom: 20px; background: transparent; border: 0; border-radius: 0; color: var(--text-primary); }
#features .feature-sketch svg { width: 72px; height: 72px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#features .feature-sketch-accent { stroke: #bd775b; stroke-width: 1; stroke-dasharray: 3 5; opacity: .65; }
@media (max-width: 768px) {
  #features .feature-sketch, #features .feature-sketch svg { width: 64px; height: 64px; }
  #features .feature-sketch { margin-bottom: 18px; }
}
