
:root {
  --bg: #f4efe7;
  --bg-soft: #fbf8f2;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #182029;
  --muted: #5f6873;
  --border: #ded5c7;
  --accent: #2557d6;
  --accent-dark: #173a96;
  --accent-2: #0e8b7e;
  --accent-soft: #e9f0ff;
  --shadow: 0 22px 54px rgba(25, 34, 54, 0.08);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --content-width: 1120px;
  --content-narrow: 780px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 87, 214, 0.09), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(14, 139, 126, 0.06), transparent 26%),
    linear-gradient(180deg, #fcfaf6 0%, var(--bg) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 48px;
}

body,
a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color 0.15s ease, opacity 0.15s ease;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37, 87, 214, 0.22);
  outline-offset: 2px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.95rem);
  margin-bottom: 0;
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 0;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

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

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

.narrow {
  width: min(var(--content-narrow), calc(100% - 32px));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #87a8ff);
  box-shadow: 0 0 0 5px rgba(37, 87, 214, 0.08);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 10px 14px;
}

.site-nav a:hover {
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.58);
}

.site-nav .nav-cta {
  background: rgba(37, 87, 214, 0.08);
  color: var(--accent-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: stretch;
  padding: 18px 0 8px;
}

.surface,
.card,
.hero-copy,
.hero-aside,
.page-intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-copy,
.hero-aside,
.page-intro,
.card {
  padding: 28px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy .lede {
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  color: var(--text);
  max-width: 60ch;
  margin: 16px 0 10px;
}

.hero-copy .supporting,
.page-intro p:last-child {
  max-width: 64ch;
  margin-bottom: 0;
}

.kicker,
.eyebrow,
.section-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 87, 214, 0.18);
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  border-color: var(--border);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.trust-item,
.info-callout,
.metric,
.feature,
.note-box,
.status-card,
.tier-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, #fcfaf7 100%);
  border-radius: var(--radius-md);
}

.trust-item {
  padding: 16px;
}

.trust-item strong,
.metric strong,
.info-callout strong,
.status-card strong {
  display: block;
  color: var(--text);
}

.trust-item span,
.metric span,
.info-callout span,
.status-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.compact-steps {
  margin: 0;
}

.steps,
.bullets,
.compact-steps {
  padding-left: 1.15rem;
}

.steps li,
.bullets li,
.compact-steps li {
  margin-bottom: 10px;
  color: var(--muted);
}

.compact-steps li:last-child,
.steps li:last-child,
.bullets li:last-child {
  margin-bottom: 0;
}

.info-callout {
  padding: 18px;
  background: linear-gradient(180deg, rgba(37, 87, 214, 0.08), rgba(255, 255, 255, 0.96));
}

.section {
  padding: 22px 0 0;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.section-head h2,
.page-intro h1 {
  margin-bottom: 0;
}

.card,
.surface {
  margin-top: 20px;
}

.feature-grid,
.grid-2,
.metric-grid,
.status-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.feature {
  padding: 20px;
}

.tier-card {
  padding: 24px;
}

.tier-featured {
  border-color: rgba(37, 87, 214, 0.24);
  background: linear-gradient(180deg, rgba(37, 87, 214, 0.08), #fff 58%);
  box-shadow: 0 18px 42px rgba(37, 87, 214, 0.08);
}

.feature p,
.small-note,
.footer-note,
.help,
.note-box p,
.metric span,
.status-card span {
  margin-bottom: 0;
}

.note-box {
  padding: 18px;
}

.metric,
.status-card {
  padding: 18px;
}

.price {
  font-size: clamp(2.65rem, 7vw, 3.5rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin: 0 0 12px;
  color: var(--text);
}

.price-note {
  max-width: 62ch;
  margin-bottom: 16px;
}

.backlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 18px 0 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.backlink:hover {
  color: var(--accent-dark);
}

.form {
  margin-top: 8px;
}

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

.form label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}

.form .help,
.small-note,
.footer-note {
  font-size: 0.95rem;
  color: var(--muted);
}

.form .help {
  display: block;
  margin-top: 6px;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: #9a9a9a;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(37, 87, 214, 0.6);
  box-shadow: 0 0 0 4px rgba(37, 87, 214, 0.11);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.span-2 {
  grid-column: span 2;
}

fieldset {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

legend {
  padding: 0 8px;
  font-weight: 700;
  color: var(--text);
}

fieldset label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  font-weight: 500;
  color: var(--muted);
}

fieldset label:last-child {
  margin-bottom: 0;
}

fieldset input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  flex: 0 0 auto;
}

.site-footer {
  padding: 12px 0 0;
}

.footer-note {
  margin: 0 0 12px;
}

.page-intro {
  margin-top: 14px;
}

.page-intro p:last-child {
  margin-bottom: 0;
}

.checkout-note {
  background: linear-gradient(180deg, rgba(14, 139, 126, 0.08), rgba(255, 255, 255, 0.96));
}

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .grid-2,
  .metric-grid,
  .status-grid,
  .trust-row,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 28px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 16px;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .site-nav a {
    padding: 0;
  }

  .hero-copy,
  .hero-aside,
  .page-intro,
  .card,
  .surface {
    padding: 20px;
    border-radius: 24px;
  }

  .section {
    padding-top: 18px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .trust-item,
  .feature,
  .metric,
  .status-card,
  .info-callout,
  .note-box,
  .tier-card {
    padding: 16px;
  }

  h1 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .hero-copy .lede {
    font-size: 1.08rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
