:root {
  color-scheme: dark;
  --navy-950: #071a2b;
  --navy-900: #0b2239;
  --navy-800: #12304c;
  --navy-700: #1a3b5c;
  --yellow-500: #ffc928;
  --yellow-400: #ffd85c;
  --green-500: #64c747;
  --green-400: #7edb5d;
  --white: #ffffff;
  --off-white: #f7f9fb;
  --muted: #9fb0c2;
  --danger: #ff6b6b;
  --line: rgba(255, 255, 255, 0.1);
  --card: rgba(18, 48, 76, 0.88);
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--navy-950);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 50% -18%, rgba(40, 99, 155, 0.42), transparent 33rem),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.app-root {
  min-height: 100vh;
}

.page-frame {
  display: grid;
  min-height: 100vh;
  padding: 18px;
  place-items: center;
}

.funnel-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 480px);
  height: min(860px, calc(100vh - 36px));
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(35, 82, 130, 0.42), transparent 19rem),
    linear-gradient(180deg, #071a2b 0%, #0b2239 100%);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.funnel-shell.from-right .screen-content {
  animation: screenInRight 320ms ease both;
}

.funnel-shell.from-left .screen-content {
  animation: screenInLeft 320ms ease both;
}

.funnel-header {
  flex: 0 0 auto;
  padding: 18px 20px 8px;
}

.header-row {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 44px;
}

.header-row strong {
  justify-self: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.icon-btn,
.round-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #dce9fa;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.icon-btn {
  font-size: 38px;
  line-height: 1;
}

.icon-btn:hover,
.round-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.header-space {
  width: 44px;
}

.step-counter {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.progress-wrap {
  position: relative;
  margin-top: 8px;
  padding-top: 31px;
}

.progress-track {
  height: 8px;
  margin-top: 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(159, 176, 194, 0.22);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-400), var(--yellow-500));
  box-shadow: 0 0 18px rgba(126, 219, 93, 0.45);
  transition: width 360ms ease;
}

.progress-gift {
  position: absolute;
  top: -1px;
  left: clamp(24px, var(--gift-left), calc(100% - 24px));
  width: 38px;
  height: 38px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  font-size: 30px;
  line-height: 1;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.26));
  pointer-events: none;
  animation: giftFloat 2.7s ease-in-out infinite;
}

.question-label {
  margin: 10px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.screen-content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 24px 20px calc(18px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

.screen::-webkit-scrollbar {
  display: none;
}

.center-screen {
  text-align: center;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin: 0 auto 22px;
  max-width: 390px;
  color: var(--off-white);
  text-align: center;
  font-size: clamp(28px, 7.2vw, 34px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
}

h2 {
  margin: 0 auto 12px;
  color: var(--off-white);
  text-align: center;
  font-size: 21px;
  line-height: 1.18;
}

.body-copy,
.helper {
  color: #d9e4f0;
  font-size: 16px;
  line-height: 1.5;
}

.helper {
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.lead-helper {
  margin: -8px auto 18px;
  max-width: 360px;
}

.center-copy {
  text-align: center;
}

.bottom-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.primary-btn {
  color: #102033;
  border: 0;
  background: linear-gradient(180deg, var(--yellow-400), #ffb313);
  box-shadow: none;
}

.secondary-btn {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, #15385a, #102a46);
}

.ghost-btn {
  color: #d9e4f0;
  border: 0;
  background: transparent;
}

.primary-btn:disabled,
.secondary-btn:disabled,
.ghost-btn:disabled {
  cursor: not-allowed;
  filter: grayscale(0.4) brightness(0.72);
  box-shadow: none;
}

.primary-btn:not(:disabled):hover,
.secondary-btn:not(:disabled):hover,
.ghost-btn:not(:disabled):hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.primary-btn:not(:disabled):active,
.secondary-btn:not(:disabled):active,
.ghost-btn:not(:disabled):active,
.choice-card:active,
.language-card:active,
.quiz-option:active,
.pricing-card:active {
  transform: scale(0.98);
}

:focus-visible {
  outline: 3px solid rgba(255, 201, 40, 0.85);
  outline-offset: 3px;
}

.cscs-card {
  position: relative;
  width: min(280px, 80vw);
  height: 158px;
  margin: 22px auto 0;
  transform: rotate(-5deg);
  border: 2px solid rgba(237, 255, 255, 0.72);
  border-radius: 9px;
  background: linear-gradient(160deg, #f4ffff, #a7dfe9);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
}

.float-card {
  animation: floatCard 3.8s ease-in-out infinite;
}

.card-band {
  height: 43px;
  padding: 5px 12px;
  color: #e9fff0;
  border-radius: 6px 6px 0 0;
  background: #2e8f32;
  text-align: left;
  font-size: 30px;
  font-weight: 1000;
}

.card-face {
  position: absolute;
  left: 20px;
  bottom: 22px;
  width: 62px;
  height: 70px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 27%, #071a2b 0 15px, transparent 16px),
    #effbff;
}

.card-lines {
  position: absolute;
  left: 105px;
  top: 68px;
  display: grid;
  gap: 8px;
  width: 105px;
}

.card-lines span {
  height: 8px;
  border-radius: 999px;
  background: rgba(7, 26, 43, 0.55);
}

.card-chip {
  position: absolute;
  right: 20px;
  bottom: 30px;
  width: 36px;
  height: 25px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.36);
}

.shield-check,
.big-shield {
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(160deg, var(--green-400), #2d8c35);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.14), 0 14px 32px rgba(64, 178, 62, 0.35);
  font-weight: 1000;
}

.shield-check {
  position: absolute;
  top: -23px;
  right: -18px;
  width: 78px;
  height: 88px;
  clip-path: polygon(50% 0, 92% 14%, 84% 72%, 50% 100%, 16% 72%, 8% 14%);
  font-size: 43px;
}

.big-shield {
  width: 118px;
  height: 134px;
  margin: 0 auto 22px;
  clip-path: polygon(50% 0, 92% 14%, 84% 72%, 50% 100%, 16% 72%, 8% 14%);
  font-size: 68px;
  animation: shieldPop 700ms cubic-bezier(0.2, 1.35, 0.4, 1) both;
}

.choice-list {
  display: grid;
  gap: 12px;
}

.compact-list {
  gap: 10px;
}

.choice-card,
.language-card,
.quiz-option,
.large-choice,
.review-card,
.summary-card,
.input-label,
.timer-card,
.email-pill,
.handoff-list,
.qr-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.language-screen h1 {
  margin-bottom: 18px;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.language-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  min-height: 68px;
  padding: 10px 12px;
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.language-card.selected {
  border-color: rgba(126, 219, 93, 0.82);
  background: linear-gradient(180deg, rgba(38, 105, 50, 0.96), rgba(31, 91, 44, 0.94));
  box-shadow: 0 0 0 1px rgba(126, 219, 93, 0.24);
}

.language-flag {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 25px;
}

.language-card strong {
  font-size: 15px;
  font-weight: 900;
}

.language-other {
  margin-top: 14px;
}

.language-other input {
  min-width: 0;
}

.choice-card {
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 12px;
  color: var(--white);
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
}

.choice-card.selected,
.large-choice.selected,
.quiz-option.selected {
  border-color: rgba(126, 219, 93, 0.82);
  background: linear-gradient(180deg, rgba(38, 105, 50, 0.96), rgba(31, 91, 44, 0.94));
  box-shadow: 0 0 0 1px rgba(126, 219, 93, 0.24), 0 14px 30px rgba(57, 172, 63, 0.14);
}

.choice-icon,
.large-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--yellow-500), #f49d13);
  color: #102033;
  font-weight: 1000;
}

.choice-text {
  display: grid;
  gap: 4px;
}

.choice-text strong,
.quiz-option strong,
.large-choice strong {
  font-size: 15px;
  line-height: 1.22;
}

.choice-text small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.chevron {
  color: #dce9fa;
  font-size: 30px;
  line-height: 1;
}

.icon-helmet::before { content: "⛑"; }
.icon-tools::before { content: "⚒"; }
.icon-supervisor::before { content: "◕"; }
.icon-briefcase::before { content: "▥"; }
.icon-question::before { content: "?"; }
.icon-brain::before { content: "🧠"; }
.icon-nerves::before { content: "☹"; }
.icon-flag::before { content: "🇬🇧"; }
.icon-clock::before { content: "◴"; }
.icon-target::before { content: "◎"; }
.icon-dots::before { content: "..."; }
.icon-thumb::before { content: "👍"; }
.icon-trophy::before { content: "🏆"; }

.promise-screen .body-copy {
  max-width: 390px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  color: #e3edf8;
  font-size: 15px;
  line-height: 1.35;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(160deg, var(--green-400), #2d8c35);
  font-size: 14px;
  font-weight: 1000;
}

.stagger-list li {
  opacity: 0;
  transform: translateY(8px);
  animation: staggerIn 420ms ease both;
}

.stagger-list li:nth-child(1) { animation-delay: 80ms; }
.stagger-list li:nth-child(2) { animation-delay: 200ms; }
.stagger-list li:nth-child(3) { animation-delay: 320ms; }
.stagger-list li:nth-child(4) { animation-delay: 440ms; }

.crane-scene {
  position: absolute;
  right: -18px;
  bottom: 88px;
  width: 250px;
  height: 160px;
  opacity: 0.2;
  pointer-events: none;
  background:
    linear-gradient(26deg, transparent 0 48%, var(--yellow-500) 49% 51%, transparent 52%),
    linear-gradient(0deg, var(--yellow-500) 0 20%, transparent 20%);
}

.crane-scene span {
  position: absolute;
  bottom: 22px;
  width: 3px;
  background: var(--yellow-500);
}

.crane-scene span:nth-child(1) { left: 52px; height: 90px; }
.crane-scene span:nth-child(2) { left: 128px; height: 116px; }
.crane-scene span:nth-child(3) { left: 203px; height: 72px; }

.accent-pop {
  display: inline-block;
  color: var(--yellow-500);
  animation: accentPop 900ms ease both;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(310px, 100%);
  margin: 8px auto;
  color: #dbe7f4;
  font-size: 14px;
  font-weight: 700;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.legend-dot.yellow {
  background: var(--yellow-500);
}

.legend-dot.grey {
  background: rgba(159, 176, 194, 0.58);
}

.chart-wrap {
  width: min(355px, 100%);
  margin: 22px auto 14px;
}

.readiness-chart {
  width: 100%;
  overflow: visible;
}

.readiness-chart text {
  fill: #c8d6e6;
  font-size: 13px;
  font-weight: 800;
}

.chart-axis {
  fill: none;
  stroke: rgba(220, 233, 250, 0.72);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: drawLine 500ms ease forwards;
}

.chart-axis.y {
  animation-delay: 80ms;
}

.general-line {
  fill: none;
  stroke: rgba(159, 176, 194, 0.8);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 9 9;
  stroke-dashoffset: 260;
  animation: drawLine 900ms ease forwards;
  animation-delay: 220ms;
}

.fast-line {
  fill: none;
  stroke: var(--yellow-500);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  animation: drawLine 1.1s ease forwards;
  animation-delay: 520ms;
}

.start-dot {
  fill: var(--green-400);
}

.ready-dot {
  fill: var(--green-500);
  opacity: 0;
  filter: drop-shadow(0 0 12px rgba(126, 219, 93, 0.9));
  animation: dotPulse 1.5s ease forwards;
  animation-delay: 1.45s;
}

.ready-label {
  opacity: 0;
  animation: fadeUp 500ms ease forwards;
  animation-delay: 1.6s;
}

.large-choices {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.large-choice {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 94px;
  padding: 18px;
  color: var(--white);
  border-radius: 18px;
  text-align: left;
  cursor: pointer;
}

.large-icon {
  width: 52px;
  height: 52px;
  background: transparent;
  font-size: 34px;
}

.quiz-screen h1 {
  margin-bottom: 12px;
  font-size: clamp(24px, 6vw, 29px);
}

.answer-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.quiz-option {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px;
  color: var(--white);
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
}

.box,
.radio {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(205, 222, 242, 0.75);
  color: var(--white);
  font-size: 14px;
  font-weight: 1000;
}

.box {
  border-radius: 6px;
}

.radio {
  border-radius: 999px;
}

.score-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 188px;
  height: 188px;
  margin: 14px auto 26px;
  border-radius: 999px;
  background:
    radial-gradient(circle, #071a2b 0 58%, transparent 59%),
    conic-gradient(var(--green-500) calc(var(--score) * 120deg), rgba(96, 127, 161, 0.35) 0);
  box-shadow: 0 0 38px rgba(100, 199, 71, 0.16);
  animation: scoreIn 800ms cubic-bezier(0.2, 1.1, 0.3, 1) both;
}

.score-ring span {
  font-size: 48px;
  font-weight: 1000;
}

.mini-confetti,
.particle-field {
  position: absolute;
  inset: 12px 20px auto;
  height: 220px;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 30%, var(--green-400) 0 3px, transparent 4px),
    radial-gradient(circle at 21% 7%, var(--yellow-500) 0 3px, transparent 4px),
    radial-gradient(circle at 75% 18%, #ff9f1a 0 3px, transparent 4px),
    radial-gradient(circle at 91% 42%, var(--green-500) 0 3px, transparent 4px),
    radial-gradient(circle at 52% 72%, var(--yellow-400) 0 2px, transparent 3px);
  animation: confetti 2.2s ease-in-out infinite;
}

.celebration {
  margin-top: 10px;
  color: var(--yellow-500);
  font-size: 36px;
  animation: bob 1.5s ease-in-out infinite;
}

.workers-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 190px;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(5, 17, 30, 0.08), rgba(5, 17, 30, 0.48)),
    linear-gradient(180deg, #9cd3ee, #28506d);
}

.workers-photo span {
  position: relative;
  width: 58px;
  height: 140px;
  margin-left: -8px;
  border-radius: 28px 28px 10px 10px;
  background:
    radial-gradient(circle at 50% 25px, #e6b48d 0 20px, transparent 21px),
    linear-gradient(var(--yellow-500) 0 25px, transparent 26px),
    linear-gradient(90deg, #e8eef3 0 46%, var(--green-500) 46% 60%, #e8eef3 60%);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
}

.workers-photo span:nth-child(2),
.workers-photo span:nth-child(4) {
  height: 158px;
}

.workers-photo span:nth-child(3) {
  background:
    radial-gradient(circle at 50% 25px, #6b3f2e 0 20px, transparent 21px),
    linear-gradient(#f5f8fb 0 25px, transparent 26px),
    linear-gradient(90deg, #263f5d 0 46%, var(--yellow-500) 46% 60%, #263f5d 60%);
}

.review-card {
  padding: 16px;
  border-radius: 18px;
}

.stars {
  margin-bottom: 8px;
  color: var(--yellow-500);
  letter-spacing: 2px;
  font-size: 18px;
}

.review-card p {
  color: #e3edf8;
  font-size: 16px;
  line-height: 1.45;
}

.review-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  text-align: right;
  font-size: 13px;
}

.carousel-controls {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.round-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  font-size: 34px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.dots button.active {
  width: 22px;
  background: var(--white);
}

.text-area {
  width: 100%;
  min-height: 120px;
  margin-top: 16px;
  padding: 16px;
  resize: vertical;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(18, 48, 76, 0.88);
  outline: none;
}

.notes-area {
  min-height: 210px;
}

.text-area::placeholder,
input::placeholder {
  color: rgba(207, 221, 237, 0.52);
}

.build-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.build-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  color: #dce8f6;
  font-size: 15px;
}

.build-list li span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 3px solid rgba(220, 233, 250, 0.32);
}

.build-list li.active span {
  border-top-color: var(--white);
  animation: spin 900ms linear infinite;
}

.build-list li.done span {
  border-color: var(--green-500);
  background: var(--green-500);
}

.build-list li.done span::before {
  content: "✓";
  font-weight: 1000;
}

.builder-progress {
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.builder-progress > span {
  height: 15px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(159, 176, 194, 0.25);
}

.builder-progress > span::before {
  content: "";
  display: block;
  width: inherit;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-400), var(--yellow-500));
}

.builder-progress b {
  color: #dce8f6;
  font-size: 14px;
}

.compact-review {
  margin-top: auto;
}

.mail-icon {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 24px auto 28px;
  border-radius: 999px;
  border: 1px solid rgba(155, 192, 235, 0.24);
  background: radial-gradient(circle, rgba(48, 94, 148, 0.76), rgba(18, 48, 76, 0.9));
}

.mail-icon::before {
  content: "";
  width: 50px;
  height: 34px;
  border: 4px solid #adc3dc;
  border-radius: 5px;
  background:
    linear-gradient(145deg, transparent 45%, #adc3dc 46% 53%, transparent 54%),
    linear-gradient(35deg, transparent 45%, #adc3dc 46% 53%, transparent 54%);
}

.input-label {
  display: grid;
  gap: 9px;
  width: 100%;
  margin-top: 28px;
  padding: 14px;
  border-radius: 18px;
  text-align: left;
}

.input-label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.input-label input {
  width: 100%;
  height: 42px;
  color: var(--white);
  border: 0;
  background: transparent;
  outline: none;
  font-size: 18px;
}

.form-error {
  margin-top: 10px;
  color: var(--danger);
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}

.secure-note::before {
  content: "🔒 ";
}

.summary-card {
  display: grid;
  gap: 11px;
  margin-bottom: 22px;
  padding: 16px;
  border-radius: 18px;
}

.summary-card div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.summary-card span {
  color: var(--muted);
}

.summary-card strong {
  text-align: right;
}

.bolt-list li::before {
  content: "⚡";
  color: #102033;
  background: var(--yellow-500);
}

.discount-screen h1 {
  color: var(--yellow-500);
}

.discount-badge {
  display: grid;
  justify-items: center;
  margin: 46px auto 34px;
  color: #102033;
  filter: drop-shadow(0 18px 26px rgba(255, 201, 40, 0.24));
  animation: discountReveal 850ms cubic-bezier(0.2, 1.3, 0.35, 1) both;
}

.discount-badge span {
  color: transparent;
  background: linear-gradient(180deg, #fff2a0, var(--yellow-500) 58%, #ee8f0a);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 112px;
  line-height: 0.82;
  font-weight: 1000;
}

.discount-badge strong {
  justify-self: end;
  margin-top: -4px;
  padding: 4px 9px;
  border: 4px solid #071a2b;
  border-radius: 9px;
  background: var(--yellow-500);
  font-size: 28px;
  line-height: 1;
}

.compact-benefits {
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 14px 0 16px;
}

.compact-benefits li {
  padding-left: 30px;
  font-size: 13px;
}

.compact-benefits li::before {
  width: 21px;
  height: 21px;
  font-size: 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.pricing-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  min-height: 150px;
  padding: 18px 6px 10px;
  color: var(--white);
  border: 2px solid rgba(160, 190, 226, 0.28);
  border-radius: 16px;
  background: rgba(18, 48, 76, 0.9);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pricing-card.selected {
  min-height: 172px;
  border-color: var(--yellow-500);
  box-shadow: 0 0 28px rgba(255, 201, 40, 0.18);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 6px;
  right: 6px;
  padding: 4px 2px;
  color: #102033;
  border-radius: 7px 7px 0 0;
  background: var(--yellow-500);
  font-size: 8px;
  font-weight: 1000;
}

.pricing-card b {
  font-size: 13px;
}

.pricing-card strong {
  font-size: 31px;
  line-height: 1;
}

.pricing-card del {
  color: var(--muted);
  font-size: 12px;
}

.pricing-card em {
  padding: 4px 6px;
  color: var(--white);
  border-radius: 6px;
  background: #3ea83a;
  font-size: 10px;
  font-style: normal;
  font-weight: 1000;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.email-pill {
  margin: 18px auto;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--yellow-400);
  font-size: 15px;
  font-weight: 900;
}

.handoff-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 16px;
  border-radius: 18px;
  list-style: none;
}

.handoff-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 12px;
  color: #e3edf8;
  font-size: 15px;
  line-height: 1.3;
}

.handoff-list span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #102033;
  border-radius: 999px;
  background: var(--yellow-500);
  font-weight: 1000;
}

.qr-card {
  display: none;
  width: 110px;
  height: 110px;
  margin: 10px auto 0;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #fff 0 16%, transparent 16% 30%, #fff 30% 45%, transparent 45%),
    linear-gradient(#fff 0 18%, transparent 18% 36%, #fff 36% 52%, transparent 52%),
    #071a2b;
}

@media (min-width: 760px) {
  .qr-card {
    display: block;
  }
}

@media (max-width: 520px) {
  .page-frame {
    padding: 0;
    place-items: stretch;
  }

  .funnel-shell {
    width: 100%;
    height: 100dvh;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .funnel-header {
    padding: calc(10px + env(safe-area-inset-top)) 18px 8px;
  }

  .screen {
    padding: 20px 18px calc(16px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 370px) {
  h1 {
    font-size: 26px;
  }

  .choice-text strong,
  .quiz-option strong {
    font-size: 14px;
  }

  .choice-card {
    min-height: 64px;
  }

  .pricing-grid {
    gap: 6px;
  }

  .pricing-card strong {
    font-size: 25px;
  }
}

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

@keyframes screenInRight {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes screenInLeft {
  from {
    opacity: 0;
    transform: translateX(-22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatCard {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-8px); }
}

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

@keyframes accentPop {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1);
  }
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes dotPulse {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  35% {
    opacity: 1;
    transform: scale(1.3);
  }
  60% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scoreIn {
  from {
    opacity: 0;
    transform: scale(0.85) rotate(-18deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes confetti {
  0%, 100% {
    opacity: 0.65;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(9px);
  }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

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

@keyframes shieldPop {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes discountReveal {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes giftFloat {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -4px);
  }
}

/* Refined compact visual system */
:root {
  --card: rgba(16, 42, 68, 0.82);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

body {
  background: linear-gradient(180deg, #071a2b 0%, #0a2035 100%);
}

.page-frame {
  padding: 12px;
}

.funnel-shell {
  width: min(100%, 448px);
  height: min(800px, calc(100vh - 24px));
  min-height: 600px;
  border-radius: 24px;
  background: linear-gradient(180deg, #092038 0%, #071a2b 100%);
  box-shadow: var(--shadow);
}

.funnel-shell.from-right .screen-content {
  animation: screenInRight 260ms cubic-bezier(0.22, 0.8, 0.24, 1) both;
}

.funnel-shell.from-left .screen-content {
  animation: screenInLeft 260ms cubic-bezier(0.22, 0.8, 0.24, 1) both;
}

.funnel-header {
  padding: 12px 18px 6px;
}

.header-row {
  min-height: 38px;
}

.header-row strong {
  font-size: 13px;
  font-weight: 850;
}

.step-counter {
  display: none;
}

.icon-btn,
.round-btn {
  width: 38px;
  height: 38px;
}

.icon-btn {
  font-size: 34px;
}

.progress-wrap {
  margin-top: 4px;
  padding-top: 31px;
}

.progress-track {
  height: 7px;
  margin-top: 0;
  background: rgba(159, 176, 194, 0.18);
}

.progress-track span {
  background: linear-gradient(90deg, #72d755, #ffc928);
  box-shadow: none;
}

.question-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 750;
}

.screen {
  padding: 18px 18px calc(14px + env(safe-area-inset-bottom));
}

h1 {
  max-width: 360px;
  margin-bottom: 17px;
  font-size: clamp(23px, 6.2vw, 29px);
  line-height: 1.12;
  font-weight: 850;
}

h2 {
  font-size: 18px;
  font-weight: 820;
}

.body-copy,
.helper {
  font-size: 14px;
  line-height: 1.45;
}

.lead-helper {
  margin: -4px auto 14px;
}

.bottom-actions {
  gap: 10px;
  padding-top: 14px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  min-height: 50px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 850;
}

.primary-btn {
  background: linear-gradient(180deg, #ffd85c, #ffc01f);
  box-shadow: 0 4px 0 rgba(128, 82, 0, 0.42);
}

.secondary-btn,
.choice-card,
.quiz-option,
.large-choice,
.review-card,
.summary-card,
.input-label,
.email-pill,
.handoff-list,
.qr-card {
  background: rgba(18, 48, 76, 0.72);
  box-shadow: none;
}

.primary-btn:not(:disabled):hover,
.secondary-btn:not(:disabled):hover,
.ghost-btn:not(:disabled):hover {
  transform: translateY(-1px);
}

.cscs-card {
  width: min(236px, 72vw);
  height: 134px;
  margin-top: 12px;
  border-width: 1px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.card-band {
  height: 36px;
  font-size: 25px;
}

.card-face {
  left: 17px;
  bottom: 18px;
  width: 52px;
  height: 58px;
}

.card-lines {
  left: 88px;
  top: 57px;
  gap: 7px;
  width: 92px;
}

.card-chip {
  right: 17px;
  bottom: 25px;
  width: 31px;
  height: 22px;
}

.shield-check {
  top: -18px;
  right: -14px;
  width: 64px;
  height: 72px;
  font-size: 35px;
}

.big-shield {
  width: 88px;
  height: 100px;
  margin-bottom: 14px;
  font-size: 50px;
  box-shadow: none;
}

.choice-list {
  gap: 9px;
}

.compact-list {
  gap: 8px;
}

.choice-card {
  grid-template-columns: 38px 1fr 18px;
  gap: 10px;
  min-height: 58px;
  padding: 9px 10px;
  border-radius: 13px;
}

.choice-card.selected,
.large-choice.selected,
.quiz-option.selected {
  border-color: rgba(126, 219, 93, 0.75);
  background: rgba(47, 116, 54, 0.9);
  box-shadow: none;
}

.choice-icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(255, 201, 40, 0.14);
  border: 1px solid rgba(255, 201, 40, 0.42);
  color: var(--yellow-500);
}

.choice-icon::before,
.choice-icon::after,
.large-icon::before,
.large-icon::after {
  position: absolute;
  content: "";
}

.choice-text strong,
.quiz-option strong,
.large-choice strong {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 760;
}

.choice-text small {
  font-size: 11px;
}

.chevron {
  font-size: 24px;
  opacity: 0.72;
}

.icon-helmet::before {
  left: 8px;
  top: 10px;
  width: 18px;
  height: 12px;
  border-radius: 14px 14px 4px 4px;
  background: currentColor;
}

.icon-helmet::after {
  left: 6px;
  top: 20px;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.icon-tools::before {
  left: 10px;
  top: 9px;
  width: 4px;
  height: 20px;
  border-radius: 3px;
  background: currentColor;
  transform: rotate(42deg);
}

.icon-tools::after {
  left: 20px;
  top: 9px;
  width: 4px;
  height: 20px;
  border-radius: 3px;
  background: currentColor;
  transform: rotate(-42deg);
}

.icon-supervisor::before,
.icon-briefcase::before,
.icon-question::before,
.icon-brain::before,
.icon-nerves::before,
.icon-flag::before,
.icon-clock::before,
.icon-target::before,
.icon-dots::before,
.icon-thumb::before,
.icon-trophy::before {
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 900;
  color: currentColor;
}

.icon-supervisor::before { content: "SV"; }
.icon-briefcase::before { content: "M"; }
.icon-question::before { content: "?"; font-size: 19px; }
.icon-brain::before { content: "R"; }
.icon-nerves::before { content: "!"; font-size: 20px; }
.icon-flag::before { content: "EN"; font-size: 13px; }
.icon-clock::before { content: "15"; font-size: 13px; }
.icon-target::before { content: "•"; font-size: 28px; }
.icon-dots::before { content: "..."; }

.large-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(255, 201, 40, 0.13);
  border: 1px solid rgba(255, 201, 40, 0.42);
  color: var(--yellow-500);
  font-size: 0;
}

.icon-thumb::before { content: "OK"; font-size: 14px; }
.icon-trophy::before { content: "A+"; font-size: 15px; }

.check-list {
  gap: 10px;
  margin: 18px 0;
}

.check-list li {
  padding-left: 30px;
  font-size: 14px;
}

.check-list li::before {
  width: 21px;
  height: 21px;
  font-size: 12px;
}

.crane-scene,
.mini-confetti,
.particle-field,
.celebration {
  opacity: 0.22;
}

.crane-scene {
  bottom: 70px;
  width: 190px;
  height: 120px;
}

.legend-row {
  width: min(285px, 100%);
  margin: 5px auto;
  font-size: 13px;
}

.legend-dot {
  width: 11px;
  height: 11px;
}

.chart-wrap {
  width: min(305px, 100%);
  margin: 14px auto 10px;
}

.readiness-chart text {
  font-size: 11px;
  font-weight: 700;
}

.chart-axis {
  stroke-width: 2;
  animation-duration: 420ms;
}

.general-line {
  stroke-width: 4;
  animation-duration: 760ms;
}

.fast-line {
  stroke-width: 7;
  animation-duration: 900ms;
}

.large-choices {
  gap: 10px;
  margin-top: 14px;
}

.large-choice {
  grid-template-columns: 44px 1fr;
  gap: 12px;
  min-height: 72px;
  padding: 13px;
  border-radius: 14px;
}

.quiz-screen h1 {
  font-size: clamp(20px, 5.2vw, 24px);
  line-height: 1.18;
}

.answer-list {
  gap: 8px;
  margin-top: 8px;
}

.quiz-option {
  grid-template-columns: 25px 1fr;
  gap: 10px;
  min-height: 50px;
  padding: 10px;
  border-radius: 12px;
}

.box,
.radio {
  width: 21px;
  height: 21px;
  border-width: 1.5px;
  font-size: 12px;
}

.score-ring {
  width: 142px;
  height: 142px;
  margin: 8px auto 18px;
  box-shadow: none;
}

.score-ring span {
  font-size: 36px;
}

.workers-photo {
  height: 136px;
  margin-bottom: 12px;
  border-radius: 15px;
}

.workers-photo span {
  width: 44px;
  height: 108px;
}

.workers-photo span:nth-child(2),
.workers-photo span:nth-child(4) {
  height: 120px;
}

.review-card {
  padding: 13px;
  border-radius: 14px;
}

.stars {
  margin-bottom: 6px;
  font-size: 14px;
}

.review-card p {
  font-size: 14px;
  line-height: 1.38;
}

.review-card small {
  margin-top: 8px;
  font-size: 12px;
}

.carousel-controls {
  grid-template-columns: 40px 1fr 40px;
  margin-top: 10px;
}

.round-btn {
  width: 38px;
  height: 38px;
  font-size: 28px;
}

.text-area {
  min-height: 104px;
  margin-top: 12px;
  padding: 13px;
  border-radius: 14px;
}

.notes-area {
  min-height: 154px;
}

.build-list {
  gap: 11px;
  margin: 14px 0 18px;
}

.build-list li {
  grid-template-columns: 25px 1fr;
  font-size: 14px;
}

.build-list li span {
  width: 23px;
  height: 23px;
  border-width: 2px;
}

.builder-progress {
  margin-bottom: 18px;
}

.mail-icon {
  width: 74px;
  height: 74px;
  margin: 10px auto 18px;
}

.mail-icon::before {
  width: 38px;
  height: 26px;
  border-width: 3px;
}

.input-label {
  margin-top: 18px;
  padding: 12px;
  border-radius: 14px;
}

.input-label input {
  height: 38px;
  font-size: 16px;
}

.summary-card {
  gap: 8px;
  margin-bottom: 16px;
  padding: 13px;
  border-radius: 14px;
}

.summary-card div {
  font-size: 13px;
}

.discount-badge {
  margin: 26px auto 22px;
  filter: none;
}

.discount-badge span {
  font-size: 86px;
}

.discount-badge strong {
  font-size: 22px;
  border-width: 3px;
}

.compact-benefits {
  gap: 6px;
  margin: 10px 0 12px;
}

.compact-benefits li {
  padding-left: 26px;
  font-size: 12px;
}

.compact-benefits li::before {
  width: 18px;
  height: 18px;
  font-size: 10px;
}

.pricing-grid {
  gap: 7px;
}

.pricing-card {
  min-height: 118px;
  gap: 4px;
  padding: 15px 5px 8px;
  border-radius: 13px;
}

.pricing-card.selected {
  min-height: 134px;
  box-shadow: none;
}

.pricing-card b {
  font-size: 12px;
}

.pricing-card strong {
  font-size: 27px;
}

.pricing-card del {
  font-size: 11px;
}

.pricing-card em {
  padding: 3px 5px;
  font-size: 9px;
}

.plan-badge {
  top: -10px;
  left: 5px;
  right: 5px;
  padding: 3px 2px;
  font-size: 7px;
}

.email-pill {
  margin: 12px auto;
  padding: 9px 13px;
  font-size: 13px;
}

.handoff-list {
  gap: 9px;
  margin: 12px 0;
  padding: 13px;
  border-radius: 14px;
}

.handoff-list li {
  grid-template-columns: 26px 1fr;
  font-size: 14px;
}

.handoff-list span {
  width: 24px;
  height: 24px;
}

@media (max-width: 520px) {
  .funnel-shell {
    height: 100dvh;
    min-height: 100vh;
  }

  .funnel-header {
    padding: calc(8px + env(safe-area-inset-top)) 18px 6px;
  }

  .screen {
    padding: 16px 18px calc(12px + env(safe-area-inset-bottom));
  }
}

@media (max-height: 760px) {
  h1 {
    font-size: clamp(21px, 5.4vw, 26px);
    margin-bottom: 13px;
  }

  .funnel-header {
    padding-top: 8px;
  }

  .screen {
    padding-top: 13px;
  }

  .cscs-card {
    width: min(210px, 68vw);
    height: 119px;
  }

  .workers-photo {
    height: 116px;
  }

  .discount-badge span {
    font-size: 74px;
  }
}

@media (max-width: 360px), (max-height: 690px) {
  .funnel-header {
    padding-top: 6px;
  }

  .header-row {
    min-height: 34px;
  }

  .progress-track {
    height: 6px;
    margin-top: 0;
  }

  .progress-wrap {
    margin-top: 2px;
    padding-top: 27px;
  }

  .progress-gift {
    width: 34px;
    height: 34px;
    font-size: 27px;
  }

  .question-label {
    margin-top: 5px;
    font-size: 11px;
  }

  .screen {
    padding: 11px 14px calc(10px + env(safe-area-inset-bottom));
  }

  h1 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.12;
  }

  .quiz-screen h1 {
    margin-bottom: 7px;
    font-size: 17px;
    line-height: 1.15;
  }

  .lead-helper {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .answer-list {
    gap: 6px;
    margin-top: 5px;
  }

  .quiz-option {
    min-height: 41px;
    padding: 7px 8px;
    border-radius: 10px;
  }

  .quiz-option strong {
    font-size: 11.5px;
    line-height: 1.12;
  }

  .box,
  .radio {
    width: 18px;
    height: 18px;
  }

  .bottom-actions {
    padding-top: 9px;
  }

  .check-list {
    gap: 7px;
    margin: 11px 0;
  }

  .check-list li {
    padding-left: 24px;
    font-size: 12px;
  }

  .check-list li::before {
    width: 17px;
    height: 17px;
    font-size: 10px;
  }

  .summary-card {
    gap: 6px;
    margin-bottom: 10px;
    padding: 10px;
  }

  .summary-card div {
    font-size: 11.5px;
  }

  .big-shield {
    width: 70px;
    height: 80px;
    margin-bottom: 9px;
    font-size: 40px;
  }

  .compact-benefits {
    gap: 4px;
    margin: 7px 0 8px;
  }

  .compact-benefits li {
    padding-left: 22px;
    font-size: 11px;
  }

  .compact-benefits li::before {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .pricing-grid {
    gap: 5px;
  }

  .pricing-card {
    min-height: 102px;
    padding: 13px 4px 6px;
  }

  .pricing-card.selected {
    min-height: 114px;
  }

  .pricing-card b {
    font-size: 10.5px;
  }

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

  .pricing-card del {
    font-size: 10px;
  }

  .pricing-card em {
    font-size: 8px;
  }

  .plan-badge {
    font-size: 6px;
  }
}

/* Screen-specific refinements */
.funnel-shell,
.primary-btn,
.secondary-btn,
.ghost-btn,
.choice-card,
.language-card,
.quiz-option,
.large-choice,
.review-card,
.summary-card,
.input-label,
.text-area,
.email-pill,
.handoff-list,
.pricing-card,
.workers-photo,
.discount-timer,
.builder-stage-card {
  border-radius: var(--radius);
}

.screen-content[data-step="1"] .screen {
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto;
  align-items: center;
}

.screen-content[data-step="1"] h1 {
  align-self: end;
  margin-bottom: 0;
}

.screen-content[data-step="1"] .cscs-card {
  align-self: center;
  width: min(330px, 86vw);
  height: 186px;
  margin: 0 auto;
}

.screen-content[data-step="1"] .card-band {
  height: 48px;
  font-size: 32px;
}

.screen-content[data-step="1"] .card-face {
  width: 68px;
  height: 78px;
}

.screen-content[data-step="1"] .card-lines {
  left: 116px;
  top: 78px;
  width: 130px;
}

.screen-content[data-step="1"] .shield-check {
  width: 82px;
  height: 92px;
  font-size: 46px;
}

.screen-content[data-step="1"] .bottom-actions {
  align-self: start;
  padding-top: 10px;
}

.sequence-item {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 440ms ease forwards;
}

.sequence-item:nth-child(1) {
  animation-delay: 70ms;
}

.sequence-item:nth-child(2) {
  animation-delay: 260ms;
}

.promise-screen h1 {
  font-size: clamp(28px, 7vw, 36px);
}

.promise-screen .body-copy {
  font-size: 17px;
  line-height: 1.5;
}

.promise-list {
  gap: 16px;
  margin-top: 28px;
}

.promise-list li {
  padding-left: 42px;
  font-size: 21px;
  font-weight: 850;
}

.promise-list li::before {
  width: 30px;
  height: 30px;
  font-size: 17px;
}

.workers-photo {
  height: 180px;
  margin: 0 0 14px;
  background:
    linear-gradient(180deg, rgba(7, 26, 43, 0.04), rgba(7, 26, 43, 0.32)),
    url("./review-workers.jpg") 53% 35% / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.workers-photo span,
.workers-photo::before {
  display: none;
}

.builder-screen {
  justify-content: center;
}

.builder-stage-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(100%, 560px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 35, 58, 0.62);
}

.builder-stage-card h1 {
  margin-bottom: 24px;
}

.builder-progress > span::before {
  display: none;
}

.builder-progress > span {
  position: relative;
}

.builder-progress > span i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-400), var(--yellow-500));
  transition: width 900ms cubic-bezier(0.22, 0.8, 0.24, 1);
}

.build-list li {
  min-height: 32px;
}

.build-list li span {
  transition: background 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.build-list li.done span {
  transform: scale(1.02);
}

.compact-review {
  margin-top: 24px;
}

.discount-screen {
  color: #071a2b;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.85), transparent 0 145px, rgba(255, 255, 255, 0.14) 146px, transparent 280px),
    linear-gradient(160deg, #ffd85c 0%, #ffba20 34%, #68cf4c 100%);
  overflow: hidden;
}

.discount-screen h1,
.discount-screen .body-copy,
.discount-kicker {
  color: #071a2b;
}

.discount-screen h1 {
  max-width: 370px;
  font-size: clamp(29px, 7.4vw, 38px);
}

.discount-screen h1 span {
  display: block;
  color: #1d6c2c;
}

.discount-kicker {
  margin: 6px auto 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.discount-screen .body-copy {
  max-width: 350px;
  font-weight: 700;
}

.discount-badge {
  margin: 24px auto 18px;
}

.discount-badge span {
  color: #071a2b;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.22);
}

.discount-badge strong {
  color: #071a2b;
  border-color: #071a2b;
  background: #ffffff;
}

.discount-timer {
  display: grid;
  gap: 2px;
  width: min(250px, 100%);
  margin: 0 auto;
  padding: 12px 16px;
  background: rgba(7, 26, 43, 0.88);
  color: #ffffff;
}

.discount-timer small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.discount-timer b {
  color: var(--yellow-400);
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0;
}

.discount-screen .primary-btn {
  background: #071a2b;
  color: #ffffff;
  box-shadow: none;
}

.particle-field {
  opacity: 0.35;
}

@media (max-width: 360px), (max-height: 690px) {
  .screen-content[data-step="1"] .screen {
    grid-template-rows: auto minmax(190px, 1fr) auto;
  }

  .screen-content[data-step="1"] .cscs-card {
    width: min(250px, 80vw);
    height: 141px;
  }

  .screen-content[data-step="1"] .card-band {
    height: 38px;
    font-size: 25px;
  }

  .screen-content[data-step="1"] .card-face {
    width: 54px;
    height: 61px;
  }

  .screen-content[data-step="1"] .card-lines {
    left: 92px;
    top: 61px;
    width: 96px;
  }

  .screen-content[data-step="1"] .shield-check {
    width: 62px;
    height: 70px;
    font-size: 34px;
  }

  .promise-screen h1 {
    font-size: 23px;
  }

  .promise-screen .body-copy {
    font-size: 14px;
  }

  .promise-list {
    gap: 10px;
    margin-top: 15px;
  }

  .promise-list li {
    padding-left: 32px;
    font-size: 16px;
  }

  .promise-list li::before {
    width: 23px;
    height: 23px;
  }

  .workers-photo {
    height: 130px;
  }

  .builder-stage-card {
    min-height: 100%;
    padding: 12px;
  }

  .discount-screen h1 {
    font-size: 25px;
  }

  .discount-timer {
    padding: 10px 14px;
  }

  .discount-timer b {
    font-size: 28px;
  }
}

/* Final consistency pass */
.funnel-shell,
.choice-card,
.language-card,
.quiz-option,
.large-choice,
.review-card,
.summary-card,
.input-label,
.timer-card,
.email-pill,
.handoff-list,
.qr-card,
.text-area,
.plan-card,
.builder-stage-card,
.discount-timer {
  border-radius: var(--radius);
}

.round-btn,
.icon-btn,
.choice-icon,
.large-icon,
.build-list li span,
.check-list li::before {
  border-radius: 999px;
}

.builder-stage-card {
  color: #edf6ff;
  border-color: rgba(163, 202, 238, 0.13);
  background: rgba(10, 33, 55, 0.86);
}

.builder-stage-card h1 {
  color: #f8fbff;
  text-shadow: none;
}

.build-list li {
  color: rgba(232, 242, 255, 0.74);
  font-weight: 750;
}

.build-list li.active,
.build-list li.done {
  color: #f3f8ff;
}

.build-list li.done span::before {
  color: #ffffff;
}

.builder-progress b {
  color: #f1f7ff;
  font-weight: 900;
}

.builder-stage-card .review-card {
  color: #edf6ff;
  background: rgba(19, 54, 84, 0.92);
}

.builder-stage-card .review-card p {
  color: #edf6ff;
}

.builder-review-card {
  overflow: hidden;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 0.8, 0.24, 1);
}

.builder-review-card p,
.builder-review-card small,
.builder-review-card .stars {
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 0.8, 0.24, 1);
}

.builder-review-card.is-changing p,
.builder-review-card.is-changing small,
.builder-review-card.is-changing .stars {
  opacity: 0;
  transform: translateY(12px);
}

.builder-review-card.has-changed p,
.builder-review-card.has-changed small,
.builder-review-card.has-changed .stars {
  animation: reviewSlideIn 420ms cubic-bezier(0.22, 0.8, 0.24, 1) both;
}

@keyframes reviewSlideIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Final visual polish */
.primary-btn {
  box-shadow: none;
}

.primary-btn:not(:disabled):hover {
  box-shadow: none;
}

.big-shield {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 36% 22%, rgba(255, 255, 255, 0.34), transparent 0 18px, transparent 19px),
    linear-gradient(145deg, #83df66 0%, #50bc42 44%, #248e36 100%);
  box-shadow:
    inset 14px 12px 0 rgba(255, 255, 255, 0.12),
    inset -16px -22px 0 rgba(12, 88, 35, 0.2),
    0 18px 30px rgba(25, 139, 48, 0.28);
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}

.big-shield::before,
.big-shield::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.big-shield::before {
  inset: 7px 10px auto 14px;
  height: 44px;
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
  clip-path: polygon(0 0, 100% 0, 80% 70%, 13% 100%);
  z-index: -1;
}

.big-shield::after {
  right: 17px;
  bottom: 16px;
  width: 44px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  filter: blur(12px);
  z-index: -1;
}

.discount-screen {
  color: #f4fff1;
  background: linear-gradient(180deg, #08291f 0%, #0d4f34 48%, #10763a 100%);
  align-items: center;
}

.discount-screen h1,
.discount-screen .body-copy,
.discount-kicker {
  color: #f4fff1;
}

.discount-gift {
  margin: 0 auto 8px;
  font-size: 54px;
  line-height: 1;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.24));
  animation: none;
}

.discount-screen h1 span {
  color: #ffe16a;
}

.discount-kicker {
  background: rgba(255, 255, 255, 0.13);
}

.discount-screen .body-copy {
  color: rgba(244, 255, 241, 0.9);
}

.discount-badge span {
  color: #ffffff;
  text-shadow: 0 4px 0 rgba(5, 42, 27, 0.32);
}

.discount-badge strong {
  color: #083423;
  border-color: #083423;
  background: #f8fff2;
}

.discount-timer {
  background: rgba(4, 29, 22, 0.88);
}

.discount-screen .primary-btn {
  width: 100%;
  min-height: 82px;
  margin: 0 auto;
  padding: 0 22px;
  color: #083423;
  background: linear-gradient(180deg, #fff176, #ffc928);
  box-shadow: none;
  font-size: 21px;
  border-radius: 28px;
}

.discount-screen .bottom-actions {
  width: 100%;
  max-width: none;
  padding-top: 16px;
}

.discount-screen .particle-field {
  display: none;
}

.discount-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.discount-confetti span {
  position: absolute;
  width: 8px;
  height: 14px;
  border-radius: 3px;
  opacity: 0.72;
  animation: discountConfettiFloat 6.8s ease-in-out infinite;
}

.discount-confetti span:nth-child(1) {
  left: 13%;
  top: 14%;
  background: #ffe05d;
  transform: rotate(18deg);
}

.discount-confetti span:nth-child(2) {
  right: 16%;
  top: 20%;
  background: #ff6f61;
  animation-delay: 1.1s;
}

.discount-confetti span:nth-child(3) {
  left: 20%;
  top: 46%;
  background: #6ee7ff;
  animation-delay: 2s;
}

.discount-confetti span:nth-child(4) {
  right: 19%;
  top: 54%;
  background: #a8f05d;
  animation-delay: 0.7s;
}

.discount-confetti span:nth-child(5) {
  left: 45%;
  top: 29%;
  background: #ff9bd2;
  animation-delay: 2.8s;
}

.discount-confetti span:nth-child(6) {
  right: 34%;
  top: 71%;
  background: #ffd166;
  animation-delay: 1.8s;
}

.now-sticker {
  position: absolute;
  top: 22px;
  right: 16px;
  z-index: 2;
  padding: 9px 11px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #083423;
  background: linear-gradient(180deg, #fff176, #ffc928);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(7deg);
  animation: nowStickerPulse 1.9s ease-in-out infinite;
}

.discount-screen > :not(.discount-confetti):not(.now-sticker) {
  position: relative;
  z-index: 1;
  align-self: center;
}

.discount-screen h1 {
  max-width: 390px;
  margin-right: auto;
  margin-left: auto;
}

.discount-badge {
  position: relative;
  display: inline-block;
  margin: 34px auto 26px;
}

.discount-badge span {
  display: block;
  color: #f8fff2;
  font-size: clamp(116px, 31vw, 154px);
  line-height: 0.8;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 #d7f8c2,
    0 5px 0 #8ed46d,
    0 9px 0 #0a3424,
    0 18px 22px rgba(0, 0, 0, 0.34);
  transform: perspective(260px) rotateX(5deg);
}

.discount-badge strong {
  position: absolute;
  right: 3px;
  bottom: -4px;
  display: block;
  padding: 7px 12px;
  border: 4px solid #083423;
  border-radius: 16px;
  color: #083423;
  background: #f8fff2;
  box-shadow: 0 9px 0 rgba(4, 36, 24, 0.24), 0 16px 18px rgba(0, 0, 0, 0.18);
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 1000;
  line-height: 1;
  transform: rotate(-9deg);
}

@keyframes nowStickerPulse {
  0%,
  100% {
    opacity: 0.88;
    transform: rotate(7deg) scale(1);
  }
  50% {
    opacity: 1;
    transform: rotate(7deg) scale(1.08);
  }
}

@keyframes discountConfettiFloat {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 0 18px;
    rotate: 18deg;
  }
}

@media (max-width: 360px), (max-height: 690px) {
  .now-sticker {
    top: 14px;
    right: 12px;
    padding: 8px 9px;
    font-size: 10px;
  }

  .discount-gift {
    font-size: 42px;
  }

  .discount-badge span {
    font-size: 92px;
  }

  .discount-badge strong {
    right: 0;
    bottom: -6px;
    padding: 5px 9px;
    border-width: 3px;
    border-radius: 13px;
    font-size: 22px;
    transform: rotate(-9deg);
  }
}
