/* IRL Homekit — Apple-style design system. Inter everywhere, system colours, materials, grouped lists. */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens (dark is the default; light follows the device) */
:root {
  color-scheme: dark;
  --bg: #000000;
  --card: #1c1c1e;
  --card-2: #2c2c2e;
  --card-3: #3a3a3c;
  --material: rgba(22, 22, 24, .72);
  --material-strong: rgba(36, 36, 38, .86);
  --separator: rgba(84, 84, 88, .55);
  --label: #ffffff;
  --label-2: rgba(235, 235, 245, .62);
  --label-3: rgba(235, 235, 245, .32);
  --fill: rgba(118, 118, 128, .24);
  --fill-2: rgba(118, 118, 128, .16);
  --blue: #0a84ff; --green: #30d158; --red: #ff453a; --orange: #ff9f0a; --yellow: #ffd60a; --purple: #bf5af2; --teal: #64d2ff;
  --blue-tint: rgba(10, 132, 255, .18); --green-tint: rgba(48, 209, 88, .16); --red-tint: rgba(255, 69, 58, .16); --orange-tint: rgba(255, 159, 10, .16);
  --twitch: #a970ff; --kick: #53fc18; --youtube: #ff453a;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 12px 32px rgba(0, 0, 0, .35);
  --radius-xl: 26px; --radius-l: 18px; --radius-m: 14px; --radius-s: 10px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f2f2f7;
    --card: #ffffff;
    --card-2: #f2f2f7;
    --card-3: #e5e5ea;
    --material: rgba(249, 249, 251, .78);
    --material-strong: rgba(255, 255, 255, .9);
    --separator: rgba(60, 60, 67, .2);
    --label: #000000;
    --label-2: rgba(60, 60, 67, .62);
    --label-3: rgba(60, 60, 67, .32);
    --fill: rgba(120, 120, 128, .14);
    --fill-2: rgba(120, 120, 128, .08);
    --blue: #007aff; --green: #34c759; --red: #ff3b30; --orange: #ff9500; --yellow: #ffcc00; --purple: #af52de; --teal: #30b0c7;
    --blue-tint: rgba(0, 122, 255, .12); --green-tint: rgba(52, 199, 89, .14); --red-tint: rgba(255, 59, 48, .12); --orange-tint: rgba(255, 149, 0, .14);
    --twitch: #9146ff; --kick: #2bb80f; --youtube: #ff0033;
    --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
  }
}

/* ---------- base */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--label); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px; line-height: 1.45; letter-spacing: -0.011em;
  font-feature-settings: 'cv11', 'ss03';
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding-bottom: env(safe-area-inset-bottom);
}
input, textarea, select, button { font-family: inherit; }
.num, .big, .metric .v, .msg .time, .link .num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum', 'cv11', 'ss03'; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .4; cursor: default; }
a { color: var(--blue); text-decoration: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 60%, transparent); outline-offset: 2px; border-radius: 10px; }
b, strong { font-weight: 600; }

/* ---------- navigation bar (material) */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  background: var(--material);
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  border-bottom: .5px solid var(--separator);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; margin-right: auto; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.nav-seg { display: inline-flex; padding: 2px; border-radius: 10px; background: var(--fill); }
.nav-seg a { padding: 5px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--label-2); transition: background .25s var(--ease), color .25s var(--ease); }
.nav-seg a.on { background: var(--card-3); color: var(--label); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
@media (prefers-color-scheme: light) { .nav-seg a.on { background: #fff; } }
.iconbtn { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 15px; font-weight: 500; padding: 6px 2px; white-space: nowrap; flex: none; }
.iconbtn svg { display: none; }
.iconbtn:hover { opacity: .75; }
.topbar .pill { min-width: 0; flex-shrink: 1; overflow: hidden; }
.topbar .pill > span:last-child { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 430px) {
  .topbar { gap: 8px; }
  .brand span.brand-name { display: none; }
  .iconbtn .lbl { display: none; }
  .iconbtn svg { display: block; }
}

/* status pill */
.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px;
  font-weight: 600; font-size: 13px; letter-spacing: -0.005em; background: var(--fill); color: var(--label-2); white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.live { background: var(--red); color: #fff; }
.pill.live .dot { animation: pulse 1.6s var(--ease) infinite; }
.pill.warn { background: var(--orange-tint); color: var(--orange); }
.pill.ok { background: var(--green-tint); color: var(--green); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }

/* ---------- banners */
.banner { display: none; margin: 12px 16px 0; padding: 14px 16px; border-radius: var(--radius-m); font-size: 15px; line-height: 1.4; }
.banner.show { display: block; animation: rise .35s var(--ease); }
.banner.error { background: var(--red-tint); color: var(--label); }
.banner.warn { background: var(--orange-tint); color: var(--label); }
.banner b { color: inherit; }
.banner.error b { color: var(--red); } .banner.warn b { color: var(--orange); }

/* ---------- layout */
main { padding: 20px 16px 48px; display: grid; gap: 20px; max-width: 1120px; margin: 0 auto; }
@media (min-width: 920px) {
  main { grid-template-columns: 1.1fr 1fr; align-items: start; padding-top: 28px; gap: 24px; }
  .span-2 { grid-column: span 2; }
}

/* card = iOS inset grouped section */
.card {
  background: var(--card); border-radius: var(--radius-xl); padding: 20px;
  box-shadow: var(--shadow); animation: rise .45s var(--ease) both;
}
.card h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.022em; color: var(--label); }
.card .sub { margin: 4px 0 16px; color: var(--label-2); font-size: 15px; line-height: 1.4; }
.card .sub b { color: var(--label); }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- phone signal hero */
.signal-head { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.big { font-size: 64px; font-weight: 700; line-height: .95; letter-spacing: -0.045em; }
.unit { color: var(--label-2); font-weight: 600; font-size: 17px; padding-bottom: 6px; }
.quality { margin-left: auto; align-self: center; font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.q-excellent, .q-good { background: var(--green-tint); color: var(--green); }
.q-weak { background: var(--orange-tint); color: var(--orange); }
.q-none { background: var(--red-tint); color: var(--red); }
.q-idle { background: var(--fill); color: var(--label-2); }
.signal-desc { margin: 12px 0 16px; color: var(--label-2); font-size: 15px; }
.meter { height: 8px; border-radius: 999px; background: var(--fill); overflow: hidden; margin-top: 16px; }
.meter > span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--green); transition: width .8s var(--ease), background .4s var(--ease); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric { background: var(--card-2); border-radius: var(--radius-l); padding: 12px 14px; min-width: 0; }
.metric .k { font-size: 12px; font-weight: 600; color: var(--label-2); letter-spacing: 0; }
.metric .v { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric .hint { font-size: 12px; color: var(--label-3); }
.links { margin-top: 14px; display: grid; gap: 10px; }
.link { display: grid; grid-template-columns: 56px 1fr 78px; gap: 12px; align-items: center; font-size: 14px; color: var(--label-2); }
.link .meter { height: 6px; margin: 0; }
.link .meter > span { background: var(--blue); }
.link .num { text-align: right; color: var(--label); font-weight: 600; }
.source-tabs { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--fill); color: var(--label-2); transition: background .25s var(--ease), color .25s var(--ease); }
.tag.on { background: var(--green-tint); color: var(--green); }
.tag.active::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- preview */
.preview { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-l); overflow: hidden; margin-top: 14px; }
.preview img { width: 100%; height: 100%; object-fit: contain; display: block; }
.preview .overlay {
  position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
}
.preview .empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: rgba(255, 255, 255, .6); font-size: 15px; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 17px; letter-spacing: -0.015em;
  background: var(--fill); color: var(--blue);
  transition: transform .15s var(--ease), filter .2s var(--ease), background .25s var(--ease);
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:hover:not(:disabled) { filter: brightness(1.08); }
.btn.block { width: 100%; }
.btn.go { background: var(--blue); color: #fff; }
.btn.stop { background: var(--red); color: #fff; }
.btn.ghost { background: var(--blue-tint); color: var(--blue); }
.btn.small { min-height: 34px; padding: 0 14px; font-size: 15px; }
.stream-actions { margin-top: 16px; }
.stream-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }

/* segmented control */
.fps-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: .5px solid var(--separator); }
.fps-row .title { font-weight: 600; font-size: 16px; }
.fps-row .desc { font-size: 13px; color: var(--label-2); }
.segmented { display: inline-flex; padding: 2px; border-radius: 10px; background: var(--fill); flex: none; }
.segmented button { min-width: 72px; padding: 7px 12px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--label); transition: background .25s var(--ease), box-shadow .25s var(--ease); }
.segmented button.on { background: var(--card-3); box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 1px 1px rgba(0, 0, 0, .1); }
@media (prefers-color-scheme: light) { .segmented button.on { background: #fff; } }

/* ---------- scenes */
.scenes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .scenes { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 920px) { .scenes { grid-template-columns: repeat(4, 1fr); } }
.scene {
  position: relative; text-align: left; padding: 14px; border-radius: var(--radius-l); background: var(--card-2);
  min-height: 76px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
  box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .25s var(--ease), background .25s var(--ease), transform .15s var(--ease);
}
.scene:active { transform: scale(.98); }
.scene .name { font-weight: 600; font-size: 15px; line-height: 1.25; letter-spacing: -0.012em; }
.scene .badge { font-size: 12px; font-weight: 600; color: var(--label-3); }
.scene.irl .badge { color: var(--purple); }
.scene.current { box-shadow: inset 0 0 0 2px var(--red); background: color-mix(in srgb, var(--red) 8%, var(--card-2)); }
.scene.current .badge { color: var(--red); }
.scene.current::after { content: ''; position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.6s var(--ease) infinite; }
.update-scenes { margin-top: 14px; }

/* ---------- grouped list rows */
.list { display: grid; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 0; min-height: 52px; }
.item + .item { border-top: .5px solid var(--separator); }
.card > .list:first-child .item:first-child, .list .item:first-child { padding-top: 4px; }
.item .grow { flex: 1; min-width: 0; }
.item .title { font-weight: 600; font-size: 16px; letter-spacing: -0.012em; }
.item .desc { font-size: 13px; color: var(--label-2); margin-top: 1px; line-height: 1.35; }
.update-scenes.item { background: var(--card-2); border-radius: var(--radius-l); padding: 12px 14px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--label-3); }
.status-dot.ok { background: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.status-dot.bad { background: var(--red); box-shadow: 0 0 0 4px var(--red-tint); }
.status-dot.warn { background: var(--orange); box-shadow: 0 0 0 4px var(--orange-tint); }

/* iOS switch (mute toggles: green = sound on) */
.toggle {
  position: relative; flex: none; width: 51px; height: 31px; border-radius: 999px; background: var(--green);
  font-size: 0; color: transparent; transition: background .25s var(--ease);
}
.toggle::after {
  content: ''; position: absolute; top: 2px; left: 22px; width: 27px; height: 27px; border-radius: 50%; background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 3px 1px rgba(0, 0, 0, .06); transition: left .25s var(--ease);
}
.toggle.muted { background: var(--fill); }
.toggle.muted::after { left: 2px; }

.timeline { display: grid; gap: 0; font-size: 15px; }
.timeline .ev { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 9px 0; color: var(--label-2); }
.timeline .ev + .ev { border-top: .5px solid var(--separator); }
.timeline .ev b { color: var(--label); font-weight: 600; }
.empty-note { color: var(--label-3); font-size: 15px; padding: 6px 0; }

/* ---------- alert dialog */
dialog {
  border: 0; padding: 0; width: min(320px, calc(100vw - 48px)); border-radius: 22px; color: var(--label);
  background: var(--material-strong); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4); text-align: center;
}
dialog[open] { animation: pop .28s var(--ease); }
dialog::backdrop { background: rgba(0, 0, 0, .4); }
dialog h3 { margin: 22px 20px 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
dialog p { margin: 0 20px 20px; color: var(--label-2); font-size: 14px; line-height: 1.4; }
dialog .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 14px; }
dialog .actions .btn { min-height: 46px; font-size: 16px; }
dialog .actions .btn.ghost { background: var(--fill); color: var(--label); }
@keyframes pop { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }

/* ---------- toast (banner notification) */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 50;
  width: min(440px, calc(100vw - 24px)); padding: 14px 18px; border-radius: 20px;
  background: var(--material-strong); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3); font-size: 15px; line-height: 1.35;
  transform: translate(-50%, calc(100% + 40px)); opacity: 0; transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast b { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; font-weight: 600; }
.toast b::before { content: ''; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--blue); }
.toast.error b::before { background: var(--red); }
.toast.success b::before { background: var(--green); }
.toast .why { color: var(--label-2); display: block; padding-left: 16px; }

/* ---------- login */
.login-wrap { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.login { width: min(400px, 100%); text-align: center; padding: 32px 24px 24px; }
.login > img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.login h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; margin: 16px 0 6px; }
.login p { color: var(--label-2); margin: 0 0 24px; font-size: 15px; }
.login label { display: block; text-align: left; font-size: 13px; color: var(--label-2); margin: 14px 4px 6px; font-weight: 500; }
.login input {
  width: 100%; height: 50px; padding: 0 16px; border-radius: var(--radius-m); border: 0; background: var(--card-2);
  color: var(--label); font-size: 17px; letter-spacing: -0.015em; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s var(--ease);
}
.login input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.login .btn { margin-top: 24px; }
.login .err { display: none; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-m); background: var(--red-tint); color: var(--label); font-size: 14px; text-align: left; }
.login .err b { color: var(--red); }
.login .err.show { display: block; animation: rise .3s var(--ease); }
.foot { margin-top: 16px; font-size: 13px; color: var(--label-3); }

/* ---------- studio */
.platform .pname { color: var(--pc, var(--label)); font-weight: 700; }
.platform .ptitle { color: var(--label-2); margin-top: 3px; overflow-wrap: anywhere; }
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--label-2); margin: 18px 4px 8px; }
.studio textarea, .studio input[type=search], .chat-send input, .chat-send select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-m); border: 0; background: var(--card-2); color: var(--label);
  font-size: 17px; letter-spacing: -0.015em; resize: vertical; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s var(--ease);
}
.studio textarea:focus, .studio input:focus, .chat-send select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.studio textarea::placeholder, .studio input::placeholder { color: var(--label-3); }
.field-foot { margin-top: 10px; }
.desc { font-size: 13px; color: var(--label-2); }
.note { margin-top: 16px; line-height: 1.45; }
.note b { color: var(--label); }
.cat-results { display: grid; gap: 6px; margin-top: 10px; }
.cat { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius-m); background: var(--card-2); text-align: left; font-weight: 600; font-size: 15px; transition: background .2s var(--ease); }
.cat:hover { background: var(--card-3); }
.cat img { width: 26px; height: 36px; border-radius: 5px; object-fit: cover; }
.kick-cats { margin-top: 14px; padding: 14px; border-radius: var(--radius-l); background: color-mix(in srgb, var(--kick) 8%, var(--card-2)); }
.kick-cats .desc { margin-bottom: 4px; }
.kick-cats .cat { background: var(--card); box-shadow: inset 3px 0 0 var(--kick); }
.kick-cats .btn { justify-self: start; margin-top: 4px; }
.chat-card { position: relative; }
.chat-filters { display: inline-flex; padding: 2px; border-radius: 10px; background: var(--fill); }
.chat-filters .tag { background: transparent; border-radius: 8px; padding: 5px 10px; color: var(--label-2); cursor: pointer; }
.chat-filters .tag.on { background: var(--card-3); color: var(--label); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
@media (prefers-color-scheme: light) { .chat-filters .tag.on { background: #fff; } }
.chat { height: 440px; overflow-y: auto; margin-top: 14px; padding: 10px 12px; border-radius: var(--radius-l); background: var(--card-2); font-size: 15px; line-height: 1.5; scroll-behavior: smooth; }
.msg { padding: 4px 2px; overflow-wrap: anywhere; animation: rise .25s var(--ease); }
.msg.self { background: var(--blue-tint); border-radius: 10px; padding: 4px 8px; margin: 2px -6px; }
.msg .time { color: var(--label-3); font-size: 12px; margin-right: 8px; }
.msg .user { font-weight: 700; color: var(--blue); }
.msg .user.host::before { content: '★ '; color: var(--yellow); }
.msg .user.mod::before { content: '◆ '; color: var(--green); }
.pbadge { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; font-size: 10px; font-weight: 800; margin-right: 6px; vertical-align: 1px; color: #000; }
.pbadge.twitch { background: var(--twitch); color: #fff; } .pbadge.kick { background: var(--kick); } .pbadge.youtube { background: var(--youtube); color: #fff; }
.chat-send { display: flex; gap: 8px; margin-top: 12px; align-items: stretch; }
.chat-send select { width: auto; padding: 0 12px; font-size: 15px; font-weight: 600; }
.chat-send input { flex: 1; min-width: 0; }
.chat-send .btn { min-height: 48px; }
.jump { position: absolute; left: 50%; transform: translateX(-50%); bottom: 84px; background: var(--material-strong); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }

/* ---------- legal page */
.legal { max-width: 760px; display: block; }
.legal h1 { margin: 0 0 12px; font-size: 32px; font-weight: 700; letter-spacing: -0.03em; }
.legal h2 { margin: 26px 0 8px; font-size: 20px; }
.legal p { color: var(--label-2); }
.legal p b { color: var(--label); }

/* ---------- accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
