:root {
  --blue: #0096d6;
  --blue-dark: #0578ad;
  --blue-soft: #eaf7fc;
  --gray-logo: #a5a7aa;
  --text: #1e3444;
  --muted-text: #64717b;
  --line: #dce8ee;
  --surface: #ffffff;
  --surface-soft: #f6fafc;
  --warning: #fff7ea;
  --warning-line: #f0d7a7;
  --shadow: 0 20px 60px rgba(30, 52, 68, 0.08);
  --radius: 22px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 0.65em;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  max-width: 10.5em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.55rem;
}

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

.narrow {
  max-width: 820px;
}

.section {
  padding: clamp(64px, 9vw, 116px) 0;
}

.muted {
  background: var(--surface-soft);
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -60px;
  background: var(--text);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 100;
}

.skip-link:focus {
  top: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 232, 238, 0.85);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 190px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

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

.nav a:hover {
  color: var(--blue-dark);
}

.hero {
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 150, 214, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fafdff 100%);
}

.hero-grid,
.two-col,
.form-grid,
.footer-grid {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
}

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

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.align-start {
  align-items: start;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-weight: 750;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.lead {
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  color: var(--text);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 720px;
}

.blue-dot {
  color: var(--blue);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 760;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 150, 214, 0.22);
}

.button.primary:hover {
  background: var(--blue-dark);
  color: #fff;
}

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

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

.button.full {
  width: 100%;
}

.hero-card,
.card,
.quote-card,
.soft-panel,
.warning-card,
.signup-form,
.privacy-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(24px, 4vw, 38px);
}

.hero-card h2 {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45em;
}

.hero-card p + h2 {
  margin-top: 1.6rem;
}

.cards {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 24px;
}

.card h3 {
  color: var(--text);
}

.card p,
.hero-card p,
.soft-panel p,
.quote-card p {
  color: var(--muted-text);
}

.quote-card {
  padding: clamp(26px, 4vw, 42px);
  align-self: center;
  border-left: 7px solid var(--blue);
}

.quote-card p {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.35;
  color: var(--text);
}

.quote-card span {
  display: block;
  color: var(--muted-text);
  margin-top: 18px;
}

.checklist,
.soft-panel {
  padding: clamp(24px, 4vw, 34px);
}

.checklist {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.checklist li::marker {
  color: var(--blue);
}

.soft-panel {
  background: var(--blue-soft);
  border-color: rgba(0, 150, 214, 0.18);
}

.small-note,
.form-footnote {
  color: var(--muted-text);
  font-size: 0.92rem;
}

.warning-section {
  padding-top: 0;
}

.warning-card {
  background: var(--warning);
  border-color: var(--warning-line);
  box-shadow: none;
  padding: clamp(26px, 5vw, 48px);
}

.warning-card .section-label {
  color: #9a6200;
}

.warning-card .section-label::before {
  background: #d68a00;
}

.form-section {
  background:
    linear-gradient(180deg, #fff 0%, #f6fafc 100%);
}

.form-grid {
  align-items: start;
}

.privacy-box {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding: 18px;
  box-shadow: none;
  background: var(--surface-soft);
}

.signup-form {
  padding: clamp(24px, 4vw, 38px);
}

.field,
.field-row {
  display: grid;
  gap: 8px;
}

.field + .field,
.field-row + .field,
.field + .field-row,
.checkbox-line + .checkbox-line,
.extra-fields .field + .field {
  margin-top: 18px;
}

.field-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label,
summary {
  font-weight: 730;
}

.optional {
  color: var(--muted-text);
  font-weight: 500;
  font-size: 0.9em;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfdde4;
  border-radius: 14px;
  padding: 11px 13px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 150, 214, 0.18);
  border-color: var(--blue);
}

.checkbox-line {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin: 18px 0 0;
  font-weight: 500;
}

.checkbox-line input {
  width: 20px;
  height: 20px;
  min-height: auto;
  margin-top: 3px;
  accent-color: var(--blue);
}

.extra-fields {
  margin: 24px 0;
  padding: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.form-alert {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.form-alert.error {
  background: #fff3f3;
  border: 1px solid #ffd1d1;
  color: #8a1d1d;
}

.honeypot {
  display: none !important;
}

.source-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.source-list li {
  margin: 0;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: #fff;
}

summary {
  cursor: pointer;
}

details p {
  margin-top: 14px;
  color: var(--muted-text);
}

.site-footer {
  padding: 56px 0;
  background: #172b3a;
  color: #dce8ee;
}

.site-footer h2 {
  font-size: 1rem;
  letter-spacing: 0;
  color: #fff;
}

.site-footer a {
  color: #fff;
}

.footer-logo {
  width: 190px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 18px;
}

.todo {
  color: #9a6200;
  background: #fff7d9;
  padding: 0 4px;
  border-radius: 4px;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.center-block {
  text-align: center;
}

.thanks-logo {
  width: 220px;
  margin-bottom: 34px;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
  }

  .nav {
    display: none;
  }
}

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

  .section {
    padding: 58px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 165px;
  }

  .cards.four,
  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .signup-form,
  .card,
  .hero-card,
  .quote-card,
  .warning-card {
    border-radius: 18px;
  }
}
