:root {
  --bg: #0b1220;
  --bg-elevated: #121a2b;
  --bg-card: #162033;
  --border: #243049;
  --text: #e8eef9;
  --muted: #93a0b8;
  --accent: #3dd6c6;
  --accent-dim: #2aa89b;
  --accent-soft: rgba(61, 214, 198, 0.12);
  --warn: #f0b429;
  --danger: #f07178;
  --ok: #7fd99a;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(61, 214, 198, 0.14), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(88, 120, 255, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mark-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  background: #0a0a0b;
  box-shadow: 0 0 0 1px rgba(138, 160, 180, 0.35);
}
.app-badge {
  position: absolute;
  right: -6px;
  bottom: -4px;
  min-width: 1.65rem;
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  background: #2dd4bf;
  color: #041018;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 0 0 2px #0a0a0b;
}

.brand h1 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--muted);
}
.badge.demo {
  border-color: rgba(240, 180, 41, 0.45);
  background: rgba(240, 180, 41, 0.12);
  color: var(--warn);
}
.badge.hidden { display: none; }

.screen[hidden] { display: none !important; }
.screen.is-active { display: block; }

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
}

.hero-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
}
.hero-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 42ch;
}
.hero-hint {
  margin: 0 !important;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.hero-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-card li { margin: 0.35rem 0; }

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1rem;
}
.section-title h2 { margin: 0; font-size: 1.25rem; }
.section-title span { color: var(--muted); font-size: 0.85rem; }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
}

button.tier-card {
  appearance: none;
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s, background 0.15s;
  position: relative;
  box-shadow: none;
}
button.tier-card:hover {
  border-color: rgba(61, 214, 198, 0.55);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
button.tier-card:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
button.tier-card:active { transform: scale(0.98); }
button.tier-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
  background: linear-gradient(180deg, rgba(61, 214, 198, 0.08), var(--bg-card));
}
.tier-card .name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  padding-right: 4.5rem;
}
.tier-card .price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.tier-card .price small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}
.flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.flag {
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(61, 214, 198, 0.25);
}
.flag.sample {
  background: rgba(245, 180, 60, 0.12);
  color: #f5b43c;
  border-color: rgba(245, 180, 60, 0.35);
  font-weight: 600;
}
.not-purchasable {
  color: var(--muted);
  font-style: italic;
}
.flag.off {
  background: rgba(147, 160, 184, 0.1);
  color: var(--muted);
  border-color: var(--border);
}
.tier-meta {
  color: var(--muted);
  font-size: 0.82rem;
}
.tier-cta {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}
.recommended {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #041018;
  background: var(--accent);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.panel h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}
.form-heading { margin-top: 0; }

.confirm-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 800px) {
  .confirm-layout { grid-template-columns: 1fr; }
}

.confirm-summary .eyebrow,
.success-panel .eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.confirm-summary h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}
.confirm-summary .price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.confirm-summary .price small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}
.demo-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--warn);
}

label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.optional { font-weight: 500; opacity: 0.8; }
.field { margin-bottom: 0.9rem; }
input[type="text"],
input[type="url"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.hint { font-size: 0.75rem; color: var(--muted); margin-top: 0.3rem; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  cursor: pointer;
}
.check input { margin-top: 0.2rem; cursor: pointer; }
.check .lbl { font-size: 0.88rem; font-weight: 600; color: var(--text); display: block; }
.check .sub { font-size: 0.75rem; color: var(--muted); display: block; }
.auto-fix-row { margin: 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
  align-items: center;
}
button, .btn {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s, opacity 0.12s, background 0.12s, border-color 0.12s, color 0.12s;
}
button:hover:not(:disabled) { filter: brightness(1.05); }
button:active { transform: scale(0.98); }
button:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #041018;
}
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.btn-ghost:hover:not(:disabled) { color: var(--text); }

.result {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: none;
  font-size: 0.92rem;
}
.result.show { display: block; }
.result[hidden] { display: none !important; }
.result.ok {
  border-color: rgba(127, 217, 154, 0.45);
  background: rgba(127, 217, 154, 0.08);
}
.result.err {
  border-color: rgba(240, 113, 120, 0.45);
  background: rgba(240, 113, 120, 0.08);
}
.result pre, pre.raw {
  margin: 0.5rem 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.8rem;
  color: var(--muted);
}

.success-panel .ok-text { color: var(--ok); }
.success-panel h2 { margin: 0 0 1rem; font-size: 1.5rem; }
.success-dl {
  margin: 0 0 1rem;
  display: grid;
  gap: 0.65rem;
}
.success-dl > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
}
.success-dl dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.success-dl dd {
  margin: 0;
  font-size: 0.95rem;
}
.success-dl code {
  font-size: 0.88rem;
  color: var(--accent);
}
.success-actions { margin-top: 0.25rem; }

.muted { color: var(--muted); }
.err-inline { color: var(--danger); }

footer {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}



/* —— Desk presence (Phase 1) —— */
.desk-presence {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem 1.1rem;
  overflow: hidden;
}
.desk-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}
.desk-chrome-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.desk-role {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(240, 113, 120, 0.18);
  color: #ffb4b8;
  border: 1px solid rgba(240, 113, 120, 0.55);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  animation: live-pulse 1.6s ease-in-out infinite;
}
.live-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 0 rgba(240, 113, 120, 0.55);
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}
.btn-mute {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  min-height: 36px;
}
.btn-mute[aria-pressed="false"] {
  color: var(--accent);
  border-color: rgba(61, 214, 198, 0.5);
  background: var(--accent-soft);
}
.desk-chrome-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.btn-escalate {
  appearance: none;
  border: 1px solid rgba(240, 180, 41, 0.55);
  background: rgba(240, 180, 41, 0.14);
  color: #ffd78a;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  min-height: 36px;
}
.btn-escalate:hover:not(:disabled) {
  background: rgba(240, 180, 41, 0.24);
  border-color: var(--warn);
}
.btn-escalate:disabled {
  opacity: 0.55;
  cursor: wait;
}
.handoff-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(240, 180, 41, 0.45);
  background: linear-gradient(90deg, rgba(240, 180, 41, 0.16), rgba(61, 214, 198, 0.08));
  color: var(--text);
  font-size: 0.86rem;
}
.handoff-banner strong {
  color: #ffd78a;
  letter-spacing: 0.02em;
}
.handoff-banner span {
  color: var(--muted);
  font-size: 0.8rem;
}
.toast-host {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  min-height: 0;
}
.toast {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(61, 214, 198, 0.16);
  border: 1px solid rgba(61, 214, 198, 0.45);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 650;
  animation: toast-in 0.22s ease-out;
}
.toast-err {
  background: rgba(240, 113, 120, 0.16);
  border-color: rgba(240, 113, 120, 0.5);
}
.toast.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.desk-presence.is-handoff .desk-portrait {
  box-shadow:
    0 0 0 3px rgba(240, 180, 41, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.4);
}
.desk-presence.is-listen-learn .desk-scene {
  outline: 1px dashed rgba(61, 214, 198, 0.35);
}
.desk-presence.is-listen-learn .desk-caption::after {
  content: " · listen/learn";
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82em;
}
.learning-panel {
  margin-top: 1rem;
}
.actions .btn-escalate {
  order: -1;
}
.desk-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
  min-height: 140px;
  margin-bottom: 0.75rem;
}
.desk-scene {
  position: relative;
  height: 120px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #0e1626 0%, #152038 55%, #1a2740 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}
.desk-glow {
  position: absolute;
  inset: -20% 20% auto;
  height: 80%;
  background: radial-gradient(ellipse, rgba(61, 214, 198, 0.18), transparent 70%);
  pointer-events: none;
}
.desk-monitor {
  position: absolute;
  left: 12%;
  bottom: 28%;
  width: 42%;
  max-width: 180px;
  aspect-ratio: 16 / 10;
  background: #0a101a;
  border: 2px solid #2a3a55;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.desk-screen {
  position: absolute;
  inset: 8%;
  background: linear-gradient(160deg, rgba(61,214,198,0.25), rgba(88,120,255,0.12));
  border-radius: 3px;
  overflow: hidden;
}
.screen-lines {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 6px,
    rgba(232, 238, 249, 0.06) 6px,
    rgba(232, 238, 249, 0.06) 7px
  );
  animation: scan 3.5s linear infinite;
}
@keyframes scan {
  from { transform: translateY(0); }
  to { transform: translateY(7px); }
}
.desk-surface {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(180deg, #243049, #1a2235);
  border-top: 1px solid rgba(147, 160, 184, 0.25);
}
.desk-portrait-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 1;
}
.desk-portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: #0a0a0b;
  box-shadow:
    0 0 0 3px rgba(61, 214, 198, 0.35),
    0 12px 28px rgba(0, 0, 0, 0.4);
}
.desk-presence.is-live .desk-portrait {
  box-shadow:
    0 0 0 3px rgba(240, 113, 120, 0.45),
    0 12px 28px rgba(0, 0, 0, 0.4);
}
.desk-nameplate {
  text-align: center;
  line-height: 1.25;
}
.desk-nameplate strong {
  display: block;
  font-size: 0.95rem;
}
.desk-nameplate span {
  font-size: 0.72rem;
  color: var(--muted);
}
.desk-caption {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}
.desk-ticker {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 4.8rem;
  overflow: hidden;
}
.desk-ticker li {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 2px solid var(--accent-dim);
  padding-left: 0.5rem;
}
.legal-tip {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted);
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: rgba(147, 160, 184, 0.08);
  border: 1px solid var(--border);
  overflow-wrap: anywhere;
}
.legal-tip code {
  font-size: 0.72rem;
  color: var(--accent);
}

/* KYC stub */
.kyc-block {
  margin: 1rem 0 0.25rem;
  padding: 0.85rem 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
}
.kyc-block legend {
  padding: 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}
.kyc-purpose {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.kyc-consent {
  margin-top: 0.35rem;
  align-items: flex-start;
}
.kyc-consent span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Manager report */
.manager-report .section-title.tight {
  margin-bottom: 0.65rem;
}
.manager-report .section-title.tight h2 {
  font-size: 1.05rem;
  margin: 0;
}
.manager-report-body {
  display: grid;
  gap: 0.65rem;
}
.mgr-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.mgr-stat {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}
.mgr-stat .lbl {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.mgr-stat .val {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text);
}
.mgr-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.mgr-list li { margin: 0.25rem 0; }
.mgr-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.success-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 800px) {
  .success-layout { grid-template-columns: 1fr; }
  .desk-stage { grid-template-columns: 1fr; }
  .desk-portrait-wrap { justify-self: center; }
  .mgr-stat-row { grid-template-columns: 1fr; }
}

/* —— Incident timeline (demo success) —— */
.incident-timeline {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0 0 0 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  padding: 0 0 1.15rem;
}
.tl-item:last-child {
  padding-bottom: 0.25rem;
}
.tl-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.85rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-dim), var(--border));
  opacity: 0.7;
}
.tl-marker {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(61, 214, 198, 0.45);
  z-index: 1;
}
.tl-item.is-ok .tl-marker {
  background: rgba(127, 217, 154, 0.15);
  color: var(--ok);
  border-color: rgba(127, 217, 154, 0.5);
}
.tl-item.is-warn .tl-marker {
  background: rgba(240, 180, 41, 0.14);
  color: var(--warn);
  border-color: rgba(240, 180, 41, 0.5);
}
.tl-body {
  min-width: 0;
  padding-top: 0.15rem;
}
.tl-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.2rem;
}
.tl-step {
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.tl-at {
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.tl-detail {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.tl-expand {
  margin-top: 0.35rem;
}
.tl-expand summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  list-style: none;
}
.tl-expand summary::-webkit-details-marker { display: none; }
.tl-expand[open] summary { margin-bottom: 0.35rem; }
.raw-details {
  margin-top: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}
.raw-details summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.raw-details[open] summary {
  margin-bottom: 0.4rem;
  color: var(--text);
}

/* —— Mobile hire/demo tighten (~390px) —— */
@media (max-width: 520px) {
  body {
    overflow-x: hidden;
  }

  .wrap {
    width: min(1100px, calc(100% - 1.5rem));
    padding: 1rem 0 2.5rem;
  }

  header.top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
  }

  .brand {
    min-width: 0;
    width: 100%;
  }

  .brand > div:last-child {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand h1 {
    font-size: 1.1rem;
  }

  .brand p {
    font-size: 0.78rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
    text-align: left;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 0.85rem;
  }

  .section-title h2 {
    font-size: 1.15rem;
  }

  .hero {
    gap: 1rem;
    margin-bottom: 1.35rem;
  }

  .hero-copy h2 {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
    overflow-wrap: anywhere;
  }

  .hero-copy p {
    max-width: none;
  }

  .hero-card {
    padding: 1rem;
  }

  .tiers {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  button.tier-card {
    padding: 1.05rem 1rem;
    min-height: 44px;
  }

  /* Avoid sticky hover lift on touch devices */
  button.tier-card:hover {
    transform: none;
  }
  button.tier-card:active {
    transform: scale(0.98);
  }

  .tier-card .name {
    padding-right: 5rem;
    overflow-wrap: anywhere;
  }

  .tier-card .price {
    font-size: 1.45rem;
  }

  .panel {
    padding: 1.05rem;
  }

  .confirm-summary h2 {
    font-size: 1.3rem;
    overflow-wrap: anywhere;
  }

  .confirm-summary .price {
    font-size: 1.55rem;
  }

  label {
    margin-bottom: 0.4rem;
  }

  .field {
    margin-bottom: 1rem;
  }

  input[type="text"],
  input[type="url"],
  input[type="email"],
  select,
  textarea {
    min-height: 44px;
    padding: 0.7rem 0.8rem;
    font-size: 16px; /* avoid iOS focus zoom */
  }

  .check {
    min-height: 44px;
    padding: 0.7rem 0.75rem;
    gap: 0.65rem;
  }

  .check input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 1.15rem;
  }

  .actions .btn-ghost {
    align-self: flex-start;
    min-height: 44px;
    padding: 0.65rem 0.35rem;
  }

  .actions .btn-primary,
  .actions .btn-secondary,
  .success-actions .btn-primary,
  .success-actions .btn-secondary {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
  }

  .success-panel h2 {
    font-size: 1.3rem;
    overflow-wrap: anywhere;
  }


  .desk-presence {
    padding: 0.85rem;
  }
  .desk-scene {
    height: 100px;
  }
  .desk-portrait {
    width: 80px;
    height: 80px;
  }
  .desk-ticker li {
    white-space: normal;
  }
  .btn-mute {
    min-height: 44px;
  }
  .kyc-block {
    padding: 0.75rem;
  }

  .incident-timeline {
    padding-left: 0;
  }
  .tl-item {
    grid-template-columns: 1.75rem 1fr;
    gap: 0.6rem;
  }
  .tl-marker {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.7rem;
  }
  .tl-item:not(:last-child)::before {
    left: 0.82rem;
    top: 1.7rem;
  }
  .tl-step {
    font-size: 0.92rem;
  }
  .raw-details summary,
  .tl-expand summary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }


  .success-dl > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .success-dl dd,
  .success-dl code,
  pre.raw,
  .result pre {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  footer {
    padding: 0 0.25rem;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 520px) and (hover: hover) {
  button.tier-card:hover {
    transform: translateY(-2px);
  }
}

/* Social footer — null URLs stay muted (no fake links) */
.social-footer { width: 100%; margin-top: 0.85rem; }
.social-row { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; align-items: center; }
.social-icon {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem; border: 1px solid var(--border, var(--line, #333));
}
.social-icon svg { width: 1.15rem; height: 1.15rem; }
.social-soon { opacity: 0.45; color: var(--muted, #888); cursor: default; }
.social-live { color: var(--accent, #12c2e0); border-color: color-mix(in srgb, var(--accent, #12c2e0) 45%, transparent); }
.social-note { margin: 0.55rem 0 0; font-size: 0.75rem; color: var(--muted, #888); opacity: 0.9; text-align: center; }
.social-site { display: inline-block; margin-top: 0.35rem; font-size: 0.8rem; color: var(--accent, #12c2e0); }

/* Legal footer links (Impressum / privacy / terms) */
.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.legal-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.legal-links a:hover { text-decoration: underline; }
.legal-tip a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.legal-tip a:hover { text-decoration: underline; }

/* ===== Hire kit: look picker + pay stub ===== */
.look-block {
  margin: 1rem 0;
  padding: 0.85rem 1rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 23, 32, 0.55);
}
.look-block legend {
  padding: 0 0.35rem;
  font-weight: 700;
  color: var(--text);
}
.look-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.look-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  width: 4.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}
.look-opt img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.look-opt.office {
  width: 5.5rem;
}
.look-opt.office img {
  width: 72px;
  height: 48px;
}
.look-opt.selected,
.look-opt[aria-selected="true"] {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.desk-office-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  border-radius: 12px;
  pointer-events: none;
  filter: saturate(0.85);
}
.desk-scene {
  position: relative;
  overflow: hidden;
}
.pay-layout {
  max-width: 28rem;
  margin: 0 auto;
}
.pay-price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.35rem 0 0.75rem;
}
.pay-honest {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  border-left: 3px solid var(--accent);
  background: rgba(94, 234, 212, 0.06);
  border-radius: 0 8px 8px 0;
}
#payStubBadge {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
}
.legal-links a { margin: 0 0.15rem; }
@media (max-width: 640px) {
  .look-opt { width: 4.1rem; }
  .pay-price { font-size: 1.65rem; }
}


/* ===== Apex-style TraderScene composite (2D layered) ===== */
.trader-scene {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #05070a;
  isolation: isolate;
  flex-shrink: 0;
  box-shadow:
    0 0 0 2px rgba(61, 214, 198, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.4);
}
.desk-presence.is-live .trader-scene {
  box-shadow:
    0 0 0 2px rgba(240, 113, 120, 0.45),
    0 12px 28px rgba(0, 0, 0, 0.4);
}
.trader-sm { width: 148px; height: 196px; }
.trader-md { width: 180px; height: 240px; }
.trader-lg { width: 220px; height: 292px; }
.trader-office,
.trader-photo,
.trader-desk-photo,
.trader-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.trader-office {
  object-fit: cover;
  z-index: 0;
}
.trader-photo {
  object-fit: cover;
  object-position: 50% 8%;
  width: 78%;
  height: 86%;
  left: 11%;
  top: 2%;
  z-index: 2;
  filter: saturate(0.92) contrast(1.05);
}
.trader-wash { z-index: 3; }
.trader-desk-photo {
  object-fit: cover;
  object-position: 50% 18%;
  top: auto;
  height: 46%;
  z-index: 4;
}
.trader-glasses,
.trader-headset,
.trader-watch,
.trader-coffee {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}
.trader-glasses {
  left: 28%;
  top: 18%;
  width: 44%;
  height: 10%;
  border: 1.5px solid rgba(238, 242, 244, 0.55);
  border-radius: 40% / 55%;
  box-shadow: 0 0 8px rgba(18, 194, 224, 0.25);
}
.trader-headset {
  left: 18%;
  top: 10%;
  width: 64%;
  height: 22%;
  border: 2px solid rgba(18, 194, 224, 0.55);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}
.trader-watch {
  right: 18%;
  bottom: 28%;
  width: 9%;
  height: 6%;
  border-radius: 3px;
  background: #c9a84a;
  box-shadow: 0 0 6px rgba(201, 168, 74, 0.7);
}
.trader-coffee {
  left: 12%;
  bottom: 10%;
  width: 12%;
  height: 10%;
  border-radius: 50% 50% 40% 40%;
  background: radial-gradient(circle at 50% 30%, #6b3a22, #2a140c);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.trader-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  padding: 0.45rem 0.55rem 0.4rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  margin: 0;
}
.trader-caption span {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted);
}
.look-preview-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.look-preview-meta {
  flex: 1;
  min-width: 10rem;
}
.look-preview-meta .eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.look-preview-meta p { margin: 0 0 0.55rem; }
.look-opt.chip {
  width: auto;
  min-width: 4.8rem;
  padding: 0.45rem 0.55rem;
}
.desk-look-meta {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.desk-portrait-wrap .desk-portrait[hidden] {
  display: none !important;
}
@media (max-width: 640px) {
  .trader-md { width: 148px; height: 196px; }
  .look-preview-row { justify-content: center; }
}


/* QA polish: escalate reason + consent gate */
.esc-reason {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
}
.esc-reason-opt {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted, #9aa3b2);
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
}
.esc-reason-opt:has(input:checked) {
  color: #e8eef8;
  border-color: rgba(120, 180, 255, 0.45);
  background: rgba(80, 130, 220, 0.15);
}
.consent-gate {
  margin: 0.65rem 0 0.35rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(240, 180, 80, 0.35);
  background: rgba(40, 32, 12, 0.55);
}
.consent-gate strong { display: block; margin-bottom: 0.35rem; }
.consent-gate p { margin: 0 0 0.65rem; font-size: 0.85rem; color: #d9d2c0; line-height: 1.4; }
.consent-gate-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.esc-hint { width: 100%; margin: 0 0 0.25rem; opacity: 0.8; }
#payChargedLine { color: #9ec27a; }

@media (max-width: 640px) {
  .desk-chrome-actions {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .esc-reason { width: 100%; }
  .consent-gate-actions .btn-primary,
  .consent-gate-actions .btn-ghost { flex: 1 1 auto; }
}

/* Bugfix 2026-10-09: author display rules (e.g. .handoff-banner) must not override the hidden attribute */
[hidden] { display: none !important; }

/* ==================== Oct 26 polish: a11y, guided tour, status history ==================== */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: var(--accent);
  color: #041018;
  font-weight: 700;
}
.skip-link:focus { top: 0.75rem; text-decoration: none; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
main:focus { outline: none; }
button:focus-visible,
a:focus-visible,
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
h2[tabindex="-1"]:focus { outline: none; }
.field-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.look-opt[aria-pressed="true"] { outline: 2px solid var(--accent); outline-offset: 1px; }
.esc-hint-inline { font-size: 0.72rem; color: var(--muted); }
.esc-hint-inline[hidden] { display: none; }
#escalateBtn:disabled { filter: grayscale(0.6); }

/* Guided tour CTA + panel */
.tour-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(61, 214, 198, 0.45);
  background: linear-gradient(135deg, rgba(61, 214, 198, 0.14), rgba(88, 120, 255, 0.08)), var(--bg-card);
}
.tour-cta[hidden] { display: none; }
.tour-cta h2 { margin: 0 0 0.25rem; font-size: 1.1rem; }
.tour-cta p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.tour-cta p strong { color: var(--text); }
.tour-btn { white-space: nowrap; min-height: 44px; }
.tour-panel { margin-bottom: 1rem; }
.tour-panel[hidden] { display: none; }
.tour-steps { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.tour-step {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
}
.tour-step p { margin: 0; }
.tour-step-title { font-weight: 700; font-size: 0.92rem; }
.tour-step-detail { font-size: 0.82rem; color: var(--muted); overflow-wrap: anywhere; }
.tour-marker {
  flex: 0 0 1.8rem;
  height: 1.8rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--border);
  font-weight: 800;
  color: var(--muted);
}
.tour-step.is-running { border-color: var(--accent); }
.tour-step.is-running .tour-marker { border-color: var(--accent); color: var(--accent); }
.tour-step.is-done .tour-marker { border-color: var(--ok); color: #06140b; background: var(--ok); }
.tour-step.is-fail { border-color: var(--danger); }
.tour-step.is-fail .tour-marker { border-color: var(--danger); color: #1a0507; background: var(--danger); }
.tour-actions[hidden] { display: none; }

/* Status history */
.history-panel { margin-top: 1rem; }
.history-panel[hidden] { display: none; }
.empty-state {
  padding: 0.85rem 1rem;
  border: 1px dashed var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}
.empty-state p { margin: 0 0 0.35rem; }
.empty-state strong { color: var(--text); }
.hist-site + .hist-site { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.hist-head { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: space-between; }
.hist-url { overflow-wrap: anywhere; font-size: 0.9rem; }
.hist-pill {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.hist-pill.is-up { background: rgba(127, 217, 154, 0.16); color: var(--ok); }
.hist-pill.is-down { background: rgba(240, 113, 120, 0.16); color: var(--danger); }
.hist-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.hist-stats div { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px; padding: 0.45rem 0.6rem; }
.hist-stats dt { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.hist-stats dd { margin: 0; font-weight: 700; }
.hist-bars { display: flex; gap: 3px; height: 28px; align-items: stretch; }
.hist-bar { flex: 0 1 12px; min-width: 4px; border-radius: 3px; }
.hist-bar.is-up { background: var(--ok); }
.hist-bar.is-down { background: var(--danger); }
.table-scroll { overflow-x: auto; }
.hist-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; margin-top: 0.4rem; }
.hist-table th, .hist-table td { text-align: left; padding: 0.35rem 0.4rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.hist-table th { color: var(--muted); font-weight: 600; }
.history-actions button[hidden] { display: none; }

@media (max-width: 800px) {
  .tour-cta { flex-direction: column; align-items: stretch; }
  .tour-btn { width: 100%; }
  .hist-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* On phones the pick screen (tiers) comes right after the tour CTA; the desk follows. */
  main { display: flex; flex-direction: column; }
  body[data-screen="pick"] #tourCta { order: -2; }
  body[data-screen="pick"] #screenPick { order: -1; margin-bottom: 1rem; }
  .esc-hint-inline { flex-basis: 100%; }
}

/* honest add-on status list (built / simulated / sample / coming later) */
.addon-status-list { list-style: none; margin: 4px 0 0; padding: 0; font-size: .85em; }
.addon-status-list li { padding: 1px 0; }
.addon-status.built::before { content: "● "; color: #14b8a6; }
.addon-status.simulated::before, .addon-status.sample::before { content: "● "; color: #f59e0b; }
.addon-status.coming_later { opacity: .7; }
.addon-status.coming_later::before { content: "○ "; }

/* 2026-11-12: non-custodial risk notice + footer Impressum details */
.risk-notice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.5rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(240, 180, 41, 0.4);
  border-left: 3px solid var(--warn);
  background: rgba(240, 180, 41, 0.08);
  border-radius: var(--radius);
  color: var(--text);
  overflow-wrap: anywhere;
}
.risk-notice-col p {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text);
}
.risk-notice-col p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}
.risk-notice strong {
  color: var(--warn);
  font-weight: 700;
}
.impressum-footer {
  display: block;
  margin: 0 auto 0.85rem;
  max-width: 36rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  font-style: normal;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
  overflow-wrap: anywhere;
}
.impressum-footer strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}
@media (max-width: 800px) {
  .risk-notice { grid-template-columns: 1fr; padding: 0.75rem 0.85rem; }
  .risk-notice-col p { font-size: 0.88rem; }
  .impressum-footer { padding: 0.75rem 0.8rem; }
}

/* 2026-11-12: What Sentinel is / does (DE + EN) */
.what-sentinel {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem 1.15rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--warn);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}
.what-sentinel h2 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--text);
}
.what-sentinel-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
}
.what-sentinel-cols p {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}
.what-sentinel-cols p:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  .what-sentinel { padding: 0.85rem 0.9rem 1rem; }
  .what-sentinel h2 { font-size: 1.05rem; }
  .what-sentinel-cols { grid-template-columns: 1fr; }
  .what-sentinel-cols p { font-size: 0.88rem; }
  /* Sit at the top of main, before the existing mobile tour/tier reorder (order -2 / -1). */
  body[data-screen="pick"] #whatSentinel { order: -3; }
}
