:root {
  color-scheme: light dark;
  --page: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f1f4f9;
  --text: #172033;
  --muted: #5b6578;
  --line: #dfe5ef;
  --accent: #d96b16;
  --accent-soft: #fff1e5;
  --good: #087f5b;
  --good-soft: #e7f7f1;
  --shadow: 0 18px 48px rgba(35, 48, 74, .08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #090d14;
    --surface: #111722;
    --surface-2: #171f2c;
    --text: #edf2fb;
    --muted: #aab5c7;
    --line: #293345;
    --accent: #ffab65;
    --accent-soft: #3a2516;
    --good: #70d7b3;
    --good-soft: #123126;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 16px/1.72 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
.skip-link:focus { transform: none; }

.shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
header {
  padding: 34px 0 36px;
  background:
    radial-gradient(circle at 85% 0%, rgba(217, 107, 22, .20), transparent 34%),
    linear-gradient(180deg, var(--surface), var(--page));
  border-bottom: 1px solid var(--line);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 52px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -.02em;
}
.brand-name { min-width: 0; }
.app-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #17191e;
  color: #ff9d4d;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.language-switch:hover { background: var(--accent-soft); }
.language-switch:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 3px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .09em;
  text-transform: uppercase;
}
h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}

main { padding: 34px 0 72px; }
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.summary-card {
  min-height: 148px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.summary-card strong { display: block; margin-bottom: 8px; font-size: 17px; }
.summary-card p { margin: 0; color: var(--muted); font-size: 14px; }
.check { color: var(--good); }

article {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
article > h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.article-note { margin: 0 0 36px; color: var(--muted); }
section { scroll-margin-top: 24px; }
section + section {
  margin-top: 36px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.35; letter-spacing: -.015em; }
.nowrap { white-space: nowrap; }
p { margin: 0 0 14px; }
ul { margin: 10px 0 14px; padding-left: 1.25em; }
li + li { margin-top: 8px; }
.callout {
  margin: 18px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--accent-soft);
}
.callout.good { border-left-color: var(--good); background: var(--good-soft); }
.callout p:last-child { margin-bottom: 0; }
.table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 15px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--surface-2); font-size: 14px; }
tr:last-child td { border-bottom: 0; }
td:first-child { width: 24%; font-weight: 680; }
td:nth-child(2) { width: 48%; }
td:last-child { width: 28%; color: var(--muted); }
code { padding: .12em .35em; border-radius: 5px; background: var(--surface-2); font-size: .9em; }
address { font-style: normal; }
.top-link { display: inline-block; margin-top: 18px; font-size: 14px; }
footer { padding: 28px 0 48px; color: var(--muted); font-size: 14px; text-align: center; }

@media (max-width: 760px) {
  header { padding-top: 22px; }
  .topbar { margin-bottom: 36px; }
  .brand { gap: 10px; font-size: 14px; }
  .app-mark { width: 40px; height: 40px; border-radius: 11px; font-size: 13px; }
  .language-switch { min-height: 40px; padding: 7px 14px; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-card { min-height: auto; }
  article { border-radius: 18px; }
  .nowrap { white-space: normal; }
}

@media (max-width: 390px) {
  .shell { width: min(100% - 24px, 1080px); }
  .brand-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .language-switch { padding-inline: 12px; }
}

@media print {
  :root { --page: #fff; --surface: #fff; --text: #000; --muted: #333; --line: #bbb; }
  body { font-size: 11pt; }
  header { padding: 24px 0; }
  .topbar { margin-bottom: 24px; }
  main { padding: 16px 0; }
  article { padding: 0; border: 0; box-shadow: none; }
  .summary-grid, .language-switch, .top-link, .skip-link { display: none; }
  section { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
