:root {
  color-scheme: light;
  --ink: #15233f;
  --muted: #5d687a;
  --line: #dce3ef;
  --soft: #f3f6fc;
  --blue: #07338f;
  --blue-light: #dce7ff;
  --coral: #ff654f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--ink);
}

.hero {
  padding: 88px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
}

.hero p,
.document-header p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-icon {
  width: min(100%, 310px);
  justify-self: center;
  padding: 36px;
  border-radius: 42% 52% 45% 55%;
  background: radial-gradient(circle at 35% 25%, var(--blue-light), var(--blue));
  box-shadow: 0 30px 70px #07338f2e;
}

.hero-icon img {
  width: 100%;
  display: block;
  border-radius: 24%;
}

.button {
  display: inline-flex;
  margin-top: 12px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section > header {
  max-width: 740px;
  margin-bottom: 34px;
}

.section h2,
.document h2 {
  font-size: clamp(1.65rem, 4vw, 2.6rem);
}

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

.card,
.plan,
.notice {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--soft);
}

.card h3,
.plan h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.card p,
.plan p,
.notice p {
  margin-bottom: 0;
  color: var(--muted);
}

.plan.plus {
  border-color: var(--blue);
  background: linear-gradient(145deg, var(--blue), #0d48be);
  color: #fff;
}

.plan.plus h3,
.plan.plus p,
.plan.plus a {
  color: #fff;
}

.plan ul {
  padding-left: 20px;
}

.plan li {
  margin: 8px 0;
}

.document {
  max-width: 860px;
  padding: 72px 0 96px;
}

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

.document h1 {
  margin-top: 12px;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
}

.document section {
  padding-top: 34px;
}

.document section h2 {
  font-size: 1.55rem;
}

.document p,
.document li {
  color: #444e5f;
}

.notice {
  margin-top: 32px;
  border-left: 5px solid var(--coral);
}

.site-footer {
  padding: 32px 0 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  flex-basis: 100%;
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 16px;
}

@media (max-width: 720px) {
  .site-header {
    padding: 16px 0;
    align-items: flex-start;
  }

  nav {
    gap: 10px 14px;
  }

  .hero {
    padding-top: 54px;
    grid-template-columns: 1fr;
  }

  .hero-icon {
    width: 210px;
    grid-row: 1;
  }

  .cards,
  .plans {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1120px);
  }

  .brand span {
    display: none;
  }
}
