:root {
  color-scheme: light dark;
  --bg: #f5f5f7;
  --surface: rgba(255,255,255,.88);
  --text: #1d1d1f;
  --secondary: #6e6e73;
  --line: rgba(60,60,67,.16);
  --blue: #007aff;
  --shadow: 0 14px 40px rgba(0,0,0,.06);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
main { width: min(900px,100%); margin: 0 auto; padding: 28px 22px 72px; }
a { color: var(--blue); text-underline-offset: 3px; }
nav { display: flex; align-items: center; gap: 20px; min-height: 44px; margin-bottom: 54px; }
nav a { color: var(--secondary); font-size: 15px; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
.brand { margin-right: auto; color: var(--text); font-size: 21px; font-weight: 720; letter-spacing: -.02em; }
.hero { padding: 36px 0 52px; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .09em; }
h1 { margin: 0; font-size: clamp(38px,8vw,62px); line-height: 1.05; letter-spacing: -.045em; }
h2 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; letter-spacing: -.015em; }
p, li { font-size: 17px; line-height: 1.68; }
.lead, .summary { max-width: 720px; color: #3a3a3c; font-size: clamp(19px,3vw,23px); line-height: 1.55; }
.lead { margin: 24px 0 12px; }
.summary { margin: 22px 0 0; }
.meta { color: var(--secondary); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.card, .link-card, .document section { border: 1px solid rgba(255,255,255,.58); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.card { padding: 24px; }
.card p { margin-bottom: 0; }
.symbol { margin: 0 0 22px !important; color: var(--blue); font-size: 13px !important; font-weight: 700; letter-spacing: .08em; }
.link-card { display: flex; justify-content: space-between; gap: 28px; margin-top: 48px; padding: 28px; }
.link-card p { margin-bottom: 0; color: var(--secondary); }
.link-row { display: flex; flex-direction: column; flex: 0 0 auto; gap: 10px; }
.link-row a { text-decoration: none; }
.document-header { margin-bottom: 34px; }
.document-header h1, .document > h1 { font-size: clamp(36px,7vw,50px); }
.language-links { display: flex; gap: 10px; margin-top: 24px; }
.language-links a { padding: 8px 13px; border-radius: 999px; background: rgba(0,122,255,.1); text-decoration: none; }
.document { display: grid; gap: 14px; }
.document section { padding: 22px 24px; }
.document section p:last-child { margin-bottom: 0; }
.document section > p:first-of-type { margin-top: 0; }
hr { height: 1px; margin: 56px 0; border: 0; background: var(--line); }
details { border-top: 1px solid var(--line); }
details:first-of-type { border-top: 0; }
summary { padding: 17px 0; cursor: pointer; font-size: 17px; font-weight: 600; }
details p { margin-top: 0; color: var(--secondary); }
.contact-card { border-color: rgba(0,122,255,.18) !important; }
.button { display: inline-block; padding: 12px 18px; border-radius: 13px; background: var(--blue); color: #fff; font-weight: 650; text-decoration: none; }
footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--secondary); }
footer p { margin: 0; font-size: 13px; }
@media (max-width: 640px) {
  main { padding: max(18px,env(safe-area-inset-top)) 16px 56px; }
  nav { gap: 15px; margin-bottom: 34px; }
  .hero { padding: 22px 0 38px; }
  .grid { grid-template-columns: 1fr; }
  .link-card { flex-direction: column; }
  .link-row { flex-direction: row; flex-wrap: wrap; }
  .document section { padding: 19px; }
  footer { flex-direction: column; }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000; --surface: rgba(28,28,30,.88); --text: #f5f5f7; --secondary: #a1a1a6; --line: rgba(84,84,88,.62); --shadow: none; }
  .lead, .summary { color: #d1d1d6; }
  .card, .link-card, .document section { border-color: rgba(84,84,88,.38); }
}
