:root {
  --bg: #F7F5F1;
  --card: #FFFFFF;
  --ink: #2E2D28;
  --prose: #55534B;
  --soft: #8A867C;
  --moss: #6E7F62;
  --mark: #486042;
  --line: #DDD8CD;
  --btn: #E9E3D8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #24384C;
    --card: #2B4159;
    --ink: #F2EEE4;
    --prose: #C9CFD6;
    --soft: #8FA0B4;
    --moss: #B7C4AA;
    --mark: #ECDFD0;
    --line: #3C526A;
    --btn: #3C526A;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 48px 24px 80px; }
header.site { margin-bottom: 44px; display: flex; align-items: center; }
header.site > a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
header.site .wordmark { font-weight: 500; font-size: 22px; letter-spacing: 0.01em; }
header.site .crumb { margin-left: auto; }
header.site .crumb a, header.site .crumb span {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--moss); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px; text-decoration: none;
}
header.site .crumb a:hover { border-color: var(--moss); }
header.site .langs { display: flex; gap: 6px; font-size: 13px; margin-left: 12px; }
header.site .langs a { color: var(--soft); text-decoration: none; padding: 2px 8px; border-radius: 999px; border: 1px solid transparent; }
header.site .langs a.on { color: var(--moss); border-color: var(--line); }
h1 { font-weight: 500; font-size: clamp(26px, 5vw, 34px); margin-bottom: 14px; }
article, .lede { max-width: 640px; }
.lede {
  font-family: "Newsreader", Georgia, serif; font-style: italic;
  font-size: 19px; color: var(--prose); margin-bottom: 36px;
}
h2 { font-size: 21px; font-weight: 500; margin: 40px 0 10px; }
p, li { color: var(--prose); font-size: 16.5px; }
article p { margin-bottom: 12px; }
article a, .wrap > p a { color: var(--moss); text-decoration: none; border-bottom: 1px solid var(--line); }
article a:hover, .wrap > p a:hover { border-bottom-color: var(--moss); }
.wrap > p { max-width: 640px; }
ul { padding-left: 22px; }
li { margin-bottom: 10px; }
.note {
  background: var(--btn); border-radius: 10px; padding: 14px 18px; margin: 24px 0;
  font-size: 15.5px; color: var(--ink);
}
.en { border-top: 1px solid var(--line); margin-top: 52px; padding-top: 28px; }
.en h2 { margin-top: 0; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); font-weight: 500; }
footer.site {
  border-top: 1px solid var(--line); margin-top: 56px; padding-top: 20px;
  font-family: "Newsreader", Georgia, serif; font-style: italic;
  font-size: 15px; color: var(--soft);
}
article ~ footer.site { max-width: 640px; }

/* steps */
.steps-head { display: flex; align-items: baseline; justify-content: space-between; margin: 40px 0 10px; }
.steps-head h2 { margin: 0; }
.steps-count { font-size: 13.5px; color: var(--soft); }
.progress { height: 4px; background: var(--line); border-radius: 2px; margin-bottom: 26px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--moss); border-radius: 2px; transition: width .3s ease; }
.steps { list-style: none; margin-bottom: 8px; }
.step { display: flex; gap: 16px; }
.step-rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.step-node {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line);
  background: var(--bg); color: var(--soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500;
}
.step-line { width: 2px; flex-grow: 1; background: var(--line); }
.step:last-child .step-line { display: none; }
.step-main { flex-grow: 1; padding-bottom: 24px; min-width: 0; }
.step-head {
  display: block; width: 100%; text-align: left; background: none; border: 0; padding-top: 3px;
  font: inherit; font-size: 17px; font-weight: 500; color: var(--ink); cursor: pointer;
}
.step-head:hover { color: var(--moss); }
.step-state { font-size: 13.5px; color: var(--soft); font-weight: 400; }
.step-body { display: none; margin-top: 10px; }
.step-body p { font-size: 16px; margin-bottom: 12px; }
.step-body ul { margin-bottom: 12px; }
.step-body li { font-size: 16px; }
.step.is-open .step-body { display: block; }
.step.is-open .step-node { border-color: var(--moss); color: var(--moss); }
.step.is-done .step-node { background: var(--moss); border-color: var(--moss); color: var(--bg); }
.step.is-done .step-head { color: var(--moss); }
.step-next {
  display: inline-block; background: var(--btn); color: var(--ink); border: 0; border-radius: 8px;
  padding: 9px 16px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; margin-top: 4px;
}
.step-next:hover { color: var(--moss); }
.illu {
  border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  padding: 18px 20px; margin: 12px 0; display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.illu svg { flex-shrink: 0; }
.illu p { font-size: 14.5px; color: var(--soft); margin: 0; flex: 1 1 200px; }

/* index cards */
.guide-list { list-style: none; padding-left: 0; }
.guide-list li { margin-bottom: 18px; }
.guide-list li:last-child { margin-bottom: 0; }
.guide-list + p { margin-top: 34px; font-size: 15px; color: var(--soft); }
.guide-card {
  display: block; text-decoration: none; border: 1px solid var(--line); border-radius: 14px;
  background: var(--card); padding: 22px; transition: border-color .15s;
}
.guide-card:hover { border-color: var(--moss); }
.guide-card .t { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.guide-card .d { font-size: 15px; color: var(--prose); }
.guide-card .m { font-size: 13px; color: var(--soft); margin-top: 10px; }
