:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #667085;
  --line: #d7e0ea;
  --surface: #ffffff;
  --soft: #f3f7fb;
  --brand: #1a73e8;
  --brand-dark: #1557b0;
  --accent: #12b3a8;
  --gold: #f4b740;
  --warning: #d97706;
  --danger: #c2410c;
  --shadow: 0 20px 50px rgba(20, 43, 75, 0.12);
  --deep: #07111f;
  --deep-2: #0d1b2f;
}

@media (max-width: 640px) {
  body {
    padding-bottom: 84px;
  }

  .hero {
    gap: 12px;
    padding-top: 78px;
    padding-bottom: 26px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.12;
  }

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

  .hero-support,
  .hero-badges,
  .model-strip,
  .scan-status,
  .ai-dashboard {
    display: none;
  }

  .system-subtitle {
    min-height: 26px;
    margin-bottom: 8px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hero-panel {
    padding: 14px;
  }

  .panel-kicker {
    margin-bottom: 10px;
  }

  .report-flow {
    padding-top: 78px;
  }

  .report-flow .section-heading h1 {
    font-size: 28px;
    line-height: 1.18;
  }

  .checking-steps,
  .metric-list,
  .locked-grid,
  .report-layout {
    grid-template-columns: 1fr;
  }

  .progress-head,
  .locked-head,
  .metric-row,
  .sms-row {
    align-items: stretch;
    flex-direction: column;
  }

  .sms-row .secondary-button {
    width: 100%;
  }

  .metric-row span {
    width: 100%;
  }

  .consult-side-card {
    position: static;
  }

  .floating-cta {
    right: 10px;
    bottom: 10px;
    left: 10px;
    justify-content: space-between;
    border-radius: 10px;
  }

  .floating-cta .primary-button {
    flex: 0 0 auto;
    padding-right: 14px;
    padding-left: 14px;
    white-space: nowrap;
  }

  .modal {
    max-height: calc(100vh - 28px);
    overflow: auto;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef5ff 0, #f8fbfd 430px, #ffffff 100%);
  line-height: 1.6;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: start;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(248, 251, 253, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: start;
  gap: 10px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #1a73e8, #12b3a8);
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: start;
  gap: 18px;
  flex: 1;
  color: #344054;
  font-size: 14px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.nav-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: start;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
}

.nav-action,
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #1a73e8, #12b3a8);
  box-shadow: 0 12px 28px rgba(26, 115, 232, 0.24);
}

.nav-action:hover,
.primary-button:hover {
  background: var(--brand-dark);
}

.secondary-button {
  color: var(--brand);
  background: #eef6ff;
  border-color: #cce3ff;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 40px;
  align-items: start;
  min-height: calc(100vh - 68px);
  padding: 28px clamp(20px, 4vw, 48px) 40px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8px clamp(12px, 2vw, 24px);
  height: min(68vh, 600px);
  z-index: -1;
  border: 1px solid rgba(26, 115, 232, 0.10);
  border-radius: 12px;
  background:
    linear-gradient(rgba(26, 115, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 115, 232, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #f0f6ff, #e8f4fe 54%, #f5faff);
  background-size: 42px 42px, 42px 42px, auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: #0f948a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
}

.hero h1,
.hero .lead,
.hero .hero-support {
  color: #1a2a3a;
}

.hero .eyebrow {
  color: #0b6e68;
}

.system-subtitle {
  display: inline-flex;
  align-items: start;
  min-height: 30px;
  margin: 0 0 12px;
  padding: 0 12px;
  border: 1px solid rgba(26, 115, 232, 0.25);
  border-radius: 8px;
  color: #1a73e8;
  background: rgba(26, 115, 232, 0.06);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.06);
}

h2 {
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 1.2;
}

h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.lead {
  max-width: 720px;
  color: #3f4d5f;
  font-size: 18px;
}

.hero-support {
  max-width: 720px;
  color: #5a6b7a;
  font-size: 16px;
}

.hero-badges,
.model-strip,
.scan-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badges {
  margin-bottom: 18px;
}

.hero-badges span,
.model-strip span,
.scan-status span {
  display: inline-flex;
  align-items: start;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.hero-badges span {
  color: #1a73e8;
  border: 1px solid rgba(26, 115, 232, 0.20);
  background: rgba(26, 115, 232, 0.06);
}

.model-strip {
  margin-top: 24px;
}

.model-strip span {
  color: #1a73e8;
  border: 1px solid rgba(26, 115, 232, 0.15);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.06);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-panel,
.panel,
.membership {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 28px;
}

.hero-search-panel {
  align-self: center;
  position: relative;
  overflow: hidden;
  border-color: rgba(26, 115, 232, 0.12);
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 20px 60px rgba(26, 115, 232, 0.08);
}

.hero-search-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a73e8, #12b3a8, #f4b740);
}

.panel-kicker {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.panel-kicker span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.panel-kicker strong {
  font-size: 18px;
}

.hero-search-form {
  display: grid;
  gap: 14px;
}

.hero-search-form label {
  gap: 8px;
  font-size: 15px;
}

.hero-search-form input {
  min-height: 54px;
  padding-left: 16px;
  border: 1px solid #cfdbea;
  border-radius: 8px;
  background: #ffffff;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(16, 24, 40, 0.03);
}

.hero-search-form .primary-button {
  min-height: 54px;
  font-size: 17px;
}

.button-note {
  margin: -4px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.scan-status {
  margin-top: 18px;
}

.scan-status span {
  color: #345066;
  background: #edf5ff;
}

.ai-dashboard {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #d9e6f5;
  border-radius: 8px;
  background: #f8fbff;
}

.score-ring {
  display: grid;
  place-items: center;
  align-content: center;
  width: 110px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 48%, transparent 49%),
    conic-gradient(#12b3a8 0 72%, #d8e4f0 72% 100%);
}

.score-ring span {
  color: var(--brand);
  font-weight: 900;
}

.score-ring strong {
  color: #344054;
  font-size: 12px;
}

.signal-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 84px;
  padding: 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #eef6ff, #ffffff);
}

.signal-bars i {
  flex: 1;
  min-width: 14px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #1a73e8, #12b3a8);
}

.model-nodes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.model-nodes span {
  padding: 8px;
  border-radius: 8px;
  color: #0b1f3a;
  background: #ffffff;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid #d8e4f0;
  box-shadow: 0 8px 20px rgba(15, 35, 67, 0.08);
}

.score-orbit {
  display: grid;
  align-content: center;
  min-height: 230px;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(26, 115, 232, 0.92), rgba(18, 179, 168, 0.86)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 35%);
}

.score-orbit span {
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.score-orbit strong {
  margin-top: 8px;
  font-size: 18px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mini-grid > div {
  padding: 16px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2eaf3;
}

.mini-grid strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.mini-grid span {
  color: var(--muted);
  font-size: 13px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.capability-section,
.evidence-section {
  padding-top: 38px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.capability-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(20, 43, 75, 0.08);
}

.capability-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eaf3ff, #e7fbf8);
  position: relative;
}

.capability-icon::before,
.capability-icon::after {
  content: "";
  position: absolute;
}

.icon-radar::before {
  width: 22px;
  height: 22px;
  border: 2px solid var(--brand);
  border-radius: 50%;
}

.icon-radar::after {
  width: 2px;
  height: 18px;
  background: var(--accent);
  transform: rotate(42deg);
  transform-origin: bottom;
}

.icon-rank::before {
  inset: 11px 12px;
  border-left: 4px solid var(--brand);
  border-bottom: 4px solid var(--brand);
}

.icon-rank::after {
  width: 16px;
  height: 16px;
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  transform: rotate(45deg);
}

.icon-source::before {
  width: 22px;
  height: 16px;
  border: 2px solid var(--brand);
  border-radius: 5px;
}

.icon-source::after {
  width: 18px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 6px 0 var(--accent);
}

.icon-risk::before {
  width: 24px;
  height: 24px;
  border: 2px solid var(--warning);
  transform: rotate(45deg);
  border-radius: 5px;
}

.icon-risk::after {
  width: 3px;
  height: 15px;
  background: var(--danger);
  box-shadow: 0 18px 0 -1px var(--danger);
}

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

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: stretch;
}

.radar-panel,
.model-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(20, 43, 75, 0.08);
}

.radar-panel {
  display: grid;
  gap: 14px;
  place-items: center;
  padding: 22px;
}

.radar-chart {
  width: min(260px, 100%);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(30deg, transparent 49%, rgba(26, 115, 232, 0.22) 50%, transparent 51%),
    linear-gradient(90deg, transparent 49%, rgba(26, 115, 232, 0.18) 50%, transparent 51%),
    linear-gradient(150deg, transparent 49%, rgba(26, 115, 232, 0.22) 50%, transparent 51%),
    radial-gradient(circle, rgba(18, 179, 168, 0.18) 0 34%, rgba(26, 115, 232, 0.1) 35% 58%, transparent 59%),
    #f8fbff;
  overflow: hidden;
}

.radar-chart::before {
  content: "";
  width: 54%;
  aspect-ratio: 1;
  clip-path: polygon(50% 0, 87% 28%, 78% 76%, 42% 92%, 12% 58%, 20% 18%);
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.78), rgba(18, 179, 168, 0.72));
}

.radar-chart span {
  position: absolute;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
}

.radar-chart span:nth-child(1) { top: 10px; left: 50%; transform: translateX(-50%); }
.radar-chart span:nth-child(2) { top: 28%; right: 8px; }
.radar-chart span:nth-child(3) { bottom: 24%; right: 10px; }
.radar-chart span:nth-child(4) { bottom: 10px; left: 50%; transform: translateX(-50%); }
.radar-chart span:nth-child(5) { bottom: 24%; left: 10px; }
.radar-chart span:nth-child(6) { top: 28%; left: 8px; }

.chart-legend {
  text-align: center;
}

.chart-legend p {
  color: var(--muted);
}

.model-table-wrap {
  overflow-x: auto;
  padding: 8px;
}

.model-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.model-table th,
.model-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e4edf6;
  text-align: left;
  font-size: 14px;
  color: #1d2939;
}

.model-table th {
  color: #0b1f3a;
  background: #f5f9fd;
  font-size: 13px;
}

.table-bar {
  display: block;
  width: 110px;
  height: 9px;
  border-radius: 999px;
  background: #e4edf6;
  overflow: hidden;
}

.table-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.status-ok,
.status-warn,
.status-risk {
  display: inline-flex;
  min-height: 28px;
  align-items: start;
  padding: 0 9px;
  border-radius: 8px;
  font-size: 12px;
}

.status-ok {
  color: #08756e;
  background: #e7fbf8;
}

.status-warn {
  color: #9a5b00;
  background: #fff6df;
}

.status-risk {
  color: #a33b1b;
  background: #fff1eb;
}

.row-between {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.assess-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
}

.assess-layout .section-heading {
  grid-column: 1 / -1;
}

.panel {
  padding: 22px;
}

.form-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-panel.narrow {
  max-width: 460px;
  grid-template-columns: 1fr;
}

.compact-form {
  align-self: start;
}

label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

input:focus {
  outline: 3px solid rgba(26, 115, 232, 0.16);
  border-color: var(--brand);
}

.full {
  grid-column: 1 / -1;
}

.hidden {
  display: none !important;
}

.result-panel {
  align-self: start;
}

.quick-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 16px;
}

.quick-score strong {
  font-size: 64px;
  line-height: 1;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.pill-list span,
.benefits span {
  display: inline-flex;
  align-items: start;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: #e8f8f5;
  color: #0f766e;
  font-size: 13px;
  font-weight: 700;
}

.unlock-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.privacy-note {
  color: #475467;
  font-size: 14px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.46);
}

.modal {
  position: relative;
  width: min(460px, 100%);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.check-line {
  display: flex;
  align-items: start;
  gap: 8px;
  font-weight: 500;
}

.check-line input {
  width: 18px;
  min-height: 18px;
}

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

.report-card {
  grid-column: span 4;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.report-card.wide {
  grid-column: span 8;
}

.report-card.full-row {
  grid-column: 1 / -1;
}

.dimension-row {
  display: grid;
  grid-template-columns: 120px 1fr 44px;
  gap: 12px;
  align-items: start;
  margin: 10px 0;
  font-size: 14px;
}

.bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5edf5;
}

.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

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

.company-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.company-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.company-card p {
  margin-bottom: 8px;
  color: var(--muted);
}

.search-input {
  max-width: 320px;
}

.directory-toolbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.directory-toolbar span {
  color: var(--muted);
  font-size: 14px;
}

.membership {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 32px;
}

.membership-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

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

.service-compare article,
.consult-band {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.service-compare p {
  margin-bottom: 0;
  color: #475467;
}

.consult-band {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  background: #eef6ff;
}

.consult-band h3,
.consult-band p {
  margin-bottom: 0;
}

.admin-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}

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

.admin-item {
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
}

.funnel-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.funnel-rates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.funnel-rates span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #0b1f3a;
  background: #eef6ff;
  font-size: 13px;
  font-weight: 800;
}

.provider-list {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.provider-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 120px 130px;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.provider-row input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(16px, 4vw, 48px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.admin-body {
  min-height: 100vh;
  background: var(--soft);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 8px;
  color: #fff;
  background: #17202a;
  box-shadow: var(--shadow);
}

.report-flow {
  padding-top: 96px;
}

.checking-card {
  max-width: 880px;
  margin: 0 auto;
}

.progress-head,
.locked-head,
.metric-row,
.sms-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.progress-head strong {
  color: #0b1f3a;
  font-size: 18px;
}

.progress-bar {
  height: 12px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eef7;
}

.progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1169f5, #12b3a8);
  transition: width 0.4s ease;
}

.checking-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.checking-steps span,
.platform-state p,
.metric-list div,
.locked-module {
  border: 1px solid #e4edf6;
  border-radius: 8px;
  background: #f7fbff;
}

.checking-steps span {
  padding: 10px 12px;
  color: #667085;
  font-weight: 700;
}

.checking-steps span.done {
  color: #0b1f3a;
  border-color: rgba(18, 179, 168, 0.36);
  background: rgba(18, 179, 168, 0.1);
}

.platform-state {
  display: grid;
  gap: 8px;
}

.platform-state p {
  margin: 0;
  padding: 10px 12px;
}

.preview-report {
  align-items: start;
}

.highlight-card {
  border-color: rgba(17, 105, 245, 0.22);
  background: linear-gradient(135deg, #ffffff, #f3f8ff);
}

.metric-row {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 16px;
}

.metric-row span {
  min-width: 140px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #475467;
  background: #eef6ff;
  font-weight: 700;
}

.metric-row strong {
  color: #0b1f3a;
}

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

.metric-list div {
  padding: 12px;
}

.metric-list span {
  display: block;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.metric-list strong {
  display: block;
  margin-top: 6px;
  color: #0b1f3a;
  font-size: 22px;
}

.risk-card {
  border-color: rgba(255, 166, 0, 0.35);
  background: #fffaf0;
}

.model-detail-card {
  padding: 14px;
  border: 1px solid #dce8f5;
  border-radius: 8px;
  background: #ffffff;
}

.locked-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.locked-module {
  display: block;
  width: 100%;
  padding: 16px;
  color: #0b1f3a;
  text-align: left;
  cursor: pointer;
}

.locked-module:hover {
  border-color: #1169f5;
  box-shadow: 0 16px 34px rgba(17, 105, 245, 0.12);
}

.locked-module p {
  color: #667085;
}

.locked-module em {
  display: block;
  min-height: 38px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  color: transparent;
  text-shadow: 0 0 8px rgba(71, 84, 103, 0.55);
  background: repeating-linear-gradient(135deg, #edf4fb, #edf4fb 8px, #f7fbff 8px, #f7fbff 16px);
  font-style: normal;
  font-weight: 800;
}

.lock-icon {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #0b1f3a;
  background: #dff7f4;
  font-size: 12px;
  font-weight: 900;
}

.value-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
  color: #344054;
  font-weight: 700;
}

.sms-row {
  align-items: flex-end;
}

.sms-row label {
  flex: 1;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.consult-side-card {
  position: sticky;
  top: 92px;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(17, 105, 245, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(15, 35, 67, 0.18);
}

.floating-cta span {
  color: #475467;
  font-size: 13px;
  font-weight: 800;
}

button:disabled,
.primary-button:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

@media (max-width: 860px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    font-size: 11px;
  }

  .menu-button {
    display: inline-flex;
  }

  .top-nav {
    display: none;
    grid-column: 1 / -1;
    order: initial;
    width: 100%;
    overflow: visible;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(20, 43, 75, 0.1);
  }

  .top-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .top-nav a {
    display: block;
    padding: 12px;
    border-radius: 8px;
    background: var(--soft);
    font-weight: 700;
  }

  .nav-action {
    min-height: 42px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .hero,
  .assess-layout,
  .membership,
  .admin-columns,
  .service-compare,
  .capability-grid,
  .evidence-layout {
    grid-template-columns: 1fr;
  }

  .consult-band {
    display: grid;
  }

  .hero {
    min-height: auto;
    gap: 20px;
    padding-top: 20px;
  }

  .hero::before {
    inset: 8px clamp(12px, 2vw, 24px);
    height: 620px;
  }

  h1 {
    font-size: 31px;
    margin-bottom: 12px;
  }

  .lead {
    font-size: 17px;
  }

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

  .hero-badges {
    gap: 6px;
    margin-bottom: 12px;
  }

  .hero-badges span,
  .model-strip span {
    min-height: 28px;
    padding: 0 8px;
  }

  .model-strip {
    margin-top: 16px;
  }

  .hero-panel {
    padding: 18px;
  }

  .hero-search-form input,
  .hero-search-form .primary-button {
    min-height: 52px;
  }

  .ai-dashboard {
    grid-template-columns: 92px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .score-ring {
    width: 86px;
  }

  .signal-bars {
    height: 70px;
  }

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

  .capability-section,
  .evidence-section {
    padding-top: 28px;
  }

  .form-panel,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .report-card,
  .report-card.wide {
    grid-column: 1 / -1;
  }

  .row-between {
    display: block;
  }

  .search-input {
    max-width: none;
  }

  .provider-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    gap: 12px;
    padding-top: 78px;
    padding-bottom: 26px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.12;
  }

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

  .hero-support,
  .hero-badges,
  .model-strip,
  .scan-status,
  .ai-dashboard {
    display: none !important;
  }

  .system-subtitle {
    min-height: 26px;
    margin-bottom: 8px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hero-panel {
    padding: 14px;
  }

  .panel-kicker {
    margin-bottom: 10px;
  }

  .funnel-grid {
    grid-template-columns: 1fr;
  }
}
