:root {
  color-scheme: light;
  --ink: #182027;
  --muted: #64717c;
  --line: #dbe2e8;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --navy: #10263d;
  --red: #b51621;
  --blue: #256b8f;
  --green: #557a46;
  --gold: #c69638;
  --shadow: 0 24px 70px rgba(16, 38, 61, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0, #f7f9fb 520px),
    #f7f9fb;
  color: var(--ink);
}

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

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 54px);
  border-bottom: 1px solid rgba(219, 226, 232, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 245px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--red);
  color: white;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.brand strong,
.brand em {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 17px;
  font-weight: 830;
}

.brand em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav a,
.header-cta,
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 760;
}

.nav a {
  padding: 0 12px;
  color: #344756;
}

.nav a:hover {
  background: #eef3f5;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.language-switch a {
  min-height: 32px;
  padding: 0 10px;
  color: #52616b;
  font-size: 12px;
  font-weight: 820;
}

.language-switch a.active {
  background: #eef3f5;
  color: var(--navy);
}

.header-cta {
  padding: 0 16px;
  background: var(--navy);
  color: #fff;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 34px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 28px 34px;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-top: 14px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  font-weight: 650;
}

h2 {
  max-width: 820px;
  margin-top: 10px;
  font-size: clamp(31px, 3.8vw, 48px);
  line-height: 1.08;
  font-weight: 650;
}

.lead {
  max-width: 735px;
  margin-top: 24px;
  color: #3c4d59;
  font-size: 18px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
}

.button.primary {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.button.secondary {
  background: white;
  color: var(--navy);
}

.note {
  max-width: 690px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.hero-media {
  overflow: hidden;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  object-position: center;
}

.hero-media figcaption {
  padding: 18px 20px 20px;
  color: #4a5a64;
  font-size: 14px;
  line-height: 1.55;
}

.hero-media figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 17px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1184px;
  margin: 8px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 38, 61, 0.08);
}

.proof-strip div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  color: var(--red);
  font-size: 24px;
  line-height: 1;
}

.proof-strip span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 94px 28px 0;
}

.section-head {
  max-width: 900px;
}

.section-head p:not(.eyebrow),
.lab-copy p,
.consult p {
  margin-top: 18px;
  color: #51616b;
  font-size: 17px;
  line-height: 1.72;
}

.compact {
  max-width: 720px;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  margin-top: 34px;
}

.award-panel,
.result-cards article,
.family-grid article,
.mentor-grid article,
.steps li,
.contact-qr {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.award-panel {
  padding: 28px;
  background: var(--navy);
  color: white;
}

.label,
.result-cards span,
.mentor-grid span,
.steps span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.award-panel h3 {
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.15;
}

.award-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.award-list li {
  color: #dce6ed;
  font-size: 15px;
  line-height: 1.6;
}

.award-list strong {
  color: #fff;
}

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

.result-cards article,
.family-grid article,
.mentor-grid article {
  padding: 22px;
}

.result-cards h3,
.family-grid h3,
.mentor-grid h3,
.steps h3 {
  margin-top: 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.result-cards p,
.family-grid p,
.mentor-grid p,
.steps p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.audience {
  max-width: none;
  margin-top: 86px;
  padding: 82px max(28px, calc((100vw - 1184px) / 2)) 88px;
  background: #eef3f5;
}

.family-grid,
.mentor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

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

.mentor-grid article {
  min-height: 228px;
}

.labs {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 36px;
  align-items: start;
}

.category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
}

.category-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #d5dfd6;
  border-radius: 999px;
  background: #fff;
  color: #354854;
  font-size: 14px;
  font-weight: 710;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 230px;
  padding: 22px;
}

.consult {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 34px;
  max-width: 1184px;
  margin: 96px auto 70px;
  padding: 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(181, 22, 33, 0.92), rgba(16, 38, 61, 0.96)),
    var(--navy);
  color: #fff;
}

.consult .eyebrow {
  color: #ffd166;
}

.consult h2 {
  color: #fff;
}

.consult p {
  color: #e7edf2;
}

.contact-qr {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  text-align: center;
}

.contact-qr-frame {
  width: min(100%, 310px);
  aspect-ratio: 1 / 0.9;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.contact-qr-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-qr strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.35;
}

.contact-qr p {
  margin-top: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-tools {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .hero,
  .result-layout,
  .labs,
  .consult {
    grid-template-columns: 1fr;
  }

  .proof-strip,
  .family-grid,
  .mentor-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
    padding-right: 84px;
  }

  .brand strong {
    font-size: 15px;
  }

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

  .header-cta {
    display: none;
  }

  .language-switch {
    display: flex;
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 16px;
  }

  .proof-strip,
  .result-cards,
  .family-grid,
  .mentor-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 68px;
  }

  .audience {
    margin-top: 66px;
    padding-top: 66px;
    padding-bottom: 70px;
  }

  .consult {
    margin: 72px 18px 46px;
    padding: 26px 18px;
  }
}
