:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #eef3ff;
  --text: #1f2937;
  --text-muted: #667085;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --border: #dbe3f0;
  --success: #0f9d58;
  --warning: #f59e0b;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.2;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 247, 251, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 227, 240, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: #fff;
  font-weight: 800;
}

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

.nav a {
  color: var(--text-muted);
  font-weight: 500;
}

.nav a.active,
.nav a:hover {
  color: var(--primary);
}

.hero {
  padding: 88px 0 64px;
}

.hero-grid,
.page-hero-grid,
.feature-grid,
.card-grid,
.use-case-grid,
.two-col-grid,
.stats-grid {
  display: grid;
  gap: 24px;
}

.hero-grid,
.page-hero-grid,
.two-col-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-copy h1,
.page-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
}

.hero-copy p,
.page-hero-copy p {
  margin: 0 0 26px;
  color: var(--text-muted);
  font-size: 18px;
  max-width: 620px;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

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

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #e0ebff;
  color: var(--primary);
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.panel,
.card,
.stat-card,
.faq-item,
.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  padding: 28px;
}

.hero-panel {
  padding: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.hero-panel h3,
.panel h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 22px;
}

.hero-panel p,
.panel p,
.card p,
.stat-card p,
.faq-item p,
li,
.text-muted {
  color: var(--text-muted);
}

.list {
  margin: 0;
  padding-left: 18px;
}

.list li + li {
  margin-top: 10px;
}

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

.card,
.stat-card,
.faq-item,
.highlight-box {
  padding: 24px;
}

.card h3,
.stat-card h3,
.highlight-box h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.label-active {
  background: rgba(15, 157, 88, 0.12);
  color: var(--success);
}

.label-coming {
  background: rgba(245, 158, 11, 0.14);
  color: var(--warning);
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 13px;
}

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

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

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 72px 0 48px;
}

.page-hero-copy {
  max-width: 760px;
}

.page-hero-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-index {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #dbe8ff;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: 0 0 auto;
}

.step h3,
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.step p,
.faq-item p {
  margin: 0;
}

.notice {
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--surface-muted);
  border: 1px solid #cfddff;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .two-col-grid,
  .card-grid,
  .feature-grid,
  .use-case-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .section,
  .hero,
  .page-hero {
    padding: 56px 0;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: 34px;
  }

  .section-header h2 {
    font-size: 28px;
  }
}
