:root {
  --bg: #080706;
  --bg-2: #12100d;
  --ink: #fffaf0;
  --muted: #bfb6a6;
  --line: rgba(255, 250, 240, .14);
  --gold: #f5b942;
  --gold-2: #ffdc84;
  --ember: #ff4f2e;
  --dark-card: rgba(24, 20, 15, .86);
  --shadow: 0 28px 90px rgba(0, 0, 0, .42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 74% 8%, rgba(245, 185, 66, .24), transparent 26rem),
    radial-gradient(circle at 12% 18%, rgba(255, 79, 46, .16), transparent 24rem),
    linear-gradient(180deg, #050403 0%, var(--bg) 44%, #100d09 100%);
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 7, 6, .82);
  backdrop-filter: blur(18px);
}

.nav-in {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(245, 185, 66, .5);
  color: #160f04;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 30px rgba(245, 185, 66, .28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--gold-2);
}

.nav-cta,
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.nav-cta.ghost,
.btn-ghost {
  border-color: rgba(245, 185, 66, .32);
  color: var(--gold-2);
  background: rgba(245, 185, 66, .06);
}

.btn-primary {
  color: #170f04;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 52%, #ff9f2e);
  box-shadow: 0 16px 42px rgba(245, 185, 66, .28);
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, transparent 0%, rgba(8, 7, 6, .7) 100%);
  background-size: 86px 86px, auto;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 56px;
  padding: 96px 0 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: .95;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: #ded5c5;
  font-size: 20px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.legal-note {
  color: var(--muted);
  font-size: 14px;
}

.break-stage {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(245, 185, 66, .2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 35%),
    radial-gradient(circle at 58% 50%, rgba(245, 185, 66, .24), transparent 12rem),
    rgba(13, 10, 7, .76);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.break-stage::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 210deg, transparent, rgba(245, 185, 66, .18), transparent 28%);
  animation: sweep 8s linear infinite;
}

.debt-wall {
  position: absolute;
  left: 28px;
  top: 46px;
  width: 64%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  transform: skewY(-7deg);
  z-index: 1;
}

.debt-wall span {
  min-height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 250, 240, .52);
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  font-weight: 900;
}

.debt-wall span:nth-child(3n) {
  transform: translateX(28px);
}

.debt-wall span:nth-child(2n) {
  transform: translateY(18px);
}

.gold-burst {
  position: absolute;
  right: -18%;
  top: 42%;
  width: 78%;
  height: 24px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, #fff3b0 10%, var(--gold) 48%, transparent);
  box-shadow:
    0 0 28px rgba(255, 220, 132, .9),
    0 0 120px rgba(245, 185, 66, .72);
  transform: rotate(-19deg);
}

.gold-burst::before,
.gold-burst::after {
  content: "";
  position: absolute;
  left: 18%;
  width: 70%;
  height: 8px;
  background: linear-gradient(90deg, transparent, var(--ember), var(--gold-2), transparent);
}

.gold-burst::before {
  top: -46px;
  transform: rotate(34deg);
}

.gold-burst::after {
  bottom: -54px;
  transform: rotate(-29deg);
}

.exit-word {
  position: absolute;
  right: 36px;
  bottom: 48px;
  z-index: 3;
  text-align: right;
}

.exit-word strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(66px, 9vw, 116px);
  line-height: .86;
  text-shadow: 0 0 46px rgba(245, 185, 66, .5);
}

.exit-word small {
  color: #fff2d0;
  font-weight: 800;
}

@keyframes sweep {
  to {
    transform: rotate(1turn);
  }
}

.rupture-strip {
  border-bottom: 1px solid var(--line);
  background: #0b0907;
}

.strip-track {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.strip-track b {
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section {
  padding: 110px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-head h2,
.guard-copy h2,
.final-push h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
}

.section-head p,
.guard-copy p,
.final-push p {
  color: #d7cebd;
  font-size: 18px;
  line-height: 1.75;
}

.strike-board {
  display: grid;
  gap: 18px;
}

.strike {
  position: relative;
  display: grid;
  grid-template-columns: 92px 240px 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px 30px;
  border: 1px solid rgba(245, 185, 66, .18);
  background: linear-gradient(100deg, rgba(245, 185, 66, .16), rgba(255, 255, 255, .045) 44%, rgba(255, 79, 46, .08));
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 50%, calc(100% - 34px) 100%, 0 100%, 24px 50%);
}

.strike:nth-child(2) {
  margin-left: 46px;
}

.strike:nth-child(3) {
  margin-left: 92px;
}

.strike-no {
  color: var(--gold);
  font-size: 38px;
  font-weight: 950;
}

.strike h3 {
  margin-bottom: 0;
  font-size: 25px;
}

.strike p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.center-cta {
  margin-top: 38px;
  text-align: center;
}

.guard {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent),
    #0d0b08;
}

.guard-shell {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.guard-copy {
  max-width: 520px;
}

.signal-stack {
  display: grid;
  gap: 12px;
  transform: rotate(-2deg);
}

.signal-stack div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px;
  border-left: 5px solid var(--gold);
  background: rgba(255, 250, 240, .07);
  box-shadow: 18px 18px 0 rgba(245, 185, 66, .06);
}

.signal-stack div:nth-child(even) {
  transform: translateX(28px);
  border-left-color: var(--ember);
}

.signal-stack span {
  color: var(--gold-2);
  font-weight: 950;
  font-size: 20px;
}

.signal-stack strong {
  color: #f4ecdd;
}

.final-push {
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 185, 66, .22), transparent 18rem),
    linear-gradient(135deg, #130d05, #070605);
}

.final-push .wrap {
  max-width: 820px;
}

.faq {
  padding-bottom: 150px;
}

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

.faq-item {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, .045);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-q span {
  color: var(--gold);
  font-size: 24px;
}

.faq-a {
  display: none;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.open .faq-a {
  display: block;
}

.expert-line {
  margin-top: 28px;
  color: #d8cdbc;
  line-height: 1.7;
}

.float-cta {
  display: none;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 999px;
  color: #150e04;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 20px 52px rgba(245, 185, 66, .34);
  font-weight: 950;
}

.mbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(245, 185, 66, .25);
  background: rgba(8, 7, 6, .94);
  backdrop-filter: blur(16px);
}

.mbar span {
  font-weight: 900;
}

.mbar .btn {
  min-height: 44px;
  color: #150e04;
  background: var(--gold);
}

/* Diagnosis compatibility */
.diag-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 185, 66, .22), transparent 24rem),
    linear-gradient(180deg, #070604, #110d08);
}

.diag-wrap {
  width: min(720px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 42px 0;
}

.diag-card {
  width: 100%;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(245, 185, 66, .2);
  border-radius: 8px;
  background: rgba(18, 14, 9, .92);
  box-shadow: var(--shadow);
}

.hidden {
  display: none !important;
}

.steps {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.dot {
  width: 32px;
  height: 6px;
  overflow: hidden;
  color: transparent;
  border-radius: 999px;
  background: rgba(255, 250, 240, .16);
}

.dot.on {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(245, 185, 66, .52);
}

.diag-loading {
  color: var(--gold-2);
  font-weight: 900;
  text-align: center;
}

.q-title {
  margin-bottom: 14px;
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.18;
}

.q-title.accent {
  color: var(--gold-2);
}

.q-sub {
  color: var(--muted);
  line-height: 1.7;
}

.opts {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.opt {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid rgba(255, 250, 240, .14);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 250, 240, .055);
  text-align: left;
  cursor: pointer;
}

.opt i {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(245, 185, 66, .55);
  border-radius: 50%;
}

.opt.sel {
  border-color: var(--gold);
  background: rgba(245, 185, 66, .14);
}

.opt.sel i {
  background: var(--gold);
  box-shadow: inset 0 0 0 4px #120d07;
}

.field {
  width: 100%;
  min-height: 56px;
  margin: 8px 0;
  padding: 0 16px;
  border: 1px solid rgba(255, 250, 240, .18);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 250, 240, .07);
  outline: none;
}

.field:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 185, 66, .12);
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  color: var(--muted);
  line-height: 1.5;
}

.err {
  min-height: 20px;
  color: #ff8a70;
  font-weight: 800;
}

.result-box {
  margin: 22px 0;
  padding: 24px;
  border: 1px solid rgba(245, 185, 66, .24);
  border-radius: 8px;
  background: rgba(245, 185, 66, .08);
  color: #efe5d3;
  line-height: 1.8;
}

.result-box .amount {
  color: var(--gold-2);
  font-size: 1.25em;
  font-weight: 950;
}

.diag-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

#btn_prev {
  min-width: 104px;
}

.done-box {
  text-align: center;
}

.done-box .check {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #140e04;
  background: var(--gold);
  font-size: 34px;
  font-weight: 950;
}

button:disabled,
.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

@media (min-width: 768px) {
  .float-cta {
    display: inline-flex;
  }

  .mbar {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .guard-shell {
    grid-template-columns: 1fr;
  }

  .break-stage {
    min-height: 420px;
  }

  .strike,
  .strike:nth-child(2),
  .strike:nth-child(3) {
    grid-template-columns: 1fr;
    margin-left: 0;
    clip-path: none;
  }

  .strip-track {
    flex-wrap: wrap;
    padding: 20px 0;
  }

  .strip-track b {
    width: 38px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .nav-in {
    min-height: 64px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero-grid {
    gap: 34px;
    padding: 58px 0 56px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .break-stage {
    min-height: 360px;
  }

  .debt-wall {
    left: 18px;
    top: 32px;
    width: 72%;
    gap: 8px;
  }

  .debt-wall span {
    min-height: 58px;
    font-size: 14px;
  }

  .exit-word {
    right: 22px;
    bottom: 34px;
  }

  .section {
    padding: 74px 0;
  }

  .signal-stack {
    transform: none;
  }

  .signal-stack div,
  .signal-stack div:nth-child(even) {
    transform: none;
    display: grid;
  }

  .faq {
    padding-bottom: 120px;
  }

  .diag-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
