:root {
  --primary: #2457ff;
  --dark: #101322;
  --muted: #667085;
  --light: #f6f8fb;
  --border: #e6e8ef;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--dark);
  padding-top: 76px;
}

.navbar-brand {
  letter-spacing: -.04em;
  min-height: 44px;
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero {
  background: radial-gradient(circle at 80% 10%, #dfe8ff 0, #fff 36%, #f7f9fc 100%);
}

.hero-card,
.diagnostic-box {
  background: #fff;
  border-radius: 28px;
  padding: 34px;
}

.section {
  padding: 86px 0;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.eyebrow.light {
  color: #9fb4ff;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}

.check-list li {
  padding: 8px 0 8px 30px;
  position: relative;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--primary);
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline div {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  display: grid;
  gap: 5px;
}

.timeline b {
  font-size: 1.1rem;
}

.timeline span {
  color: var(--muted);
}

.service-card {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, .055);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
}

.service-intro {
  max-width: 760px;
  color: rgba(255, 255, 255, .72);
}

.service-card p {
  color: rgba(255, 255, 255, .72);
}

.service-card .service-subtitle {
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.service-card .result {
  color: #fff;
  font-weight: 700;
}

.service-results {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.service-results li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, .82);
}

.service-results li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #9fb4ff;
  font-weight: 900;
}

.consult-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.consult-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
}

.consult-list li:last-child {
  border-bottom: 0;
}

.consult-list span {
  color: var(--muted);
}

.diagnostic-box {
  padding: 0;
  overflow: hidden;
}

.diagnostic-side {
  background: linear-gradient(160deg, #12172b, #2457ff);
  color: #fff;
  padding: 42px;
}

.diagnostic-side p {
  color: rgba(255, 255, 255, .75);
}

label {
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border-radius: 14px;
  padding: 12px 14px;
  border-color: #d9deea;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 .25rem rgba(36, 87, 255, .12);
  border-color: var(--primary);
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
}

.progress-bar {
  background: #fff;
  border-radius: 999px;
}

.btn {
  font-weight: 800;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.rounded-4 {
  border-radius: 24px !important;
}

.card {
  border-radius: 22px;
}

.method-hero {
  background: linear-gradient(180deg, #f6f8fb 0, #fff 100%);
}

.toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
}

.toc strong {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.toc a {
  display: block;
  color: var(--dark);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.toc a:last-child {
  border-bottom: 0;
}

.toc a:hover {
  color: var(--primary);
}

.method-article {
  max-width: 850px;
}

.method-article section {
  scroll-margin-top: 98px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.method-article section:first-child {
  padding-top: 0;
}

.method-article section:last-child {
  border-bottom: 0;
}

.method-article h2 {
  font-weight: 800;
  margin-bottom: 14px;
}

.method-article h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 18px;
}

.method-article p,
.method-article li {
  font-size: 1.05rem;
  line-height: 1.75;
}

.method-article li {
  margin-bottom: 8px;
}

.method-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}

.omniscore-scale {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.omniscore-level {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--light);
}

.omniscore-level strong {
  color: var(--primary);
  font-size: .95rem;
}

.omniscore-level b {
  font-size: 1.05rem;
}

.omniscore-level p {
  margin: 0;
}

.diagnostic-report .report-section {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}

.diagnostic-report .report-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.score-panel {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  background: var(--light);
}

.score-value {
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 1;
  font-weight: 900;
  color: var(--dark);
  margin: 12px 0;
}

.report-check {
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--light);
  font-weight: 800;
}

.action-plan-card {
  background: linear-gradient(180deg, #fff 0, #f6f8fb 100%);
}

.check-list.compact {
  margin: 0;
}

.check-list.compact li {
  padding-top: 4px;
  padding-bottom: 4px;
}

.check-list.compact li::before {
  top: 4px;
}

.locked-plan {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  background: var(--light);
}

.locked-plan .progress {
  background: #dfe5f2;
}

.locked-plan .progress-bar {
  background: var(--primary);
}

.locked-item {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  font-weight: 800;
  color: var(--muted);
}

@media (max-width: 991px) {
  body {
    padding-top: 66px;
  }

  .section {
    padding: 60px 0;
  }

  .display-4 {
    font-size: 2.35rem;
  }

  .diagnostic-side {
    padding: 30px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .toc {
    position: static;
  }

  .method-article section {
    scroll-margin-top: 78px;
  }
}
