/* ImposterShield shared styles.
 *
 * Every page used to carry its own copy of the tokens. That is exactly how the site ended
 * up split down the middle on 2026-08-18: the homepage was moved to the warm light theme
 * and the other five pages stayed near-black, so "Free scan" dropped you from a cream page
 * onto a black one. Tokens live here now.
 *
 * The palette rationale, from the homepage redesign: near-black plus amber is hazard-sign
 * colouring and reads as a threat dashboard. The audience is non-technical and often older,
 * so the page should feel like help rather than a security console.
 *
 * NOTE: index.html still has its own inline copy of these rules. It is a bigger page with a
 * lot of one-off layout and was left alone rather than risked; if you touch the palette,
 * change it in both places until the homepage is moved over too.
 */

:root{
  --bg:#FBF7F1;          /* warm off-white page */
  --bg-2:#FFFFFF;        /* cards sit above the page, not below it */
  --line:#EAE0D4;        /* soft warm rule, not a hairline */
  --ink:#221E1A;         /* warm near-black */
  --ink-2:#6B6158;       /* warm grey */
  --flag:#B35C00;        /* accent TEXT - dark enough to read on cream (~5:1) */
  --flag-fill:#F6A623;   /* accent FILL - buttons and icon strokes, always with dark ink */
  --real:#1F7A52;        /* the friendly "you're fine" green */
  --alarm:#B3261E;       /* used sparingly, and never as a page background */
  --shadow:0 1px 2px rgba(80,60,35,.05), 0 10px 28px -14px rgba(80,60,35,.18);
  --shadow-lg:0 2px 4px rgba(80,60,35,.06), 0 24px 56px -24px rgba(80,60,35,.26);
  --max:760px;           /* reading width; the homepage overrides this to 1120 */
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--ink);
  /* 18px/1.72 rather than 17/1.6 - this audience skews older and the extra air reads friendlier */
  font:400 18px/1.72 "Archivo","Segoe UI",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
a{color:var(--flag)}
h1,h2,h3{letter-spacing:-.022em;line-height:1.1;font-weight:680}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{
  outline:3px solid var(--flag-fill);outline-offset:3px;border-radius:6px;
}

/* nav */
nav{position:sticky;top:0;z-index:50;background:rgba(251,247,241,.88);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
nav .wrap{display:flex;align-items:center;height:66px;max-width:1120px;gap:24px}
.brand{display:flex;align-items:center;gap:10px;font-weight:680;letter-spacing:-.02em;font-size:17px;text-decoration:none;color:var(--ink)}
.mark{width:22px;height:22px;flex:none}

/* buttons */
.btn{
  display:inline-block;background:var(--ink);color:#FBF7F1;border:0;
  padding:12px 20px;border-radius:11px;font:inherit;font-weight:620;font-size:16px;
  text-decoration:none;cursor:pointer;white-space:nowrap;
}
.btn:hover{background:#3A332B}
/* dark ink on the amber, never white - it clears contrast comfortably and reads warmer */
.btn-hero{background:var(--flag-fill);color:#2A1B08;font-size:18px;padding:17px 32px;border-radius:13px;box-shadow:var(--shadow)}
.btn-hero:hover{background:#FFB840}

/* header */
header{padding:66px 0 40px}
.eyebrow{
  display:inline-flex;align-items:center;gap:9px;font-size:14px;color:var(--ink-2);
  background:var(--bg-2);border:1px solid var(--line);border-radius:999px;padding:7px 16px;margin-bottom:26px;
  box-shadow:var(--shadow);
}
.dot{width:8px;height:8px;border-radius:50%;background:var(--flag-fill);flex:none}
h1{font-size:clamp(34px,5.4vw,50px)}
.sub{margin-top:20px;font-size:19px;color:var(--ink-2);max-width:60ch}
.sub strong{color:var(--ink);font-weight:620}
.btn-note,.fineprint{margin-top:13px;font-size:14.5px;color:var(--ink-2);max-width:62ch}

/* sections */
section{padding:56px 0;border-top:1px solid var(--line)}
h2{font-size:28px;margin-bottom:12px}
h3{font-size:20px}
p{color:var(--ink-2)}
p+p{margin-top:14px}
.lede{color:var(--ink-2);margin-bottom:32px;max-width:62ch}

/* numbered walkthrough */
ol.steps{list-style:none;counter-reset:s;display:grid;gap:0}
ol.steps li{
  counter-increment:s;display:grid;grid-template-columns:52px 1fr;gap:20px;
  padding:26px 0;border-top:1px solid var(--line);
}
ol.steps li:last-child{border-bottom:1px solid var(--line)}
ol.steps li::before{
  content:counter(s,decimal-leading-zero);font-size:15px;font-weight:700;color:var(--flag);
  letter-spacing:.04em;padding-top:4px;
}
ol.steps h3{font-size:19px;margin-bottom:7px}
ol.steps p{font-size:17px}

/* an aside that matters - was a bare left rule on dark, now a card */
.note{
  background:var(--bg-2);border:1px solid var(--line);border-left:3px solid var(--flag-fill);
  border-radius:12px;padding:18px 22px;margin-top:24px;
  color:var(--ink-2);font-size:16.5px;max-width:66ch;box-shadow:var(--shadow);
}
.note strong{color:var(--ink);font-weight:640}

code{
  background:#F4EDE3;border:1px solid var(--line);border-radius:6px;
  padding:2px 7px;font-size:15px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  color:var(--ink);
}

ul.plain{list-style:none;display:grid;gap:11px;margin-top:6px}
ul.plain li{color:var(--ink-2);padding-left:20px;position:relative;max-width:66ch}
ul.plain li::before{
  content:"";position:absolute;left:0;top:.72em;width:7px;height:7px;
  border-radius:50%;background:var(--flag-fill);
}

/* cards used for lists of findings / capabilities */
.finds{display:grid;gap:14px;margin-top:26px}
.find{
  display:flex;align-items:flex-start;gap:15px;padding:20px 22px;
  border:1px solid var(--line);border-radius:14px;background:var(--bg-2);box-shadow:var(--shadow);
}
.chip{width:13px;height:13px;border-radius:50%;flex:none;margin-top:8px}
.find p{font-size:16.5px}
.find strong{display:block;color:var(--ink);font-weight:640;margin-bottom:3px}

footer{border-top:1px solid var(--line);padding:40px 0;color:var(--ink-2);font-size:14.5px}
footer a{color:var(--ink-2)}

@media (max-width:700px){
  section{padding:44px 0}
  header{padding:44px 0 32px}
  ol.steps li{grid-template-columns:38px 1fr;gap:14px}
}
