:root {
  --cream: #f6ecd9;
  --cream-deep: #ead9bf;
  --ink: #2a2118;
  --ink-soft: #6a5748;
  --ginger: #d97a2e;
  --ginger-soft: #e4a15c;
  --line: rgba(42, 33, 24, 0.12);
  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.55;
  cursor: url("images/cursor-cat.svg") 6 4, auto;
}

a,
button,
[role="button"] {
  cursor: url("images/cursor-cat.svg") 6 4, pointer;
}

.paper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(233, 168, 92, 0.22), transparent 55%),
    radial-gradient(900px 600px at -10% 90%, rgba(214, 140, 70, 0.12), transparent 50%),
    linear-gradient(180deg, #f8f0e2 0%, var(--cream) 40%, #f1e4cd 100%);
  opacity: 1;
}

.paper::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.5rem 0 6rem;
}

.hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 1.5rem 0 3.5rem;
  min-height: min(92vh, 900px);
  align-content: center;
}

.hero-cat {
  width: min(280px, 62vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(80, 45, 15, 0.18));
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  margin: 1.35rem 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 6.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  animation: rise 1.1s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-line {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  animation: rise 1.1s 0.14s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-stat {
  margin: 1.75rem 0 0.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  animation: rise 1.1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-stat .num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ginger);
  font-variant-numeric: tabular-nums;
}

.hero-stat .unit {
  font-size: 1.1rem;
  color: var(--ink-soft);
  text-transform: lowercase;
}

.hero-punch {
  margin: 0.35rem 0 0.85rem;
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  animation: rise 1.1s 0.23s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  animation: rise 1.1s 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.alert {
  margin: 1.75rem auto 0;
  max-width: 40rem;
  padding: 1.1rem 0 0;
  text-align: left;
  border-top: 1px solid var(--line);
  animation: rise 1.1s 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.alert-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ginger);
}

.alert p:last-child {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.block {
  padding: 2.75rem 0 1rem;
  border-top: 1px solid var(--line);
}

.block h2,
.who h2 {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stat-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
}

.stat-list.dense li {
  padding: 0.55rem 0;
}

.stat-list .label {
  color: var(--ink);
  font-size: 1rem;
}

.stat-list .value {
  font-family: var(--display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ginger);
  font-size: 1.15rem;
}

.stat-list .meta {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.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;
}

.check {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.check h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 6vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.check-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  margin: 1.5rem auto 0.85rem;
  max-width: 40rem;
  width: 100%;
}

.check-count {
  margin: 0.5rem auto 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem;
}

.check-count .num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ginger);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.check-count .unit {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.check-form input {
  width: 100%;
  min-width: 0;
  min-height: 3.4rem;
  padding: 1.05rem 1.2rem;
  border: 1.5px solid rgba(42, 33, 24, 0.2);
  border-radius: 0.7rem;
  background: rgba(255, 252, 246, 0.95);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.15rem;
}

.check-form input::placeholder {
  color: rgba(106, 87, 72, 0.55);
}

.check-form input:focus {
  outline: 3px solid rgba(217, 122, 46, 0.4);
  outline-offset: 2px;
  border-color: var(--ginger);
}

.check-form button {
  min-height: 3.4rem;
  padding: 1.05rem 1.75rem;
  border: 0;
  border-radius: 0.7rem;
  background: var(--ginger);
  color: #fff8ef;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.15rem;
}

.check-form button:hover {
  background: #c56b24;
}

.check-form button:disabled {
  opacity: 0.6;
}

#check-status {
  margin-top: 0.5rem;
  font-size: 1.02rem;
}

.check-result {
  margin: 1.35rem auto 0;
  max-width: 40rem;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.check-headline {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5.5vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ginger);
}

.check-body {
  margin: 0;
  max-width: 28ch;
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
}

.check-result.is-miss .check-headline {
  color: var(--ink-soft);
}

@media (max-width: 520px) {
  .check-form {
    grid-template-columns: 1fr;
  }

  .check-form button {
    width: 100%;
  }
}

.fun-lead {
  margin: -0.35rem 0 1.5rem;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.fun-sub {
  margin: 1.75rem 0 0.55rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fun-subnote {
  margin: 0 0 0.85rem;
}

.country-bars {
  list-style: none;
  margin: 0;
  padding: 0;
}

.country-bars li {
  display: grid;
  grid-template-columns: minmax(7.5rem, 11rem) 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.country-bars .label {
  font-size: 0.95rem;
  color: var(--ink);
}

.country-bars .bar-track {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(42, 33, 24, 0.08);
  overflow: hidden;
}

.country-bars .bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ginger), var(--ginger-soft));
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.country-bars .value {
  font-family: var(--display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ginger);
  font-size: 1.02rem;
  min-width: 4.5rem;
  text-align: right;
}

.fun-facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fun-facts li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.fun-facts .fact-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.fun-facts .fact-line {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.fun-facts .fact-line .num {
  color: var(--ginger);
  font-variant-numeric: tabular-nums;
}

.fun-facts .fact-note {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 52ch;
}

@media (max-width: 640px) {
  .country-bars li {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .country-bars .bar-track {
    grid-column: 1 / -1;
    order: 3;
  }
}

.find .prose {
  max-width: 62ch;
}

.find .prose p {
  margin: 0 0 1.05rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.find .prose p:last-child {
  margin-bottom: 0;
}

.find .prose code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.9em;
  color: var(--ink);
  background: rgba(217, 122, 46, 0.1);
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
}

.faq-list {
  display: grid;
  gap: 1.35rem;
  margin: 0 0 1.75rem;
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.faq-item code,
.risk code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.9em;
  color: var(--ink);
  background: rgba(217, 122, 46, 0.1);
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
}

.risk {
  max-width: 62ch;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.risk p {
  margin: 0 0 1.05rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.risk p:last-child {
  margin-bottom: 0;
}

.who {
  margin-top: 2.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(160px, 280px) 1fr;
  gap: 2rem 2.5rem;
  align-items: center;
}

.help {
  margin-top: 2.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr minmax(220px, 340px);
  gap: 2rem 2.5rem;
  align-items: center;
}

.help-copy {
  min-width: 0;
}

.help-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.help-copy h3 {
  margin: 1.35rem 0 0.55rem;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}

.help-copy .prose p {
  margin: 0 0 0.85rem;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.pressure-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.pressure-list li {
  margin: 0.4rem 0;
}

.help-copy .prose a,
.pressure-list a {
  color: var(--ginger);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sherbet-cat {
  width: 100%;
  max-width: 340px;
  height: auto;
  justify-self: center;
  align-self: center;
  filter: drop-shadow(0 14px 24px rgba(80, 45, 15, 0.16));
}

.sherbet-lead {
  margin: 0 0 0.55rem;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.who-cat {
  width: 100%;
  max-width: 280px;
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 14px 24px rgba(80, 45, 15, 0.16));
}

.who-copy {
  min-width: 0;
}

.who-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 42ch;
}

.who-text p {
  margin: 0 0 0.9rem;
}

.who-text p:last-child {
  margin-bottom: 0;
}

.who-text strong {
  color: var(--ink);
  font-weight: 600;
}

.publish-list {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.publish-list li {
  margin: 0.35rem 0;
}

.countdown {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.countdown-label {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 700;
  color: var(--ginger);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(4.25rem, 1fr));
  gap: 0.7rem;
  max-width: 28rem;
}

.countdown-grid div {
  text-align: center;
  padding: 0.85rem 0.35rem 0.7rem;
  background: rgba(217, 122, 46, 0.1);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
}

.countdown-grid span {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.85rem, 5.5vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.countdown-grid small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.countdown-note {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.countdown.is-done .countdown-label {
  color: var(--ink);
}

.site-foot {
  margin-top: 2.5rem;
  padding: 2rem 0 0.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.foot-contact {
  margin: 0 0 1.35rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.foot-contact a {
  margin-left: 0.35rem;
  color: var(--ginger);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.mule-tease {
  margin: 0 auto;
  max-width: 38ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.mule-tease .num {
  font-family: var(--display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ginger);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  main {
    width: min(920px, calc(100% - 1.25rem));
    padding: 1rem 0 4rem;
  }

  .hero {
    min-height: auto;
    padding: 0.75rem 0 2.25rem;
  }

  .hero-cat {
    width: min(220px, 58vw);
  }

  .brand {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .hero-punch {
    max-width: 18ch;
  }

  .alert {
    max-width: none;
  }

  .block {
    padding: 2.15rem 0 0.75rem;
  }

  .who {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
    margin-top: 1.75rem;
    padding-top: 2.25rem;
  }

  .who-cat {
    max-width: 220px;
  }

  .who-text,
  .who-copy {
    max-width: none;
    text-align: left;
  }

  .who h2 {
    text-align: left;
  }

  .countdown {
    text-align: left;
  }

  .countdown-grid {
    max-width: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .countdown-grid div {
    padding: 0.7rem 0.15rem 0.55rem;
  }

  .countdown-grid span {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .countdown-grid small {
    font-size: 0.65rem;
  }

  .help {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.75rem;
    padding-top: 2.25rem;
  }

  .sherbet-cat {
    order: -1;
    max-width: 240px;
    margin-inline: auto;
  }

  .pressure-list,
  .help .publish-list,
  .help .prose p,
  .sherbet-lead {
    text-align: left;
  }

  .check {
    padding: 2.75rem 0 2rem;
  }

  .check h2 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .country-bars li {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .country-bars .bar-track {
    grid-column: 1 / -1;
    order: 3;
  }

  .foot-contact a {
    display: block;
    margin: 0.35rem 0 0;
  }
}

@media (max-width: 420px) {
  .hero-stat .num {
    font-size: clamp(2.2rem, 14vw, 3.2rem);
  }

  .check-count .num {
    font-size: clamp(2.1rem, 12vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
