/* ============================================================
   BRAND TOKENS — Worth Checking Brand Guidelines v1
   ============================================================ */
:root {
  --bg:           #F4EFE6;
  --surface:      #FDFAF5;
  --surface-mid:  #EBE6DC;
  --surface-dark: #111111;
  --ink:          #111111;
  --ink-mid:      #5C5750;
  --ink-muted:    #9A9490;
  --rule:         #DDD8CE;
  --rule-strong:  #C5BFB4;
  --accent:       #E8481C;
  --accent-hover: #C83A10;
  --accent-tint:  #FDF0EC;
  --accent-on:    #FFFFFF;
  --font-ui:   'Inter Tight', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --tx-xs:  0.75rem;
  --tx-sm:  0.875rem;
  --tx-md:  1rem;
  --tx-lg:  1.125rem;
  --tx-xl:  1.5rem;
  --tx-2xl: 2.25rem;
  --s2: 0.5rem;   --s3: 0.75rem;  --s4: 1rem;    --s5: 1.25rem;
  --s6: 1.5rem;   --s8: 2rem;     --s10: 2.5rem; --s12: 3rem;
  --s16: 4rem;    --s20: 5rem;
  --r-sm: 6px;  --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-pill: 9999px;
  --sh-sm: 0 1px 4px rgba(17,17,17,0.06), 0 1px 2px rgba(17,17,17,0.04);
  --sh-md: 0 8px 40px rgba(17,17,17,0.13), 0 2px 6px rgba(17,17,17,0.06);
}

/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--font-ui); background: var(--bg); color: var(--ink); line-height: 1.6; min-height: 100dvh; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
[hidden] { display: none !important; }

/* ============================================================
   APP SHELL
   ============================================================ */
.app-wrap {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

/* ============================================================
   SCREEN SWITCHING
   ============================================================ */
.screen { display: none; flex-direction: column; flex: 1; }
.screen--active { display: flex; }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.intake-progress {
  padding: 14px 22px 0;
  flex-shrink: 0;
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.progress-step {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.progress-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0D6835;
  background: #E0F5EA;
  border-radius: var(--r-pill);
  padding: 3px 9px;
}

.progress-track {
  width: 100%;
  height: 3px;
  background: var(--rule);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--r-pill);
  transition: width 0.3s ease;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.intake-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 22px 0;
  flex-shrink: 0;
}

.topbar-wordmark {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.topbar-wordmark .period { color: var(--accent); }

.topbar-back {
  font-size: var(--tx-sm);
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: -0.01em;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

.topbar-back:hover { color: var(--ink); }

/* ============================================================
   INTAKE BODY
   ============================================================ */
.intake-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.intake-q {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  text-wrap: pretty;
}

.intake-framing {
  font-size: var(--tx-sm);
  color: var(--ink-mid);
  line-height: 1.65;
  font-style: italic;
  margin-top: -8px;
}

.optional-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  align-self: flex-start;
}

/* ============================================================
   OPTION BUTTONS (single-select)
   ============================================================ */
.intake-opts {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.intake-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: var(--tx-md);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
}

.intake-opt:hover {
  border-color: var(--rule-strong);
}

@media (hover: hover) {
  .intake-opt:not(.option--selected):hover {
    background: var(--surface-mid);
    border-color: var(--rule-strong);
  }
}

.intake-opt.option--selected {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.io-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--rule-strong);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}

.intake-opt.option--selected .io-radio {
  border-color: var(--accent);
  background: var(--accent);
}

.intake-opt.option--selected .io-radio::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: white;
}

/* ============================================================
   OPTION BUTTONS (multi-select — checkbox style)
   ============================================================ */
.intake-opt-multi {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: var(--tx-md);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
}

.intake-opt-multi:hover { border-color: var(--rule-strong); }

@media (hover: hover) {
  .intake-opt-multi:not(.option--selected):hover {
    background: var(--surface-mid);
    border-color: var(--rule-strong);
  }
}

.intake-opt-multi.option--selected {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.io-check {
  width: 18px;
  height: 18px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--rule-strong);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}

.intake-opt-multi.option--selected .io-check {
  border-color: var(--accent);
  background: var(--accent);
}

.intake-opt-multi.option--selected .io-check::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  display: grid;
  place-items: center;
}

/* ============================================================
   COUNTRY ROW (Q2)
   ============================================================ */
.country-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.country-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  padding: 18px 12px;
  font-size: var(--tx-md);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.country-opt:hover { border-color: var(--rule-strong); }

@media (hover: hover) {
  .country-opt:not(.option--selected):hover {
    background: var(--surface-mid);
    border-color: var(--rule-strong);
  }
}

.country-opt.option--selected {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.co-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--rule-strong);
  flex-shrink: 0;
  position: relative;
}

.country-opt.option--selected .co-radio {
  border-color: var(--accent);
  background: var(--accent);
}

.country-opt.option--selected .co-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: white;
}

/* ============================================================
   PROVINCE / STATE SELECT (Q3)
   ============================================================ */
.location-sub {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.location-sub-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.location-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  font-family: var(--font-ui);
  font-size: var(--tx-md);
  color: var(--ink);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9490' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.location-select:focus { border-color: var(--accent); }

/* ============================================================
   TEXT INPUT (Q7 union name)
   ============================================================ */
.text-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  font-family: var(--font-ui);
  font-size: var(--tx-md);
  color: var(--ink);
  outline: none;
}

.text-input:focus { border-color: var(--accent); }
.text-input::placeholder { color: var(--ink-muted); }

.input-hint {
  font-size: var(--tx-sm);
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ============================================================
   INTAKE FOOTER
   ============================================================ */
.intake-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 22px 28px;
  flex-shrink: 0;
}

@media (max-width: 799px) {
  .intake-foot {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .intake-foot .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .intake-foot .btn-skip {
    text-align: center;
    padding: 4px 0;
  }
}

.intake-foot--right { justify-content: flex-end; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: white;
  border: 2px solid var(--accent);
  border-radius: var(--r-pill);
  padding: 12px 22px;
  font-family: var(--font-ui);
  font-size: var(--tx-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--rule-strong);
  border-radius: var(--r-pill);
  padding: 11px 20px;
  font-family: var(--font-ui);
  font-size: var(--tx-md);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s;
}

.btn-ghost:hover { border-color: var(--ink-mid); }

.btn-skip {
  font-size: var(--tx-sm);
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-skip:hover { color: var(--ink); }

/* ============================================================
   PROMISE BLOCK (Q1)
   ============================================================ */
.promise-block {
  padding: 22px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promise-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.promise-text {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

/* Desktop: align promise block with question text column */
@media (min-width: 800px) {
  .promise-block {
    padding: 32px 44px 0;
  }
}

/* ============================================================
   REFINEMENT GATE
   ============================================================ */
.gate-body {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0D6835;
  background: #E0F5EA;
  border-radius: var(--r-pill);
  padding: 4px 10px;
  align-self: flex-start;
}

.gate-q {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.gate-sub {
  font-size: var(--tx-sm);
  color: var(--ink-mid);
  line-height: 1.7;
  margin-top: -6px;
}

.gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-gate-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  color: white;
  border: 2px solid var(--accent);
  border-radius: var(--r-pill);
  padding: 14px 22px;
  font-family: var(--font-ui);
  font-size: var(--tx-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-gate-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-gate-ghost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--rule-strong);
  border-radius: var(--r-pill);
  padding: 13px 22px;
  font-family: var(--font-ui);
  font-size: var(--tx-md);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: border-color 0.15s;
}

.btn-gate-ghost:hover { border-color: var(--ink-mid); }

/* ============================================================
   TRANSITION SCREEN
   ============================================================ */
.transition-body {
  padding: 40px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.transition-wordmark {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.transition-wordmark .period { color: var(--accent); }

.transition-for {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.transition-reflection {
  font-size: var(--tx-sm);
  color: var(--ink-mid);
  line-height: 1.65;
  font-style: italic;
}

.transition-headline {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}

.transition-profile-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.transition-status {
  font-size: var(--tx-sm);
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.transition-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* ============================================================
   RESULT PLACEHOLDER (v0.4.0 will replace this)
   ============================================================ */
.result-placeholder {
  padding: 40px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  color: var(--ink-muted);
  font-size: var(--tx-sm);
}

/* ============================================================
   RESULT PAGE
   ============================================================ */
.result-root {
  display: block;
}

/* Overview zone */
.overview {
  background: var(--ink);
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.overview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overview-wm {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bg);
}

.overview-wm .period { color: var(--accent); }

.overview-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.32);
}

.profile-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(244,239,230,0.48);
  background: rgba(244,239,230,0.07);
  border: 1px solid rgba(244,239,230,0.11);
  border-radius: var(--r-pill);
  padding: 4px 12px;
}

.overview-headline {
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--bg);
}

.overview-headline .period { color: var(--accent); }

.overview-reflection {
  font-size: 13px;
  color: rgba(244,239,230,0.5);
  line-height: 1.65;
  font-style: italic;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(244,239,230,0.07);
}

.overview-cta {
  display: flex;
  align-items: center;
}

.btn-start {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}

/* Path stops */
.path-stops {
  display: flex;
  flex-direction: column;
}

.path-stop {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(244,239,230,0.06);
  cursor: pointer;
  opacity: 0;
  animation: stop-in 0.35s ease forwards;
}

.path-stop:last-child { border-bottom: none; padding-bottom: 0; }

@keyframes stop-in {
  from { opacity: 0; transform: translateX(-5px); }
  to   { opacity: 1; transform: none; }
}

.stop-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

.stop-dot.full { background: var(--accent); }
.stop-dot.dim  { background: rgba(232,72,28,0.32); }

.stop-body { flex: 1; }

.stop-time {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}

.stop-action {
  font-size: 13px;
  font-weight: 600;
  color: var(--bg);
  line-height: 1.35;
}

.stop-caret {
  font-size: 11px;
  color: rgba(244,239,230,0.28);
  align-self: center;
  flex-shrink: 0;
}

/* Quick actions */
.quick-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.btn-quick {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.55);
  background: rgba(244,239,230,0.07);
  border: 1px solid rgba(244,239,230,0.13);
  border-radius: var(--r-pill);
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.btn-quick:hover { background: rgba(244,239,230,0.11); color: rgba(244,239,230,0.8); }
.btn-quick.copied { color: rgba(90,210,120,0.85); border-color: rgba(90,210,120,0.28); }

/* Mini-nav */
.mini-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: 0;
  z-index: 20;
}

.mini-nav::-webkit-scrollbar { display: none; }

.mini-nav a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 10px 14px;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
  display: block;
  flex-shrink: 0;
}

.mini-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Shared section structure */
.result-root .section { padding: 0 18px 22px; }
.section-hd { padding: 18px 0 13px; border-top: 1px solid var(--rule); }
.section-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.label-accent { color: var(--accent); }
.label-muted  { color: var(--ink-muted); }
.section-intro { font-size: 13px; color: var(--ink-muted); font-style: italic; line-height: 1.6; margin-bottom: 13px; }

/* Top 3 */
.top3 { display: flex; flex-direction: column; gap: 8px; }

.top3-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.top3-num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); flex-shrink: 0; }
.top3-body { flex: 1; }
.top3-name { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 2px; }
.top3-tag  { font-size: 12px; color: var(--ink-muted); }
.top3-arrow { font-size: 12px; color: var(--rule-strong); flex-shrink: 0; }

/* Result cards */
.cards { display: flex; flex-direction: column; gap: 10px; }

.result-card {
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}

.result-card.featured {
  border-color: var(--ink);
  border-width: 2px;
  border-radius: var(--r-lg);
}

.card-summary { padding: 15px; display: flex; flex-direction: column; gap: 9px; }
.result-card.featured .card-summary { padding: 18px 18px 14px; }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.card-headline { font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.result-card.featured .card-headline { font-size: 1.2rem; }
.card-desc { font-size: 13px; color: var(--ink-mid); line-height: 1.65; }
.result-card.featured .card-desc { font-size: 14px; }

.card-toggle {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 0;
  align-self: flex-start;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-details { border-top: 1px solid var(--rule); padding: 14px 15px; display: flex; flex-direction: column; gap: 11px; }
.result-card.featured .card-details { padding: 16px 18px; }

.trust-row { display: flex; flex-direction: column; gap: 4px; }
.trust-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.trust-body  { font-size: 12px; color: var(--ink-mid); line-height: 1.6; }

.card-divider { border: none; border-top: 1px solid var(--rule); }
.card-action  { font-size: 13px; font-weight: 700; color: var(--accent); cursor: pointer; display: block; }
.card-action.upcoming { color: var(--ink-muted); font-style: italic; cursor: default; }
.card-action a { color: inherit; text-decoration: none; }

/* Chips */
.chip {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid;
}

.chip-entitlement { background: #E3F2EA; color: #1A6B3C; border-color: rgba(26,107,60,0.2); }
.chip-tax         { background: #E0EAF7; color: #1A50A0; border-color: rgba(26,80,160,0.2); }
.chip-union       { background: #ECE5F5; color: #6835A0; border-color: rgba(104,53,160,0.2); }
.chip-grant       { background: #F5EDD8; color: #8A5C1A; border-color: rgba(138,92,26,0.2); }
.chip-fellowship  { background: #F2F0DC; color: #6B6420; border-color: rgba(107,100,32,0.2); }
.chip-discount    { background: var(--surface-mid); color: var(--ink-mid); border-color: var(--rule); }
.chip-wishlist    { background: #DCF0F5; color: #1A7A8A; border-color: rgba(26,122,138,0.2); }
.chip-upcoming    { background: var(--accent-tint); color: var(--accent); border-color: rgba(232,72,28,0.25); }

.effort {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--surface-mid);
  border-radius: var(--r-pill);
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Compact cards */
.compact-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.compact-card .card-headline { font-size: 0.9rem; }
.compact-card .card-desc     { font-size: 12px; color: var(--ink-mid); line-height: 1.6; }

.compact-verify {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 8px;
  border-top: 1px solid var(--rule);
  line-height: 1.6;
}

.compact-verify span {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  display: block;
  margin-top: 3px;
}

/* Verify section */
.verify-card { background: var(--surface); border: 1.5px solid var(--rule); border-radius: var(--r-md); padding: 16px; }
.verify-header { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px; }
.verify-list { display: flex; flex-direction: column; }

.verify-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.55;
}

.verify-item:last-child { border-bottom: none; padding-bottom: 0; }
.verify-num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); flex-shrink: 0; padding-top: 1px; }

/* Help block */
.help-block { background: var(--bg); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 7px; }
.help-eyebrow { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.help-text { font-size: 13px; color: var(--ink-mid); line-height: 1.7; }

/* Share / save */
.share-wrap { padding: 20px 18px 24px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 15px; }
.share-header { font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.share-actions { display: flex; flex-direction: column; gap: 9px; }

.btn-share-ink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-pill);
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  width: 100%;
}

.btn-share-ghost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--r-pill);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.summary-preview { background: var(--bg); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.summary-preview-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.summary-preview-body  { font-size: 12px; color: var(--ink-mid); line-height: 1.7; }
.privacy-note { font-size: 11px; color: var(--ink-muted); font-style: italic; line-height: 1.55; }

/* Trust strip + footer */
.trust-strip { padding: 13px 18px; background: var(--surface-mid); }
.trust-text  { font-family: var(--font-mono); font-size: 10px; color: var(--ink-muted); line-height: 1.75; letter-spacing: 0.01em; }

.result-footer { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-top: 1px solid var(--rule); }
.footer-wm { font-size: 13px; font-weight: 800; letter-spacing: -0.03em; }
.footer-wm .period { color: var(--accent); }
.footer-url { font-family: var(--font-mono); font-size: 10px; color: var(--ink-muted); }

/* ============================================================
   TWO-COLUMN SCREEN STRUCTURE — transparent on mobile
   ============================================================ */
.screen-cols {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.screen-left {
  display: flex;
  flex-direction: column;
}

.screen-right {
  display: flex;
  flex-direction: column;
}

.screen-question {
  padding: 22px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.screen-options {
  padding: 14px 22px 0;
  display: flex;
  flex-direction: column;
}

.gate-actions-wrap {
  padding: 0 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================================
   RESPONSIVE — tablet card frame (600px–799px)
   ============================================================ */
@media (min-width: 600px) and (max-width: 799px) {
  body { background: var(--surface-mid); }

  .app-wrap {
    margin: var(--s8) auto;
    min-height: auto;
    border-radius: var(--r-xl);
    box-shadow: var(--sh-md);
    overflow: hidden;
    max-height: calc(100dvh - var(--s16));
    overflow-y: auto;
  }
}

/* ============================================================
   RESPONSIVE — desktop two-column (800px+)
   ============================================================ */
@media (min-width: 800px) {
  body { background: var(--bg); }

  .app-wrap {
    max-width: 1040px;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    margin: 0 auto;
    max-height: none;
    overflow: visible;
  }

  .intake-progress {
    padding: 24px 44px 0;
  }

  /* ── Two-column intake grid ── */
  .screen-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 1;
  }

  .screen-left {
    border-right: 1px solid var(--rule);
    min-height: calc(100dvh - 60px);
    position: relative;
  }

  .screen-left .intake-topbar {
    padding: 28px 44px 0;
  }

  .screen-question {
    position: absolute;
    bottom: 50dvh;
    left: 44px;
    right: 44px;
    padding: 0;
    gap: 12px;
  }

  .intake-q {
    font-size: 2.25rem;
    letter-spacing: -0.04em;
    line-height: 1.05;
  }

  .gate-q {
    font-size: 2.25rem;
    letter-spacing: -0.04em;
    line-height: 1.05;
  }

  .screen-right {
    justify-content: center;
    padding: 48px 44px;
    gap: 20px;
    min-height: calc(100dvh - 60px);
  }

  .screen-options {
    padding: 0;
  }

  .screen-right .intake-foot {
    padding: 8px 0 0;
  }

  .gate-actions-wrap {
    padding: 0;
    gap: 12px;
  }

  /* ── Result page — wider centered column ── */
  .result-root {
    max-width: 760px;
    margin: 0 auto;
  }
}
