:root {
  --bg: #0f1115;
  --panel: #161a22;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #3b82f6;
  --border: #232833;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

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

a:hover {
  color: var(--accent);
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section:not(.section-panel) {
  border-top: 1px solid rgba(243, 244, 246, 0.06);
}

.hero.section {
  border-top: 0;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 24px;
}

h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul {
  margin: 0 0 1.5rem;
  padding-left: 1rem;
  color: var(--muted);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
  color: var(--text);
  background: #10141b;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.08rem 0.3rem;
}

li + li {
  margin-top: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 17, 21, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.button-primary {
  background: var(--accent);
  color: #f8fafc;
}

.button-primary:hover {
  color: #f8fafc;
  background: #4a8df7;
  border-color: #6aa3fc;
}

.button-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}

.button-secondary:hover {
  border-color: var(--accent);
}

.hero {
  padding-top: 116px;
  padding-bottom: 116px;
}

.hero-content {
  max-width: 840px;
  text-align: left;
}

.eyebrow {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.lead {
  font-size: 1.1rem;
  max-width: 58ch;
}

.hero-note {
  margin: 14px 0 0;
  font-size: 0.95rem;
  color: rgba(243, 244, 246, 0.67);
}

.narrow {
  max-width: 76ch;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust-note {
  margin: 12px 0 0;
  font-size: 0.86rem;
  color: rgba(243, 244, 246, 0.72);
}

.two-col,
.three-col,
.feature-grid {
  display: grid;
  gap: 16px;
}

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

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.preview-grid {
  gap: 26px;
  margin: 12px 0 10px;
}

.preview-card {
  padding: 22px;
}

.preview-card-improved {
  border-color: #3f6398;
  background: #171d28;
}

.preview-card-improved h3 {
  color: var(--text);
  font-weight: 650;
  letter-spacing: 0.01em;
}

.feature-grid .card {
  background: #1c222d;
  border-color: #333b4a;
  transition: border-color 0.12s ease, transform 0.12s ease;
  min-height: 78px;
  display: flex;
  align-items: center;
}

.feature-grid .card h3 {
  margin: 0;
}

.feature-grid .card:hover {
  border-color: #3f4a5d;
  transform: translateY(-1px);
}

.section:not(.section-panel) .card {
  background: transparent;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.compact {
  padding: 16px;
}

.secondary-feature {
  opacity: 0.72;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.featured {
  border-color: #2d62b8;
}

.plan-note {
  margin: -4px 0 6px;
  font-size: 0.86rem;
  color: rgba(156, 163, 175, 0.75);
}

.preview-section h2 {
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  font-weight: 650;
  margin-bottom: 30px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

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

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-wrap p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-wrap nav {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.coming-soon-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #171d28;
  color: var(--text);
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
  z-index: 100;
}

.coming-soon-tooltip.is-visible {
  opacity: 1;
}

.legal-main {
  min-height: 100dvh;
  padding: 64px 0;
}

.legal-wrap {
  max-width: 820px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.legal-content {
  margin-top: 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.legal-content h2 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 14px;
}

@media (max-width: 920px) {
  .nav-wrap {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
  }

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

  .section {
    padding: 60px 0;
  }

  .hero {
    padding-top: 84px;
    padding-bottom: 74px;
  }

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

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.2rem;
    max-width: 18ch;
  }
}
