/* ============================================================
   Wizard & Apply · Sovereign Signal
   Modernised 2026-04-14
   ============================================================ */

:root {
  --so-cream: #f7f1e3;
  --so-paper: #fffaf0;
  --so-ink: #121833;
  --so-ink-soft: #3a435e;
  --so-muted: #6a7186;
  --so-line: rgba(18, 24, 51, 0.08);
  --so-line-strong: rgba(18, 24, 51, 0.18);
  --so-ember: #ff5b2e;
  --so-ember-soft: #ffe8df;
  --so-gold: #d99a2b;
  --so-gold-soft: #fff1d4;
  --so-navy: #13234f;
  --so-navy-soft: #e6e9f1;
  --so-green: #2c7a5b;
  --so-radius: 14px;
  --so-radius-sm: 8px;
  --so-shadow-sm: 0 1px 2px rgba(18, 24, 51, 0.04),
                  0 2px 4px rgba(18, 24, 51, 0.04);
  --so-shadow-md: 0 4px 8px rgba(18, 24, 51, 0.06),
                  0 10px 24px rgba(18, 24, 51, 0.08);
  --so-shadow-lg: 0 8px 16px rgba(18, 24, 51, 0.08),
                  0 24px 48px rgba(18, 24, 51, 0.12);
  --so-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Shell ---------- */

.wizard-shell {
  max-width: 1120px;
  margin: 3rem auto 4rem;
  padding: 0 1.5rem;
  animation: so-fade-in 0.5s var(--so-ease) both;
}

@keyframes so-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes so-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Progress header ---------- */

.wizard__progress {
  margin-bottom: 2.25rem;
}

.wizard__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  padding: 0;
  margin: 0 0 1rem;
}

.wizard__step {
  position: relative;
  padding: 0.875rem 1rem;
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  color: var(--so-muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: var(--so-shadow-sm);
  transition: all 0.3s var(--so-ease);
}

.wizard__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--so-navy-soft);
  color: var(--so-navy);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  transition: all 0.3s var(--so-ease);
}

.wizard__step.is-current {
  background: var(--so-ink);
  color: #fff;
  border-color: var(--so-ink);
  transform: translateY(-2px);
  box-shadow: var(--so-shadow-md);
}

.wizard__step.is-current .wizard__step-num {
  background: var(--so-ember);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 91, 46, 0.18);
}

.wizard__step.is-done {
  background: var(--so-navy);
  color: #fff;
  border-color: var(--so-navy);
}

.wizard__step.is-done .wizard__step-num {
  background: var(--so-gold);
  color: var(--so-navy);
}

.wizard__step.is-done .wizard__step-num::before {
  content: "✓";
  font-size: 0.85rem;
}
.wizard__step.is-done .wizard__step-num { font-size: 0; }
.wizard__step.is-done .wizard__step-num::before { font-size: 0.85rem; }

.wizard__progress-bar {
  height: 3px;
  background: var(--so-navy-soft);
  border-radius: 999px;
  overflow: hidden;
}

.wizard__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--so-ember) 0%, var(--so-gold) 100%);
  border-radius: 999px;
  transition: width 0.6s var(--so-ease);
  box-shadow: 0 0 12px rgba(255, 91, 46, 0.4);
}

.wizard__header {
  margin: 0 0 2rem;
}

.wizard__title {
  font-family: 'Clash Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--so-ink);
}

/* ---------- Step body grid ---------- */

.wizard-step {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
  animation: so-rise 0.5s var(--so-ease) both;
}

@media (max-width: 820px) {
  .wizard-step { grid-template-columns: 1fr; }
}

/* ---------- Side guidance ---------- */

.wizard-step__guidance {
  position: sticky;
  top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, var(--so-paper) 0%, var(--so-cream) 100%);
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  box-shadow: var(--so-shadow-sm);
}
@media (max-width: 820px) {
  .wizard-step__guidance { position: static; }
}

.wizard-step__guidance h2 {
  margin: 0 0 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--so-ember);
}

.wizard-step__guidance p {
  margin: 0 0 0.75rem;
  color: var(--so-ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.wizard-step__guidance ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.wizard-step__guidance li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--so-line);
  color: var(--so-ink-soft);
  font-size: 0.88rem;
}

.wizard-step__guidance li strong {
  color: var(--so-navy);
  display: block;
  margin-bottom: 0.15rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Form card ---------- */

.wizard-step__form {
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  padding: 2rem;
  box-shadow: var(--so-shadow-md);
}

.wizard-step__form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 2rem;
}

.wizard-step__form fieldset + fieldset {
  padding-top: 1.75rem;
  border-top: 1px solid var(--so-line);
}

.wizard-step__form legend {
  padding: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--so-navy);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ---------- Fields ---------- */

.field { margin-bottom: 1.25rem; }
.field:last-child { margin-bottom: 0; }

.field label,
.field > label {
  display: block;
  font-weight: 500;
  color: var(--so-ink);
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.field label .optional,
.field__optional {
  color: var(--so-muted);
  font-weight: 400;
  font-size: 0.78rem;
  margin-left: 0.35rem;
  letter-spacing: 0;
  text-transform: none;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field input[type="password"],
.field select,
.field textarea,
.wizard-step__form input[type="text"],
.wizard-step__form input[type="email"],
.wizard-step__form input[type="tel"],
.wizard-step__form input[type="number"],
.wizard-step__form input[type="date"],
.wizard-step__form input[type="password"],
.wizard-step__form select,
.wizard-step__form textarea {
  width: 100%;
  padding: 0.7rem 0.875rem;
  background: var(--so-paper);
  border: 1px solid var(--so-line-strong);
  border-radius: var(--so-radius-sm);
  font: inherit;
  color: var(--so-ink);
  transition: border-color 0.2s var(--so-ease),
              box-shadow 0.2s var(--so-ease),
              background 0.2s var(--so-ease);
}

.field textarea { min-height: 88px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus,
.wizard-step__form input:focus,
.wizard-step__form select:focus,
.wizard-step__form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--so-ember);
  box-shadow: 0 0 0 4px rgba(255, 91, 46, 0.12);
}

.field__hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--so-muted);
  font-size: 0.82rem;
}

.field__warning {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: var(--so-gold-soft);
  border-left: 3px solid var(--so-gold);
  border-radius: var(--so-radius-sm);
  color: var(--so-ink);
  font-size: 0.85rem;
  line-height: 1.4;
}

.field__warning::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--so-gold);
  color: #fff;
  border-radius: 50%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

/* radio list */
.field ul, .field--choice ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.field ul li { display: flex; align-items: flex-start; gap: 0.5rem; }
.field ul li label {
  padding: 0.5rem 0.75rem;
  background: var(--so-paper);
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  cursor: pointer;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s var(--so-ease);
  font-weight: 400;
}
.field ul li label:hover {
  border-color: var(--so-line-strong);
  background: #fff;
}
.field ul li input[type="radio"]:checked + span,
.field ul li label:has(input:checked) {
  background: var(--so-ember-soft);
  border-color: var(--so-ember);
  color: var(--so-ink);
}

/* errors */
.field-errors, .errorlist {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  color: #b43b2c;
  font-size: 0.85rem;
}
.errorlist li { padding: 0.25rem 0; }

/* ---------- Nav buttons ---------- */

.wizard-step__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--so-line);
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--so-ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--so-ink);
  color: #fff;
  border-color: var(--so-ink);
  box-shadow: 0 6px 14px rgba(18, 24, 51, 0.18);
}
.btn--primary:hover {
  background: var(--so-ember);
  border-color: var(--so-ember);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 91, 46, 0.32);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--so-ink-soft);
  border-color: var(--so-line-strong);
}
.btn--ghost:hover {
  color: var(--so-ink);
  border-color: var(--so-ink);
  background: var(--so-paper);
}

.btn--icon {
  padding: 0.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--so-line);
  color: var(--so-muted);
}
.btn--icon:hover {
  background: #fff3f0;
  border-color: #ff8a6e;
  color: #c42b1c;
}

/* ---------- Tally strip ---------- */

.tally-strip {
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--so-shadow-sm);
  margin: 2rem 0;
}

.tally-strip__title {
  margin: 0 0 0.25rem;
  font-family: 'Clash Display', serif;
  font-size: 1.15rem;
  color: var(--so-ink);
}

.tally-strip__hint {
  margin: 0 0 1rem;
  color: var(--so-muted);
  font-size: 0.87rem;
}

.tally-strip__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.tally-strip__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--so-paper);
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  font-size: 0.92rem;
  transition: all 0.25s var(--so-ease);
}
.tally-strip__item:hover {
  border-color: var(--so-line-strong);
  transform: translateY(-1px);
  box-shadow: var(--so-shadow-sm);
}

.tally-strip__name {
  color: var(--so-ink-soft);
}

.tally-strip__count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  color: var(--so-muted);
  font-size: 0.82rem;
}

.tally-strip__count strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  color: var(--so-ember);
  font-weight: 700;
}

/* ---------- Line items (Step 3) ---------- */

.line-items-wrap {
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  overflow: hidden;
  background: var(--so-paper);
}

.line-items__header {
  display: grid;
  grid-template-columns: 160px 1fr 70px 120px 120px 48px;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--so-navy);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.line-items__header span { white-space: nowrap; }

.line-items {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--so-line);
}

.line-item {
  display: grid;
  grid-template-columns: 160px 1fr 70px 120px 120px 48px;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  align-items: center;
  animation: so-rise 0.35s var(--so-ease) both;
  transition: background 0.2s var(--so-ease);
}

.line-item:hover { background: var(--so-paper); }

.line-item .field,
.line-item > div { margin: 0; }

.line-item select,
.line-item input[type="text"],
.line-item input[type="number"] {
  padding: 0.5rem 0.6rem;
  border-radius: var(--so-radius-sm);
  font-size: 0.9rem;
  border: 1px solid var(--so-line);
  background: var(--so-paper);
  width: 100%;
}

.line-item select:focus,
.line-item input:focus {
  background: #fff;
  border-color: var(--so-ember);
  box-shadow: 0 0 0 3px rgba(255, 91, 46, 0.14);
}

.line-item__subtotal {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  color: var(--so-ink);
  font-weight: 600;
  text-align: right;
}

.line-item__delete-wrap { display: flex; justify-content: center; }

.line-item__delete-cb {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.line-item__delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--so-line);
  color: var(--so-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.2s var(--so-ease);
  padding: 0;
}
.line-item__delete:hover {
  background: #fff3f0;
  border-color: #ff8a6e;
  color: #c42b1c;
  transform: rotate(90deg);
}

.line-item.is-removed {
  opacity: 0.4;
  text-decoration: line-through;
  background: #faf0ee;
}

@media (max-width: 820px) {
  .line-items__header { display: none; }
  .line-item {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 1rem;
    border-bottom: 1px solid var(--so-line);
  }
  .line-item > div:nth-child(2) { grid-column: span 2; }
}

.line-items__add {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0.55rem 1rem;
  background: transparent;
  border: 1px dashed var(--so-line-strong);
  border-radius: 999px;
  color: var(--so-navy);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  transition: all 0.2s var(--so-ease);
}
.line-items__add:hover {
  border-color: var(--so-ember);
  color: var(--so-ember);
  background: var(--so-ember-soft);
}

.line-items__totalbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding: 1.15rem 1.5rem;
  background: var(--so-ink);
  color: #fff;
  border-radius: var(--so-radius);
  box-shadow: var(--so-shadow-md);
}

.line-items__totalbar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.line-items__totalbar-amount {
  font-family: 'Clash Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.line-items__totalbar-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  margin-left: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--so-gold);
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

/* ---------- Review step ---------- */

.wizard-step--review .wizard-step__form fieldset {
  background: var(--so-paper);
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
.wizard-step--review .wizard-step__form fieldset + fieldset { border-top: 1px solid var(--so-line); }

.wizard-step--review legend {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.6rem;
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--so-navy);
}

.wizard-step--review legend a {
  color: var(--so-ember);
  text-decoration: none;
  border-left: 1px solid var(--so-line);
  padding-left: 0.5rem;
  margin-left: 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}
.wizard-step--review legend a:hover { text-decoration: underline; }

.wizard-step--review dl {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: 0.4rem 1rem;
  margin: 0;
}
.wizard-step--review dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--so-muted);
  padding-top: 0.2rem;
}
.wizard-step--review dd {
  margin: 0;
  color: var(--so-ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

.wizard-step--review table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.wizard-step--review thead th {
  padding: 0.5rem 0.75rem;
  background: var(--so-navy);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: left;
}
.wizard-step--review thead th:nth-child(n+3) { text-align: right; }
.wizard-step--review tbody td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--so-line);
  color: var(--so-ink);
}
.wizard-step--review tbody td:nth-child(n+3) {
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
}
.wizard-step--review tfoot td {
  padding: 0.8rem 0.75rem;
  background: var(--so-cream);
  border-top: 2px solid var(--so-ink);
  font-size: 0.95rem;
}
.wizard-step--review tfoot td:nth-child(n+2),
.wizard-step--review tfoot td:last-child {
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
}

.field--checkbox label {
  display: flex !important;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--so-paper);
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  cursor: pointer;
  color: var(--so-ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 400;
  transition: all 0.2s var(--so-ease);
}
.field--checkbox label:hover {
  border-color: var(--so-line-strong);
  background: #fff;
}
.field--checkbox input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 18px;
  height: 18px;
  accent-color: var(--so-ember);
}

/* ---------- Apply intro & done pages ---------- */

.apply-intro {
  max-width: 920px;
  margin: 4rem auto 4rem;
  padding: 0 1.5rem;
  animation: so-fade-in 0.5s var(--so-ease) both;
}

.apply-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--so-ember-soft);
  color: var(--so-ember);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.apply-intro__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--so-ember);
  box-shadow: 0 0 0 4px rgba(255, 91, 46, 0.25);
  animation: so-pulse 2s ease-in-out infinite;
}

@keyframes so-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.apply-intro h1 {
  font-family: 'Clash Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--so-ink);
}

.apply-intro__lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--so-ink-soft);
  max-width: 620px;
  margin: 0 0 2rem;
}

.apply-intro__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}
.apply-intro__steps li {
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  box-shadow: var(--so-shadow-sm);
  font-size: 0.9rem;
}
.apply-intro__steps li span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--so-ember);
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.draft-card {
  background: linear-gradient(135deg, var(--so-navy) 0%, #1e3066 100%);
  color: #fff;
  padding: 1.5rem 1.75rem;
  border-radius: var(--so-radius);
  margin-bottom: 1.75rem;
  box-shadow: var(--so-shadow-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.draft-card h2 {
  margin: 0 0 0.25rem;
  font-family: 'Clash Display', serif;
  font-size: 1.25rem;
}
.draft-card p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; }
.draft-card strong { color: var(--so-gold); }
.draft-card .btn--primary {
  background: var(--so-ember);
  border-color: var(--so-ember);
}

.start-form { margin: 0 0 2.5rem; }
.start-form .btn {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ---------- Done page ---------- */

.done {
  max-width: 820px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  animation: so-fade-in 0.5s var(--so-ease) both;
}

.done__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: #e2f6ed;
  color: var(--so-green);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.done__eyebrow::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--so-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.done h1 {
  font-family: 'Clash Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--so-ink);
}

.done__lead {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--so-ink-soft);
  margin: 0 0 2rem;
}

.done__reference {
  background: linear-gradient(135deg, var(--so-ink) 0%, var(--so-navy) 100%);
  color: #fff;
  border-radius: var(--so-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--so-shadow-lg);
}
.done__reference::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 91, 46, 0.35) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.done__reference-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--so-gold);
  margin-bottom: 0.4rem;
}
.done__reference-code {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.done__reference small {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.done__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 0 0 2.5rem;
}
.done__summary-item {
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  padding: 0.9rem 1rem;
}
.done__summary-item dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--so-muted);
  margin-bottom: 0.3rem;
}
.done__summary-item dd {
  margin: 0;
  font-size: 1rem;
  color: var(--so-ink);
  font-weight: 500;
}
.done__summary-item dd.is-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem;
  color: var(--so-ember);
}

.done__next {
  background: var(--so-paper);
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
}
.done__next h2 {
  font-family: 'Clash Display', serif;
  font-size: 1.4rem;
  margin: 0 0 1rem;
  color: var(--so-ink);
}
.done__next ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}
.done__next ol li {
  counter-increment: step;
  padding: 0.75rem 0 0.75rem 2.75rem;
  position: relative;
  border-top: 1px solid var(--so-line);
  color: var(--so-ink-soft);
  line-height: 1.55;
}
.done__next ol li:first-child { border-top: none; }
.done__next ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--so-ink);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.done__next ol li strong { color: var(--so-ink); }

.done__neutral {
  background: #fff;
  border: 1px dashed var(--so-line-strong);
  border-radius: var(--so-radius);
  padding: 2rem;
  text-align: center;
  color: var(--so-ink-soft);
  margin: 2rem 0;
}
.done__neutral strong { color: var(--so-ink); display: block; margin-bottom: 0.5rem; font-family: 'Clash Display', serif; font-size: 1.3rem; }

.done__nav {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 2rem;
}

/* ---------- Small screens polish ---------- */

@media (max-width: 640px) {
  .wizard-shell, .apply-intro, .done { margin-top: 1.5rem; }
  .wizard-step__form { padding: 1.25rem; }
  .wizard__steps {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }
  .wizard__step {
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0;
  }
  .wizard__step-label { display: none; }
  .wizard__step-num {
    margin: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    font-size: 0.9rem;
  }
}

/* ---------- Modernized draft card + intro additions ---------- */

.apply-intro__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--so-ember);
  box-shadow: 0 0 0 4px rgba(255, 91, 46, 0.18);
  animation: so-pulse 2s var(--so-ease) infinite;
}
.apply-intro__title { /* matches existing .apply-intro h1 */ }

.draft-card {
  flex-direction: column;
  align-items: stretch;
}
.draft-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.draft-card__badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--so-gold);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(217, 154, 43, 0.15);
  border: 1px solid rgba(217, 154, 43, 0.35);
}
.draft-card__ref {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.06em;
}
.draft-card__title {
  margin: 0 0 0.25rem;
  font-family: 'Clash Display', serif;
  font-size: 1.4rem;
  color: #fff;
}
.draft-card__meta {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}
.draft-card__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.draft-card__actions form { margin: 0; }
.draft-card__actions .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.draft-card__actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--xl {
  padding: 1.1rem 2.25rem !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.02em;
}
.start-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.start-form__hint {
  color: var(--so-muted);
  font-size: 0.88rem;
}

/* ---------- Done page: summary grid + numbered steps ---------- */

.done__summary {
  margin: 0 0 2.5rem;
}
.done__card {
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  padding: 1rem 1.1rem;
  box-shadow: var(--so-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: transform 0.2s var(--so-ease), box-shadow 0.2s var(--so-ease);
}
.done__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--so-shadow);
}
.done__card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--so-muted);
}
.done__card-value {
  font-family: 'Clash Display', serif;
  font-size: 1.15rem;
  color: var(--so-ink);
  line-height: 1.2;
}
.done__card small {
  color: var(--so-muted);
  font-size: 0.82rem;
}

.done__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.done__steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-top: 1px solid var(--so-line);
}
.done__steps li:first-child { border-top: none; }
.done__steps li p {
  margin: 0.2rem 0 0;
  color: var(--so-ink-soft);
  line-height: 1.55;
  font-size: 0.95rem;
}
.done__steps li strong {
  color: var(--so-ink);
  font-family: 'Clash Display', serif;
  font-size: 1.05rem;
}
.done__step-num {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--so-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 600;
}

.done__reference-hint {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

/* ---------- Review step polish ---------- */

.review__section {
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  padding: 1.25rem 1.4rem;
  margin: 0 0 1.25rem;
}
.review__section legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 0.25rem;
  font-family: 'Clash Display', serif;
  font-size: 1.1rem;
  color: var(--so-ink);
}
.review__edit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--so-ember);
  text-decoration: none;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--so-line);
  border-radius: 999px;
  transition: background 0.2s var(--so-ease), color 0.2s var(--so-ease);
}
.review__edit:hover {
  background: var(--so-ember);
  color: #fff;
  border-color: var(--so-ember);
}
.review__dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0.4rem 1rem;
  margin: 0.6rem 0 0;
}
.review__dl dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--so-muted);
  align-self: center;
}
.review__dl dd {
  margin: 0;
  color: var(--so-ink);
  font-size: 0.95rem;
}
.review__desc {
  grid-column: 1 / -1;
  background: var(--so-paper);
  border-radius: var(--so-radius-sm);
  padding: 0.75rem 0.9rem;
  color: var(--so-ink-soft);
  line-height: 1.55;
  font-size: 0.92rem;
}
.review__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
}
.review__table th, .review__table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--so-line);
  text-align: left;
}
.review__table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--so-muted);
  font-weight: 500;
}
.review__table .num { text-align: right; font-variant-numeric: tabular-nums; }
.review__table tfoot td {
  border-top: 2px solid var(--so-ink);
  border-bottom: none;
  padding-top: 0.75rem;
}
.review__tier-row td {
  color: var(--so-ember);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  padding-top: 0.2rem !important;
  border-top: none !important;
}
.review__declaration {
  background: var(--so-paper);
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  padding: 1.1rem 1.4rem;
  margin: 0 0 1.25rem;
}
.review__declaration legend {
  font-family: 'Clash Display', serif;
  font-size: 1.05rem;
  color: var(--so-ink);
  padding: 0 0.25rem;
}

.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.doc-list li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--so-line);
  font-size: 0.92rem;
}
.doc-list li:last-child { border-bottom: none; }
.doc-list__kind {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--so-ember);
  flex: 0 0 auto;
}
.doc-list__name { color: var(--so-ink-soft); }

@media (max-width: 640px) {
  .review__dl { grid-template-columns: 1fr; gap: 0.15rem 0; }
  .review__dl dt { margin-top: 0.5rem; }
  .review__section legend { flex-wrap: wrap; gap: 0.5rem; }
}

/* ---------- Done page: reference emphasis, copy button, choice card ---------- */

.done__reference-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.done__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--so-ease), transform 0.2s var(--so-ease);
}
.done__copy:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.done__copy.is-copied {
  background: var(--so-green, #1f8f5f);
  border-color: var(--so-green, #1f8f5f);
}
.done__copy-icon { font-size: 1rem; }

.done__reference-warn {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  background: rgba(217, 154, 43, 0.18);
  border-left: 3px solid var(--so-gold);
  border-radius: var(--so-radius-sm);
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.55;
}
.done__reference-warn strong { color: var(--so-gold); }

.done__choice {
  background: var(--so-paper);
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  padding: 1.75rem 2rem;
  margin: 0 0 2rem;
  animation: so-rise 0.5s var(--so-ease) both;
}
.done__choice-title {
  font-family: 'Clash Display', serif;
  font-size: 1.45rem;
  color: var(--so-ink);
  margin: 0 0 0.35rem;
}
.done__choice-lead {
  color: var(--so-ink-soft);
  margin: 0 0 1.5rem;
  font-size: 0.96rem;
}
.done__choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.done__choice-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: var(--so-shadow-sm);
  transition: transform 0.2s var(--so-ease), box-shadow 0.2s var(--so-ease);
}
.done__choice-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--so-shadow);
}
.done__choice-card--primary {
  border-color: var(--so-ember);
  box-shadow: 0 6px 24px rgba(255, 91, 46, 0.12);
}
.done__choice-tag {
  position: absolute;
  top: -10px;
  left: 1.35rem;
  background: var(--so-ember);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.done__choice-card h3 {
  margin: 0;
  font-family: 'Clash Display', serif;
  font-size: 1.15rem;
  color: var(--so-ink);
}
.done__choice-card p {
  margin: 0;
  color: var(--so-ink-soft);
  font-size: 0.93rem;
  line-height: 1.55;
  flex: 1;
}
.done__choice-card .btn {
  align-self: flex-start;
  margin-top: 0.4rem;
}

.done__logged-in {
  background: var(--so-paper);
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.done__logged-in p { margin: 0; color: var(--so-ink-soft); }

/* ---------- Signup page ---------- */

.signup {
  max-width: 560px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  animation: so-fade-in 0.5s var(--so-ease) both;
}
.signup__inner {
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  padding: 2.25rem 2.25rem 2rem;
  box-shadow: var(--so-shadow-lg);
}
.signup__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 91, 46, 0.12);
  color: var(--so-ember);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.signup__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--so-ember);
  box-shadow: 0 0 0 4px rgba(255, 91, 46, 0.2);
  animation: so-pulse 2s var(--so-ease) infinite;
}
.signup__title {
  font-family: 'Clash Display', serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
  color: var(--so-ink);
  letter-spacing: -0.02em;
}
.signup__lead {
  color: var(--so-ink-soft);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}
.signup__ref {
  background: linear-gradient(135deg, var(--so-ink) 0%, var(--so-navy) 100%);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--so-radius-sm);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.signup__ref-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--so-gold);
}
.signup__ref-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}
.signup__ref small { color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; }

.signup__form .field { margin-bottom: 1.1rem; }
.signup__form input[type="email"],
.signup__form input[type="password"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  background: #fff;
  transition: border-color 0.2s var(--so-ease), box-shadow 0.2s var(--so-ease);
}
.signup__form input:focus {
  outline: none;
  border-color: var(--so-ember);
  box-shadow: 0 0 0 3px rgba(255, 91, 46, 0.15);
}
.signup__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.signup__skip {
  text-align: center;
  margin: 1.5rem 0 0;
  font-size: 0.88rem;
  color: var(--so-muted);
}
.signup__skip a { color: var(--so-ember); }

/* ---------- Public status checker ---------- */

.check {
  max-width: 780px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  animation: so-fade-in 0.5s var(--so-ease) both;
}
.check__inner {}
.check__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(19, 35, 79, 0.08);
  color: var(--so-navy);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.check__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--so-navy);
  box-shadow: 0 0 0 4px rgba(19, 35, 79, 0.15);
}
.check__title {
  font-family: 'Clash Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.5rem;
  color: var(--so-ink);
  letter-spacing: -0.02em;
}
.check__lead {
  color: var(--so-ink-soft);
  line-height: 1.55;
  margin: 0 0 1.75rem;
}
.check__form {
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--so-shadow);
  margin-bottom: 2rem;
}
.check__field {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  flex-wrap: wrap;
}
.check__field input {
  flex: 1 1 260px;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  background: var(--so-paper);
  text-transform: uppercase;
}
.check__field input:focus {
  outline: none;
  border-color: var(--so-ember);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 91, 46, 0.15);
}
.check__field .btn { padding: 0.85rem 1.5rem; }
.check__error {
  margin: 0.85rem 0 0;
  color: #b5352b;
  font-size: 0.92rem;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.check__result {
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--so-shadow);
  animation: so-rise 0.4s var(--so-ease) both;
}
.check__result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--so-line);
  margin-bottom: 1.25rem;
}
.check__result-ref {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--so-ink);
}
.check__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
  margin: 0 0 1.75rem;
}
.check__facts > div {
  padding: 0.75rem 0.9rem;
  background: var(--so-paper);
  border-radius: var(--so-radius-sm);
}
.check__facts dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--so-muted);
  margin-bottom: 0.2rem;
}
.check__facts dd { margin: 0; color: var(--so-ink); font-size: 0.95rem; }

.check__timeline h2 {
  font-family: 'Clash Display', serif;
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--so-ink);
}
.check__timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--so-line);
}
.check__timeline-list li {
  padding: 0.6rem 0 0.6rem 1rem;
  position: relative;
  color: var(--so-ink-soft);
  font-size: 0.93rem;
  line-height: 1.55;
}
.check__timeline-list li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.9rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--so-ember);
  box-shadow: 0 0 0 3px #fff;
}
.check__timeline-when {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--so-muted);
  margin-bottom: 0.15rem;
}
.check__muted { color: var(--so-muted); font-size: 0.92rem; }
.check__hint {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--so-line);
  color: var(--so-muted);
  font-size: 0.88rem;
}
.check__hint a { color: var(--so-ember); }

.apps-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}
.apps-table th, .apps-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--so-line);
  font-size: 0.93rem;
}
.apps-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--so-muted);
  font-weight: 500;
}

/* ---------- Reduced-motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
