:root {
  --page: #edf3ff;
  --panel: linear-gradient(155deg, #f4f8ff 0%, #eaf1ff 54%, #f7fbff 100%);
  --panel-strong: rgba(250, 252, 255, 0.94);
  --panel-soft: rgba(241, 246, 255, 0.74);
  --border: rgba(39, 84, 153, 0.14);
  --border-strong: rgba(39, 84, 153, 0.24);
  --text: #14243b;
  --muted: #607089;
  --accent: #3d6fd6;
  --accent-strong: #3158a8;
  --accent-soft: rgba(61, 111, 214, 0.14);
  --success: #2c7860;
  --shadow: 0 24px 60px rgba(43, 69, 122, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Segoe UI Variable Text", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(61, 111, 214, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(61, 111, 214, 0.08), transparent 30%),
    repeating-linear-gradient(
      115deg,
      transparent 0,
      transparent 22px,
      rgba(61, 111, 214, 0.03) 22px,
      rgba(61, 111, 214, 0.03) 23px
    ),
    var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(250, 252, 255, 0.74);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 36px rgba(43, 69, 122, 0.08);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(61, 111, 214, 0.08);
  color: #36589a;
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-link,
.ghost-link,
.primary-link,
.install-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-link {
  color: var(--muted);
  border: 1px solid transparent;
}

.nav-link:hover,
.ghost-link:hover,
.primary-link:hover,
.install-link:hover {
  transform: translateY(-1px);
}

.ghost-link {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.primary-link {
  color: #fff;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 10px 22px rgba(49, 88, 168, 0.22);
}

.install-link {
  color: #10243b;
  border: 1px solid rgba(44, 120, 96, 0.2);
  background: linear-gradient(180deg, rgba(209, 255, 238, 0.98) 0%, rgba(144, 241, 202, 0.96) 100%);
  box-shadow: 0 12px 24px rgba(44, 120, 96, 0.18);
}

.install-link::before {
  content: "Soon";
  margin-right: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(16, 36, 59, 0.08);
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 22px;
  align-items: stretch;
}

.hero-panel,
.card,
.footer-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 34px;
  border-radius: 34px 34px 18px 34px;
  min-height: 460px;
}

.hero-panel::before,
.card::before,
.footer-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(61, 111, 214, 0.13), transparent 30%),
    radial-gradient(circle at bottom right, rgba(61, 111, 214, 0.08), transparent 32%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero-title {
  margin: 14px 0 14px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.hero-subtitle {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

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

.install-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.kicker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.mini-stat {
  padding: 14px 14px 16px;
  border: 1px solid rgba(39, 84, 153, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(240,246,255,0.86) 100%);
}

.mini-stat-label {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
}

.mini-stat strong {
  display: block;
  margin-top: 10px;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.mini-stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.hero-side {
  display: grid;
  gap: 22px;
}

.card {
  border-radius: 26px;
  padding: 24px;
}

.card h2,
.card h3,
.section-title {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.card p,
.lead,
.body-copy,
.list li {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.pill-list,
.stack-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li,
.stack-item {
  padding: 14px 16px;
  border: 1px solid rgba(39, 84, 153, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.wide-section {
  margin-top: 22px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

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

.matrix .card {
  min-height: 100%;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(44, 120, 96, 0.1);
  color: var(--success);
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 26px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mono {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-copy h1 {
  margin: 14px 0 10px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.legal-copy p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
}

.legal-sections {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.legal-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(241,246,255,0.86) 100%);
  box-shadow: 0 16px 34px rgba(43, 69, 122, 0.09);
}

.legal-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.support-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  margin-top: 22px;
}

.contact-block {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-item {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(39, 84, 153, 0.1);
  background: rgba(255,255,255,0.7);
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

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

  .footer-panel,
  .topbar,
  .section-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-panel {
    min-height: auto;
  }

  .kicker {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 12px;
    padding-bottom: 32px;
  }

  .topbar,
  .hero-panel,
  .card,
  .footer-panel,
  .legal-card {
    border-radius: 22px;
    padding: 20px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}
