:root {
  --blue: #0663F9;
  --green: #96DC00;
  --green-soft: #F8FCF8;
  --dark: #191919;
  --text: #333333;
  --text-2: #666666;
  --text-3: #AAAAAA;
  --bg-soft: #F8FBFF;
  --line: #E8ECF2;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
button { font-family: inherit; }

.layout { min-height: 100dvh; display: flex; flex-direction: column; }

.brand-panel {
  background: var(--blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 40px 24px;
}
.brand-panel .logo-white { height: 34px; width: auto; }
.brand-panel .tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  max-width: 240px;
  line-height: 1.5;
}

.rank-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  width: 232px;
  box-shadow: 0 12px 32px rgba(4, 44, 83, 0.28);
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
}
.rank-row + .rank-row { border-top: 1px solid #EEF2F7; }
.rank-badge {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: #412402;
  flex: none;
}
.rank-badge.b1 { background: #FAC775; }
.rank-badge.b2 { background: #D3D1C7; }
.rank-badge.b3 { background: #F0997B; }
.rank-name { font-size: 14px; font-weight: 600; color: var(--dark); flex: 1; }
.rank-star { font-size: 12px; color: var(--text-2); white-space: nowrap; }
.rank-star .star { color: #EF9F27; }

.content { flex: 1; display: flex; flex-direction: column; }

.btn-primary {
  display: block;
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.05s ease;
}
.btn-primary:hover { filter: brightness(0.94); }
.btn-primary:active { transform: scale(0.985); }
.btn-primary:disabled { background: #B5D4F4; cursor: default; transform: none; filter: none; }

.legal { font-size: 12px; color: var(--text-3); text-align: center; line-height: 1.6; }
.legal a { color: var(--text-2); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
}
.site-header .logo { height: 30px; width: auto; }

.hero-mobile {
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 20px 52px;
}

.welcome-card {
  background: #fff;
  border-radius: 24px 24px 0 0;
  margin-top: -24px;
  padding: 30px 22px 26px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.welcome-card .logo { height: 34px; width: auto; }
.headline {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--dark);
  max-width: 340px;
}
.headline strong { font-weight: 700; }
.welcome-card .btn-primary { max-width: 360px; }

.quiz-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.quiz-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.back-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  font-size: 22px;
  line-height: 1;
  padding: 4px;
}
.progress {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #EEF2F7;
  overflow: hidden;
}
.progress > div {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width 0.3s ease;
}
.step-count { font-size: 13px; color: var(--text-2); white-space: nowrap; }

.question { font-size: 22px; font-weight: 700; margin-bottom: 18px; }

.options { display: flex; flex-direction: column; gap: 10px; }
.pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  color: var(--dark);
  text-align: left;
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pill:hover { border-color: #C9D4E4; }
.pill.selected { border-color: var(--green); background: var(--green-soft); }
.radio {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid #D0D7E2;
  background: #fff;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.pill.selected .radio { background: var(--green); border-color: var(--green); }
.radio svg { display: none; }
.pill.selected .radio svg { display: block; }

.quiz-cta { margin-top: auto; padding-top: 22px; }

.done {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 30px 20px;
}
.done .logo { height: 40px; width: auto; }
.done h1 { font-size: 20px; font-weight: 700; }
.done p { font-size: 14px; color: var(--text-2); max-width: 300px; line-height: 1.6; }

.desktop-panel { display: none; }

.spinner {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 4px solid #EEF2F7;
  border-top-color: var(--green);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.result { flex: 1; display: flex; flex-direction: column; padding: 8px 0; }
.result-kicker { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; text-align: center; }
.result-card {
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 18px;
  padding: 22px 20px;
}
.result-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.result-name { font-size: 22px; font-weight: 700; flex: 1; }
.result-why { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 14px; }
.result-perks { list-style: none; margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.result-perks li { font-size: 14px; color: var(--dark); padding-left: 26px; position: relative; }
.result-perks li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: #3B6D11;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--green);
}
.verified { font-size: 12px; color: var(--text-2); text-align: center; margin-top: 10px; }
.result-disclaimer { font-size: 11.5px; color: var(--text-3); line-height: 1.6; text-align: center; margin-top: 16px; }
.restart { background: none; border: none; color: var(--blue); font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 14px; padding: 8px; }

.lp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 20px;
}
.lp-header-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lp-header .logo { height: 28px; width: auto; }
.lp-header .btn-primary { width: auto; padding: 10px 20px; font-size: 14px; }

.lp-hero { background: var(--blue); color: #fff; padding: 52px 20px 60px; }
.lp-hero-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  text-align: center;
}
.lp-hero h1 { font-size: 30px; line-height: 1.25; font-weight: 700; max-width: 560px; }
.lp-hero .sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin-top: 14px;
}
.lp-hero .btn-hero {
  display: inline-block;
  background: var(--green);
  color: #173404;
  border: none;
  border-radius: 12px;
  padding: 16px 34px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 26px;
  transition: filter 0.15s ease;
}
.lp-hero .btn-hero:hover { filter: brightness(1.05); }
.lp-hero .hero-note { font-size: 12px; color: rgba(255, 255, 255, 0.65); margin-top: 12px; }

.lp-section { padding: 56px 20px; }
.lp-section.alt { background: var(--bg-soft); }
.lp-section-inner { max-width: 860px; margin: 0 auto; }
.lp-section h2 { font-size: 26px; font-weight: 700; margin-bottom: 14px; text-align: center; }
.lp-section .lead { font-size: 16px; color: var(--text-2); line-height: 1.7; text-align: center; max-width: 620px; margin: 0 auto 26px; }

.check-list { list-style: none; max-width: 520px; margin: 0 auto 26px; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
}
.check-list .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #173404;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 1px;
}

.steps { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 8px; }
.step-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

.hero-illus { width: 340px; max-width: 88vw; margin: 0 auto; }
.mask-wrap { display: inline-flex; align-items: center; gap: 7px; flex: 1; min-width: 0; }
.lock-ic { color: #98A2B3; display: inline-flex; flex: none; }
.mask-bar {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #DDE3EC, #C9D2E0);
  display: inline-block;
}
.rank-note { font-size: 13px; color: var(--text-2); text-align: center; margin-top: 14px; line-height: 1.6; }

.lp-rank { max-width: 400px; margin: 0 auto; }
.lp-rank .rank-card { width: 100%; box-shadow: none; border: 1.5px solid var(--line); }
.lp-rank .rank-row { padding: 13px 6px; }
.lp-rank .rank-link { font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; white-space: nowrap; }

.quotes { display: grid; grid-template-columns: 1fr; gap: 14px; }
.quote-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.quote-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.quote-name { font-size: 15px; font-weight: 700; }
.quote-date { font-size: 12px; color: var(--text-3); }
.quote-stars { color: #EF9F27; font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.quote-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

.faq { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--blue); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { font-size: 14px; color: var(--text-2); line-height: 1.65; padding-bottom: 16px; }

.disclaimer {
  max-width: 680px;
  margin: 0 auto;
  background: #FFF8E6;
  border: 1.5px solid #FAC775;
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 13px;
  color: #633806;
  line-height: 1.65;
}

.cta-band { background: var(--blue); text-align: center; padding: 48px 20px; }
.cta-band h2 { color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 20px; }

.lp-footer { background: var(--dark); color: #C9CDD4; padding: 44px 20px 28px; font-size: 13px; }
.lp-footer-inner { max-width: 1060px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.lp-footer .logo-white { height: 26px; width: auto; }
.lp-footer h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.lp-footer a { color: #C9CDD4; text-decoration: none; display: inline-block; padding: 2px 0; }
.lp-footer a:hover { color: #fff; }
.lp-footer .cols { display: flex; flex-direction: column; gap: 22px; }
.lp-footer .legal-line { border-top: 1px solid #33363B; padding-top: 18px; line-height: 1.7; color: #8B9099; }

@media (min-width: 900px) {
  .lp-hero-inner { flex-direction: row; text-align: left; justify-content: space-between; }
  .lp-hero h1 { font-size: 40px; }
  .lp-hero .hero-copy { max-width: 560px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .lp-footer .cols { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

@media (min-width: 900px) {
  .layout { flex-direction: row; }
  .desktop-panel { display: flex; width: 44%; min-height: 100dvh; position: sticky; top: 0; }
  .hero-mobile, .mobile-only { display: none; }
  .content { justify-content: center; padding: 48px 40px; }
  .welcome-card { margin: 0; border-radius: 0; padding: 0; justify-content: center; }
  .welcome-card .logo { display: none; }
  .headline { font-size: 30px; }
  .quiz-wrap { padding: 0; }
  .question { font-size: 24px; }
  .quiz-cta { margin-top: 26px; }
}
