:root {
  --ink: #090909;
  --paper: #f7f1e9;
  --paper-deep: #efe5d9;
  --white: #ffffff;
  --cyan: #09abd2;
  --pink: #f70087;
  --yellow: #ffd000;
  --muted: #6e6a66;
  --line: rgba(9, 9, 9, 0.14);
  --danger: #b3261e;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow: 0 28px 85px rgba(74, 48, 21, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: #e9e4de;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: #e9e4de;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
select,
label {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1040px) 210px;
  justify-content: center;
  align-items: start;
  gap: 22px;
  padding: 28px 20px;
}

.app-shell:has(.demo-panel[hidden]) {
  grid-template-columns: minmax(320px, 1040px);
}

.experience {
  position: relative;
  min-height: calc(100vh - 56px);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.experience::after {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  content: "";
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.screen {
  position: relative;
  z-index: 1;
  display: none;
  min-height: calc(100vh - 58px);
}

.screen--active {
  display: block;
}

.brandbar {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 42px 16px;
}

.brand-logo {
  display: block;
  width: 184px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.event-chip {
  padding: 8px 13px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.register-layout {
  display: grid;
  grid-template-columns: minmax(380px, 47%) 1fr;
  min-height: 1030px;
}

.form-column {
  position: relative;
  z-index: 3;
  padding: 26px 34px 54px 52px;
}

.hero-copy {
  max-width: 430px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

h1,
h2 {
  margin: 0;
  font-family: "Arial Black", "Arial Narrow", "Helvetica Neue", sans-serif;
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

h1 {
  font-size: clamp(60px, 6vw, 78px);
}

h1 em,
h2 em {
  color: var(--pink);
  font-style: normal;
}

.cyan-stroke {
  display: block;
  width: 48px;
  height: 5px;
  margin: 30px 0 22px;
  background: var(--cyan);
  border-radius: 999px;
}

.intro {
  max-width: 330px;
  margin: 0;
  font-size: 21px;
  line-height: 1.42;
}

.intro strong {
  color: var(--cyan);
  font-weight: 650;
}

.progress-block {
  max-width: 350px;
  margin-top: 46px;
}

.progress-count {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.progress-count > strong {
  color: var(--cyan);
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-size: 72px;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.progress-count > span {
  font-size: 34px;
  font-weight: 800;
}

.progress-label {
  margin: 12px 0 20px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.35em;
}

.progress-message {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.progress-message strong {
  color: var(--cyan);
  font-size: 19px;
}

.progress-message em {
  color: var(--pink);
  font-style: normal;
  font-weight: 850;
}

.progress-track {
  width: 100%;
  height: 5px;
  margin-top: 16px;
  overflow: hidden;
  background: rgba(9, 9, 9, 0.08);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--cyan);
  border-radius: inherit;
  transition: width 600ms var(--ease-out);
}

.product-stage {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.product-stage::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 110px;
  content: "";
  background: linear-gradient(90deg, var(--paper), transparent);
}

.product-stage img {
  width: 100%;
  height: 100%;
  min-height: 1030px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.96) contrast(1.02);
}

.mobile-product {
  display: none;
}

form {
  max-width: 405px;
  margin-top: 42px;
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  margin: 0 0 7px;
  font-size: 12px;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(9, 9, 9, 0.16);
  border-radius: 11px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.field input::placeholder,
.field select:invalid {
  color: #898681;
}

.field input:focus,
.field select:focus {
  background: var(--white);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(9, 171, 210, 0.14);
}

.field.has-error input,
.field.has-error select,
.field.has-error .phone-control,
.field.has-error .select-control {
  border-color: var(--danger);
}

.phone-control {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(9, 9, 9, 0.16);
  border-radius: 11px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.phone-control:focus-within {
  background: var(--white);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(9, 171, 210, 0.14);
}

.phone-control > span {
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  border-right: 1px solid var(--line);
}

.phone-control input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.phone-control input:focus {
  background: transparent;
  box-shadow: none;
}

.select-control {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(9, 9, 9, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.78);
}

.select-control:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(9, 171, 210, 0.14);
}

.field .select-control select {
  position: relative;
  z-index: 1;
  padding-right: 48px;
  appearance: none;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.select-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transform-origin: center;
  pointer-events: none;
}

.error {
  display: block;
  min-height: 13px;
  padding-top: 3px;
  color: var(--danger);
  font-size: 9px;
}

.consent {
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}

.consent a {
  color: var(--ink);
  font-weight: 800;
}

.primary-button,
.secondary-button {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  transition: transform 150ms var(--ease-out), box-shadow 180ms ease, opacity 180ms ease;
}

.primary-button {
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
  margin-top: 14px;
  padding: 0 16px 0 58px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 12px 24px rgba(171, 133, 0, 0.18);
  font-size: 12px;
}

.primary-button:hover {
  box-shadow: 0 16px 28px rgba(171, 133, 0, 0.24);
  transform: translateY(-2px);
}

.primary-button:active,
.secondary-button:active {
  transform: scale(0.97);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.button-arrow {
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  color: #393735;
  font-size: 10px;
  text-align: center;
}

.form-note__lock {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.reveal {
  animation: reveal 700ms var(--ease-out) both;
}

.reveal--1 {
  animation-delay: 60ms;
}

.reveal--2 {
  animation-delay: 130ms;
}

.reveal--3 {
  animation-delay: 200ms;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.result-screen {
  min-height: 900px;
}

.brandbar--result {
  padding-bottom: 8px;
}

.result-layout {
  display: grid;
  grid-template-columns: 54% 46%;
  min-height: 770px;
  align-items: center;
}

.result-product {
  align-self: stretch;
  margin: 0;
  overflow: hidden;
}

.result-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-copy-block {
  padding: 54px 48px;
}

.result-copy-block h2,
.winner-copy h2 {
  font-size: clamp(56px, 6.6vw, 84px);
}

.result-copy {
  margin: 28px 0;
  color: #4b4844;
  font-size: 17px;
  line-height: 1.55;
}

.claim-code {
  display: flex;
  width: min(100%, 270px);
  align-items: center;
  justify-content: space-between;
  padding: 17px 19px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 8px 8px 0 var(--cyan);
}

.claim-code span {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.claim-code strong {
  font-family: "Arial Black", sans-serif;
  font-size: 32px;
}

.result-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.secondary-button {
  max-width: 270px;
  margin-top: 26px;
  color: var(--white);
  background: var(--ink);
  font-size: 10px;
}

.result-screen--winner {
  color: var(--white);
  background: #050b10;
}

.brandbar--dark .brand-logo {
  padding: 4px;
  background: var(--paper);
  border-radius: 10px;
  mix-blend-mode: normal;
}

.event-chip--light {
  border-color: var(--white);
}

.winner-layout {
  display: grid;
  grid-template-columns: 54% 46%;
  min-height: 790px;
}

.winner-product {
  margin: 0;
  overflow: hidden;
}

.winner-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.winner-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px;
}

.eyebrow--yellow {
  color: var(--yellow);
}

.winner-copy h2 em {
  color: var(--yellow);
}

.winner-copy > p:not(.eyebrow) {
  max-width: 370px;
  margin: 28px 0;
  color: #d4d8db;
  font-size: 16px;
  line-height: 1.55;
}

.winner-seal {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-8deg);
}

.secondary-button--light {
  color: var(--ink);
  background: var(--white);
}

.demo-panel {
  position: sticky;
  top: 28px;
  padding: 18px;
  background: var(--ink);
  border-radius: 18px;
  color: var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.demo-panel[hidden] {
  display: none;
}

.demo-panel__title {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.demo-panel > p:not(.demo-panel__title) {
  color: #bfc2c4;
  font-size: 11px;
  line-height: 1.5;
}

.demo-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
}

.demo-counter span {
  max-width: 80px;
  color: #bfc2c4;
  font-size: 10px;
}

.demo-counter strong {
  color: var(--cyan);
  font-size: 26px;
}

.demo-panel button {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 850;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: minmax(320px, 960px);
  }

  .demo-panel {
    position: fixed;
    right: 16px;
    bottom: 16px;
    top: auto;
    z-index: 20;
    width: 185px;
  }

  .form-column {
    padding-left: 42px;
  }
}

@media (max-width: 760px) {
  .app-shell {
    display: block;
    padding: 0;
  }

  .experience {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .screen {
    min-height: 100vh;
  }

  .brandbar {
    min-height: 94px;
    padding: 17px 20px 8px;
  }

  .brand-logo {
    width: 145px;
    height: 62px;
  }

  .event-chip {
    padding: 6px 9px;
    font-size: 8px;
  }

  .register-layout {
    display: block;
    min-height: auto;
  }

  .form-column {
    padding: 18px 20px 44px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 58px);
  }

  .cyan-stroke {
    margin: 23px 0 18px;
  }

  .intro {
    font-size: 18px;
  }

  .product-stage {
    display: none;
  }

  .mobile-product {
    display: block;
    height: 360px;
    margin: 27px -20px 0;
    overflow: hidden;
  }

  .mobile-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 68%;
  }

  .progress-block {
    margin-top: 30px;
  }

  .progress-count > strong {
    font-size: 64px;
  }

  form {
    max-width: none;
    margin-top: 34px;
  }

  .field input,
  .field select {
    height: 55px;
    font-size: 16px;
  }

  .primary-button {
    min-height: 64px;
    padding-left: 40px;
    font-size: 11px;
  }

  .result-layout,
  .winner-layout {
    display: block;
  }

  .result-product,
  .winner-product {
    height: 410px;
  }

  .result-product img {
    object-position: center 54%;
  }

  .result-copy-block,
  .winner-copy {
    padding: 36px 20px 52px;
  }

  .result-copy-block h2,
  .winner-copy h2 {
    font-size: clamp(52px, 15vw, 68px);
  }

  .demo-panel {
    right: 10px;
    bottom: 10px;
    width: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
