:root {
  color-scheme: light;
  --ink: #10213c;
  --muted: #596981;
  --line: #dce3ed;
  --blue: #165dff;
  --blue-dark: #0b3d91;
  --soft: #f5f8fc;
  --white: #ffffff;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header,
main,
footer {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-dark);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand img {
  display: block;
}

.header-note {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 72px;
  min-height: 530px;
  padding-block: 82px;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

h1 {
  max-width: 720px;
  margin-top: 20px;
  font-size: clamp(44px, 5.2vw, 70px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero-description {
  max-width: 690px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.75;
}

.company-name {
  margin-top: 31px;
  color: #34445d;
  font-size: 15px;
  font-weight: 650;
}

.hero-panel {
  display: flex;
  min-height: 292px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  border: 1px solid #cbd9ee;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(22, 93, 255, 0.08), rgba(22, 93, 255, 0)),
    var(--soft);
}

.panel-label {
  margin-bottom: auto;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.hero-panel strong {
  font-size: 27px;
  line-height: 1.35;
}

.hero-panel span {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.directions {
  padding: 92px 0 104px;
  border-top: 1px solid var(--line);
}

.section-heading h2,
.principle h2,
.contact h2 {
  margin-top: 12px;
  font-size: 38px;
  letter-spacing: -0.025em;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.direction-grid article {
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.number {
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
}

.direction-grid h3 {
  margin-top: 42px;
  font-size: 24px;
}

.direction-grid p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.principle {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  padding: 72px;
  border-radius: 24px;
  color: var(--white);
  background: var(--ink);
}

.principle .eyebrow {
  color: #7facff;
}

.principle > p {
  align-self: end;
  color: #d8e2f2;
  font-size: 19px;
  line-height: 1.9;
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  padding: 104px 0;
}

.contact-placeholder {
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.contact-placeholder strong {
  font-size: 20px;
}

.contact-placeholder p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .site-header {
    height: 72px;
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .header-note {
    font-size: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding: 64px 0 72px;
  }

  h1 {
    margin-top: 16px;
    font-size: 42px;
    line-height: 1.12;
  }

  .hero-description {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.7;
  }

  .company-name {
    margin-top: 24px;
    line-height: 1.6;
  }

  .hero-panel {
    min-height: 240px;
    padding: 28px;
  }

  .hero-panel strong {
    font-size: 24px;
  }

  .directions {
    padding: 72px 0 78px;
  }

  .section-heading h2,
  .principle h2,
  .contact h2 {
    font-size: 32px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .direction-grid article {
    min-height: 230px;
  }

  .principle,
  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .principle {
    padding: 38px 28px;
  }

  .principle > p {
    font-size: 17px;
  }

  .contact {
    padding: 78px 0;
  }

  footer {
    flex-direction: column;
    padding-bottom: 34px;
  }
}
