:root {
  color-scheme: light;
  --hind-yellow: #ffd204;
  --hind-black: #000000;
  --hind-white: #ffffff;
  --cool-gray-4: #bdbdbd;
  --cool-gray-8: #8c8d8e;
  --paper: #f7f7f3;
  --ink: #050505;
  --muted: #777a7d;
  --line: #191919;
  --panel: #ffffff;
  --hydra: #7accc8;
  --protect: #b7d660;
  --orange: #f99d3e;
  --danger: #c8302c;
  --shadow: 8px 8px 0 #000000;
  --radius: 6px;
  --headline: Impact, Haettenschweiler, "Arial Narrow Bold", "Roboto Condensed", sans-serif;
  --subhead: "Courier New", Courier, monospace;
  --body: "Avenir Next Condensed", "DIN Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--hind-black);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(180deg, #ffffff 0%, #f5f5f0 54%, #ecece6 100%);
  font-family: var(--body);
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 0 14px max(28px, env(safe-area-inset-bottom));
}

.hero {
  position: relative;
  min-height: 430px;
  margin: 0 -14px;
  overflow: hidden;
  padding: 18px 18px 24px;
  color: var(--hind-white);
  background: var(--hind-black);
  border-bottom: 8px solid var(--hind-yellow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 210, 4, 0.14) 0 16%, transparent 16% 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 28px 28px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -76px;
  bottom: -64px;
  width: 240px;
  height: 240px;
  border: 22px solid rgba(255, 210, 4, 0.92);
  transform: rotate(15deg);
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.brand-rules {
  position: absolute;
  inset: 72px 18px auto;
  height: 132px;
  border-top: 1px dashed rgba(255, 255, 255, 0.44);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.44);
}

.brand-rules span {
  position: absolute;
  display: block;
  height: 24px;
  border-left: 2px solid var(--hind-yellow);
}

.brand-rules span:nth-child(1) {
  left: 0;
  top: -12px;
}

.brand-rules span:nth-child(2) {
  left: 50%;
  top: 54px;
}

.brand-rules span:nth-child(3) {
  right: 0;
  bottom: -12px;
}

.equipment-card {
  position: absolute;
  top: 76px;
  right: -38px;
  width: 266px;
  height: 162px;
  border: 2px solid var(--hind-white);
  background:
    linear-gradient(120deg, rgba(255, 210, 4, 0.18), transparent 46%),
    #121212;
  box-shadow: 10px 10px 0 rgba(255, 210, 4, 0.96);
  transform: rotate(-4deg) scale(0.78);
  transform-origin: top right;
}

.equipment-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.34);
}

.equipment-card__deck {
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 192px;
  height: 45px;
  border: 7px solid var(--hind-white);
  background: var(--hind-black);
  transform: skewX(-14deg);
}

.equipment-card__dash {
  position: absolute;
  right: 42px;
  bottom: 39px;
  width: 112px;
  height: 5px;
  background: var(--hind-yellow);
  transform: skewX(-14deg);
}

.equipment-card__rail {
  position: absolute;
  bottom: 58px;
  width: 7px;
  height: 82px;
  background: var(--hind-white);
  transform-origin: bottom;
}

.equipment-card__rail--left {
  left: 67px;
  transform: rotate(-11deg);
}

.equipment-card__rail--right {
  left: 112px;
  transform: rotate(11deg);
}

.equipment-card__screen {
  position: absolute;
  left: 72px;
  top: 24px;
  width: 58px;
  height: 34px;
  border: 5px solid var(--hind-white);
  background: var(--hind-yellow);
}

.warranty-tag {
  position: absolute;
  left: 18px;
  top: 94px;
  width: 164px;
  padding: 12px;
  color: var(--hind-black);
  background: var(--hind-yellow);
  border: 2px solid var(--hind-black);
  box-shadow: 6px 6px 0 var(--hind-white);
  transform: rotate(3deg) scale(0.82);
  transform-origin: top left;
}

.warranty-tag span,
.warranty-tag strong {
  display: block;
  font-family: var(--headline);
  line-height: 0.96;
  text-transform: uppercase;
}

.warranty-tag span {
  font-size: 25px;
}

.warranty-tag strong {
  font-size: 31px;
}

.brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 4px 0;
  background: transparent;
}

.brand-logo {
  display: block;
  height: 30px;
  width: auto;
}

.hind-wordmark {
  position: relative;
  display: inline-block;
  font-family: var(--headline);
  font-size: 44px;
  line-height: 0.76;
  text-transform: lowercase;
  letter-spacing: 0;
  transform: scaleX(1.34);
  transform-origin: left center;
}

.hind-wordmark::after {
  content: "";
  position: absolute;
  left: 39%;
  top: -12px;
  width: 22px;
  height: 13px;
  background: var(--hind-yellow);
}

.brand-tm {
  margin-left: 30px;
  font-family: var(--subhead);
  font-size: 10px;
  font-weight: 900;
}

.language-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--hind-yellow);
  border-radius: 0;
  color: var(--hind-yellow);
  background: transparent;
  font-family: var(--subhead);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-kicker {
  width: fit-content;
  margin: 116px 0 10px;
  padding: 5px 8px 4px;
  color: var(--hind-black);
  background: var(--hind-yellow);
  font-family: var(--subhead);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  width: min(100%, 386px);
  margin: 0 0 10px;
  color: var(--hind-white);
  font-family: var(--headline);
  font-size: 49px;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p:not(.hero-kicker) {
  width: min(100%, 345px);
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.38;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.58);
}

.benefit-strip span {
  min-width: 0;
  padding: 10px 8px;
  color: var(--hind-white);
  font-family: var(--subhead);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.benefit-strip span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.progress {
  display: flex;
  align-items: center;
  margin: 18px 0;
}

.progress__step {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 2px solid var(--hind-black);
  border-radius: 0;
  color: var(--hind-black);
  background: var(--hind-white);
  font-family: var(--subhead);
  font-size: 13px;
  font-weight: 900;
}

.progress__step.is-active,
.progress__step.is-complete {
  color: var(--hind-black);
  background: var(--hind-yellow);
}

.progress__bar {
  height: 2px;
  flex: 1;
  background: var(--hind-black);
}

.panel {
  display: none;
  position: relative;
  margin: 0 0 18px;
  padding: 24px;
  border: 2px solid var(--hind-black);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 20px;
  width: 70px;
  height: 8px;
  background: var(--hind-yellow);
}

.panel.is-active {
  display: block;
  animation: panel-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel__header {
  margin-bottom: 22px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 8px;
  padding: 3px 6px;
  color: var(--hind-black);
  background: var(--hind-yellow);
  font-family: var(--subhead);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--hind-black);
  font-family: var(--headline);
  font-size: 39px;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel__header p:not(.eyebrow),
.success-panel p,
.final-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.form {
  display: grid;
  gap: 18px;
}

label,
fieldset {
  min-width: 0;
}

label > span,
legend {
  display: block;
  margin-bottom: 9px;
  color: var(--hind-black);
  font-family: var(--subhead);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

b {
  color: var(--danger);
}

input,
select,
textarea {
  width: 100%;
  min-height: 58px;
  border: 2px solid var(--hind-black);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--hind-white);
  outline: 0;
  padding: 0 15px;
  box-shadow: 4px 4px 0 #e5e5df;
  transition: box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

textarea {
  min-height: 152px;
  padding-top: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  background: #fffdf0;
  box-shadow: 4px 4px 0 var(--hind-yellow);
}

small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.checkbox-line {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px dashed var(--cool-gray-8);
  background: #fafaf6;
}

.checkbox-line input {
  width: 20px;
  min-height: 20px;
  margin-top: 1px;
  accent-color: var(--hind-yellow);
}

.checkbox-line span {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}

.form-alert {
  min-height: 20px;
  margin: -4px 0 0;
  color: var(--danger);
  font-family: var(--subhead);
  font-size: 13px;
  font-weight: 900;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--hind-black);
  border-radius: var(--radius);
  font-family: var(--headline);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button {
  color: var(--hind-black);
  background: var(--hind-yellow);
  box-shadow: 6px 6px 0 var(--hind-black);
}

.primary-button:active,
.ghost-button:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--hind-black);
}

/* Submitting state: spinner + dimmed, non-interactive while the request runs. */
.primary-button.is-loading {
  cursor: progress;
  opacity: 0.9;
}

.primary-button.is-loading::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 3px solid rgba(0, 0, 0, 0.3);
  border-top-color: var(--hind-black);
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .primary-button.is-loading::before {
    animation: none;
  }
}

.ghost-button {
  color: var(--hind-black);
  background: var(--hind-white);
  box-shadow: 6px 6px 0 var(--hind-yellow);
}

.success-panel,
.final-panel {
  min-height: 560px;
  text-align: center;
}

.celebration-badge {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  margin: 26px auto 18px;
  place-items: center;
  border: 2px solid var(--hind-black);
  border-radius: 0;
  background: var(--hind-yellow);
  color: var(--hind-black);
  box-shadow: 5px 5px 0 var(--hind-black);
  font-family: var(--headline);
  font-size: 42px;
  font-weight: 900;
  transform: rotate(-3deg);
}

.celebration-badge::before,
.celebration-badge::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 6px;
  background: var(--hydra);
}

.celebration-badge::before {
  left: -28px;
  top: 26px;
  transform: rotate(-34deg);
}

.celebration-badge::after {
  right: -28px;
  bottom: 22px;
  transform: rotate(-34deg);
}

.warranty-card {
  display: grid;
  min-height: 136px;
  margin: 28px auto;
  place-items: center;
  border: 2px solid var(--hind-black);
  border-radius: var(--radius);
  color: var(--hind-black);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.09) 1px, transparent 1px) 0 0 / 14px 14px,
    var(--hind-yellow);
}

.warranty-card span,
.warranty-card strong {
  font-family: var(--headline);
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.warranty-card span {
  font-size: 44px;
}

.warranty-card strong {
  margin-top: -18px;
  font-size: 26px;
}

.choice-group,
.nps-field,
.rating-field {
  padding: 0;
  border: 0;
}

.choice-group {
  display: grid;
  gap: 10px;
}

.choice-group label {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border: 2px solid var(--hind-black);
  border-radius: var(--radius);
  background: #fafaf6;
}

.choice-group input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--hind-yellow);
}

.choice-group span {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  text-transform: none;
}

.nps-scale {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 5px;
}

.nps-option {
  display: grid;
  min-width: 0;
  gap: 7px;
  place-items: center;
  border: 0;
  color: var(--hind-black);
  background: transparent;
  font-family: var(--subhead);
  font-size: 13px;
  font-weight: 900;
}

.nps-option::before {
  content: "";
  width: 100%;
  height: 16px;
  border: 1px solid var(--hind-black);
  background: var(--hind-yellow);
  opacity: 0.52;
}

.nps-option.is-selected::before {
  background: var(--hind-black);
  opacity: 1;
}

.stars {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.star-button {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 2px solid var(--hind-black);
  border-radius: 0;
  color: var(--cool-gray-4);
  background: var(--hind-white);
  font-size: 36px;
  line-height: 1;
}

.star-button.is-selected {
  color: var(--hind-black);
  background: var(--hind-yellow);
}

.conversion-box {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
  padding: 18px;
  border: 2px solid var(--hind-black);
  border-radius: var(--radius);
  background: #fafaf6;
  box-shadow: 5px 5px 0 var(--hind-yellow);
}

.conversion-box strong {
  color: var(--hind-black);
  font-family: var(--subhead);
  font-size: 14px;
  text-transform: uppercase;
}

.conversion-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.support-visual {
  position: relative;
  width: 250px;
  height: 156px;
  margin: 68px auto 34px;
  overflow: hidden;
  border: 2px solid var(--hind-black);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.11) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--hind-yellow);
  box-shadow: 8px 8px 0 var(--hind-black);
}

.support-visual::before {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 42px;
  border-radius: 0;
  background: var(--hind-black);
}

.support-visual span {
  position: absolute;
  display: block;
  border: 2px solid var(--hind-black);
  border-radius: 0;
  background: var(--hind-white);
}

.support-visual span:nth-child(1) {
  left: 48px;
  top: 50px;
  width: 46px;
  height: 46px;
}

.support-visual span:nth-child(2) {
  right: 62px;
  top: 44px;
  width: 52px;
  height: 52px;
}

.support-visual span:nth-child(3) {
  left: 82px;
  bottom: 34px;
  width: 92px;
  height: 18px;
  background: var(--cool-gray-8);
}

.final-panel h2 {
  font-size: 44px;
}

.language-dialog {
  width: min(82vw, 380px);
  border: 2px solid var(--hind-black);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: 8px 8px 0 var(--hind-black);
}

.language-dialog::backdrop {
  background: rgba(0, 0, 0, 0.66);
}

.language-dialog form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--hind-white);
}

.language-dialog h2 {
  color: var(--hind-black);
  font-size: 30px;
}

.language-dialog label {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 38px;
}

.language-dialog input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--hind-yellow);
}

.language-dialog span {
  margin: 0;
}

.language-dialog menu {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 8px 0 0;
  margin: 0;
}

.language-dialog button {
  min-width: 80px;
  min-height: 42px;
  border: 2px solid var(--hind-black);
  border-radius: var(--radius);
  color: var(--hind-black);
  background: var(--hind-white);
  font-family: var(--subhead);
  font-weight: 900;
  text-transform: uppercase;
}

.language-dialog button[value="ok"] {
  background: var(--hind-yellow);
}

/* Compact hero: only the brand row + language switch remain from step 2 on. */
.hero--compact {
  min-height: 0;
  padding: 14px 18px 16px;
}

.hero--compact::before,
.hero--compact::after {
  display: none;
}

.hero--compact .hero__media,
.hero--compact .hero-kicker,
.hero--compact h1,
.hero--compact p:not(.hero-kicker),
.hero--compact .benefit-strip {
  display: none;
}

/* Enlarged, attention-drawing call-to-action (success "Next Step", app CTA). */
.primary-button--xl {
  min-height: 74px;
  font-size: 30px;
  box-shadow: 7px 7px 0 var(--hind-black);
}

.success-panel .primary-button--xl {
  margin-top: 8px;
  animation: cta-attention 1.8s ease-in-out infinite;
}

@keyframes cta-attention {
  0%,
  100% {
    box-shadow: 7px 7px 0 var(--hind-black);
  }

  50% {
    box-shadow: 7px 7px 0 var(--hind-black), 0 0 0 6px rgba(255, 210, 4, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .success-panel .primary-button--xl {
    animation: none;
  }
}

/* Finish-step app download CTA is an anchor, not a button. Two stacked lines. */
.app-cta {
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
  padding: 14px 12px;
  font-size: 25px;
  line-height: 1.05;
  text-decoration: none;
}

/* Real customer-support photo on the finish step. */
.support-photo {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 6px auto 30px;
  object-fit: cover;
  border: 2px solid var(--hind-black);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--hind-black);
}

@media (max-width: 360px) {
  .hero {
    min-height: 420px;
  }

  .hind-wordmark {
    font-size: 38px;
  }

  .brand-lockup {
    min-width: 138px;
  }

  .hero h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .panel {
    padding: 20px;
  }

  .stars {
    gap: 5px;
  }

  .star-button {
    width: 43px;
    height: 43px;
    font-size: 31px;
  }

  .warranty-card span {
    font-size: 38px;
  }

  .warranty-card strong {
    font-size: 23px;
  }
}
