:root {
  --navy-950: #061427;
  --navy-900: #091c34;
  --navy-800: #102a49;
  --navy-700: #173d63;
  --gold-500: #d8a83e;
  --gold-300: #efd58d;
  --cyan-500: #19b7ca;
  --cyan-100: #e2f8fa;
  --ink: #122036;
  --muted: #66748a;
  --line: #dce5ee;
  --canvas: #f7f9fb;
  --panel: #ffffff;
  --success: #23926c;
  --warning: #d99224;
  --danger: #d65353;
  --shadow-sm: 0 8px 24px rgba(11, 30, 52, 0.07);
  --shadow-lg: 0 28px 70px rgba(6, 20, 39, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family:
    Inter,
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.site-nav {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(calc(100% - 32px), 1180px);
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-core {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy-950);
  background: linear-gradient(145deg, #f4dc9d, var(--gold-500));
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -1px;
}

.brand > span:last-child {
  display: grid;
  gap: 3px;
}

.brand strong {
  font-size: 17px;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.nav-cta,
.outline-button,
.secondary-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--navy-900);
  background: transparent;
  border: 1px solid #cbd8e5;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.nav-cta:hover,
.outline-button:hover,
.secondary-button:hover {
  background: #fff;
  border-color: var(--gold-500);
  transform: translateY(-1px);
}

.primary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(6, 20, 39, 0.18);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.primary-button:hover {
  box-shadow: 0 16px 32px rgba(6, 20, 39, 0.24);
  transform: translateY(-2px);
}

.primary-button span {
  color: var(--gold-300);
  font-size: 20px;
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.wide-button {
  width: 100%;
}

.compact-button {
  min-height: 42px;
  padding: 0 18px;
  box-shadow: none;
  font-size: 13px;
}

.hero {
  position: relative;
  display: grid;
  width: min(calc(100% - 32px), 1180px);
  min-height: 660px;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 76px;
  align-items: center;
  margin: 10px auto 80px;
  padding: 56px 0 70px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -10%;
  width: 520px;
  height: 520px;
  content: "";
  background: radial-gradient(circle, rgba(25, 183, 202, 0.12), transparent 66%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

.eyebrow i {
  width: 24px;
  height: 2px;
  background: var(--gold-500);
}

.hero h1 {
  max-width: 650px;
  margin: 25px 0 24px;
  color: var(--navy-950);
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -3.5px;
}

.hero h1 span {
  color: var(--navy-700);
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.quiet-note {
  max-width: 170px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.hero-proof {
  display: flex;
  gap: 0;
  margin-top: 42px;
}

.hero-proof span {
  padding: 0 27px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  font-size: 12px;
}

.hero-proof span:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-proof b {
  margin-right: 4px;
  color: var(--navy-900);
  font-size: 25px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: #e8f0f8;
  background:
    linear-gradient(145deg, rgba(23, 61, 99, 0.65), transparent 50%),
    var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-panel::after {
  position: absolute;
  top: -80px;
  right: -90px;
  width: 220px;
  height: 220px;
  content: "";
  background: radial-gradient(circle, rgba(216, 168, 62, 0.25), transparent 68%);
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.panel-topline span {
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.panel-topline em {
  padding: 5px 9px;
  color: #b9cadb;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
}

.sample-score {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px 0 22px;
}

.score-ring {
  display: grid;
  width: 108px;
  height: 108px;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle at center, var(--navy-950) 61%, transparent 63%),
    conic-gradient(var(--gold-500) 42%, rgba(255, 255, 255, 0.11) 0);
  border-radius: 50%;
}

.score-ring strong {
  color: #fff;
  font-size: 29px;
  line-height: 1;
}

.score-ring small {
  margin-top: 5px;
  color: #a9bcd0;
  font-size: 10px;
}

.sample-score > div:last-child small {
  color: var(--cyan-500);
  font-size: 10px;
  font-weight: 800;
}

.sample-score h2 {
  margin: 8px 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.35;
}

.sample-score p {
  margin: 0;
  color: #aebfd0;
  font-size: 12px;
  line-height: 1.7;
}

.sample-bars {
  display: grid;
  gap: 13px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.sample-bars span {
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  gap: 10px;
  align-items: center;
}

.sample-bars i,
.sample-bars em {
  color: #9fb2c5;
  font-size: 10px;
  font-style: normal;
}

.sample-bars em {
  text-align: right;
}

.sample-bars b {
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
}

.sample-bars u {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--cyan-500));
  border-radius: inherit;
}

.sample-action {
  margin-top: 10px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 10px 10px 0;
}

.sample-action small {
  color: var(--gold-300);
  font-size: 10px;
  font-weight: 800;
}

.sample-action p {
  margin: 7px 0 0;
  color: #e1eaf3;
  font-size: 12px;
  line-height: 1.75;
}

.how-it-works,
.checkup-section,
.policy-section {
  width: min(calc(100% - 32px), 980px);
  margin: 0 auto;
}

.how-it-works {
  padding: 78px 0 110px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading > span,
.checkup-intro > span {
  color: var(--cyan-500);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.2px;
}

.section-heading h2,
.checkup-intro h2 {
  margin: 12px 0 0;
  color: var(--navy-950);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: -1.6px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-grid article {
  position: relative;
  min-height: 210px;
  padding: 30px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.step-grid b {
  color: var(--gold-500);
  font-size: 12px;
  letter-spacing: 1px;
}

.step-grid h3 {
  margin: 35px 0 13px;
  color: var(--navy-900);
  font-size: 21px;
}

.step-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.checkup-section {
  padding: 95px 0 120px;
}

.checkup-intro {
  max-width: 700px;
  margin-bottom: 46px;
}

.checkup-intro p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.checkup-form {
  display: grid;
  gap: 18px;
}

.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-card,
.goal-card {
  padding: 30px;
}

.card-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.card-heading b {
  color: var(--navy-900);
  font-size: 20px;
}

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

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label > span,
.order-form label > span,
.appointment-form label > span {
  display: block;
  margin-bottom: 8px;
  color: #516179;
  font-size: 12px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid #d7e1ea;
  border-radius: 10px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.7;
}

input::placeholder,
textarea::placeholder {
  color: #9ba8b8;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(25, 183, 202, 0.1);
}

.progress-card {
  position: sticky;
  z-index: 10;
  top: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.progress-card > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.progress-card > span b {
  color: var(--navy-900);
  font-size: 20px;
}

.progress-card > div {
  height: 7px;
  overflow: hidden;
  background: #e7edf2;
  border-radius: 99px;
}

.progress-card i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--cyan-500));
  border-radius: inherit;
  transition: width 0.25s ease;
}

.progress-card em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.question-flow {
  display: grid;
  gap: 18px;
}

.question-card {
  display: grid;
  min-height: 218px;
  grid-template-columns: 72px 1fr;
  overflow: hidden;
}

.question-number {
  display: grid;
  align-content: start;
  justify-content: center;
  padding-top: 32px;
  color: var(--gold-500);
  background: linear-gradient(180deg, #0b223c, var(--navy-950));
  font-size: 17px;
  font-weight: 900;
}

.question-body {
  padding: 30px;
}

.question-body h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 21px;
  line-height: 1.45;
}

.question-body > p {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

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

.choice-option {
  position: relative;
  cursor: pointer;
}

.choice-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-option span {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 11px;
  margin: 0;
  padding: 11px 13px;
  color: #40516a;
  background: #f9fbfc;
  border: 1px solid #dae4ec;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.choice-option span i {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 2px solid #b4c2d0;
  border-radius: 50%;
}

.choice-option:hover span {
  border-color: var(--cyan-500);
  transform: translateY(-1px);
}

.choice-option input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(25, 183, 202, 0.1);
}

.choice-option input:checked + span {
  color: var(--navy-900);
  background: var(--cyan-100);
  border-color: var(--cyan-500);
}

.choice-option input:checked + span i {
  background: radial-gradient(circle, var(--cyan-500) 42%, #fff 46%);
  border-color: var(--cyan-500);
}

.consent-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: #f0f5f8;
  border: 1px solid #d9e4eb;
  border-radius: 14px;
}

.check-line {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

.check-line input {
  width: 17px;
  min-height: 17px;
  margin: 2px 0 0;
  accent-color: var(--cyan-500);
}

.check-line span {
  margin: 0;
  color: #55667d;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.65;
}

.check-line a {
  color: var(--navy-700);
  font-weight: 800;
}

.submit-area {
  display: grid;
  max-width: 570px;
  justify-self: center;
  gap: 10px;
  width: 100%;
  padding-top: 14px;
  text-align: center;
}

.submit-area small {
  color: var(--muted);
  font-size: 10px;
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.6;
}

.offer-section {
  padding: 100px max(16px, calc((100% - 1180px) / 2)) 110px;
  color: #fff;
  background: var(--navy-950);
}

.offer-section .section-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.light-heading h2 {
  color: #f4f7fa;
}

.offer-grid {
  display: grid;
  width: min(100%, 1000px);
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 auto;
}

.offer-grid article {
  min-height: 355px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.offer-grid article.featured-offer {
  background: linear-gradient(145deg, rgba(216, 168, 62, 0.16), rgba(255, 255, 255, 0.06));
  border-color: rgba(216, 168, 62, 0.54);
  transform: translateY(-12px);
}

.offer-tag {
  display: inline-flex;
  padding: 6px 11px;
  color: var(--gold-300);
  background: rgba(216, 168, 62, 0.12);
  border: 1px solid rgba(216, 168, 62, 0.26);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.offer-grid h3 {
  margin: 26px 0 10px;
  font-size: 20px;
}

.offer-grid strong {
  display: block;
  color: var(--gold-300);
  font-size: 35px;
}

.offer-grid ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  color: #afbdcb;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 1.6;
  list-style: none;
}

.offer-grid li::before {
  margin-right: 9px;
  color: var(--cyan-500);
  content: "✓";
  font-weight: 900;
}

.policy-section {
  padding: 100px 0;
}

.policy-section h2 {
  margin: 0 0 28px;
  color: var(--navy-900);
  font-size: 27px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.policy-grid p {
  margin: 0;
  padding: 20px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.8;
}

.policy-grid b {
  color: var(--navy-800);
}

.site-footer {
  display: grid;
  width: min(calc(100% - 32px), 1180px);
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 0 auto;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.site-footer > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #8c99a8;
  font-size: 10px;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 10px;
}

/* Result */

.result-page {
  background:
    radial-gradient(circle at 85% 10%, rgba(25, 183, 202, 0.13), transparent 25%),
    var(--canvas);
}

.result-nav {
  min-height: 76px;
}

.result-shell {
  width: min(calc(100% - 32px), 860px);
  margin: 20px auto 90px;
}

.loading-card {
  display: grid;
  min-height: 420px;
  place-items: center;
  align-content: center;
  padding: 40px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.loading-card h1 {
  margin: 22px 0 8px;
  color: var(--navy-900);
  font-size: 27px;
}

.loading-card p {
  color: var(--muted);
}

.loading-mark {
  width: 42px;
  height: 42px;
  border: 4px solid #e1e9ef;
  border-top-color: var(--cyan-500);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.error-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  background: var(--danger);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
}

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

.result-hero {
  position: relative;
  overflow: hidden;
  padding: 52px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(23, 61, 99, 0.7), transparent 55%),
    var(--navy-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.result-hero::after {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 300px;
  height: 300px;
  content: "";
  background: radial-gradient(circle, rgba(216, 168, 62, 0.26), transparent 70%);
}

.result-kicker {
  display: inline-flex;
  padding: 7px 12px;
  color: var(--gold-300);
  background: rgba(216, 168, 62, 0.1);
  border: 1px solid rgba(216, 168, 62, 0.28);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.result-person {
  margin: 30px 0 8px;
  color: #a9bdcf;
  font-size: 11px;
}

.result-title {
  max-width: 660px;
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 6vw, 50px);
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.result-summary {
  max-width: 680px;
  margin: 22px 0 0;
  color: #bdcbd8;
  font-size: 15px;
  line-height: 1.9;
}

.result-disclaimer {
  margin-top: 35px;
  padding-top: 20px;
  color: #849db2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 9px;
}

.result-content {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.result-card {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.result-card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.result-card-heading > span,
.detail-section-title > span {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--gold-500);
  background: var(--navy-950);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.result-card-heading small {
  color: var(--cyan-500);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.result-card-heading h2 {
  margin: 4px 0 0;
  color: var(--navy-900);
  font-size: 22px;
}

.result-scores {
  display: grid;
  gap: 18px;
}

.result-score > div {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.result-score strong {
  font-size: 13px;
}

.result-score span {
  padding: 3px 7px;
  color: #a36c06;
  background: #fff3d6;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 800;
}

.result-score em {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.result-score > b {
  display: block;
  height: 9px;
  overflow: hidden;
  background: #e8eef3;
  border-radius: 99px;
}

.result-score i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-500), #48c9aa);
  border-radius: inherit;
}

.result-score.is-bottleneck i {
  background: linear-gradient(90deg, #de5c55, var(--gold-500));
}

.first-action-card {
  background: linear-gradient(145deg, #fff9e9, #fff);
  border-color: #ead7a6;
}

.first-action {
  margin: 0;
  color: var(--navy-800);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.75;
}

.report-preview {
  padding: 22px;
  background: #f3f7fa;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.report-preview > span {
  color: var(--navy-800);
  font-size: 12px;
  font-weight: 900;
}

.report-preview ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
  list-style: none;
}

.report-preview li::before {
  margin-right: 7px;
  color: var(--cyan-500);
  content: "✓";
  font-weight: 900;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
  padding: 0 3px;
}

.price-line span {
  color: var(--muted);
  font-size: 12px;
}

.price-line strong {
  color: var(--navy-900);
  font-size: 31px;
}

.payment-box {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  padding: 18px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.payment-box img,
.payment-placeholder {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.payment-box.has-payment-qr {
  display: grid;
  grid-template-columns: minmax(190px, 260px) 1fr;
  align-items: center;
  padding: 22px;
}

.payment-qr-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e3ea;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(6, 20, 39, 0.09);
}

.payment-box.has-payment-qr img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}

.payment-instructions {
  display: grid;
  gap: 8px;
}

.payment-instructions small {
  color: var(--navy-700);
  font-size: 10px;
  font-weight: 800;
}

.payment-placeholder {
  display: grid;
  place-items: center;
  color: var(--gold-500);
  font-size: 31px;
  font-weight: 900;
}

.payment-box strong {
  color: var(--navy-900);
  font-size: 12px;
}

.payment-box p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.order-form,
.appointment-form {
  display: grid;
  gap: 14px;
}

.unlock-banner {
  margin-bottom: 26px;
  padding: 14px 16px;
  color: #156c50;
  background: #e7f7f1;
  border: 1px solid #b9e5d4;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
}

.paid-unlocked section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.paid-unlocked h3 {
  margin: 0 0 13px;
  color: var(--navy-900);
  font-size: 15px;
}

.paid-unlocked p,
.paid-unlocked li {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.seven-day-plan,
.stop-doing {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.consultation-card > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.consult-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0;
}

.consult-price strong {
  color: var(--navy-900);
  font-size: 30px;
}

.consult-price span {
  color: var(--muted);
  font-size: 10px;
}

.secondary-button {
  min-height: 50px;
  color: #fff;
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.secondary-button:hover {
  color: var(--navy-900);
}

.result-footer-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5px;
  color: var(--muted);
  font-size: 10px;
}

.result-footer-note p {
  margin: 0;
}

.result-footer-note a {
  font-weight: 800;
}

/* Admin */

.admin-page {
  background:
    linear-gradient(180deg, var(--navy-950) 0, var(--navy-950) 280px, var(--canvas) 280px);
}

.admin-shell {
  width: min(calc(100% - 28px), 1400px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 0 60px;
}

.admin-login {
  display: grid;
  width: min(100%, 900px);
  min-height: 480px;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  margin: 8vh auto 0;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.login-brand {
  display: grid;
  align-content: center;
  padding: 60px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 10%, rgba(216, 168, 62, 0.27), transparent 28%),
    linear-gradient(145deg, var(--navy-700), var(--navy-950));
}

.large-core {
  width: 62px;
  height: 62px;
  margin-bottom: 34px;
  font-size: 20px;
}

.login-brand > span {
  color: var(--gold-300);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2.4px;
}

.login-brand h1 {
  margin: 12px 0 14px;
  font-size: 33px;
  letter-spacing: -1px;
}

.login-brand p {
  max-width: 360px;
  margin: 0;
  color: #acbecf;
  font-size: 12px;
  line-height: 1.8;
}

.login-form {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 54px;
}

.admin-dashboard {
  display: grid;
  gap: 18px;
}

.admin-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
}

.admin-header .brand small {
  color: #86a0b7;
}

.admin-header > div:last-child {
  display: flex;
  gap: 9px;
}

.admin-header .outline-button {
  color: #d9e4ef;
  border-color: rgba(255, 255, 255, 0.2);
}

.admin-header .outline-button:hover {
  color: var(--navy-900);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.metric-grid article {
  display: grid;
  min-height: 112px;
  align-content: space-between;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.metric-grid span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.metric-grid strong {
  color: var(--navy-900);
  font-size: 27px;
}

.metric-grid small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
}

.channel-panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.channel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.channel-heading small {
  color: var(--cyan-500);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.channel-heading h2 {
  margin: 5px 0 0;
  color: var(--navy-900);
  font-size: 16px;
}

.channel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.channel-table-wrap {
  overflow-x: auto;
}

.channel-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.channel-table th,
.channel-table td {
  padding: 13px 14px;
  color: var(--ink);
  font-size: 10px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.channel-table thead th {
  color: var(--muted);
  background: #f7f9fb;
  font-size: 8px;
  font-weight: 900;
}

.channel-table tbody tr:last-child th,
.channel-table tbody tr:last-child td {
  border-bottom: 0;
}

.channel-table tbody th {
  min-width: 110px;
  text-align: left;
}

.channel-table tbody th strong,
.channel-table tbody th small {
  display: block;
}

.channel-table tbody th strong,
.channel-table td b {
  color: var(--navy-900);
}

.channel-table tbody th small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
}

.channel-empty {
  padding: 26px !important;
  color: var(--muted) !important;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 200px 200px;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.admin-filters span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.admin-filters input,
.admin-filters select {
  min-height: 42px;
}

.admin-workspace {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-workspace > aside,
.admin-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.admin-workspace > aside {
  position: sticky;
  top: 12px;
  overflow: hidden;
}

.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.list-heading strong {
  color: var(--navy-900);
  font-size: 13px;
}

.list-heading span {
  color: var(--muted);
  font-size: 10px;
}

.diagnosis-list {
  display: grid;
  max-height: calc(100vh - 260px);
  overflow: auto;
}

.diagnosis-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: 100%;
  min-height: 115px;
  padding: 16px 18px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.diagnosis-row:hover,
.diagnosis-row.active {
  background: #f3f8fa;
}

.diagnosis-row.active {
  box-shadow: inset 4px 0 var(--cyan-500);
}

.diagnosis-row strong,
.diagnosis-row small,
.diagnosis-row time {
  display: block;
}

.diagnosis-row strong {
  color: var(--navy-900);
  font-size: 13px;
}

.diagnosis-row small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.diagnosis-row .source-line {
  margin-top: 3px;
  color: #698296;
  font-size: 9px;
}

.diagnosis-row time {
  grid-column: 1 / -1;
  color: #9aa7b5;
  font-size: 9px;
}

.row-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 5px;
}

.stage-tag,
.payment-tag {
  align-self: start;
  padding: 4px 7px;
  color: var(--navy-700);
  background: #edf3f7;
  border-radius: 99px;
  font-size: 8px;
  font-weight: 800;
}

.payment-paid {
  color: #116b4e;
  background: #e1f5ed;
}

.payment-pending {
  color: #9a670f;
  background: #fff2d7;
}

.payment-refunded {
  color: #9e3e3e;
  background: #fae7e7;
}

.admin-detail {
  min-height: 580px;
  padding: 28px;
}

.admin-empty {
  display: grid;
  min-height: 300px;
  place-content: center;
  justify-items: center;
  color: var(--muted);
  text-align: center;
}

.admin-empty span {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  color: var(--cyan-500);
  background: var(--cyan-100);
  border-radius: 50%;
  font-size: 20px;
}

.admin-empty p {
  margin: 12px 0;
  font-size: 11px;
}

.list-empty {
  min-height: 160px;
}

.detail-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.detail-header small {
  color: var(--muted);
  font-size: 9px;
}

.detail-header h1 {
  margin: 8px 0 6px;
  color: var(--navy-900);
  font-size: 29px;
}

.detail-header p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.detail-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.diagnosis-banner {
  margin: 24px 0 14px;
  padding: 22px;
  background: linear-gradient(145deg, #0d2947, var(--navy-950));
  border-radius: 14px;
}

.diagnosis-banner small {
  color: var(--gold-300);
  font-size: 9px;
  font-weight: 900;
}

.diagnosis-banner h2 {
  margin: 8px 0;
  color: #fff;
  font-size: 21px;
}

.diagnosis-banner p {
  margin: 0;
  color: #aebfd0;
  font-size: 11px;
  line-height: 1.7;
}

.admin-score-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.admin-score-grid > div {
  padding: 14px;
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.admin-score-grid span,
.admin-score-grid strong {
  display: block;
}

.admin-score-grid span {
  color: var(--muted);
  font-size: 9px;
}

.admin-score-grid strong {
  margin: 5px 0 9px;
  color: var(--navy-900);
  font-size: 20px;
}

.admin-score-grid i {
  display: block;
  height: 5px;
  overflow: hidden;
  background: #e1e8ee;
  border-radius: 99px;
}

.admin-score-grid b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--cyan-500));
}

.record-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
  padding: 18px;
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.record-form label > span {
  font-size: 9px;
}

.record-form select {
  min-height: 41px;
}

.record-form .notes-field {
  grid-column: 1 / -1;
}

.record-form textarea {
  min-height: 90px;
}

.record-form .form-message {
  align-self: center;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.intent-grid article {
  padding: 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.intent-grid small,
.intent-grid strong {
  display: block;
}

.intent-grid small {
  color: var(--muted);
  font-size: 9px;
}

.intent-grid strong {
  margin-top: 7px;
  color: var(--navy-900);
  font-size: 14px;
}

.intent-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.detail-section {
  margin-top: 30px;
}

.detail-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.detail-section-title > span {
  width: 32px;
  height: 32px;
  font-size: 9px;
}

.detail-section-title h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 17px;
}

.important-copy {
  margin: 0;
  padding: 18px;
  color: var(--navy-800);
  background: #fff8e8;
  border-left: 4px solid var(--gold-500);
  border-radius: 0 10px 10px 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.admin-plan-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 25px;
}

.admin-plan-list li {
  padding: 11px 12px;
  color: var(--muted);
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.7;
}

.admin-answer-list {
  display: grid;
  gap: 8px;
}

.admin-answer-list article {
  display: grid;
  grid-template-columns: 32px 1fr 1.2fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: #fafcfd;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.admin-answer-list small {
  color: var(--gold-500);
  font-size: 9px;
  font-weight: 900;
}

.admin-answer-list strong {
  color: var(--navy-800);
  font-size: 10px;
  line-height: 1.6;
}

.admin-answer-list p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 38px;
  }

  .hero-panel {
    max-width: 640px;
  }

  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-workspace {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .record-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-score-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-answer-list article {
    grid-template-columns: 30px 1fr;
  }

  .admin-answer-list p {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .site-nav {
    min-height: 72px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    margin-bottom: 20px;
    padding: 30px 0 60px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px);
    letter-spacing: -2.2px;
  }

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

  .hero-actions {
    align-items: start;
    flex-direction: column;
  }

  .quiet-note {
    max-width: none;
  }

  .hero-proof {
    justify-content: space-between;
  }

  .hero-proof span {
    padding: 0 14px;
  }

  .hero-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .sample-score {
    grid-template-columns: 90px 1fr;
    gap: 16px;
  }

  .score-ring {
    width: 88px;
    height: 88px;
  }

  .sample-score h2 {
    font-size: 17px;
  }

  .how-it-works,
  .checkup-section,
  .policy-section {
    width: min(calc(100% - 24px), 980px);
  }

  .how-it-works,
  .checkup-section {
    padding: 64px 0 80px;
  }

  .step-grid,
  .offer-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .step-grid article {
    min-height: 170px;
  }

  .offer-grid article.featured-offer {
    transform: none;
  }

  .contact-card,
  .goal-card {
    padding: 22px 18px;
  }

  .card-heading {
    align-items: start;
    flex-direction: column;
  }

  .field-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .progress-card {
    top: 6px;
    grid-template-columns: auto 1fr;
    gap: 10px;
  }

  .progress-card em {
    display: none;
  }

  .question-card {
    min-height: 0;
    grid-template-columns: 48px 1fr;
  }

  .question-number {
    padding-top: 25px;
    font-size: 13px;
  }

  .question-body {
    padding: 22px 16px;
  }

  .question-body h3 {
    font-size: 18px;
  }

  .offer-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .policy-section {
    padding: 70px 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    text-align: left;
  }

  .result-shell {
    width: min(calc(100% - 20px), 860px);
    margin-top: 5px;
  }

  .result-hero,
  .result-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .result-title {
    font-size: 35px;
  }

  .report-preview ul {
    grid-template-columns: 1fr;
  }

  .payment-box.has-payment-qr {
    grid-template-columns: 1fr;
  }

  .payment-qr-frame {
    width: min(100%, 300px);
    justify-self: center;
  }

  .result-footer-note {
    flex-direction: column;
  }

  .admin-page {
    background: var(--canvas);
  }

  .admin-shell {
    width: min(calc(100% - 16px), 1400px);
    padding-top: 8px;
  }

  .admin-login {
    grid-template-columns: 1fr;
    margin-top: 10px;
  }

  .login-brand {
    padding: 38px 28px;
  }

  .login-form {
    padding: 36px 28px;
  }

  .admin-header {
    min-height: 70px;
    padding: 0 8px;
    color: var(--ink);
  }

  .admin-header .brand small {
    color: var(--muted);
  }

  .admin-header .outline-button {
    color: var(--navy-900);
    border-color: var(--line);
  }

  .admin-header .outline-button:first-child {
    display: none;
  }

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

  .metric-grid article {
    min-height: 94px;
  }

  .channel-heading {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .admin-filters {
    grid-template-columns: 1fr;
  }

  .admin-workspace {
    grid-template-columns: 1fr;
  }

  .admin-workspace > aside {
    position: static;
  }

  .diagnosis-list {
    max-height: 350px;
  }

  .admin-detail {
    padding: 18px;
  }

  .detail-header {
    flex-direction: column;
  }

  .detail-actions {
    width: 100%;
  }

  .detail-actions button {
    flex: 1;
  }

  .record-form,
  .intent-grid {
    grid-template-columns: 1fr;
  }

  .admin-answer-list article {
    grid-template-columns: 1fr;
  }

  .admin-answer-list p {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  body,
  .result-page {
    color: #111;
    background: #fff !important;
  }

  .result-nav,
  .score-card,
  .first-action-card,
  .consultation-card,
  .result-footer-note,
  .report-download,
  .paid-locked {
    display: none !important;
  }

  .result-shell {
    width: 100%;
    margin: 0;
  }

  .result-hero,
  .result-card {
    color: #111;
    background: #fff !important;
    border: 1px solid #bbb;
    box-shadow: none;
    break-inside: avoid;
  }

  .result-hero {
    padding: 24px;
  }

  .result-title,
  .result-summary,
  .result-person {
    color: #111;
  }

  .result-disclaimer {
    color: #555;
    border-color: #bbb;
  }

  .paid-report-card {
    padding: 24px;
  }

  .paid-unlocked section {
    break-inside: avoid;
  }
}
