:root {
  --ink: #082b2c;
  --ink-soft: #3d5c5b;
  --night: #082b2c;
  --night-2: #0d3b3b;
  --paper: #f4f7f2;
  --white: #ffffff;
  --line: #d5e0da;
  --mint: #7ce1b8;
  --mint-dark: #087156;
  --mint-soft: #e4f8ef;
  --lime: #c8f06e;
  --amber: #c27712;
  --amber-soft: #fff4d8;
  --red: #b83c39;
  --red-soft: #fff0ec;
  --blue: #2f6fb1;
  --radius-sm: 11px;
  --radius: 19px;
  --radius-lg: 30px;
  --shadow-sm: 0 10px 28px rgba(3, 36, 36, 0.08);
  --shadow: 0 26px 75px rgba(3, 30, 31, 0.2);
  --shell: 1160px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.shell-narrow {
  max-width: 900px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: #111;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #ff9d76;
  outline-offset: 3px;
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  color: var(--white);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 19px;
  font-weight: 780;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand b {
  color: var(--mint);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(124, 225, 184, 0.42);
  border-radius: 12px;
  color: var(--mint);
  background: rgba(124, 225, 184, 0.1);
  font-weight: 900;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-nav > a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
}

.header-nav > a:hover {
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button-small {
  min-height: 38px;
  padding-inline: 13px;
  font-size: 12px !important;
}

.button-primary {
  color: #062e29;
  background: var(--mint);
  box-shadow: 0 8px 22px rgba(1, 107, 83, 0.2);
}

.button-primary:hover {
  background: #93e9c7;
  box-shadow: 0 12px 28px rgba(1, 107, 83, 0.26);
}

.button-secondary {
  border-color: #c8d4ce;
  color: var(--ink);
  background: var(--white);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.07);
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 142px 0 94px;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 22%, rgba(124, 225, 184, 0.15), transparent 32%),
    radial-gradient(circle at 87% 84%, rgba(200, 240, 110, 0.12), transparent 28%),
    linear-gradient(135deg, var(--night), var(--night-2));
}

.hero::after {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  right: -140px;
  top: 20px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.85fr);
  gap: clamp(50px, 7vw, 96px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 23px;
  height: 2px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--mint-dark);
}

.hero h1,
.section-heading h2,
.limits-grid h2,
.closing-card h2,
.results-heading h2 {
  margin: 0;
  font-size: clamp(38px, 5.1vw, 67px);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero h1 em {
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lead {
  max-width: 650px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 28px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  list-style: none;
}

.trust-list li::before {
  margin-right: 7px;
  color: var(--lime);
  content: "✓";
  font-weight: 900;
}

.check-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-label,
.evidence-label {
  margin: 0 0 7px;
  color: var(--mint-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.check-card h2 {
  margin: 0;
  font-size: 29px;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.check-card > p:not(.card-label) {
  margin: 12px 0 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.check-card label {
  display: block;
  margin-bottom: 8px;
  color: #3e5958;
  font-size: 12px;
  font-weight: 800;
}

.url-control {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cbd8d2;
  border-radius: 12px;
  background: #f8faf8;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.url-control:focus-within {
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 4px rgba(8, 113, 86, 0.1);
}

.url-control > span {
  padding-left: 14px;
  color: #607674;
  font-size: 13px;
}

.url-control input {
  min-width: 0;
  min-height: 50px;
  padding: 0 14px 0 3px;
  border: 0;
  color: var(--ink);
  background: transparent;
  outline: 0;
}

.url-control:has(input[aria-invalid="true"]) {
  border-color: var(--red);
}

.field-help,
.form-error {
  min-height: 18px;
  margin: 7px 0 4px;
  font-size: 11px;
}

.field-help {
  color: #667b79;
}

.form-error {
  color: var(--red);
  font-weight: 740;
}

.safety-note {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.safety-note > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--mint-dark);
  background: var(--mint-soft);
  font-size: 12px;
  font-weight: 900;
}

.safety-note p {
  margin: 1px 0 0;
  color: #617674;
  font-size: 11px;
}

.check-card > .retention-note {
  margin: 13px 0 0;
  color: #667b79;
  font-size: 10px;
}

.retention-note a {
  color: var(--mint-dark);
  font-weight: 780;
}

.state-section,
.results-section {
  padding: 92px 0;
}

.progress-card,
.message-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.progress-card h2,
.message-card h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.045em;
}

.progress-card p:not(.eyebrow),
.message-card p:not(.card-label) {
  color: var(--ink-soft);
}

.scanner {
  position: relative;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border: 1px solid #bfd8cd;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 15px, rgba(8, 113, 86, 0.08) 16px 17px);
}

.scanner::before,
.scanner::after {
  position: absolute;
  content: "";
  background: rgba(8, 113, 86, 0.18);
}

.scanner::before { inset: 47px 0 auto; height: 1px; }
.scanner::after { inset: 0 auto 0 47px; width: 1px; }

.scanner span {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 77%, rgba(124, 225, 184, 0.8));
  animation: scan 1.6s linear infinite;
}

@keyframes scan { to { transform: rotate(1turn); } }

.indeterminate {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #e5ece8;
}

.indeterminate span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: var(--mint-dark);
  animation: travel 1.5s ease-in-out infinite;
}

@keyframes travel { 0% { transform: translateX(-110%); } 100% { transform: translateX(365%); } }

.progress-meta {
  margin-bottom: 0;
  font-size: 11px;
}

.message-card-error {
  border-color: #ebc5bd;
  background: var(--red-soft);
}

.message-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 18px;
  color: var(--red);
  background: #ffdcd6;
  font-size: 26px;
  font-weight: 900;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.results-section {
  background: var(--white);
}

.results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.results-heading h2,
.section-heading h2,
.limits-grid h2,
.closing-card h2 {
  max-width: 800px;
  font-size: clamp(34px, 4.3vw, 54px);
}

.results-heading > div > p:last-child,
.section-heading > p:last-child,
.limits-grid > div > p:last-child,
.closing-card > div > p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.result-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 22px;
  margin-top: 42px;
}

.score-card,
.platform-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.score-ring {
  --score-color: var(--mint-dark);
  display: flex;
  position: relative;
  width: 144px;
  height: 144px;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 25px;
  border-radius: 50%;
  background: conic-gradient(var(--score-color) var(--score-angle, 0deg), #d9e4de 0);
}

.score-ring::before {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px #cbd9d2;
  content: "";
}

.score-ring.score-good { --score-color: var(--mint-dark); }
.score-ring.score-watch { --score-color: #d8962e; }
.score-ring.score-risk { --score-color: #c84f48; }

.score-ring strong {
  position: relative;
  z-index: 1;
  font-size: 45px;
  letter-spacing: -0.07em;
}

.score-ring span {
  position: relative;
  z-index: 1;
  color: var(--ink-soft);
  font-size: 13px;
}

.result-findings {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.result-findings ol { display: grid; gap: 12px; margin: 10px 0 0; padding-left: 20px; }
.result-findings li { color: var(--ink-soft); font-size: 12px; }
.result-findings li strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 13px; }
.result-findings li span { display: block; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.score-card h3,
.platform-card h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.score-card > p,
.platform-card > p {
  color: var(--ink-soft);
}

.result-meta {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.result-meta div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.result-meta dt {
  color: var(--ink-soft);
  font-size: 11px;
}

.result-meta dd {
  overflow: hidden;
  margin: 0;
  font-size: 12px;
  font-weight: 780;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fineprint,
.cta-note {
  margin: 18px 0 0;
  font-size: 11px;
}

.platform-card {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.platform-card.is-detected { border-color: #a8d9c6; }
.platform-card.is-not-detected { border-color: #ecd09a; }
.platform-card.is-inconclusive { border-color: #c9d4df; }

.platform-heading {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 15px;
  align-items: center;
}

.platform-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 15px;
  color: var(--mint-dark);
  background: var(--mint-soft);
  font-size: 22px;
  font-weight: 900;
}

.is-not-detected .platform-icon { color: var(--amber); background: var(--amber-soft); }
.is-inconclusive .platform-icon { color: var(--blue); background: #e9f2fb; }

.evidence-label {
  margin-top: 24px;
}

.evidence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-list li {
  padding: 7px 10px;
  border: 1px solid #b8dfd0;
  border-radius: 99px;
  color: #12644f;
  background: var(--mint-soft);
  font-size: 11px;
  font-weight: 740;
}

.interpretation-note {
  display: grid;
  gap: 3px;
  margin: 25px 0;
  padding: 16px;
  border-left: 3px solid var(--amber);
  border-radius: 0 10px 10px 0;
  background: var(--amber-soft);
}

.interpretation-note strong { font-size: 12px; }
.interpretation-note span { color: #72531e; font-size: 11px; }

.method-section,
.limits-section,
.closing-section {
  padding: 105px 0;
}

.section-heading {
  max-width: 850px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 45px;
}

.method-grid article {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.method-grid article > span,
.limit-list article > span {
  color: var(--mint-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.method-grid h3,
.limit-list h3 {
  margin: 58px 0 8px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.method-grid p,
.limit-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.limits-section {
  color: var(--white);
  background: var(--night);
}

.limits-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(45px, 8vw, 105px);
  align-items: start;
}

.limits-grid > div > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.limit-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.limit-list article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.limit-list h3 {
  margin: 0 0 6px;
  color: var(--white);
}

.limit-list p {
  color: rgba(255, 255, 255, 0.62);
}

.closing-section {
  background: var(--white);
}

.closing-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 50px;
  border: 1px solid #c9ddd3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #effbf5, #f9fcef);
}

.site-footer {
  padding: 35px 0;
  color: var(--white);
  background: #061f20;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 35px;
  align-items: center;
}

.footer-inner strong { font-size: 14px; }
.footer-inner p { margin: 2px 0 0; color: rgba(255, 255, 255, 0.58); font-size: 10px; }
.footer-inner > p { text-align: center; }
.footer-inner nav { display: flex; gap: 16px; }
.footer-inner a { color: rgba(255, 255, 255, 0.68); font-size: 10px; text-decoration: none; }

.noscript {
  position: fixed;
  z-index: 200;
  right: 14px;
  bottom: 14px;
  left: 14px;
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--red);
  text-align: center;
}

@media (max-width: 940px) {
  .hero-grid,
  .result-grid,
  .limits-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy { max-width: 760px; }
  .check-card { max-width: 650px; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-inner { min-height: 70px; }
  .header-nav > a:not(.button) { display: none; }
  .hero { padding: 116px 0 76px; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-lead { font-size: 15px; }
  .check-card { padding: 25px 19px; }
  .state-section,
  .results-section,
  .method-section,
  .limits-section,
  .closing-section { padding: 75px 0; }
  .progress-card,
  .message-card { grid-template-columns: 1fr; padding: 26px 20px; }
  .scanner { width: 72px; height: 72px; }
  .scanner::before { inset: 35px 0 auto; }
  .scanner::after { inset: 0 auto 0 35px; }
  .results-heading { align-items: start; flex-direction: column; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: 205px; }
  .method-grid h3 { margin-top: 38px; }
  .closing-card { grid-template-columns: 1fr; padding: 31px 23px; }
  .footer-inner { grid-template-columns: 1fr; gap: 13px; }
  .footer-inner > p { text-align: left; }
  .footer-inner nav { flex-wrap: wrap; }
}

@media (max-width: 460px) {
  .brand { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-nav { gap: 8px; }
  .header-nav .button { max-width: 150px; padding-inline: 9px; }
  .trust-list { display: grid; }
  .url-control { grid-template-columns: 1fr; }
  .url-control > span { display: none; }
  .url-control input { padding-left: 13px; }
  .score-card,
  .platform-card { padding: 23px 19px; }
  .button-row { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .eyebrow > span,
  .indeterminate span {
    background: CanvasText;
  }
}
