:root {
  --bg-dark: #07111d;
  --bg-dark-2: #0d1d31;
  --bg-surface: #f8fafc;
  --bg-white: #ffffff;
  --bg-subtle: #eff5fb;
  --ink: #0f172a;
  --ink-secondary: #334155;
  --ink-muted: #64748b;
  --border: #dbe4ee;
  --border-strong: #bfd2e5;
  --cobalt: #154c79;
  --cobalt-bright: #0ea5e9;
  --sky: #7dd3fc;
  --emerald: #0f766e;
  --emerald-bright: #14b8a6;
  --emerald-pale: #e6f6f3;
  --amber-pale: #fef3c7;
  --amber-ink: #92400e;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.08);
  --max-w: 1160px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

code, .mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

a {
  color: var(--cobalt);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: var(--cobalt-bright);
}

p a:not(.btn),
dd a:not(.btn),
.legal-card li a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--bg-white);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 29, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.brand:hover {
  color: #ffffff;
  opacity: 0.92;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  color: #ffffff;
  opacity: 0.95;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.32);
}

.btn-outline-light:hover {
  color: #ffffff;
  border-color: #7dd3fc;
}

.btn-outline-dark {
  background: var(--bg-white);
  color: var(--cobalt);
  border: 1px solid var(--border-strong);
}

/* Hero */
.hero {
  background: radial-gradient(circle at 82% 18%, rgba(14, 165, 233, 0.18), transparent 42%),
              radial-gradient(circle at 18% 82%, rgba(20, 184, 166, 0.14), transparent 45%),
              linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-dark-2) 65%, #112a45 100%);
  color: #ffffff;
  padding: 84px 0 76px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.28);
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2dd4bf;
}

.hero h1 {
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(90deg, #7dd3fc 0%, #5eead4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  font-size: 1.12rem;
  color: #cbd5e1;
  max-width: 640px;
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 0.86rem;
  color: #94a3b8;
}

.hero-meta strong {
  color: #e2e8f0;
}

/* Hero Terminal / Architecture Card */
.arch-panel {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.35);
}

.arch-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.status-live {
  color: #5eead4;
  font-weight: 700;
}

.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.layer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-left: 3px solid #38bdf8;
  border-radius: var(--radius-sm);
  padding: 13px 15px;
}

.layer-box.emerald {
  border-left-color: #2dd4bf;
}

.layer-box.indigo {
  border-left-color: #818cf8;
}

.layer-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7dd3fc;
  font-weight: 700;
}

.layer-box.emerald .layer-kicker {
  color: #5eead4;
}

.layer-box.indigo .layer-kicker {
  color: #a5b4fc;
}

.layer-box h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 3px 0 4px;
}

.layer-box p {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
}

/* Sections */
.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section.tint {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cobalt);
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-head p {
  font-size: 1.04rem;
  color: var(--ink-secondary);
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.section.alt .card {
  background: var(--bg-surface);
}

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--emerald);
  background: var(--emerald-pale);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.card-tag.blue {
  color: var(--cobalt);
  background: #e0effa;
}

.card h3 {
  font-size: 1.14rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.card p {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.58;
}

.card ul {
  list-style: none;
  margin-top: 14px;
}

.card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.91rem;
  color: var(--ink-secondary);
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cobalt);
}

/* Honesty banner */
.honesty-callout {
  margin-top: 28px;
  background: var(--bg-white);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--emerald);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.honesty-callout strong {
  color: var(--ink);
}

.honesty-callout p {
  font-size: 0.93rem;
  color: var(--ink-secondary);
}

/* Pricing */
.price-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border: 2px solid var(--cobalt);
  box-shadow: var(--shadow-md);
}

.price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 8px 0 14px;
}

.price-amount small {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-muted);
}

/* Company table */
.company-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.meta-list {
  display: grid;
  grid-template-columns: 155px 1fr;
  row-gap: 12px;
  column-gap: 16px;
  font-size: 0.94rem;
}

.meta-list dt {
  font-weight: 600;
  color: var(--ink-muted);
}

.meta-list dd {
  color: var(--ink);
  font-weight: 500;
}

/* Legal pages */
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.legal-card h1 {
  font-size: 2.1rem;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.legal-updated {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.legal-card h2 {
  font-size: 1.28rem;
  margin: 28px 0 10px;
  color: var(--ink);
}

.legal-card h3 {
  font-size: 1.04rem;
  margin: 18px 0 8px;
  color: var(--ink);
}

.legal-card p, .legal-card li {
  color: var(--ink-secondary);
  font-size: 0.96rem;
  margin-bottom: 10px;
}

.legal-card ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 52px 0 36px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-col h4 {
  color: #f8fafc;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-col a {
  color: #cbd5e1;
}

.footer-col a:hover {
  color: #7dd3fc;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.84rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding: 56px 0;
  }
  .legal-card {
    padding: 26px 20px;
  }
}
