:root {
  --bg: #070b12;
  --bg-soft: #0c111b;
  --surface: #111822;
  --surface-2: #151f2c;
  --surface-3: #1b2533;
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(249, 115, 22, 0.36);
  --text: #f8fafc;
  --muted: #a7b0c0;
  --muted-2: #758195;
  --accent: #f97316;
  --accent-2: #ff9f43;
  --green: #22c55e;
  --yellow: #f59e0b;
  --red: #ef4444;
  --blue: #38bdf8;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% -12%, rgba(249, 115, 22, 0.15), transparent 34rem),
    linear-gradient(180deg, #0a101a 0%, var(--bg) 36%, #05080e 100%);
  color: var(--text);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 18, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.site-nav-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
}

.btn.primary {
  border-color: rgba(249, 115, 22, 0.6);
  background: var(--accent);
  color: #111827;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.03);
}

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

.hero {
  padding: 76px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 6.6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
}

.product-preview {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(17, 24, 34, 0.94), rgba(10, 15, 23, 0.98));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.preview-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.preview-title img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.preview-body {
  padding: 18px;
}

.preview-search {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  background: #0f1724;
}

.preview-chat {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0ea5e9;
  color: #fff;
  font-weight: 800;
}

.avatar.orange {
  background: var(--accent);
}

.chat-name {
  font-weight: 800;
  line-height: 1.25;
}

.chat-meta,
.chat-time {
  color: var(--muted-2);
  font-size: 13px;
}

.preview-answer {
  margin-top: 18px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.08);
  padding: 15px;
}

.preview-answer strong {
  display: block;
  margin-bottom: 6px;
}

.preview-answer p {
  margin: 0;
  color: var(--muted);
}

section {
  padding: 54px 0;
}

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

.section-head h2,
.legal-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p,
.legal-hero p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.plan,
.legal-card {
  border: 1px solid var(--border);
  background: rgba(17, 24, 34, 0.78);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3,
.plan h3,
.legal-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.card p,
.plan p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.card p,
.plan p {
  margin: 0;
}

.plan.featured {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.08);
}

.plan-price {
  margin: 14px 0 14px;
  font-size: 34px;
  font-weight: 900;
}

.plan-price small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.plan ul,
.legal-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.plan li {
  margin: 8px 0;
  color: var(--muted);
}

.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.notice {
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  color: #fde68a;
}

.legal-page {
  padding: 56px 0 70px;
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 28px;
}

.updated {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 14px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 96px;
  border: 1px solid var(--border);
  background: rgba(17, 24, 34, 0.72);
  border-radius: var(--radius);
  padding: 14px;
}

.legal-sidebar a {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.legal-sidebar a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.legal-stack {
  display: grid;
  gap: 16px;
}

.legal-card h2 {
  color: var(--text);
}

.legal-card p {
  margin: 0 0 12px;
}

.status-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.status-banner {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
}

.status-banner.operational {
  border-color: rgba(34, 197, 94, 0.32);
}

.status-banner.monitoring {
  border-color: rgba(245, 158, 11, 0.34);
}

.status-banner.outage {
  border-color: rgba(239, 68, 68, 0.34);
}

.status-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
  font-size: 13px;
  font-weight: 850;
}

.status-label.monitoring {
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
}

.status-label.outage {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}

.service-list {
  display: grid;
  gap: 10px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(17, 24, 34, 0.74);
}

.service-row h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
}

.badge.monitoring {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
}

.badge.outage {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  color: var(--muted);
}

.site-footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

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

@media (max-width: 900px) {
  .hero,
  .status-hero,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-shell,
  .site-nav-inner,
  .site-footer-inner {
    width: min(100% - 28px, 1160px);
  }

  .site-nav-inner {
    min-height: 66px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .nav-links .hide-mobile,
  .hero .product-preview {
    display: none;
  }

  .hero {
    padding: 52px 0 32px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  section {
    padding: 42px 0;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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