/* Orbita Platform — landing v2 */
:root {
  --navy: #171241;
  --navy-mid: #1e1a52;
  --navy-deep: #0f0c2e;
  --orange: #e06733;
  --orange-hover: #c95a2e;
  --orange-soft: #fff4ee;
  --sky: #0099dc;
  --sky-soft: #e8f6fc;
  --green: #16a34a;
  --purple: #7c3aed;
  --ink: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-muted: #f8fafc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 64px rgba(23, 18, 65, 0.12);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1140px, 92vw); margin-inline: auto; }

/* ── Header ── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}

.logo:hover { text-decoration: none; }

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--orange), #f59a6a);
  display: grid;
  place-items: center;
  color: white;
  flex-shrink: 0;
}

.logo-product {
  font-weight: 600;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 1.5rem; }

.nav a:not(.btn) {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
}

.nav a:not(.btn):hover { opacity: 1; color: var(--navy); text-decoration: none; }

.nav-active {
  color: var(--orange) !important;
  opacity: 1 !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
  padding: 0.25rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  font-family: inherit;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 0.85rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 16px rgba(224, 103, 51, 0.3);
}

.btn-primary:hover { background: var(--orange-hover); }

.btn-secondary {
  background: white;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover { border-color: var(--navy); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.2); }

/* ── Hero ── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(224, 103, 51, 0.08), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(0, 153, 220, 0.06), transparent),
    linear-gradient(180deg, var(--bg-muted) 0%, var(--bg) 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pill {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: white;
  color: var(--navy);
  border: 1px solid var(--border);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 32rem;
  line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.browser-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: white;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.browser-bar span:first-child { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: white;
  border-radius: 6px;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
}

/* ── Stats bar ── */
.stats-bar {
  border-block: 1px solid var(--border);
  background: white;
  padding: 1.75rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Sections ── */
.section { padding: 5rem 0; }
.section-muted { background: var(--bg-muted); }

.section-intro {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.section-intro h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ── Problem / Solution ── */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.problem-card {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.problem-card:last-child { border-bottom: none; }

.problem-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.05em;
}

.problem-card h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.problem-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.solution-card {
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.solution-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

.solution-card h3 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.solution-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.solution-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.solution-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ── Bento grid ── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 1rem;
}

.bento-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.bento-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(224, 103, 51, 0.25);
}

.bento-large { grid-column: span 2; }
.bento-wide { grid-column: span 2; }

.bento-accent {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
  color: white;
}

.bento-accent h3 { color: white; }
.bento-accent p { color: rgba(255, 255, 255, 0.75); }

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

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

.bento-icon-orange { background: var(--orange-soft); color: var(--orange); }
.bento-icon-sky { background: var(--sky-soft); color: var(--sky); }
.bento-icon-navy { background: #ede9fe; color: var(--navy); }
.bento-icon-green { background: #dcfce7; color: var(--green); }
.bento-icon-purple { background: #f3e8ff; color: var(--purple); }
.bento-icon-white { background: rgba(255, 255, 255, 0.15); color: white; }

.bento-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.bento-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Demo tabs ── */
.demo-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-muted);
  padding: 0.5rem 0.5rem 0;
}

.demo-tab {
  padding: 0.65rem 1.25rem;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: background 0.15s, color 0.15s;
}

.demo-tab:hover { color: var(--navy); }

.demo-tab.active {
  background: white;
  color: var(--navy);
  box-shadow: 0 -1px 0 white;
}

.demo-content { padding: 0; }

.demo-screen { margin: 0; }

.demo-screen img {
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.demo-screen figcaption {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── Compare cards ── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.diff-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.diff-highlight {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), var(--shadow);
}

.diff-card h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.diff-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.diff-card li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink);
}

.diff-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.8rem;
}

.diff-card li.muted { color: var(--muted); }
.diff-card li.muted::before { content: "·"; color: var(--muted); }

.compare-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* ── Trust band ── */
.trust-band {
  background: var(--navy);
  color: white;
  padding: 3.5rem 0;
}

.trust-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}

.trust-copy h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.trust-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  max-width: 28rem;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  grid-column: 1 / -1;
}

.trust-pills span {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ── Pricing ── */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.price-featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}

.price-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.price-meta {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.price-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.price-value small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  flex: 1;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── Contact ── */
.contact-section { padding-bottom: 6rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
}

.contact-info > p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.contact-links a { font-weight: 600; }

.contact-vendor {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.contact-form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field { margin-bottom: 1rem; }

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-muted);
  transition: border-color 0.15s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: white;
}

.form-notice {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.label-optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
}

.label-required {
  color: var(--orange);
}

.form-consent {
  margin-bottom: 0.85rem;
}

.form-consent-optional {
  margin-bottom: 0.5rem;
}

.consent-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

.consent-label a {
  font-weight: 500;
}

.form-legal-ref {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.form-error {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
}

.doc-content-single {
  max-width: none;
  margin-top: 0;
}

.doc-content .lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0;
}

.doc-table td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  vertical-align: top;
}

.doc-table td:first-child {
  width: 38%;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-muted);
}

.doc-content section {
  margin-bottom: 2rem;
}

.doc-content ul, .doc-content ol {
  padding-left: 1.25rem;
  color: var(--ink);
}

.doc-content li { margin-bottom: 0.35rem; }

.operator-card {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 1.5rem;
}

.operator-card p {
  margin: 0.25rem 0;
  font-size: 0.92rem;
}

.company-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.company-facts {
  display: grid;
  gap: 0.75rem;
}

.company-fact {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.92rem;
}

.company-fact strong {
  min-width: 7rem;
  color: var(--navy);
}

.doc-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.site-footer-mega { padding: 2.5rem 0 0; }

.footer-mega-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand { color: white; }

.footer-col h4 {
  margin: 0 0 0.75rem;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  text-decoration: none;
}

.footer-col a:hover { color: white; }

.footer-tagline, .footer-domains {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
}

.footer-domains a { display: inline; }

.footer-bottom { padding: 1.25rem 0 1.5rem; font-size: 0.82rem; }

/* ── Doc / inner pages ── */
.page-doc { background: var(--bg-muted); }

.doc-layout { padding: calc(var(--header-h) + 2rem) 0 3rem; }

.doc-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.doc-nav {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.doc-nav-title {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.doc-nav a {
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0 0.35rem 0.75rem;
  border-left: 2px solid transparent;
}

.doc-nav a:hover { color: var(--orange); border-left-color: var(--orange); }

.doc-nav-toggle {
  display: none;
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}

.doc-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

.doc-content {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  max-width: 760px;
}

.doc-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.doc-content h1 { margin-top: 0; color: var(--navy); }

.doc-content h2 {
  margin-top: 2rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  color: var(--navy);
}

.doc-content pre {
  background: var(--bg-muted);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.88rem;
}

.doc-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.doc-content th, .doc-content td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.security-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.security-pillar {
  background: var(--bg-muted);
  border-radius: 10px;
  padding: 1.25rem;
}

.security-pillar h3 { margin: 0 0 0.35rem; font-size: 1rem; }

.company-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1rem 0;
}

.legal-page .doc-content { max-width: none; }

.logo-text { line-height: 1.2; }
.logo-sub { font-weight: 500; opacity: 0.85; }

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner,
  .problem-solution,
  .contact-grid,
  .stats-grid,
  .bento,
  .diff-grid,
  .pricing-row,
  .footer-mega-grid,
  .doc-grid,
  .trust-inner {
    grid-template-columns: 1fr;
  }

  .bento-large, .bento-wide { grid-column: span 1; }

  .hero-visual { order: -1; }

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

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 0.5rem;
  }

  .nav.open { display: flex; }
  .nav-toggle { display: block; }

  .doc-nav {
    position: static;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  .doc-nav.open { display: flex; }

  .doc-nav-toggle { display: block; }

  .doc-nav a {
    border-left: none;
    padding: 0.5rem 0.65rem;
    border-radius: 6px;
  }

  .doc-nav a:hover { background: var(--bg-muted); }

  .doc-layout {
    padding: calc(var(--header-h) + 0.75rem) 0 2rem;
  }

  .doc-content {
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
  }

  .doc-content h1 { font-size: 1.45rem; }
  .doc-content h2 { font-size: 1.15rem; }

  .doc-content pre {
    font-size: 0.78rem;
    padding: 0.75rem;
  }

  .doc-table { font-size: 0.82rem; }
  .doc-table td, .doc-table th { padding: 0.45rem 0.55rem; }

  .demo-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .demo-tab {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .browser-frame { border-radius: var(--radius-sm); }

  .hero h1 { font-size: 1.75rem; }

  .consent-label { font-size: 0.78rem; }

  .container { width: min(1140px, 94vw); }
}

@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .company-hero { grid-template-columns: 1fr; }
}
