:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #587089;
  --soft: #eef4f8;
  --panel: #ffffff;
  --line: #d9e2ea;
  --blue: #215ed9;
  --teal: #0b9388;
  --green: #16a34a;
  --gold: #c17900;
  --shadow: 0 24px 70px rgba(30, 48, 71, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f5f8fb;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px 24px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  gap: 12px;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 16px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 800;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: 1px;
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  color: var(--ink);
  font-weight: 700;
}

.nav-button,
.primary-action,
.secondary-action {
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  padding: 13px 20px;
}

.nav-button,
.secondary-action {
  background: #e7edf3;
  color: var(--ink);
}

.primary-action {
  background: var(--blue);
  color: #ffffff;
}

.hero {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100vh - 162px);
  padding: 54px 24px 72px;
}

.hero h1,
.legal-hero h1 {
  font-size: clamp(58px, 8vw, 96px);
  line-height: 0.96;
  margin: 12px 0 22px;
}

.lead,
.legal-hero p {
  color: var(--muted);
  font-size: 22px;
  margin: 0;
  max-width: 660px;
}

.eyebrow {
  color: #526a82;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

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

.product-preview {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  min-height: 430px;
  overflow: hidden;
}

.preview-sidebar {
  background: #101827;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 18px;
}

.preview-sidebar span:not(.preview-logo) {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  height: 18px;
}

.preview-logo {
  align-items: center;
  background: linear-gradient(135deg, #65a5ff, #18b7aa);
  border-radius: 14px;
  color: #ffffff;
  display: flex;
  font-weight: 900;
  height: 52px;
  justify-content: center;
}

.preview-main {
  background: #eef4f8;
  padding: 28px;
}

.preview-top,
.preview-metrics,
.preview-review,
.preview-reply {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(24, 39, 58, 0.08);
}

.preview-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 18px;
}

.preview-top span {
  font-size: 22px;
  font-weight: 900;
}

.preview-top strong {
  background: #e7f6ed;
  border-radius: 999px;
  color: var(--green);
  padding: 8px 12px;
}

.preview-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
  padding: 16px;
}

.preview-metrics div {
  border-left: 4px solid var(--blue);
  padding-left: 12px;
}

.preview-metrics strong,
.preview-metrics span {
  display: block;
}

.preview-metrics strong {
  font-size: 30px;
}

.preview-metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-review,
.preview-reply {
  margin-top: 18px;
  padding: 20px;
}

.preview-review p,
.preview-reply p {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 8px;
}

.preview-review span,
.preview-reply span {
  color: var(--muted);
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 74px 24px;
}

.band {
  background: var(--panel);
  border-radius: 28px;
  box-shadow: 0 20px 64px rgba(36, 55, 78, 0.1);
  margin-bottom: 34px;
}

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

.section h2,
.legal-content h2 {
  font-size: 36px;
  line-height: 1.12;
  margin: 0 0 24px;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}

.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.feature-grid h3 {
  margin: 0 0 10px;
}

.feature-grid p,
.copy-block p,
.steps li,
.contact-band p,
.legal-content p {
  color: var(--muted);
  font-size: 18px;
}

.two-column {
  display: grid;
  gap: 48px;
  grid-template-columns: 0.75fr 1.25fr;
}

.muted {
  border-top: 1px solid var(--line);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  background: var(--panel);
  border-left: 5px solid var(--teal);
  border-radius: 14px;
  padding: 20px;
}

.copy-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.contact-band {
  background: #102033;
  border-radius: 28px;
  color: #ffffff;
  margin-bottom: 34px;
}

.contact-band p,
.contact-band .eyebrow,
.contact-band a {
  color: #d8e8f7;
}

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

.legal-page {
  margin: 0 auto;
  max-width: 940px;
  padding: 50px 24px 80px;
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 44px;
}

.legal-content {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 20px 54px rgba(35, 51, 76, 0.1);
  margin-top: 34px;
  padding: 36px;
}

.legal-content h2 {
  font-size: 26px;
  margin-top: 34px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: auto;
  }

  .product-preview {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .preview-main {
    padding: 18px;
  }

  .preview-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero h1,
  .legal-hero h1 {
    font-size: 54px;
  }

  .lead,
  .legal-hero p,
  .feature-grid p,
  .copy-block p,
  .steps li,
  .contact-band p,
  .legal-content p {
    font-size: 16px;
  }

  .hero-actions,
  nav {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .nav-button,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .product-preview {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    align-items: center;
    flex-direction: row;
    padding: 14px;
  }

  .preview-sidebar span:not(.preview-logo) {
    flex: 1;
  }

  .legal-content {
    padding: 24px;
  }
}
