/* Eventing Tech. One theme at a time: dark is "show", light is "house lights up". */
@font-face { font-family: "Cabinet Grotesk"; src: url(/assets/fonts/CabinetGrotesk-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url(/assets/fonts/CabinetGrotesk-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url(/assets/fonts/CabinetGrotesk-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(/assets/fonts/Satoshi-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(/assets/fonts/Satoshi-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(/assets/fonts/Satoshi-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/JetBrainsMono.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --display: "Cabinet Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 16px;            /* cards, photos */
  --pill: 999px;        /* everything you can press */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 68px;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0f0e; --bg-2: #131715; --bg-3: #1a1f1c;
  --line: rgb(226 236 229 / .1); --line-2: rgb(226 236 229 / .18);
  --text: #edf1ee; --muted: #a2aca5; --faint: #6f7a73;
  --accent: #4fdc8a; --accent-ink: #06150c; --accent-text: #4fdc8a;
  --accent-soft: rgb(79 220 138 / .12);
  --shadow: 0 24px 60px -24px rgb(0 8 3 / .7);
  --scrim: rgb(9 12 10 / .62);
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f3f1; --bg-2: #e7ebe8; --bg-3: #dde2de;
  --line: rgb(16 28 20 / .1); --line-2: rgb(16 28 20 / .2);
  --text: #101511; --muted: #4a554e; --faint: #6b766f;
  --accent: #127a43; --accent-ink: #f3fbf6; --accent-text: #0f6d3b;
  --accent-soft: rgb(18 122 67 / .1);
  --shadow: 0 24px 60px -28px rgb(20 40 28 / .35);
  --scrim: rgb(9 12 10 / .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; transition: background-color .5s var(--ease), color .5s var(--ease); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }
.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 30; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--pill); transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.ic { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.ic-lg { width: 28px; height: 28px; color: var(--accent-text); }

/* Buttons: pills, one label per intent */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: var(--pill); font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s; }
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: color-mix(in oklab, var(--accent) 86%, var(--text)); }
.btn-solid .ic { transition: transform .3s var(--ease); }
.btn-solid:hover .ic { transform: translate(2px, -2px); }
.btn-solid[href^="#"]:hover .ic { transform: translateY(2px); }
.btn-solid[href^="#"]:hover .ic { transform: translateY(2px); }
.btn-line { border-color: var(--line-2); }
.btn-line:hover { border-color: var(--text); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--nav-h); background: color-mix(in oklab, var(--bg) 78%, transparent); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); transition: background-color .5s var(--ease); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--text); display: grid; place-items: center; transition: background-color .5s; }
.brand-mark i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.brand-mark.sm { width: 18px; height: 18px; border-radius: 6px; }
.brand-mark.sm i { width: 7px; height: 7px; }
.cue { font: 500 12.5px/1 var(--mono); color: var(--muted); display: flex; align-items: center; gap: 8px; padding-left: 20px; border-left: 1px solid var(--line); }
.cue-k { color: var(--faint); }
.cue-v { color: var(--text); display: inline-block; min-width: 9ch; }
.tally { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.links { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 15px; }
.links > a:not(.btn) { text-decoration: none; color: var(--muted); transition: color .2s; }
.links > a:not(.btn):hover { color: var(--text); }
.lights { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line-2); background: none; cursor: pointer; font-size: 14px; color: var(--muted); transition: color .2s, border-color .2s; }
.lights:hover { color: var(--text); border-color: var(--text); }
[data-theme="dark"] .on-light, [data-theme="light"] .on-dark { display: none; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* Hero */
.hero { min-height: 100dvh; padding: calc(var(--nav-h) + 56px) 0 64px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 4.7vw, 74px); line-height: 1.02; letter-spacing: -.035em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .ln > span { display: inline-block; white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.lede { margin-top: 28px; max-width: 34ch; font-size: clamp(18px, 1.45vw, 21px); color: var(--muted); line-height: 1.5; }
.ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { margin: 0; position: relative; padding-bottom: 72px; }
.hero-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; transform: scale(1.08); }
.poll { position: absolute; left: -48px; bottom: 0; width: min(360px, 88%); padding: 22px; border-radius: var(--r); background: color-mix(in oklab, var(--bg-2) 92%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.poll-tag { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--mono); color: var(--accent-text); }
.poll-q { margin-top: 10px; font: 700 21px/1.2 var(--display); letter-spacing: -.01em; }
.poll-opts { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.poll-opts button { height: 42px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--bg-3); cursor: pointer; font-size: 14.5px; transition: background-color .25s, border-color .25s, color .25s, transform .2s var(--ease); }
.poll-opts button:hover { border-color: var(--text); }
.poll-opts button:active { transform: scale(.97); }
.poll-opts button[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.poll-out { margin-top: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.45; min-height: 2.9em; }

/* Section heads */
.h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.03em; max-width: 16ch; }
.sub { margin-top: 20px; max-width: 52ch; color: var(--muted); font-size: 18px; }

/* Doors: bento */
.doors { padding: 140px 0 120px; }
.bento { margin-top: 64px; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(280px, auto); gap: 16px; }
.cell { position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; }
.cell h3 { font-size: 26px; line-height: 1.1; margin-top: 18px; }
.cell p { margin-top: 10px; color: var(--muted); max-width: 38ch; }
.cell-photo { padding: 0; justify-content: flex-end; border: 0; }
.cell-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cell-photo:hover img { transform: scale(1.04); }
.cell-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(8 11 9 / .92) 8%, rgb(8 11 9 / .25) 55%, transparent); }
.cell-txt { position: relative; z-index: 1; padding: 32px; color: #eef2ef; }
.cell-txt p { color: #c3cbc5; }
.cell-txt .ic-lg { color: #4fdc8a; }
.c-reg { grid-column: span 5; grid-row: span 2; }
.c-check { grid-column: span 7; flex-direction: row; gap: 32px; align-items: stretch; background: var(--bg-3); }
.c-app { grid-column: span 4; }
.c-net { grid-column: span 3; background: var(--accent-soft); border-color: color-mix(in oklab, var(--accent) 30%, transparent); }
.check-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.check-form { margin-top: auto; padding-top: 22px; display: grid; gap: 8px; }
.check-form label { font-size: 14px; font-weight: 500; }
.check-row { display: flex; gap: 8px; }
.check-row input { flex: 1; min-width: 0; height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--bg); color: var(--text); }
.check-row input::placeholder { color: var(--faint); }
.check-row input:focus-visible { outline-offset: 1px; border-color: var(--accent); }
.check-err { min-height: 1.2em; font-size: 13.5px; color: #ff9b8a; }
[data-theme="light"] .check-err { color: #b3261e; }
.printer { flex: 0 0 210px; position: relative; overflow: hidden; padding: 0 12px 28px; display: flex; flex-direction: column; align-items: center; }
.slot { width: 100%; height: 14px; border-radius: var(--pill); background: var(--bg); border: 1px solid var(--line-2); position: relative; z-index: 2; }
.badge { position: relative; z-index: 1; margin-top: -6px; width: 176px; padding: 18px 16px 16px; border-radius: 0 0 12px 12px; background: #f6f8f6; color: #101511; box-shadow: var(--shadow); clip-path: inset(0 0 0 0); }
.badge-top { display: flex; align-items: center; gap: 7px; font: 700 12px/1 var(--display); padding-bottom: 12px; border-bottom: 3px solid #4fdc8a; }
.badge-top .brand-mark { background: #101511; }
.badge .badge-name { margin-top: 16px; color: #0a0b0a; max-width: none; font: 800 24px/1.05 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; min-height: 2.1em; }
.badge .badge-name.is-empty { color: #a3aca6; }
.badge .badge-role { margin-top: 4px; max-width: none; font: 500 11.5px/1 var(--mono); color: #4a554e; }
.badge-code { margin-top: 14px; height: 30px; display: flex; gap: 2px; align-items: stretch; }
.badge-code i { background: #101511; display: block; }

/* Keynote */
.keynote { position: relative; padding: 120px 0 0; background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.key-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 16px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 14.5px; }
.qa { border-radius: var(--r); background: var(--bg); border: 1px solid var(--line-2); padding: 10px; box-shadow: var(--shadow); }
.qa-head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px 14px; font: 500 13px/1 var(--mono); }
.qa-hint { color: var(--faint); }
.qa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qa-list li { display: flex; gap: 16px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); will-change: transform; }
.qa-list li p { font-size: 16.5px; line-height: 1.4; }
.qa-list li.top { border-color: color-mix(in oklab, var(--accent) 45%, transparent); }
.up { flex: none; width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; align-content: center; gap: 0; cursor: pointer; font: 500 13px/1 var(--mono); transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.up .ic { width: 18px; height: 18px; }
.up:hover { border-color: var(--text); }
.up:active { transform: scale(.94); }
.up.voted { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.key-photo { margin: 96px 0 0; height: clamp(260px, 42vw, 560px); position: relative; overflow: hidden; }
.key-photo img { width: 100%; height: 125%; object-fit: cover; position: absolute; top: -12%; }
.key-photo::before { content: ""; position: absolute; inset: 0 0 auto; height: 40%; z-index: 1; background: linear-gradient(var(--bg-2), transparent); }

/* Experiential: pinned, the frame opens to full bleed */
.exp { position: relative; }
.exp-pin { position: relative; height: 100dvh; overflow: hidden; display: grid; align-items: end; }
.exp-frame { position: absolute; inset: 0; clip-path: inset(14% 10% 14% 10% round 16px); }
.exp-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.exp-b { opacity: 0; }
.exp-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgb(6 9 7 / .94) 0%, rgb(6 9 7 / .7) 28%, rgb(6 9 7 / .15) 62%, rgb(6 9 7 / .35)); }
.exp-copy { position: relative; z-index: 1; padding-bottom: 72px; color: #eef2ef; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.exp-h { font-size: clamp(40px, 6vw, 92px); max-width: 11ch; }
.exp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; font: 500 clamp(19px, 1.7vw, 24px)/1.3 var(--display); letter-spacing: -.01em; color: #c3cbc5; }
.exp-list .exp-last { color: #4fdc8a; font-weight: 700; border-left-color: #4fdc8a; }
.exp-list li { padding-left: 18px; border-left: 2px solid rgb(79 220 138 / .7); }

/* Production */
.prod { padding: 140px 0 120px; overflow: hidden; }
.prod-pics { margin-top: 72px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; }
.pp { margin: 0; border-radius: var(--r); overflow: hidden; }
.pp img { width: 100%; height: 100%; object-fit: cover; }
.pp-1 { aspect-ratio: 16 / 10; }
.pp-2 { aspect-ratio: 4 / 5; margin-top: 96px; }

/* Run of show */
.process { padding: 40px 0 160px; }
.ros { margin-top: 72px; position: relative; }
.ros-line { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line-2); }
.ros-line i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.ros-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.ros-steps li { position: relative; padding-top: 40px; }
.ros-steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: border-color .4s, background-color .4s; }
.ros-steps li.lit::before { border-color: var(--accent); background: var(--accent); }
.ros-k { font: 800 26px/1 var(--display); letter-spacing: -.02em; }
.ros-steps p { margin-top: 12px; color: var(--muted); font-size: 16px; }

/* Close */
.close { position: relative; min-height: 92dvh; display: grid; align-items: center; overflow: hidden; color: #eef2ef; }
.close-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.close::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--scrim); }
.close-in { position: relative; z-index: 2; padding: 120px 0; display: grid; justify-items: start; }
.close-h { font-size: clamp(44px, 7vw, 112px); line-height: 1; letter-spacing: -.04em; max-width: 12ch; }
.mail { margin-top: 36px; display: inline-flex; align-items: center; gap: 14px; font: 700 clamp(22px, 2.6vw, 36px)/1.1 var(--display); text-decoration: none; letter-spacing: -.01em; background: linear-gradient(#4fdc8a, #4fdc8a) 0 100% / 0 2px no-repeat; padding-bottom: 6px; transition: background-size .5s var(--ease); overflow-wrap: anywhere; }
.mail:hover { background-size: 100% 2px; }
.mail .ic { color: #4fdc8a; }
.close-sub { margin-top: 20px; max-width: 46ch; color: #c9d1cb; font-size: 18px; }
.close .btn { margin-top: 36px; background: #4fdc8a; color: #06150c; }

.foot { padding: 40px 0 48px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; color: var(--muted); font-size: 15px; }
.foot-copy { margin-left: auto; }
.credits { flex-basis: 100%; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--muted); }
.credits a { color: var(--text); text-underline-offset: 2px; text-decoration-color: var(--line-2); }
.credits a:hover { color: var(--text); text-decoration-color: currentColor; }

/* Reveal (only when JS + motion are on) */
.js-motion .rv { opacity: 0; transform: translateY(28px); }

/* Responsive */
@media (max-width: 1180px) {
  .cue { display: none; }
  .links { gap: 18px; }
}
@media (max-width: 960px) {
  .links > a:not(.btn) { display: none; }
  .lights span { display: none; }
  .lights { width: 40px; padding: 0; justify-content: center; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: calc(var(--nav-h) + 40px); min-height: auto; }
  .hero-art { padding-bottom: 0; }
  .hero-img { aspect-ratio: 4 / 3; }
  .poll { position: relative; left: auto; bottom: auto; width: auto; margin: -64px 16px 0; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .c-reg, .c-check, .c-app, .c-net { grid-column: span 2; grid-row: auto; }
  .c-reg, .c-app { min-height: 380px; }
  .key-grid { grid-template-columns: 1fr; gap: 40px; }
  .exp-copy { grid-template-columns: 1fr; gap: 28px; }
  .prod-pics { grid-template-columns: 1fr; }
  .pp-2 { margin-top: 0; aspect-ratio: 16 / 10; }
  .ros-line { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .ros-line i { transform-origin: 50% 0; transform: scaleY(0); }
  .ros-steps { grid-template-columns: 1fr; gap: 36px; }
  .ros-steps li { padding: 0 0 0 44px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .brand-name { font-size: 17px; }
  .hire.btn-sm { padding: 0 14px; }
  .doors, .prod { padding: 96px 0 88px; }
  .keynote { padding-top: 88px; }
  .c-check { flex-direction: column; }
  .printer { flex-basis: auto; }
  .poll-opts { grid-template-columns: 1fr 1fr; }
  .exp-pin { height: auto; min-height: 100dvh; }
  .foot-copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .exp-frame { clip-path: none; }
  .ros-line i { transform: none; }
  .hero-img img { transform: none; }
}
@media (max-width: 960px) {
  .hero h1 .ln > span { white-space: normal; }
}
@media (max-width: 640px) {
  .check-row { flex-direction: column; }
  .check-row .btn { align-self: flex-start; }
}
@media (max-width: 640px) { .check-row input { flex: none; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Cookie notice */
.cookie { position: fixed; left: 24px; bottom: 24px; z-index: 25; width: min(380px, calc(100% - 32px)); padding: 18px 18px 18px 20px; border-radius: var(--r); background: color-mix(in oklab, var(--bg-2) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 14px; justify-items: start; font-size: 14.5px; line-height: 1.5; color: var(--muted); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.cookie.in { opacity: 1; transform: none; }
.cookie a { color: var(--text); text-underline-offset: 2px; }
@media (max-width: 640px) { .cookie { left: 16px; bottom: 16px; } }

/* Footer legal row */
.foot-legal { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; color: var(--muted); }
.foot-legal a { color: var(--text); text-underline-offset: 2px; text-decoration-color: var(--line-2); }
.foot-legal a:hover { text-decoration-color: currentColor; }
.foot-legal address { font-style: normal; }

/* Legal pages */
.legal { padding: calc(var(--nav-h) + 72px) 0 120px; }
.legal-in { max-width: 72ch; }
.legal h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -.03em; }
.legal .eff { margin-top: 16px; color: var(--muted); font-size: 15px; }
.legal .intro { margin-top: 28px; font-size: 19px; color: var(--text); }
.legal h2 { margin-top: 56px; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal h3 { margin-top: 28px; font-size: 20px; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal strong { color: var(--text); font-weight: 700; }
.legal a { color: var(--accent-text); text-underline-offset: 2px; }
.legal a.btn { text-decoration: none; }
.legal a.btn-solid { color: var(--accent-ink); }
.legal a.btn-line { color: var(--text); }
.legal .caps { text-transform: uppercase; font-size: 14.5px; letter-spacing: .01em; }
.toc { margin-top: 36px; padding: 24px 28px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.toc p { margin: 0; font: 500 13px/1 var(--mono); color: var(--faint); }
.toc ol { margin: 14px 0 0; padding-left: 20px; display: grid; grid-template-rows: repeat(var(--rows, 8), auto); grid-auto-flow: column; column-gap: 48px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.tbl { margin-top: 18px; width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; }
.tbl th { font-weight: 700; color: var(--text); border-bottom: 1px solid var(--line-2); }
.tbl td { color: var(--muted); }
.tbl tr + tr td { border-top: 1px solid var(--line); }
.tbl-wrap { overflow-x: auto; }
@media (max-width: 640px) { .toc ol { grid-auto-flow: row; grid-template-rows: none; } .tbl { font-size: 14px; } }
