:root {
  --bg:        #faf9f6;
  --surface:   #ffffff;
  --border:    #e8e4dc;
  --border-2:  #d8d2c5;
  --ink:       #1c1a17;
  --ink-soft:  #5a544a;
  --ink-mute:  #8a8275;
  --accent:    #0f4c5c;
  --accent-2:  #0c3a47;
  --accent-soft: rgba(15, 76, 92, 0.07);
  --accent-line: rgba(15, 76, 92, 0.18);
  --warm:      #c97b3f;
  --warm-soft: rgba(201, 123, 63, 0.10);
  --success:   #2d6a4f;
  --success-soft: rgba(45, 106, 79, 0.10);
  --danger:    #b42318;
  --danger-soft: rgba(180, 35, 24, 0.08);
  --warning:   #b45309;
  --warning-soft: rgba(180, 83, 9, 0.10);
  --violet:    #5b4b8a;
  --violet-soft: rgba(91, 75, 138, 0.10);
  --radius:    14px;
  --radius-sm: 10px;
  --shadow-1:  0 1px 2px rgba(28,26,23,0.04), 0 2px 8px rgba(28,26,23,0.04);
  --shadow-2:  0 2px 4px rgba(28,26,23,0.05), 0 12px 28px -8px rgba(28,26,23,0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(ellipse 800px 500px at 85% -10%, rgba(15,76,92,0.06), transparent 60%),
    radial-gradient(ellipse 600px 400px at -10% 110%, rgba(201,123,63,0.05), transparent 60%),
    radial-gradient(ellipse 500px 300px at 50% 50%, rgba(91,75,138,0.03), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  background: rgba(250, 249, 246, 0.82);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  position: relative;
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(15,76,92,0.25);
}
.brand-mark::after {
  content: "";
  width: 12px; height: 12px;
  border: 2px solid var(--bg);
  border-radius: 3px;
  border-top: 0; border-left: 0;
  transform: rotate(-45deg) translate(-1px, 1px);
}
.brand-text { font-size: 14.5px; }
.brand-text small {
  display: block; font-size: 11px; color: var(--ink-mute);
  font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 1px;
}

.topbar-actions { display: flex; align-items: center; gap: 18px; }
.topbar-link {
  color: var(--ink-soft); text-decoration: none; font-size: 13.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 8px;
  transition: color 160ms, background 160ms;
}
.topbar-link:hover { color: var(--ink); background: var(--accent-soft); }
.topbar-link svg { width: 14px; height: 14px; }

.topbar-secure {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-mute); font-size: 12px;
  padding: 5px 10px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface);
}
.topbar-secure svg { width: 12px; height: 12px; color: var(--accent); }

/* Page */
.page {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto;
  padding: 48px 28px 96px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--accent);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 0 4px var(--warm-soft);
}
h1 {
  font-size: 44px; line-height: 1.05; font-weight: 600;
  letter-spacing: -0.02em; margin: 0 0 16px;
  color: var(--ink);
}
.hero p {
  font-size: 16.5px; color: var(--ink-soft);
  max-width: 44ch; margin: 0 0 22px;
}
.hero-meta {
  display: flex; align-items: center; gap: 18px;
  font-size: 13px; color: var(--ink-mute);
  flex-wrap: wrap;
}
.hero-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta-item svg { width: 14px; height: 14px; }
.hero-meta-divider { width: 4px; height: 4px; background: var(--border-2); border-radius: 50%; }

/* Stepper */
.stepper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-1);
}
.stepper-title {
  font-size: 11px; font-weight: 600;
  color: var(--ink-mute); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 18px;
}
.stepper-list {
  list-style: none; margin: 0; padding: 0;
  position: relative;
}
.stepper-list::before {
  content: ""; position: absolute;
  left: 11px; top: 12px; bottom: 12px;
  width: 1px; background: var(--border-2);
}
.step {
  position: relative;
  display: grid; grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 10px 0;
}
.step-link {
  display: grid; grid-template-columns: 24px 1fr;
  gap: 14px;
  text-decoration: none; color: inherit;
  grid-column: 1 / -1;
}
.step-marker {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border-2);
  display: grid; place-items: center;
  z-index: 1; position: relative;
  font-size: 11px; font-weight: 600;
  color: var(--ink-mute);
  transition: all 200ms;
  flex-shrink: 0;
}
.step[data-state="done"] .step-marker {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.step[data-state="active"] .step-marker {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.step-body { display: flex; flex-direction: column; padding-top: 1px; }
.step-name {
  font-size: 14px; font-weight: 500;
  color: var(--ink-mute);
  transition: color 200ms;
}
.step[data-state="active"] .step-name { color: var(--ink); font-weight: 600; }
.step-desc {
  font-size: 12px; color: var(--ink-mute);
  margin-top: 2px; line-height: 1.4;
}
.step[data-state="active"] .step-desc { color: var(--ink-soft); }
.step-link:hover .step-name { color: var(--accent); }

/* Form */
.form { max-width: 720px; }

.section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-1);
}
.section-head {
  display: flex; align-items: flex-start; gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  margin-top: 2px;
}
.section-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-soft), var(--warm-soft));
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.section-icon svg { width: 18px; height: 18px; }
.section-titles { flex: 1; min-width: 0; }
.section-title {
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--ink);
}
.section-sub {
  font-size: 13.5px; color: var(--ink-mute);
  margin: 0;
}

/* Fields */
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field-label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 8px;
}
.field-label .req { color: var(--warm); margin-left: 2px; }
.field-hint {
  font-size: 12.5px; color: var(--ink-mute);
  margin-top: 6px;
}

.control,
select.control,
textarea.control,
input.control {
  width: 100%;
  font-family: inherit;
  font-size: 15px; font-weight: 400;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 160ms, box-shadow 160ms, background 160ms;
  outline: none;
}
.control::placeholder { color: var(--ink-mute); font-weight: 400; }
.control:hover { border-color: var(--border-2); }
.control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

textarea.control { min-height: 92px; resize: vertical; line-height: 1.55; }

select.control {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a544a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Chips */
.check-group-title {
  font-size: 12px; font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin: 0 0 12px;
}
.check-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}
.check-group:last-child { margin-bottom: 0; }

.chip {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 160ms;
  user-select: none;
  font-family: inherit;
  text-align: left;
}
.chip:hover { border-color: var(--border-2); background: #fdfcf9; }
.chip-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--bg);
  color: var(--ink-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 160ms;
}
.chip-icon svg { width: 14px; height: 14px; }
.chip-label {
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  flex: 1;
  min-width: 0;
}
.chip-check {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border-2);
  display: grid; place-items: center;
  background: var(--surface);
  transition: all 160ms;
  flex-shrink: 0;
}
.chip-check svg {
  width: 11px; height: 11px;
  color: white;
  opacity: 0; transform: scale(0.6);
  transition: all 160ms;
}
.chip[data-selected="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.chip[data-selected="true"] .chip-icon {
  background: var(--accent);
  color: white;
}
.chip[data-selected="true"] .chip-check {
  background: var(--accent);
  border-color: var(--accent);
}
.chip[data-selected="true"] .chip-check svg {
  opacity: 1; transform: scale(1);
}

/* Callouts */
.callout {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 13.5px;
  line-height: 1.5;
}
.callout-tip {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--ink-soft);
}
.callout-icon {
  width: 20px; height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.callout-icon svg { width: 20px; height: 20px; }

.banner {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
}
.banner-error {
  background: var(--danger-soft);
  border: 1px solid rgba(180,35,24,0.2);
  color: var(--danger);
}
.banner-success {
  background: var(--success-soft);
  border: 1px solid rgba(45,106,79,0.2);
  color: var(--success);
}

/* Submit */
.submit-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 8px 4px 0;
  flex-wrap: wrap;
}
.save-link {
  font-size: 13px; color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 160ms;
}
.save-link:hover { color: var(--ink); background: var(--accent-soft); }
.save-link svg { width: 14px; height: 14px; }

.btn-primary {
  flex: 1; max-width: 320px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--ink), var(--accent-2));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-family: inherit;
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all 200ms;
  box-shadow: 0 1px 2px rgba(28,26,23,0.2), 0 4px 12px rgba(28,26,23,0.15);
  text-decoration: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(15,76,92,0.25), 0 8px 20px -4px rgba(15,76,92,0.3);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { width: 16px; height: 16px; transition: transform 200ms; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-family: inherit;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: all 160ms;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.form-actions-inline {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 16px;
}

/* Footer */
.footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-pill {
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-pill svg { width: 12px; height: 12px; color: var(--accent); }
.footer-progress {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-mute);
}
.footer-progress b { color: var(--ink); font-weight: 600; }

/* Coverage stats */
.coverage-panel {
  max-width: 720px;
  margin-bottom: 24px;
}
.stat-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
  box-shadow: var(--shadow-1);
}
.stat-card-value {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-top: 4px;
}
.stat-card--success .stat-card-value { color: var(--success); }
.stat-card--danger .stat-card-value { color: var(--danger); }
.stat-card--warning .stat-card-value { color: var(--warning); }
.stat-card--primary .stat-card-value { color: var(--accent); }
.stat-card--muted .stat-card-value { color: var(--ink-mute); }

.progress-track {
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.progress-track--lg { height: 10px; }
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  border-radius: 999px;
  transition: width 400ms ease;
}

/* App cards */
.app-card-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  max-width: 720px;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-1);
  border-left: 4px solid var(--accent);
}
.app-card-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.app-card-name {
  font-size: 17px; font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.app-card-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.app-card-chip--critical {
  background: var(--warm-soft);
  color: var(--warm);
}
.app-card-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.app-card-meta {
  display: grid;
  gap: 6px;
  margin: 0;
}
.app-card-meta div {
  display: flex; gap: 8px;
  font-size: 13px;
}
.app-card-meta dt {
  font-weight: 600;
  color: var(--ink-mute);
  min-width: 100px;
}
.app-card-meta dd { margin: 0; color: var(--ink-soft); }

/* Interview questions */
.question-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-1);
}
.question-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.section-graphic { border-radius: 8px; }
.section-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.app-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--violet);
  background: var(--violet-soft);
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 6px;
}
.question-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  line-height: 1.35;
}
.reason-box,
.examples-box,
.evidence-box {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 13.5px;
}
.reason-box {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.examples-box {
  background: var(--success-soft);
  border: 1px solid rgba(45,106,79,0.15);
}
.evidence-box {
  background: var(--violet-soft);
  border: 1px solid rgba(91,75,138,0.15);
}
.reason-box strong,
.examples-box strong,
.evidence-box strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: var(--ink-mute);
}
.reason-box p { margin: 0; color: var(--ink-soft); }
.examples-box ul,
.evidence-box ul {
  margin: 0; padding-left: 18px;
  color: var(--ink-soft);
}
.answer-area { margin-bottom: 14px; }
.answer-area select,
.answer-area input,
.answer-area textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
}
.answer-area select:focus,
.answer-area input:focus,
.answer-area textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.option-stack { display: grid; gap: 8px; }
.option-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 160ms;
  background: var(--surface);
}
.option-item:hover { border-color: var(--border-2); background: #fdfcf9; }
.option-item input { accent-color: var(--accent); }
.option-item-text { font-size: 14px; font-weight: 500; }
.option-item:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.status-row { margin-bottom: 14px; }
.notes-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.notes-label textarea {
  margin-top: 8px;
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  resize: vertical;
}

/* Plan */
.plan-report {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-1);
}
.plan-cover h3 {
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.plan-products { color: var(--ink-soft); margin: 0 0 12px; }
.plan-meta { font-size: 14px; color: var(--ink-soft); margin: 4px 0; }
.plan-section { margin-top: 24px; }
.plan-section h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 10px;
}
.plan-list { margin: 0; padding-left: 20px; color: var(--ink-soft); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.data-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  background: var(--bg);
}

.download-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
}

.raw-yaml {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: var(--bg);
}
.raw-yaml summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-soft);
}
.yaml-block {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  overflow-x: auto;
  margin: 12px 0 0;
  color: var(--ink-soft);
}

/* Modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(28,26,23,0.45);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--border);
}
.modal-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.modal-card p { color: var(--ink-soft); margin: 0 0 16px; }
.key-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  background: var(--bg);
  border: 1.5px dashed var(--accent-line);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 16px;
  word-break: break-all;
  color: var(--accent);
}

/* Retrieve */
.retrieve-hero h1 { font-size: 36px; }
.text-muted { color: var(--ink-mute); font-size: 14px; }
.text-muted a { color: var(--accent); }

/* Reveal animation */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: revealUp 0.45s ease both;
}

.mt { margin-top: 20px; }

/* Responsive */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  h1 { font-size: 34px; }
  .page { padding: 32px 20px 64px; }
  .section { padding: 22px; }
  .field-grid { grid-template-columns: 1fr; }
  .check-group { grid-template-columns: 1fr; }
  .topbar-secure { display: none; }
  .btn-primary { max-width: none; width: 100%; }
  .submit-row { flex-direction: column; align-items: stretch; }
}
