:root {
  color-scheme: light;
  --ink: #172522;
  --cream: #fffaf0;
  --mint: #75e2b5;
  --yellow: #ffd85a;
  --coral: #ff7d6e;
  --blue: #91d9f2;
  --line: #172522;
  --muted: #53645f;
  --display: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  line-height: 1.6;
}

a {
  color: inherit;
}

.wrap {
  width: min(920px, calc(100% - 32px));
  margin: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--cream);
  background: var(--ink);
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 250, 240, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar .wrap,
.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.brand {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.brand span,
.studio-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.studio-pill:hover {
  background: var(--mint);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  text-underline-offset: 4px;
}

.langs {
  display: inline-flex;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: white;
}

.lang-btn {
  min-width: 44px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.lang-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
}

.hero {
  padding: clamp(56px, 9vw, 96px) 0 48px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.kicker {
  display: inline-block;
  margin: 0;
  padding: 5px 12px;
  background: var(--mint);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.pill-icon {
  width: 12px;
  height: 12px;
  color: #0e7a52;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 11vw, 6.8rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.hero h1 em {
  color: var(--coral);
  font-style: normal;
}

.lede {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: clamp(1.15rem, 3vw, 1.42rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.answer {
  margin: 34px 0 0;
  padding: 20px 22px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: white;
  box-shadow: 6px 6px 0 var(--ink);
}

.answer strong {
  font-family: var(--display);
  font-size: 1.5rem;
}

.answer p {
  margin: 4px 0 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px 0 64px;
}

.state {
  min-height: 160px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 22px;
}

.state:nth-child(1) {
  background: var(--mint);
}

.state:nth-child(2) {
  background: var(--yellow);
}

.state:nth-child(3) {
  background: var(--coral);
}

.state b {
  font-family: var(--display);
  font-size: 1.8rem;
}

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

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 0 88px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: white;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.btn-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.legal {
  padding: 64px 0 100px;
}

.legal h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.95;
  margin: 0 0 18px;
}

.legal h2 {
  font-family: var(--display);
  font-size: 1.8rem;
  line-height: 1.05;
  margin: 42px 0 12px;
}

.legal h3 {
  font-family: var(--display);
  margin: 30px 0 8px;
}

.legal p,
.legal li {
  max-width: 780px;
}

.legal .meta {
  color: var(--muted);
  font-weight: 700;
}

.legal nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px 0 40px;
}

.notice {
  padding: 16px 18px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--blue);
}

footer {
  border-top: 2px solid var(--ink);
  padding: 28px 0 42px;
  font-size: 0.95rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 4px;
}

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

  .state {
    min-height: 0;
  }

  .topbar .wrap,
  .topbar-inner {
    min-height: 60px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }
}

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

  .button {
    transition: none;
  }
}
