@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #e7dcc8;
  --sheet: #fffaf3;
  --ink: #231e18;
  --muted: #4e463c;
  --line: #eadfce;
  --rule: #cbbba4;
  --green: #0e5c34;
  --green-bg: #e5f6ec;
  --yellow: #7a4b00;
  --yellow-bg: #fff4dc;
  --red: #8f1d2c;
  --red-bg: #fdecef;
  --gold: #a97800;
  --link: #184a86;
  --shadow: 0 24px 60px rgba(70, 48, 12, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #14110e;
    --sheet: #241f1a;
    --ink: #f6f1e8;
    --muted: #d2c4b2;
    --line: #3c342c;
    --rule: #5a4e42;
    --green: #9ee0b6;
    --green-bg: #173226;
    --yellow: #f3cc7a;
    --yellow-bg: #332912;
    --red: #ffb7c1;
    --red-bg: #3c1d24;
    --gold: #f0c14b;
    --link: #9dc2f5;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(255, 250, 243, 0.7), transparent 46%),
    radial-gradient(ellipse at 100% 100%, rgba(169, 120, 0, 0.16), transparent 42%);
}

@media (prefers-color-scheme: dark) {
  body {
    background-image:
      radial-gradient(ellipse at 0% 0%, rgba(240, 193, 75, 0.08), transparent 42%),
      radial-gradient(ellipse at 100% 100%, rgba(255, 250, 243, 0.04), transparent 40%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

img,
svg {
  max-width: 100%;
}

p,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

a {
  color: var(--link);
  text-underline-offset: 0.16em;
}

a:visited {
  color: var(--link);
}

a.wordmark,
a.wordmark:visited {
  color: inherit;
  text-decoration: none;
}

a.button-secondary,
a.button-secondary:visited {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 5;
  background: var(--sheet);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.sheet {
  width: min(1080px, calc(100% - 24px));
  margin: 28px auto 40px;
  padding: clamp(20px, 4vw, 48px);
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.mast {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px 28px;
  flex-wrap: wrap;
  position: relative;
  padding-bottom: 22px;
  margin-bottom: 22px;
}

.mast::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 72%);
}

.kicker,
.stat-label,
.slot-label,
.ad-kicker {
  margin: 0 0 6px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.stat-label {
  white-space: nowrap;
}

.nowrap {
  white-space: nowrap;
}

.brand-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.mark {
  width: 42px;
  height: 42px;
  flex: none;
}

.mast-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green-bg);
  color: var(--green);
  font-weight: 700;
  line-height: 1.2;
}

.privacy-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
}

.lede {
  max-width: 42rem;
  margin: 0;
  font-size: 1.15rem;
}

.fine {
  max-width: 42rem;
  margin: 12px 0 0;
  color: var(--muted);
}

.report {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.seal {
  position: relative;
  width: min(240px, 70vw);
  margin: 0 auto;
  aspect-ratio: 1;
  color: var(--rule);
}

.seal[data-band="green"] {
  color: var(--green);
}

.seal[data-band="yellow"] {
  color: var(--yellow);
}

.seal[data-band="red"] {
  color: var(--red);
}

.seal svg {
  width: 100%;
  height: 100%;
}

.seal-track {
  fill: none;
  stroke: var(--line);
  stroke-width: 8;
}

#seal-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 60px 60px;
  transition: stroke-dashoffset 180ms linear;
}

.seal-readout {
  position: absolute;
  inset: 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
}

.seal-kicker,
.seal-unit {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.seal-value {
  margin: 2px 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.seal[data-tier="gold"] .seal-unit::before {
  content: "★ ";
  color: var(--gold);
}

.report-main {
  min-width: 0;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}

.stat {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid transparent;
  min-width: 0;
}

@supports (background: color-mix(in srgb, black 50%, white)) {
  .stat {
    background: color-mix(in srgb, var(--bg) 65%, var(--sheet));
  }
}

.stat[data-active="true"] {
  border-color: var(--ink);
}

.stat-value {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-unit {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--muted);
}

.stat-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.verdict {
  margin-top: 14px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  border-left: 8px solid var(--rule);
  background: var(--line);
}

.verdict[data-band="green"] {
  background: var(--green-bg);
  border-left-color: var(--green);
}

.verdict[data-band="yellow"] {
  background: var(--yellow-bg);
  border-left-color: var(--yellow);
}

.verdict[data-band="red"] {
  background: var(--red-bg);
  border-left-color: var(--red);
}

.verdict-kicker {
  margin: 0 0 4px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.verdict[data-band="green"] .verdict-kicker,
.verdict[data-band="green"] .verdict-title {
  color: var(--green);
}

.verdict[data-band="yellow"] .verdict-kicker,
.verdict[data-band="yellow"] .verdict-title {
  color: var(--yellow);
}

.verdict[data-band="red"] .verdict-kicker,
.verdict[data-band="red"] .verdict-title {
  color: var(--red);
}

.verdict-title {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.15rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

#verdict-name {
  min-width: 0;
}

.verdict[data-state="done"] .verdict-title {
  transform: rotate(-1.1deg);
  transform-origin: left center;
}

.verdict[data-state="running"] .verdict-title {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  letter-spacing: 0;
}

.verdict-emoji:empty {
  display: none;
}

.verdict-emoji {
  font-style: normal;
}

.verdict-blurb,
.verdict-note,
.transfer-note {
  margin: 10px 0 0;
  max-width: 40rem;
  color: var(--ink);
}

.verdict-note,
.transfer-note {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

button,
.button {
  font: inherit;
  cursor: pointer;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: var(--sheet);
}

.button-primary:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}

.button-primary:disabled,
.button-secondary[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.progress {
  height: 6px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

body[data-state="done"][data-band="green"] .progress-fill {
  background: var(--green);
}

body[data-state="done"][data-band="yellow"] .progress-fill {
  background: var(--yellow);
}

body[data-state="done"][data-band="red"] .progress-fill {
  background: var(--red);
}

.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  border-radius: inherit;
}

.status {
  min-height: 1.5em;
  margin: 10px 0 0;
  font-weight: 500;
}

.panel {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.panel h2,
.prose h2,
.fix h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.panel h2,
.prose h2 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.share-text {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--sheet);
  color: var(--ink);
  font: inherit;
  resize: vertical;
  min-height: 4.75rem;
}

.columns {
  display: grid;
  gap: 8px 40px;
}

.explain h3 {
  margin: 18px 0 4px;
  font-size: 1.05rem;
}

.fix {
  padding: 0;
  border-top: 1px solid var(--line);
}

.fix summary {
  padding: 16px 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  cursor: pointer;
}

.fix summary:focus-visible {
  outline-offset: 4px;
}

.fix p {
  margin: 0 0 16px;
}

p.affiliate-slot {
  display: block;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1.5px dashed var(--rule);
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.slot-label,
.ad-kicker {
  display: inline-block;
  margin: 0 8px 0 0;
  color: var(--ink);
}

.history-list {
  margin: 12px 0 0;
  padding-left: 1.2rem;
}

.history-list li + li {
  margin-top: 6px;
}

.ad-slot {
  margin-top: 28px;
  padding: 16px;
  border: 1.5px dashed var(--rule);
  border-radius: 16px;
  text-align: center;
  color: var(--muted);
}

.ad-slot p {
  margin: 0;
}

.footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0 0 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: baseline;
}

.prose h2 {
  margin-top: 1.6rem;
}

.prose p,
.prose li {
  max-width: 42rem;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 12px 0 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

tr[data-band="green"] td:first-child {
  color: var(--green);
}

tr[data-band="yellow"] td:first-child {
  color: var(--yellow);
}

tr[data-band="red"] td:first-child {
  color: var(--red);
}

code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.source {
  overflow: auto;
  max-height: 28rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  white-space: pre;
  tab-size: 2;
}

.source code {
  font: inherit;
  font-size: inherit;
}

@media (max-width: 639px) {
  .stat {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 16px;
  }

  .stat-label,
  .stat-value {
    margin: 0;
  }

  .stat-value {
    text-align: right;
  }
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .mast-actions {
    align-items: flex-end;
  }

  .columns {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .report {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: center;
    gap: 36px;
  }

  .seal {
    width: 260px;
  }
}

.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;
}

body.home {
  min-height: 100vh;
  background: var(--sheet);
  background-image: none;
}

body.home .stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1.25rem 1.25rem 0;
}

body.home .home-mark {
  margin: 1.25rem 0 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
}

body.home .home-mark .wordmark {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

body.home .stage-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 960px);
  text-align: center;
  padding: 2rem 0 3rem;
}

body.home .speed {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  color: var(--ink);
  line-height: 0.85;
}

body.home .speed-value {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(4.6rem, 16vw, 10.5rem);
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

body.home .speed-unit {
  font-family: var(--sans);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

body.home .verdict-line {
  margin: 1.5rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

body.home .verdict-line[data-band="green"] {
  color: var(--green);
}

body.home .verdict-line[data-band="yellow"] {
  color: var(--yellow);
}

body.home .verdict-line[data-band="red"] {
  color: var(--red);
}

body.home .more-info {
  margin-top: 1.75rem;
  padding: 0.4rem 0.2rem;
  border: 0;
  background: transparent;
  color: var(--link);
  font: inherit;
  font-size: 0.98rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  min-height: 44px;
}

body.home .home-foot {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  margin: 0;
  padding: 0 1rem 1.25rem;
  border: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

body.home .home-foot a {
  color: var(--muted);
}

body.home .details {
  width: min(640px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

body.home .details h2 {
  margin: 2.25rem 0 0.6rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

body.home .details h3 {
  margin: 1.1rem 0 0.2rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
}

body.home .details-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
}

body.home .detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: 1.25rem;
}

body.home .detail-stats p {
  margin: 0;
}

body.home .detail-stats strong {
  font-family: var(--sans);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

body.home .again-note {
  color: var(--muted);
}

body.home .fix-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

body.home .fix-list li + li {
  margin-top: 0.85rem;
}

body.home .noscript {
  width: min(640px, calc(100% - 2rem));
  margin: 1rem auto 2rem;
}

@media (forced-colors: active) {
  .privacy-badge,
  .verdict,
  .stat,
  .affiliate-slot,
  .ad-slot,
  .button-primary {
    border: 1px solid CanvasText;
  }
}
