:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #242424;
  --muted: #717171;
  --line: #dedede;
  --image-surface: #f2f2f2;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
figure, h1, h2, p { margin: 0; }
img { display: block; width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.page-width { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: 12px;
  left: 20px;
  z-index: 10;
  padding: 12px 20px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid #ededed; }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 16px; flex-shrink: 0; }
.wordmark { font-size: 27px; font-weight: 650; letter-spacing: -1.4px; line-height: 1.2; }
.brand-description { color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.site-navigation { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.nav-link { padding-block: 15px; }
.nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.nav-link:hover, .footer-navigation a:hover { color: #666; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.button-dark { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.button-dark:hover { background: #444; border-color: #444; }
.button-outline { background: var(--paper); border-color: #aaa; }
.button-outline:hover { background: #f5f5f5; border-color: #5e5e5e; }
.header-cta { min-height: 40px; padding: 9px 17px; font-size: 13px; }

.hero { padding-top: 66px; }
.hero-copy { text-align: center; }
.eyebrow { font-size: 15px; line-height: 1.6; color: var(--muted); font-weight: 400; }
.hero h1 { margin-top: 20px; font-size: clamp(44px, 5.15vw, 68px); font-weight: 500; line-height: 1.25; letter-spacing: -.045em; }
.hero h1 span, .story-copy h2 span { display: block; }
.hero-description { margin: 22px auto 0; font-size: 18px; color: #636363; line-height: 1.8; }
.hero-actions { margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.hero-visual { margin-top: 46px; }
.hero-visual img { border-radius: 12px; background: var(--image-surface); }
.hero-visual figcaption { margin-top: 10px; color: var(--muted); font-size: 11px; text-align: right; line-height: 1.5; }

.story { margin-top: 96px; display: grid; gap: 80px; }
.story-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); align-items: center; column-gap: 56px; }
.story-section-reverse { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); }
.story-section-reverse .story-visual { grid-column: 1; grid-row: 1; }
.story-section-reverse .story-copy { grid-column: 2; grid-row: 1; }
.story-copy h2 { margin-top: 16px; font-size: clamp(28px, 3.2vw, 39px); line-height: 1.42; font-weight: 500; letter-spacing: -.045em; }
.section-description { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.story-copy .button { margin-top: 27px; }
.story-visual img { border-radius: 12px; background: var(--image-surface); }

.closing { padding: 100px 0 80px; text-align: center; }
.closing h2 { font-size: clamp(25px, 3vw, 36px); font-weight: 500; line-height: 1.55; letter-spacing: -.04em; }
.closing .button { min-width: 178px; margin-top: 28px; }
.footer-inner { border-top: 1px solid var(--line); padding: 26px 0 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; }
.site-footer .wordmark { font-size: 24px; }
.footer-navigation { display: flex; flex-wrap: wrap; gap: 28px; font-size: 13px; color: var(--muted); }
.footer-navigation a { padding-block: 10px; }
.site-footer small { color: var(--muted); font-size: 11px; }

@media (max-width: 1000px) {
  .page-width { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .brand-description { display: none; }
  .site-navigation { gap: 24px; }
  .story-section, .story-section-reverse { column-gap: 36px; }
  .story-copy h2 { font-size: 30px; }
  .section-description { font-size: 14px; }
  .site-footer .brand-description { display: inline; }
}

@media (max-width: 720px) {
  .page-width { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; flex-wrap: wrap; gap: 0; padding-block: 17px; }
  .wordmark { font-size: 25px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; min-width: 60px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: var(--paper); font-size: 13px; cursor: pointer; }
  .site-navigation { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-top: 17px; padding-top: 8px; border-top: 1px solid #ededed; }
  .site-header[data-menu-ready] .site-navigation:not([data-open]) { display: none; }
  .nav-link { padding: 14px 4px; }
  .nav-link[aria-current="page"] { text-decoration: none; font-weight: 600; }
  .header-cta { margin-top: 9px; min-height: 44px; }
  .hero { padding-top: 49px; }
  .eyebrow { font-size: 13px; }
  .hero h1 { margin-top: 17px; font-size: clamp(34px, 8.75vw, 52px); line-height: 1.32; letter-spacing: -.05em; }
  .hero-description { max-width: 270px; margin-top: 18px; font-size: 15px; }
  .hero-actions { margin-top: 23px; gap: 10px; }
  .button { min-height: 46px; padding: 11px 19px; font-size: 14px; }
  .hero-visual { margin-top: 32px; }
  .hero-visual img { border-radius: 9px; }
  .hero-visual figcaption { margin-top: 8px; font-size: 10px; }
  .story { margin-top: 62px; gap: 60px; }
  .story-section, .story-section-reverse { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .story-section-reverse .story-visual, .story-section-reverse .story-copy { grid-column: auto; grid-row: auto; }
  .story-copy h2 { margin-top: 12px; font-size: clamp(28px, 6.9vw, 36px); line-height: 1.44; }
  .section-description { margin-top: 13px; max-width: 340px; font-size: 14px; }
  .story-copy .button { margin-top: 20px; }
  .story-visual img { border-radius: 9px; }
  .closing { padding: 64px 0 56px; }
  .closing h2 { max-width: 350px; margin-inline: auto; font-size: 25px; line-height: 1.6; }
  .closing .button { margin-top: 23px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 14px; padding: 26px 0; }
  .footer-navigation { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
