/* Notera designsystem v3.
   Klarna-recept: varm gra fond som ramar in vita kort med jatteradier,
   en accent som vagar ta plats (mint pa knappar och plattor), fargade
   dokumentkort. Kry-recept: navy, trygghet, bocklistor. */

:root {
  --navy: #132a63;
  --navy-hover: #1d3a85;
  --navy-deep: #0d1f4b;
  --text: #1a2540;
  --text-soft: #5a6478;
  --bg: #f2f2ed;            /* varm gra fond, Klarnas hero-ton */
  --surface: #ffffff;
  --border: #e4e4dc;
  --border-strong: #c9cabe;
  --mint: #b9ebd3;          /* accent som far ta plats */
  --mint-soft: #ddf3e8;
  --mint-text: #0e6b52;
  --blue-soft: #e2ebfa;     /* dokumentkortens tinter */
  --lilac-soft: #eae6f7;
  --amber-bg: #fdf3e3;
  --amber-border: #f0d9ae;
  --amber-text: #9a6b1f;
  --radius: 14px;
  --radius-lg: 26px;        /* jatteradie pa stora ytor */
  --radius-sm: 10px;
  --font-head: "Archivo", "Helvetica Neue", -apple-system, system-ui, sans-serif;
  --font-body: "Inter", "Helvetica Neue", -apple-system, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection { background: var(--mint); }

/* ---------- Topbar (vit, flyter pa fonden) ---------- */

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.topbar-right { display: flex; gap: 10px; }

.badge-nostore,
.badge-eu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 19px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: default;
}

.badge-nostore {
  background: var(--navy);
  color: #fff;
}

.badge-nostore::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.badge-eu {
  background: var(--mint);
  color: var(--navy);
}

.badge-eu::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}

/* ---------- Shell + rail ---------- */

.shell {
  flex: 1;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 32px 72px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.rail { position: sticky; top: 24px; }

.progress {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-dot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: transparent;
  transition: background 0.2s ease;
}

.progress-dot .dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--surface);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-soft);
  flex-shrink: 0;
}

.progress-dot:nth-child(1) .dot::before { content: "1"; }
.progress-dot:nth-child(2) .dot::before { content: "2"; }
.progress-dot:nth-child(3) .dot::before { content: "3"; }

.progress-dot.active {
  background: var(--surface);
}

.progress-dot.active .dot {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.progress-dot.done .dot {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--navy);
}

.progress-dot.done .dot::before { content: "✓"; }

.dot-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-soft);
}

.progress-dot.active .dot-label { color: var(--navy); }

.rail-promise {
  margin-top: 28px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
}

.rail-promise-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 14px;
}

.rail-promise ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: #d4dcf2;
}

.rail-promise li {
  padding-left: 28px;
  position: relative;
}

.rail-promise li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.rail-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--mint);
  font-weight: 700;
}

/* ---------- Scenen: vitt jattekort pa fonden ---------- */

.stage {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px 48px 40px;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mint-text);
  margin-bottom: 10px;
}

.step-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 14px;
}

.step-title .accent { color: var(--mint-text); }

.step-lede {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 62ch;
  margin-bottom: 28px;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 34px;
  gap: 12px;
}

/* ---------- Knappar ---------- */

.btn-primary,
.btn-ghost {
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 16px 32px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
}

.btn-primary:hover:not(:disabled) {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-primary.copied { background: var(--mint-text); border-color: var(--mint-text); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
}

.btn-ghost:hover { background: var(--bg); }

/* ---------- Dokumentkort: fargade tiler (Klarna) ---------- */

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.doc-card {
  font-family: inherit;
  text-align: left;
  border: 2.5px solid transparent;
  border-radius: 20px;
  padding: 24px 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.18s ease, border-color 0.15s ease;
}

.doc-card:hover { transform: translateY(-3px); }

.doc-card.active { border-color: var(--navy); }

.doc-card[data-id="remiss"] { background: var(--blue-soft); }
.doc-card[data-id="rontgen"] { background: var(--mint-soft); }
.doc-card[data-id="fk"] { background: var(--lilac-soft); }

.doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.doc-icon svg { width: 22px; height: 22px; stroke: var(--navy); }

.doc-card-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.doc-card-tag {
  font-size: 13.5px;
  color: var(--text-soft);
}

.option-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  max-width: 520px;
}

.option-row label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 8px;
}

select, input[type="text"], input[type="password"], textarea {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 13px 16px;
  width: 100%;
}

select:focus, input:focus, textarea:focus {
  outline: 2.5px solid var(--navy);
  outline-offset: -1.5px;
}

.requirements {
  background: var(--mint-soft);
  border-radius: 20px;
  padding: 22px 24px;
  max-width: 560px;
}

.req-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 10px;
}

.requirements ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}

.requirements li {
  padding-left: 26px;
  position: relative;
}

.requirements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.req-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-soft);
  font-style: italic;
}

/* ---------- FK-formularval ---------- */

.fk-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.fk-card {
  font-family: inherit;
  text-align: left;
  background: var(--bg);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 15px 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.fk-card:hover { background: var(--lilac-soft); }

.fk-card.active {
  border-color: var(--navy);
  background: var(--lilac-soft);
}

.fk-card-title {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.fk-card-hint {
  font-size: 13px;
  color: var(--text-soft);
}

#fk-detail-selects {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ---------- Anteckning ---------- */

.note-wrap { margin-top: 10px; }

.note-wrap .option-row { margin-top: 18px; }

#recipient-hint {
  color: var(--mint-text);
  font-weight: 700;
}

.note-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.note-head label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

/* Mint-knappen: accenten far ta plats (Klarnas rosa knapp) */
.btn-paste {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 999px;
  cursor: pointer;
  background: var(--mint);
  color: var(--navy);
  border: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn-paste:hover { filter: brightness(0.95); transform: translateY(-1px); }

.btn-mic {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  background: var(--surface);
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-mic svg { width: 18px; height: 18px; }

.btn-mic:hover { border-color: var(--navy); }

.btn-mic.recording {
  background: #fdeaea;
  border-color: #c94f4f;
  color: #a83232;
  animation: micpulse 1.4s ease-in-out infinite;
}

@keyframes micpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 79, 79, 0.35); }
  50% { box-shadow: 0 0 0 7px rgba(201, 79, 79, 0); }
}

.btn-mic.thinking {
  background: var(--lilac-soft);
  border-color: var(--border-strong);
  color: var(--navy);
}

.mic-wrap { position: relative; }

.mic-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 10;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  width: 320px;
  box-shadow: 0 12px 32px rgba(13, 31, 75, 0.14);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mic-menu button {
  font-family: var(--font-body);
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mic-menu button:hover { background: var(--mint-soft); }

.mic-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 10px;
}

.mic-menu strong {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.mic-menu span {
  font-size: 12.5px;
  color: var(--text-soft);
}

/* Diff efter rostredigering */
.diff-panel {
  margin-top: 14px;
  background: var(--mint-soft);
  border-radius: 16px;
  padding: 18px 20px;
}

.diff-title {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.diff-view {
  background: var(--surface);
  border-radius: 12px;
  padding: 16px 18px;
  white-space: pre-wrap;
  font-size: 14.5px;
  line-height: 1.8;
  max-height: 260px;
  overflow-y: auto;
}

.diff-view ins {
  text-decoration: none;
  background: var(--mint);
  color: var(--navy);
  border-radius: 4px;
  padding: 1px 3px;
  font-weight: 700;
}

.diff-view del {
  background: var(--amber-bg);
  color: var(--amber-text);
  border-radius: 4px;
  padding: 1px 3px;
  text-decoration: line-through;
}

.diff-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.btn-small {
  font-size: 14px !important;
  padding: 10px 20px !important;
}

textarea#note-input {
  min-height: 220px;
  resize: vertical;
  line-height: 1.6;
  background: var(--bg);
  border-color: transparent;
}

textarea#note-input:focus { background: var(--surface); }

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.name-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.label-soft {
  font-weight: 500;
  color: var(--text-soft);
  font-size: 12.5px;
}

/* ---------- Steg 2: granskning ---------- */

.pnr-warning {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber-text);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
}

.candidates-wrap {
  background: var(--mint-soft);
  border-radius: 20px;
  padding: 20px 22px;
  margin-bottom: 22px;
}

.cand-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.candidates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.cand-chip:has(input:checked) {
  background: var(--navy);
  color: #fff;
}

.cand-chip input { accent-color: var(--mint); }

.preview-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.scrub-preview {
  background: var(--bg);
  border-radius: 20px;
  padding: 26px 28px;
  white-space: pre-wrap;
  font-size: 15.5px;
  line-height: 1.9;
  max-height: 420px;
  overflow-y: auto;
}

.scrub-preview mark {
  background: var(--mint);
  color: var(--navy);
  border-radius: 7px;
  padding: 2px 9px;
  font-weight: 700;
  font-size: 13.5px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.access-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  max-width: 340px;
}

.access-row label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* ---------- Steg 3: resultat ---------- */

.result-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 100px 0;
  color: var(--text-soft);
}

.spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--navy);
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.result-error {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  color: var(--amber-text);
  font-weight: 600;
}

.missing-banner {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius);
  padding: 16px 22px;
  font-size: 15px;
  color: var(--amber-text);
  margin-bottom: 22px;
}

.missing-banner strong { font-weight: 800; }

/* Verktygsrad: diktera till vanster, minimerade kontroller till hoger */
.result-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.checks-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}

.checks-bar .ok-count { color: var(--mint-text); font-weight: 700; }
.checks-bar .miss-count { color: var(--amber-text); font-weight: 700; }

.checks-toggle {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
  transition: border-color 0.15s ease;
}

.checks-toggle:hover { border-color: var(--navy); }

.result-undo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--mint-soft);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}

.result-undo button {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  background: var(--surface);
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.result-doc {
  background: var(--bg);
  border-radius: 20px;
  padding: 30px 34px;
}

.doc-sec { padding: 4px 8px; border-radius: 12px; }

.doc-sec.changed {
  background: var(--mint-soft);
  outline: 2px solid var(--mint);
  margin: 6px -8px;
  padding: 10px 16px;
}

.doc-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 24px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.doc-sec:first-child .doc-sec-head { margin-top: 0; }

.result-doc h3 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.sec-copy {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: var(--surface);
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.sec-copy svg { width: 16px; height: 16px; }

.sec-copy:hover { border-color: var(--navy); }

.sec-copy.copied {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--navy);
}

.result-doc p {
  font-size: 15.5px;
  margin-bottom: 6px;
  min-height: 8px;
}

.missing-tag {
  display: inline-block;
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber-text);
  border-radius: 6px;
  padding: 1px 8px;
  font-weight: 700;
  font-size: 13px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.checks-panel {
  background: var(--mint-soft);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 16px;
}

.checks-panel ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.checks-panel li {
  font-size: 13.5px;
  border-radius: var(--radius);
  padding: 10px 12px 10px 38px;
  position: relative;
  background: var(--surface);
  color: var(--text);
}

.checks-panel li::before {
  position: absolute;
  left: 12px;
  top: 10px;
  font-weight: 800;
}

.check-ok::before {
  content: "✓";
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--navy);
  font-size: 10px;
  display: grid;
  place-items: center;
}

.check-missing {
  background: var(--amber-bg);
  color: var(--amber-text) !important;
  font-weight: 600;
}

.check-missing::before { content: "!"; color: var(--amber-text); left: 16px; }

.check-note { font-style: italic; color: var(--text-soft); }

.copy-note {
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mint-text);
}

.result-disclaimer {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--text-soft);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px 16px;
}

/* ---------- Prose (integritet) ---------- */

.prose-shell {
  flex: 1;
  max-width: 780px;
  width: 100%;
  margin: 24px auto 48px;
  padding: 48px 48px 56px;
  background: var(--surface);
  border-radius: var(--radius-lg);
}

.prose-shell h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 26px;
}

.prose-shell h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 32px 0 10px;
}

.prose-shell p, .prose-shell li { font-size: 16px; color: var(--text); margin-bottom: 10px; }

.prose-shell ol, .prose-shell ul { padding-left: 24px; }

.prose-shell a { color: var(--navy); font-weight: 700; }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-deep);
  padding: 26px 32px;
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: #b9c3dd;
  max-width: 760px;
  margin: 0 auto;
}

.footer .brand-name { font-size: 13px; font-weight: 800; color: #fff; }

/* ---------- Mobil ---------- */

@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px 14px 48px;
  }

  .rail { position: static; }

  .progress { flex-direction: row; justify-content: space-between; }

  .progress-dot { padding: 8px; flex-direction: column; gap: 6px; flex: 1; }

  .dot-label { font-size: 12.5px; }

  .rail-promise { display: none; }

  .stage { padding: 26px 20px 28px; border-radius: 20px; }

  .step-title { font-size: 34px; }

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

  .name-row { grid-template-columns: 1fr; }

  .checks-panel ul { grid-template-columns: 1fr; }

  .result-toolbar { flex-direction: column; align-items: flex-start; }

  .topbar-inner { padding: 12px 20px; }

  .badge-eu { display: none; }

  .prose-shell { margin: 12px 14px 32px; padding: 28px 22px; }
}
