/* Mobile first. The site's palette, one question per screen, nothing that
   needs a pointer. Sizes are set so a question and its options fit a small
   phone viewport without scrolling. */

:root{
  --navy:#0A1628;--navy2:#0F1F3D;--navy3:#162847;
  --blue1:#378ADD;--blue2:#185FA5;--blue3:#B5D4F4;
  --ice:#E6F1FB;--muted:#85B7EB;
  --border:rgba(55,138,221,0.22);--border2:rgba(55,138,221,0.45);
  --text:#E6F1FB;--text2:#85B7EB;--text3:#6E8FB4;
  --warn:#D9954A;--green:#5DCAA5;--red:#F09595;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:'DM Sans',system-ui,-apple-system,sans-serif;
  background:var(--navy);color:var(--text);
  min-height:100vh;display:flex;flex-direction:column;
  line-height:1.6;
}

/* --- chrome ------------------------------------------------------------- */

.bar{
  display:flex;align-items:center;padding:16px 20px;
  border-bottom:1px solid var(--border);
}
.bar-logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ice);font-size:17px;font-weight:500}
.bar-logo svg{width:26px;height:26px;flex:none}

main{flex:1;width:100%;max-width:680px;margin:0 auto;padding:24px 20px 48px}

.foot{
  display:flex;flex-wrap:wrap;gap:20px;justify-content:center;
  padding:24px 20px 32px;border-top:1px solid var(--border);
}
.foot a{color:var(--text3);text-decoration:none;font-size:13px}
.foot a:hover{color:var(--muted)}
.foot span{color:var(--text3);font-size:13px}

/* --- shared ------------------------------------------------------------- */

h1{font-size:27px;font-weight:300;letter-spacing:-0.6px;color:var(--ice);line-height:1.22}
h2{font-size:20px;font-weight:500;color:var(--ice);line-height:1.3}
h3{font-size:14px;font-weight:500;color:var(--muted);letter-spacing:0.4px;text-transform:uppercase}
p{color:var(--text2)}
a{color:var(--blue1)}

.panel{background:var(--navy2);border:1px solid var(--border);border-radius:10px;padding:24px 20px}
.stack>*+*{margin-top:16px}
.lede{font-size:16px}
.small{font-size:13px;color:var(--text3)}

.btn{
  display:inline-block;font:inherit;font-size:16px;font-weight:500;
  padding:15px 28px;border-radius:8px;border:1px solid transparent;
  cursor:pointer;text-decoration:none;text-align:center;
  min-height:48px;
}
.btn-primary{background:var(--blue1);color:#06111F;border-color:var(--blue1)}
.btn-primary:hover:not(:disabled){background:#4a98e8}
.btn-primary:disabled{opacity:0.45;cursor:not-allowed}
.btn-ghost{background:transparent;color:var(--ice);border-color:var(--border2)}
.btn-ghost:hover{border-color:var(--blue1);color:var(--blue3)}
.btn-link{background:none;border:none;color:var(--text3);font:inherit;font-size:14px;cursor:pointer;text-decoration:underline;padding:8px 0;min-height:44px}
.btn-link:hover{color:var(--muted)}

:focus-visible{outline:2px solid var(--blue1);outline-offset:3px}

/* --- the question screens ----------------------------------------------- */

.progress{font-family:'DM Mono',ui-monospace,monospace;font-size:12px;letter-spacing:1px;color:var(--text3);text-transform:uppercase}
.progress-track{height:3px;background:var(--navy3);border-radius:2px;margin-top:10px;overflow:hidden}
.progress-fill{height:100%;background:var(--blue1);transition:width 0.25s ease}

fieldset{border:0}
legend{font-size:23px;font-weight:300;color:var(--ice);line-height:1.28;letter-spacing:-0.3px;padding:0}

.options{display:flex;flex-direction:column;gap:10px;margin-top:22px}
.option{
  font:inherit;font-size:16px;text-align:left;color:var(--text);
  background:var(--navy2);border:1px solid var(--border);border-radius:9px;
  padding:16px 18px;min-height:56px;cursor:pointer;
  transition:border-color 0.15s,background 0.15s;
}
.option:hover{border-color:var(--border2);background:var(--navy3)}
.option[aria-pressed="true"]{border-color:var(--blue1);background:rgba(55,138,221,0.12);color:var(--ice)}
.option[aria-pressed="true"]::after{content:'\2713';float:right;color:var(--blue1)}

.help{margin-top:14px;font-size:14px;color:var(--text3)}
.nav-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:26px}

/* --- the result --------------------------------------------------------- */

.disclaimer{
  background:rgba(55,138,221,0.07);border:1px solid var(--border);
  border-left:3px solid var(--blue2);border-radius:8px;
  padding:16px 18px;font-size:14px;color:var(--text2);
}
.caveat{
  background:rgba(217,149,74,0.09);border:1px solid rgba(217,149,74,0.32);
  border-radius:8px;padding:14px 16px;font-size:14px;color:#E3B889;
}

.framework{background:var(--navy2);border:1px solid var(--border);border-radius:10px;padding:22px 20px;margin-top:18px}
.framework h2{margin-bottom:10px}

.badge{
  display:inline-block;font-size:11px;font-weight:500;letter-spacing:0.7px;
  text-transform:uppercase;padding:4px 11px;border-radius:100px;margin-bottom:12px;
}
.badge-in_force{color:var(--blue3);background:rgba(55,138,221,0.14);border:1px solid var(--border2)}
.badge-proposed{color:#E3B889;background:rgba(217,149,74,0.12);border:1px solid rgba(217,149,74,0.34)}
.badge-market_expectation{color:var(--text2);background:rgba(133,183,235,0.09);border:1px solid var(--border)}
.badge-note{font-size:13px;color:var(--text3);margin:-6px 0 14px}

.deadline{
  display:inline-block;font-family:'DM Mono',ui-monospace,monospace;font-size:13px;
  color:var(--ice);background:var(--navy3);border:1px solid var(--border2);
  border-radius:6px;padding:7px 13px;margin-bottom:14px;
}

.why{font-size:14px;color:var(--text2);border-left:2px solid var(--border2);padding-left:13px;margin-bottom:16px}
.why span{color:var(--ice)}

.block{margin-top:18px}
.block h3{margin-bottom:9px}
.block p{font-size:15px}
.block ul{list-style:none;font-size:15px;color:var(--text2)}
.block li{position:relative;padding-left:20px;margin-top:7px}
.block li::before{content:'';position:absolute;left:4px;top:10px;width:5px;height:5px;border-radius:50%;background:var(--blue2)}
.block-covers li::before{background:var(--green)}
.block-not li::before{background:var(--text3)}
.block a{color:var(--blue1);font-size:14px;word-break:break-word}

/* --- calls to action and the form --------------------------------------- */

.cta{background:var(--navy2);border:1px solid var(--border);border-radius:10px;padding:22px 20px;margin-top:26px}
.cta h2{margin-bottom:8px}
.cta p{font-size:15px;margin-bottom:16px}
.cta .btn{width:100%}

.field{display:block;margin-top:14px}
.field span{display:block;font-size:14px;color:var(--text2);margin-bottom:7px}
.field input[type=email]{
  width:100%;font:inherit;font-size:16px;color:var(--ice);
  background:var(--navy);border:1px solid var(--border2);border-radius:8px;
  padding:14px 16px;min-height:50px;
}
.field input[type=email]::placeholder{color:var(--text3)}
.field input[type=email]:invalid:not(:placeholder-shown){border-color:var(--red)}

.consent{display:flex;gap:12px;align-items:flex-start;margin-top:16px;font-size:14px;color:var(--text2);cursor:pointer}
.consent input{flex:none;width:22px;height:22px;margin-top:1px;accent-color:var(--blue1)}

.form-note{margin-top:14px;font-size:13px;color:var(--text3)}
.form-msg{margin-top:14px;font-size:14px;border-radius:8px;padding:13px 16px}
.form-msg-ok{color:var(--green);background:rgba(29,158,117,0.1);border:1px solid rgba(29,158,117,0.3)}
.form-msg-err{color:var(--red);background:rgba(240,149,149,0.08);border:1px solid rgba(240,149,149,0.3)}

/* A honeypot: off-screen, not display:none, so bots that fill every field
   still reach it and real assistive tech skips it. */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.error{border-color:rgba(240,149,149,0.4)}
.error h1,.error h2{color:var(--red)}

@media (min-width:600px){
  main{padding:40px 24px 64px}
  h1{font-size:34px}
  legend{font-size:27px}
  .panel,.framework,.cta{padding:28px 26px}
  .cta .btn{width:auto}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
}
