/* Report card design system.
 *
 * Served as a static asset rather than inlined into the document, so the
 * report's own text starts in the first kilobytes of the HTML. It used to be
 * a 27 KB inline <style> block between <title> and <body>, and any client
 * that reads a bounded prefix of the response saw the title followed by an
 * unterminated stylesheet. Keep it here; its cache key is
 * REPORT_STYLESHEET_HREF in src/views/outbound-report.tsx, which must be
 * bumped whenever this file changes.
 *
 * Rendered by ReportCardPage on the public report route and the operator
 * render under /.outbound.
 */
  :root {
    --paper: #f7f8f8;
    --surface: #ffffff;
    --sand: #f1f2f2;
    --hairline: #dee1e1;
    --ink: #132626;
    --brand-dark: #0f2424;
    --graphite: #526363;
    --haze: #667575;
    --accent: #2b9e8f;
    --accent-deep: #247565;
    --accent-soft: #e9f5f3;
    --ember: #e96645;
    --ember-soft: #fff0eb;
    --alarm: #cf4b35;
    --signal: #e4a83c;
    --green: #1a7f55;
    --green-tint: #e8f6ee;
    --amber: #93621a;
    --amber-tint: #fff5df;
    --red: #c84b3a;
    --red-tint: #fff0ed;
    --brand: 'Space Grotesk', system-ui, sans-serif;
    --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgb(24 24 27 / 5%), 0 8px 24px rgb(24 24 27 / 5%);
    --shadow-md: 0 20px 55px -28px rgb(15 36 36 / 28%);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
  }
  ::selection { color: #fff; background: var(--accent); }
  a { color: inherit; text-decoration: none; }
  button, input { font: inherit; }
  :focus-visible { outline: 3px solid rgb(43 158 143 / 55%); outline-offset: 3px; }
  .skip-link {
    position: fixed; left: 16px; top: 12px; z-index: 100;
    padding: 9px 13px; color: #fff; background: var(--brand-dark);
    border-radius: 8px; font-weight: 700; transform: translateY(-160%);
  }
  .skip-link:focus { transform: translateY(0); }
  .wrap { width: min(100%, 1240px); margin: 0 auto; padding: 0 30px 48px; }
  .topbar {
    position: sticky; top: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between;
    min-height: 72px; margin: 0 -30px; padding: 12px 30px;
    background: rgb(247 248 248 / 90%);
    border-bottom: 1px solid rgb(222 225 225 / 92%);
    backdrop-filter: blur(16px);
  }
  .wordmark { display: inline-flex; align-items: center; gap: 9px; color: #0f1f1f; }
  .wordmark svg { height: 18px !important; }
  .wordmark .wm-text {
    color: #0f1f1f; font-family: var(--brand); font-size: 14px;
    font-weight: 700; letter-spacing: .18em;
  }
  .topbar-right { display: flex; align-items: center; gap: 10px; }
  .share-btn, .top-cta, .hero-btn, .cta-btn, .discovery-cta, .finding-cta {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 16px; border: 1px solid var(--hairline); border-radius: var(--radius-sm);
    font-family: var(--sans); font-size: 13px; line-height: 1; font-weight: 700;
    cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  }
  .share-btn { color: var(--graphite); background: var(--surface); }
  .top-cta, .hero-btn.primary, .cta-btn, .discovery-cta, .finding-cta {
    color: #fff; background: var(--accent-deep); border-color: var(--accent-deep);
    box-shadow: 0 2px 8px rgb(36 117 101 / 18%);
  }
  .share-btn:hover, .hero-btn.secondary:hover { color: var(--ink); border-color: #c8cece; background: var(--sand); }
  .top-cta:hover, .hero-btn.primary:hover, .cta-btn:hover, .discovery-cta:hover, .finding-cta:hover {
    background: var(--brand-dark); border-color: var(--brand-dark);
    box-shadow: 0 8px 22px rgb(15 36 36 / 22%); transform: translateY(-1px);
  }

  .hero {
    position: relative; margin-top: 36px; overflow: hidden;
    color: var(--ink); background: var(--surface);
    border: 1px solid var(--hairline); border-radius: 28px; box-shadow: var(--shadow-md);
    animation: hero-enter .75s cubic-bezier(.16,1,.3,1) both;
  }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .72fr); min-height: 600px; }
  .hero-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 48px clamp(48px, 5vw, 64px); }
  .hero-kicker {
    display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px;
    width: auto; margin-bottom: 26px; padding: 7px 9px;
    color: var(--graphite); background: var(--surface); border: 1px solid var(--hairline); border-radius: 7px;
    box-shadow: 0 1px 2px rgb(24 24 27 / 4%);
    font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .065em; text-transform: uppercase;
  }
  .hero-kicker span:last-child { padding-left: 8px; border-left: 1px solid var(--hairline); }
  .status-light {
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  }
  .hero h1 {
    max-width: 750px; margin: 0; font-family: var(--brand);
    font-size: clamp(46px, 4.8vw, 68px); font-weight: 700;
    letter-spacing: -.045em; line-height: 1; text-wrap: balance;
  }
  .hero h1 > span { display: block; }
  .hero h1 > span:last-child { color: var(--ink); }
  .hero h1 .hero-fix-highlight { display: inline; color: var(--accent); }
  .hero h1 > .hero-fix-line:last-child { display: block; color: var(--accent); }
  .hero-domain-inline {
    color: var(--ink); text-decoration: underline; text-decoration-color: rgb(24 24 27 / 30%);
    text-decoration-thickness: .045em; text-underline-offset: .1em; overflow-wrap: anywhere;
  }
  .hero-domain-inline:hover { color: var(--accent-deep); }
  .scan-meta { max-width: 62ch; margin: 22px 0 0; color: var(--graphite); font-size: 15px; }
  .coverage-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; font-family: var(--mono); font-size: 10.5px; }
  .coverage-strip span { padding: 6px 9px; color: var(--graphite); background: var(--sand); border: 1px solid var(--hairline); border-radius: 7px; }
  .coverage-strip strong { color: var(--ink); font-weight: 700; }
  .coverage-strip .coverage-signin { color: var(--accent-deep); background: var(--accent-soft); border-color: transparent; font-weight: 700; }
  .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: auto; padding-top: 30px; }
  .hero-btn.secondary { color: var(--ink); background: var(--surface); }
  .hero-btn.report-primary { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: 0 2px 8px rgb(24 24 27 / 14%); }
  .hero-btn.report-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
  .hero-btn svg { width: 14px; height: 14px; margin-left: 6px; transition: transform 180ms ease; }
  .hero-btn.secondary:hover svg { transform: translateY(2px); }
  .grade-panel {
    position: relative; display: flex; flex-direction: column; margin: 48px 24px 48px 0; padding: 0;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--hairline); border-radius: 20px;
    box-shadow: 0 18px 40px -30px rgb(24 24 27 / 30%);
  }
  .grade-label {
    display: flex; justify-content: space-between; gap: 14px; padding: 18px 22px;
    color: var(--graphite); background: var(--sand); border-top: 2px solid var(--accent); border-bottom: 1px solid var(--hairline);
    border-radius: 19px 19px 0 0;
    font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase;
  }
  .grade-stamp {
    position: relative; flex: 1; min-height: 220px; display: flex; flex-direction: column; margin: 0 24px;
    align-items: center; justify-content: center; gap: 5px;
  }
  .grade-stamp::before {
    position: absolute; width: 224px; height: 224px; content: '';
    background: #fff; border: 1px solid rgb(43 158 143 / 28%); border-radius: 50%;
    animation: grade-pulse 3.2s ease-in-out infinite;
  }
  .grade-stamp .letter { position: relative; font-family: var(--brand); font-size: clamp(64px, 7vw, 92px); font-weight: 700; line-height: .8; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
  .stamp-a .letter, .stamp-b .letter, .stamp-c .letter { color: var(--ink); }
  .stamp-a .label, .stamp-b .label, .stamp-c .label { color: var(--graphite); }
  .grade-stamp .label { position: relative; font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .grade-context { position: relative; margin-top: 7px; color: var(--graphite); font-family: var(--mono); font-size: 9px; letter-spacing: .02em; }
  .verdict { margin: 0 24px 24px; padding: 15px; background: var(--paper); border: 1px solid var(--hairline); border-radius: 13px; }
  .verdict h2 { margin: 0 0 13px; font-family: var(--brand); font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; }
  .sev-legend { display: flex; flex-wrap: wrap; gap: 15px; color: var(--graphite); font-family: var(--mono); font-size: 10.5px; }
  .sev-legend .key { display: inline-flex; align-items: center; gap: 6px; }
  .sev-legend .swatch { width: 7px; height: 7px; border-radius: 50%; }
  .sev-legend strong { color: var(--ink); }
  .grade-breakdown {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 12px; padding-top: 10px; color: var(--accent-deep); border-top: 1px solid var(--hairline);
    font-size: 11px; font-weight: 700;
  }
  .grade-breakdown:hover { color: var(--accent); }
  .fix-band {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 16px clamp(24px, 4vw, 48px); color: var(--brand-dark);
    background: var(--accent-soft); border-top: 1px solid #d7e9e5;
  }
  .fix-band-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 10px; }
  .fix-band strong { font-family: var(--brand); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
  .fix-band span { color: var(--graphite); font-size: 13.5px; }
  .fix-band-cta {
    min-height: 42px; flex: none; display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 16px; color: #fff; background: var(--accent-deep); border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 700; box-shadow: 0 6px 18px rgb(36 117 101 / 20%);
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  }
  .fix-band-cta:hover { background: var(--brand-dark); box-shadow: 0 10px 24px rgb(15 36 36 / 24%); transform: translateY(-1px); }

  .scroll-cue {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    margin: 18px auto -50px; color: var(--accent-deep);
  }
  .scroll-cue-icon {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    animation: cue-bob 1.9s ease-in-out infinite;
  }
  .scroll-cue svg { width: 22px; height: 22px; }
  .scroll-cue:hover { color: var(--accent); }

  .report-section { width: min(100%, 900px); margin: 78px auto 0; scroll-margin-top: 96px; }
  .sec-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; margin-bottom: 20px; }
  .sec-head .kicker { color: var(--accent-deep); font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
  .sec-head .rule { height: 1px; background: var(--hairline); }

  .discovery {
    width: min(100%, 1040px); padding: clamp(26px, 4vw, 42px);
    color: #fff; background: var(--brand-dark); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }
  .discovery .sec-head { margin-bottom: 18px; }
  .discovery .sec-head .kicker { color: #86d6c5; }
  .discovery .sec-head .rule { background: rgb(255 255 255 / 14%); }
  .discovery-copy { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 25px; }
  .discovery-copy h2 { max-width: 560px; margin: 0 0 8px; font-family: var(--brand); font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -.045em; }
  .discovery-note { max-width: 58ch; margin: 0; color: rgb(255 255 255 / 64%); font-size: 14px; }
  .discovery-cta { flex: none; }
  .discovery .replay-slot {
    width: min(100%, 760px); max-width: 760px; margin: 0 auto; border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 14px; box-shadow: 0 24px 54px -34px rgb(15 36 36 / 42%);
  }
  .discovery .replay-slot:not([data-replay-mounted]) { aspect-ratio: 760 / 555; }
  .replay-views { display: flex; justify-content: center; gap: 6px; margin: 0 0 12px; }
  .replay-view { min-height: 36px; padding: 6px 16px; color: rgb(255 255 255 / 72%); background: transparent; border: 1px solid rgb(255 255 255 / 22%); border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
  .replay-view[aria-selected="true"] { color: var(--ink); background: #fff; border-color: #fff; }
  .discovery .replay-load { min-height: 100%; }
  .discovery .replay-slot[data-replay-mounted] { display: flex; justify-content: center; }
  .discovery .replay-slot .rr-player { float: none; }
  .replay-slot { max-width: 760px; margin: 20px 0 0; overflow: hidden; background: var(--surface); border: 1px solid var(--hairline); border-radius: 13px; }
  .finding > .replay-slot { width: 100%; max-width: none; }
  .replay-load { display: block; width: 100%; min-height: 90px; padding: 16px; color: var(--accent-deep); background: var(--accent-soft); border: 0; font-weight: 700; cursor: pointer; }
  .replay-load:hover { background: #dcefeb; }

  .grades { overflow: hidden; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
  .grade-row { display: grid; grid-template-columns: 58px 170px 1fr; gap: 18px; align-items: center; min-height: 72px; padding: 13px 18px; border-top: 1px solid var(--hairline); }
  .grade-row:first-child { border-top: 0; }
  .gchip { padding: 6px 4px; font-family: var(--brand); font-size: 16px; font-weight: 700; text-align: center; border-radius: 8px; }
  .g-a { color: var(--green); background: var(--green-tint); }
  .g-b { color: var(--amber); background: var(--amber-tint); }
  .g-c { color: var(--red); background: var(--red-tint); }
  .grade-row .cat { font-weight: 700; font-size: 14.5px; }
  .grade-row .why { color: var(--graphite); font-size: 13.5px; }
  .score-method { margin-top: 18px; color: var(--graphite); font-size: 14px; line-height: 1.6; }
  .score-method summary { cursor: pointer; font-weight: 700; }

  .finding {
    overflow-wrap: anywhere;
    position: relative; margin-top: 16px; padding: clamp(22px, 3.5vw, 34px);
    background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); scroll-margin-top: 96px; transition: transform 180ms ease, box-shadow 180ms ease;
  }
  .finding:first-of-type { margin-top: 0; }
  .finding:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -28px rgb(24 24 27 / 30%); }
  .finding::before { content: ''; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; border-radius: 0 3px 3px 0; }
  .finding.serious-card::before { background: var(--ember); }
  .finding.minor-card::before { background: #c6a15d; }
  .finding-no { position: absolute; right: 22px; top: 20px; color: #dde2e2; font-family: var(--brand); font-size: 40px; font-weight: 700; line-height: 1; pointer-events: none; }
  .f-top { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 13px; padding-right: 62px; }
  .sev-chip, .meta-chip { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 8px; border-radius: 999px; font-family: var(--mono); font-size: 9.5px; font-weight: 600; }
  .sev-chip { text-transform: uppercase; letter-spacing: .045em; }
  .sev-chip.serious { color: #a43d28; background: var(--ember-soft); }
  .sev-chip.minor { color: #826026; background: var(--amber-tint); }
  .meta-chip { color: var(--graphite); background: var(--sand); }
  .finding h4 { position: relative; z-index: 1; margin: 0 0 10px; font-family: var(--brand); font-size: clamp(21px, 2.6vw, 27px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; text-wrap: pretty; }
  .finding-impact { position: relative; z-index: 1; margin: 16px 0; color: var(--graphite); font-size: 13px; }
  .finding-impact .impact-lead { max-width: 68ch; margin: 0 0 12px; color: var(--ink); font-size: 14.5px; line-height: 1.6; }
  .finding-impact summary { cursor: pointer; }
  .finding-impact p { margin: 10px 0; }
  .finding .f-stakes { position: relative; z-index: 1; max-width: 68ch; margin: 0 0 10px; color: var(--ink); font-size: 15.5px; font-weight: 700; }
  .finding .f-body { position: relative; z-index: 1; max-width: 68ch; margin: 0; color: var(--graphite); font-size: 14.5px; }
  .check { width: 100%; margin: 15px 0 0; padding: 12px 14px; color: var(--graphite); background: var(--accent-soft); border-radius: 9px; font-size: 13.5px; }
  .check strong { color: var(--ink); }
  .finding-action { display: flex; justify-content: flex-end; width: 100%; margin-top: 20px; }
  .finding-cta { min-height: 40px; padding: 9px 14px; font-size: 12px; }
  .shot { width: 100%; margin: 20px 0 0; }
  .shot.shot-mobile { width: min(100%, 320px); }
  .browser { overflow: hidden; background: var(--surface); border: 1px solid #d8dddd; border-radius: 12px; box-shadow: 0 14px 30px -24px rgb(24 24 27 / 40%); }
  .chrome-bar { display: flex; align-items: center; gap: 6px; padding: 8px 11px; background: var(--sand); border-bottom: 1px solid var(--hairline); }
  .chrome-bar .b-dot { width: 8px; height: 8px; border-radius: 50%; }
  .chrome-bar .url { min-width: 0; margin-left: 6px; padding: 2px 8px; overflow: hidden; color: var(--graphite); background: var(--surface); border: 1px solid var(--hairline); border-radius: 5px; font-family: var(--mono); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
  .shot-img { font-size: 0; }
  .shot-img img { display: block; width: 100%; height: auto; }
  .shot-link { display: block; }
  .shot-mobile .shot-img { position: relative; max-height: 520px; overflow: hidden; }
  .shot-mobile .shot-img::after {
    content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 72px;
    background: linear-gradient(to bottom, transparent, rgb(255 255 255 / 92%)); pointer-events: none;
  }
  .fd-caps { display: flex; justify-content: space-between; gap: 14px; margin-top: 7px; }
  .fd-caps span { color: var(--haze); font-family: var(--mono); font-size: 9.5px; }
  .fd-caps a { color: var(--accent-deep); font-family: var(--mono); font-size: 9.5px; font-weight: 600; }
  .fd-caps a:hover { text-decoration: underline; }
  .clean { padding: 34px; color: var(--green); background: var(--green-tint); border-radius: var(--radius-md); font-family: var(--brand); font-size: 17px; font-weight: 600; text-align: center; }

  .closing {
    margin: 96px 0 0; padding: clamp(34px, 5vw, 60px);
    color: #fff; background: var(--brand-dark); border-radius: 28px;
    box-shadow: var(--shadow-md); scroll-margin-top: 90px;
  }
  .closing .sec-head { margin-bottom: 30px; }
  .closing .sec-head .kicker { color: #86d6c5; }
  .closing .sec-head .rule { background: rgb(255 255 255 / 14%); }
  .closing-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(310px, .78fr); gap: clamp(36px, 6vw, 70px); align-items: center; }
  .closing-copy h3 { max-width: 11ch; margin: 0 0 18px; font-family: var(--brand); font-size: clamp(42px, 6vw, 68px); font-weight: 700; letter-spacing: -.055em; line-height: .96; text-wrap: balance; }
  .closing .sub { max-width: 56ch; margin: 0 0 25px; color: rgb(255 255 255 / 65%); font-size: 14.5px; }
  .closing-action { min-width: 230px; min-height: 54px; margin: 0 0 24px; padding: 14px 24px; font-size: 15px; }
  .pr-card { margin: 0; padding: 17px 18px; color: var(--ink); background: #fff; border: 1px solid rgb(255 255 255 / 18%); border-radius: 13px; text-align: left; }
  .pr-card .pr-top { display: flex; align-items: center; gap: 10px; }
  .pr-icon { width: 30px; height: 30px; flex: none; display: flex; align-items: center; justify-content: center; color: var(--green); background: var(--green-tint); border-radius: 8px; font-family: var(--mono); font-size: 9px; font-weight: 700; }
  .pr-card .pr-title { font-family: var(--brand); font-size: 14px; font-weight: 700; }
  .pr-card .pr-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; padding-left: 40px; color: var(--graphite); font-family: var(--mono); font-size: 9.5px; }
  .pr-card .pr-meta .add { color: var(--green); }
  .pr-card .pr-meta .del { color: var(--red); }
  .cta { padding: clamp(24px, 4vw, 34px); color: var(--ink); background: var(--surface); border-radius: 18px; box-shadow: 0 25px 55px -35px rgb(0 0 0 / 80%); }
  .cta-label { margin: 0 0 13px !important; color: var(--accent-deep) !important; font-family: var(--mono); font-size: 9.5px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .cta h3 { margin: 0 0 9px; font-family: var(--brand); font-size: clamp(25px, 3vw, 34px); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
  .cta p { max-width: 40ch; margin: 0 0 18px; color: var(--graphite); font-size: 13.5px; }
  .cta-form { display: grid; gap: 9px; }
  .cta-form input { width: 100%; min-height: 50px; padding: 11px 13px; color: var(--ink); background: var(--surface); border: 1px solid #cfd5d5; border-radius: 9px; font-family: var(--mono); font-size: 12px; }
  .cta-form input::placeholder { color: var(--haze); }
  .cta-form input:focus { border-color: var(--accent); outline: 3px solid rgb(43 158 143 / 12%); }
  .cta-btn { width: 100%; min-height: 50px; }
  .cta .fine { margin: 15px 0 0; color: var(--haze); font-size: 10.5px; }
  .report-email { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hairline); }
  .report-email strong { display: block; margin: 0 0 5px; font-family: var(--brand); font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
  .report-email p { margin: 0 0 12px; }
  .cta .report-email-message { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; }
  .cta .report-email-message.ok { color: var(--accent-deep); font-weight: 600; }
  .cta .report-email-message.bad { color: var(--alarm); }
  .bottom-share { width: 100%; margin-top: 14px; color: var(--graphite); background: transparent; }
  footer { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 28px 4px 4px; color: var(--graphite); font-size: 11px; }
  footer .fm { color: var(--haze); font-family: var(--mono); font-size: 10px; }

  @keyframes hero-enter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes cue-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
  }
  @keyframes grade-pulse {
    0%, 100% {
      border-color: rgb(43 158 143 / 34%);
      box-shadow: 0 0 0 0 rgb(43 158 143 / 10%);
      transform: scale(1);
    }
    50% {
      border-color: rgb(43 158 143 / 12%);
      box-shadow: 0 0 0 8px rgb(43 158 143 / 0%);
      transform: scale(1.04);
    }
  }
  .motion-ready .report-section, .motion-ready .closing {
    opacity: 0; transform: translateY(12px);
    transition: opacity .42s cubic-bezier(.16,1,.3,1), transform .42s cubic-bezier(.16,1,.3,1);
  }
  .motion-ready .report-section.is-visible, .motion-ready .closing.is-visible { opacity: 1; transform: translateY(0); }

  @media (min-width: 901px) and (max-height: 920px) {
    .topbar { min-height: 68px; }
    .hero { margin-top: 24px; }
    .hero-grid { min-height: 550px; }
    .hero-copy { padding: 40px clamp(44px, 4.8vw, 56px); }
    .hero-kicker { margin-bottom: 22px; }
    .hero h1 { font-size: 60px; }
    .scan-meta { margin-top: 16px; }
    .coverage-strip { margin-top: 14px; }
    .hero-actions { padding-top: 20px; }
    .grade-panel { margin-top: 40px; margin-bottom: 40px; padding: 0; }
    .grade-label { padding: 14px 18px; }
    .grade-stamp { min-height: 165px; }
    .grade-stamp::before { width: 200px; height: 200px; }
    .grade-stamp .letter { font-size: 76px; }
    .verdict { margin: 0 18px 18px; padding: 12px; }
    .verdict h2 { margin-bottom: 10px; font-size: 16px; }
  }

  @media (min-width: 901px) and (max-height: 660px) {
    .topbar { min-height: 64px; }
    .hero { margin-top: 8px; }
    .hero-grid { min-height: 420px; }
    .hero-copy { padding: 14px clamp(38px, 4.5vw, 56px) 12px; }
    .hero-kicker { margin-bottom: 18px; }
    .hero h1 { font-size: 56px; }
    .scan-meta { margin-top: 12px; }
    .coverage-strip { display: none; }
    .hero-actions { padding-top: 14px; }
    .grade-panel { margin-top: 8px; margin-bottom: 8px; }
  }

  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .grade-panel { margin: 0 24px 24px; display: grid; grid-template-columns: minmax(130px, .55fr) 1fr; gap: 24px; align-items: center; }
    .grade-label { grid-column: 1 / -1; }
    .grade-stamp { min-height: 145px; }
    .grade-stamp::before { width: 172px; height: 172px; }
    .closing-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 680px) {
    .wrap { padding: 0 16px 32px; }
    .topbar { min-height: 64px; margin: 0 -16px; padding: 10px 16px; }
    .wordmark .wm-text { font-size: 12px; }
    .topbar-right { gap: 7px; }
    .topbar .share-btn { display: none; }
    .top-cta { min-height: 40px; padding: 9px 11px; font-size: 11px; }
    .hero { margin-top: 16px; border-radius: 20px; }
    .hero-copy { padding: 28px 22px 30px; }
    .hero-kicker { margin-bottom: 24px; font-size: 9px; }
    .hero h1 { font-size: clamp(38px, 11.2vw, 48px); line-height: 1.02; }
    .hero-domain-long {
      font-size: clamp(27px, 8.8vw, 36px);
      line-height: 1.08;
      overflow-wrap: normal;
      word-break: normal;
    }
    .hero-actions { width: 100%; }
    .hero-btn { flex: 1; padding: 10px 11px; font-size: 11px; }
    .grade-panel { order: -1; grid-template-columns: 1fr; margin: 14px 14px 0; padding: 0; gap: 18px; }
    .grade-label span:last-child { display: none; }
    .grade-label { padding: 16px 20px; }
    .grade-stamp { min-height: 190px; margin: 0 20px; }
    .grade-stamp::before { width: 168px; height: 168px; }
    .grade-stamp .letter { font-size: 66px; }
    .verdict { margin: 0 20px 20px; }
    .verdict h2 { font-size: 18px; }
    .fix-band { align-items: stretch; flex-direction: column; gap: 15px; padding: 20px 22px 22px; }
    .fix-band-copy { display: block; }
    .fix-band strong, .fix-band span { display: block; }
    .fix-band span { margin-top: 4px; }
    .fix-band-cta { width: 100%; }
    .closing-action { width: 100%; }
    .report-section { margin-top: 58px; }
    .discovery { padding: 25px 20px; border-radius: 18px; }
    .discovery-copy { align-items: stretch; flex-direction: column; gap: 18px; }
    .discovery-cta { width: 100%; }
    .grade-row { grid-template-columns: 52px 1fr; gap: 11px; padding: 13px 14px; }
    .grade-row .why { grid-column: 1 / -1; }
    .finding { padding: 22px 18px; }
    .finding-no { right: 14px; top: 17px; font-size: 34px; }
    .f-top { padding-right: 50px; }
    .shot.shot-mobile { width: min(100%, 280px); }
    .shot-mobile .shot-img { max-height: 430px; }
    .fd-caps { flex-direction: column; gap: 2px; }
    .closing { margin: 72px 0 0; padding: 34px 20px; border-radius: 20px; }
    .closing-copy h3 { font-size: 43px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero { animation: none; }
    .grade-stamp::before, .scroll-cue-icon { animation: none; }
    .hero-btn svg { transition: none; }
    .share-btn, .top-cta, .hero-btn, .cta-btn, .discovery-cta, .finding-cta, .finding { transition: none; }
    .motion-ready .report-section, .motion-ready .closing { opacity: 1; transform: none; transition: none; }
  }
