:root {
  --ink: #22252A;
  --muted: #5A6270;
  --bg: #FFFFFF;
  --tint: #F5F5F7;
  --line: #E5E7EB;
  --accent: #2F70ED;
  --accent-hover: #1B6BD9;
  --steel: #2E353C;
  --steel-text: #F3F4F6;
  --steel-link: #8BBEFF;
  --steel-link-hover: #C5DCFF;
  --max: 40rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img, svg {
  max-width: 100%;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

a {
  color: #1A5FBE;
}

a:hover {
  color: #154E9C;
}

a:focus-visible,
.btn:focus-visible,
.skip:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 10;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}

.skip:focus,
.skip:focus-visible {
  top: 0.75rem;
  color: #fff;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  line-height: 1.2;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
}

.site-header {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F8FA 62%, #F5F5F7 100%);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0 1.5rem;
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.15rem;
}

.wordmark {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}

.wordmark:hover {
  color: var(--ink);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--ink);
}

.header-bar .btn {
  margin-left: 0;
}

.site-header h1 {
  margin: 1.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--muted);
  max-width: 28rem;
}

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

.section-alt {
  background: var(--tint);
}

.section-dark {
  background: var(--steel);
  color: var(--steel-text);
  border-top: 1px solid #3A4249;
}

.section-dark h2,
.section-dark h3 {
  color: #FFFFFF;
}

.section-dark p {
  color: var(--steel-text);
}

.section-dark a:not(.btn) {
  color: var(--steel-link);
}

.section-dark a:not(.btn):hover {
  color: var(--steel-link-hover);
}

.section-dark a:focus-visible,
.section-dark .btn:focus-visible {
  outline-color: #FFFFFF;
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 0 0.8rem;
}

main h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: none;
  margin: 0 0 0.8rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.section p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
}

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

.steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 3rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.steps p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

.detail-link {
  margin: 1.75rem 0 0 !important;
  font-weight: 600;
}

.step-cards {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}

.step-cards li {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.15rem 1rem 3.6rem;
  counter-increment: step;
  font-size: 1.0625rem;
}

.step-cards li::before {
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.contact-action {
  margin-top: 1.25rem !important;
}

.site-footer {
  padding: 2.15rem 0;
  background: var(--tint);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .site-header {
    padding: 1.35rem 0 1.75rem;
  }

  .header-bar {
    flex-wrap: nowrap;
    gap: 1.5rem;
  }

  .site-nav {
    flex: 1 1 auto;
  }

  .header-bar .btn {
    margin-left: auto;
    flex-shrink: 0;
  }

  .site-header h1 {
    font-size: 1.0625rem;
    margin-top: 1.25rem;
  }

  main h1,
  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .steps li {
    padding-left: 0;
    padding-top: 3rem;
  }

  .steps li::before {
    top: 0;
  }

  .how-wrap {
    width: min(100% - 2.5rem, 54rem);
  }

  .step-cards {
    gap: 1rem;
  }
}

@media (min-width: 1280px) {
  .wrap {
    width: min(100% - 3rem, 42rem);
  }

  .how-wrap {
    width: min(100% - 3rem, 54rem);
  }
}

@media (max-width: 639px) {
  .site-nav {
    flex-basis: 100%;
    order: 2;
  }

  .header-bar .btn {
    order: 3;
  }

  .wordmark {
    order: 1;
  }
}
