:root {
  color-scheme: light;
  --bg: #f4f4ef;
  --ink: #111111;
  --dense: #242424;
  --muted: #5a5a55;
  --line: rgba(17, 17, 17, 0.18);
  --sans: "Neue Haas Grotesk Text Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
}

body { padding: 0 28px; }
main { width: min(1280px, 100%); margin: 0 auto; padding: 28px 0 80px; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover,
a:focus-visible { text-decoration: underline; text-underline-offset: 0.14em; }
a:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.topline,
.hero,
.note-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  border-bottom: 1px solid var(--line);
}

.topline { padding-bottom: 18px; font-size: 14px; line-height: 1.35; }
.wordmark { grid-column: 1 / 4; font-weight: 600; }
.languages { grid-column: 4 / -1; justify-self: end; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.languages [aria-current="page"] { text-decoration: underline; text-underline-offset: 0.2em; }
html:lang(zh-CN) h1,
html:lang(ko) h1,
html:lang(ja) h1 { line-height: 1.2; }
html:lang(ko) { word-break: keep-all; overflow-wrap: break-word; }
.hero { padding: 68px 0 76px; }
.label { grid-column: 1 / 3; color: var(--muted); font-size: 13px; line-height: 1.35; }
.hero-title { grid-column: 3 / 9; }
h1 { margin: 0; max-width: 16ch; font-size: 64px; line-height: 0.98; font-weight: 500; letter-spacing: 0; }
.hero-copy { grid-column: 10 / 13; align-self: end; display: grid; gap: 18px; color: var(--dense); font-size: 18px; line-height: 1.42; }
.note-row { padding: 24px 0 28px; }
.note-copy { grid-column: 3 / 8; color: var(--muted); font-size: 15px; line-height: 1.45; }
.note-copy a,
.legal a { text-decoration: underline; text-underline-offset: 0.14em; }
.legal { padding-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.6; }

@media (max-width: 980px) {
  body { padding: 0 20px; }
  .topline,
  .hero,
  .note-row { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 18px; }
  .hero { padding: 44px 0 52px; row-gap: 28px; }
  .label { grid-column: 1 / 2; }
  .hero-title,
  .hero-copy,
  .note-copy { grid-column: 2 / 7; }
  h1 { font-size: 56px; }
}

@media (max-width: 640px) {
  body { padding: 0 16px; }
  main { padding-top: 20px; }
  .topline,
  .hero,
  .note-row { display: block; }
  .topline { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
  .languages { gap: 8px 12px; }
  .hero { padding: 36px 0 42px; }
  .label { margin-bottom: 14px; }
  h1 { max-width: none; font-size: 40px; line-height: 1; }
  .hero-copy { margin-top: 24px; font-size: 17px; }
  .note-copy { font-size: 17px; }
}
