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

:root {
  --bg:          #FFFFFF;
  --surface:     #FFFFFF;
  --ink:         #050505;
  --ink-2:       #525252;
  --ink-3:       #9A9A9A;
  --border:      rgba(0,0,0,0.09);
  --border-2:    rgba(0,0,0,0.18);
  --accent:      #1B56F5;
  --accent-tint: #EBF0FF;
  --card-shadow: 0 1px 4px rgba(0,0,0,0.07), 0 0 0 1px rgba(0,0,0,0.07);
  --card-shadow-hover: 0 4px 16px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.1);
  --high-text:   #0A0A0A;
  --high-bg:     #0A0A0A;
  --high-border: rgba(0,0,0,0.15);
  --ltd-text:    #525252;
  --ltd-bg:      #F0EDE8;
  --ltd-border:  rgba(0,0,0,0.1);
  --min-text:    #9A9A9A;
  --min-bg:      #F5F3EE;
  --min-border:  rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ─ Countdown ─────────────────────────────── */
#topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.topbar-countdown {
  background: #DC2626;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 100px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  white-space: nowrap;
}

/* ─ Header ────────────────────────────────── */
#header { padding: 20px 24px 0; }
.logo {
  font-family: 'Spectral', serif;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.logo em { font-style: normal; color: var(--accent); }

/* ─ Progress ──────────────────────────────── */
#progress-line-wrap {
  max-width: 600px;
  margin: 28px auto 0;
  padding: 0 20px;
}
.pl-meta { display: flex; justify-content: space-between; margin-bottom: 8px; }
.pl-step {
  font-size: 11.5px; font-weight: 600; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.pl-track { height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.pl-fill {
  height: 100%; background: var(--accent); border-radius: 2px;
  transition: width 0.5s cubic-bezier(.4,0,.2,1);
}

/* ─ Main ──────────────────────────────────── */
.main { width: 100%; padding: 36px 0 100px; }

/* Wizard steps stay at 600px; intro breaks out full-width */
.step:not(#screen-intro) {
  max-width: 600px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

#screen-intro {
  padding: 0 clamp(24px, 5vw, 80px) 80px;
}

/* ─ Step transitions ──────────────────────── */
.step { display: none; }
.step.active { display: block; }

@keyframes slideFromRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
.step.anim-fwd { animation: slideFromRight 0.26s cubic-bezier(.25,.46,.45,.94) both; }
.step.anim-bck { animation: slideFromLeft  0.26s cubic-bezier(.25,.46,.45,.94) both; }

/* ─ Step typography ───────────────────────── */
.step-eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px;
}
.step-title {
  font-family: 'Spectral', serif;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.08; letter-spacing: -1.2px;
  color: var(--ink); margin-bottom: 8px;
}
.step-sub {
  font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin-bottom: 28px;
}

/* ─ Back button ───────────────────────────── */
.btn-back {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; font-family: inherit;
  font-size: 13.5px; font-weight: 500; color: var(--ink-3);
  cursor: pointer; padding: 0; margin-bottom: 28px; transition: color 0.15s;
}
.btn-back:hover { color: var(--ink); }

/* ─ Primary button ────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; border: none; border-radius: 9px;
  padding: 13px 24px; font-family: inherit; font-size: 14.5px; font-weight: 600;
  cursor: pointer; transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  white-space: nowrap; letter-spacing: -0.1px;
}
.btn-primary svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-primary:hover:not(:disabled) { background: #1244e0; box-shadow: 0 6px 20px rgba(27,86,245,0.3); }
.btn-primary:active:not(:disabled) { transform: scale(0.97); }
.btn-primary:disabled { background: rgba(0,0,0,0.08); color: var(--ink-3); cursor: not-allowed; box-shadow: none; }
.btn-primary.btn-lg { padding: 15px 30px; font-size: 16px; }
.step-actions { margin-top: 12px; }

/* ─ Ghost button ──────────────────────────── */
.btn-ghost {
  background: none; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  padding: 9px 20px; cursor: pointer; transition: border-color 0.18s, color 0.18s;
}
.btn-ghost:hover { border-color: var(--border-2); color: var(--ink); }

/* ─ Intro screen ──────────────────────────── */
.intro-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  align-items: center;
  padding: 8px 0 0;
  position: relative;
}
.intro-wrap::before {
  content: '';
  position: absolute;
  inset: -36px -20px 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 60%, transparent 100%);
  z-index: 0;
}
.intro-wrap > * { position: relative; z-index: 1; }
.intro-tag {
  display: inline-block;
  font-size: 12px; font-weight: 500;
  color: var(--ink-3);
  border: 1px solid var(--border-2);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 28px;
}
.intro-title {
  font-family: 'Spectral', serif;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.95; letter-spacing: -3px;
  color: var(--ink); margin-bottom: 20px;
}
.intro-sub {
  font-size: 16px; color: var(--ink-2); line-height: 1.65;
  max-width: 520px; margin-bottom: 36px;
}
.intro-sub strong { color: var(--ink); font-weight: 600; }

.intro-stats-row {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 760px) {
  .intro-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .intro-right { order: -1; }
  .intro-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .intro-stat {
    background: var(--surface); border-radius: 10px; padding: 12px 10px;
    box-shadow: var(--card-shadow); border: none;
  }
  .intro-stat:last-child { border-bottom: none; }
  .intro-stat-num { font-size: 24px; letter-spacing: -1px; }
  .intro-stat-lbl { font-size: 11px; }
}

.intro-stat {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.intro-stat:last-child { border-bottom: 1px solid var(--border); }
.intro-stat-num {
  font-family: 'Spectral', serif; font-size: 46px; letter-spacing: -2px;
  color: var(--ink); line-height: 1; margin-bottom: 6px;
}
.intro-stat-lbl { font-size: 12px; color: var(--ink-3); line-height: 1.45; }

.intro-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 32px;
}
.intro-feature {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
}
.intro-feature svg { color: var(--min-text); flex-shrink: 0; }
.intro-note { font-size: 11.5px; color: var(--ink-3); margin-top: 12px; }

/* ─ Industry grid ─────────────────────────── */
.industry-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 28px;
}
@media (min-width: 480px) { .industry-grid { grid-template-columns: 1fr 1fr 1fr; } }

.ind-card {
  background: var(--surface); border-radius: 12px; padding: 16px 14px; cursor: pointer;
  transition: box-shadow 0.18s, transform 0.15s; user-select: none;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  position: relative; box-shadow: var(--card-shadow);
}
.ind-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-1px); }
.ind-card.selected { box-shadow: 0 0 0 2px var(--accent), 0 4px 16px rgba(27,86,245,0.12); }
.ind-card.selected .ind-check { opacity: 1; transform: scale(1); }

.ind-icon {
  width: 32px; height: 32px; background: var(--bg); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); transition: background 0.18s, color 0.18s;
}
.ind-card.selected .ind-icon { background: var(--accent); color: #fff; }
.ind-icon svg { width: 16px; height: 16px; }
.ind-name { font-size: 12.5px; font-weight: 600; line-height: 1.3; }

.ind-check {
  position: absolute; top: 10px; right: 10px;
  width: 18px; height: 18px; background: var(--accent); border-radius: 100px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.18s, transform 0.2s cubic-bezier(.34,1.56,.64,1);
}
.ind-check svg { width: 10px; height: 10px; color: #fff; }

/* ─ Tools tip ─────────────────────────────── */
.tools-tip {
  display: flex; align-items: center; gap: 7px;
  background: rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px; padding: 10px 14px;
  font-size: 13px; color: var(--ink-2); margin-bottom: 16px;
  font-style: italic;
}
.tools-tip svg { flex-shrink: 0; }

/* ─ Tools meta / counter ──────────────────── */
.tools-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tools-count { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tools-count span { color: var(--accent); }

/* ─ Tool categories ───────────────────────── */
.tool-category { margin-bottom: 10px; }

.cat-header {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: var(--surface); border-radius: 12px; cursor: pointer; user-select: none;
  transition: box-shadow 0.18s; box-shadow: var(--card-shadow);
}
.tool-category.open .cat-header { border-radius: 12px 12px 0 0; }
.cat-header:hover { box-shadow: var(--card-shadow-hover); }

.cat-icon {
  width: 28px; height: 28px; border-radius: 6px; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); flex-shrink: 0;
}
.cat-icon svg { width: 14px; height: 14px; }
.cat-name { font-size: 13px; font-weight: 600; flex: 1; }
.cat-count {
  font-size: 11.5px; font-weight: 600; color: var(--accent);
  background: var(--accent-tint); padding: 2px 8px; border-radius: 100px;
  opacity: 0; transition: opacity 0.15s;
}
.cat-count.visible { opacity: 1; }
.cat-chevron { color: var(--ink-3); transition: transform 0.22s ease; flex-shrink: 0; }
.tool-category.open .cat-chevron { transform: rotate(180deg); }

.cat-body {
  display: none;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  border-radius: 0 0 12px 12px;
  padding: 8px;
}
.tool-category.open .cat-body { display: block; }

.cat-tools-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
@media (min-width: 480px) { .cat-tools-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* ─ Tool cards ────────────────────────────── */
.tool-card {
  background: var(--surface); border-radius: 10px; padding: 11px 12px; cursor: pointer;
  user-select: none; transition: box-shadow 0.15s, transform 0.12s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.06);
}
.tool-card:hover { box-shadow: 0 3px 10px rgba(0,0,0,0.09), 0 0 0 1px rgba(0,0,0,0.08); transform: translateY(-1px); }
.tool-card.selected { box-shadow: 0 0 0 2px var(--accent), 0 3px 12px rgba(27,86,245,0.12); }

.tool-cb {
  width: 16px; height: 16px; border: 1.5px solid var(--border-2); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px; transition: background 0.15s, border-color 0.15s;
}
.tool-card.selected .tool-cb { background: var(--accent); border-color: var(--accent); }
.tool-cb svg { width: 9px; height: 9px; color: #fff; opacity: 0; transition: opacity 0.1s; }
.tool-card.selected .tool-cb svg { opacity: 1; }
.tool-name { font-size: 12px; font-weight: 600; line-height: 1.3; margin-bottom: 3px; }
.tool-desc { font-size: 11px; color: var(--ink-3); line-height: 1.35; }

.other-wrap { margin-bottom: 28px; margin-top: 10px; }
.other-wrap label {
  display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-bottom: 7px;
}
.other-wrap input {
  width: 100%; padding: 10px 14px; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: 8px; font-family: inherit;
  font-size: 14px; color: var(--ink); outline: none; transition: border-color 0.18s;
}
.other-wrap input::placeholder { color: var(--ink-3); }
.other-wrap input:focus { border-color: var(--ink); }

/* ─ Size cards ────────────────────────────── */
.size-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 28px; }
.size-card {
  background: var(--surface); border-radius: 12px;
  padding: 15px 18px; cursor: pointer; display: flex; align-items: center;
  gap: 14px; user-select: none; transition: box-shadow 0.18s, transform 0.15s;
  box-shadow: var(--card-shadow);
}
.size-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-1px); }
.size-card.selected { box-shadow: 0 0 0 2px var(--accent), 0 4px 16px rgba(27,86,245,0.1); }
.size-radio {
  width: 18px; height: 18px; border: 1.5px solid var(--border-2); border-radius: 100px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: border-color 0.18s;
}
.size-card.selected .size-radio { border-color: var(--accent); }
.size-dot {
  width: 8px; height: 8px; background: var(--accent); border-radius: 100px;
  transform: scale(0); transition: transform 0.2s cubic-bezier(.34,1.56,.64,1);
}
.size-card.selected .size-dot { transform: scale(1); }
.size-lbl { font-size: 14.5px; font-weight: 600; }
.size-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }

/* ─ Usage modes ───────────────────────────── */
.usage-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 28px;
}
@media (min-width: 500px) { .usage-grid { grid-template-columns: 1fr 1fr 1fr; } }

.usage-card {
  background: var(--surface); border-radius: 12px; padding: 14px 14px; cursor: pointer;
  user-select: none; transition: box-shadow 0.18s, transform 0.15s;
  display: flex; flex-direction: column; gap: 9px;
  box-shadow: var(--card-shadow);
}
.usage-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-1px); }
.usage-card.selected { box-shadow: 0 0 0 2px var(--accent), 0 4px 16px rgba(27,86,245,0.1); }
.usage-card.selected .usage-icon { background: var(--accent); color: #fff; }

.usage-icon {
  width: 30px; height: 30px; border-radius: 7px; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); transition: background 0.18s, color 0.18s;
}
.usage-icon svg { width: 14px; height: 14px; }
.usage-label { font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.usage-desc { font-size: 11px; color: var(--ink-3); line-height: 1.4; }

/* ─ Context cards ─────────────────────────── */
.ctx-counter {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 14px; transition: color 0.2s;
}
.ctx-counter.has-triggers { color: var(--ink); }
.ctx-counter svg { flex-shrink: 0; }

.ctx-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 28px; }
.ctx-card {
  background: var(--surface); border-radius: 12px; padding: 14px 16px; cursor: pointer;
  user-select: none; transition: box-shadow 0.18s, transform 0.15s;
  box-shadow: var(--card-shadow);
}
.ctx-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-1px); }
.ctx-card.selected { box-shadow: 0 0 0 2px var(--accent), 0 4px 16px rgba(27,86,245,0.1); }
.ctx-row { display: flex; align-items: flex-start; gap: 12px; }
.ctx-cb {
  width: 18px; height: 18px; border: 1.5px solid var(--border-2); border-radius: 4px;
  flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.ctx-card.selected .ctx-cb { background: var(--accent); border-color: var(--accent); }
.ctx-cb svg { width: 10px; height: 10px; color: #fff; opacity: 0; transition: opacity 0.1s; }
.ctx-card.selected .ctx-cb svg { opacity: 1; }
.ctx-lbl { font-size: 13.5px; font-weight: 500; line-height: 1.45; }
.ctx-fine { font-size: 11px; font-weight: 600; color: var(--ink-3); margin-top: 4px; }
.ctx-tag {
  display: inline-flex; align-items: center; margin-top: 5px;
  font-size: 11px; font-weight: 600; color: var(--ink-2);
  background: rgba(0,0,0,0.06); padding: 2px 8px; border-radius: 100px;
}

/* ─ Analyzing screen ──────────────────────── */
.analyzing-wrap {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 50vh; gap: 28px; text-align: center;
}
.analyzing-spinner {
  width: 44px; height: 44px; border: 3px solid var(--border);
  border-top-color: var(--ink); border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.analyzing-title {
  font-family: 'Spectral', serif; font-size: 22px; color: var(--ink);
}
.analyzing-checks { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.acheck {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-3); transition: color 0.3s;
  padding-left: 4px;
}
.acheck::before {
  content: '';
  width: 16px; height: 16px; border-radius: 100px;
  border: 1.5px solid var(--border); flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}
.acheck.done { color: var(--ink); }
.acheck.done::before { background: var(--min-text); border-color: var(--min-text); }

/* ─ Executive summary ─────────────────────── */
.exec-summary {
  background: var(--surface); border-radius: 16px;
  padding: 32px 32px 28px; margin-bottom: 12px;
  box-shadow: var(--card-shadow);
}
.r-eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px;
}
.r-headline {
  font-family: 'Spectral', serif;
  font-size: clamp(24px, 4.5vw, 34px); line-height: 1.1;
  letter-spacing: -1px; margin-bottom: 24px;
}
.r-headline strong { color: var(--ink); }
.r-headline em     { font-style: italic; color: var(--ink-2); }

/* Readiness bar */
.readiness-wrap { margin-bottom: 24px; }
.readiness-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px;
}
.readiness-pct { font-size: 14px; font-weight: 700; color: var(--ink); }
.readiness-track {
  height: 6px; background: var(--border); border-radius: 100px; overflow: hidden;
}
.readiness-fill {
  height: 100%; border-radius: 100px; background: var(--accent);
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.readiness-note { font-size: 11.5px; color: var(--ink-3); margin-top: 6px; }

/* Stats row */
.r-stats-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
@media (min-width: 420px) { .r-stats-row { grid-template-columns: repeat(4, 1fr); } }
.r-stat { background: var(--bg); border-radius: 8px; padding: 12px 14px; }
.r-stat-num {
  font-family: 'Spectral', serif; font-size: 28px; line-height: 1;
  margin-bottom: 4px; font-variant-numeric: tabular-nums; color: var(--ink-3);
}
.r-stat-lbl { font-size: 11px; font-weight: 500; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-high    .r-stat-num { color: var(--ink); }
.stat-limited .r-stat-num { color: var(--ink-2); }
.stat-minimal .r-stat-num { color: var(--ink-3); }
.stat-days    .r-stat-num { color: var(--ink); font-size: 20px; }

/* ─ Fine card ─────────────────────────────── */
.fine-card {
  background: #0A0A0A; border: none;
  border-radius: 14px; padding: 24px 28px; margin-bottom: 12px;
}
.fine-card.warn { background: #F0EDE8; }
.fine-card.ok   { background: var(--surface); box-shadow: var(--card-shadow); }
.fine-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  color: rgba(255,255,255,0.55); margin-bottom: 12px;
}
.fine-card.warn .fine-label { color: var(--ink-3); }
.fine-card.ok   .fine-label { color: var(--ink-3); }
.fine-label svg { width: 13px; height: 13px; }
.fine-amount {
  font-family: 'Spectral', serif; font-size: 26px; letter-spacing: -0.8px;
  color: #fff; line-height: 1.15; margin-bottom: 8px;
}
.fine-card.warn .fine-amount { color: var(--ink); font-size: 20px; font-weight: 700; font-family: 'DM Sans',sans-serif; letter-spacing: -0.5px; }
.fine-card.ok   .fine-amount { color: var(--ink-2); font-size: 15px; font-family: 'DM Sans',sans-serif; font-weight: 500; }
.fine-basis { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.55; }
.fine-card.warn .fine-basis { color: var(--ink-2); }
.fine-card.ok   .fine-basis { color: var(--ink-3); }

/* ─ If you do nothing ─────────────────────── */
.nothing-card {
  background: #0A0A0A; border: none;
  border-radius: 14px; padding: 22px 26px; margin-bottom: 12px;
}
.nothing-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.09em; color: rgba(255,255,255,0.45); margin-bottom: 14px;
}
.nothing-label svg { width: 13px; height: 13px; flex-shrink: 0; color: rgba(255,255,255,0.45); }
.nothing-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.nothing-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.55; font-weight: 400;
}
.nothing-list li::before {
  content: ''; display: inline-block; width: 4px; height: 4px;
  background: rgba(255,255,255,0.35); border-radius: 100px; flex-shrink: 0; margin-top: 8px;
}

/* ─ Section heading ───────────────────────── */
.section-head {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; margin-top: 24px;
  display: flex; align-items: center;
}

/* ─ Tool result cards ─────────────────────── */
.tool-result {
  background: var(--surface); border-radius: 12px; margin-bottom: 8px;
  overflow: hidden; box-shadow: var(--card-shadow); transition: box-shadow 0.15s;
}
.tool-result.risk-high    { border-left: 3px solid #0A0A0A; }
.tool-result.risk-limited { border-left: 3px solid #BCBCBC; }
.tool-result.risk-minimal { border-left: 3px solid #E0DDD8; }

@keyframes highPulse {
  0%, 100% { box-shadow: var(--card-shadow); }
  50%       { box-shadow: 0 4px 20px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.1); }
}
.tool-result.risk-high { animation: highPulse 2s ease-in-out 1; }

.tr-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer;
}
.tr-name { font-size: 14px; font-weight: 600; flex: 1; }
.tr-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.badge {
  display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 100px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-high    { background: #0A0A0A; color: #fff; letter-spacing: 0.06em; }
.badge-limited { background: #525252; color: #fff; letter-spacing: 0.06em; }
.badge-minimal { background: rgba(0,0,0,0.07); color: #9A9A9A; letter-spacing: 0.06em; }

.nc-flag {
  font-size: 10.5px; font-weight: 700; color: #fff;
  background: #0A0A0A; padding: 2px 8px; border-radius: 100px;
}
.expand-icon {
  color: var(--ink-3); width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.22s ease;
}
.tool-result.open .expand-icon { transform: rotate(180deg); }

.tr-body { display: none; padding: 0 16px 16px; border-top: 1px solid rgba(0,0,0,0.07); }
.tool-result.open .tr-body { display: block; }
.tr-reason {
  font-size: 13px; color: var(--ink-2); padding-top: 12px; margin-bottom: 10px; line-height: 1.55;
}
.tr-escalated    { display: block; color: var(--ink-2); margin-top: 6px; font-style: italic; font-size: 12.5px; }
.tr-noncompliant { display: block; color: var(--ink); margin-top: 6px; font-style: italic; font-size: 12.5px; font-weight: 500; }

.req-list { display: flex; flex-direction: column; gap: 6px; }
.req-item { background: var(--bg); border-radius: 7px; padding: 11px 13px; }
.req-art   { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 3px; }
.req-title { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.req-desc  { font-size: 12px; color: var(--ink-2); line-height: 1.5; }

/* ─ Compliance roadmap ────────────────────── */
.roadmap-wrap {
  background: var(--surface); border-radius: 14px;
  padding: 6px 0; margin-bottom: 12px; overflow: hidden;
  box-shadow: var(--card-shadow);
}
.roadmap-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.roadmap-item:last-child { border-bottom: none; }
.roadmap-num {
  width: 24px; height: 24px; border-radius: 100px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700; margin-top: 1px;
}
.roadmap-num.p1 { background: #0A0A0A; color: #fff; }
.roadmap-num.p2 { background: #525252; color: #fff; }
.roadmap-num.p3 { background: rgba(0,0,0,0.07); color: #9A9A9A; }
.roadmap-title { font-size: 13.5px; font-weight: 600; margin-bottom: 4px; }
.roadmap-desc  { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.roadmap-tag {
  display: inline-flex; margin-top: 6px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 2px 8px; border-radius: 100px;
}
.roadmap-tag.p1 { background: #0A0A0A; color: #fff; }
.roadmap-tag.p2 { background: rgba(0,0,0,0.08); color: #525252; }
.roadmap-tag.p3 { background: rgba(0,0,0,0.05); color: #9A9A9A; }

/* ─ Comparison table ──────────────────────── */
.comparison-wrap {
  background: var(--surface); border-radius: 14px;
  overflow: hidden; margin-bottom: 12px;
  box-shadow: var(--card-shadow);
}
.comparison-head {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--ink-3); padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border);
}
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink-3); text-align: left; padding: 10px 20px; background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.comparison-table th:not(:first-child) { text-align: center; }
.comparison-table td {
  padding: 12px 20px; font-size: 13.5px; border-bottom: 1px solid var(--border);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:not(:first-child) {
  text-align: center; font-weight: 600; font-variant-numeric: tabular-nums;
}
.cmp-you  { color: var(--accent); }
.cmp-avg  { color: var(--ink-3); }
.cmp-name { font-size: 13px; color: var(--ink-2); }

/* ─ Email capture ─────────────────────────── */
.email-card {
  background: var(--surface); border-radius: 16px;
  padding: 36px 32px; margin-top: 28px;
  box-shadow: var(--card-shadow);
}
.email-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.email-label svg { width: 13px; height: 13px; }
.email-title {
  font-family: 'Spectral', serif; font-size: 26px;
  line-height: 1.1; letter-spacing: -0.8px; margin-bottom: 10px;
}
.email-sub { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin-bottom: 20px; }

.benefit-list { list-style: none; margin-bottom: 24px; }
.benefit-list li {
  font-size: 13.5px; color: var(--ink); padding: 4px 0;
  display: flex; align-items: center; gap: 9px;
}
.benefit-list li::before {
  content: ''; display: inline-block; width: 4px; height: 4px;
  background: var(--ink-3); border-radius: 100px; flex-shrink: 0;
}

.email-form { display: flex; flex-direction: column; gap: 8px; max-width: 440px; }
.email-row  { display: flex; gap: 7px; }
@media (max-width: 420px) { .email-row { flex-direction: column; } }

.email-form input {
  flex: 1; padding: 11px 15px; background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 8px; font-family: inherit; font-size: 14px; color: var(--ink);
  outline: none; transition: border-color 0.18s;
}
.email-form input::placeholder { color: var(--ink-3); }
.email-form input:focus { border-color: var(--ink); background: #fff; }
.email-form input.err { border-color: #DC2626; }

.email-note { font-size: 11.5px; color: var(--ink-3); margin-top: 10px; }
.email-success {
  display: none; background: #0A0A0A; border: none;
  border-radius: 8px; padding: 13px 16px; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.85); max-width: 440px; align-items: center; gap: 8px;
}
.email-success svg { flex-shrink: 0; }

/* ─ Share card ────────────────────────────── */
.share-card {
  margin-top: 12px; padding: 20px 24px;
  background: var(--surface); border-radius: 14px;
  box-shadow: var(--card-shadow);
}
.share-label {
  font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px;
}
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-share {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 13px; font-weight: 500; color: var(--ink);
  padding: 8px 14px; cursor: pointer; transition: border-color 0.18s, background 0.15s;
}
.btn-share svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-share:hover { border-color: var(--border-2); background: #fff; }
.share-copied {
  display: none; margin-top: 10px;
  font-size: 12.5px; font-weight: 500; color: var(--ink-2);
}
.share-copied.visible { display: block; }

/* ─ Disclaimer ────────────────────────────── */
.disclaimer {
  margin-top: 24px; padding: 18px 0; border-top: 1px solid var(--border);
  font-size: 11.5px; color: var(--ink-3); line-height: 1.65;
}

/* ─ Footer ────────────────────────────────── */
.site-footer {
  padding: 20px 0 4px; display: flex; flex-direction: column; gap: 6px;
}
.footer-brand {
  font-family: 'Spectral', serif; font-size: 16px; color: var(--ink);
}
.footer-brand em { font-style: normal; color: var(--accent); }
.footer-refs {
  font-size: 11.5px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.footer-dot { color: var(--border-2); }

.restart-row { margin-top: 20px; }

/* ─ Landing news ──────────────────────────── */
.landing-news {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.landing-news-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}
.news-grid { display: flex; flex-direction: column; gap: 10px; }
.news-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.news-date {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 2px 9px;
  width: fit-content;
}
a.news-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.45;
}
a.news-title:hover { text-decoration: underline; }
.news-summary { font-size: 13px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.news-source { font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
a.news-more {
  display: block;
  text-align: right;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
a.news-more:hover { text-decoration: underline; }

/* ─ PDF download ──────────────────────────── */
.pdf-wrap {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.pdf-note {
  display: none;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}

/* ─ Responsive ────────────────────────────── */
@media (max-width: 400px) {
  .exec-summary { padding: 20px 18px; }
  .email-card   { padding: 28px 18px; }
  .intro-stats-row { grid-template-columns: 1fr; }
}

/* ─ Print / PDF ───────────────────────────── */
@media print {
  #topbar, #header, #progress-line-wrap,
  .btn-back, .share-card, .pdf-wrap, .restart-row,
  .step:not(#screen-results) { display: none !important; }

  body { background: #fff !important; }

  #screen-results {
    display: block !important;
    padding: 0 !important;
  }

  #screen-results::before {
    content: "ExactAI — EU AI Act Compliance Report  |  exactai.io";
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #525252;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 24px;
  }

  #screen-results::after {
    content: "Generated by ExactAI | exactai.io | Based on Regulation (EU) 2024/1689";
    display: block;
    font-size: 11px;
    color: #9A9A9A;
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 32px;
  }

  .tool-result { page-break-inside: avoid; }
  .exec-summary { page-break-after: avoid; }

  .tool-body { display: block !important; max-height: none !important; }

  .fine-card {
    background: #f5f5f5 !important;
    color: #050505 !important;
  }
  .fine-card .fine-amount { color: #050505 !important; }
}
