/* Lunavo — Site styles */

/* Self-hosted fonts (no third-party requests) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #002D3E;
  --navy-900: #001a24;
  --navy-700: #064256;
  --orange: #FF4C28;
  --orange-600: #e83d1c;
  --cream: #FBF9EE;
  --cream-200: #f4f0d8;
  --cornflower: #9ABDFF;
  --sky: #6185F5;
  --neon: #E7FE68;
  --white: #FFFFFF;
  --ink: #002D3E;
  --ink-70: rgba(0,45,62,.70);
  --ink-55: rgba(0,45,62,.55);
  --ink-25: rgba(0,45,62,.22);
  --ink-12: rgba(0,45,62,.12);
  --ink-06: rgba(0,45,62,.06);
  --cream-on-navy-70: rgba(251,249,238,.70);
  --cream-on-navy-55: rgba(251,249,238,.55);
  --cream-on-navy-22: rgba(251,249,238,.22);
  --cream-on-navy-12: rgba(251,249,238,.12);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 36px;

  --ff-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
}

/* ——— Typography system ——— */
.display {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.display-xl { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -0.015em; }
.display-lg { font-size: clamp(44px, 6vw, 96px); }
.display-md { font-size: clamp(32px, 4.4vw, 64px); }
.display-sm { font-size: clamp(24px, 2.6vw, 40px); }

.eyebrow {
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 500;
}
.body-lg { font-size: 19px; line-height: 1.55; }
.body   { font-size: 16px; line-height: 1.6; }
.small  { font-size: 13px; line-height: 1.5; }

/* ——— Layout ——— */
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .wrap { padding: 0 22px; } }

section { position: relative; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 72px 0; }
@media (max-width: 720px) {
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 48px 0; }
}

/* ——— Theme surfaces ——— */
.on-cream { background: var(--cream); color: var(--ink); }
.on-navy  { background: var(--navy); color: var(--cream); }
.on-navy .ink-70 { color: var(--cream-on-navy-70); }
.on-navy .ink-55 { color: var(--cream-on-navy-55); }
.on-navy .border-ink-12 { border-color: var(--cream-on-navy-12) !important; }
.on-white { background: var(--white); color: var(--ink); }

.ink-70 { color: var(--ink-70); }
.ink-55 { color: var(--ink-55); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 24px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--orange);
  color: var(--cream);
}
.btn-primary:hover { background: var(--orange-600); }
.btn-lg {
  padding: 20px 30px 20px 34px;
  font-size: 17px;
  gap: 14px;
}
.btn-lg .arrow-circle { width: 26px; height: 26px; }
.btn-ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.btn-ghost:hover { background: currentColor; color: var(--navy); }
.on-navy .btn-ghost:hover { color: var(--navy); }

.btn .arrow-circle {
  width: 22px; height: 22px; border-radius: 50%;
  background: currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.btn-primary .arrow-circle { background: var(--cream); color: var(--orange); }
.btn-primary .arrow-circle svg { stroke: var(--orange); }

/* ——— Navbar ——— */
.nav {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
  background: rgba(0, 45, 62, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(251,249,238,.12);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  color: var(--cream);
  max-width: calc(100% - 40px);
}
.nav-logo { display: flex; align-items: center; gap: 10px; margin-right: 16px; }
.nav-logo img { height: 22px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  color: var(--cream-on-navy-70);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--cream); background: rgba(251,249,238,.08); }
.nav .btn { padding: 10px 18px 10px 20px; font-size: 14px; }

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

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--cream);
  overflow: hidden;
  background: var(--navy);
}
.hero-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,45,62,.55) 0%, rgba(0,45,62,.25) 30%, rgba(0,45,62,.85) 100%),
    linear-gradient(90deg, rgba(0,45,62,.55) 0%, rgba(0,45,62,0) 60%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 56px;
}
@media (max-width: 540px) {
  .hero-content { padding-top: 100px; padding-bottom: 40px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.7fr);
  gap: 56px;
  align-items: end;
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-meta { align-items: flex-start; }
  .hero-eyebrow-card { max-width: 100%; }
}
.hero h1 {
  margin: 0 0 8px;
}
.hero h1 .accent { color: var(--orange); }
.hero-sub { max-width: 52ch; color: var(--cream-on-navy-70); margin: 18px 0 28px; font-size: 17px; line-height: 1.5; }

.hero-meta {
  display: flex; flex-direction: column; gap: 20px;
  align-items: flex-end;
  justify-self: end;
}

.hero-eyebrow-card {
  display: flex; align-items: flex-start; gap: 12px;
  max-width: 340px;
  padding: 18px 22px;
  background: rgba(0, 26, 36, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 249, 238, 0.14);
  border-radius: 16px;
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.hero-eyebrow-card p {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.hero-eyebrow-dot {
  flex-shrink: 0;
  width: 9px; height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 76, 40, 0.22);
  animation: hero-eyebrow-pulse 2.2s ease-out infinite;
}
@keyframes hero-eyebrow-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(255, 76, 40, 0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 76, 40, 0); }
  100% { box-shadow: 0 0 0 0   rgba(255, 76, 40, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow-dot { animation: none; box-shadow: 0 0 0 4px rgba(255, 76, 40, 0.22); }
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(251,249,238,.08);
  border: 1px solid rgba(251,249,238,.15);
  font-size: 13px;
  color: var(--cream-on-navy-70);
}
.hero-chip .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cream);
  font-size: 10px;
  font-weight: 600;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

/* floating data strip */
.hero-strip {
  border-top: 1px solid rgba(251,249,238,.12);
  border-bottom: 1px solid rgba(251,249,238,.12);
  padding: 18px 0;
  display: flex; gap: 48px;
  overflow: hidden; white-space: nowrap;
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--cream-on-navy-55);
  position: relative; z-index: 2;
}
.hero-strip-track {
  display: inline-flex; gap: 48px; padding-right: 48px;
  animation: marquee 60s linear infinite;
}
.hero-strip-track span { display: inline-flex; align-items: center; gap: 10px; }
.hero-strip-track span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ——— Section header ——— */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; }
.sec-head h2 { margin: 0; max-width: 16ch; }
.sec-head .sec-sub { max-width: 44ch; }
@media (max-width: 760px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
}

/* ——— Problem section ——— */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-12);
}
.on-navy .problem-grid { border-color: var(--cream-on-navy-12); }
.problem-cell {
  border-bottom: 1px solid var(--ink-12);
  border-right: 1px solid var(--ink-12);
  padding: 40px 28px 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 260px;
  position: relative;
}
.on-navy .problem-cell { border-color: var(--cream-on-navy-12); }
.problem-cell:nth-child(4n) { border-right: none; }
.problem-cell .num {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em;
  color: var(--ink-55);
}
.on-navy .problem-cell .num { color: var(--cream-on-navy-55); }
.problem-cell h3 { margin: 0; font-family: var(--ff-display); font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.problem-cell p { margin: 0; color: var(--ink-70); font-size: 15px; }
.on-navy .problem-cell p { color: var(--cream-on-navy-70); }
.problem-cell .big-num {
  font-family: var(--ff-display);
  font-size: 56px;
  letter-spacing: -0.03em;
  color: var(--orange);
  line-height: 1;
  margin-top: auto;
}
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-cell { min-height: 200px; padding: 28px 20px; }
  .problem-cell:nth-child(4n) { border-right: 1px solid var(--ink-12); }
  .problem-cell:nth-child(2n) { border-right: none; }
}
@media (max-width: 540px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-cell { border-right: none !important; }
}

/* ——— Agents section ——— */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.agent-card {
  grid-column: span 4;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px;
  border: 1px solid var(--ink-06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.agent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -30px rgba(0,45,62,.35);
}
.agent-card.wide { grid-column: span 6; }
.agent-card.tall { grid-column: span 4; min-height: 320px; }
.agent-card.feature {
  grid-column: span 8;
  background: var(--navy);
  color: var(--cream);
  min-height: 340px;
  overflow: hidden;
  position: relative;
}
.agent-card.feature-accent {
  background: var(--orange);
  color: var(--cream);
}
@media (max-width: 900px) {
  .agent-card, .agent-card.wide, .agent-card.tall, .agent-card.feature { grid-column: span 12; }
}

.agent-card .agent-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.agent-card .tag {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-55);
}
.agent-card.feature .tag, .agent-card.feature-accent .tag { color: rgba(251,249,238,.7); }
.agent-card h3 {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 500;
}
.agent-card p { margin: 0; color: var(--ink-70); font-size: 15px; }
.agent-card.feature p, .agent-card.feature-accent p { color: rgba(251,249,238,.75); }
.agent-card .agent-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.agent-card .pill {
  display: inline-flex; gap: 6px; align-items: center;
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--ink-55);
  text-transform: uppercase; letter-spacing: .08em;
}
.agent-card.feature .pill { color: rgba(251,249,238,.55); }

/* Agent icon square */
.agent-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--cream-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-family: var(--ff-mono); font-weight: 600;
}
.agent-card.feature .agent-icon {
  background: rgba(251,249,238,.14);
  color: var(--cream);
}
.agent-card.feature-accent .agent-icon {
  background: rgba(0,45,62,.25);
  color: var(--cream);
}

/* Decorative margin chart inside the Dispatch feature card */
.agent-chart {
  display: flex; flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding: 18px 20px;
  background: rgba(251,249,238,.06);
  border: 1px solid rgba(251,249,238,.10);
  border-radius: 14px;
  font-family: var(--ff-mono);
}
.agent-chart-row {
  display: grid;
  grid-template-columns: 88px 1fr 64px;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: rgba(251,249,238,.65);
  letter-spacing: 0.04em;
}
.agent-chart-label { text-transform: uppercase; }
.agent-chart-bar {
  position: relative;
  height: 8px;
  background: rgba(251,249,238,.08);
  border-radius: 999px;
  overflow: hidden;
}
.agent-chart-bar > span {
  display: block;
  height: 100%;
  background: rgba(251,249,238,.32);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(.2,.6,.1,1);
}
.agent-chart-val {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: rgba(251,249,238,.78);
}
.agent-chart-row.is-best { color: var(--cream); }
.agent-chart-row.is-best .agent-chart-bar > span { background: var(--orange); }
.agent-chart-row.is-best .agent-chart-val { color: var(--cream); font-weight: 600; }
@media (max-width: 540px) {
  .agent-chart { padding: 14px 16px; }
  .agent-chart-row { grid-template-columns: 72px 1fr 56px; font-size: 10px; }
}

/* ——— Product mock (Inbox / agent) ——— */
.product {
  background: var(--navy);
  color: var(--cream);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(251,249,238,.1);
}
.product-top {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(251,249,238,.08);
}
.product-dots { display: flex; gap: 6px; }
.product-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(251,249,238,.2);
}
.product-title { font-family: var(--ff-mono); font-size: 12px; color: rgba(251,249,238,.55); }
.product-body {
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  min-height: 560px;
}
@media (max-width: 980px) {
  .product-body { grid-template-columns: 1fr; min-height: 0; }
}

.product-side {
  border-right: 1px solid rgba(251,249,238,.08);
  padding: 20px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.product-side h4 {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(251,249,238,.45);
  margin: 14px 10px 8px;
}
.side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: rgba(251,249,238,.75);
  cursor: default;
}
.side-item:hover { background: rgba(251,249,238,.06); color: var(--cream); }
.side-item.active { background: rgba(255,76,40,.14); color: var(--cream); }
.side-item .count {
  margin-left: auto;
  font-family: var(--ff-mono); font-size: 11px;
  color: rgba(251,249,238,.45);
}
.side-item.active .count {
  background: var(--orange);
  color: var(--cream);
  padding: 2px 8px;
  border-radius: 999px;
}
/* Lead slot for sidebar items: fixed 8x8 width for alignment, dot only when --attention */
.side-lead {
  width: 8px; height: 8px; flex-shrink: 0;
  border-radius: 50%;
}
.side-dot--attention { background: var(--orange); }
.side-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px;
  color: rgba(251,249,238,.42);
  flex-shrink: 0;
}
.side-icon svg { display: block; }

.product-list {
  border-right: 1px solid rgba(251,249,238,.08);
  overflow: hidden;
}
.thread {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(251,249,238,.06);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  cursor: default;
  transition: background .15s;
}
.thread:hover { background: rgba(251,249,238,.04); }
.thread.active { background: rgba(255,76,40,.06); }
.thread-from { font-weight: 600; font-size: 14px; }
.thread-time {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-mono); font-size: 11px;
  color: rgba(251,249,238,.38);
}
.thread-check { color: rgba(251,249,238,.32); font-size: 11px; }
.thread-subj { grid-column: 1 / -1; font-size: 13px; color: rgba(251,249,238,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-badges { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 6px; }
.badge {
  font-family: var(--ff-mono);
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
}
.badge.review { background: rgba(255,76,40,.18); color: var(--orange); }
.badge--neutral {
  background: rgba(251,249,238,.08);
  color: rgba(251,249,238,.65);
}

/* Detail pane */
.product-detail {
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.detail-head {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.detail-head h5 {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  line-height: 1.25;
}
.detail-head .badge { align-self: flex-start; }
.detail-meta { font-family: var(--ff-mono); font-size: 11px; color: rgba(251,249,238,.55); }
.detail-agent {
  border: 1px solid rgba(251,249,238,.14);
  border-radius: 14px;
  padding: 14px;
  background: rgba(251,249,238,.04);
  display: flex; flex-direction: column; gap: 10px;
}
.detail-agent-head { display: flex; align-items: center; gap: 10px; }
.agent-avatar {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
}
.agent-avatar img { width: 18px; height: 18px; }
.detail-agent p { margin: 0; font-size: 13px; color: rgba(251,249,238,.8); line-height: 1.5; }
.detail-steps { display: flex; flex-direction: column; }
.step {
  display: flex; gap: 10px; align-items: flex-start;
  font-family: var(--ff-mono); font-size: 12px;
  color: rgba(251,249,238,.7);
  padding: 6px 0;
}
.step .t {
  color: rgba(251,249,238,.5);
  width: 40px;
  flex: none;
  font-variant-numeric: tabular-nums;
}
.step .ok { color: rgba(251,249,238,.4); }
/* Grouped: same time as previous row — hide repeated time but keep alignment */
.step--grouped .t { visibility: hidden; }

/* ——— Quote / big type ——— */
.quote {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 82px);
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 500;
  max-width: 20ch;
}
.quote .accent { color: var(--orange); }

/* ——— Metrics ——— */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--cream-on-navy-12);
  border-bottom: 1px solid var(--cream-on-navy-12);
}
.metric {
  padding: 40px 24px 32px;
  border-right: 1px solid var(--cream-on-navy-12);
  display: flex; flex-direction: column; gap: 8px;
}
.metric:last-child { border-right: none; }
.metric-num {
  font-family: var(--ff-display);
  font-size: clamp(44px, 5.5vw, 88px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--cream);
}
.metric-num .u { color: var(--orange); }
.metric-lbl { color: var(--cream-on-navy-70); font-size: 15px; max-width: 26ch; }
@media (max-width: 820px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
}
@media (max-width: 520px) {
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--cream-on-navy-12); }
  .metric:last-child { border-bottom: none; }
}

/* ——— Integrations ——— */
.integrations {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.int-cell {
  aspect-ratio: 1.5 / 1;
  border: 1px solid var(--ink-12);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 16px;
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-70);
  background: var(--white);
  transition: background .15s, color .15s, border-color .15s;
}
.int-cell:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.int-cell .k { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-55); margin-right: 6px; letter-spacing: 0.06em; }
.int-cell:hover .k { color: rgba(251,249,238,.55); }
.int-cell--text { font-size: 18px; gap: 0; }
.int-cell--text .int-label { font-family: var(--ff-display); }

.int-logo {
  display: block;
  max-height: 42px;
  width: auto;
  max-width: 72%;
  object-fit: contain;
}
.int-logo--wide { max-height: 32px; max-width: 84%; }
.int-cell:hover .int-logo { filter: brightness(0) invert(1); }
.int-label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
@media (max-width: 820px) { .integrations { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .integrations { grid-template-columns: repeat(2, 1fr); } }

/* ——— Team ——— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.team-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--ink-06);
}
.team-photo {
  aspect-ratio: 4 / 3;
  background: var(--cream-200);
  background-size: cover; background-position: center 30%;
}
.team-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; }
.team-name-row { display: flex; align-items: center; gap: 12px; }
.team-name-row h4 { margin: 0; font-family: var(--ff-display); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.team-body h4 { margin: 0; font-family: var(--ff-display); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.team-body .role { color: var(--ink-55); font-size: 14px; font-family: var(--ff-mono); text-transform: uppercase; letter-spacing: .06em; }
.team-bio { color: var(--ink-70); font-size: 15px; margin-top: 8px; }
.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  color: var(--ink-55);
  opacity: 0.7;
  transition: color .15s ease, opacity .15s ease, background .15s ease;
}
.linkedin-link:hover { color: #0a66c2; opacity: 1; background: var(--ink-06); }
.linkedin-link svg { display: block; }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }

/* ——— Big CTA ——— */
.cta-block {
  background: var(--orange);
  color: var(--cream);
  border-radius: 36px;
  padding: 88px 64px;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 48px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.cta-block .cta-bg-icon {
  position: absolute;
  right: -60px; bottom: -80px;
  width: 420px; opacity: .22;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.cta-block h2 { margin: 0; }
.cta-block .btn-primary { background: var(--navy); color: var(--cream); }
.cta-block .btn-primary:hover { background: var(--navy-900); }
.cta-block .btn-primary .arrow-circle { background: var(--orange); color: var(--cream); }
.cta-actions { display: flex; align-items: flex-end; justify-content: flex-end; }
@media (max-width: 860px) {
  .cta-block { grid-template-columns: 1fr; padding: 56px 28px; }
  .cta-actions { justify-content: flex-start; }
}

/* ——— Footer ——— */
footer.foot {
  background: var(--navy);
  color: var(--cream-on-navy-70);
  padding: 80px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(251,249,238,.12);
}
.foot h5 {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(251,249,238,.45);
  margin: 0 0 14px;
}
.foot a { color: rgba(251,249,238,.75); text-decoration: none; display: block; padding: 6px 0; font-size: 14px; }
.foot a:hover { color: var(--cream); }
.foot-brand { max-width: 36ch; }
.foot-brand img { height: 30px; margin-bottom: 18px; }
.foot-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-top: 22px;
  font-family: var(--ff-mono); font-size: 12px; color: rgba(251,249,238,.45);
}
.foot-bar .socials { display: flex; gap: 18px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }

/* ——— Divider line with eyebrow ——— */
.topper {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
  color: var(--ink-55);
}
.on-navy .topper { color: var(--cream-on-navy-55); }
.topper .bar { height: 1px; background: currentColor; flex: 1; opacity: .4; }

/* reveal — progressive enhancement.
   Default: visible (no-JS / JS-disabled / reduced-motion users see everything).
   With JS (html.js): hidden until .visible is added by IntersectionObserver. */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.2,.6,.1,1), transform .8s cubic-bezier(.2,.6,.1,1);
}
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ——— Tweaks panel ——— */
.tweaks {
  position: fixed; right: 24px; bottom: 24px; z-index: 9999;
  background: var(--navy);
  color: var(--cream);
  border-radius: 16px;
  padding: 18px;
  width: 280px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.4);
  border: 1px solid rgba(251,249,238,.12);
  display: none;
  font-family: var(--ff-body);
}
.tweaks.active { display: block; }
.tweaks h6 { margin: 0 0 12px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(251,249,238,.55); }
.tweak-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid rgba(251,249,238,.08); font-size: 13px; }
.tweak-row:first-of-type { border-top: none; }
.tweak-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-chip {
  font-size: 11px; padding: 5px 10px; border-radius: 999px;
  background: rgba(251,249,238,.08); color: rgba(251,249,238,.75);
  cursor: pointer; border: 1px solid transparent;
}
.tweak-chip.active { background: var(--orange); color: var(--cream); border-color: var(--orange); }

/* ——— Language toggle (dropdown in nav) ——— */
.lang-toggle {
  position: relative;
  margin-right: 8px;
  font-family: var(--ff-mono);
  font-size: 12px;
}
.lang-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid rgba(251,249,238,.18);
  color: var(--cream-on-navy-70);
  font: inherit;
  letter-spacing: .08em;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
}
.lang-trigger:hover { color: var(--cream); border-color: rgba(251,249,238,.32); background: rgba(251,249,238,.04); }
.lang-trigger[aria-expanded="true"] { color: var(--cream); border-color: rgba(251,249,238,.32); }
.lang-caret { transition: transform .18s ease; opacity: .7; }
.lang-trigger[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 88px;
  display: flex; flex-direction: column;
  padding: 4px;
  background: var(--navy-900);
  border: 1px solid rgba(251,249,238,.14);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  z-index: 50;
}
.lang-menu[hidden] { display: none; }
.lang-option {
  background: transparent;
  border: 0;
  color: var(--cream-on-navy-70);
  font: inherit;
  letter-spacing: .08em;
  text-align: left;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: color .12s, background .12s;
}
.lang-option:hover { color: var(--cream); background: rgba(251,249,238,.06); }
.lang-option.active { color: var(--orange); }

@media (max-width: 540px) {
  .lang-toggle { font-size: 11px; }
  .lang-trigger { padding: 5px 8px; }
}

/* ——— Helper classes replacing inline styles ——— */

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 520px;
}
.split-img {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}
.split-text {
  padding: clamp(40px, 7vw, 96px);
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.split-quote { margin: 0; color: var(--cream); }
.split-body  { color: var(--cream-on-navy-70); margin: 0; max-width: 48ch; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split-img { min-height: 280px; }
}

.foot-tagline {
  color: rgba(251,249,238,.65);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.foot-locale-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 36px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(251,249,238,.72);
  background: rgba(251,249,238,.05);
  border: 1px solid rgba(251,249,238,.14);
  border-radius: 999px;
  text-decoration: none;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.foot-locale-badge:hover {
  color: var(--cream);
  background: rgba(251,249,238,.08);
  border-color: rgba(251,249,238,.22);
}
.foot-locale-flag {
  flex-shrink: 0;
  display: inline-block;
  width: 16px; height: 11px;
  border-radius: 2px;
  background: linear-gradient(to bottom,
    #000 0%, #000 33.33%,
    #DD0000 33.33%, #DD0000 66.66%,
    #FFCE00 66.66%, #FFCE00 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}

/* Legal pages (Impressum, Datenschutz) */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
  color: var(--ink);
}
.legal-page h1 {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  margin: 0 0 2.5rem;
  letter-spacing: -0.01em;
}
.legal-page h2 {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  margin: 3rem 0 1rem;
}
.legal-page h3 {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
}
.legal-page p,
.legal-page li {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 1rem;
}
.legal-page ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.legal-page a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page a:hover { color: var(--orange-600); }
.legal-page .legal-meta {
  font-size: 13px;
  color: rgba(0,45,62,.6);
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,45,62,.12);
}
.legal-page address {
  font-style: normal;
}

/* Bilingual content blocks on legal pages — show only the active language */
html[lang="en"] .legal-page [data-lang="de"] { display: none; }
html[lang="de"] .legal-page [data-lang="en"] { display: none; }

/* Supporters / Backers strip (positioned just above the footer) */
.supporters {
  padding: 56px 0 64px;
  border-top: 1px solid var(--ink-12);
}
.supporters-inner {
  display: flex; align-items: center; justify-content: center; gap: 48px;
  flex-wrap: wrap;
}
.supporters-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,45,62,.55);
  flex-shrink: 0;
}
.supporters-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.supporters-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  color: var(--navy);
  opacity: 0.85;
  transition: opacity .2s ease;
}
.supporters-item:hover { opacity: 1; }
.supporters-item img {
  display: block;
  max-height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.supporters-item--text img {
  max-height: 48px;
}
@media (max-width: 720px) {
  .supporters { padding: 32px 0; }
  .supporters-inner { gap: 24px; }
  .supporters-list { gap: 28px; }
  .supporters-item { min-height: 44px; }
  .supporters-item img { max-height: 44px; }
  .supporters-item--text img { max-height: 38px; }
}
