:root {
  --bg: #F6F4EF;
  --surface: #FFFFFF;
  --soft: #EFEBE2;
  --text: #18222C;
  --muted: #5E6772;
  --ink: #18222C;
  --ray-light: #FFE8B8;
  --ray-dark: #FFDC97;
  --floor: #F0B26B;
  --floor-shade: #D6914B;
  --curtain: #E2463F;

  --orange: #FF7A3D;
  --yellow: #FFC93C;
  --red: #F0534A;
  --green: #2FB37A;
  --blue: #3D7BF0;
  --purple: #8E5BE8;
  --pink: #FF6FA5;
  --teal: #1FB5B0;
  --on-accent: #FFFFFF;

  --display: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121A22;
    --surface: #1E2933;
    --soft: #273440;
    --text: #F4F2EC;
    --muted: #A3ADB8;
    --ink: #04070A;
    --ray-light: #1F2942;
    --ray-dark: #263252;
    --floor: #8A5A33;
    --floor-shade: #6B4324;
    --curtain: #B0352F;
  }
}

:root[data-theme="dark"] {
  --bg: #121A22;
  --surface: #1E2933;
  --soft: #273440;
  --text: #F4F2EC;
  --muted: #A3ADB8;
  --ink: #04070A;
  --ray-light: #1F2942;
  --ray-dark: #263252;
  --floor: #8A5A33;
  --floor-shade: #6B4324;
  --curtain: #B0352F;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button,
input {
  font-family: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: max(18px, env(safe-area-inset-left, 0px)) max(18px, env(safe-area-inset-right, 0px));
}

/* Reusable Tactile Sticker Primitives */
.sticker {
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--ink);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: #18222C;
  font-weight: 800;
  font-size: 14px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 56px;
  padding: 0 24px;
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.15s ease;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 var(--ink);
}

.btn:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 var(--ink);
}

.btn-primary {
  background: var(--orange);
  color: var(--on-accent);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
}

/* Sticky Navbar */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
}

.nav-inner {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  overflow: hidden;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 3px 0 var(--ink);
  transform: rotate(-7deg);
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-app-icon {
  width: 82px;
  height: 82px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--ink);
  transform: rotate(-5deg);
  background: var(--yellow);
}

.cta-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-weight: 800;
  font-size: 16px;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.15s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn,
.lang-btn {
  min-width: 42px;
  height: 40px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 3px 0 var(--ink);
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.icon-btn:active,
.lang-btn:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--ink);
}

.nav .btn-nav {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 15px;
  box-shadow: 0 3px 0 var(--ink);
}

.nav .btn-nav:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--ink);
}

/* Fairground / Testing Stage (Hero & Bottom CTA) */
.stage {
  position: relative;
  overflow: hidden;
  background: var(--ray-light);
  border-bottom: 2.5px solid var(--ink);
}

.stage::before {
  content: "";
  position: absolute;
  inset: -70%;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    var(--ray-dark) 0deg 7.5deg,
    transparent 7.5deg 15deg
  );
  animation: spin 140s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.awning {
  position: relative;
  z-index: 3;
  height: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='34' viewBox='0 0 72 34'%3E%3Cpath d='M0 0h36v16a18 18 0 0 1-36 0Z' fill='%23F0534A' stroke='%2318222C' stroke-width='2.5'/%3E%3Cpath d='M36 0h36v16a18 18 0 0 1-36 0Z' fill='%23FFF4DE' stroke='%2318222C' stroke-width='2.5'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: top center;
}

.curtain {
  position: absolute;
  top: 0;
  bottom: 28px;
  width: 26px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    var(--curtain) 0 58%,
    rgba(0, 0, 0, 0.18) 58% 70%,
    var(--curtain) 70%
  );
  border: 2.5px solid var(--ink);
  pointer-events: none;
}

.curtain.left {
  left: 0;
  border-left: 0;
  border-bottom-right-radius: 22px;
}

.curtain.right {
  right: 0;
  border-right: 0;
  border-bottom-left-radius: 22px;
}

.curtain::after {
  content: "";
  position: absolute;
  top: 58%;
  left: -2px;
  right: -2px;
  height: 11px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.floor {
  position: relative;
  z-index: 3;
  height: 30px;
  border-top: 2.5px solid var(--ink);
  background: linear-gradient(var(--floor-shade) 0 9px, var(--floor) 9px);
}

/* Hero Content */
.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr 0.98fr;
  align-items: center;
  gap: 36px;
  padding-block: 44px 60px;
}

.hero h1 {
  font-size: clamp(38px, 5.8vw, 68px);
  margin: 10px 0 18px;
  line-height: 1.1;
}

.hero h1 .hl {
  display: inline-block;
  padding: 2px 16px 5px;
  margin-inline: 2px;
  background: var(--yellow);
  color: #18222C;
  border: 3px solid var(--ink);
  border-radius: 15px;
  box-shadow: 0 4px 0 var(--ink);
  transform: rotate(-2deg);
}

.hero .lede {
  font-size: clamp(17.5px, 1.9vw, 20.5px);
  color: var(--muted);
  max-width: 31em;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

/* Store Badges (App Store & Google Play - Coming Soon) */
.store-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 10px 24px 10px 16px;
  background: #18222C;
  color: #FFFFFF;
  border: 2.5px solid #18222C;
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--orange);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.store-ico {
  width: 26px;
  height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.store-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  text-align: left;
}

.store-meta small {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.85;
}

.store-meta strong {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

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

.trust span {
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 2px 0 var(--ink);
}

/* Interactive Mini-Quiz Card on Hero Right */
.quiz-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
}

.quiz-card {
  position: relative;
  padding: 20px;
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 7px 0 var(--ink);
}

.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.quiz-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  color: #18222C;
  background: var(--yellow);
}

.quiz-badge.danger {
  background: var(--red);
  color: #FFFFFF;
}

.quiz-score {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.quiz-visual {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  margin-bottom: 14px;
  background: var(--soft);
  border: 2px solid var(--ink);
  border-radius: 16px;
}

.sign-box {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 3px 0 var(--ink);
}

.quiz-q {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.quiz-options {
  display: grid;
  gap: 9px;
}

.quiz-opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  text-align: left;
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 3px 0 var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.12s ease;
}

.quiz-opt:hover:not(:disabled) {
  background: var(--soft);
}

.quiz-opt:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--ink);
}

.quiz-opt .opt-key {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--soft);
  font-size: 13px;
  font-weight: 900;
}

.quiz-opt.correct {
  background: var(--green);
  color: #FFFFFF;
}

.quiz-opt.correct .opt-key {
  background: #FFFFFF;
  color: #18222C;
}

.quiz-opt.wrong {
  background: var(--red);
  color: #FFFFFF;
}

.quiz-opt.wrong .opt-key {
  background: #FFFFFF;
  color: #18222C;
}

.quiz-opt:disabled {
  cursor: default;
}

.result {
  min-height: 50px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink);
  font-size: 16.5px;
  font-weight: 900;
}

.result.win {
  background: var(--yellow);
  color: #18222C;
  animation: pop 0.36s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.result.lose {
  background: #FFE1DF;
  color: #18222C;
  animation: pop 0.32s cubic-bezier(0.3, 1.4, 0.5, 1);
}

@keyframes pop {
  0% {
    transform: scale(0.84);
  }
  100% {
    transform: scale(1);
  }
}

.quiz-tip {
  display: none;
  padding: 10px 14px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 3px 0 var(--ink);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.quiz-tip.show {
  display: block;
}

.quiz-tip strong {
  color: var(--orange);
  font-weight: 900;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.chip {
  padding: 6px 12px;
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 3px 0 var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.08s ease, background-color 0.12s ease;
}

.chip.active {
  background: var(--yellow);
  color: #18222C;
}

.chip:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ink);
}

/* Confetti Burst */
.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 10;
}

.confetti i {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 12px;
  height: 8px;
  border: 1.5px solid #18222C;
  border-radius: 3px;
  animation: burst 0.95s cubic-bezier(0.16, 0.85, 0.35, 1) forwards;
}

@keyframes burst {
  0% {
    transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot));
    opacity: 0;
  }
}

/* Sections */
section {
  padding-block: 84px;
}

.section-tight {
  padding-top: 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  margin-bottom: 12px;
}

.section-head p {
  font-size: 19px;
  color: var(--muted);
  margin: 0;
}

/* iPhone Mockup Frames & Illustrated App Screens */
.phone {
  width: 100%;
  max-width: 256px;
  aspect-ratio: 1206 / 2520;
  margin-inline: auto;
  background: #18222C;
  border: 4px solid var(--ink);
  border-radius: 42px;
  padding: 6px;
  box-shadow: 0 7px 0 var(--ink);
  transition: transform 0.2s ease;
}

.tilt-l {
  transform: rotate(-2.5deg);
}

.tilt-r {
  transform: rotate(2.5deg);
}

.phone:hover {
  transform: rotate(0deg) translateY(-4px);
}

.app-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  background: #F6F4EF;
  color: #18222C;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 10px;
  overflow: hidden;
  position: relative;
  font-size: 12px;
}

.app-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  font-weight: 900;
  padding-inline: 6px;
  margin-bottom: 8px;
}

.app-notch {
  width: 54px;
  height: 14px;
  background: #18222C;
  border-radius: 99px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  font-weight: 900;
  font-size: 13px;
}

.app-pill {
  padding: 2px 8px;
  border: 1.8px solid #18222C;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  background: var(--yellow);
}

.app-card {
  background: #FFFFFF;
  border: 2px solid #18222C;
  border-radius: 13px;
  box-shadow: 0 3px 0 #18222C;
  padding: 9px;
  margin-bottom: 8px;
}

.app-opt {
  padding: 6px 8px;
  border: 1.8px solid #18222C;
  border-radius: 9px;
  font-size: 10.5px;
  font-weight: 800;
  margin-bottom: 5px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-opt.is-ok {
  background: #2FB37A;
  color: #FFFFFF;
}

.app-opt.is-warn {
  background: #FFC93C;
  color: #18222C;
}

.app-bar {
  height: 8px;
  border: 1.6px solid #18222C;
  border-radius: 99px;
  background: #EFEBE2;
  overflow: hidden;
}

.app-bar > span {
  display: block;
  height: 100%;
  background: var(--green);
}

.app-tabs {
  margin-top: auto;
  padding-top: 7px;
  border-top: 1.8px solid #18222C;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  font-size: 9px;
  font-weight: 900;
  color: #5E6772;
}

.app-tabs .on {
  color: #FF7A3D;
}

/* 4 Modes Grid */
.modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.mode {
  display: flex;
  flex-direction: column;
}

.mode-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  margin-bottom: 8px;
}

.mode-tag {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 0 3px 0 var(--ink);
  font-weight: 900;
  font-size: 16px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.mode h3 {
  font-size: 23px;
}

.mode p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* 4 License Classes (Stages Equivalent) */
.themes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.theme {
  text-align: center;
}

.theme .phone {
  max-width: 226px;
}

.theme-cap {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.theme-cap b {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 900;
}

.theme-cap small {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}

/* 6 Features Sticker Grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 22px;
}

.feature .ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 3px 0 var(--ink);
  margin-bottom: 16px;
  color: #FFFFFF;
}

.feature h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* Smart Study / Fair Play Band */
.fair {
  background: var(--soft);
  border-block: 2.5px solid var(--ink);
}

.fair-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 42px;
}

.fair h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 14px;
}

.fair p {
  color: var(--muted);
  margin: 0 0 14px;
}

.fair p:last-child {
  margin-bottom: 0;
}

.dist {
  padding: 22px;
}

.dist-row {
  margin-bottom: 16px;
}

.dist-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 8px;
}

.bars {
  height: 104px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 7px;
  padding: 8px 8px 0;
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 12px;
}

.bars span {
  display: block;
  width: 100%;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.bars.cram span {
  background: var(--orange);
}

.bars.smart span {
  background: var(--green);
}

.axis {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 7px;
  padding-inline: 8px;
  margin-top: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.dist-note {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 700;
}

/* Everything Is Free Section */
.premium-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 52px;
}

.premium-phones {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.premium-phones .phone {
  width: 212px;
}

.premium-phones .phone:nth-child(2) {
  margin-top: 38px;
}

.premium-copy h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  margin: 12px 0 20px;
}

.perks {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 12px;
}

.perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
}

.check {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 2px 0 var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.free-note {
  margin: 0;
  color: var(--muted);
  max-width: 34em;
}

/* FAQ Accordion */
.faq {
  max-width: 780px;
  display: grid;
  gap: 14px;
}

.faq details {
  padding: 4px 20px;
}

.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 900;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  color: var(--orange);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* Bottom CTA Stage */
.cta {
  padding: 0;
  border-top: 2.5px solid var(--ink);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding-block: 58px 66px;
}

.cta-inner h2 {
  font-size: clamp(32px, 4.8vw, 52px);
  max-width: 17em;
}

.cta-stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.cta-stores .store {
  padding: 10px 22px 10px 16px;
}

.cta-stores .store-meta strong {
  font-size: 18px;
}

.cta-sub {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  font-size: 15.5px;
}

/* Footer */
footer {
  padding-block: 28px 42px;
  font-size: 15px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.footer-inner a {
  color: var(--text);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .modes {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
  .themes {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
  .premium-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 36px 48px;
  }
  .hero .lede {
    margin-inline: auto;
  }
  .hero-actions,
  .trust {
    justify-content: center;
  }
  .store-row {
    align-items: center;
  }
  .fair-grid {
    grid-template-columns: 1fr;
  }
  .curtain {
    width: 14px;
  }
}

@media (max-width: 560px) {
  section {
    padding-block: 64px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .modes,
  .themes {
    gap: 24px 14px;
  }
  .mode h3 {
    font-size: 19px;
  }
  .phone {
    border-radius: 30px;
    padding: 4px;
    border-width: 3px;
  }
  .app-screen {
    border-radius: 25px;
    padding: 9px;
  }
  .premium-phones .phone {
    width: 162px;
  }
  .nav .btn-nav {
    padding: 0 12px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .stage::before {
    animation: none;
  }
  .result.win,
  .result.lose,
  .confetti i {
    animation-duration: 0.01s;
  }
}
