/* Tail Check homepage. Tokens mirror brand/tokens.css; see brand/style-guide.md. */

:root {
  --bg: #fdfcfc;
  --surface: #f5f3f1;
  --surface-2: #ebe8e4;
  --white: #ffffff;
  --text: #000000;
  --text-strong-muted: #44403b;
  --text-muted: #777169;
  --text-faint: #a59f97;
  --line: #e5e5e5;
  --data-red: #f41a2f;
  --data-blue: #0a59d2;

  --font-display: "Geist", "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, sans-serif;

  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-tile: 10px;

  --shadow-ring: 0 0 0 0.5px rgba(0, 0, 0, 0.125), 0 1px 1px rgba(0, 0, 0, 0.04),
    0 2px 2px rgba(0, 0, 0, 0.04);
  --shadow-inset-ring: inset 0 0 0 0.5px rgba(0, 0, 0, 0.1);

  --content: 1180px;
  --gutter: 20px;
  --section-gap: 150px;

  --g-ember: radial-gradient(at 28% 22%, #ffc27a 0, transparent 52%),
    radial-gradient(at 78% 28%, #ff8a3d 0, transparent 50%),
    radial-gradient(at 62% 82%, #d92c1a 0, transparent 55%),
    radial-gradient(at 18% 80%, #ffd9b0 0, transparent 48%), #f0622c;
  --g-lilac: radial-gradient(at 25% 25%, #c7b3ff 0, transparent 52%),
    radial-gradient(at 78% 30%, #ff9fd6 0, transparent 50%),
    radial-gradient(at 65% 80%, #8fb6ff 0, transparent 55%),
    radial-gradient(at 20% 78%, #f5cfff 0, transparent 48%), #b59cf2;
  --g-sea: radial-gradient(at 28% 25%, #b5dc8a 0, transparent 52%),
    radial-gradient(at 80% 35%, #c9f1ff 0, transparent 46%),
    radial-gradient(at 68% 84%, #2a8fe8 0, transparent 55%),
    radial-gradient(at 20% 75%, #4f9d4f 0, transparent 50%), #74c08f;
  --g-midnight: radial-gradient(at 25% 20%, #54748a 0, transparent 52%),
    radial-gradient(at 80% 30%, #26395c 0, transparent 50%),
    radial-gradient(at 62% 85%, #0b111c 0, transparent 55%),
    radial-gradient(at 15% 80%, #3a5560 0, transparent 50%), #18243a;
  --g-mist: radial-gradient(at 28% 25%, #e3eee0 0, transparent 52%),
    radial-gradient(at 78% 30%, #f8f0df 0, transparent 50%),
    radial-gradient(at 60% 82%, #d9e2e6 0, transparent 55%), #ecebe4;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/22px var(--font-text);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 300;
  text-wrap: balance;
}

h1 {
  font-size: 44px;
  line-height: 48px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* Page frame: the content column with hairline rules down both edges */

.wrap {
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.frame {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.rule {
  border-top: 1px solid var(--line);
}

.pad {
  padding-left: 32px;
  padding-right: 32px;
}

.muted {
  color: var(--text-muted);
}

.eyebrow {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-strong-muted);
  margin-bottom: 8px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: var(--white);
  font: 400 16px var(--font-text);
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.82;
}

.btn--secondary {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-ring);
}

.btn--secondary:hover {
  opacity: 1;
  background: var(--surface);
}

.btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 252, 252, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.header.is-stuck {
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 64px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 18px var(--font-display);
  letter-spacing: -0.02em;
}

.wordmark__mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--g-ember);
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
  margin-right: auto;
}

.nav a:hover {
  color: var(--text-muted);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  padding-top: 96px;
  padding-bottom: 36px;
}

.hero h1 {
  margin-bottom: 24px;
}

/* "So did we." sits on a small ember block, the one highlight on the page */
.hl {
  position: relative;
  display: inline-block;
  padding: 0 0.18em 0.04em;
  margin-top: 6px;
  border-radius: 10px;
  background: var(--g-ember);
  color: var(--text);
  overflow: hidden;
}

.hero__lead {
  max-width: 520px;
  padding-bottom: 60px;
}

/* Showcase with tabs */

.showcase {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 6px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text-strong-muted);
  font: 400 15px var(--font-text);
  cursor: pointer;
}

.tab[aria-selected="true"] {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-ring);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
}

.g-ember {
  background: var(--g-ember);
}
.g-lilac {
  background: var(--g-lilac);
}
.g-sea {
  background: var(--g-sea);
}
.g-midnight {
  background: var(--g-midnight);
}
.g-mist {
  background: var(--g-mist);
}

.panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  min-height: 440px;
  margin-top: 6px;
  border-radius: 12px;
  box-shadow: var(--shadow-inset-ring);
  overflow: hidden;
}

.panel[hidden] {
  display: none;
}

.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

.stage::before,
.stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.stage::before {
  left: 0;
  background: linear-gradient(to right, var(--surface), rgba(245, 243, 241, 0));
}

.stage::after {
  right: 0;
  background: linear-gradient(to left, var(--surface), rgba(245, 243, 241, 0));
}

.orb {
  position: relative;
  flex: none;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset -14px -18px 40px rgba(0, 0, 0, 0.14), inset 10px 12px 30px rgba(255, 255, 255, 0.28);
}

.orb::after,
.grainy::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--grain);
  mix-blend-mode: overlay;
  opacity: 0.7;
  pointer-events: none;
}

.orb--lg {
  width: 240px;
}

.orb--side {
  opacity: 0.75;
}

.panel__side {
  padding: 32px 32px 32px 0;
}

.panel__copy {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel__copy p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 21px;
}

/* Product mock-ups: built from the same parts as the site */

.mock {
  color: var(--text);
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-ring);
  padding: 20px;
  font-size: 14px;
  line-height: 21px;
}

.mock__meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 13px;
  margin-bottom: 10px;
}

.mock__q {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 14px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-tile);
  box-shadow: var(--shadow-inset-ring);
  color: var(--text-strong-muted);
}

.opt + .opt {
  margin-top: 6px;
}

.opt::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--text-faint);
  flex: none;
}

.opt.is-picked {
  color: var(--text);
  background: var(--surface);
}

.opt.is-picked::before {
  box-shadow: inset 0 0 0 4px var(--text);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.row:first-of-type {
  border-top: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-strong-muted);
  font-size: 12px;
  white-space: nowrap;
}

.chip--dark {
  background: var(--text);
  color: var(--white);
}

.score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.score__num {
  font: 300 44px/48px var(--font-display);
  letter-spacing: -0.02em;
}

.tick {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: none;
  box-shadow: inset 0 0 0 1px var(--text-faint);
}

.tick.is-done {
  background: var(--text)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  box-shadow: none;
}

.task {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

/* Stats strip */

.strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 72px;
  padding-bottom: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 32px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat .stat__num {
  color: var(--text);
  max-width: none;
  font: 300 44px/48px var(--font-display);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 21px;
  max-width: 280px;
}

/* Sections */

.section {
  padding-top: var(--section-gap);
  padding-bottom: 12px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  padding-bottom: 36px;
}

.section-head h2 {
  max-width: 440px;
}

.section-head .btn {
  margin-top: 24px;
}

.section-head__lead {
  max-width: 500px;
}

.grid {
  display: grid;
  gap: 12px;
  padding: 0 12px 12px;
}

.grid--2 {
  grid-template-columns: 1fr 1fr;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 20px;
  min-height: 210px;
  overflow: hidden;
}

.card__text {
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.card__text p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 21px;
  margin-top: 4px;
}

.card--feature {
  min-height: 480px;
}

/* Industry cards: a 2x3 grid that sits beside the featured card */
.grid.industries {
  padding: 0;
}

.industries .card {
  min-height: 0;
}

.industries .card__text h3 {
  margin-bottom: 2px;
}

.card--art {
  color: var(--white);
}

.card--art .card__text p {
  color: rgba(255, 255, 255, 0.82);
}

.card--art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.18) 35%, rgba(0, 0, 0, 0) 60%);
  z-index: 0;
  pointer-events: none;
}

.card__mock {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.card__mock--inset {
  margin: 12px -60px 24px 28px;
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-tile);
  box-shadow: var(--shadow-inset-ring);
  margin-bottom: 48px;
}

.icon-tile svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card.g-ember {
  background: var(--g-ember);
}

.card.g-midnight {
  background: var(--g-midnight);
}

.card.g-lilac {
  background: var(--g-lilac);
}

/* Chat mock for the hotline */

.chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 400px;
  margin: 12px auto 28px;
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.bubble {
  align-self: flex-start;
  max-width: 86%;
  background: var(--white);
  border-radius: 18px;
  padding: 10px 14px;
}

.bubble--out {
  align-self: flex-end;
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.bubble--tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
}

.bubble--tag i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--data-red);
}

/* Steps list */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.step {
  padding: 32px;
}

.step + .step {
  border-left: 1px solid var(--line);
}

.step__n {
  color: var(--text-faint);
  font-size: 13px;
  margin-bottom: 40px;
}

.step p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 21px;
  margin-top: 4px;
  max-width: 300px;
}

/* Plans */

.plan {
  min-height: 300px;
}

.plan__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.plan__price {
  font: 300 32px/36px var(--font-display);
  letter-spacing: -0.01em;
}

.plan__unit {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.plan ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  color: var(--text-strong-muted);
  font-size: 14px;
  line-height: 21px;
}

.plan li {
  padding: 7px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.plan .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Story: how a scam plays out, four cards */

.story .card {
  min-height: 380px;
  gap: 16px;
}

.story__n {
  color: var(--text-faint);
  font-size: 13px;
}

.card--art .story__n {
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

.story .mock {
  position: relative;
  z-index: 1;
}

.story .verdict {
  border: 0;
  padding: 4px 0 0;
  margin: 0;
}

.story__chat {
  margin: 0;
  width: 100%;
}

@media (max-width: 960px) {
  .story .card {
    min-height: 0;
  }
  .story .card__text {
    margin-top: 8px;
  }
}

/* Shield tiers and add-ons: a plain table of rows */

.tiers__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 40px;
  padding-bottom: 16px;
}

.tiers__head h3 {
  font: 300 24px/30px var(--font-display);
  letter-spacing: -0.01em;
}

.tier-table {
  padding: 0 12px 12px;
}

.tier {
  display: grid;
  grid-template-columns: 180px 200px 1fr 170px;
  gap: 16px;
  align-items: baseline;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 21px;
}

.tier--addon {
  grid-template-columns: 280px 1fr 170px;
}

.tier__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.tier__who,
.tier__what {
  color: var(--text-muted);
}

.tier__price {
  text-align: right;
  font-family: var(--font-display);
  font-size: 18px;
}

@media (max-width: 960px) {
  .tier,
  .tier--addon {
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
  }
  .tier__who,
  .tier__what {
    grid-column: 1 / -1;
  }
  .tier__price {
    grid-row: 1;
    grid-column: 2;
  }
  .grid.industries {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .grid.industries {
    grid-template-columns: 1fr;
  }
}

/* Closing call to action */

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  min-height: 360px;
  padding: 40px;
  border-radius: var(--radius-card);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin-bottom: 8px;
}

.cta p {
  color: rgba(255, 255, 255, 0.88);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%);
}

/* Footer */

.footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-top: 64px;
  padding-bottom: 64px;
  font-size: 14px;
  line-height: 21px;
}

.footer h3 {
  color: var(--text-faint);
  font-size: 13px;
  margin-bottom: 10px;
}

.footer a {
  display: block;
  padding: 3px 0;
}

.footer a:hover {
  color: var(--text-muted);
}

.footer__note {
  color: var(--text-muted);
  max-width: 300px;
  margin-top: 12px;
}

.legal {
  padding-top: 20px;
  padding-bottom: 28px;
  color: var(--text-faint);
  font-size: 13px;
}

/* Smaller screens */

@media (max-width: 960px) {
  :root {
    --section-gap: 96px;
  }

  .nav {
    display: none;
  }

  .header__inner {
    justify-content: space-between;
  }

  .hero,
  .section-head,
  .panel,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
    gap: 20px;
  }

  .hero__lead {
    padding-bottom: 0;
  }

  .panel__side {
    padding: 0 20px 20px;
  }

  .grid--4,
  .grid--3 {
    grid-template-columns: 1fr 1fr;
  }

  .card--feature {
    min-height: 420px;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 36px;
    line-height: 40px;
  }

  h2 {
    font-size: 28px;
    line-height: 32px;
  }

  .pad {
    padding-left: 20px;
    padding-right: 20px;
  }

  .frame {
    border: 0;
  }

  .wrap {
    padding: 0;
  }

  .header .btn--secondary {
    display: none;
  }

  .tabs {
    grid-template-columns: 1fr 1fr;
  }

  .stage {
    min-height: 260px;
  }

  .orb--side {
    display: none;
  }

  .orb--lg {
    width: 190px;
  }

  .panel__copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats,
  .steps,
  .grid--4,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .stat + .stat,
  .step + .step {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat,
  .step {
    padding: 24px 20px;
  }

  .step__n {
    margin-bottom: 16px;
  }

  .card__mock--inset {
    margin: 8px -40px 24px 8px;
  }

  .cta {
    grid-template-columns: 1fr;
    padding: 24px;
    min-height: 300px;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .strip-head {
    padding-top: 56px;
  }
}

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

/* Scorecard page */

.sc {
  min-height: calc(100vh - 64px);
}

.sc__body {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 72px;
  padding-bottom: 96px;
}

.sc__intro {
  margin-bottom: 28px;
}

.sc__intro h1 {
  margin-bottom: 8px;
}

.sc__card {
  padding: 24px;
}

.sc__card fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.sc__card legend {
  padding: 0;
  outline: none;
}

.sc__bar {
  height: 2px;
  background: var(--surface-2);
  border-radius: 2px;
  margin-bottom: 18px;
  overflow: hidden;
}

.sc__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--text);
  transition: width 0.25s ease;
}

.opt--input {
  cursor: pointer;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 22px;
}

.opt--input::before {
  content: none;
}

.opt--input input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--text-faint);
}

.opt--input input:checked {
  box-shadow: inset 0 0 0 5px var(--text);
}

.opt--input:hover,
.opt--input:has(input:checked) {
  background: var(--surface);
  color: var(--text);
}

.opt--input:has(input:focus-visible) {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.sc__nav {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 20px;
}

.sc__nav .btn:last-child {
  margin-left: auto;
}

.btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.sc__note {
  color: var(--text-faint);
  font-size: 13px;
  margin-top: 16px;
}

.sc__result {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}

.sc__stage {
  min-height: 0;
  height: auto;
  overflow: visible;
}

.sc__stage::before,
.sc__stage::after {
  content: none;
}

.sc__result h1 {
  outline: none;
  margin-bottom: 12px;
  align-items: center;
}

.sc__num {
  font-size: 72px;
  line-height: 72px;
}

.sc__scale {
  font-size: 13px;
  margin-top: 8px;
}

.sc__card .row {
  align-items: flex-start;
  font-size: 15px;
  line-height: 22px;
}

.sc__tip {
  min-height: 0;
  margin-top: 12px;
  gap: 4px;
}

.sc__actions {
  margin-top: 24px;
}

@media (max-width: 640px) {
  .sc__body {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .sc__result {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sc__stage .orb--lg {
    width: 160px;
  }

  .sc__stage {
    justify-content: flex-start;
  }
}

[hidden] {
  display: none !important;
}

/* ElevenLabs-style additions: scam samples, line-art cards, portal, closing band, ask pill */

/* Scam samples under the hero */

.samples-wrap {
  padding: 0 12px;
}

.samples {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 6px;
}

.samples__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 10px;
  font-size: 14px;
}

.reel {
  gap: 56px;
  height: 340px;
  min-height: 0;
  border-radius: 12px;
  box-shadow: var(--shadow-inset-ring);
}

.reel__orb {
  display: grid;
  place-items: center;
  width: 170px;
  padding: 0;
  border: 0;
  cursor: pointer;
  opacity: 0.8;
  transition: width 0.35s ease, opacity 0.2s ease;
}

.reel__orb:hover {
  opacity: 1;
}

.reel__orb.is-on {
  width: 250px;
  opacity: 1;
}

.reel__btn {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-ring);
}

.reel__btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reel__btn svg .fill {
  fill: currentColor;
  stroke: none;
}

.sample {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}

.sample__from {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.sample__body {
  font-size: 16px;
  line-height: 24px;
}

.sample__note {
  color: var(--text-faint);
  font-size: 13px;
  margin-top: 14px;
}

.verdict {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.verdict .chip {
  flex: none;
}

.k-red,
.k-blue {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--data-red);
  margin-right: 6px;
}

.k-blue {
  background: var(--data-blue);
}

/* Offers showcase, now inside Plans */

.plans-show {
  padding: 0 12px 12px;
}

/* "Never" rules as line-art cards */

.card--line {
  min-height: 340px;
}

.line-art {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 16px 0 28px;
}

.line-art svg {
  width: 170px;
  height: 150px;
  fill: none;
  stroke: var(--text);
  stroke-width: 0.8;
  stroke-linejoin: round;
}

.line-art .dash {
  stroke-dasharray: 3 3;
  stroke: var(--text-muted);
}

/* Portal mock */

.portal {
  margin: 0 12px 12px;
  padding: 36px 36px 0;
  height: 520px;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-card);
}

.app {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 600px;
  background: var(--white);
  border-radius: 12px 12px 0 0;
  box-shadow: var(--shadow-ring);
  font-size: 13px;
  line-height: 19px;
}

.app__nav {
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  border-right: 1px solid var(--line);
}

.app__nav .wordmark {
  font-size: 15px;
  margin-bottom: 22px;
}

.app__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-strong-muted);
}

.app__nav li {
  padding: 6px 10px;
  border-radius: 8px;
}

.app__nav li.is-on {
  background: var(--surface);
  color: var(--text);
}

.app__org {
  margin-top: 260px;
  color: var(--text-faint);
}

.app__main {
  padding: 18px 22px;
}

.app__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  margin-bottom: 16px;
}

.app__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.app__cols {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 10px;
}

.tile {
  position: relative;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-inset-ring);
  color: var(--text-muted);
}

.tile .row {
  color: var(--text);
  font-size: 13px;
}

.tile__num {
  color: var(--text);
  font: 300 30px/36px var(--font-display);
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.tile__sub {
  color: var(--text-faint);
}

.tile__label {
  margin-bottom: 2px;
}

.chart__head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.legend {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.legend .k-blue {
  margin-left: 10px;
}

.chart {
  display: block;
  width: 100%;
  height: 150px;
  overflow: visible;
}

.chart path,
.chart circle {
  vector-effect: non-scaling-stroke;
  fill: none;
}

.chart .grid-line {
  stroke: var(--line);
  stroke-width: 1;
}

.chart .line-red {
  stroke: var(--data-red);
  stroke-width: 1.5;
}

.chart .line-blue {
  stroke: var(--data-blue);
  stroke-width: 1.5;
}

.chart .area-red {
  fill: rgba(244, 26, 47, 0.06);
}

.chart .pt-red {
  fill: var(--data-red);
}

.chart .pt-blue {
  fill: var(--data-blue);
}

.chart__tip {
  position: absolute;
  top: 92px;
  right: calc(20% + 22px);
  display: grid;
  gap: 2px;
  padding: 6px 10px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-ring);
  color: var(--text);
  font-size: 12px;
}

.chart__x {
  display: flex;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 12px;
  margin-top: 6px;
}

/* Slim closing band */

.band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.band {
  margin-top: var(--section-gap);
}

/* Footer: wider, five columns */

.footer {
  grid-template-columns: 1.3fr repeat(4, 1fr);
}

.footer span {
  display: block;
  padding: 3px 0;
}

/* Floating "Is this real?" pill */

.ask {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px 0 8px;
  background: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-ring), 0 8px 24px rgba(0, 0, 0, 0.08);
  font-size: 16px;
}

.ask:hover {
  background: var(--surface);
}

.ask__orb {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

@media (max-width: 960px) {
  .reel {
    gap: 32px;
    height: 280px;
  }

  .reel__orb {
    width: 120px;
  }

  .reel__orb.is-on {
    width: 200px;
  }

  .sample,
  .app__cols {
    grid-template-columns: 1fr;
  }

  .app {
    grid-template-columns: 1fr;
  }

  .app__nav {
    display: none;
  }

  .portal {
    padding: 20px 20px 0;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .samples-wrap {
    padding: 0 8px;
  }

  .samples__head .muted {
    display: none;
  }

  .reel {
    gap: 20px;
    height: 220px;
  }

  .reel__orb {
    width: 80px;
  }

  .reel__orb.is-on {
    width: 160px;
  }

  .app__tiles {
    grid-template-columns: 1fr 1fr;
  }

  .app__tiles .tile:last-child {
    display: none;
  }

  .portal {
    height: 460px;
    margin: 0 8px 8px;
    padding: 14px 14px 0;
  }

  .band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ask {
    right: 12px;
    bottom: 12px;
    height: 46px;
    font-size: 15px;
  }

  .ask__orb {
    width: 30px;
    height: 30px;
  }
}

.footer .wordmark {
  display: inline-flex;
}
