/* ---------- Tokens ---------- */
:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #efece5;
  --ink: #131824;
  --muted: #5a6373;
  --line: #e2ded5;
  --accent: #c8102e;
  --accent-soft: #c8102e14;
  --hero: #0b0f17;
  --hero-ink: #eef1f6;
  --radius: 14px;
  --maxw: 1160px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1118; --surface: #141a25; --surface-2: #1a2130; --ink: #e8ebf1; --muted: #9aa3b3;
    --line: #252e3e; --accent: #ff4d61; --accent-soft: #ff4d611c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1118; --surface: #141a25; --surface-2: #1a2130; --ink: #e8ebf1; --muted: #9aa3b3;
  --line: #252e3e; --accent: #ff4d61; --accent-soft: #ff4d611c; color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.eyebrow {
  font: 500 .75rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent); display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.muted { color: var(--muted); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { max-width: 560px; color: var(--muted); margin: 0; }
.link-arrow { font: 500 .9rem var(--font-mono); text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.on-hero { background: color-mix(in srgb, var(--hero) 70%, transparent); border-color: #ffffff14; color: var(--hero-ink); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.05rem var(--font-display); letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; }
.brand small { display: block; font: 400 .7rem var(--font-mono); letter-spacing: .06em; opacity: .65; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .92rem; padding: 8px 12px; border-radius: 999px; opacity: .82; }
.nav-links a:hover { opacity: 1; color: inherit; background: color-mix(in srgb, currentColor 8%, transparent); }
.nav-links a[aria-current="page"] { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px; border-radius: 10px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--hero); color: var(--hero-ink); overflow: hidden; margin-top: -67px; padding-top: 67px; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--hero) 0%, #0b0f17d9 38%, #0b0f1740 70%, transparent 100%), linear-gradient(0deg, var(--hero) 0%, transparent 30%); }
.hero-inner { position: relative; z-index: 2; padding: clamp(90px, 14vw, 170px) 0 clamp(70px, 9vw, 110px); max-width: 720px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: #ff5a6c; }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #c3cad6; max-width: 600px; }
.hero .eyebrow { color: #ff5a6c; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  font: 500 .95rem var(--font-body); text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { color: #fff; background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-ghost { border-color: #ffffff38; color: var(--hero-ink); }
.btn-ghost:hover { color: #fff; background: #ffffff12; }
.btn-line { border-color: var(--line); background: var(--surface); }
.hero-hint { position: absolute; right: 24px; bottom: 18px; max-width: 460px; text-align: right; line-height: 1.5; z-index: 2; font: .7rem var(--font-mono); color: #8590a3; letter-spacing: .06em; }
@media (max-width: 600px) { .hero-hint { display: none; } }

.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ffffff1a; }
.stat { padding: 26px 0 30px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid #ffffff1a; }
.stat b { display: block; font: 600 clamp(1.6rem, 3vw, 2.3rem)/1 var(--font-display); letter-spacing: -.02em; }
.stat span { font: .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: #8f99ab; }
@media (max-width: 700px) { .stat + .stat { padding-left: 14px; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-head p { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0; }

/* ---------- Theme cards ---------- */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .themes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .themes { grid-template-columns: 1fr; } }
.theme {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.theme:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px #0005; border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); color: inherit; }
.theme-img { aspect-ratio: 16 / 9; overflow: hidden; background: #0f1520; }
.theme-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.theme:hover .theme-img img { transform: scale(1.04); }
.theme-body { padding: 20px 22px 24px; }
.theme-body .num { font: .72rem var(--font-mono); color: var(--accent); letter-spacing: .1em; }
.theme-body h3 { margin: 6px 0 8px; }
.theme-body p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Featured papers ---------- */
.papers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .papers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .papers { grid-template-columns: 1fr; } }
.paper-card {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
}
.paper-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); color: inherit; }
.paper-card .yr { font: 600 1.5rem/1 var(--font-display); color: var(--muted); }
.paper-card .jr { font: 500 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 6px; }
.paper-card h4 { font: 600 1.05rem/1.35 var(--font-display); margin: 0; letter-spacing: -.01em; }

/* ---------- News ---------- */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { display: grid; grid-template-columns: 120px 90px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.news-item:first-child { border-top: 1px solid var(--line); }
.news-date { font: .82rem var(--font-mono); color: var(--muted); }
.tag { display: inline-block; font: 500 .68rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); justify-self: start; }
.tag.People { background: #3b6ea81f; color: #3b6ea8; }
.tag.Grant { background: #e0a52624; color: #a8740a; }
.tag.Talk { background: #4b8a6a1f; color: #3d7a5a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag.People { color: #8db4e6; } :root:not([data-theme="light"]) .tag.Grant { color: #f0c062; } :root:not([data-theme="light"]) .tag.Talk { color: #7fcca4; } }
:root[data-theme="dark"] .tag.People { color: #8db4e6; } :root[data-theme="dark"] .tag.Grant { color: #f0c062; } :root[data-theme="dark"] .tag.Talk { color: #7fcca4; }
@media (max-width: 640px) {
  .news-item { grid-template-columns: auto 1fr; gap: 6px 12px; }
  .news-item .news-text { grid-column: 1 / -1; }
}

/* ---------- Split / CTA ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.cta-band { background: var(--hero); color: var(--hero-ink); border-radius: 22px; padding: clamp(32px, 6vw, 64px); position: relative; overflow: hidden; }
.cta-band p { color: #c3cad6; max-width: 560px; }
.cta-band .eyebrow { color: #ff5a6c; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, #c8102e55, transparent 65%); }

/* ---------- Research page ---------- */
.rs { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.rs:nth-of-type(even) .rs-fig { order: 2; }
.rs-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: #0f1520; }
.rs-img img { width: 100%; height: 100%; object-fit: cover; }
.rs-img figcaption { display: none; }
.rs ul.refs { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.rs ul.refs li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.rs ul.refs li span { font: .74rem var(--font-mono); color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-right: 8px; }
@media (max-width: 860px) { .rs { grid-template-columns: 1fr; } .rs:nth-of-type(even) .rs-fig { order: 0; } }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  font: 500 .82rem var(--font-body); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .methods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .methods { grid-template-columns: 1fr; } }
.method { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.method h4 { font: 600 1rem var(--font-display); margin: 0 0 6px; }
.method p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- People ---------- */
.pi { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 56px); }
@media (max-width: 760px) { .pi { grid-template-columns: 1fr; } }
.avatar {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, #1b2434, #0b0f17); color: #fff; font: 600 2.4rem var(--font-display); letter-spacing: -.02em;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.pi .avatar { max-width: 280px; font-size: 4rem; }
.pi-meta { list-style: none; padding: 0; margin: 20px 0 0; font-size: .92rem; }
.pi-meta li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.pi-meta li span:first-child { color: var(--muted); }
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 22px; }
.member .avatar { font-size: 2.2rem; margin-bottom: 14px; }
.member h4 { font: 600 1.05rem var(--font-display); margin: 0; }
.member .role { font-size: .88rem; color: var(--muted); }
.member .topic { font-size: .85rem; margin-top: 8px; }
.member .since { font: .7rem var(--font-mono); color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }
.member.join { display: flex; flex-direction: column; justify-content: center; border-style: dashed; background: transparent; text-decoration: none; min-height: 0; text-align: center; }
.member.join:hover { border-color: var(--accent); color: var(--accent); }
.alumni { width: 100%; border-collapse: collapse; font-size: .92rem; }
.alumni th { text-align: left; font: 500 .7rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.alumni td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.alumni td.name { font-weight: 600; white-space: nowrap; }
.alumni td .thesis { color: var(--muted); font-size: .86rem; }
@media (max-width: 760px) {
  .alumni thead { display: none; }
  .alumni tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .alumni td { display: block; border: 0; padding: 2px 0; }
}
.ug { columns: 2; column-gap: 40px; list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.ug li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.ug li span { color: var(--muted); text-align: right; }
@media (max-width: 640px) { .ug { columns: 1; } }

/* ---------- Publications ---------- */
.pub-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.search {
  flex: 1 1 260px; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
}
.search input { border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; width: 100%; }
.search:focus-within { border-color: var(--accent); }
.pub-count { font: .8rem var(--font-mono); color: var(--muted); }
.pub-year { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pub-year > h3 { font: 600 1.6rem var(--font-display); color: var(--muted); position: sticky; top: 84px; align-self: start; margin: 0; }
@media (max-width: 700px) { .pub-year { grid-template-columns: 1fr; gap: 8px; } .pub-year > h3 { position: static; } }
.pub { padding: 12px 0 14px; }
.pub + .pub { border-top: 1px dashed var(--line); }
.pub-title { font: 600 1.02rem/1.4 var(--font-display); letter-spacing: -.005em; }
.pub-title a { text-decoration: none; }
.pub-authors { font-size: .88rem; color: var(--muted); margin: 4px 0; }
.pub-authors b { color: var(--ink); font-weight: 600; }
.pub-venue { font-size: .88rem; }
.pub-venue i { font-style: italic; }
.badge { display: inline-block; font: 500 .66rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; padding: 4px 7px; border-radius: 5px; margin-left: 8px; vertical-align: 2px; }
.badge.hl { background: var(--accent); color: #fff; }
.badge.soft { background: var(--surface-2); color: var(--muted); }
.pub-links a { font: .78rem var(--font-mono); margin-right: 12px; }

/* ---------- Teaching / join ---------- */
.course-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.course { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.course .code { font: 500 .78rem var(--font-mono); color: var(--accent); letter-spacing: .06em; }
.course h4 { font: 600 1.08rem var(--font-display); margin: 6px 0 6px; }
.course p { color: var(--muted); font-size: .9rem; margin: 0; }
.prose { max-width: 720px; }
.prose p, .prose li { font-size: 1.05rem; }
.contact-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: .95rem; }
.contact-card dt { color: var(--muted); font: .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.contact-card dd { margin: 0; }
.todo { background: #e0a52633; padding: 1px 6px; border-radius: 4px; font-size: .85em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 40px; font-size: .9rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h5 { font: 500 .7rem var(--font-mono); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 12px; color: var(--ink); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 3px 0; }
.footer-grid a { text-decoration: none; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
@media (max-width: 700px) {
  .hero::after { background: linear-gradient(180deg, #0b0f17cc 0%, #0b0f17e6 60%, var(--hero) 100%); }
}

/* ---------- Real figures (white backgrounds) ---------- */
.theme-img.fig, .rs-img.fig { background: #fff; }
.theme-img.fig img { object-fit: contain; padding: 10px; }
.rs-img.fig img { object-fit: contain; padding: 16px; }
.rs-fig { margin: 0; }
.rs-fig figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.paper-card.has-img { grid-template-columns: 1fr; gap: 0; padding: 0; overflow: hidden; }
.paper-card .thumb { height: 170px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 12px; }
.paper-card .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.paper-card .pc-body { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px 22px 22px; }
.group-photo { margin: 0 auto; max-width: 820px; }
.group-photo img { width: 100%; border-radius: var(--radius); }
.group-photo figcaption { font: .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 10px; }
.paper-card.has-img { align-content: start; }
.hero-ctrl { position: absolute; z-index: 3; right: 24px; top: 92px; width: 250px; padding: 12px 14px; border-radius: 12px;
  background: #0b0f17cc; border: 1px solid #ffffff1f; color: #c3cad6; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-ctrl label { display: flex; justify-content: space-between; font: 500 .78rem var(--font-mono); letter-spacing: .04em; margin-bottom: 6px; }
.hero-ctrl output { color: #fff; }
.hero-ctrl input[type=range] { width: 100%; accent-color: #ff5a6c; margin: 0; }
.hero-ctrl small { display: block; font: .68rem var(--font-mono); color: #8590a3; margin-top: 4px; }
@media (max-width: 600px) { .hero-ctrl { position: relative; top: auto; right: auto; width: auto; margin: 0 16px 20px; } }
.hero-ctrl .ctrl-ends { display: flex; justify-content: space-between; line-height: 1.35; font: .66rem var(--font-mono); color: #8590a3; margin-top: 4px; }
.hero-ctrl .ctrl-more { display: inline-block; margin-top: 12px; font: 500 .74rem var(--font-mono); color: #ff8a96; text-decoration: none; }
.hero-ctrl .ctrl-more:hover { color: #fff; }
.param-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 8px 0 24px; }
.param-table th, .param-table td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.param-table th { font: 500 .7rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.param-table td:first-child { font-weight: 600; }
.limits { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
@media (max-width: 700px) { .limits { grid-template-columns: 1fr; } }
.limit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.limit svg { width: 100%; height: auto; display: block; margin-bottom: 12px; background: #0b0f17; border-radius: 10px; }
.limit h4 { font: 600 1.05rem var(--font-display); margin: 0 0 6px; }
.limit p { font-size: .92rem; color: var(--muted); margin: 0; }
.eq { font: 1rem var(--font-mono); background: var(--surface-2); padding: 14px 16px; border-radius: 10px; overflow-x: auto; }
.reflist { padding-left: 20px; }
.reflist li { margin-bottom: 10px; }
