/* Shortbuss Trivia marketing — mill navy + safety orange. Candy A–D colors are in-game figures only. */
:root {
  --mill-navy: #0b1220;
  --mill-navy-raised: #121a2b;
  --mill-navy-edge: #1a2438;
  --safety-orange: #ff5c00;
  --safety-orange-pressed: #c2410c;
  --ink: #ffffff;
  --muted: #a8b4c4;
  --line: rgba(255, 255, 255, 0.12);
  --focus: #ff5c00;
  --radius: 0.85rem;
  --max: 70rem;
  --header-h: 4.5rem;
  --font: "Nunito", sans-serif;
  --font-display: "Russo One", sans-serif;
  --a-vermilion: #e54d2e;
  --b-blue: #2f6fed;
  --c-gold: #e4b40a;
  --d-teal: #1aa89a;
  --gold-ink: #1a1400;
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--mill-navy);
  color: var(--ink);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

:focus {
  outline: none;
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 0.9rem;
  background: var(--safety-orange);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
}

h1,
.logo {
  font-family: var(--font-display);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0;
  text-decoration: none;
  justify-self: start;
  color: var(--ink);
  white-space: nowrap;
}

.logo img {
  height: 1.85rem;
  width: auto;
  max-width: none;
  flex: none;
  display: block;
}

.nav-primary {
  display: flex;
  gap: 1.75rem;
  justify-self: center;
}

.nav-primary a {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.nav-primary a[aria-current="page"] {
  border-bottom-color: var(--safety-orange);
}

.header-actions {
  display: flex;
  gap: 0.7rem;
  justify-self: end;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border-radius: 0.55rem;
  font: 700 1.25rem/1.2 var(--font);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--safety-orange);
  color: var(--ink);
  border-color: var(--safety-orange);
}

.btn-primary:hover {
  background: var(--safety-orange-pressed);
  border-color: var(--safety-orange-pressed);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-block {
  width: 100%;
}

main {
  padding-bottom: 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 2.5rem;
  align-items: center;
  padding: 1.5rem 0 3.5rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.15rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.lede {
  margin: 0 0 1.4rem;
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 34rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.mill-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 32rem;
}

.mill-note::before {
  content: "";
  width: 0.22rem;
  align-self: stretch;
  background: #7eb6ff;
  border-radius: 0.2rem;
  flex: none;
}

.hero-scene {
  position: relative;
  min-height: 26rem;
  border-radius: 1.15rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 18%, #24324c 0%, transparent 42%),
    linear-gradient(180deg, #152033 0%, #0a101c 55%, #070b12 100%);
  isolation: isolate;
}

.hero-tv {
  position: absolute;
  top: 9%;
  left: 50%;
  transform: translateX(-50%);
  width: min(70%, 22rem);
  aspect-ratio: 16 / 9;
  background: #101826;
  border: 0.45rem solid #2a3348;
  border-radius: 0.4rem;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  padding: 0.75rem;
  box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.45);
}

.hero-table {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background:
    repeating-linear-gradient(
      90deg,
      #3a2718 0 2.4rem,
      #332214 2.4rem 2.55rem
    ),
    linear-gradient(180deg, #4a3220 0%, #2b1c12 100%);
}

.hero-phone {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-58%);
  z-index: 2;
}

.pin-pill {
  position: absolute;
  right: 7%;
  top: 48%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  background: #151d2e;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 0.5rem 1.4rem rgba(0, 0, 0, 0.4);
}

.pin-pill::after {
  content: "";
  width: 1.6rem;
  height: 0.35rem;
  background: #7eb6ff;
  border-radius: 999px;
  box-shadow: 0.45rem -0.35rem 0 #7eb6ff;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 0.5rem 0 3rem;
}

.feature h2 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.15rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.feature-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.footer-brand {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand .logo {
  margin-bottom: 0.35rem;
}

.footer-nav {
  display: flex;
  gap: 1.4rem;
}

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover,
.nav-primary a:hover,
.logo:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.page-hero {
  text-align: center;
  padding: 2.2rem 0 1.8rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.plan {
  background: var(--mill-navy-raised);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.plan-recommended {
  border: 2px solid var(--safety-orange);
}

.plan h2 {
  margin: 0;
  font-size: 1.35rem;
}

.plan-label {
  color: var(--safety-orange);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0.25rem 0 0;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.85rem 0 1rem;
}

.price strong {
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.price span {
  color: var(--muted);
  font-size: 1.05rem;
}

.plan hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 1rem;
}

.plan ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  flex: 1;
}

.plan li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.28rem 0;
}

.plan li svg {
  flex: none;
  margin-top: 0.15rem;
}

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

.pricing-note {
  text-align: center;
  color: var(--muted);
  margin: 1.75rem 0 0;
}

.pricing-bank {
  text-align: center;
  max-width: 42rem;
  margin: 2.5rem auto 0;
}

.pricing-bank h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pricing-bank p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.prose {
  max-width: 42rem;
  margin: 0 auto;
}

.prose h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 2rem 0 1rem;
}

.prose h2 {
  color: var(--ink);
  font-size: 1.25rem;
  margin: 1.6rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose a {
  color: var(--ink);
}

.stub-banner {
  border-left: 0.28rem solid var(--safety-orange);
  padding: 0.85rem 1rem;
  background: var(--mill-navy-raised);
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.how-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 1rem;
}

.how-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
  gap: 2rem;
  align-items: center;
}

.how-step h2 {
  margin: 0 0 0.6rem;
  font-size: 1.45rem;
}

.how-step p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.how-step--flip {
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
}

.how-step--flip .how-copy {
  order: 2;
}

.phone {
  width: 17.5rem;
  background: #070b14;
  border: 0.45rem solid #2a3144;
  border-radius: 1.6rem;
  padding: 0.85rem 0.8rem 1rem;
  box-shadow: 0 1.1rem 2.4rem rgba(0, 0, 0, 0.45);
}

.phone--shot {
  padding: 0;
  overflow: hidden;
}

.phone--shot img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0 0.2rem 0.55rem;
}

.phone h3 {
  margin: 0.2rem 0 0.85rem;
  text-align: center;
  font-size: 1.35rem;
}

.phone-brand {
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin: 0.15rem 0 0.35rem;
}

.phone-brand .bus-o {
  display: inline-block;
  width: 0.78rem;
  height: 0.55rem;
  background: var(--safety-orange);
  border-radius: 0.18rem 0.18rem 0.12rem 0.12rem;
  vertical-align: 0.05rem;
  margin: 0 0.04rem;
}

.field-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin: 0.55rem 0 0.3rem;
}

.pin-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.28rem;
}

.pin-cell {
  aspect-ratio: 1;
  border: 1px solid #6b7689;
  border-radius: 0.35rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
}

.name-field {
  border: 1px solid #6b7689;
  border-radius: 0.45rem;
  padding: 0.55rem 0.7rem;
  font-weight: 600;
}

.phone .btn {
  margin-top: 0.9rem;
  width: 100%;
}

.phone-help {
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  margin: 0.65rem 0 0;
}

.q-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.q-pin {
  border: 1px solid #5c6678;
  border-radius: 0.4rem;
  padding: 0.15rem 0.35rem;
  text-align: center;
  font-size: 0.58rem;
  line-height: 1.2;
}

.q-pin strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.q-logo {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.05;
}

.q-logo span {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.q-user {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.timer {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 0.18rem solid var(--safety-orange);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.q-prompt {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.7rem;
}

.answers {
  display: grid;
  gap: 0.4rem;
}

.answer {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.55rem;
  padding: 0.45rem 0.55rem;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--ink);
}

.answer b {
  width: 1.35rem;
  text-align: center;
}

.answer-a { background: var(--a-vermilion); }
.answer-b { background: var(--b-blue); }
.answer-c { background: var(--c-gold); color: var(--gold-ink); }
.answer-d { background: var(--d-teal); }

.q-score {
  text-align: center;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.q-score strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
  letter-spacing: 0;
}

.contact-card {
  background: var(--mill-navy-raised);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 36rem;
}

.contact-card .btn {
  margin: 0.35rem 0 0.75rem;
}

@media (max-width: 900px) {
  .hero,
  .features,
  .pricing-grid,
  .how-step,
  .how-step--flip {
    grid-template-columns: 1fr;
  }

  .how-step--flip .how-copy {
    order: 0;
  }

  .hero-phone {
    transform: translateX(-50%);
  }

  .pin-pill {
    right: 4%;
    top: auto;
    bottom: 42%;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .nav-primary,
  .header-actions {
    justify-self: start;
  }

  .hero-scene {
    min-height: 22rem;
  }

  .hero-phone .phone {
    width: 15.5rem;
  }
}
