:root {
  --bg: #f3f8fe;
  --paper: #ffffff;
  --ink: #1a1a2e;
  --muted: #6b6b7e;
  --line: #e3ecfb;
  --accent: #2375ed;
  --accent-dark: #1b5bb8;
  --warn: #8a5a00;
  --soft: #eaf1fc;
  --shadow: 0 22px 70px rgba(30, 50, 110, .10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: radial-gradient(circle at 5% 0, #eaf1fc, var(--bg) 38%, #e3ecfb 100%);
  color: var(--ink);
  line-height: 1.65;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 18px 72px;
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  color: var(--paper);
  box-shadow: 0 12px 34px rgba(35, 117, 237, .20);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(255, 255, 255, .30);
  border-radius: 10px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 9px;
  bottom: 10px;
  width: 25px;
  height: 5px;
  border-radius: 999px;
  background: #4ea3f7;
  transform: rotate(-18deg);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand-text small,
.brand-header p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.brand-header p {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 22px;
  align-items: start;
}

.hero-copy,
.form-card,
.panel {
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-copy { padding: 44px; }
.form-card { padding: 24px; }

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 16px;
  max-width: 760px;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chips span,
.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 11px;
  background: #e3ecfb;
  color: var(--accent-dark);
  border: 1px solid #cfe0fb;
  font-size: 12px;
  font-weight: 800;
}

.badge.warn {
  background: #eaf1fc;
  color: var(--warn);
  border-color: #cfe0fb;
}

.grid {
  display: grid;
  gap: 12px;
}

.track-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 18px;
}

.track-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
  background: #fff;
  cursor: pointer;
}

.track-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.track-card span,
.track-card small {
  display: block;
}

.track-card span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.track-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.track-card:has(input:checked) {
  border-color: #a9c9f0;
  background: #eaf1fc;
}

.form-section-title {
  margin-top: 6px;
}

.grid.two,
.report-grid.two {
  grid-template-columns: 1fr 1fr;
}

label {
  display: block;
  margin: 12px 0;
  color: #3a3a4e;
  font-size: 13px;
  font-weight: 750;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

textarea {
  min-height: 86px;
  resize: vertical;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

button {
  width: 100%;
  margin-top: 12px;
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  background: var(--accent);
  color: white;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}

button:disabled {
  opacity: .65;
  cursor: wait;
}

.note,
.small,
.compliance {
  color: var(--muted);
  font-size: 13px;
}

.report {
  margin-top: 22px;
}

.hidden {
  display: none;
}

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

.panel {
  padding: 24px;
}

.wide {
  margin-bottom: 18px;
}

.case {
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 17px;
  background: #fff;
}

.case h3 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.case h3 span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 3px 8px;
  background: #e3ecfb;
  color: var(--accent-dark);
  font-size: 12px;
}

ul {
  margin: 8px 0;
  padding-left: 20px;
}

li {
  margin: 6px 0;
}

code {
  border-radius: 6px;
  padding: 2px 5px;
  background: #eef4fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.cta {
  background: var(--soft);
}

.us-model {
  margin-bottom: 18px;
  border-color: #cfe0fb;
  background: #f2f7fe;
}

.strong {
  font-weight: 800;
  color: var(--accent-dark);
}

.alert {
  border-radius: 16px;
  padding: 18px;
  background: #fff1ee;
  color: #a6423a;
  border: 1px solid #f2ccc4;
}

@media (max-width: 900px) {
  .hero,
  .track-selector,
  .grid.two,
  .report-grid,
  .report-grid.two {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 20px 12px 50px;
  }

  .brand-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-text strong {
    font-size: 22px;
  }

  .brand-header p {
    width: 100%;
    border-radius: 14px;
  }

  .hero-copy {
    padding: 28px;
  }

  h1 {
    font-size: 32px;
  }
}
