/* Shared brand stylesheet for all PA toolkit pages */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --gold: #c9a14a;
  --gold-2: #b08a36;
  --ink: #1a1a1a;
  --muted: #5b6473;
  --line: #e5e8ee;
  --bg: #f7f8fb;
  --green: #1f7a4d;
  --amber: #b07b16;
  --red: #9a2a2a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 32px 20px 80px; }
header.head { text-align: center; margin-bottom: 28px; }
.brand-block { text-align: center; margin-bottom: 22px; }
.brand-name { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.3px; margin: 0; line-height: 1.15; }
.brand-tagline { font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-2); margin: 4px 0 0; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-2);
  background: #f5ecd6;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.sub { color: var(--muted); font-size: 16px; max-width: 580px; margin: 0 auto; }
.credentials { margin-top: 18px; font-size: 13px; color: var(--navy-2); font-weight: 500; }
.credentials strong { color: var(--navy); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(11,37,69,0.04), 0 8px 24px rgba(11,37,69,0.06);
}
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 22px; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); width: 0%; transition: width 0.35s ease; }
.step-label { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 10px; }
.question { font-size: 20px; font-weight: 700; color: var(--navy); margin: 0 0 6px; letter-spacing: -0.2px; }
.helper { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.options { display: grid; gap: 10px; }
.opt {
  border: 1.5px solid var(--line); background: #fff; border-radius: 10px;
  padding: 14px 16px; cursor: pointer; transition: all 0.15s ease;
  font-size: 15px; color: var(--ink); text-align: left; width: 100%;
  font-family: inherit; font-weight: 500;
}
.opt:hover { border-color: var(--gold); background: #fffaf0; }
.opt.selected { border-color: var(--gold-2); background: #fdf6e3; box-shadow: inset 0 0 0 1px var(--gold-2); }
.nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 10px; }
button.btn {
  font-family: inherit; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 8px; border: none; cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-primary:disabled { background: #b8bfcb; cursor: not-allowed; }
.btn-secondary { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn-secondary:hover { color: var(--navy); border-color: var(--navy); }
.result-tier {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 99px; margin-bottom: 14px;
}
.tier-strong { background: #e2f3eb; color: var(--green); }
.tier-possible { background: #fbf0d6; color: var(--amber); }
.tier-low { background: #f5dede; color: var(--red); }
.result-headline { font-size: 26px; font-weight: 800; color: var(--navy); margin: 0 0 10px; line-height: 1.25; letter-spacing: -0.4px; }
.result-body { font-size: 15px; color: var(--ink); margin-bottom: 22px; }
.result-body p { margin: 0 0 12px; }
.reasons {
  background: #f7f8fb; border-left: 3px solid var(--gold);
  padding: 14px 16px; border-radius: 6px; margin-bottom: 22px;
}
.reasons-title { font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--navy-2); margin-bottom: 6px; }
.reasons ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink); }
.reasons li { margin-bottom: 4px; }
.lead-form { display: grid; gap: 12px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line);
  border-radius: 8px; font-family: inherit; font-size: 15px; background: #fff;
  transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.privacy { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }
.submit-btn { background: var(--gold); color: var(--navy); width: 100%; padding: 14px; font-size: 16px; font-weight: 700; }
.submit-btn:hover { background: var(--gold-2); color: #fff; }
.thanks { text-align: center; padding: 20px 0; }
.thanks h3 { color: var(--navy); font-size: 24px; margin: 0 0 10px; }
.thanks p { color: var(--muted); margin: 0 0 8px; }
.footer-note { text-align: center; margin-top: 18px; font-size: 12px; color: var(--muted); }
.footer-disclaimer { margin-top: 28px; padding: 16px 18px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.55; color: var(--muted); text-align: left; }
.footer-disclaimer strong { color: var(--navy-2); }
.hidden { display: none !important; }
/* Checklist-specific */
.checklist-section { margin-bottom: 28px; }
.checklist-section h2 {
  font-size: 18px; color: var(--navy); margin: 0 0 12px;
  border-bottom: 2px solid var(--gold); padding-bottom: 6px; display: inline-block;
}
.checklist-section .timeframe {
  font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 4px;
}
.check-item {
  display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.check-item:last-child { border-bottom: none; }
.check-box {
  flex-shrink: 0; width: 22px; height: 22px; border: 2px solid var(--navy);
  border-radius: 4px; cursor: pointer; position: relative; margin-top: 1px;
}
.check-box.checked { background: var(--navy); }
.check-box.checked::after {
  content: ''; position: absolute; left: 5px; top: 1px;
  width: 6px; height: 12px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check-text { flex: 1; }
.check-text .why { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
/* Decoder */
.decoder-form textarea {
  min-height: 140px; resize: vertical; font-family: 'Inter', sans-serif;
}
.analysis {
  background: #f7f8fb; border: 1px solid var(--line); border-radius: 10px;
  padding: 20px; margin: 20px 0;
}
.analysis h3 { color: var(--navy); margin: 0 0 12px; font-size: 18px; }
.analysis h4 { color: var(--navy-2); margin: 18px 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.analysis p { margin: 0 0 10px; font-size: 15px; }
.analysis ul { margin: 0 0 10px; padding-left: 22px; font-size: 15px; }
.disclaimer {
  background: #fff8e6; border: 1px solid #f3e3a8; border-radius: 8px;
  padding: 12px 14px; font-size: 13px; color: #6d5616; margin: 16px 0;
}
.spinner {
  display: inline-block; width: 22px; height: 22px;
  border: 3px solid var(--line); border-top-color: var(--gold-2);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.tool-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; justify-content: center; }
.tool-nav a {
  text-decoration: none; color: var(--navy-2); font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: #fff;
  transition: all 0.15s;
}
.tool-nav a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.tool-nav a.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* SOS Affiliation Footer */
.affiliation {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
}
.affiliation img {
  width: 88px; height: auto; opacity: 0.85;
}
.affiliation-text {
  font-size: 12px; color: #6b7280; letter-spacing: 0.3px;
}
