:root {
  --ink: #07110d;
  --ink-2: #0d1913;
  --ink-3: #15231b;
  --paper: #f5f6ef;
  --white: #ffffff;
  --muted: #9aaa9f;
  --muted-dark: #526158;
  --line: rgba(229, 239, 231, 0.13);
  --lime: #c8ff4a;
  --lime-dark: #98ca2a;
  --red: #ff746c;
  --amber: #f2c45e;
  --green: #8fdc90;
  --radius: 20px;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--ink); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
  background: rgba(7, 17, 13, 0.9);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: var(--lime); color: var(--ink); font-weight: 900; }
.header-label { color: var(--muted); font-size: 14px; padding-left: 24px; border-left: 1px solid var(--line); }
.beta-pill { margin-left: auto; color: var(--lime); border: 1px solid rgba(200, 255, 74, .24); background: rgba(200, 255, 74, .07); padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }

main { min-height: calc(100vh - 140px); }

.hero {
  min-height: calc(100vh - 76px);
  padding: clamp(70px, 9vw, 132px) clamp(20px, 6vw, 96px) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(300px, .62fr);
  align-content: center;
  gap: clamp(52px, 8vw, 136px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  right: -260px;
  top: -180px;
  background: radial-gradient(circle, rgba(200, 255, 74, .12), transparent 68%);
  pointer-events: none;
}

.hero-grid { position: absolute; inset: 0; opacity: .055; background-image: linear-gradient(var(--paper) 1px, transparent 1px), linear-gradient(90deg, var(--paper) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent 0, #000 60%, #000 100%); }
.hero-copy, .hero-proof { position: relative; z-index: 1; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; color: var(--lime); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 16px currentColor; }
.eyebrow-dot.pulse { animation: pulse 1.5s ease-in-out infinite; }

.hero h1 { margin: 22px 0 24px; max-width: 960px; font-size: clamp(54px, 7vw, 106px); line-height: .91; letter-spacing: -.068em; font-weight: 760; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-lede { max-width: 750px; color: #b5c2b9; line-height: 1.65; font-size: clamp(17px, 1.5vw, 21px); }

.audit-form { margin-top: 44px; max-width: 790px; }
.audit-form > label { display: block; margin: 0 0 10px; font-size: 13px; font-weight: 700; color: #d7e2da; }
.url-control { min-height: 68px; display: flex; align-items: center; border: 1px solid rgba(235, 245, 237, .2); background: rgba(255, 255, 255, .055); border-radius: 14px; padding: 7px; box-shadow: 0 12px 40px rgba(0,0,0,.15); transition: border-color .2s, box-shadow .2s; }
.url-control:focus-within { border-color: rgba(200,255,74,.62); box-shadow: 0 0 0 4px rgba(200,255,74,.08); }
.url-prefix { color: #829187; padding-left: 15px; font-size: 15px; }
.url-control input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--paper); padding: 16px 8px 16px 2px; font-size: 16px; }
.url-control input::placeholder { color: #59675e; }
.url-control button, .failure-page > button { border: 0; background: var(--lime); color: var(--ink); padding: 16px 20px; border-radius: 10px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 24px; transition: transform .18s, background .18s; }
.url-control button:hover, .failure-page > button:hover { transform: translateY(-1px); background: #d5ff70; }
.url-control button:disabled { opacity: .65; cursor: progress; transform: none; }
.form-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 11px; color: #738178; font-size: 11px; }
.form-error { color: #ff958f; min-height: 20px; margin: 10px 0 0; font-size: 13px; }

.hero-proof { display: flex; flex-direction: column; justify-content: center; }
.hero-proof article { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.hero-proof article:first-child { border-top: 1px solid var(--line); }
.proof-number { color: var(--lime); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; padding-top: 6px; }
.hero-proof h2 { font-size: 18px; margin: 0 0 8px; letter-spacing: -.02em; }
.hero-proof p { margin: 0; color: #8fa096; line-height: 1.55; font-size: 13px; }

.process-strip { margin: 0 clamp(20px, 6vw, 96px); min-height: 68px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 25px; color: #718077; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.process-strip i { width: 4px; height: 4px; border-radius: 50%; background: #38483e; }

.site-footer { min-height: 64px; padding: 20px clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #66756c; font-size: 11px; }
.site-footer span:first-child { color: #a9b7ae; font-weight: 800; }

.loading-shell { min-height: 68vh; display: grid; place-content: center; justify-items: center; gap: 18px; color: var(--muted); }
.spinner { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--lime); border-radius: 50%; animation: spin .8s linear infinite; }

.progress-page, .results-page, .detail-page { padding: clamp(54px, 7vw, 92px) clamp(20px, 6vw, 96px) 90px; max-width: 1600px; margin: 0 auto; }
.progress-header { text-align: center; max-width: 850px; margin: 0 auto 54px; }
.progress-header h1 { margin: 20px 0 18px; font-size: clamp(42px, 5vw, 76px); line-height: .98; letter-spacing: -.055em; }
.progress-header h1 span { color: #9cab9f; font-weight: 540; }
.progress-header p { color: var(--muted); }

.progress-panel { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 270px 1fr; gap: 60px; align-items: center; padding: 42px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border-radius: 24px; box-shadow: var(--shadow); }
.progress-orbit { --p: calc(var(--progress) * 1%); width: 230px; height: 230px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--lime) var(--p), rgba(255,255,255,.08) 0); position: relative; }
.progress-orbit::before { content: ""; position: absolute; inset: 11px; border-radius: inherit; background: var(--ink-2); }
.progress-orbit div { position: relative; display: flex; flex-direction: column; align-items: center; }
.progress-orbit strong { font-size: 52px; letter-spacing: -.06em; }
.progress-orbit span { text-transform: uppercase; letter-spacing: .16em; font-size: 10px; color: var(--muted); }
.progress-stages { display: flex; flex-direction: column; }
.stage { display: grid; grid-template-columns: 42px 1fr auto; gap: 16px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line); opacity: .5; }
.stage:last-child { border: 0; }
.stage.active, .stage.done { opacity: 1; }
.stage-marker { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 10px; color: var(--muted); }
.stage.active .stage-marker { background: var(--lime); color: var(--ink); border-color: var(--lime); box-shadow: 0 0 22px rgba(200,255,74,.22); }
.stage.done .stage-marker { color: var(--lime); border-color: rgba(200,255,74,.35); }
.stage h2 { margin: 0 0 4px; font-size: 15px; }
.stage p { margin: 0; color: var(--muted); font-size: 12px; }
.stage-status { text-transform: uppercase; letter-spacing: .1em; font-size: 9px; color: var(--muted); }
.stage.active .stage-status { color: var(--lime); }
.live-stats { max-width: 740px; margin: 36px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.live-stats div { border-right: 1px solid var(--line); }
.live-stats div:last-child { border: 0; }
.live-stats strong { display: block; font-size: 28px; }
.live-stats span { color: var(--muted); font-size: 11px; }
.progress-note { color: #617168; font-size: 11px; text-align: center; margin-top: 26px; }

.results-heading, .detail-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.results-heading h1, .detail-heading h1 { margin: 16px 0 8px; font-size: clamp(42px, 5.3vw, 78px); line-height: .96; letter-spacing: -.06em; }
.results-heading p, .detail-heading p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 720px; }
.results-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.results-actions a, .results-actions button, .store-link { border: 1px solid var(--line); background: transparent; border-radius: 10px; padding: 13px 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 14px; font-size: 12px; }
.results-actions a:hover, .results-actions button:hover, .store-link:hover { border-color: rgba(200,255,74,.45); color: var(--lime); }
.notice { margin-top: 24px; border: 1px solid rgba(242,196,94,.25); background: rgba(242,196,94,.07); color: #dbc584; padding: 13px 16px; border-radius: 10px; font-size: 12px; }

.score-grid { display: grid; grid-template-columns: 1fr 1fr .88fr; gap: 15px; margin: 32px 0 64px; }
.score-card, .impact-card { min-height: 225px; border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: var(--radius); padding: 25px; }
.score-top { display: flex; justify-content: space-between; align-items: center; color: #d7e1da; font-size: 12px; font-weight: 750; }
.score-label { border: 1px solid currentColor; padding: 4px 8px; border-radius: 999px; opacity: .75; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.score-value { display: flex; align-items: baseline; margin-top: 20px; }
.score-value strong { font-size: 58px; letter-spacing: -.06em; }
.score-value span { color: var(--muted); margin-left: 4px; }
.score-track { height: 3px; margin: 15px 0 19px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
.score-track i { display: block; height: 100%; background: currentColor; }
.score-card p, .impact-card p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0; }
.score-card.good { color: var(--green); }
.score-card.warn { color: var(--amber); }
.score-card.bad { color: var(--red); }
.impact-card { background: var(--lime); color: var(--ink); display: flex; flex-direction: column; }
.impact-card > span { text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 800; }
.impact-card strong { font-size: 66px; line-height: 1; letter-spacing: -.06em; margin: 26px 0 14px; }
.impact-card p { color: rgba(7,17,13,.72); }

.result-toolbar, .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.result-toolbar h2, .section-heading h2 { margin: 0 0 5px; font-size: 25px; letter-spacing: -.035em; }
.result-toolbar p, .section-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.search-control { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 0 13px; min-width: 270px; }
.search-control span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.search-control input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--paper); padding: 12px; }
.top-issues { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.issue-pill { text-transform: none; letter-spacing: 0; border: 1px solid var(--line); color: #9dac9f; border-radius: 999px; padding: 7px 10px; }
.issue-pill b { color: var(--paper); margin-left: 4px; }
.product-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.product-card { display: grid; grid-template-columns: 126px minmax(0, 1fr) 158px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.product-thumb { height: 112px; background: #ecede6; border-radius: 11px; overflow: hidden; position: relative; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-thumb > span { position: absolute; bottom: 7px; left: 7px; background: rgba(7,17,13,.84); color: #e8eee9; border-radius: 6px; padding: 4px 7px; font-size: 9px; }
.thumb-empty { height: 100%; display: grid; place-items: center; color: #69736b; font-size: 11px; }
.product-category { color: var(--lime); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 800; }
.product-main h3 { margin: 6px 0 7px; font-size: 18px; letter-spacing: -.02em; }
.product-main > p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 12px; max-width: 800px; }
.product-signals { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-top: 12px; color: #718078; font-size: 9px; }
.signal { border: 1px solid currentColor; border-radius: 999px; padding: 4px 7px; }
.signal.good { color: var(--green); }
.signal.warn { color: var(--amber); }
.signal.bad { color: var(--red); }
.product-cta { border: 1px solid var(--line); background: transparent; border-radius: 10px; padding: 13px 14px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.product-cta:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.selected-product { margin: 12px -16px 0; padding: 22px 16px; border: 1px solid rgba(200,255,74,.24); border-radius: 16px; background: rgba(200,255,74,.045); }
.empty-results, .no-images, .positive-state { padding: 40px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 12px; }

.back-link { border: 0; background: transparent; padding: 0; color: var(--muted); font-size: 11px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 34px; }
.back-link:hover { color: var(--lime); }
.detail-heading { align-items: flex-start; }
.detail-heading h1 { max-width: 900px; }
.store-link { flex: none; }
.detail-score-row { display: grid; grid-template-columns: 220px 220px 1fr; gap: 14px; margin: 26px 0 76px; }
.detail-score-row > div { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); padding: 18px; position: relative; overflow: hidden; }
.detail-score-row span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.detail-score-row strong { display: block; font-size: 39px; margin-top: 9px; letter-spacing: -.05em; }
.detail-score-row progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; border: 0; appearance: none; -webkit-appearance: none; background: transparent; }
.detail-score-row progress::-webkit-progress-bar { background: transparent; }
.detail-score-row progress.good::-webkit-progress-value { background: var(--green); }
.detail-score-row progress.warn::-webkit-progress-value { background: var(--amber); }
.detail-score-row progress.bad::-webkit-progress-value { background: var(--red); }
.detail-score-row progress.good::-moz-progress-bar { background: var(--green); }
.detail-score-row progress.warn::-moz-progress-bar { background: var(--amber); }
.detail-score-row progress.bad::-moz-progress-bar { background: var(--red); }
.detail-score-row .next-step { padding: 20px 22px; background: rgba(200,255,74,.06); border-color: rgba(200,255,74,.18); }
.next-step p { margin: 10px 0 0; color: #c8d3cb; line-height: 1.5; font-size: 13px; }
.opportunity-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: -50px 0 72px; border: 1px solid rgba(200,255,74,.2); border-radius: 14px; overflow: hidden; background: rgba(200,255,74,.14); }
.opportunity-strip > div { padding: 18px 20px; background: var(--ink-2); }
.opportunity-strip span { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.opportunity-strip strong { display: block; margin-top: 8px; font-size: 20px; letter-spacing: -.03em; }
.detail-section { margin-top: 72px; }
.section-heading > div > span { display: block; color: var(--lime); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 800; margin-bottom: 9px; }
.image-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.image-gallery figure { margin: 0; min-width: 0; }
.image-gallery figure > div { aspect-ratio: 1; display: grid; place-items: center; background: #edece5; border-radius: 13px; overflow: hidden; }
.image-gallery img { width: 100%; height: 100%; object-fit: contain; }
.image-gallery figcaption { display: flex; justify-content: space-between; color: #718078; font-size: 8px; padding: 8px 2px 0; }
.pipeline-review-section { border-top: 1px solid var(--line); padding-top: 60px; }
.evidence-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0; }
.evidence-stats > div { border: 1px solid var(--line); border-radius: 13px; padding: 18px; background: rgba(255,255,255,.025); }
.evidence-stats strong { display: block; color: var(--lime); font-size: 29px; }
.evidence-stats span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.evidence-step { margin-top: 18px; border: 1px solid var(--line); border-radius: 17px; padding: clamp(18px, 3vw, 28px); background: rgba(255,255,255,.018); }
.evidence-step > header { display: grid; grid-template-columns: 42px 1fr auto; gap: 15px; align-items: start; }
.step-number { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(200,255,74,.3); border-radius: 50%; color: var(--lime); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.evidence-step h3 { margin: 1px 0 5px; font-size: 18px; }
.evidence-step header p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.quality-badge { border: 1px solid currentColor; border-radius: 999px; padding: 5px 8px; text-transform: uppercase; font-size: 8px; letter-spacing: .1em; }
.quality-badge.pass { color: var(--green); }
.quality-badge.degraded { color: var(--amber); }
.quality-badge.fail { color: var(--red); }
.quality-badge.unknown { color: var(--muted); }
.query-grid, .selection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.query-card, .selection-grid > div { border: 1px solid var(--line); border-radius: 12px; padding: 16px; min-width: 0; }
.query-card > span, .selection-grid > div > span { color: var(--lime); font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.query-card h4, .selection-grid h4 { margin: 9px 0 7px; font-size: 13px; line-height: 1.4; }
.query-card p, .selection-grid p { color: var(--muted); font-size: 10px; line-height: 1.5; }
.query-card small, .selection-grid small { color: #66756c; font-size: 8px; overflow-wrap: anywhere; }
.selection-grid > div { position: relative; }
.selection-grid > div > strong { position: absolute; top: 15px; right: 15px; font-size: 10px; color: var(--paper); }
.provider-table { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.provider-table > div { display: grid; grid-template-columns: 110px 85px 1fr; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding: 12px 3px; font-size: 10px; }
.provider-table > div > span { color: var(--lime); text-transform: uppercase; }
.provider-table p { margin: 0; color: #b5c1b8; overflow-wrap: anywhere; }
.provider-table small { grid-column: 3; color: var(--muted); }
.contact-sheet-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-sheet-grid figure { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.025); }
.contact-sheet-grid a { display: block; background: #edece5; }
.contact-sheet-grid img { width: 100%; height: auto; }
.contact-sheet-grid figcaption { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 12px; color: var(--muted); font-size: 8px; }
.contact-sheet-grid figcaption span { overflow-wrap: anywhere; }
.search-result-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.search-result-grid figure { margin: 0; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.search-result-grid figure.archive-failed { border-color: rgba(239,125,104,.38); }
.search-result-grid a { display: grid; place-items: center; aspect-ratio: 1; background: #edece5; overflow: hidden; }
.search-result-grid img { width: 100%; height: 100%; object-fit: contain; }
.search-result-grid figcaption { display: grid; grid-template-columns: auto 1fr; gap: 5px 8px; padding: 9px 9px 4px; color: var(--muted); font-size: 8px; }
.search-result-grid figcaption strong { color: var(--lime); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.search-result-grid figcaption span { overflow-wrap: anywhere; }
.search-result-grid figcaption small { grid-column: 1 / -1; color: #66756c; }
.search-result-grid figure > p { margin: 0; padding: 4px 9px 10px; color: #66756c; font-size: 8px; line-height: 1.4; overflow-wrap: anywhere; }
.evidence-details { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 15px; }
.evidence-details summary { cursor: pointer; color: #c2cec5; font-size: 10px; font-weight: 700; }
.evidence-json { max-height: 460px; overflow: auto; margin: 12px 0 0; padding: 14px; border-radius: 10px; background: #050b08; border: 1px solid rgba(255,255,255,.07); color: #adc2b2; font: 9px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.attempt-block, .quality-round { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; }
.attempt-block > div, .quality-round { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.attempt-block span { color: var(--muted); font-size: 9px; }
.attempt-block .evidence-json, .quality-round .evidence-json { flex-basis: 100%; }
.two-column-section { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 22px; }
.section-heading.compact { margin-bottom: 14px; }
.audit-list { border-top: 1px solid var(--line); }
.audit-item { display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.audit-icon { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; }
.audit-icon.high { color: var(--red); }
.audit-icon.medium { color: var(--amber); }
.audit-icon.low { color: var(--green); }
.item-title { display: flex; justify-content: space-between; gap: 12px; }
.item-title h3 { margin: 1px 0 5px; font-size: 14px; }
.item-title span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.audit-item p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 11px; }
.audit-item small { display: block; margin-top: 7px; color: #66756c; font-size: 9px; }
.strength-panel { border: 1px solid rgba(200,255,74,.16); background: rgba(200,255,74,.055); border-radius: 18px; padding: 25px; align-self: start; }
.strength-panel > span { color: var(--lime); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 800; }
.strength-panel h2 { margin: 9px 0 20px; font-size: 22px; letter-spacing: -.03em; }
.strength-panel ul { list-style: none; padding: 0; margin: 0; }
.strength-panel li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; color: #b7c4bb; font-size: 11px; line-height: 1.5; margin: 12px 0; }
.strength-panel li > span:first-child { color: var(--lime); }
.category-context { margin-top: 24px; border-top: 1px solid rgba(200,255,74,.14); padding-top: 18px; }
.category-context span { text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-size: 8px; }
.category-context p { color: #9eaca2; font-size: 10px; line-height: 1.5; }
.recommended-section { border-top: 1px solid var(--line); padding-top: 60px; }
.missing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.missing-card { min-height: 270px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.025); }
.missing-visual { height: 100px; display: flex; justify-content: space-between; align-items: flex-start; padding: 17px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 10px); border-bottom: 1px solid var(--line); }
.missing-visual > span { color: #65746a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.missing-visual b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 22px; font-weight: 400; }
.missing-card > div:last-child { padding: 20px; }
.priority { text-transform: uppercase; letter-spacing: .11em; font-size: 8px; }
.priority.high { color: var(--red); }
.priority.medium { color: var(--amber); }
.priority.low { color: var(--green); }
.missing-card h3 { margin: 9px 0 8px; font-size: 16px; letter-spacing: -.02em; text-transform: capitalize; }
.missing-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.cold-email-section { border-top: 1px solid var(--line); padding-top: 60px; }
.email-benchmark { margin-bottom: 22px; border: 1px solid rgba(200,255,74,.2); border-radius: 15px; padding: 20px; background: rgba(200,255,74,.035); }
.email-benchmark > div { display: flex; justify-content: space-between; gap: 18px; }
.email-benchmark span, .email-variant header span { color: var(--lime); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.email-benchmark strong { color: #dce6de; font-size: 11px; }
.email-benchmark p { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.email-benchmark ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.email-benchmark li { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; color: #b9c5bc; font-size: 9px; }
.email-variants { display: grid; gap: 32px; }
.email-variant { border-top: 1px solid var(--line); padding-top: 22px; }
.email-variant:first-child { border-top: 0; padding-top: 0; }
.email-variant.recommended .email-card { border-color: rgba(200,255,74,.28); }
.email-variant > header { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 12px; }
.email-variant > header > div { display: flex; align-items: center; gap: 10px; }
.email-variant header b { border-radius: 999px; background: var(--lime); color: var(--ink); padding: 5px 8px; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.copy-email { border: 1px solid rgba(200,255,74,.3); background: rgba(200,255,74,.08); color: var(--lime); border-radius: 9px; padding: 11px 15px; cursor: pointer; font-size: 11px; }
.copy-email:hover { background: var(--lime); color: var(--ink); }
.email-card { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.03); padding: clamp(22px, 4vw, 42px); }
.email-subject { display: grid; grid-template-columns: 80px 1fr; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.email-subject span, .email-strategy span { color: var(--lime); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.email-subject strong { font-size: 16px; }
.email-card pre { margin: 26px 0 0; color: #d4ded6; font: 13px/1.75 Inter, ui-sans-serif, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.email-strategy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 13px; }
.email-strategy article { border: 1px solid var(--line); border-radius: 13px; padding: 18px; }
.email-strategy p { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.failure-page { min-height: 75vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 50px 20px; }
.failure-mark { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(255,116,108,.35); color: var(--red); border-radius: 50%; margin-bottom: 25px; font-size: 24px; }
.failure-page h1 { max-width: 700px; margin: 18px 0 14px; font-size: clamp(38px, 5vw, 66px); line-height: 1; letter-spacing: -.05em; }
.failure-page > p { max-width: 620px; color: var(--muted); line-height: 1.55; }
.failure-help { text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin: 25px 0; color: #9cab9f; font-size: 12px; }
.failure-help ul { margin: 9px 0 0; padding-left: 18px; line-height: 1.7; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .hero-proof article, .hero-proof article:first-child { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
  .proof-number { display: block; margin-bottom: 18px; }
  .score-grid { grid-template-columns: 1fr 1fr; }
  .impact-card { grid-column: span 2; min-height: 180px; }
  .image-gallery { grid-template-columns: repeat(4, 1fr); }
  .missing-grid { grid-template-columns: repeat(2, 1fr); }
  .email-strategy { grid-template-columns: 1fr; }
  .query-grid, .selection-grid { grid-template-columns: repeat(2, 1fr); }
  .search-result-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { height: 66px; gap: 14px; }
  .header-label { display: none; }
  .beta-pill { font-size: 9px; }
  .hero { padding-top: 70px; min-height: auto; }
  .hero h1 { font-size: clamp(50px, 15vw, 76px); }
  .url-control { display: grid; grid-template-columns: auto 1fr; }
  .url-control button { grid-column: span 2; justify-content: space-between; width: 100%; }
  .form-meta { display: block; line-height: 1.7; }
  .form-meta span { display: block; }
  .hero-proof { grid-template-columns: 1fr; }
  .process-strip { display: none; }
  .site-footer { display: block; line-height: 1.8; }
  .site-footer span { display: block; }
  .progress-panel { grid-template-columns: 1fr; justify-items: center; padding: 26px 20px; gap: 28px; }
  .progress-stages { width: 100%; }
  .live-stats strong { font-size: 22px; }
  .results-heading, .detail-heading { display: block; }
  .results-actions { margin-top: 22px; justify-content: flex-start; }
  .score-grid { grid-template-columns: 1fr; }
  .impact-card { grid-column: auto; }
  .result-toolbar, .section-heading { display: block; }
  .search-control { margin-top: 16px; min-width: 0; }
  .product-card { grid-template-columns: 86px 1fr; gap: 14px; }
  .product-thumb { height: 92px; }
  .product-cta { grid-column: span 2; }
  .detail-score-row { grid-template-columns: 1fr 1fr; }
  .detail-score-row .next-step { grid-column: span 2; }
  .opportunity-strip { grid-template-columns: 1fr 1fr; margin-top: -48px; }
  .image-gallery { grid-template-columns: repeat(2, 1fr); }
  .two-column-section { grid-template-columns: 1fr; }
  .missing-grid { grid-template-columns: 1fr; }
  .evidence-stats, .query-grid, .selection-grid, .provider-table, .contact-sheet-grid { grid-template-columns: 1fr 1fr; }
  .search-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provider-table > div { grid-template-columns: 90px 1fr; }
  .provider-table p, .provider-table small { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
