@font-face {
  font-family: "Geist";
  src: url("/assets/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #f4f8fb;
  --foreground: #061225;
  --muted: #667085;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "ss01", "ss02", "cv01", "cv03";
}

button,
input {
  font: inherit;
}

h1,
h2,
p {
  margin-top: 0;
}

.landing {
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(0, 91, 255, 0.96) 0%, rgba(0, 166, 205, 0.92) 44%, rgba(119, 206, 58, 0.95) 100%);
}

.hero {
  min-height: 100vh;
  padding: clamp(0.65rem, 1.6vw, 1.5rem);
}

.hero__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(24rem, 1.18fr);
  gap: clamp(0.9rem, 2.8vw, 2.6rem);
  width: min(110rem, 100%);
  min-height: calc(100vh - clamp(1.3rem, 3.2vw, 3rem));
  margin: 0 auto;
  border-radius: 1.45rem;
  padding: clamp(1rem, 3vw, 2.5rem);
  background:
    linear-gradient(171deg, rgba(255, 255, 255, 0.99) 0 70%, rgba(242, 248, 252, 0.98) 70%),
    #ffffff;
  box-shadow: 0 2rem 5.5rem rgba(6, 20, 47, 0.22);
  overflow: hidden;
}

.hero__shell::before {
  content: "";
  position: absolute;
  inset: -7rem -5rem auto -5rem;
  height: 11rem;
  background: linear-gradient(100deg, rgba(9, 105, 242, 0.13), rgba(123, 208, 47, 0.18));
  border-radius: 0 0 50% 50%;
  transform: rotate(-2deg);
}

.hero__left,
.hero__right {
  position: relative;
  z-index: 1;
}

.hero__left {
  display: flex;
  min-height: min(34rem, calc(100vh - 5rem));
  flex-direction: column;
  justify-content: flex-start;
  padding-top: clamp(0.4rem, 2vh, 1.6rem);
  padding-bottom: clamp(7.5rem, 21vh, 12rem);
}

.eyebrow {
  width: fit-content;
  min-height: 2rem;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  padding: 0.42rem 0.82rem;
  background: #eef5ff;
  color: #0758ce;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.freeOffer {
  width: fit-content;
  max-width: 38rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(23, 181, 103, 0.2);
  border-radius: 0.85rem;
  padding: 0.58rem 0.78rem;
  background: linear-gradient(180deg, rgba(245, 255, 250, 0.96), rgba(238, 252, 245, 0.9));
  color: #0f7a43;
  font-size: clamp(0.86rem, 1.05vw, 1rem);
  font-weight: 850;
  line-height: 1.35;
  box-shadow: 0 0.8rem 1.8rem rgba(23, 181, 103, 0.1);
}

h1 {
  max-width: 38rem;
  margin-bottom: 0.75rem;
  color: #06142f;
  font-size: clamp(2.55rem, 5.2vw, 4.85rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: #0969f2;
}

.hero__left > p {
  max-width: 38rem;
  color: #5d6576;
  font-size: clamp(0.98rem, 1.35vw, 1.24rem);
  font-weight: 650;
  line-height: 1.48;
}

.moneyScene {
  position: absolute;
  bottom: 0;
  left: -1.4rem;
  width: min(39rem, 108%);
  height: clamp(9rem, 24vh, 15.5rem);
  pointer-events: none;
}

.moneyScene img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 1.4rem 2rem rgba(31, 55, 89, 0.16));
}

.hero__right {
  display: grid;
  align-content: center;
  gap: 0.75rem;
}

.sliderPanel {
  border: 1px solid #e0e7f0;
  border-radius: 1rem;
  padding: clamp(0.75rem, 1.35vw, 1.18rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.96));
  box-shadow: 0 1.3rem 3.2rem rgba(26, 53, 91, 0.16);
  backdrop-filter: blur(16px);
}

.panelIntro {
  margin-bottom: 0.6rem;
  border-bottom: 1px solid #e6edf5;
  padding-bottom: 0.58rem;
}

.panelIntro strong {
  display: block;
  color: #06142f;
  font-size: clamp(0.98rem, 1.35vw, 1.2rem);
  font-weight: 900;
}

.panelIntro p {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

.progressPanel {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.42rem;
}

.progressPanel span {
  color: #536176;
  font-size: 0.84rem;
  font-weight: 900;
}

.segments {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.42rem;
}

.segment {
  height: 0.38rem;
  border-radius: 999px;
  background: #e7edf5;
  overflow: hidden;
}

.segment::before {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--segment-color);
  transition: width 0.35s ease;
}

.segment--done::before {
  width: 100%;
}

.sliderRow {
  display: grid;
  grid-template-columns: 3.35rem 1fr;
  gap: 0.7rem;
  align-items: center;
  min-height: 4.65rem;
  padding: 0.25rem 0;
  animation: slideIn 0.45s ease both;
}

.sliderRow--locked,
.sliderRow--done {
  filter: grayscale(0.2);
  opacity: 0.62;
}

.categoryIcon {
  display: grid;
  width: 3.05rem;
  height: 3.05rem;
  place-items: center;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 92%, #061225), color-mix(in srgb, var(--accent) 68%, #ffffff));
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 0.72rem 1.25rem color-mix(in srgb, var(--accent) 22%, transparent);
}

.sliderMain {
  min-width: 0;
}

.sliderMeta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
}

.sliderMeta h2 {
  margin-bottom: 0.05rem;
  color: #10203d;
  font-size: clamp(0.9rem, 1.12vw, 1.08rem);
  font-weight: 850;
}

.sliderMeta p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.22;
}

.amountBadge {
  display: grid;
  min-width: 7.35rem;
  min-height: 2.35rem;
  place-items: center;
  border-radius: 0.65rem;
  padding: 0.4rem 0.58rem;
  background: #f1f4f9;
  color: #06142f;
  font-size: 0.9rem;
  font-weight: 850;
  white-space: nowrap;
}

.range {
  width: 100%;
  min-height: 34px;
  margin-top: 0.2rem;
  appearance: none;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.range:disabled {
  cursor: not-allowed;
  filter: grayscale(1);
}

.range::-webkit-slider-runnable-track {
  height: 0.3rem;
  border-radius: 999px;
}

.range::-webkit-slider-thumb {
  width: 1.22rem;
  height: 1.22rem;
  margin-top: -0.46rem;
  appearance: none;
  border: 0.28rem solid #ffffff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0.45rem 0.9rem rgba(21, 32, 50, 0.24);
}

.range::-moz-range-track {
  height: 0.3rem;
  border-radius: 999px;
}

.range::-moz-range-thumb {
  width: 1.1rem;
  height: 1.1rem;
  border: 0.28rem solid #ffffff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0.45rem 0.9rem rgba(21, 32, 50, 0.24);
}

.scale {
  display: flex;
  justify-content: space-between;
  color: #818b9c;
  font-size: 0.68rem;
}

.lockNote {
  margin-top: 0.08rem;
  color: #788396;
  font-size: 0.68rem;
  font-weight: 800;
}

.waitPanel {
  display: flex;
  min-height: 3.8rem;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, #dfe7f2);
  border-radius: 0.8rem;
  padding: 0.55rem;
  background: color-mix(in srgb, var(--accent) 8%, #ffffff);
}

.waitPanel strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #10203d;
  font-size: 0.85rem;
}

.waitPanel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.timerCircle {
  display: grid;
  width: 2.65rem;
  min-width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 0.25rem solid rgba(255, 255, 255, 0.82);
  border-top-color: var(--accent);
  border-radius: 50%;
  color: var(--accent);
  animation: spin 1.1s linear infinite, pulse 1s ease-in-out infinite;
}

.timerCircle span {
  font-size: 1.15rem;
  font-weight: 900;
  animation: counterSpin 1.1s linear infinite;
}

.instantResult {
  display: grid;
  grid-template-columns: 3.9rem 1fr;
  gap: 0.95rem;
  align-items: center;
  min-height: 5.8rem;
  border: 1px solid #20bc63;
  border-radius: 0.95rem;
  padding: 0.75rem 1.1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 255, 252, 0.96));
  box-shadow: 0 1rem 2.6rem rgba(26, 53, 91, 0.14);
}

.resultIcon {
  display: grid;
  width: 3.45rem;
  height: 3.45rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #20c667, #0a9a43);
}

.resultIcon::before {
  content: "";
  width: 1.55rem;
  height: 1.55rem;
  border: 0.18rem solid rgba(255, 255, 255, 0.92);
  border-radius: 0.45rem;
}

.instantResult span {
  display: block;
  color: #17243b;
  font-size: 1rem;
  font-weight: 900;
}

.instantResult strong {
  display: block;
  color: #0ba446;
  font-size: clamp(2.25rem, 4.9vw, 3.95rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.resultGate,
.result,
.instruction {
  position: relative;
  z-index: 2;
  width: min(70rem, calc(100% - 2rem));
  margin: 1.2rem auto 0;
}

.resultGate {
  display: grid;
  place-items: center;
  padding: 0 0 1.5rem;
}

.resultButton,
.instructionButton {
  display: inline-flex;
  min-height: 3.7rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
  background: #17b567;
  color: #ffffff;
  box-shadow: 0 0.9rem 1.8rem rgba(23, 181, 103, 0.32);
  font-size: 1.08rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  animation: pulseButton 1.25s ease-in-out infinite;
}

.resultButton:active,
.instructionButton:active {
  transform: translateY(2px) scale(0.99);
}

.finalLoader {
  width: min(30rem, 100%);
  border-radius: 0.8rem;
  padding: 1.2rem;
  background: #ffffff;
  box-shadow: 0 1rem 2.5rem rgba(21, 32, 50, 0.12);
  text-align: center;
}

.finalLoader__bar {
  height: 0.85rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: #e1e8f1;
  overflow: hidden;
}

.finalLoader__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0969f2, #17b567);
  transition: width 0.12s linear;
}

.result {
  border-radius: 1.1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #ffffff;
  box-shadow: 0 1rem 2.5rem rgba(21, 32, 50, 0.13);
}

.result__summary {
  text-align: center;
}

.result__summary p {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-weight: 800;
}

.result__summary h2 {
  margin-bottom: 1.3rem;
  color: #0ba446;
  font-size: clamp(2.1rem, 7vw, 3rem);
  letter-spacing: 0;
}

.breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.breakdownCard {
  min-height: 8rem;
  border: 1px solid color-mix(in srgb, var(--accent) 23%, #e5ebf3);
  border-radius: 0.8rem;
  padding: 1rem;
  background: color-mix(in srgb, var(--accent) 8%, #ffffff);
}

.breakdownCard span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 900;
}

.breakdownCard strong,
.breakdownCard b {
  display: block;
}

.breakdownCard strong {
  min-height: 2.5rem;
  color: #354357;
}

.breakdownCard b {
  margin-top: 0.65rem;
  color: var(--accent);
  font-size: 1.35rem;
}

.instructionButton {
  width: fit-content;
  margin: 1.35rem auto 0;
}

.instruction {
  margin-bottom: 3rem;
  border-left: 0.35rem solid #17b567;
  border-radius: 0.8rem;
  padding: 1.2rem 1.2rem 1.2rem 1.35rem;
  background: rgba(255, 255, 255, 0.9);
}

.instruction h2 {
  margin-bottom: 0.45rem;
  font-size: 1.45rem;
}

.instruction p {
  max-width: 52rem;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

[hidden] {
  display: none !important;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 0.35rem color-mix(in srgb, var(--accent) 12%, transparent);
  }
}

@keyframes pulseButton {
  50% {
    box-shadow: 0 0.9rem 2.4rem rgba(23, 181, 103, 0.52);
    transform: translateY(-1px);
  }
}

@media (max-width: 1100px) {
  .hero__shell {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0.85rem;
  }

  .hero__left {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 8.5rem;
  }

  .moneyScene {
    width: min(29rem, 96%);
    height: 8rem;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 0.45rem;
  }

  .hero__shell {
    min-height: calc(100vh - 0.9rem);
    border-radius: 0.9rem;
    padding: 0.75rem;
    gap: 0.55rem;
  }

  h1 {
    max-width: 25rem;
    margin-bottom: 0.42rem;
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero__left {
    padding-bottom: 0;
  }

  .moneyScene {
    display: none;
  }

  .sliderPanel {
    padding: 0.62rem;
  }

  .progressPanel {
    grid-template-columns: 1fr;
    gap: 0.32rem;
    margin-bottom: 0.28rem;
  }

  .sliderRow {
    grid-template-columns: 2.35rem 1fr;
    gap: 0.5rem;
    min-height: 3.55rem;
    padding: 0.12rem 0;
  }

  .categoryIcon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.55rem;
    font-size: 0.65rem;
  }

  .sliderMeta {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.4rem;
  }

  .amountBadge {
    min-width: 6.3rem;
    min-height: 2rem;
    font-size: 0.76rem;
  }

  .instantResult {
    grid-template-columns: 2.9rem 1fr;
    gap: 0.6rem;
    min-height: 4.2rem;
    padding: 0.6rem;
  }

  .resultIcon {
    width: 2.65rem;
    height: 2.65rem;
  }

  .instantResult span {
    font-size: 0.82rem;
  }

  .instantResult strong {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .breakdown {
    grid-template-columns: 1fr;
  }

  .resultButton,
  .instructionButton {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .eyebrow {
    min-height: 1.55rem;
    margin-bottom: 0.35rem;
    padding: 0.25rem 0.55rem;
    font-size: 0.62rem;
  }

  .freeOffer {
    margin-bottom: 0.42rem;
    padding: 0.42rem 0.55rem;
    font-size: 0.72rem;
    line-height: 1.24;
  }

  .hero__left > p {
    font-size: 0.82rem;
    line-height: 1.28;
  }

  .panelIntro {
    margin-bottom: 0.38rem;
    padding-bottom: 0.42rem;
  }

  .panelIntro strong {
    font-size: 0.88rem;
  }

  .panelIntro p {
    font-size: 0.68rem;
  }

  .sliderMeta h2 {
    font-size: 0.76rem;
  }

  .sliderMeta p {
    font-size: 0.62rem;
  }

  .range {
    min-height: 28px;
  }

  .scale,
  .lockNote {
    font-size: 0.58rem;
  }
}
