:root {
  --navy: #1a1a2e;
  --navy-2: #2b2b4a;
  --gold: #c9a84c;
  --ink: #1a1a2e;
  --muted: #474763;
  --paper: #faf8f3;
  --card: #ffffff;
  --line: #e4e0d4;
  --track: #ece8dc;
  --ok: #1f5f3f;
  --err: #8a1c1c;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 16px; }
.top { background: var(--navy); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; height: 60px; font-weight: 600; }
.brand .pill { margin-left: auto; font-size: .8rem; font-weight: 500; border: 1px solid var(--gold); border-radius: 999px; padding: 2px 10px; }
main.wrap { padding-top: 24px; padding-bottom: 32px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 20px; }
.intro .hero, .res-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 20px; }
.lead { font-size: 1.12rem; }
.small { font-size: .92rem; color: var(--muted); }
.btn {
  display: inline-block; background: var(--navy); color: #fff; border: 0; border-radius: 10px;
  padding: 14px 22px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; margin: 4px 8px 4px 0;
}
.btn:hover { background: var(--navy-2); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn.ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.ladder { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.ladder li { border-left: 4px solid var(--gold); background: var(--paper); padding: 6px 10px; border-radius: 6px; font-size: .9rem; }
.ladder b { display: block; font-size: .75rem; color: var(--muted); font-weight: 600; }

/* SurveyJS theme: HWI navy as the brand colour. Overrides the :where() defaults. */
#quiz .sd-theme-root, #quiz .sd-root-modern {
  --sjs2-color-bg-brand-primary: #1a1a2e;
  --sjs2-color-fg-brand-primary: #1a1a2e;
  --sjs2-color-border-brand-primary: #1a1a2e;
  --sjs2-color-fg-brand-on-primary: #ffffff;
  --sjs2-color-bg-brand-primary-dim: #2b2b4a;
  --sjs2-color-bg-brand-secondary: #efece3;
  --sjs2-color-bg-brand-tertiary: #f4f1e8;
  --sjs2-color-utility-surface-survey: #faf8f3;
  --sjs2-typography-font-family-text: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --sjs2-typography-font-family-component-page-title: Georgia, "Times New Roman", serif;
  background: transparent;
}
#quiz .sd-page__title { font-family: Georgia, serif; }
#quiz .sd-navigation__next-btn, #quiz .sd-navigation__complete-btn, #quiz .sd-navigation__next-btn *, #quiz .sd-navigation__complete-btn * { background-color: #1a1a2e !important; color: #fff !important; }
#quiz .sd-navigation__next-btn:hover, #quiz .sd-navigation__complete-btn:hover { background: #2b2b4a; }

/* Result */
.res-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--muted); font-weight: 600; }
.res-card-line { font-family: Georgia, serif; font-style: italic; font-size: 1.15rem; }
.track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 14px 0 18px; }
.track span { height: 10px; border-radius: 4px; background: var(--track); }
.track span.on { background: var(--gold); }
.track span.here { background: var(--navy); }
.areas { list-style: none; padding: 0; margin: 0; }
.areas li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.areas li:first-child { border-top: 0; }
.areas .nm { font-weight: 600; }
.areas .pl { font-size: .8rem; color: var(--muted); display: block; font-weight: 500; }
.areas .lv { text-align: right; font-size: .95rem; }
.areas .bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--track); overflow: hidden; }
.areas .bar i { display: block; height: 100%; background: var(--gold); }
.areas li.weak .bar i { background: var(--navy); }
.areas li.weak .nm::after { content: " (your next step)"; font-weight: 500; color: var(--muted); font-size: .85rem; }
.next { border-left: 6px solid var(--navy); }
.next .week { background: var(--paper); border-radius: 8px; padding: 12px 14px; }
.next .week b { display: block; }
.call { background: var(--navy); color: #fff; border: 0; }
.call h2 { color: #fff; }
.call .btn { background: #fff; color: var(--navy); }
.call .btn:hover { background: #f1ede2; }
.reflect blockquote { margin: 0; padding: 10px 14px; border-left: 4px solid var(--gold); background: var(--paper); white-space: pre-wrap; }
form label { display: block; font-weight: 600; margin: 10px 0 4px; }
form input[type=text], form input[type=email] { width: 100%; padding: 12px; font: inherit; border: 1px solid #b9b4a5; border-radius: 8px; background: #fff; color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.msg-ok { color: var(--ok); font-weight: 600; }
.msg-err { color: var(--err); font-weight: 600; }
.foot { border-top: 1px solid var(--line); padding: 20px 0 32px; font-size: .88rem; color: var(--muted); }
@media (max-width: 480px) { .card { padding: 18px; } .brand .pill { display: none; } }
.embedded header.top{display:none}
