:root {
  color-scheme: light dark;
  --bg: #f2f4f7;
  --surface: #e7ebf0;
  --text: #161a20;
  --muted: #5a6472;
  --line: #cbd2dc;
  --accent: #175bb7;
  --accent-text: #f6f8fb;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "SF Pro Display", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 750;
}

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

.hero {
  min-height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  padding-block: clamp(48px, 8vh, 88px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: balance;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 620;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.intro {
  max-width: 20em;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.65;
}

.hero-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgb(31 49 76 / 12%);
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.01);
}

.about {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1fr);
  gap: 32px;
  padding-block: clamp(64px, 9vw, 112px);
  border-top: 1px solid var(--line);
}

.about h2,
.about p {
  margin: 0;
}

.about h2 {
  font-size: 15px;
  font-weight: 650;
}

.about p {
  max-width: 30em;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.32;
}

footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11151c;
    --surface: #1b222c;
    --text: #edf1f6;
    --muted: #a8b2bf;
    --line: #303946;
    --accent: #6da6ef;
    --accent-text: #0d1520;
  }

  .hero-visual {
    box-shadow: 0 24px 70px rgb(0 0 0 / 24%);
  }
}

@media (max-width: 767px) {
  .page-shell {
    width: min(100% - 32px, 1320px);
  }

  .site-header {
    min-height: 64px;
  }

  .header-note {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 56px 72px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .hero-visual {
    border-radius: 20px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  footer {
    min-height: 104px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual {
    animation: reveal 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-visual {
    animation-delay: 100ms;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
