:root {
  --black: #050505;
  --ink: #111111;
  --cream: #f5f1db;
  --green: #1ed760;
  --acid: #d7ff35;
  --pink: #ed1652;
  --blue: #2f67ff;
  --orange: #ff7a1a;
  --white: #ffffff;
  --surface: #fff7f3;
  --line: rgba(5, 5, 5, 0.18);
}

@font-face {
  font-family: "Alternate Gothic No1";
  src: url("./assets/alternategothicno1.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Forma DJR Display";
  src: url("./assets/FormaDJRDisplay-Bold-Testing.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--cream);
  font-family: "Forma DJR Display", "Arial Narrow", sans-serif;
  font-weight: 700;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

button,
input {
  font: inherit;
}

button,
a,
input,
label {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.22);
}

.app-shell {
  min-height: 100vh;
  overflow: hidden;
}

.is-hidden {
  display: none !important;
}

.opening-screen {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 0;
  background:
    linear-gradient(rgba(70, 17, 209, 0.12), rgba(70, 17, 209, 0.12)),
    url("./assets/background-3.jpg") center / cover no-repeat,
    linear-gradient(132deg, #1323a9 0%, #3812d1 42%, #b900f4 100%);
  isolation: isolate;
  place-items: stretch;
}

.opening-card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100vh;
  padding: clamp(58px, 9vh, 110px) clamp(42px, 9.6vw, 184px) clamp(54px, 8vh, 90px);
  overflow: hidden;
  color: var(--white);
  background: transparent;
  align-content: center;
  gap: clamp(34px, 6.6vh, 78px);
}

.opening-card h1 {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: clamp(16px, 4vw, 42px) 0 0;
  color: var(--white);
  font-family: "Alternate Gothic No1", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(5.6rem, 9.45vw, 10.6rem);
  font-weight: 400;
  line-height: 0.84;
  text-transform: uppercase;
}

.opening-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  color: var(--white);
  font-size: clamp(1.05rem, 1.55vw, 1.55rem);
  font-family: "Forma DJR Display", "Arial Narrow", sans-serif;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.opening-brand::before {
  content: "";
  width: clamp(52px, 3.9vw, 70px);
  height: clamp(18px, 1.7vw, 28px);
  margin-left: 0;
  background: var(--black);
}

.opening-dot {
  width: clamp(30px, 2.4vw, 42px);
  height: clamp(30px, 2.4vw, 42px);
  flex: 0 0 auto;
  margin-right: 18px;
  border-radius: 50%;
  background: #ff2556;
}

.opening-shape {
  position: absolute;
  z-index: 1;
  display: none;
  pointer-events: none;
  opacity: 0.72;
}

.opening-shape-one {
  top: -11%;
  left: -2%;
  width: 52%;
  height: 24%;
  background: #eb55ff;
  border-radius: 0 0 48% 52% / 0 0 72% 84%;
  transform: rotate(-2deg);
}

.opening-shape-two {
  top: 12%;
  left: -13%;
  width: 28%;
  height: 58%;
  background: rgba(99, 197, 255, 0.72);
  border-radius: 44% 56% 64% 36%;
}

.opening-shape-three {
  right: -12%;
  bottom: 9%;
  width: 38%;
  height: 34%;
  background: rgba(138, 211, 255, 0.58);
  border-radius: 54% 46% 38% 62%;
}

.opening-shape-four {
  right: 16%;
  bottom: -18%;
  width: 35%;
  height: 38%;
  background: rgba(201, 49, 244, 0.62);
  border-radius: 55% 45% 58% 42%;
}

.audience-picker {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  max-width: none;
}

.audience-card {
  position: relative;
  min-height: clamp(102px, 10vw, 128px);
  padding: clamp(18px, 2.2vw, 28px);
  color: var(--white);
  background: #514ff2;
  border: 0;
  border-radius: 0;
  box-shadow: 9px 10px 0 rgba(21, 15, 137, 0.78);
  cursor: pointer;
  text-align: left;
  transform: translate(0, 0);
  transition:
    background 160ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

.audience-card:hover,
.audience-card:focus-visible {
  background: #6b69ff;
  outline: 3px solid rgba(255, 255, 255, 0.48);
  outline-offset: 4px;
}

.audience-card span {
  font-family: "Alternate Gothic No1", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(2.55rem, 3.7vw, 3.65rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.audience-card.is-selected {
  color: var(--white);
  background: #ff7250;
  box-shadow: 0 0 0 rgba(21, 15, 137, 0.78);
  outline: none;
  transform: translate(9px, 10px);
}

.primary-button,
.back-button {
  position: relative;
  z-index: 1;
  min-height: 50px;
  color: var(--cream);
  background: var(--black);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.primary-button {
  position: relative;
  z-index: 2;
  justify-self: stretch;
  min-height: clamp(68px, 7vw, 86px);
  margin-top: -6px;
  padding: 0 22px;
  color: var(--white);
  background: #ff7250;
  border-radius: 0;
  box-shadow: 9px 10px 0 rgba(79, 32, 92, 0.78);
  font-family: "Alternate Gothic No1", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(2.4rem, 3.3vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  transition:
    box-shadow 140ms ease,
    transform 140ms ease,
    background 160ms ease;
}

.primary-button:hover:not(:disabled),
.primary-button:focus-visible:not(:disabled) {
  background: #ff815f;
  outline: 3px solid rgba(255, 255, 255, 0.48);
  outline-offset: 4px;
}

.primary-button:disabled {
  color: var(--white);
  background: #ff7250;
  box-shadow: 9px 10px 0 rgba(79, 32, 92, 0.78);
  cursor: not-allowed;
}

.back-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--black);
}

.hero-panel {
  position: relative;
  min-height: 100vh;
  padding: clamp(18px, 3.4vw, 46px);
  background: var(--black);
  isolation: isolate;
}

.hero-panel::before {
  display: none;
}

.hero-panel::after {
  display: none;
}

.poster-noise {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(245, 241, 219, 0.28) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 80%, rgba(5, 5, 5, 0.34) 0 1px, transparent 1.4px);
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: overlay;
  z-index: -1;
}

.orbit {
  display: none;
}

.orbit-one {
  width: 28vw;
  height: 14vw;
  right: 5vw;
  top: 24vh;
  border-color: rgba(245, 241, 219, 0.56);
}

.orbit-two {
  width: 24vw;
  height: 44vw;
  left: -12vw;
  top: 28vh;
  border-color: rgba(30, 215, 96, 0.62);
}

.orbit-three {
  width: 19vw;
  height: 19vw;
  right: 18vw;
  bottom: -9vw;
  background: var(--blue);
  border-radius: 46% 54% 62% 38%;
  border-color: var(--black);
}

.brand-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: fit-content;
  min-height: 42px;
  padding: 0 0 12px;
  color: var(--black);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  max-width: 100%;
  text-shadow: none;
}

.pulse-dot {
  position: relative;
  z-index: 2;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pink);
  border: 0;
  box-shadow: 0 0 0 0 rgba(237, 22, 82, 0.32);
  animation: pulse 1.65s infinite;
}

.brand-line {
  position: absolute;
  left: 10px;
  right: 0;
  bottom: 2px;
  height: 14px;
  border-bottom: 11px solid var(--black);
  border-left: 11px solid var(--black);
  border-radius: 0 0 0 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(380px, 520px);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - clamp(36px, 6.8vw, 92px));
}

.intro-copy {
  color: var(--black);
  max-width: 640px;
  text-shadow: none;
}

.story-card {
  position: relative;
  min-height: auto;
  padding: clamp(26px, 4vw, 46px);
  overflow: visible;
  border: 2px solid var(--black);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
}

.story-card::before,
.story-card::after {
  display: none;
}

.kicker,
.card-label {
  margin: 0 0 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  padding: 8px 12px;
  color: var(--black);
  background: var(--acid);
  border: 2px solid var(--black);
  box-shadow: 5px 5px 0 var(--black);
}

h1 {
  position: relative;
  z-index: 1;
  margin: clamp(34px, 6.5vh, 58px) 0 0;
  max-width: 520px;
  font-family: "Alternate Gothic No1", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(3.1rem, 4.8vw, 5.15rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: auto;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

h1 span {
  display: block;
}

h1 span:nth-child(1) {
  color: var(--black);
}

h1 span:nth-child(2) {
  color: var(--black);
}

h1 span:nth-child(3) {
  margin-top: 0.08em;
  color: var(--black);
}

.hero-rule {
  position: relative;
  z-index: 1;
  display: block;
  width: min(300px, 72%);
  height: 11px;
  margin-top: clamp(24px, 3.5vh, 34px);
  background: var(--black);
  border-radius: 999px;
}

.hero-rule::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 24px;
  height: 24px;
  background: var(--pink);
  border-radius: 50%;
  transform: translateY(-50%);
}

.lede {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: clamp(24px, 3.4vh, 32px) 0 0;
  color: var(--black);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.12;
}

.lede strong {
  display: inline-block;
  padding: 0 0.18em;
  color: var(--cream);
  background: var(--pink);
  font-weight: 900;
}

.calculator {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  color: var(--black);
  border: 3px solid var(--black);
  box-shadow: 12px 12px 0 var(--black);
  transform: rotate(0.5deg);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.control-block {
  padding: 16px;
  background: #fff8;
  border: 2px solid var(--black);
}

.control-block label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-weight: 900;
}

.control-block strong {
  font-family: "Forma DJR Display", "Arial Narrow", sans-serif;
  font-size: 2rem;
}

input[type="range"] {
  appearance: none;
  width: 100%;
  accent-color: var(--black);
}

.identity-check {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border: 2px solid var(--black);
}

.identity-check legend {
  padding: 0 8px;
  font-weight: 900;
}

.identity-check label {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
}

.identity-check input[type="radio"] {
  appearance: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  background: var(--cream);
  border: 2px solid var(--black);
  border-radius: 50%;
}

.identity-check input[type="radio"]::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--black);
  transform: scale(0);
}

.identity-check input[type="radio"]:checked::before {
  transform: scale(1);
}

.identity-check input[type="radio"]:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.results-panel {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  padding: clamp(20px, 4vw, 54px);
  background: var(--black);
}

.wrapped-card {
  position: relative;
  container-type: inline-size;
  min-height: 310px;
  padding: clamp(26px, 3.1vw, 40px);
  overflow: hidden;
  color: var(--black);
  border-radius: 8px;
}

.wrapped-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 64%;
  aspect-ratio: 1;
  border: 3px solid currentColor;
  border-radius: 50%;
  opacity: 0.4;
}

.main-card::after {
  inset: -18% -9% auto auto;
  width: 44%;
  border-radius: 48% 52% 42% 58%;
  transform: rotate(-12deg);
}

.borrowed-card::after {
  inset: auto auto -26% -18%;
  width: 78%;
  transform: rotate(18deg);
}

.pack-card::after {
  inset: 18px -24% auto auto;
  width: 72%;
  border-radius: 0;
  transform: rotate(8deg);
}

.money-card::after {
  inset: auto -16% -20% auto;
  width: 54%;
  border-color: rgba(5, 5, 5, 0.32);
  border-radius: 44% 56% 38% 62%;
  transform: rotate(24deg);
}

.minutes-card::after {
  inset: -22% auto auto -18%;
  width: 70%;
  transform: rotate(-18deg);
}

.lifetime-card::after {
  inset: auto -16% -30% auto;
  width: 58%;
  border-radius: 0;
  transform: rotate(10deg);
}

.closer-card::after {
  inset: auto 7% -45% auto;
  width: 34%;
  border-radius: 0 999px 999px 0;
  transform: rotate(-7deg);
}

.main-card {
  grid-column: span 7;
  background: var(--green);
}

.borrowed-card {
  grid-column: span 5;
  background: var(--pink);
}

.pack-card {
  grid-column: span 5;
  background: var(--acid);
}

.money-card {
  grid-column: span 4;
  background: var(--blue);
  color: var(--black);
}

.minutes-card {
  grid-column: span 3;
  background: var(--orange);
}

.lifetime-card {
  grid-column: span 5;
  background: var(--pink);
}

.closer-card {
  grid-column: span 12;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cream);
}

.big-number {
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow-wrap: normal;
  font-family: "Alternate Gothic No1", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(7rem, 36vw, 18rem);
  line-height: 0.74;
  letter-spacing: 0;
}

.big-number[data-digits="5"] {
  font-size: clamp(5.8rem, 27vw, 14rem);
}

.big-number[data-digits="6"],
.big-number[data-digits="7"],
.big-number[data-digits="8"] {
  font-size: clamp(4.6rem, 22vw, 11rem);
}

.big-line {
  max-width: 560px;
  margin: 20px 0 0;
  font-size: clamp(1.3rem, 2.6vw, 2.6rem);
  font-weight: 900;
  line-height: 0.98;
}

.stat-pair strong {
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow-wrap: normal;
  display: block;
  font-family: "Alternate Gothic No1", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(5.2rem, 38vw, 10rem);
  line-height: 0.86;
}

.stat-pair strong[data-digits="4"],
.stat-pair strong[data-digits="5"] {
  font-size: clamp(4.4rem, 27vw, 8rem);
}

.stat-pair strong[data-digits="6"],
.stat-pair strong[data-digits="7"],
.stat-pair strong[data-digits="8"] {
  font-size: clamp(3.8rem, 22vw, 7.4rem);
}

.money-card .stat-pair strong,
.lifetime-card .stat-pair strong {
  font-size: clamp(4.2rem, 29vw, 8rem);
}

.money-card .stat-pair strong[data-digits="4"],
.money-card .stat-pair strong[data-digits="5"],
.lifetime-card .stat-pair strong[data-digits="4"],
.lifetime-card .stat-pair strong[data-digits="5"] {
  font-size: clamp(3.8rem, 23vw, 7rem);
}

.money-card .stat-pair strong[data-digits="6"],
.money-card .stat-pair strong[data-digits="7"],
.money-card .stat-pair strong[data-digits="8"],
.lifetime-card .stat-pair strong[data-digits="6"],
.lifetime-card .stat-pair strong[data-digits="7"],
.lifetime-card .stat-pair strong[data-digits="8"] {
  font-size: clamp(3.2rem, 18vw, 6.2rem);
}

.stat-pair span,
.wrapped-card p,
.wrapped-card h2 {
  position: relative;
  z-index: 1;
}

.stat-pair {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(12px, 2.5vw, 22px);
}

.stat-pair span,
.wrapped-card p {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.05;
}

.pack-stack {
  display: grid;
  grid-template-columns: repeat(5, 34px);
  gap: 8px;
  margin: 26px 0;
}

.pack {
  height: 52px;
  background: var(--black);
  border: 2px solid var(--black);
  box-shadow: inset 0 18px 0 var(--cream);
}

.closer-card h2 {
  max-width: 900px;
  margin: 0 0 clamp(16px, 2.2vw, 28px);
  font-family: "Alternate Gothic No1", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(3rem, 8vw, 8.5rem);
  line-height: 0.82;
  text-transform: uppercase;
}

.closer-copy {
  max-width: 760px;
  margin: 0 0 10px;
}

.site-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 14px;
  padding: 0 22px;
  color: var(--white);
  background: var(--pink);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.site-cta:hover,
.site-cta:focus-visible {
  background: var(--black);
  outline: 3px solid rgba(237, 22, 82, 0.28);
  outline-offset: 3px;
}

.reset-button {
  align-self: flex-start;
  min-height: 48px;
  padding: 0 18px;
  color: var(--cream);
  background: var(--black);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

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

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 18px rgba(237, 22, 82, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(5, 5, 5, 0);
  }
}

@media (max-width: 880px) {
  .hero-panel {
    min-height: auto;
  }

  .opening-card {
    min-height: calc(100vh - 40px);
    gap: 30px;
  }

  .audience-picker {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    justify-items: center;
    min-height: auto;
  }

  .story-card {
    width: 100%;
    max-width: 620px;
    min-height: auto;
  }

  .calculator {
    transform: none;
    width: 100%;
    max-width: 620px;
  }

  .brand-row {
    justify-content: flex-start;
  }

  .main-card,
  .borrowed-card,
  .pack-card,
  .money-card,
  .minutes-card,
  .lifetime-card,
  .closer-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .app-shell {
    overflow: hidden;
  }

  .hero-panel {
    min-height: auto;
    padding: 22px 18px 30px;
  }

  .opening-screen {
    padding: 0;
    place-items: stretch;
  }

  .opening-card {
    min-height: 100vh;
    padding: 34px 24px 42px;
    gap: 24px;
    align-content: center;
  }

  .opening-card h1 {
    margin-top: 14px;
    font-size: clamp(4.3rem, 20vw, 6.6rem);
    line-height: 0.86;
  }

  .opening-brand {
    gap: 4px;
    font-size: 1.08rem;
  }

  .opening-brand::before {
    width: 44px;
    height: 18px;
  }

  .opening-dot {
    width: 30px;
    height: 30px;
  }

  .audience-card {
    min-height: 82px;
    padding: 16px 18px;
    box-shadow: 7px 8px 0 rgba(21, 15, 137, 0.78);
  }

  .audience-card span {
    font-size: clamp(2.05rem, 10.5vw, 2.9rem);
  }

  .primary-button {
    width: 100%;
    min-height: 66px;
    margin-top: 0;
    box-shadow: 7px 8px 0 rgba(79, 32, 92, 0.78);
    font-size: clamp(1.95rem, 8.5vw, 2.7rem);
    line-height: 1.05;
  }

  .opening-shape-one {
    width: 82%;
    height: 16%;
  }

  .opening-shape-two {
    left: -34%;
    width: 62%;
    height: 44%;
  }

  .opening-shape-three {
    right: -38%;
    bottom: 12%;
    width: 72%;
    height: 28%;
  }

  .opening-shape-four {
    right: -8%;
    bottom: -16%;
    width: 72%;
    height: 28%;
  }

  .back-button {
    position: relative;
    top: auto;
    right: auto;
    min-height: 40px;
    margin: 0;
  }

  .brand-row {
    max-width: 100%;
    gap: 4px;
    min-height: 34px;
    padding-bottom: 10px;
    font-size: clamp(0.86rem, 4vw, 1rem);
    line-height: 1;
  }

  .pulse-dot {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
  }

  .brand-line {
    left: 9px;
    height: 12px;
    border-bottom-width: 9px;
    border-left-width: 9px;
  }

  .hero-grid {
    gap: 18px;
    padding-top: 0;
  }

  .intro-copy {
    max-width: 100%;
  }

  .story-card {
    min-height: auto;
    padding: 30px 26px 34px;
    border-radius: 8px;
    box-shadow: none;
  }

  h1 {
    max-width: 330px;
    margin-top: 44px;
    font-size: clamp(3rem, 14.2vw, 4.7rem);
    line-height: 1.02;
    overflow-wrap: normal;
  }

  h1 span:nth-child(3) {
    margin-top: 0.08em;
  }

  .lede {
    max-width: 310px;
    margin-top: 24px;
    font-size: 1.12rem;
    line-height: 1.15;
  }

  .hero-rule {
    width: min(220px, 78%);
    height: 9px;
    margin-top: 24px;
  }

  .hero-rule::after {
    right: -10px;
    width: 20px;
    height: 20px;
  }

  .calculator {
    gap: 12px;
    width: 100%;
    padding: 12px;
    border-width: 3px;
    box-shadow: 8px 8px 0 var(--black);
  }

  .control-block {
    padding: 15px 12px;
  }

  .control-block label {
    align-items: flex-start;
    gap: 12px;
  }

  .control-block label span {
    min-width: 0;
    font-size: 1rem;
    line-height: 1.05;
  }

  .control-block strong {
    font-size: 2.1rem;
    line-height: 0.86;
  }

  .identity-check {
    padding: 12px;
  }

  .identity-check legend {
    max-width: calc(100% - 20px);
    font-size: 1rem;
    line-height: 1.05;
  }

  .results-panel {
    gap: 12px;
    padding: 18px;
  }

  .wrapped-card {
    min-height: 260px;
    padding: 24px 20px;
  }

  .big-number {
    font-size: clamp(6.4rem, 34vw, 10.5rem);
  }

  .stat-pair strong {
    font-size: clamp(5rem, 27vw, 8rem);
    line-height: 0.9;
  }

  .money-card .stat-pair strong,
  .lifetime-card .stat-pair strong {
    font-size: clamp(4.6rem, 24vw, 7.2rem);
  }

  .big-number[data-digits="5"],
  .big-number[data-digits="6"],
  .big-number[data-digits="7"],
  .big-number[data-digits="8"] {
    font-size: clamp(4.4rem, 24vw, 8.2rem);
  }

  .stat-pair strong[data-digits="4"],
  .stat-pair strong[data-digits="5"],
  .stat-pair strong[data-digits="6"],
  .stat-pair strong[data-digits="7"],
  .stat-pair strong[data-digits="8"] {
    font-size: clamp(3.6rem, 24vw, 6.8rem);
  }

  .money-card .stat-pair strong[data-digits="4"],
  .money-card .stat-pair strong[data-digits="5"],
  .money-card .stat-pair strong[data-digits="6"],
  .money-card .stat-pair strong[data-digits="7"],
  .money-card .stat-pair strong[data-digits="8"],
  .lifetime-card .stat-pair strong[data-digits="4"],
  .lifetime-card .stat-pair strong[data-digits="5"],
  .lifetime-card .stat-pair strong[data-digits="6"],
  .lifetime-card .stat-pair strong[data-digits="7"],
  .lifetime-card .stat-pair strong[data-digits="8"] {
    font-size: clamp(3rem, 20vw, 6rem);
  }

  .closer-card h2 {
    font-size: clamp(2.75rem, 15vw, 5.2rem);
  }
}

/* Smoking Wrapped v2 redesign */
.calculator-screen {
  min-height: 100vh;
  background:
    linear-gradient(rgba(19, 4, 86, 0.18), rgba(19, 4, 86, 0.18)),
    url("./assets/background-3.jpg") center top / cover,
    #17008d;
}

.hero-panel {
  min-height: auto;
  padding: clamp(32px, 5vw, 68px) clamp(22px, 5vw, 64px) clamp(24px, 4vw, 42px);
  background: transparent;
}

.poster-noise,
.brand-line,
.hero-rule {
  display: none;
}

.hero-grid {
  width: min(1180px, 100%);
  min-height: auto;
  margin: 0 auto;
  grid-template-columns: minmax(360px, 1.08fr) minmax(300px, 0.78fr);
  align-items: start;
  gap: clamp(24px, 3vw, 38px);
}

.story-card {
  min-height: 270px;
  padding: clamp(34px, 4.4vw, 62px);
  overflow: visible;
  color: var(--black);
  background: var(--white);
  border: 0;
  border-radius: 0;
}

.brand-row {
  gap: 4px;
  min-height: auto;
  margin: 0 0 42px clamp(-62px, -4.4vw, -40px);
  padding: 0;
  color: var(--black);
  font-family: "Forma DJR Display", "Arial Narrow", sans-serif;
  font-size: clamp(0.98rem, 1.1vw, 1.16rem);
  line-height: 1;
}

.pulse-dot {
  width: clamp(24px, 2.1vw, 32px);
  height: clamp(24px, 2.1vw, 32px);
  margin-right: 12px;
  animation: none;
}

.brand-row::before {
  content: "";
  width: clamp(46px, 3.6vw, 62px);
  height: clamp(16px, 1.25vw, 22px);
  margin-left: 0;
  background: var(--black);
}

.story-card h1,
.closer-card h2 {
  max-width: none;
  margin: 0;
  font-family: "Alternate Gothic No1", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(5.2rem, 7.6vw, 8.4rem);
  font-weight: 400;
  line-height: 0.78;
  text-transform: uppercase;
}

.story-card h1 span {
  display: inline;
}

.lede {
  max-width: 460px;
  margin-top: 28px;
  color: var(--black);
  font-family: "Forma DJR Display", "Arial Narrow", sans-serif;
  font-size: clamp(1.38rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.calculator {
  gap: 10px;
  padding: clamp(18px, 2.6vw, 28px);
  color: var(--black);
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  box-shadow: none;
  transform: none;
}

.form-actions {
  order: 10;
  justify-content: flex-end;
}

.back-button,
.submit-answers,
.question-link {
  min-height: 36px;
  padding: 0 14px;
  color: var(--white);
  background: var(--pink);
  border: 0;
  border-radius: 0;
  font-family: "Forma DJR Display", "Arial Narrow", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.control-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(68px, 8.5vw, 100px);
  grid-template-areas:
    "label  number"
    "slider number";
  align-items: center;
  overflow: hidden;
  padding: 0;
  color: var(--white);
  background: #514ff2;
  border: 0;
}

.control-block::after {
  display: none;
}

.control-block label {
  display: contents;
}

.control-block label > span {
  grid-area: label;
  align-self: end;
  margin: 18px 20px 0;
  color: var(--white);
  font-family: "Forma DJR Display", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.control-block strong {
  grid-area: number;
  align-self: stretch;
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--white);
  background: #211d6b;
  font-family: "Forma DJR Display", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(2.7rem, 3.7vw, 3.5rem);
  line-height: 1;
}

.control-block input[type="range"] {
  grid-area: slider;
  align-self: start;
  width: auto;
  height: 22px;
  margin: 14px 20px 20px;
  background: transparent;
  accent-color: var(--pink);
  cursor: pointer;
  touch-action: pan-y;
}

.control-block input[type="range"]::-webkit-slider-runnable-track {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--white) 0 var(--range-fill, 50%),
    #211d6b var(--range-fill, 50%) 100%
  );
}

.control-block input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -7.5px;
  background: var(--pink);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(5, 5, 5, 0.28);
}

.control-block input[type="range"]::-moz-range-track {
  height: 9px;
  background: #211d6b;
  border-radius: 999px;
}

.control-block input[type="range"]::-moz-range-progress {
  height: 9px;
  background: var(--white);
  border-radius: 999px;
}

.control-block input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--pink);
  border: 0;
  border-radius: 50%;
}

.results-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px) clamp(22px, 5vw, 64px) clamp(34px, 5vw, 58px);
  background: transparent;
  gap: clamp(16px, 2.2vw, 24px);
}

.wrapped-card {
  min-height: 178px;
  padding: clamp(20px, 2.8vw, 32px);
  color: var(--white);
  border-radius: 0;
}

.wrapped-card::after {
  inset: auto -8% -28% auto;
  width: 34%;
  background: rgba(189, 78, 240, 0.42);
  border: 0;
  border-radius: 50%;
  opacity: 1;
}

.main-card::after {
  inset: -18% -10% auto auto;
  width: 30%;
  background: rgba(107, 105, 255, 0.38);
}

.pack-card::after {
  inset: auto auto -24% -10%;
  width: 42%;
  background: rgba(255, 255, 255, 0.22);
}

.minutes-card::after {
  inset: auto -12% -20% auto;
  width: 42%;
  background: rgba(237, 22, 82, 0.32);
}

.money-card::after {
  inset: -18% auto auto -12%;
  width: 48%;
  background: rgba(255, 114, 80, 0.34);
}

.lifetime-card::after {
  inset: 18% -18% auto auto;
  width: 36%;
  background: rgba(30, 215, 96, 0.28);
}

.main-card,
.pack-card {
  grid-column: span 6;
  min-height: 235px;
  background: #ff7250;
}

.minutes-card {
  grid-column: span 4;
  min-height: 228px;
  background: #514ff2;
}

.money-card,
.lifetime-card {
  grid-column: span 4;
  min-height: 228px;
  background: #514ff2;
  color: var(--white);
}

.closer-card {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(240px, 0.9fr);
  gap: clamp(22px, 4vw, 54px);
  min-height: 180px;
  background: var(--white);
  color: var(--black);
}

.closer-card::after {
  display: none;
}

.card-label,
.big-line,
.wrapped-card p,
.stat-pair span,
.closer-copy {
  font-family: "Forma DJR Display", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.card-label {
  margin-bottom: 12px;
  color: inherit;
  text-transform: none;
}

.big-number,
.stat-pair strong {
  font-family: "Alternate Gothic No1", "Arial Narrow", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.big-number {
  font-size: clamp(8.6rem, 32vw, 17rem);
  line-height: 0.66;
}

.big-line {
  max-width: 260px;
  margin-top: 12px;
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  line-height: 1.05;
}

.stat-pair strong {
  font-size: clamp(6.6rem, 48vw, 12.4rem);
  line-height: 0.78;
}

.stat-pair span,
.wrapped-card p {
  font-size: clamp(1rem, 1.75vw, 1.36rem);
  line-height: 1.12;
}

.pack-stack {
  grid-template-columns: repeat(10, 22px);
  gap: 5px;
  margin: 20px 0;
}

.pack {
  height: 32px;
  background: var(--black);
  border: 2px solid var(--black);
  box-shadow: inset 0 10px 0 var(--white);
}

.closer-body {
  display: grid;
  align-content: center;
  gap: 16px;
}

.closer-copy {
  max-width: 420px;
  margin: 0;
}

.question-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  max-width: 230px;
  min-height: 54px;
  padding: 0 18px;
  font-size: 1rem;
  line-height: 1.12;
}

.questions-panel {
  padding: clamp(28px, 5vw, 68px) clamp(22px, 5vw, 64px) clamp(46px, 6vw, 86px);
  background: transparent;
}

.questions-form {
  position: relative;
  display: grid;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 70px) clamp(36px, 7vw, 84px);
  overflow: hidden;
  color: var(--white);
  background: #ff7250;
  gap: 34px;
  font-family: "Forma DJR Display", "Arial Narrow", sans-serif;
  font-weight: 700;
}

.questions-form::before,
.questions-form::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(112, 63, 63, 0.34);
}

.questions-form::before {
  top: -10%;
  right: -7%;
  width: 36%;
  aspect-ratio: 1;
}

.questions-form::after {
  left: -11%;
  bottom: -13%;
  width: 29%;
  aspect-ratio: 1;
}

.form-brand,
.questions-form fieldset,
.text-question,
.submit-answers,
.submission-status {
  position: relative;
  z-index: 1;
}

.form-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
}

.form-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.form-mark::before {
  content: "";
  width: 52px;
  height: 18px;
  background: var(--black);
}

.form-mark::after {
  content: "";
  width: 28px;
  height: 28px;
  margin-right: 10px;
  background: #ed1652;
  border-radius: 50%;
}

.questions-form h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.questions-form fieldset,
.text-question {
  display: grid;
  gap: 11px;
  max-width: 620px;
  margin: 0;
  padding: 0;
  border: 0;
}

.questions-form legend,
.text-question span {
  margin-bottom: 10px;
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  line-height: 1.16;
}

.questions-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 1rem;
  line-height: 1.18;
}

.questions-form .text-question {
  display: grid;
  width: min(620px, 100%);
}

.questions-form input[type="radio"] {
  appearance: none;
  width: 13px;
  height: 13px;
  margin: 0;
  background: transparent;
  border: 2px solid var(--white);
  border-radius: 0;
}

.questions-form input[type="radio"]:checked {
  background: var(--white);
}

.questions-form input[type="text"] {
  min-height: 36px;
  color: var(--white);
  background: transparent;
  border: 3px solid var(--white);
}

.inline-other input[type="text"] {
  width: 180px;
}

.text-question input {
  width: min(560px, 100%);
}

.submit-answers {
  justify-self: end;
  min-height: 46px;
  background: rgba(116, 58, 54, 0.48);
}

.submit-answers:disabled {
  cursor: wait;
  opacity: 0.72;
}

.submission-status {
  justify-self: end;
  max-width: 420px;
  margin: -14px 0 0;
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: right;
}

@media (hover: none) and (pointer: coarse) {
  .audience-card,
  .primary-button,
  .back-button,
  .submit-answers,
  .question-link {
    min-height: 48px;
  }

  .control-block input[type="range"] {
    height: 34px;
  }

  .control-block input[type="range"]::-webkit-slider-runnable-track {
    height: 12px;
  }

  .control-block input[type="range"]::-webkit-slider-thumb {
    width: 34px;
    height: 34px;
    margin-top: -11px;
  }

  .questions-form label {
    min-height: 34px;
  }

  .questions-form input[type="radio"] {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .opening-card {
    min-height: 100svh;
    padding: clamp(46px, 7vh, 72px) clamp(42px, 6vw, 72px);
    gap: clamp(24px, 4vh, 42px);
  }

  .opening-card h1 {
    font-size: clamp(6.8rem, 11vw, 8.4rem);
  }

  .audience-card {
    min-height: 116px;
  }

  .audience-card span {
    font-size: clamp(3rem, 4.5vw, 3.65rem);
  }

  .hero-panel {
    padding: 30px 28px 20px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(330px, 0.82fr);
    gap: 22px;
  }

  .story-card {
    min-height: 0;
    padding: 34px 38px;
  }

  .brand-row {
    margin-bottom: 28px;
    margin-left: -38px;
  }

  .story-card h1 {
    font-size: clamp(4.8rem, 8.1vw, 6.4rem);
    line-height: 0.8;
  }

  .lede {
    margin-top: 22px;
    font-size: 1.35rem;
  }

  .calculator {
    gap: 8px;
    padding: 16px;
  }

  .control-block {
    grid-template-columns: minmax(0, 1fr) 82px;
  }

  .control-block label > span {
    margin: 15px 16px 0;
    font-size: 1.08rem;
  }

  .control-block strong {
    font-size: 2.75rem;
  }

  .control-block input[type="range"] {
    margin: 10px 16px 16px;
  }

  .results-panel {
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    padding: 22px 28px 38px;
  }

  .main-card,
  .pack-card {
    grid-column: span 6;
    min-height: 266px;
  }

  .minutes-card,
  .money-card,
  .lifetime-card {
    grid-column: span 12;
    min-height: 220px;
  }

  .closer-card {
    grid-column: span 12;
  }

  .card-label {
    margin-bottom: 10px;
    font-size: 1.34rem;
  }

  .big-number {
    font-size: clamp(10rem, 18vw, 13.4rem);
  }

  .big-number[data-digits="5"] {
    font-size: clamp(7.6rem, 14vw, 10.8rem);
  }

  .big-number[data-digits="6"],
  .big-number[data-digits="7"],
  .big-number[data-digits="8"] {
    font-size: clamp(6.8rem, 11.5vw, 9.4rem);
  }

  .big-line {
    max-width: 340px;
    font-size: clamp(1.5rem, 2.7vw, 2.05rem);
  }

  .stat-pair strong {
    font-size: clamp(6.2rem, 13vw, 9rem);
  }

  .stat-pair strong[data-digits="4"],
  .stat-pair strong[data-digits="5"],
  .stat-pair strong[data-digits="6"],
  .stat-pair strong[data-digits="7"],
  .stat-pair strong[data-digits="8"],
  .money-card .stat-pair strong,
  .lifetime-card .stat-pair strong,
  .money-card .stat-pair strong[data-digits],
  .lifetime-card .stat-pair strong[data-digits] {
    font-size: clamp(5.4rem, 11vw, 7.6rem);
  }

  .stat-pair span,
  .wrapped-card p {
    font-size: clamp(1.32rem, 2.5vw, 1.9rem);
  }

  .minutes-card .stat-pair,
  .money-card .stat-pair,
  .lifetime-card .stat-pair {
    display: flex;
    max-width: 520px;
    gap: 10px;
  }

  .minutes-card .stat-pair span,
  .money-card .stat-pair span,
  .lifetime-card .stat-pair span {
    max-width: 520px;
  }

  .pack-stack {
    grid-template-columns: repeat(10, 30px);
    gap: 7px;
    margin: 24px 0;
  }

  .pack {
    height: 46px;
    box-shadow: inset 0 14px 0 var(--white);
  }
}

@media (min-width: 980px) and (max-width: 1180px) {
  .minutes-card,
  .money-card,
  .lifetime-card {
    grid-column: span 4;
    min-height: 270px;
  }

  .minutes-card .stat-pair,
  .money-card .stat-pair,
  .lifetime-card .stat-pair {
    max-width: none;
  }

  .money-card .stat-pair strong,
  .lifetime-card .stat-pair strong,
  .money-card .stat-pair strong[data-digits],
  .lifetime-card .stat-pair strong[data-digits] {
    font-size: clamp(5.2rem, 8.4vw, 6.8rem);
  }

  .minutes-card .stat-pair span,
  .money-card .stat-pair span,
  .lifetime-card .stat-pair span {
    font-size: clamp(1.22rem, 1.9vw, 1.52rem);
    line-height: 1.08;
  }
}

@media (min-width: 761px) and (max-width: 850px) {
  .results-panel {
    gap: 14px;
  }

  .main-card,
  .pack-card {
    min-height: 310px;
    padding: 22px;
  }

  .pack-stack {
    grid-template-columns: repeat(8, 24px);
    gap: 6px;
  }

  .pack {
    height: 38px;
    box-shadow: inset 0 12px 0 var(--white);
  }

  .pack-card p {
    font-size: 1.42rem;
  }
}

@media (max-width: 760px) {
  .hero-grid,
  .closer-card {
    grid-template-columns: 1fr;
  }

  .main-card,
  .pack-card,
  .minutes-card,
  .money-card,
  .lifetime-card,
  .closer-card {
    grid-column: 1 / -1;
  }

  .story-card h1,
  .closer-card h2 {
    font-size: clamp(4rem, 17vw, 6.6rem);
  }

  .calculator {
    width: 100%;
    max-width: none;
  }

  .pack-stack {
    grid-template-columns: repeat(8, 22px);
  }
}

@media (max-width: 520px) {
  .hero-panel,
  .results-panel,
  .questions-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .story-card {
    padding: 30px 28px;
  }

  .brand-row {
    margin: 0 0 28px -46px;
    gap: 4px;
  }

  .story-card h1 {
    font-size: clamp(4.15rem, 18.6vw, 5.85rem);
  }

  .brand-row::before {
    width: 44px;
    height: 16px;
  }

  .pulse-dot {
    width: 24px;
    height: 24px;
  }

  .control-block {
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .control-block label > span {
    margin: 15px 16px 0;
  }

  .control-block input[type="range"] {
    margin: 12px 16px 16px;
  }

  .control-block strong {
    font-size: 2.35rem;
  }

  .wrapped-card {
    min-height: 180px;
  }

  .main-card,
  .pack-card {
    min-height: 220px;
  }

  .big-number {
    font-size: clamp(8rem, 43vw, 11.4rem);
  }

  .questions-form {
    padding: 34px 28px;
    gap: 30px;
  }

  .form-brand {
    margin-left: 0;
  }

  .inline-other {
    flex-wrap: wrap;
  }
}

.pack-stack {
  --pack-width: 22px;
  --pack-height: 32px;
  --pack-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--pack-width), var(--pack-width)));
  align-content: start;
  gap: 5px;
  width: min(100%, calc((var(--pack-width) * 10) + (5px * 9)));
  max-width: 100%;
}

.pack-stack.is-dense {
  --pack-width: 18px;
  --pack-height: 28px;
  --pack-top: 8px;
  gap: 4px;
  width: min(100%, calc((var(--pack-width) * 12) + (4px * 11)));
}

.pack-stack.is-ultra-dense {
  --pack-width: 14px;
  --pack-height: 22px;
  --pack-top: 6px;
  gap: 3px;
  width: min(100%, calc((var(--pack-width) * 16) + (3px * 15)));
}

.pack-stack.is-empty {
  min-height: var(--pack-height);
}

.pack-stack .pack {
  width: var(--pack-width);
  height: var(--pack-height);
  box-shadow: inset 0 var(--pack-top) 0 var(--white);
}

@media (min-width: 761px) and (max-width: 1180px) {
  .pack-stack {
    --pack-width: 30px;
    --pack-height: 46px;
    --pack-top: 14px;
    gap: 7px;
    width: min(100%, calc((var(--pack-width) * 10) + (7px * 9)));
  }

  .pack-stack.is-dense {
    --pack-width: 22px;
    --pack-height: 34px;
    --pack-top: 10px;
    gap: 5px;
    width: min(100%, calc((var(--pack-width) * 14) + (5px * 13)));
  }

  .pack-stack.is-ultra-dense {
    --pack-width: 16px;
    --pack-height: 25px;
    --pack-top: 7px;
    gap: 3px;
    width: min(100%, calc((var(--pack-width) * 18) + (3px * 17)));
  }
}

@media (min-width: 761px) and (max-width: 850px) {
  .pack-stack {
    --pack-width: 24px;
    --pack-height: 38px;
    --pack-top: 12px;
    gap: 6px;
    width: min(100%, calc((var(--pack-width) * 8) + (6px * 7)));
  }

  .pack-stack.is-dense {
    --pack-width: 18px;
    --pack-height: 28px;
    --pack-top: 8px;
    gap: 4px;
    width: min(100%, calc((var(--pack-width) * 12) + (4px * 11)));
  }

  .pack-stack.is-ultra-dense {
    --pack-width: 14px;
    --pack-height: 22px;
    --pack-top: 6px;
    gap: 3px;
    width: min(100%, calc((var(--pack-width) * 14) + (3px * 13)));
  }
}
