    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg: #fdf6ec;
      --orange: #ff5c1a;
      --orange-light: #fff0e8;
      --orange-mid: #ffcfb3;
      --green: #1a8c5b;
      --green-light: #e6f7f0;
      --green-mid: #a3dfc4;
      --red: #d63b2f;
      --red-light: #fdf0ef;
      --red-mid: #f5b3ae;
      --danger-bg: #c94a3d;
      --danger-bg-hover: #b14034;
      --danger-light: #fbeceb;
      --danger-mid: #edc1bc;
      --danger-chip: rgba(139,49,40,0.14);
      --yellow: #f5c518;
      --yellow-light: #fffbea;
      --text: #1a1208;
      --muted: #8a7460;
      --border: #e8ddd0;
      --white: #fffdf9;
      --sans: 'Nunito', sans-serif;
      --mono: 'Instrument Mono', monospace;
      --radius: 20px;
      /* Site header — same on every page (do not shrink in page-specific media queries) */
      --nav-logo-size: 1.4rem;
      --nav-link-size: 0.85rem;
    }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--sans);
      overflow-x: hidden;
      min-height: 100vh;
    }
    footer .logo {
      font-size: 1.1rem; font-weight: 900;
      color: var(--text); text-decoration: none;
    }
    .btn {
      display: inline-flex; align-items: center; gap: 0.4rem;
      padding: 0.65rem 1.4rem; border-radius: 100px;
      font-family: var(--sans); font-weight: 900; font-size: 0.85rem;
      text-decoration: none; cursor: pointer; border: none;
      transition: transform 0.15s, box-shadow 0.15s;
    }
    .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,92,26,0.25); }
    .btn-primary { background: var(--orange); color: #fff; }
    .btn-outline { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
    /* HERO */
    .hero {
      padding: 4rem 2rem 3rem;
      text-align: center;
      max-width: 760px;
      margin: 0 auto;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 0.4rem;
      background: var(--orange-light); border: 1.5px solid var(--orange-mid);
      border-radius: 100px; padding: 0.4rem 1rem;
      font-size: 0.78rem; font-weight: 700; color: var(--orange);
      margin-bottom: 1.5rem;
      animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
    }
    @keyframes popIn {
      from { opacity: 0; transform: scale(0.8); }
      to { opacity: 1; transform: scale(1); }
    }
    .hero-headline {
      font-size: clamp(2.2rem, 6vw, 4rem);
      font-weight: 900; line-height: 1.05; letter-spacing: -0.03em;
      margin-bottom: 1rem;
      animation: slideUp 0.6s ease forwards 0.1s; opacity: 0;
    }
    @keyframes waver {
      0%, 100% { transform: translateY(0) rotate(-1deg); }
      33%       { transform: translateY(-4px) rotate(1.5deg); }
      66%       { transform: translateY(2px) rotate(-0.5deg); }
    }
    .hero-headline .wavy {
      color: var(--orange); font-style: italic;
      display: inline-block;
      position: relative;
      animation: waver 3.5s ease-in-out infinite;
      animation-delay: 0.8s;
    }
    .hero-sub {
      font-size: 1.05rem; color: var(--muted); line-height: 1.6;
      max-width: 480px; margin: 0 auto 2.5rem; font-weight: 700;
      animation: slideUp 0.6s ease forwards 0.2s; opacity: 0;
    }
    @keyframes slideUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    /* CHECKER */
    .checker-wrap { position: relative; animation: slideUp 0.6s ease forwards 0.3s; opacity: 0; margin-bottom: 1rem; }
    .checker-box {
      background: var(--white);
      border: 2.5px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      box-shadow: 0 8px 40px rgba(26,18,8,0.08);
    }
    .checker-input-row { display: flex; gap: 0.75rem; align-items: center; }
    .checker-input {
      flex: 1;
      background: var(--bg);
      border: 2px solid var(--border);
      border-radius: 12px;
      padding: 0.9rem 1.1rem;
      font-family: var(--mono);
      font-size: 0.9rem;
      color: var(--text);
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .checker-input:focus {
      border-color: var(--orange);
      box-shadow: 0 0 0 3px rgba(255,92,26,0.12);
    }
    .checker-input::placeholder { color: var(--muted); }
    .checker-btn {
      background: var(--orange); color: #fff;
      border: none; border-radius: 12px;
      padding: 0.9rem 1.6rem;
      font-family: var(--sans); font-weight: 900; font-size: 0.9rem;
      cursor: pointer; white-space: nowrap;
      transition: background 0.2s, transform 0.15s;
      display: flex; align-items: center; gap: 0.4rem;
    }
    .checker-btn:hover { background: #e04a10; transform: translateY(-1px); }
    .checker-btn:disabled { background: var(--muted); cursor: not-allowed; transform: none; }
    .checker-examples {
      margin-top: 0.85rem;
      display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center;
    }
    .checker-examples.hidden { display: none; }
    .example-label { font-size: 0.72rem; font-weight: 700; color: var(--muted); }
    .example-pill {
      font-family: var(--mono); font-size: 0.68rem;
      background: var(--bg); border: 1.5px solid var(--border);
      border-radius: 100px; padding: 0.25rem 0.7rem;
      color: var(--muted); cursor: pointer;
      transition: border-color 0.15s, color 0.15s;
    }
    .example-pill:hover { border-color: var(--orange); color: var(--orange); }
    /* INLINE ERROR (invalid URL, network error etc) */
    .checker-error {
      display: none;
      margin-top: 0.85rem;
      background: var(--red-light);
      border: 1.5px solid var(--red-mid);
      border-radius: 10px;
      padding: 0.6rem 0.85rem;
      font-size: 0.8rem; font-weight: 700; color: var(--red);
    }
    .checker-error.show { display: block; }
    /* SCAN PROGRESS */
    .scan-progress { margin-top: 1.2rem; display: none; }
    .scan-progress.active { display: block; }
    .scan-label {
      font-family: var(--mono); font-size: 0.72rem;
      color: var(--muted); margin-bottom: 0.6rem;
      display: flex; align-items: center; gap: 0.5rem;
    }
    .scan-label .spin { display: inline-block; animation: spin 0.8s linear infinite; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .scan-checks { display: flex; flex-direction: column; gap: 0.35rem; }
    .scan-check {
      display: flex; align-items: center; gap: 0.6rem;
      padding: 0.45rem 0.7rem;
      background: var(--bg); border: 1.5px solid var(--border);
      border-radius: 9px;
      font-family: var(--mono); font-size: 0.72rem; color: var(--muted);
      opacity: 0; transform: translateX(-8px);
      transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.3s, background 0.3s;
    }
    .scan-check.show { opacity: 1; transform: translateX(0); }
    .scan-check.done { color: var(--text); }
    .scan-check.done.ok { border-color: var(--green-mid); background: var(--green-light); }
    .scan-check.done.warn { border-color: #fde68a; background: var(--yellow-light); }
    .scan-check.done.bad { border-color: var(--red-mid); background: var(--red-light); }
    .scan-check-icon { font-size: 0.85rem; width: 18px; text-align: center; flex-shrink: 0; }
    .scan-check-label { flex: 1; min-width: 0; }
    .scan-check-status {
      font-size: 0.65rem; font-weight: 700; letter-spacing: 0.04em;
      padding: 0.15rem 0.45rem; border-radius: 5px;
    }
    .status-checking { background: rgba(138,116,96,0.1); color: var(--muted); }
    .status-checking .dot {
      opacity: 0;
      animation: dot-appear 1.2s infinite;
    }
    .status-checking .dot:nth-child(2) { animation-delay: 0.2s; }
    .status-checking .dot:nth-child(3) { animation-delay: 0.4s; }
    @keyframes dot-appear {
      0%, 100% { opacity: 0; }
      30%, 70%  { opacity: 1; }
    }
    .status-ok { background: rgba(26,140,91,0.12); color: var(--green); }
    .status-warn { background: rgba(245,197,24,0.15); color: #92710a; }
    .status-bad { background: var(--danger-chip); color: var(--danger-bg); }
    /* RESULT CARD */
    .result-card {
      margin-top: 1.2rem;
      border-radius: 16px;
      overflow: hidden;
      display: none;
      animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
    }
    .result-card.show { display: block; }
    .result-header {
      padding: 1rem 1.2rem;
      display: flex; align-items: center; gap: 0.75rem;
      scroll-margin-top: 64px;
    }
    .result-header.safe { background: var(--green); }
    .result-header.warn { background: var(--yellow); }
    .result-header.danger { background: var(--danger-bg); }
    .result-emoji { font-size: 1.8rem; }
    .result-verdict-label {
      font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.08em; opacity: 0.8; color: #fff; display: block;
    }
    .result-header.warn .result-verdict-label { color: rgba(26,18,8,0.6); }
    .result-verdict-group { flex: 1; min-width: 0; overflow: hidden; }
    .result-verdict-text {
      font-size: 1.2rem; font-weight: 900; color: #fff; display: block; line-height: 1.1;
    }
    .result-header.warn .result-verdict-text { color: var(--text); }
    .result-score {
      margin-left: auto;
      width: 48px; height: 48px; border-radius: 50%;
      background: rgba(255,255,255,0.25);
      display: flex; align-items: center; justify-content: center;
      font-weight: 900; font-size: 1rem; color: #fff; flex-shrink: 0;
    }
    .result-header.warn .result-score { color: var(--text); }
    .result-body {
      background: var(--white);
      border: 2px solid var(--border);
      border-top: none;
      border-radius: 0 0 16px 16px;
      padding: 1.2rem;
    }
    /* Address-bar style: the domain is the subject of the verdict, so
       give it the visual weight of a real URL pill. */
    .result-domain {
      display: flex; align-items: center; gap: 0.55rem;
      padding: 0.55rem 0.7rem;
      margin-bottom: 0.85rem;
      background: var(--bg);
      border: 1.5px solid var(--border);
      border-radius: 9px;
    }
    .result-domain-icon {
      flex-shrink: 0; width: 16px; height: 16px; border-radius: 3px;
      object-fit: contain;
    }
    .result-domain-text {
      flex: 1; min-width: 0;
      font-family: var(--mono); font-size: 0.84rem; font-weight: 700;
      color: var(--text); word-break: break-all; line-height: 1.35;
    }
    .result-domain-copy {
      flex-shrink: 0;
      background: transparent; border: 1px solid var(--border);
      color: var(--muted); cursor: pointer;
      padding: 0.25rem 0.55rem; border-radius: 6px;
      font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
      transition: color 0.2s, background 0.2s, border-color 0.2s;
    }
    .result-domain-copy:hover {
      color: var(--orange); border-color: var(--orange); background: var(--orange-light);
    }
    .result-domain-copy.copied {
      color: var(--green); border-color: var(--green-mid); background: var(--green-light);
    }
    .result-confidence {
      display: inline-flex; align-items: center;
      padding: 0.25rem 0.55rem; border-radius: 999px;
      font-size: 0.68rem; font-weight: 800;
      margin-bottom: 0.8rem;
      background: var(--bg); border: 1px solid var(--border); color: var(--muted);
    }
    .result-availability {
      display: none; align-items: center;
      padding: 0.25rem 0.55rem; border-radius: 999px;
      font-size: 0.68rem; font-weight: 800;
      margin-left: 0.45rem; margin-bottom: 0.8rem;
      background: var(--yellow-light); border: 1px solid #fde68a; color: #92710a;
    }
    .result-availability.show { display: inline-flex; }
    .result-reason {
      font-size: 0.88rem; font-weight: 700; line-height: 1.55;
      color: var(--text); margin-bottom: 1rem;
      padding: 0.75rem 0.9rem;
      background: var(--bg); border: 1.5px solid var(--border);
      border-radius: 10px;
      border-left-width: 4px;
    }
    .result-reason.safe   { border-left-color: var(--green); }
    .result-reason.warn   { border-left-color: var(--yellow); }
    .result-reason.danger { border-left-color: var(--danger-bg); }
    .result-checked-at {
      font-family: var(--mono);
      font-size: 0.68rem;
      font-weight: 700;
      color: var(--muted);
      margin: -0.55rem 0 0.9rem;
    }
    /* Low-evidence caveat. Surfaced only when our confidence in the verdict
       is genuinely shaky — i.e., we couldn't run the full check set. Sits
       quietly under the reason so it adds doubt without competing with it. */
    .result-evidence-note {
      font-size: 0.78rem; font-weight: 600; line-height: 1.45;
      color: var(--muted);
      margin: -0.4rem 0 0.9rem;
      padding: 0 0.2rem;
    }
    .result-signals {
      display: flex; flex-direction: column; gap: 0.45rem;
      margin-bottom: 1.1rem;
    }
    .result-top-signal { margin-bottom: 1rem; }
    .result-top-signal-label {
      display: block;
      margin-bottom: 0.35rem;
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .result-top-signal.hidden { display: none; }
    /* For safe/caution verdicts, keep the lead signal visible but less alarming. */
    .result-top-signal.soft-severity .result-signal.bad {
      background: #fff4ea;
      border-color: #f5d7b4;
    }
    .result-top-signal.soft-severity .result-signal.bad .result-signal-badge {
      background: rgba(224, 114, 29, 0.14);
      color: #9c5920;
    }
    .result-signal {
      display: flex; align-items: center; gap: 0.6rem;
      padding: 0.5rem 0.7rem; border-radius: 9px;
      font-size: 0.78rem; font-weight: 700;
    }
    .result-signal.ok { background: var(--green-light); border: 1.5px solid var(--green-mid); }
    .result-signal.warn { background: var(--yellow-light); border: 1.5px solid #fde68a; }
    .result-signal.bad { background: var(--danger-light); border: 1.5px solid var(--danger-mid); }
    .result-signal-icon { font-size: 0.9rem; }
    .result-signal-copy { flex: 1; min-width: 0; }
    .result-signal-text { color: var(--text); display: block; }
    .result-signal-detail {
      display: block;
      margin-top: 0.15rem;
      font-family: var(--mono);
      font-size: 0.66rem;
      font-weight: 600;
      color: var(--muted);
      word-break: break-word;
    }
    .result-signal-sources {
      display: block;
      margin-top: 0.3rem;
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--muted);
    }
    .result-signal-sources a {
      color: inherit;
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    .result-signal-sources a:hover { color: var(--text); }
    .result-signal-badge {
      font-family: var(--mono); font-size: 0.62rem; font-weight: 700;
      letter-spacing: 0.04em; padding: 0.15rem 0.45rem; border-radius: 5px;
    }
    .result-signal.ok .result-signal-badge { background: rgba(26,140,91,0.12); color: var(--green); }
    .result-signal.warn .result-signal-badge { background: rgba(245,197,24,0.15); color: #92710a; }
    .result-signal.bad .result-signal-badge { background: var(--danger-chip); color: var(--danger-bg); }
    .result-empty {
      font-size: 0.8rem; color: var(--muted); font-weight: 700;
      padding: 0.6rem 0.85rem; background: var(--bg);
      border: 1.5px dashed var(--border); border-radius: 9px;
      margin-bottom: 1.1rem;
    }
    .result-btn-leave {
      width: 100%;
      background: var(--danger-bg); color: #fff;
      border: none; border-radius: 10px; padding: 0.75rem;
      font-family: var(--sans); font-size: 0.82rem; font-weight: 900; cursor: pointer;
      transition: background 0.2s;
    }
    .result-btn-leave:hover { background: var(--danger-bg-hover); }
    .result-btn-leave.safe { background: var(--green); }
    .result-btn-leave.safe:hover { background: #127a4a; }
    .result-btn-leave.warn { background: var(--yellow); color: var(--text); }
    .result-btn-leave.warn:hover { background: #d4aa10; }
    /* Secondary text-link actions below the primary button */
    .result-footer-links {
      display: flex; align-items: center; justify-content: center;
      gap: 1.25rem; margin-top: 0.7rem;
    }
    .result-text-link {
      background: none; border: none; cursor: pointer; padding: 0;
      font-family: var(--sans); font-size: 0.76rem; font-weight: 700;
      color: var(--muted); transition: color 0.2s;
      display: inline-flex; align-items: center; gap: 0.3rem;
    }
    .result-text-link:hover { color: var(--text); }
    .result-text-link.copied { color: var(--green); }
    .result-text-link:disabled { opacity: 0.5; cursor: default; }
    .result-share-note {
      margin-top: 0.6rem;
      text-align: center;
      font-size: 0.7rem;
      font-weight: 700;
      color: var(--muted);
    }
    .result-footer-sep { color: var(--border); font-size: 0.8rem; user-select: none; }
    .result-mobile-actions { display: block; }
    /* FEEDBACK WIDGET — thumbs up / down on the verdict; thumbs-down expands to optional notes. */
    .result-feedback {
      display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
      margin: 0.5rem 0 1rem; padding: 0.6rem 0.75rem;
      border: 1px dashed var(--border); border-radius: 10px;
      background: rgba(0,0,0,0.015);
    }
    .result-feedback-prompt {
      font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
      color: var(--muted); margin-right: 0.25rem;
    }
    .result-feedback-btn {
      background: var(--bg, #fff); border: 1px solid var(--border);
      border-radius: 999px; padding: 0.3rem 0.65rem;
      font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
      color: var(--text); cursor: pointer; transition: background 0.15s, border-color 0.15s;
    }
    .result-feedback-btn:hover { background: rgba(0,0,0,0.04); border-color: var(--text); }
    .result-feedback-btn.selected { background: var(--text); color: #fff; border-color: var(--text); }
    .result-feedback-form {
      width: 100%; display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.4rem;
    }
    /* Author display rules outrank the user-agent [hidden]{display:none}, so we
       have to re-state the hidden behaviour explicitly for elements that get
       a custom display. */
    .result-feedback-form[hidden] { display: none; }
    .result-feedback-label {
      font-family: var(--sans); font-size: 0.72rem; font-weight: 700; color: var(--muted);
    }

    .result-feedback-notes {
      font-family: var(--sans); font-size: 0.82rem;
      border: 1px solid var(--border); border-radius: 8px;
      padding: 0.4rem 0.55rem; background: var(--bg, #fff); color: var(--text);
      width: 100%; box-sizing: border-box; resize: vertical; min-height: 4.5em;
    }
    .result-feedback-submit {
      align-self: flex-start;
      background: var(--text); color: #fff; border: none; border-radius: 8px;
      padding: 0.45rem 0.85rem; cursor: pointer;
      font-family: var(--sans); font-size: 0.78rem; font-weight: 800;
    }
    .result-feedback-submit:hover { opacity: 0.9; }
    .result-feedback-submit:disabled { opacity: 0.5; cursor: default; }
    .result-feedback-thanks {
      font-family: var(--sans); font-size: 0.78rem; font-weight: 700; color: var(--green);
    }
    /* TRUST STRIP */
    .trust-strip {
      display: flex; justify-content: center; gap: 1.5rem;
      flex-wrap: wrap; margin-top: 1.5rem;
      animation: slideUp 0.6s ease forwards 0.4s; opacity: 0;
    }
    .trust-item {
      display: flex; align-items: center; gap: 0.3rem;
      font-size: 0.78rem; font-weight: 700; color: var(--muted);
    }
    /* RECENT */
    .recent-section { max-width: 760px; margin: 3rem auto 0; padding: 0 2rem; }
    .recent-label {
      font-size: 0.72rem; font-weight: 700; color: var(--muted);
      text-transform: uppercase; letter-spacing: 0.1em;
      margin-bottom: 0.75rem;
    }
    .recent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
    .recent-card {
      background: var(--white); border: 2px solid var(--border);
      border-radius: 12px; padding: 0.9rem;
      cursor: pointer; transition: border-color 0.2s, transform 0.15s;
    }
    .recent-card:hover { border-color: var(--orange); transform: translateY(-2px); }
    /* First time the recent block appears this session — staggered fade (class removed after run; see renderRecent). */
    @keyframes recentCardIn {
      from { opacity: 0; transform: translateY(8px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .recent-section.recent-entrance .recent-card {
      animation: recentCardIn 0.38s ease forwards;
    }
    .recent-section.recent-entrance .recent-card:nth-child(1) { animation-delay: 0s; }
    .recent-section.recent-entrance .recent-card:nth-child(2) { animation-delay: 0.07s; }
    .recent-section.recent-entrance .recent-card:nth-child(3) { animation-delay: 0.14s; }
    .recent-card-top {
      display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem;
    }
    .recent-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
    .recent-domain {
      font-family: var(--mono); font-size: 0.7rem; color: var(--text);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      font-weight: 500;
    }
    .recent-verdict { font-size: 0.72rem; font-weight: 700; color: var(--muted); }
    /* HOW */
    .how-section { max-width: 760px; margin: 4rem auto; padding: 0 2rem; text-align: center; }
    .section-eyebrow {
      font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--orange); margin-bottom: 0.5rem;
    }
    .section-title {
      font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900;
      letter-spacing: -0.03em; margin-bottom: 2.5rem; line-height: 1.1;
    }
    .how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .how-step { text-align: center; }
    .how-num {
      width: 44px; height: 44px; border-radius: 50%;
      background: var(--orange); color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-weight: 900; font-size: 1.1rem; margin: 0 auto 0.8rem;
    }
    .how-title {
      font-size: 0.95rem; font-weight: 900;
      margin: 0 0 0.4rem; line-height: 1.25;
    }
    .how-desc { font-size: 0.82rem; color: var(--muted); font-weight: 700; line-height: 1.6; }
    /* CTA / WAITLIST */
    .cta-banner {
      background: var(--orange-light);
      border-top: 2px solid var(--orange-mid);
      border-bottom: 2px solid var(--orange-mid);
      padding: 3rem 2rem; text-align: center; margin-top: 4rem;
    }
    .cta-banner h2 {
      font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 900;
      letter-spacing: -0.03em; margin-bottom: 0.5rem;
    }
    .cta-banner h3.cta-subhead {
      font-size: 0.98rem; font-weight: 800; color: var(--muted);
      letter-spacing: -0.02em; line-height: 1.35; margin: 0 0 0.85rem;
    }
    .cta-banner p {
      font-size: 0.9rem; color: var(--muted); font-weight: 700; margin-bottom: 1.5rem;
    }
    .cta-banner .btn { font-size: 0.95rem; padding: 0.9rem 2rem; }
    .waitlist-form {
      display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap;
      max-width: 460px; margin: 0 auto;
    }
    .waitlist-input {
      flex: 1; min-width: 220px;
      background: var(--white); border: 2px solid var(--orange-mid);
      border-radius: 100px; padding: 0.75rem 1.2rem;
      font-family: var(--sans); font-size: 0.9rem; font-weight: 700;
      color: var(--text); outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .waitlist-input:focus {
      border-color: var(--orange);
      box-shadow: 0 0 0 3px rgba(255,92,26,0.15);
    }
    .waitlist-input::placeholder { color: var(--muted); }
    .waitlist-success {
      display: none; margin-top: 1rem;
      font-size: 0.9rem; font-weight: 700; color: var(--green);
    }
    .waitlist-success.show { display: block; }
    .waitlist-warning {
      display: none; margin-top: 1rem;
      font-size: 0.9rem; font-weight: 700; color: #9a6500;
    }
    .waitlist-warning.show { display: block; }
    .waitlist-error {
      display: none; margin-top: 1rem;
      font-size: 0.9rem; font-weight: 700; color: var(--danger);
    }
    .waitlist-error.show { display: block; }
    /* FOOTER */
    footer {
      padding: 1.5rem 2rem;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 1rem;
      border-top: none;
    }
    .footer-copy { font-size: 0.75rem; font-weight: 700; color: var(--muted); }
    .footer-links { display: flex; gap: 1.5rem; list-style: none; }
    .footer-links a {
      font-size: 0.75rem; font-weight: 700; color: var(--muted); text-decoration: none;
    }
    .footer-links a:hover { color: var(--text); }
    /* CHECKER TABS */
    .checker-tabs {
      display: flex; margin-bottom: 1.2rem;
      background: var(--bg); border: 1.5px solid var(--border);
      border-radius: 10px; padding: 3px;
    }
    .checker-tab {
      flex: 1; padding: 0.55rem 0.9rem;
      font-family: var(--sans); font-weight: 700; font-size: 0.82rem;
      border: none; background: transparent; cursor: pointer;
      border-radius: 8px; color: var(--muted);
      transition: background 0.15s, color 0.15s;
    }
    .checker-tab.active {
      background: var(--white); color: var(--text);
      box-shadow: 0 1px 4px rgba(26,18,8,0.1);
    }
    .url-panel { display: block; }
    .url-panel.hidden { display: none; }
    /* QR PANEL */
    .qr-panel { display: none; }
    .qr-panel.active { display: block; }
    .qr-options {
      display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
      margin-top: 0.5rem; margin-bottom: 0.75rem;
    }
    .qr-option {
      border: 2px dashed var(--border); border-radius: 12px;
      padding: 1.4rem 1rem; text-align: center; cursor: pointer;
      background: var(--bg);
      transition: border-color 0.2s, background 0.2s;
    }
    .qr-option:hover { border-color: var(--orange); background: var(--orange-light); }
    .qr-option.chosen { border-color: var(--orange); background: var(--orange-light); border-style: solid; }
    .qr-option-icon { font-size: 1.8rem; margin-bottom: 0.35rem; }
    .qr-option-label { display: block; font-size: 0.85rem; font-weight: 900; color: var(--text); margin-bottom: 0.2rem; }
    .qr-option-sub { font-size: 0.72rem; color: var(--muted); font-weight: 700; }
    /* UPLOAD ZONE */
    .qr-upload-zone {
      display: none;
      border: 2px dashed var(--border); border-radius: 12px;
      padding: 2rem 1rem; text-align: center;
      background: var(--bg); cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
    }
    .qr-upload-zone.active { display: block; }
    .qr-upload-zone.drag-over { border-color: var(--orange); background: var(--orange-light); }
    .qr-upload-input { display: none; }
    .qr-upload-icon { font-size: 2rem; margin-bottom: 0.5rem; }
    .qr-upload-label { font-size: 0.85rem; font-weight: 900; margin-bottom: 0.25rem; }
    .qr-upload-sub { font-size: 0.75rem; color: var(--muted); font-weight: 700; }
    /* CAMERA */
    .qr-camera-wrap {
      display: none; position: relative;
      border-radius: 12px; overflow: hidden;
      background: #111; aspect-ratio: 4/3;
    }
    .qr-camera-wrap.active { display: block; }
    .qr-video { width: 100%; height: 100%; object-fit: cover; display: block; background: #111; }
    .qr-camera-loading {
      position: absolute; inset: 0;
      display: none; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 0.6rem;
      background: rgba(0,0,0,0.55);
      color: #fff; font-family: var(--sans); font-weight: 700;
      font-size: 0.85rem; text-align: center; padding: 1rem;
    }
    .qr-camera-loading.show { display: flex; }
    .qr-camera-loading.fail { background: rgba(0,0,0,0.7); }
    .qr-camera-spinner {
      width: 28px; height: 28px; border-radius: 50%;
      border: 3px solid rgba(255,255,255,0.25);
      border-top-color: #fff;
      animation: spin 0.85s linear infinite;
    }
    .qr-camera-tap {
      margin-top: 0.4rem;
      background: var(--orange); color: #fff; border: none;
      border-radius: 999px; padding: 0.55rem 1.1rem;
      font-family: var(--sans); font-weight: 800; font-size: 0.85rem;
      cursor: pointer;
    }
    .qr-scan-line {
      position: absolute; left: 0; right: 0; height: 2px;
      background: var(--orange); opacity: 0.9;
      animation: scanLine 2s ease-in-out infinite;
    }
    @keyframes scanLine { 0%,100% { top: 12%; } 50% { top: 82%; } }
    .qr-camera-overlay {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .qr-viewfinder {
      width: 52%; aspect-ratio: 1;
      border: 3px solid rgba(255,255,255,0.85);
      border-radius: 12px;
      box-shadow: 0 0 0 9999px rgba(0,0,0,0.45);
    }
    .qr-camera-hint {
      position: absolute; bottom: 0.75rem; left: 0; right: 0;
      text-align: center; font-size: 0.72rem; font-weight: 700;
      color: rgba(255,255,255,0.85);
    }
    .qr-stop-btn {
      display: none; margin-top: 0.6rem; width: 100%;
      background: transparent; border: 1.5px solid var(--border);
      border-radius: 10px; padding: 0.6rem;
      font-family: var(--sans); font-size: 0.8rem; font-weight: 700;
      color: var(--muted); cursor: pointer;
      transition: border-color 0.2s, color 0.2s;
    }
    .qr-stop-btn:hover { border-color: var(--red); color: var(--red); }
    /* QR STATUS BANNERS */
    .qr-found-banner {
      display: none; margin-top: 0.75rem;
      background: var(--green-light); border: 1.5px solid var(--green-mid);
      border-radius: 10px; padding: 0.65rem 0.85rem;
      font-size: 0.8rem; font-weight: 700; color: var(--green);
      word-break: break-all;
    }
    .qr-found-banner.show { display: block; }
    .qr-error-banner {
      display: none; margin-top: 0.75rem;
      background: var(--red-light); border: 1.5px solid var(--red-mid);
      border-radius: 10px; padding: 0.65rem 0.85rem;
      font-size: 0.8rem; font-weight: 700; color: var(--red);
    }
    .qr-error-banner.show { display: block; }

    /* SNIFF CYCLE — scam sommelier; min-width keeps the layout still
       while different-length tasting notes cycle through. */
    .sniff-text { display: inline-block; min-width: 24ch; }

    /* SCAN SUMMARY — keeps the "checks were run" trust visible after result */
    .scan-summary {
      display: none;
      margin-top: 1rem;
      padding: 0.6rem 0.8rem;
      background: var(--green-light);
      border: 1.5px solid var(--green-mid);
      border-radius: 10px;
      font-family: var(--mono); font-size: 0.72rem;
      color: var(--green); font-weight: 700;
      align-items: center; gap: 0.55rem;
    }
    .scan-summary.show { display: flex; }

    /* SCORE PILL — replaces the bare number with "23/100" + tier label.
       margin-left: 0 because right-alignment is now handled by the
       .result-header-right wrapper that groups it with the evidence chip. */
    .result-score {
      margin-left: 0;
      width: auto; height: auto; border-radius: 14px;
      padding: 0.4rem 0.75rem;
      display: flex; flex-direction: column; align-items: flex-end;
      line-height: 1.05; min-width: 78px;
    }
    /* Right-side group: evidence chip + score pill ride together on the right
       of the header, with a small gap so they read as related.
       NOTE: hidden by default below — the score and evidence chip competed
       with the verdict and rubber stamp for attention, so the headline now
       leads with verdict + colour + stamp. The score number is surfaced
       inside the collapsible details summary so nothing is lost. */
    .result-header-right {
      margin-left: auto;
      display: none; align-items: center; gap: 0.55rem;
      flex-shrink: 0;
    }
    /* Evidence-strength chip — sits immediately left of the score pill.
       Translucent white works on the green/red headers; an override
       darkens it on the yellow (warn) header where white-on-yellow fails. */
    .result-confidence-inline {
      display: none; align-items: center;
      padding: 0.3rem 0.6rem; border-radius: 999px;
      font-size: 0.62rem; font-weight: 800;
      letter-spacing: 0.06em; text-transform: uppercase;
      background: rgba(255,255,255,0.22);
      color: #fff;
      white-space: nowrap; flex-shrink: 0;
    }
    .result-confidence-inline.show { display: inline-flex; }
    .result-header.warn .result-confidence-inline {
      background: rgba(26,18,8,0.12);
      color: var(--text);
    }
    .result-score-num { font-size: 1rem; font-weight: 900; }
    .result-score-label {
      font-size: 0.58rem; font-weight: 800;
      text-transform: uppercase; letter-spacing: 0.07em;
      opacity: 0.85; margin-top: 0.1rem; white-space: nowrap;
    }

    /* SAFE-VERDICT BOUNCE — small celebration on the emoji */
    @keyframes bounceIn {
      0%   { transform: scale(0.4); opacity: 0; }
      60%  { transform: scale(1.2); opacity: 1; }
      100% { transform: scale(1); }
    }
    .result-header.safe .result-emoji { animation: bounceIn 0.55s cubic-bezier(0.34,1.56,0.64,1) both; }

    /* DANGER SHAKE — visceral jolt for bad verdicts */
    @keyframes shake {
      0%, 100% { transform: translateX(0) rotate(0deg); }
      15%       { transform: translateX(-5px) rotate(-8deg); }
      30%       { transform: translateX(5px) rotate(8deg); }
      45%       { transform: translateX(-4px) rotate(-5deg); }
      60%       { transform: translateX(4px) rotate(5deg); }
      75%       { transform: translateX(-2px) rotate(-2deg); }
    }
    .result-header.danger .result-emoji { animation: shake 0.6s cubic-bezier(0.36,0.07,0.19,0.97) both; }

    /* WARN WOBBLE — lighter than danger shake, still feels alive */
    @keyframes wobbleWarn {
      0%, 100% { transform: rotate(0deg); }
      22%       { transform: rotate(-7deg); }
      44%       { transform: rotate(6deg); }
      66%       { transform: rotate(-4deg); }
      88%       { transform: rotate(2deg); }
    }
    .result-header.warn .result-emoji {
      animation: wobbleWarn 0.52s ease-in-out both;
      transform-origin: 50% 55%;
    }

    /* COLLAPSIBLE SIGNALS — progressive reveal of check/detail (worker runs 17 parallel checks; UI rows vary) */
    .result-signals-details { margin-bottom: 1.1rem; }
    .result-signals-summary {
      cursor: pointer; list-style: none;
      display: flex; align-items: center; gap: 0.55rem;
      padding: 0.6rem 0.8rem;
      background: var(--bg); border: 1.5px solid var(--border);
      border-radius: 10px;
      font-size: 0.8rem; font-weight: 700; color: var(--text);
      transition: border-color 0.2s, color 0.2s;
    }
    .result-signals-summary-left {
      display: inline-flex; align-items: center; gap: 0.55rem;
      min-width: 0;
    }
    .result-signals-summary-right {
      margin-left: auto;
      color: var(--orange);
      font-size: 0.75rem;
      font-weight: 800;
      white-space: nowrap;
      text-decoration: underline;
      text-underline-offset: 0.14em;
    }
    .result-signals-summary::-webkit-details-marker { display: none; }
    .result-signals-summary::marker { content: ''; }
    .result-signals-summary:hover { border-color: var(--orange); }
    .result-signals-summary:hover .result-signals-summary-right { color: #d96317; }
    .result-signals-summary .chev { transition: transform 0.2s; color: var(--muted); }
    .result-signals-details[open] .chev { transform: rotate(90deg); }
    .result-signals-details[open] .result-signals-summary {
      border-bottom-left-radius: 0; border-bottom-right-radius: 0;
      border-bottom-color: transparent;
    }
    .result-signals-details[open] .result-signals {
      border: 1.5px solid var(--border);
      border-top: none;
      border-radius: 0 0 10px 10px;
      padding: 0.6rem; margin: 0;
    }

    /* THEME GROUPS — group signals under plain-English category headers */
    .signal-theme-group { margin-bottom: 0.5rem; }
    .signal-theme-group:last-child { margin-bottom: 0; }
    .signal-theme-group .result-signal-wrap + .result-signal-wrap { margin-top: 0.35rem; }
    .signal-ungrouped { margin-top: 0.15rem; }
    .signal-ungrouped .result-signal-wrap + .result-signal-wrap { margin-top: 0.35rem; }
    .signal-theme-header {
      display: flex; align-items: center; gap: 0.45rem;
      font-size: 0.69rem; font-weight: 800;
      text-transform: uppercase; letter-spacing: 0.09em;
      color: var(--muted);
      padding: 0 0.1rem 0.4rem;
      margin-bottom: 0.4rem;
      border-bottom: 1.5px solid var(--border);
    }

    /* CMD+K HINT — surface the existing keyboard shortcut */
    .kbd-hint {
      margin-left: auto; display: inline-flex; align-items: center; gap: 0.25rem;
      font-size: 0.65rem; color: var(--muted); font-weight: 700;
    }
    .kbd-hint kbd {
      font-family: var(--mono); font-size: 0.62rem; font-weight: 700;
      padding: 0.12rem 0.4rem; border-radius: 4px;
      border: 1px solid var(--border); background: var(--white);
      color: var(--muted);
    }
    @media (max-width: 600px) { .kbd-hint { display: none; } }
    .checker-paste-btn {
      background: none; border: 1.5px solid var(--border); border-radius: 100px;
      padding: 0.2rem 0.65rem; font-family: var(--sans); font-size: 0.72rem;
      font-weight: 700; color: var(--muted); cursor: pointer;
      transition: border-color 0.15s, color 0.15s;
      display: none;
    }
    .checker-paste-btn:hover { border-color: var(--orange); color: var(--orange); }
    @media (hover: none) { .checker-paste-btn { display: inline-flex; align-items: center; gap: 0.3rem; } }

    /* RECENT NOTE — sets expectation that history is in-memory */
    .recent-note {
      font-size: 0.7rem; color: var(--muted); font-weight: 600;
      font-style: italic; margin-top: -0.4rem; margin-bottom: 0.75rem;
    }

    /* SIGNAL EXPLAINER — tap "?" on a signal to reveal a plain-English
       gloss without leaving the page. "Read more" jumps to learn.html. */
    .result-signal-wrap { display: flex; flex-direction: column; }
    .signal-info-btn {
      flex-shrink: 0; margin-left: 0.4rem;
      width: 22px; height: 22px; border-radius: 50%;
      background: rgba(255,255,255,0.7); border: 1px solid var(--border);
      color: var(--muted); cursor: pointer;
      font-family: var(--sans); font-size: 0.75rem; font-weight: 800;
      display: inline-flex; align-items: center; justify-content: center;
      transition: background 0.15s, color 0.15s, border-color 0.15s;
      padding: 0; line-height: 1;
    }
    .signal-info-btn:hover {
      background: var(--white); color: var(--orange); border-color: var(--orange);
    }
    .result-signal-wrap.expanded .signal-info-btn {
      background: var(--orange); color: #fff; border-color: var(--orange);
    }
    .result-signal-wrap.expanded .result-signal {
      border-bottom-left-radius: 0; border-bottom-right-radius: 0;
    }
    .signal-info-detail {
      display: none;
      padding: 0.7rem 0.85rem 0.75rem;
      background: var(--white);
      border: 1.5px solid var(--border); border-top: none;
      border-radius: 0 0 9px 9px;
    }
    .result-signal-wrap.expanded .signal-info-detail { display: block; }
    .signal-info-detail p {
      font-size: 0.78rem; line-height: 1.5;
      color: var(--text); font-weight: 500;
      margin: 0 0 0.45rem;
    }
    .signal-info-detail a {
      font-size: 0.74rem; font-weight: 800; color: var(--orange);
      text-decoration: none;
    }
    .signal-info-detail a:hover { text-decoration: underline; }

    /* Small-screen resilience for long URLs/domains */
    .result-domain-text,
    .recent-domain {
      overflow-wrap: anywhere;
    }

    /* HAND-DRAWN MARKS — wobbly SVG annotations that draw themselves in
       when their target enters the viewport. Each path uses pathLength="1"
       so dasharray/offset normalise across paths of different real lengths. */
    .scribble-wrap { position: relative; display: inline-block; }
    .scribble {
      position: absolute;
      pointer-events: none;
      fill: none;
      stroke: var(--orange);
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-linejoin: round;
      overflow: visible;
    }
    .scribble path {
      stroke-dasharray: 1;
      stroke-dashoffset: 1;
      transition: stroke-dashoffset 0.85s cubic-bezier(0.65, 0, 0.35, 1);
    }
    .scribble.in-view path { stroke-dashoffset: 0; }

    /* Lasso around "stinks" — sits inside .wavy so it sways with the word.
       Sized in % so it scales cleanly with the responsive headline. Stroke
       is the soft brand peach so it reads as a margin annotation rather
       than competing with the orange italic word it surrounds. */
    .scribble-circle {
      top: -32%;
      left: -25%;
      width: 150%;
      height: 170%;
      z-index: 1;
      stroke: var(--orange-mid);
    }
    .scribble-circle path { transition-delay: 1.1s; }

    /* Squiggle underline under section titles. Sized in % so it tracks the
       title text width across breakpoints. */
    .scribble-underline {
      bottom: -10px;
      left: -2%;
      width: 104%;
      height: 14px;
    }

    /* Reduced motion — skip the draw-in but keep the marks visible.
       This needs to override the global "transition: none" further down. */
    @media (prefers-reduced-motion: reduce) {
      .scribble path { stroke-dashoffset: 0 !important; }
    }

    /* RUBBER STAMP — slaps onto the result body to visually punctuate the
       verdict after the card animates in. Lives inside .result-body so it
       stays inside the card's rounded corners; positioned over the upper
       right of the body where it doesn't fight the domain pill or the
       reason box. Tier colour drives both border and text. */
    .result-body { position: relative; }
    .result-stamp {
      position: absolute;
      top: 54px;
      right: 12px;
      z-index: 5;
      pointer-events: none;
      font-family: var(--mono);
      font-weight: 700;
      font-size: 0.72rem;
      letter-spacing: 0.14em;
      padding: 0.26rem 0.52rem;
      border: 2px solid;
      border-radius: 5px;
      background: rgba(255, 253, 249, 0.84);
      text-transform: uppercase;
      white-space: nowrap;
      opacity: 0;
      transform: scale(1.95) rotate(-2deg);
      transform-origin: center;
    }
    .result-stamp.show {
      animation: stamp-slap 0.45s cubic-bezier(0.45, 1.5, 0.4, 1) 0.55s forwards;
    }
    @keyframes stamp-slap {
      0%   { opacity: 0;    transform: scale(2.4) rotate(-2deg); }
      60%  { opacity: 1;    transform: scale(0.88) rotate(-12deg); }
      100% { opacity: 0.94; transform: scale(1) rotate(-9deg); }
    }
    .result-stamp.safe   { color: var(--green);     border-color: var(--green); }
    .result-stamp.warn   { color: #92710a;          border-color: #d4aa10; }
    .result-stamp.danger { color: var(--danger-bg); border-color: var(--danger-bg); }
    @media (max-width: 600px) {
      .result-stamp {
        font-size: 0.66rem;
        padding: 0.25rem 0.5rem;
        top: 54px;
        right: 12px;
      }
    }
    /* Reduced motion — skip the slap but show the stamp at its final pose. */
    @media (prefers-reduced-motion: reduce) {
      .result-stamp.show {
        opacity: 0.94 !important;
        transform: scale(1) rotate(-9deg) !important;
      }
    }

    @media (max-width: 600px) {
      .hero { padding: 2.5rem 1.2rem 2rem; }
      /* stretch so the URL field matches the full-width button (center would
         shrink the input to its intrinsic width on the cross axis) */
      .checker-input-row { flex-direction: column; align-items: stretch; }
      .checker-input { width: 100%; min-width: 0; }
      .checker-btn { width: 100%; justify-content: center; }
      .recent-grid { grid-template-columns: 1fr; }
      .how-steps { grid-template-columns: 1fr; gap: 1.2rem; }
      .how-step { display: flex; gap: 1rem; text-align: left; align-items: flex-start; }
      .how-num { flex-shrink: 0; margin: 0; }
      footer { flex-direction: column; align-items: center; text-align: center; }

      /* Scrollable example pills — prevents long URLs wrapping onto multiple lines */
      .checker-examples {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        margin-bottom: -4px;
        scrollbar-width: none;
      }
      .checker-examples::-webkit-scrollbar { display: none; }
      .checker-examples .example-label,
      .checker-examples .example-pill { flex-shrink: 0; }

      /* Prevent sniff-text min-width from triggering horizontal scroll during scan */
      .sniff-text { min-width: 0; }

      /* Trust strip — tighter gap on narrow screens */
      .trust-strip { gap: 0.75rem; }
      .trust-item { font-size: 0.75rem; }

      /* Waitlist form — stack input + button and stretch both full-width */
      .waitlist-form { flex-direction: column; align-items: stretch; }
      .waitlist-form .waitlist-input { min-width: 0; width: 100%; }
      .waitlist-form .btn { width: 100%; justify-content: center; }

      /* 44px tap targets for thumb-friendly interactions */
      .btn,
      .checker-btn,
      .result-btn-leave,
      .checker-tab {
        min-height: 44px;
      }
      .result-text-link {
        min-height: 44px;
        display: inline-flex; align-items: center;
      }
      .example-pill,
      .footer-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
      }
      .signal-info-btn {
        width: 28px;
        height: 28px;
      }

      /* Readability lift for dense sections */
      .result-reason,
      .how-desc,
      .recent-verdict {
        font-size: 0.92rem;
        line-height: 1.6;
      }

      /* Post-scan CTA — stack form on narrow screens */
      .post-scan-form { flex-direction: column; }
      .post-scan-btn { width: 100%; }

      /* Two-row signal layout — label gets full width, icon+badge+? share
         the row below. Grid (not flex-wrap) keeps the bottom row stable so
         a long badge can't push the "?" button onto its own line. */
      .result-signal {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas:
          "copy copy copy"
          "icon badge btn";
        align-items: center;
        gap: 0.35rem 0.5rem;
      }
      .result-signal-copy {
        grid-area: copy;
        min-width: 0;
      }
      .result-signal-icon { grid-area: icon; }
      .result-signal-badge {
        grid-area: badge;
        justify-self: end;
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        text-align: right;
      }
      .signal-info-btn {
        grid-area: btn;
        margin-left: 0;
      }

      /* Keep primary result actions in thumb reach */
      .result-mobile-actions {
        position: sticky;
        bottom: 0;
        z-index: 6;
        margin: 0 -0.2rem -0.2rem;
        padding: 0.65rem 0.35rem calc(0.65rem + env(safe-area-inset-bottom));
        background: linear-gradient(to top, var(--white) 75%, rgba(255, 253, 249, 0));
      }
      /* Footer actions — 2-column grid so nothing fights for width in one row */
      .result-footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem 0.55rem;
        margin-top: 0.5rem;
        max-width: 100%;
      }
      .result-footer-links .result-footer-sep {
        display: none;
      }
      .result-footer-links #resultCheckAnotherBtn {
        grid-column: 1 / -1;
        justify-content: center;
        min-height: 44px;
        padding: 0.45rem 0.65rem;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.025);
      }
      .result-footer-links .result-text-link:not(#resultCheckAnotherBtn) {
        grid-column: 1 / -1;
        justify-content: center;
        min-width: 0;
        padding: 0.4rem 0.35rem;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--bg);
        color: var(--text);
        font-size: 0.76rem;
      }
      .result-share-note {
        margin-top: 0.55rem;
        padding: 0 0.15rem;
        font-size: 0.68rem;
        line-height: 1.45;
      }
    }

    @media (max-width: 420px) {
      .hero { padding: 2rem 0.9rem 1.6rem; }
      .checker-box { padding: 1rem; }
      .btn { padding-left: 1rem; padding-right: 1rem; }

      /* Compact result header — verdict + score can get very tight on 320px screens */
      .result-verdict-text { font-size: 1.05rem; }
      /* Hide the inline confidence chip — it overlaps on narrow result headers */
      .result-confidence-inline { display: none !important; }

      .result-footer-links {
        gap: 0.45rem 0.45rem;
      }
      .result-footer-links .result-text-link:not(#resultCheckAnotherBtn) {
        font-size: 0.72rem;
      }

      /* CTA banner — reduce side padding so text has room to breathe */
      .cta-banner { padding: 2.5rem 1.2rem; }
    }

    /* POST-SCAN WAITLIST NUDGE — inside result card after verdict actions */
    .result-card .post-scan-cta {
      max-height: 0; opacity: 0; overflow: hidden;
      transition: max-height 0.5s ease, opacity 0.45s ease, margin-top 0.5s ease;
      margin-top: 0;
    }
    .result-card .post-scan-cta.show {
      max-height: 600px; opacity: 1; margin-top: 1.25rem;
    }
    .post-scan-content {
      background: var(--orange-light);
      border: 1.5px solid var(--orange-mid);
      border-radius: var(--radius);
      padding: 1.1rem 1.4rem;
    }
    .post-scan-eyebrow {
      font-size: 0.68rem; font-weight: 800;
      text-transform: uppercase; letter-spacing: 0.1em;
      color: var(--orange); display: block; margin-bottom: 0.25rem;
    }
    .post-scan-headline {
      font-size: 1rem; font-weight: 900;
      color: var(--text); margin-bottom: 0.75rem; line-height: 1.2;
    }
    .post-scan-form {
      display: flex; gap: 0.5rem;
    }
    .post-scan-input {
      flex: 1; min-width: 0;
      background: var(--white); border: 2px solid var(--orange-mid);
      border-radius: 10px; padding: 0.6rem 0.9rem;
      min-height: 44px;
      font-family: var(--sans); font-size: 0.85rem; font-weight: 700;
      color: var(--text); outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .post-scan-input:focus {
      border-color: var(--orange);
      box-shadow: 0 0 0 3px rgba(255,92,26,0.12);
    }
    .post-scan-input::placeholder { color: var(--muted); }
    .post-scan-btn {
      background: var(--orange); color: #fff;
      border: none; border-radius: 10px;
      padding: 0.6rem 1.1rem;
      min-height: 44px;
      font-family: var(--sans); font-weight: 900; font-size: 0.82rem;
      cursor: pointer; white-space: nowrap;
      transition: background 0.2s;
    }
    .post-scan-btn:hover { background: #e04a10; }
    .post-scan-btn:disabled { background: var(--muted); cursor: not-allowed; }
    .post-scan-micro {
      font-size: 0.7rem; font-weight: 700;
      color: var(--muted); margin-top: 0.5rem;
    }
    .post-scan-micro a { color: var(--orange); font-weight: 800; text-decoration: none; }
    .post-scan-micro a:hover { text-decoration: underline; }
    .post-scan-warning {
      display: none;
      background: var(--yellow-light, #fff8e6); border: 1.5px solid #ecd9a0;
      border-radius: var(--radius);
      padding: 1rem 1.4rem;
      font-size: 0.88rem; font-weight: 700; color: #9a6500;
      text-align: center;
    }
    .post-scan-warning.show { display: block; }
    .post-scan-success {
      display: none;
      background: var(--green-light); border: 1.5px solid var(--green-mid);
      border-radius: var(--radius);
      padding: 1rem 1.4rem;
      font-size: 0.88rem; font-weight: 700; color: var(--green);
      text-align: center;
    }
    .post-scan-success.show { display: block; }

    /* WAITLIST MICRO-COPY */
    .waitlist-micro {
      font-size: 0.72rem; font-weight: 700;
      color: var(--muted); margin-top: 0.6rem;
    }
    .waitlist-micro a { color: var(--orange); font-weight: 800; text-decoration: none; }
    .waitlist-micro a:hover { text-decoration: underline; }

    /* PRIVACY PROMISE — visually separated from the marketing copy
       so it reads as a commitment rather than a tagline. */
    .cta-privacy {
      max-width: 520px;
      margin: 1.5rem auto 0;
      padding-top: 1rem;
      border-top: 1px solid var(--orange-mid);
      font-size: 0.78rem; font-weight: 700;
      color: var(--muted); line-height: 1.5;
    }
    .cta-privacy strong {
      color: var(--text); font-weight: 900;
    }

    .popular-guides {
      max-width: 760px;
      margin: 0 auto;
      padding: 2.5rem 1.5rem 0.5rem;
      text-align: center;
    }
    .popular-guides h2 {
      font-size: 1rem; font-weight: 900;
      text-transform: uppercase; letter-spacing: 0.06em;
      color: var(--muted); margin-bottom: 1rem;
    }
    .popular-guides-links {
      display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
    }
    .popular-guides-links a {
      display: inline-block;
      padding: 0.55rem 1rem;
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 100px;
      font-size: 0.85rem; font-weight: 800;
      color: var(--text); text-decoration: none;
      transition: border-color 0.15s, transform 0.15s;
    }
    .popular-guides-links a:hover { border-color: var(--orange); transform: translateY(-2px); }

    /* HOW-IT-WORKS SCROLL ANIMATION — JS adds .how-step-animate on load,
       then IntersectionObserver adds .visible as each step enters view. */
    .how-step-animate {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .how-step-animate.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ACCESSIBILITY — visually-hidden label for screen readers */
    .sr-only {
      position: absolute; width: 1px; height: 1px;
      padding: 0; margin: -1px; overflow: hidden;
      clip: rect(0,0,0,0); white-space: nowrap; border: 0;
    }

    /* SCORE TOOLTIP — shows threshold key on hover/focus of the score pill */
    .result-score { position: relative; cursor: default; }
    .result-score::after {
      content: attr(data-tooltip);
      position: absolute;
      top: calc(100% + 9px);
      right: 0;
      background: var(--text);
      color: #fff;
      font-family: var(--sans);
      font-size: 0.7rem; font-weight: 700;
      padding: 0.4rem 0.65rem;
      border-radius: 8px;
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      transform: translateY(4px);
      transition: opacity 0.15s ease, transform 0.15s ease;
      z-index: 20;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    .result-score::before {
      content: '';
      position: absolute;
      top: calc(100% + 3px);
      right: 14px;
      border: 5px solid transparent;
      border-bottom-color: var(--text);
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.15s ease;
      z-index: 20;
    }
    .result-score:hover::after,
    .result-score:focus-visible::after { opacity: 1; transform: translateY(0); }
    .result-score:hover::before,
    .result-score:focus-visible::before { opacity: 1; }

    /* Reduce animations for motion-sensitive users */
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation: none !important;
        transition: none !important;
      }
    }
