:root {
  --background: #0f1a2d;
  --background-soft: #162338;
  --surface: #f6ecdf;
  --surface-strong: #fdf7ef;
  --surface-muted: #eadcc9;
  --surface-muted-strong: #e3d0ba;
  --accent: #c76734;
  --accent-deep: #9f4d27;
  --accent-faint: rgba(199, 103, 52, 0.12);
  --text: #1a2436;
  --muted: #665b50;
  --line: rgba(26, 36, 54, 0.1);
  --line-strong: rgba(251, 247, 239, 0.16);
  --shadow-soft: 0 22px 52px rgba(4, 10, 18, 0.26);
  --shadow-card: 0 20px 48px rgba(5, 12, 22, 0.16);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --screen-index: 0;
  --screen-count: 9;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--background);
  color: var(--surface);
  font-family: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  transition: background-color 320ms ease, color 320ms ease;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border: 1px solid rgba(251, 247, 239, 0.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  top: -12vw;
  left: -10vw;
}

body::after {
  width: min(46vw, 420px);
  height: min(46vw, 420px);
  right: -10vw;
  bottom: 8vh;
  opacity: 0.46;
}

body[data-mode="dark"] {
  background: #091220;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.experience {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  overflow: hidden;
}

.home-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  visibility: hidden;
  background-color: var(--background);
  background-image: url("./assets/bilmin-waiting-artwork.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

body:has(.landing-screen.is-active) .home-background {
  visibility: visible;
}

.screen-track {
  display: flex;
  width: calc(var(--screen-count) * 100vw);
  min-height: 100dvh;
  transform: translateX(calc(var(--screen-index) * -100vw));
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.screen {
  flex: 0 0 100vw;
  width: 100vw;
  min-height: 100dvh;
  overflow-y: auto;
  scrollbar-width: none;
  opacity: 0.42;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.screen.is-active {
  opacity: 1;
  transform: translateY(0);
}

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

.screen-shell {
  position: relative;
  min-height: 100dvh;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: max(22px, env(safe-area-inset-top)) 18px max(32px, calc(env(safe-area-inset-bottom) + 16px));
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.screen-shell::before {
  content: "";
  position: absolute;
  inset: 24px 18px auto;
  height: 156px;
  border: 1px solid rgba(251, 247, 239, 0.08);
  border-radius: 999px;
  pointer-events: none;
}

.landing-shell {
  justify-content: flex-start;
  gap: 14px;
  overflow: clip;
  padding-top: 0;
  padding-bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px));
  text-align: center;
}

.landing-shell::before {
  display: none;
}

.landing-shell {
  z-index: 1;
}

.landing-hero {
  position: relative;
  width: calc(100% + 36px);
  min-height: 100svh;
  min-height: 100dvh;
  margin-inline: -18px;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 14px;
  width: min(100%, 24rem);
  margin-left: clamp(18px, 4vw, 44px);
  margin-right: auto;
  min-height: 100svh;
  min-height: 100dvh;
  padding:
    max(18px, calc(env(safe-area-inset-top) + 10px))
    18px
    max(28px, calc(env(safe-area-inset-bottom) + 18px));
  text-align: left;
}

.hero-footer {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  width: min(100%, 28rem);
  margin-inline: auto;
  padding-top: 2px;
}

.hero-topbar {
  display: flex;
  justify-content: flex-end;
  align-self: start;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 26, 45, 0.68);
  border: 1px solid rgba(251, 247, 239, 0.18);
  box-shadow: var(--shadow-soft);
}

.hero-brand-image {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-brand-wordmark {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
  color: var(--surface-strong);
}

.hero-body {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.hero-text-card,
.hero-action-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(251, 247, 239, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(15, 26, 45, 0.62);
  box-shadow: var(--shadow-soft);
}

.hero-action-card {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.hero-title,
.screen-title,
.calc-title,
.result-title {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.hero-title {
  max-width: 11ch;
  font-size: clamp(3rem, 9vw, 6.4rem);
  color: var(--surface-strong);
}

.screen-title,
.result-title {
  color: var(--text);
}

.hero-byline {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  line-height: 1.45;
}

.hero-byline-muted {
  color: rgba(251, 247, 239, 0.74);
}

.hero-byline-accent {
  color: var(--accent);
}

.hero-statement {
  margin: 0;
  max-width: 22rem;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  line-height: 1.4;
  color: rgba(251, 247, 239, 0.96);
}

.hero-signature {
  margin: 0;
  font-size: 0.96rem;
  color: rgba(251, 247, 239, 0.72);
}

.hero-action-card .trust-section {
  color: rgba(251, 247, 239, 0.78);
}

.hero-action-card .trust-item {
  border-color: rgba(251, 247, 239, 0.2);
}

.hero-action-card .trust-title {
  color: var(--surface-strong);
}

.hero-action-card .trust-copy {
  color: rgba(251, 247, 239, 0.72);
}

.screen-explainer,
.fact-copy,
.field-assist,
.result-text,
.calc-message,
.calc-kicker,
.brand-tagline,
.progress-label,
.progress-step,
.result-label,
.completion-pill,
.answer-note,
.panel-meta {
  color: var(--muted);
}

.hero-trust-grid {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  justify-items: stretch;
  margin-top: 4px;
}

.explore-title,
.share-tagline {
  margin: 0;
  color: rgba(251, 247, 239, 0.76);
  line-height: 1.6;
}

.trust-section {
  display: grid;
  gap: 10px;
  justify-items: center;
  color: rgba(251, 247, 239, 0.76);
}

.trust-item {
  display: grid;
  gap: 4px;
  justify-items: start;
  text-align: left;
  padding-top: 10px;
  border-top: 1px solid rgba(251, 247, 239, 0.16);
}

.trust-item-wide {
  max-width: 24rem;
}

.trust-title {
  font-size: 0.82rem;
  color: rgba(251, 247, 239, 0.84);
}

.trust-copy {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(251, 247, 239, 0.64);
}

.hero-ecosystem {
  font-size: 0.92rem;
  color: rgba(251, 247, 239, 0.84);
}

.explore-links {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.landing-shell .explore-links {
  justify-items: center;
}

.explore-links-inline {
  justify-items: start;
}

.explore-title {
  font-size: 0.96rem;
}

.explore-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.landing-shell .explore-link-row {
  justify-content: center;
}

.explore-links-inline .explore-link-row {
  justify-content: flex-start;
}

.explore-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(251, 247, 239, 0.16);
  border: 1px solid rgba(251, 247, 239, 0.22);
  color: var(--surface-strong);
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(4, 10, 18, 0.18);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.explore-link:hover,
.explore-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(251, 247, 239, 0.2);
  border-color: rgba(251, 247, 239, 0.26);
  box-shadow: 0 16px 30px rgba(4, 10, 18, 0.24);
  outline: none;
}

.explore-link-instagram {
  background: #e1306c;
  border-color: #f0548a;
  color: #fff6f9;
}

.explore-link-instagram:hover,
.explore-link-instagram:focus-visible {
  background: #ee427f;
  border-color: #f36d99;
}

.explore-link-youtube {
  background: #ff0000;
  border-color: #ff4b4b;
  color: #fff6f6;
}

.explore-link-youtube:hover,
.explore-link-youtube:focus-visible {
  background: #ff2323;
  border-color: #ff6565;
}

.social-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon-play {
  fill: currentColor;
  stroke: none;
}

.hero-button {
  justify-self: start;
  margin-top: 2px;
}

.home-info-section {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px) 0 8px;
  display: grid;
  gap: 24px;
}

.home-info-copy {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(251, 247, 239, 0.12);
  border-radius: var(--radius-lg);
  background: var(--background-soft);
  box-shadow: var(--shadow-soft);
}

.home-info-title,
.considerations-title {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  color: var(--surface-strong);
  letter-spacing: 0;
  line-height: 1.02;
}

.home-info-title {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
}

.home-info-text,
.home-disclaimer {
  margin: 0;
  max-width: 760px;
  color: rgba(251, 247, 239, 0.76);
  line-height: 1.72;
}

.info-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--background);
  border: 1px solid rgba(251, 247, 239, 0.12);
  box-shadow: 0 16px 34px rgba(5, 12, 22, 0.22);
}

.info-card h3,
.info-card p {
  margin: 0;
}

.info-card h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  color: var(--surface-strong);
  font-size: 1.45rem;
}

.info-card p {
  color: rgba(251, 247, 239, 0.72);
  line-height: 1.55;
}

.slogan-card {
  grid-column: 1 / -1;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(199, 103, 52, 0.76);
  border-color: rgba(255, 216, 178, 0.52);
  box-shadow: 0 18px 38px rgba(5, 12, 22, 0.28);
}

.slogan-card p {
  color: var(--background);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(1.05rem, 3.2vw, 2rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}

.info-divider {
  width: 100%;
  height: 1px;
  background: rgba(251, 247, 239, 0.14);
}

.considerations-block {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(251, 247, 239, 0.12);
  border-radius: var(--radius-lg);
  background: var(--background-soft);
  box-shadow: var(--shadow-soft);
}

.considerations-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.considerations-grid {
  width: 100%;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.consideration-card {
  display: grid;
  gap: 8px;
  justify-items: start;
  min-height: 148px;
  padding: 18px;
  border: 1px solid rgba(251, 247, 239, 0.12);
  border-radius: var(--radius-md);
  background: var(--background);
  color: var(--surface-strong);
  text-align: left;
  box-shadow: 0 12px 28px rgba(5, 12, 22, 0.16);
}

.consideration-number {
  color: var(--accent-deep);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.consideration-card h4,
.consideration-card p,
.optional-estimate h4,
.optional-estimate p {
  margin: 0;
}

.consideration-card h4,
.optional-estimate h4 {
  color: var(--surface-strong);
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.1rem;
}

.consideration-card p,
.optional-estimate p {
  color: rgba(251, 247, 239, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.optional-estimate {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--background);
  border: 1px solid rgba(251, 247, 239, 0.12);
  text-align: left;
}

.screen-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  align-self: center;
  padding: 10px 14px;
  background: rgba(251, 247, 239, 0.08);
  border: 1px solid rgba(251, 247, 239, 0.16);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.previous-button {
  min-width: 0;
  min-height: 44px;
  padding: 10px 16px;
  align-self: flex-start;
  border-radius: 999px;
  background: rgba(251, 247, 239, 0.08);
  border: 1px solid rgba(251, 247, 239, 0.16);
  color: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.previous-button:hover,
.previous-button:focus-visible {
  background: rgba(251, 247, 239, 0.12);
  border-color: rgba(251, 247, 239, 0.22);
}

.previous-button[hidden] {
  display: none;
}

.brand-lockup-dark {
  background: rgba(251, 247, 239, 0.05);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  color: var(--surface-strong);
}

.brand-tagline {
  font-size: 0.82rem;
  color: rgba(251, 247, 239, 0.7);
}

.progress-card,
.fact-card,
.question-panel,
.results-panel,
.result-block,
.completion-pill {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.progress-card {
  align-self: center;
  width: min(100%, 500px);
  padding: 14px 16px;
  border-radius: 999px;
}

.progress-card-dark {
  background: rgba(251, 247, 239, 0.08);
  border-color: var(--line-strong);
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.progress-track {
  height: 8px;
  background: rgba(26, 36, 54, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.progress-card-dark .progress-track {
  background: rgba(251, 247, 239, 0.12);
}

.progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.is-active .progress-fill {
  transform: scaleX(var(--progress-scale));
}

.question-panel,
.results-panel {
  position: relative;
  width: min(100%, 860px);
  margin: auto;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 18px;
  text-align: center;
}

.results-panel {
  width: min(100%, 920px);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.question-panel-income {
  width: min(100%, 760px);
}

.screen-explore {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-top: auto;
  padding-top: 4px;
}

.panel-meta {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.screen-title {
  font-size: clamp(2.4rem, 6vw, 4.75rem);
}

.screen-explainer {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  line-height: 1.72;
}

.fact-card {
  margin: 0 auto;
  width: min(100%, 620px);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  text-align: left;
  background: var(--surface-muted);
}

.fact-label,
.field-label,
.calc-kicker,
.result-label,
.completion-pill {
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.fact-copy {
  margin: 8px 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.question-block {
  display: grid;
  gap: 16px;
}

.question-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.field-label {
  margin: 0;
}

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

.duration-box,
.money-input-shell,
.answer-card,
.action-list li {
  background: var(--surface-strong);
  border: 1px solid rgba(26, 36, 54, 0.08);
}

.duration-box {
  display: grid;
  gap: 10px;
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  text-align: left;
}

.duration-caption {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.duration-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1;
  padding: 0;
}

.duration-input:focus,
.money-input:focus {
  outline: none;
}

.answer-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.answer-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.answer-grid-compact {
  grid-template-columns: 1fr;
}

.answer-card {
  min-height: 108px;
  padding: 20px;
  border-radius: var(--radius-md);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(26, 36, 54, 0.08);
  display: grid;
  gap: 6px;
  align-content: center;
  text-align: left;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.answer-card:hover,
.answer-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(199, 103, 52, 0.36);
  box-shadow: 0 16px 30px rgba(26, 36, 54, 0.12);
  outline: none;
}

.answer-card.is-selected {
  transform: scale(1.02);
  background: #fff9f2;
  border-color: rgba(199, 103, 52, 0.4);
  box-shadow: 0 20px 34px rgba(199, 103, 52, 0.18);
}

.answer-title {
  font-size: 1.02rem;
  font-weight: 600;
}

.answer-note {
  font-size: 0.92rem;
  line-height: 1.45;
}

.answer-card-cta {
  min-height: 116px;
}

.answer-card-prominent {
  min-height: 136px;
  padding: 26px 24px;
  background: var(--accent);
  border-color: rgba(199, 103, 52, 0.5);
  box-shadow: 0 18px 36px rgba(199, 103, 52, 0.24);
}

.answer-card-prominent .answer-title,
.answer-card-prominent .answer-note {
  color: #fffaf4;
}

.answer-card-prominent:hover,
.answer-card-prominent:focus-visible {
  box-shadow: 0 22px 38px rgba(199, 103, 52, 0.28);
}

.answer-card-secondary {
  min-height: 92px;
  padding: 16px 18px;
}

.answer-card-secondary .answer-title {
  font-size: 0.96rem;
}

.answer-card-secondary .answer-note {
  font-size: 0.86rem;
}

.money-input-shell {
  width: min(100%, 420px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
}

.money-symbol {
  font-size: 2rem;
  color: var(--accent-deep);
}

.money-input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: clamp(2rem, 6vw, 3.1rem);
  line-height: 1.1;
  color: var(--text);
  text-align: left;
}

.field-assist {
  margin: 0;
  font-size: 0.95rem;
}

.field-assist-privacy {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-width: 180px;
  min-height: 58px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1rem;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
  transform: none;
}

.button.primary {
  background: var(--accent);
  color: #fffaf4;
  box-shadow: 0 16px 28px rgba(199, 103, 52, 0.22);
}

.button.muted {
  background: rgba(251, 247, 239, 0.08);
  color: var(--surface-strong);
  border: 1px solid rgba(251, 247, 239, 0.18);
}

.button.subtle {
  background: transparent;
  color: var(--accent-deep);
  min-height: auto;
  min-width: auto;
  padding: 4px 0;
  justify-self: center;
}

.button:focus-visible,
.answer-card:focus-visible,
.duration-input:focus-visible,
.money-input:focus-visible,
.screen:focus-visible {
  outline: 3px solid rgba(199, 103, 52, 0.5);
  outline-offset: 4px;
}

.screen-shell-dark::before {
  display: none;
}

.screen-top-dark .progress-label,
.screen-top-dark .progress-step,
.screen-top-dark .brand-tagline {
  color: rgba(251, 247, 239, 0.7);
}

.screen-top-dark .brand-title,
.calc-title {
  color: var(--surface-strong);
}

.calculation-stage {
  margin: auto;
  width: min(100%, 760px);
  display: grid;
  gap: 24px;
  text-align: center;
}

.calc-mark-shell {
  position: relative;
  width: min(180px, 50vw);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.calc-orbit {
  position: absolute;
  border: 1px solid rgba(251, 247, 239, 0.15);
  border-radius: 50%;
  inset: 0;
}

.calc-orbit-one {
  animation: pulseOrbit 2s ease-in-out infinite;
}

.calc-orbit-two {
  inset: 18px;
  animation: pulseOrbit 2s ease-in-out infinite 260ms;
}

.calc-mark {
  position: relative;
  z-index: 1;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(4, 10, 18, 0.34);
}

.calc-kicker {
  margin: 0 0 8px;
  color: rgba(251, 247, 239, 0.72);
}

.calc-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  margin-bottom: 14px;
}

.calc-message {
  margin: 0;
  min-height: 1.6em;
  font-size: clamp(1rem, 2.4vw, 1.16rem);
  line-height: 1.6;
  color: rgba(251, 247, 239, 0.72);
}

.completion-pill {
  align-self: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-block {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3.5vw, 30px);
  border-radius: var(--radius-lg);
  text-align: left;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.result-block.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.score-showcase {
  display: grid;
  gap: 26px;
}

.score-ring-shell {
  position: relative;
  width: min(240px, 70vw);
  aspect-ratio: 1;
  margin: 0 auto;
}

.score-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-ring-track,
.score-ring-progress {
  fill: none;
  stroke-width: 12;
}

.score-ring-track {
  stroke: rgba(26, 36, 54, 0.1);
}

.score-ring-progress {
  stroke: var(--accent-deep);
  stroke-linecap: round;
  stroke-dasharray: 377;
  stroke-dashoffset: 377;
  transition: stroke-dashoffset 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.score-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.score-value {
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}

.score-total {
  margin-top: -2px;
  font-size: 1.1rem;
  color: var(--muted);
}

.score-copy,
.result-block {
  text-align: center;
}

.result-title {
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.metric-value,
.scale-score {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: -0.04em;
}

.metric-value {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--accent-deep);
}

.scale-shell {
  display: grid;
  gap: 18px;
}

.scale-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.scale-score {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--text);
  line-height: 1;
}

.scale-score-copy {
  font-size: 1rem;
  color: var(--muted);
}

.scale-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid rgba(26, 36, 54, 0.08);
  color: var(--accent-deep);
  font-size: 0.94rem;
}

.waiting-scale {
  display: grid;
  gap: 12px;
}

.waiting-scale-bar {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(159, 77, 39, 0.18) 0%,
      rgba(159, 77, 39, 0.18) 20%,
      rgba(159, 77, 39, 0.28) 20%,
      rgba(159, 77, 39, 0.28) 40%,
      rgba(159, 77, 39, 0.38) 40%,
      rgba(159, 77, 39, 0.38) 60%,
      rgba(159, 77, 39, 0.5) 60%,
      rgba(159, 77, 39, 0.5) 80%,
      rgba(159, 77, 39, 0.62) 80%,
      rgba(159, 77, 39, 0.62) 100%
    );
}

.waiting-scale-indicator {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-deep);
  border: 3px solid var(--surface-strong);
  box-shadow: 0 8px 20px rgba(26, 36, 54, 0.18);
  transition: left 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.waiting-scale-labels,
.waiting-scale-ranges {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  font-size: 0.84rem;
}

.waiting-scale-labels {
  color: var(--text);
}

.waiting-scale-ranges {
  color: var(--muted);
}

.result-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
}

.result-text-strong {
  font-size: 1.12rem;
  color: var(--text);
}

.price-value {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  color: var(--accent-deep);
  letter-spacing: -0.04em;
}

.action-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.bullet-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 10px;
  color: var(--text);
  line-height: 1.7;
}

.action-list li {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  color: var(--text);
  line-height: 1.6;
}

.result-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.share-card {
  opacity: 1;
  transform: none;
}

.screen[data-screen="share"] .results-panel {
  width: min(100%, 860px);
}

.screen[data-screen="share"] .share-card {
  background: var(--surface-strong);
  border: 1px solid rgba(26, 36, 54, 0.1);
  box-shadow: 0 18px 36px rgba(5, 12, 22, 0.14);
}

.share-section,
.share-metric {
  display: grid;
  gap: 10px;
}

.share-scroll-note {
  text-align: center;
  color: var(--muted);
}

.result-block[data-reveal="price"][hidden] {
  display: none;
}

@keyframes pulseOrbit {
  0%,
  100% {
    transform: scale(0.97);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.01);
    opacity: 1;
  }
}

@media (min-width: 720px) {
  .screen-shell {
    padding: 26px 24px 42px;
  }

  .landing-shell {
    padding-bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px));
  }

  .landing-hero {
    width: calc(100% + 48px);
    margin-inline: -24px;
  }

  .screen-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .brand-lockup,
  .progress-card,
  .completion-pill {
    align-self: auto;
  }

  .answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .answer-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .answer-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .score-showcase {
    grid-template-columns: auto 1fr;
    align-items: center;
    text-align: left;
  }

  .score-copy,
  .result-block {
    text-align: left;
  }

  .result-cta-group {
    justify-content: flex-start;
  }

  .hero-copy {
    width: min(100%, 27rem);
  }

  .hero-footer {
    width: min(100%, 32rem);
  }
}

@media (max-width: 719px) {
  .home-background {
    background-position: 42% center;
  }

  .screen-track {
    transition-duration: 700ms;
  }

  .brand-lockup {
    max-width: 100%;
  }

  .brand-tagline {
    display: none;
  }

  .hero-copy {
    width: min(calc(100% - 12px), 22rem);
    margin-left: 12px;
    margin-right: auto;
    text-align: left;
    align-content: end;
    gap: 10px;
  }

  .hero-topbar {
    justify-content: flex-start;
  }

  .hero-body {
    justify-items: start;
  }

  .hero-action-card {
    justify-items: start;
  }

  .hero-footer {
    width: min(100%, 22rem);
  }

  .hero-trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    justify-items: center;
    text-align: center;
    padding-top: 8px;
  }

  .info-card-grid,
  .considerations-grid {
    grid-template-columns: 1fr;
  }

  .consideration-card {
    min-height: 0;
  }

  .question-panel,
  .results-panel {
    gap: 16px;
    padding: 22px 18px;
  }

  .fact-card {
    padding: 16px 18px;
  }

  .screen-title {
    font-size: clamp(2.2rem, 9vw, 3.3rem);
  }

  .button {
    width: 100%;
  }

  .question-actions {
    width: 100%;
  }

  .button.subtle {
    width: auto;
  }

  .previous-button {
    width: auto;
  }

  .waiting-scale-labels,
  .waiting-scale-ranges {
    font-size: 0.72rem;
  }
}

@media (max-width: 520px) {
  .landing-hero {
    border-radius: 0 0 28px 28px;
  }

  .answer-grid-wide,
  .duration-inputs {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    padding-inline: 12px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 13vw, 3.9rem);
  }

  .hero-statement {
    max-width: 20rem;
  }

  .calc-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}

.report-amount-label {
  max-width: 34ch;
  margin-inline: auto;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

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