/* =========================================================
   uhoh landing page
   BRAND TOKENS: change these to match uhoh.com exactly.
   ========================================================= */
:root {
  --paper: #FCFAF5;      /* off-white pulled from the logo's ".com" text */
  --ink: #000000;        /* logo + illustration black */
  --white: #FFFFFF;
  --muted: #55524B;      /* secondary text on paper */
  --line: #1A1A1A;       /* illustration-style outlines */
  --green: #1E8E4E;      /* check marks */
  --red: #E5484D;        /* x marks */
  --soft: #F1EEE6;       /* quiet panels */
  --rainbow: linear-gradient(90deg, #FF4D6D 0%, #FF9F1C 20%, #FFD60A 40%, #2EC4B6 60%, #3A86FF 80%, #8338EC 100%);

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-pill: 14px;   /* echoes the black ".com" pill in the logo */
  --radius-panel: 22px;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 3px solid #3A86FF; outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons: the logo's black pill ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 16px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 0 0 0 var(--ink);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 var(--ink); background: var(--ink); }
.btn:active { transform: translate(0, 0); box-shadow: none; }
.btn-big { font-size: 20px; padding: 20px 30px; }
.btn-small { font-size: 15px; padding: 10px 16px; border-radius: 11px; }
.btn-invert { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-invert:hover { background: var(--paper); box-shadow: 4px 4px 0 0 #FFD60A; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(252, 250, 245, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0,0,0,.08); }
.rainbow { height: 5px; background: var(--rainbow); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { height: 34px; width: auto; }

/* =========================================================
   Security score page
   ========================================================= */
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.pill { display: inline-block; font-weight: 600; font-size: 14px; padding: 6px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); }
.hero { padding: 56px 24px 24px; text-align: center; display: grid; justify-items: center; gap: 18px; }
.hero-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 6.4vw, 78px); line-height: .98; letter-spacing: -.04em; }
.hero-sub { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 600px; }
.hero-note { font-size: 14px; color: var(--muted); }
.card { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius-panel); box-shadow: 8px 8px 0 0 var(--ink); }
.quiz-wrap { padding-top: 24px; padding-bottom: 40px; scroll-margin-top: 80px; }
.quiz, .result { max-width: 760px; margin: 0 auto; padding: clamp(22px, 4vw, 40px); }
.progress { height: 10px; border-radius: 99px; background: var(--soft); overflow: hidden; border: 2px solid var(--ink); }
.progress-bar { height: 100%; width: 0; background: var(--rainbow); transition: width .35s ease; }
.q-count { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.q-text { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.12; letter-spacing: -.025em; margin-top: 8px; }
.q-help { margin-top: 10px; color: var(--muted); font-size: 16px; }
.options { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.opt { font: inherit; font-weight: 700; font-size: 17px; padding: 16px 10px; border: 3px solid var(--ink); border-radius: var(--radius-pill); background: var(--white); cursor: pointer; transition: transform .1s, box-shadow .1s, background .1s; }
.opt:hover, .opt:focus-visible { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 var(--ink); outline: none; }
.opt[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.quiz-nav { margin-top: 18px; min-height: 24px; }
.link-btn { font: inherit; font-size: 15px; font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.result-top { display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: center; }
.dial { position: relative; width: 170px; height: 170px; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial-bg { fill: none; stroke: var(--soft); stroke-width: 12; }
.dial-fg { fill: none; stroke: var(--ink); stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1); }
.dial-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--font-display); font-weight: 900; font-size: 52px; line-height: 1; letter-spacing: -.04em; }
.dial-num small { font-size: 16px; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.level-pill { display: inline-block; font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--ink); }
.lvl-strong { background: #CFF5DE; } .lvl-some-gaps { background: #FFF1B8; } .lvl-at-risk { background: #FFD9B3; } .lvl-exposed { background: #FFC9CE; }
.result-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.05; letter-spacing: -.03em; margin-top: 10px; }
.result-sub { margin-top: 10px; color: var(--muted); }
.gaps-title { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-top: 30px; }
.gaps { margin-top: 12px; display: grid; gap: 10px; counter-reset: g; }
.gaps li { counter-increment: g; position: relative; padding: 14px 16px 14px 56px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); display: grid; gap: 4px; }
.gaps li::before { content: counter(g); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.gaps li span { font-size: 14px; color: var(--muted); }
.strengths { margin-top: 14px; font-size: 15px; color: var(--muted); }
.result-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.form-section { background: var(--ink); color: var(--paper); padding: 64px 0; scroll-margin-top: 66px; }
.form-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 4vw, 48px); line-height: 1.02; letter-spacing: -.035em; }
.form-sub { margin-top: 14px; color: #D9D5CB; }
.ticks { margin-top: 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 3px; }
.form-card { color: var(--ink); padding: 22px; box-shadow: 8px 8px 0 0 #FFD60A; min-height: 300px; }
.fine { padding: 34px 24px; }
.fine details { max-width: 760px; margin: 0 auto; font-size: 15px; color: var(--muted); }
.fine summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.fine p { margin-top: 10px; }
.footer { border-top: 1px solid rgba(0,0,0,.1); padding: 28px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.ty { padding: 72px 24px 80px; text-align: center; display: grid; justify-items: center; gap: 18px; }
@media (max-width: 760px) {
  .options { grid-template-columns: 1fr 1fr; }
  .result-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .form-inner { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) { .progress-bar, .dial-fg { transition: none; } }
.result { scroll-margin-top: 88px; }
