:root {
  --ink: #172033;
  --muted: #5b6576;
  --line: #dfe5ed;
  --soft: #f5f7fa;
  --soft-blue: #eaf2ff;
  --blue: #2458c9;
  --blue-dark: #173f9a;
  --green: #1f8a61;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-size: 14px;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 48px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 60px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

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

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 88, 201, 0.14), rgba(31, 138, 97, 0.1)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.44) 0 2px, transparent 2px 18px),
    var(--soft);
  overflow: hidden;
}

.visual-card {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(223, 229, 237, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.main-card {
  top: 82px;
  left: 34px;
  right: 34px;
  padding: 28px;
}

.card-title {
  display: block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.balance-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0;
  font-size: 16px;
}

.balance-row span {
  color: var(--muted);
}

.progress-track {
  height: 12px;
  margin-top: 26px;
  border-radius: 999px;
  background: var(--soft-blue);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.side-card {
  right: 28px;
  bottom: 62px;
  width: 190px;
  padding: 18px;
}

.side-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.side-card strong {
  font-size: 22px;
  line-height: 1.15;
}

.intro-band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 20px 22px;
  background: var(--soft-blue);
}

.intro-band p {
  margin: 0;
  color: #334057;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.muted,
.option-card p,
.question-list p {
  color: var(--muted);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.option-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
}

.icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: var(--soft-blue);
  font-size: 14px;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 46px;
  align-items: start;
}

.checklist {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--soft);
  counter-increment: steps;
}

.checklist li::before {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-size: 14px;
  font-weight: 800;
  content: counter(steps);
}

.question-section {
  padding-bottom: 86px;
}

.question-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: var(--white);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 26px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-visual {
    min-height: 360px;
  }

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

@media (max-width: 620px) {
  .site-header,
  .hero,
  .intro-band,
  .section,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  nav {
    gap: 14px;
    font-size: 13px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .main-card {
    top: 54px;
    left: 18px;
    right: 18px;
    padding: 22px;
  }

  .side-card {
    right: 18px;
    bottom: 34px;
  }
}
