:root {
  --bg: #fcfbfd;
  --bg-soft: #f6f2fb;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-soft: #f8f5fc;
  --text: #17131d;
  --muted: #655f72;
  --muted-strong: #4f4960;
  --border: #ece5f4;
  --border-strong: #dfd5eb;
  --primary: #4f8bf6;
  --primary-dark: #3a6fd4;
  --primary-soft: #eaf2ff;
  --accent-soft: #fff6dd;
  --ok-soft: #eaf8f1;
  --ok-text: #1f8b5d;
  --shadow: 0 24px 80px rgba(30, 23, 50, 0.08);
  --shadow-soft: 0 16px 44px rgba(30, 23, 50, 0.06);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(241, 234, 255, 0.9) 0%, rgba(241, 234, 255, 0.35) 22%, transparent 44%),
    radial-gradient(circle at bottom right, rgba(238, 246, 255, 0.84) 0%, rgba(238, 246, 255, 0.28) 18%, transparent 36%),
    var(--bg);
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(236, 229, 244, 0.92);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

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

.brand-mark {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(31, 111, 191, 0.18));
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-sub {
  margin-top: 2px;
  font-size: 12px;
  color: #756f80;
}

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

.eyebrow,
.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  color: #645d71;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e8e0f3;
}

.mini-badge {
  padding: 7px 12px;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: var(--primary-soft);
}

.mini-badge.ok {
  color: var(--ok-text);
  background: var(--ok-soft);
}

.mini-badge.soft {
  color: #786f86;
  background: #f4f0fa;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #6aa6ff 0%, #3b7df0 100%);
  box-shadow: 0 16px 34px rgba(75, 125, 240, 0.28);
}

.btn-secondary {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.9);
  border-color: #e6def2;
}

.btn-ghost {
  padding-inline: 0;
  color: var(--primary-dark);
  background: transparent;
  border: 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  align-items: start;
  padding: 72px 0 34px;
}

.hero-copy h1,
.section-head h2,
.cta-copy h2 {
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
}

.hero-copy p,
.section-head p,
.cta-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.68;
}

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

.hero-actions { margin-top: 26px; }

.hero-note {
  margin-top: 18px;
  color: #7d748a;
  font-size: 14px;
  line-height: 1.65;
}

.hero-panel,
.card,
.example-card,
.placeholder-card,
.cta-band,
.form-panel {
  background: var(--surface);
  border: 1px solid rgba(236, 229, 244, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hero-panel,
.cta-band {
  border-radius: var(--radius-xl);
}

.hero-panel {
  overflow: hidden;
}

.hero-stack {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.policy-card,
.placeholder-card,
.form-panel,
.card,
.example-card {
  border-radius: var(--radius-lg);
  padding: 22px;
}

.policy-card {
  background: linear-gradient(180deg, #ffffff, #fbf9ff);
  border: 1px solid #ece5f4;
}

.policy-card h3,
.card h3,
.example-card h3,
.placeholder-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.policy-card p,
.card p,
.example-card p,
.placeholder-card p,
.form-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.output-demo {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.output-row {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #ece5f4;
}

.output-label {
  color: #726b80;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.output-value {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.output-value.soft {
  color: var(--muted-strong);
  font-weight: 600;
}

.section {
  padding: 34px 0;
}

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

.section-head h2 {
  margin: 16px 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
}

.grid-3,
.grid-2,
.example-grid,
.placeholder-grid,
.step-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.grid-3,
.example-grid,
.step-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.card,
.placeholder-card {
  border-radius: var(--radius-lg);
}

.card-list,
.step-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.card-list li + li,
.step-list li + li {
  margin-top: 6px;
}

.example-card {
  background: #ffffff;
}

.example-meta {
  margin: 0 0 14px;
  color: #7a7288;
  font-size: 13px;
  line-height: 1.65;
}

.example-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #ece5f4;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.placeholder-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 252, 0.96));
}

.placeholder-box {
  display: grid;
  place-items: center;
  min-height: 260px;
  margin-top: 16px;
  padding: 24px;
  text-align: center;
  border-radius: 24px;
  border: 1px dashed #d1c6e0;
  background:
    linear-gradient(180deg, rgba(79, 139, 246, 0.06), rgba(255, 255, 255, 0.92)),
    #ffffff;
  color: #5e576a;
}

.placeholder-box strong {
  display: block;
  margin-bottom: 10px;
  color: #201a2b;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.step-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #ece5f4;
  box-shadow: var(--shadow-soft);
}

.step-index {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 22px;
  align-items: start;
  margin: 38px auto 80px;
  padding: 32px;
}

.cta-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
}

.cta-copy p {
  max-width: 700px;
}

.cta-actions {
  margin-top: 22px;
}

.form-panel h3 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.form-panel .form-note {
  margin-top: 10px;
  color: #786f86;
  font-size: 14px;
}

.early-access-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: #585161;
  font-size: 13px;
  font-weight: 700;
}

.field-input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.field-input:focus {
  outline: 2px solid rgba(79, 139, 246, 0.18);
  border-color: #a6c4fb;
}

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

.form-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.form-status.is-error {
  color: #b3374a;
}

.form-status.is-success {
  color: var(--ok-text);
}

.footer {
  padding: 0 0 46px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid #ece5f4;
  color: #766f82;
  font-size: 14px;
}

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

@media (max-width: 1024px) {
  .hero,
  .cta-band,
  .grid-2,
  .grid-3,
  .example-grid,
  .placeholder-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav { display: none; }

  .topbar-inner { padding: 8px 0; }

  .brand-mark {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-copy p,
  .section-head p,
  .cta-copy p {
    font-size: 17px;
  }

  .policy-card h3,
  .card h3,
  .example-card h3,
  .placeholder-card h3,
  .form-panel h3 {
    font-size: 24px;
  }

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