:root {
  --navy: #00008b;
  --navy-deep: #000066;
  --accent: #3a5bff;
  --ink: #1a1a2e;
  --muted: #6f6f7a;
  --line: rgba(0, 0, 139, 0.12);
  --bg: #f3f3f7;
  --cream: #f5f1e8;
  --white: #ffffff;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Figtree", sans-serif;
  color: var(--ink);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 139, 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Nunito", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: #3a3a4a;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--bg);
  color: var(--navy);
}

.hero {
  background: var(--navy);
  color: var(--white);
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 72px 0 80px;
}

.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  color: #c9d2ff;
}

.hero h1 {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 700;
}

.hero p {
  margin: 18px 0 0;
  max-width: 460px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  background: var(--white);
  color: var(--navy);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.hero-card {
  justify-self: end;
  width: min(280px, 100%);
  padding: 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.hero-card img {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 28px;
}

.hero-card strong {
  display: block;
  font-family: "Nunito", sans-serif;
  font-size: 28px;
}

.hero-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: 36px;
}

.section .lead {
  margin: 10px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.features {
  background: var(--bg);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
}

.card h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.pricing {
  background: var(--cream);
}

.price-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 16px;
}

.price-card,
.policy-card {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
}

.price-card strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 40px;
  font-family: "Nunito", sans-serif;
}

.price-card p,
.policy-card p {
  color: var(--muted);
  line-height: 1.6;
}

.policy-card a {
  color: var(--navy);
  font-weight: 700;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
}

.site-footer p {
  margin: 6px 0 0;
}

.page {
  background: var(--bg);
  padding: 40px 0 72px;
}

.policy {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--line);
}

.policy h1 {
  margin: 0 0 8px;
  font-family: "Nunito", sans-serif;
  font-size: 40px;
  color: var(--navy);
}

.policy .updated {
  color: var(--muted);
  margin: 0 0 24px;
}

.policy h2 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.policy p,
.policy li {
  color: #3a3a4a;
  line-height: 1.6;
}

.policy ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

@media (max-width: 860px) {
  .hero .wrap,
  .grid,
  .price-row {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
  }

  .site-header .wrap,
  .nav {
    flex-wrap: wrap;
  }

  .policy {
    padding: 24px;
  }
}
