:root {
  --bg: #041a3a;
  --bg-soft: #0a2d59;
  --surface: #ffffff;
  --surface-soft: #f2f8ff;
  --line: #d0def1;
  --text: #10233f;
  --text-soft: #4e6483;
  --brand: #0e6cd8;
  --brand-2: #20bfd6;
  --accent: #7bd750;
  --focus: #00b4d8;
  --shadow: 0 16px 42px rgba(6, 29, 63, 0.18);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(1200px 500px at 15% -10%, #2a8af0 0%, transparent 50%),
    radial-gradient(900px 420px at 100% 0%, #1fd4c4 0%, transparent 55%),
    linear-gradient(180deg, #edf7ff 0%, #f8fbff 45%, #eff6ff 100%);
  min-height: 100vh;
}

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

a {
  color: inherit;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -50px;
  background: #ffffff;
  color: #0d2e58;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--focus);
  text-decoration: none;
  z-index: 100;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(240, 248, 255, 0.84);
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  color: var(--text-soft);
  padding: 8px 12px;
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: #deecff;
}

.section {
  padding: 68px 0;
}

.hero {
  padding-top: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.83rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.1rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.14rem;
}

.hero-lead,
.section-copy {
  margin-top: 16px;
  color: var(--text-soft);
  max-width: 66ch;
}

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

.button {
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 130ms ease, box-shadow 130ms ease, background-color 130ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(13, 94, 184, 0.26);
}

.button-secondary {
  background: #e4f1ff;
  color: #0b3d79;
}

.button-ghost {
  background: #eaf9ee;
  color: #1d6f2d;
}

.helper-link {
  margin-top: 18px;
}

.helper-link a {
  color: var(--brand);
  font-weight: 600;
  text-decoration-thickness: 2px;
}

.hero-card {
  background: #fbfdff;
  border: 1px solid #d3e3f6;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 18px;
}

.mock-top {
  display: flex;
  gap: 8px;
}

.mock-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bad8ff;
}

.mock-price {
  margin-top: 14px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
}

.mock-row {
  margin-top: 10px;
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.mock-row span {
  color: var(--text-soft);
}

.mock-chart {
  margin-top: 16px;
  background: #e9f2ff;
  border-radius: var(--radius-sm);
  padding: 10px 10px 8px;
  display: flex;
  align-items: end;
  gap: 8px;
  min-height: 88px;
}

.mock-chart i {
  flex: 1;
  background: linear-gradient(180deg, #5ea8ff 0%, #14c7c8 100%);
  border-radius: 8px 8px 4px 4px;
  display: block;
}

.mock-chart i:nth-child(1) {
  height: 34%;
}

.mock-chart i:nth-child(2) {
  height: 66%;
}

.mock-chart i:nth-child(3) {
  height: 54%;
}

.mock-chart i:nth-child(4) {
  height: 84%;
}

.mock-chart i:nth-child(5) {
  height: 61%;
}

.section-title {
  max-width: 20ch;
}

.card-grid,
.store-grid {
  margin-top: 22px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.store-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 6px 20px rgba(8, 36, 74, 0.08);
}

.feature-card p,
.store-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.store-card .button {
  margin-top: 15px;
}

.section-tint {
  background: linear-gradient(180deg, #ecf5ff 0%, #f7fbff 100%);
  border-top: 1px solid #d8e6f8;
  border-bottom: 1px solid #d8e6f8;
}

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

.step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--brand), var(--accent));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.step p {
  margin: 8px 0 0;
  color: var(--text-soft);
}

.policy-shell {
  max-width: 860px;
}

.policy-meta {
  margin: 14px 0 8px;
  color: var(--text-soft);
}

.policy-section {
  margin-top: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}

.policy-section p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.site-footer {
  border-top: 1px solid rgba(16, 35, 63, 0.15);
  background: #f6fbff;
}

.footer-shell {
  min-height: 74px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-shell p {
  margin: 0;
  color: var(--text-soft);
}

.footer-shell a {
  color: var(--brand);
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 440ms ease, transform 440ms ease;
}

.js-enabled .reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .site-header {
    position: static;
  }

  .nav-shell {
    min-height: 64px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .card-grid,
  .store-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .step {
    grid-template-columns: 40px 1fr;
  }

  .step-number {
    width: 34px;
    height: 34px;
  }
}
