/* Sikap home (/): intro, country list, globe, country card. Tokens and shared classes come from sk.css. Phone first. */
body.home .sk-footer { margin-top: 0; }
.hm { background: var(--paper); }
/* one type scale on the phone (52, 30, 24, 16, 13) and spacing in steps of 4 and 8 on one 16px left edge (Edwin, 3 Nov 2026, design B) */
.intro { padding: 28px var(--gutter-phone) 0; }
.intro h1 { font-size: 52px; line-height: .95; margin-left: -2px; }
.intro .motto { margin: 20px 0 0; max-width: 17ch; font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.12; }
.intro .tag { margin: 12px 0 0; font-size: 15px; line-height: 1.4; color: var(--slate); }
.guide { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: g; display: grid; gap: 12px; font-size: 16px; line-height: 1.4; }
.guide li { counter-increment: g; display: grid; grid-template-columns: 24px 1fr; align-items: baseline; }
.guide li::before { content: counter(g); font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1; color: var(--ochre); }

.globe-box { position: relative; height: 240px; margin-top: 8px; background: var(--mist); overflow: hidden; }
.globe-box canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.gtip { position: absolute; z-index: 3; pointer-events: none; padding: 6px 10px; border-radius: var(--radius); background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; transform: translate(12px, -140%); }
.gtip[hidden] { display: none; }
.gbtns { display: none; }
.gbtn { width: var(--tap); height: var(--tap); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }

.pick { padding: 24px var(--gutter-phone) 0; }
.pick h2 { font-family: var(--font-text); font-size: 15px; font-weight: 600; }
.pick .help { margin: 2px 0 10px; font-size: 14px; color: var(--slate); }
.pick label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.pick .note { margin: 6px 0 8px; min-height: 20px; font-size: 13px; color: var(--slate); }
.pick .more { margin: 12px 0 18px; font-size: 14px; color: var(--slate); }
.pick .more a { position: relative; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.pick .more a::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--tap); transform: translateY(-50%); }
.pick .none { margin: 0; padding: 14px 0; border-top: 1.5px solid var(--ink); color: var(--slate); }
.clist { list-style: none; margin: 0; padding: 0; max-height: 372px; overflow-y: auto; border-top: 1.5px solid var(--ink); }
.clist[hidden], .pick .none[hidden] { display: none; }
.prow:hover { background: var(--soft); }
.prow:focus-visible { outline-offset: -4px; }
.cn { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.st { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; font-size: 14px; color: var(--slate); }
.dot { width: 10px; height: 10px; border-radius: 50%; box-sizing: border-box; border: 2px solid var(--ink); flex: 0 0 auto; }
.dot.researched { background: var(--ink); }
.dot.paused { border-style: dashed; }
.dot.none { border-color: var(--fade); border-style: dotted; }
.st .lg { display: none; } .st .sh { display: inline; }

.card { margin: 24px var(--gutter-phone) 32px; }
.ch { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 12px; }
.ch h2 { font-size: 36px; line-height: 1.1; }
.ch .st .lg { display: inline; } .ch .st .sh { display: none; }
.cb { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 16px; }
/* the route as a rail laid sideways (Edwin, 9 Oct 2026, design D): sleepers and a double line behind round pictogram marks, the word under each */
.route ol { position: relative; display: flex; list-style: none; margin: 0; padding: 0; }
.route ol::before { content: ""; position: absolute; left: 10%; right: 10%; top: 17px; height: 16px; background: repeating-linear-gradient(to right, var(--sleeper) 0 2px, transparent 2px 9px); }
.route ol::after { content: ""; position: absolute; left: 10%; right: 10%; top: 22px; height: 6px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--paper); }
.route li { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.route .mk { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--ink); background: var(--paper); color: var(--ink); }
.route .sn { font-size: 13px; font-weight: 600; line-height: 1.2; }
.route.faded .mk { border-style: dashed; border-color: var(--line); color: var(--slate); }
.route.faded .sn { color: var(--slate); font-weight: 400; }
.facts { margin: 12px 0 0; display: grid; grid-template-columns: 1fr; }
.facts > div { padding: 10px 0; border-top: 1px solid var(--rule); }
.facts dt { font-size: 13px; line-height: 1.35; color: var(--slate); }
.facts dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.facts .least { display: block; font-size: 13px; font-weight: 400; color: var(--slate); }
.facts dt { font-weight: 600; color: var(--ink); }
.nr { margin: 14px 0 0; font-size: 16px; }
.nudge { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 18px; font-weight: 600; line-height: 1.35; }
.cf { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
.cf a:not(.cta) { align-self: center; display: inline-flex; align-items: center; min-height: var(--tap); font-size: 15px; }
.cf .cta { order: -1; width: 100%; }

@media (min-width: 600px) { .st .lg { display: inline; } .st .sh { display: none; } }

@media (min-width: 900px) {
  :root { --gs: 900px; }
  .hm { position: relative; min-height: max(100vh, 900px); overflow: hidden; background: var(--mist); }
  .hm::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 560px; background: var(--paper); z-index: 1; }
  body.home .sk-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; z-index: 5; }
  .intro, .pick { position: relative; z-index: 2; width: 560px; padding-left: 56px; padding-right: 56px; }
  .intro { padding-top: 132px; }
  .intro h1 { font-size: 72px; }
  .intro .motto { margin-top: 24px; max-width: none; font-size: 38px; }
  .intro .tag { margin-top: 14px; font-size: 16px; }
  .pick { margin-top: 28px; padding-top: 0; }
  .globe-box { position: absolute; left: 560px; right: 0; top: 0; bottom: 0; height: auto; margin: 0; background: none; z-index: 0; }
  .globe-box canvas { left: 0; top: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
  .globe-box canvas.grab { cursor: grabbing; }
  .gbtns { display: flex; flex-direction: column; gap: 8px; position: absolute; right: 56px; top: 130px; z-index: 2; }
  .card { position: absolute; z-index: 2; left: 600px; bottom: 40px; width: calc(100% - 656px); max-width: 820px; margin: 0; padding: 24px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
  .ch { flex-direction: row; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
  .cb { border: 0; padding: 0; background: none; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--rule); }
  .facts > div { padding: 0; border-top: 0; }
  .cf { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
  .cf a:not(.cta) { align-self: auto; }
  .cf .cta { order: 0; width: auto; margin-left: auto; }
  .nudge { font-size: 20px; }
}
@media (min-width: 1400px) { :root { --gs: 1060px; } }

/* info icon: help lines behind it */
.ic { width: 24px; height: 24px; vertical-align: middle; display: inline-flex; align-items: center; justify-content: center; color: var(--slate); }
.ip { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--slate); }
.ip[hidden] { display: none; } .ip > span { display: block; }

.clist .st .lg { display: none; } .clist .st .sh { display: inline; }
.facts dt { display: flex; align-items: center; gap: 4px; min-height: 24px; }

/* ---------- the sign-up button and the Germany sample under the motto (Edwin, 19 Oct 2026) ---------- */
.join { margin: 0; padding: 32px var(--gutter-phone) 0; }
.join .cta { width: 100%; min-height: 52px; padding: 0 28px; font-size: 17px; border-radius: var(--radius-lg); }
.join[hidden] { display: none; }
.sample { padding: 56px var(--gutter-phone) 0; }
.sample[hidden] { display: none; }
.sample h2 { margin: 0; }
.sample h2 .eyb { display: block; font-family: var(--font-text); font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--slate); }
.sample h2 .cname { display: block; margin-top: 4px; font-size: 32px; line-height: 1.1; }
/* the Chapters card (Edwin, 3 Nov 2026: "lets go chapters card"): home's own copy of the route page's thin five-part bar, no route.css import */
.sample .chap { margin-top: 20px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); padding: 20px 20px 8px; }
.chap .bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.chap .bar i { display: block; height: 4px; border-radius: 2px; background: var(--rule); }
.chap .bar li.past i { background: var(--ink); }
.chap .bar .n { display: block; margin-top: 10px; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.2; }
.chap .bar li:not(.past) .n { color: var(--fade); font-weight: 500; }
.chap .bar .sw { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* phone: the number shows, "Step n" is read aloud */
.chap .bar .w { display: none; }
.chap .rows { margin: 16px 0 0; }
.chap .rows > div { padding: 16px 0; border-top: 1px solid var(--rule); }
.chap .rows dt { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-height: 24px; font-size: 13px; line-height: 1.35; color: var(--slate); }
.chap .rows dt b { font-size: 15px; font-weight: 600; color: var(--ink); }
.chap .rows dt .ic { margin-left: -6px; }
.chap .rows dt .ip { flex: 1 1 100%; margin-top: 2px; }
.chap .rows dd { margin: 0; }
.chap .rows .lb { display: block; margin-top: 4px; font-size: 15px; line-height: 1.35; }
.chap .rows .v { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.15; color: var(--ochre); }
.chap .rows .v .seal { margin-left: 4px; vertical-align: -2px; }
.sample > .go-link { margin-top: 20px; }
@media (min-width: 900px) {
  .join, .sample { position: relative; z-index: 2; width: 560px; padding-left: 56px; padding-right: 56px; }
  .join .cta { width: auto; min-width: 280px; }
  .sample { padding-top: 56px; }
  .sample h2 .cname { font-size: 36px; }
  .sample .chap { padding: 24px 24px 8px; }
  .chap .bar { gap: 8px; }
  .chap .bar .n { text-align: left; font-weight: 400; color: var(--slate); }
  .chap .bar li:not(.past) .n { font-weight: 400; }
  .chap .bar .sw { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .chap .bar .nn { display: none; }
  .chap .bar .w { display: block; margin-top: 1px; font-size: 15px; font-weight: 600; line-height: 1.3; }
  .chap .bar li:not(.past) .w { color: var(--slate); font-weight: 500; }
  .chap .rows { margin-top: 20px; }
  .chap .rows > div { display: grid; grid-template-columns: 120px 1fr; gap: 0 16px; align-items: start; }
  .chap .rows dt { padding-top: 3px; }
  .chap .rows dt .ip { grid-column: 1 / -1; }
}
@media (max-width: 420px) {   /* five stop words fit side by side at 375 px: "Settlement" and "Citizenship" no longer touch */
  .route .sn { font-size: 12px; }
}
