:root {
  --bg: #ffffff;
  --fg: #16161a;
  --muted: #5c5c66;
  --card: #f5f5f7;
  --line: #e4e4ea;
  --accent: #ff3366;
  --accent-ink: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16161a;
    --fg: #f2f2f5;
    --muted: #a2a2ae;
    --card: #222228;
    --line: #33333c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
header.top a.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 20px; }
header.top a.brand img { width: 32px; height: 32px; }
header.top nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
header.top nav a:hover { color: var(--fg); }
.hero { text-align: center; padding: 40px 0 24px; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 720px; margin: 0 auto 28px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.btn { display: inline-block; padding: 14px 22px; border-radius: 12px; font-weight: 650; text-decoration: none; font-size: 17px; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.secondary { background: var(--card); color: var(--fg); border: 1px solid var(--line); }
.fine { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.shot { margin: 36px auto 0; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.25); max-width: 960px; }
section { padding: 48px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 18px; letter-spacing: -0.01em; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 650; }
tr.us td { font-weight: 650; }
kbd { font: 14px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 650; font-size: 18px; }
details p { color: var(--muted); margin: 10px 0 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 10px; border: 1px solid var(--line); }
.gallery figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; text-align: center; }
footer a { color: var(--muted); }
@media (max-width: 560px) {
  header.top nav a:not(.gh) { display: none; }
  .btn { width: 100%; text-align: center; }
}
