/* How it works pages: the order pages' light system (product "Order pages - visual design"). */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --page: #f1f3f9;
  --card: #ffffff;
  --ink: #1e1e1e;
  --muted: #556072;
  --line: #e6e9ef;
  --field: #c9d0dc;
  --navy: #09182c;
  --purple: #7829f9;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); }
p { margin: 0; }

/* Header, as on the order pages */
.bar {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 24px;
  background: var(--navy);
}
.bar .brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.bar .brand img { display: block; height: 26px; width: auto; }
.bar .sep { width: 1px; height: 24px; background: rgba(255, 255, 255, 0.28); }
.bar .name { color: #fff; font-size: 18px; font-weight: 700; line-height: 1; white-space: nowrap; }

/* Column */
.page {
  max-width: 728px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}
.how-back { margin: 0 0 16px; }
.how-back a { font-size: 17px; font-weight: 600; text-decoration: none; }
.page > .how-back:last-child { margin: 20px 0 0; }
.page-name { margin: 0 0 20px; }
.page-name .role {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.page-name h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card {
  margin: 0 0 20px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

/* The step strip: the order pages' process line with neutral navy nodes */
.how-line {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-line li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.how-line li + li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -50%;
  right: 50%;
  height: 2px;
  background: var(--field);
}
.how-line .mark {
  position: relative;
  z-index: 1;
  display: block;
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--navy);
}
.how-line .step {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  white-space: nowrap;
}
.n { color: var(--purple); font-variant-numeric: tabular-nums; }

/* The five numbered sections */
.how-step { padding: 24px 0; border-top: 1px solid var(--line); }
.how-step:first-child { padding-top: 0; border-top: 0; }
.how-step:last-child { padding-bottom: 0; }
.how-step h2 { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 700; }
.how-step p { margin-top: 8px; }
.how-step p + p { margin-top: 12px; }
.how-step strong, .lead strong { font-weight: 700; }
.lead p + p { margin-top: 16px; }

[id] { scroll-margin-top: 24px; }
p:target {
  outline: 2px solid var(--purple);
  outline-offset: 6px;
  border-radius: 2px;
}

/* Footer: the site's links on the light ground */
.site-footer { padding: 8px 24px 40px; text-align: center; }
.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 0 0 16px;
  font-size: 15px;
}
.site-footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer .copy { font-size: 14px; color: var(--muted); }

@media (max-width: 480px) {
  .page { padding: 20px 24px 40px; }
  .page-name h1 { font-size: 26px; }
  .card { margin-bottom: 16px; padding: 20px; }
  .how-line { display: block; }
  .how-line li { flex-direction: row; gap: 14px; text-align: left; }
  .how-line li + li { margin-top: 12px; }
  .how-line li + li::before {
    top: -23px;
    left: 6px;
    right: auto;
    width: 2px;
    height: 33px;
  }
  .how-line .step { font-size: 16px; }
  .how-step { padding: 20px 0; }
}
