/* PART 1 (reference/oscb/css/site.css): design tokens, base, header, buttons, footer. */
:root {
  color-scheme: light;
  /* OSCB brand palette */
  --ink: #231f20;          /* OSC Black: text, dark sections */
  --muted: #596370;        /* supporting text */
  --blue: #0066ff;         /* OSC Blue: primary brand, buttons, key elements */
  --deep: #0053cd;         /* OSC Deep Blue: hover, headings accent */
  --paper: #fff;           /* White: main background */
  --lightblue: #eaf3ff;    /* Light Blue: cards, subtle highlights */
  --grey: #f2f4f7;         /* Cool Grey: secondary backgrounds */
  --line: #dbe6f5;         /* dividers, subtle UI */
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 3px; }
::selection { background: var(--blue); color: #fff; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.12; }
.wrap { width: min(100% - 4rem, 1200px); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -6rem; padding: .7rem 1rem; z-index: 10; background: var(--blue); color: #fff; }
.skip-link:focus { top: 1rem; }
/* Sticky light header */
.site-topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.site-topbar.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(0, 51, 128, .5);
}
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 84px; transition: min-height .2s ease; }
.site-topbar.is-stuck .site-header { min-height: 62px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 40px; width: auto; transition: height .2s ease; }
.site-topbar.is-stuck .brand-logo { height: 32px; }
nav { display: flex; align-items: center; gap: 2.2rem; font-size: .9rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 500; transition: color .15s; }
nav a:hover { color: var(--blue); }
nav .nav-cta { color: #fff; background: var(--blue); padding: .55rem 1.05rem; border-radius: 4px; font-weight: 600; min-height: 0; transition: background .15s; }
nav .nav-cta:hover { color: #fff; background: var(--deep); }
.eyebrow { font-family: var(--mono); font-size: .8rem; font-weight: 500; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.3rem; min-height: 52px; padding: .75rem 1.4rem; font-size: .95rem; font-weight: 600; border-radius: 4px; transition: background .15s, transform .15s; }
.button-blue { background: var(--blue); color: #fff; box-shadow: 0 14px 30px -14px rgba(0, 102, 255, .6); }
.button-blue:hover { background: var(--deep); transform: translateY(-2px); }
.arrow { flex-shrink: 0; width: 20px; height: 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .95rem; font-weight: 600; color: var(--blue); }
.link-arrow:hover { color: var(--deep); }
.link-arrow:hover .arrow { transform: translateX(3px); }
.link-arrow .arrow { transition: transform .15s; }

/* Footer */
.footer { background: var(--grey); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 2rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-logo { height: 34px; width: auto; }
.footer-name { font-size: .9rem; font-weight: 600; line-height: 1.5; }
.footer-name span { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }
.footer-links { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.footer-link { display: inline-flex; align-items: center; min-height: 44px; gap: .7rem; font-size: .875rem; }
.footer-link:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Scroll-reveal entrance animations (JS adds .reveal-on once observed) */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22, .7, .3, 1), transform .7s cubic-bezier(.22, .7, .3, 1); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.reveal-ready [data-reveal].reveal-on { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 2.5rem, 1200px); }
  .site-header { min-height: 72px; gap: 1rem; }
  nav { gap: 1.1rem; font-size: .875rem; }
  .brand-logo { height: 34px; }
  .footer-inner { gap: 1.2rem; }
  .footer-name { max-width: 240px; font-size: .875rem; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { flex-wrap: wrap; justify-content: space-between; padding-block: 1.2rem .65rem; gap: .7rem; }
  .brand { gap: .8rem; }
  nav { width: 100%; gap: 1.4rem; }
  nav a { min-height: 40px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button-blue:hover { transform: none; }
  /* Keep reveal content visible when motion is reduced */
  .reveal-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* PART 2 (reference/oscb/css/home.css): hero, tracks, events, FAQ.
   BOSL: the countdown card rules are removed (the hero aside is .stat-card in bosl.css) and the
   per-element inline style delays are replaced by the nth-child rules at the end of this part,
   because the CSP forbids inline styles. */
/* Hero band: light base with a soft blue gradient wash + glow */
.hero-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(115% 85% at 88% -6%, rgba(0, 102, 255, .26) 0%, rgba(0, 102, 255, .08) 38%, transparent 66%),
    radial-gradient(80% 70% at -6% 112%, rgba(0, 83, 205, .12) 0%, transparent 58%),
    linear-gradient(180deg, #eaf3ff 0%, #f4f8ff 46%, #ffffff 100%);
}
.hero-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0, 102, 255, .10) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 100% at 82% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 100% at 82% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-band::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 255, .35) 40%, rgba(0, 102, 255, .5) 55%, transparent);
}
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; align-items: end; padding-block: 5.2rem 5.4rem; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--blue); margin-bottom: 1.65rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.75); } }
h1 { font-size: clamp(2.7rem, 6.5vw, 5.65rem); font-weight: 650; letter-spacing: -.065em; line-height: 1.075; color: var(--ink); }
h1 > span { display: block; }
h1 em { font-style: normal; color: var(--blue); }
.hero-copy { max-width: 580px; color: var(--muted); font-size: 1.125rem; line-height: 1.75; margin-top: 1.75rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem 1.5rem; margin-top: 2rem; }
.hero-fineprint { font-size: .9rem; color: var(--muted); }
.hero-fineprint a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.hero-fineprint a:hover { color: var(--blue); }
/* Tracks */
.tracks { padding-block: 4.5rem 4.75rem; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-top .eyebrow { color: var(--muted); margin-bottom: .6rem; }
.section-title { font-size: clamp(2rem, 3.3vw, 2.6rem); letter-spacing: -.045em; font-weight: 600; }
.section-note { color: var(--muted); font-size: .9rem; padding-bottom: .15rem; max-width: 34ch; text-align: right; }
.track-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.track { position: relative; display: flex; flex-direction: column; background: var(--grey); border: 1px solid var(--line); border-radius: 14px; padding: 1.65rem 1.5rem; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.track:hover { transform: translateY(-5px); background: var(--paper); border-color: var(--blue); box-shadow: 0 20px 44px -26px rgba(0, 51, 128, .5); }
.track .n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: var(--blue); color: #fff; font-family: var(--mono); font-size: .95rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 1.35rem; box-shadow: 0 10px 20px -10px rgba(0, 102, 255, .7); transition: transform .2s ease; }
.track:hover .n { transform: scale(1.06); }
.track h3 { font-size: 1.18rem; letter-spacing: -.03em; font-weight: 650; line-height: 1.25; color: var(--ink); }
.track p { margin-top: .55rem; color: var(--muted); font-size: .95rem; line-height: 1.55; }
/* Events */
.events { border-top: 1px solid var(--line); padding-block: 4.5rem 4.75rem; }
.event-card { display: grid; grid-template-columns: 270px minmax(0, 1fr); border: 1px solid #c5d8f5; border-radius: 12px; overflow: hidden; background: var(--paper); box-shadow: 0 24px 60px -34px rgba(0, 51, 128, .45); }
.event-cover { background: var(--blue); padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; border-right: 1px solid var(--deep); color: #fff; }
.event-cover .eyebrow { font-size: .8rem; }
.event-type { font-size: 3.45rem; font-weight: 700; letter-spacing: -.065em; line-height: .98; }
.event-type span { display: block; }
.cover-footer { font-family: var(--mono); font-size: .8rem; line-height: 1.7; letter-spacing: .015em; }
.event-body { padding: 2.25rem 2.5rem; }
.event-header { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: .85rem; }
.tag { display: inline-flex; align-items: center; font-size: .8rem; line-height: 1.5; font-weight: 600; padding: .25rem .7rem; border-radius: 100px; background: var(--lightblue); color: var(--deep); }
.event-header .eyebrow { font-size: .75rem; color: #4a5560; letter-spacing: .065em; }
.event-body h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); letter-spacing: -.04em; font-weight: 650; }
.event-description { margin-top: .7rem; max-width: 590px; color: #4a5560; }
.event-meta { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-block: 1.8rem; }
.event-meta div { min-width: 0; }
.event-meta dt { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6a7480; margin-bottom: .3rem; }
.event-meta dd { margin: 0; font-size: .98rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.event-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.4rem; }
.event-partners { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.event-partners-label { display: block; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.event-partners-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem clamp(2rem, 5vw, 3.5rem); }
.event-partners-row img { opacity: .9; }
.button-ink { background: var(--blue); color: #fff; }
.button-ink:hover { background: var(--deep); transform: translateY(-2px); }
.also-on { margin-top: 1.15rem; }
.also-on-label { display: block; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.future-event { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.5rem 1.75rem; background: var(--lightblue); border: 1px solid #c5d8f5; border-radius: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.future-event:hover { border-color: var(--blue); box-shadow: 0 18px 40px -28px rgba(0, 51, 128, .5); }
.future-event .when { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 66px; padding: .55rem .4rem; background: var(--paper); border: 1px solid #c5d8f5; border-radius: 10px; line-height: 1.05; }
.future-event .when b { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; color: var(--blue); }
.future-event .when em { font-style: normal; font-family: var(--mono); font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .15rem; }
.future-event .what strong { display: block; font-size: 1.15rem; letter-spacing: -.03em; font-weight: 650; color: var(--ink); }
.future-event .what span { display: block; margin-top: .35rem; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.future-event .state { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 600; color: var(--deep); background: var(--paper); border: 1px solid #c5d8f5; padding: .35rem .8rem; border-radius: 100px; white-space: nowrap; }
/* FAQ */
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.disclosure-icon { position: relative; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); transition: background .15s, transform .2s; }
.disclosure-icon::before, .disclosure-icon::after { content: ""; position: absolute; background: #fff; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px; transform: translate(-50%, -50%); }
.disclosure-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
details[open] .disclosure-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq { border-top: 1px solid var(--line); padding-block: 4.5rem 5rem; display: grid; grid-template-columns: 1fr 1.7fr; gap: 5rem; align-items: start; }
.faq-intro { position: sticky; top: 2rem; }
.faq-intro .eyebrow { color: var(--blue); margin-bottom: .9rem; }
.faq-intro .section-title { max-width: 320px; }
.faq-intro > p { color: var(--muted); margin-top: 1.1rem; max-width: 320px; }
.faq-contact { margin-top: 2.25rem; padding: 1.4rem 1.5rem; background: var(--lightblue); border-radius: 10px; max-width: 320px; }
.faq-contact strong { display: block; font-size: .95rem; font-weight: 650; letter-spacing: -.01em; }
.faq-contact p { color: var(--muted); font-size: .9rem; margin-top: .35rem; }
.faq-contact a { display: inline-flex; align-items: center; gap: .5rem; margin-top: .85rem; font-size: .9rem; font-weight: 600; color: var(--blue); }
.faq-contact a:hover { color: var(--deep); }
.faq-contact a:hover .arrow { transform: translateX(3px); }
.faq-contact .arrow { width: 17px; height: 17px; transition: transform .15s; }
.faq-list { display: grid; gap: .85rem; }
.faq-list details { background: var(--grey); border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, background .15s; }
.faq-list details:hover { border-color: #bcd2f2; }
.faq-list details[open] { background: var(--paper); border-color: var(--blue); box-shadow: 0 14px 34px -24px rgba(0, 102, 255, .5); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 1.5rem; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; }
.faq-list summary:hover .disclosure-icon { background: var(--deep); }
.faq-list details[open] summary { color: var(--blue); }
.faq-answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
details[open] .faq-answer-wrap { grid-template-rows: 1fr; }
.faq-answer { overflow: hidden; }
.faq-answer p { padding: 0 3.5rem 1.5rem 1.5rem; color: var(--muted); }
.faq-answer a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.faq-answer a:hover { color: var(--deep); }

/* Gentle hero intro on load */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal-ready .hero-intro > * { opacity: 0; animation: rise .8s cubic-bezier(.22, .7, .3, 1) forwards; animation-delay: var(--rise-delay, 0ms); }
/* BOSL: delays that OSCB sets with inline style attributes */
.hero-intro > :nth-child(1) { --rise-delay: .05s; }
.hero-intro > :nth-child(2) { --rise-delay: .15s; }
.hero-intro > :nth-child(3) { --rise-delay: .3s; }
.hero-intro > :nth-child(4) { --rise-delay: .42s; }
.hero-aside { --reveal-delay: .35s; }

@media (min-width: 1440px) { .hero { padding-block: 6rem; } }
@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) 300px; gap: 2.25rem; }
  h1 { font-size: clamp(2.7rem, 6.1vw, 5rem); }
  .track-grid { grid-template-columns: 1fr 1fr; }
  .event-card { grid-template-columns: 215px minmax(0, 1fr); }
  .event-cover { padding: 1.6rem; }
  .event-type { font-size: 2.85rem; }
  .event-body { padding: 1.8rem 1.7rem; }
  .event-meta { grid-template-columns: 1fr 1fr; }
  .faq { gap: 2.5rem; grid-template-columns: 1fr 1.5fr; }
}

@media (max-width: 760px) {
  .hero { padding-block: 3.25rem; grid-template-columns: 1fr; gap: 3rem; }
  h1 { font-size: clamp(2.7rem, 8.6vw, 4.65rem); }
  .hero-copy { font-size: 1.0625rem; margin-top: 1.4rem; }
  .hero .eyebrow { font-size: .75rem; margin-bottom: 1.15rem; }
  .tracks { padding-block: 3.25rem; }
  .track-grid { grid-template-columns: 1fr; }
  .section-top { align-items: start; flex-direction: column; gap: .6rem; margin-bottom: 1.6rem; }
  .section-note { text-align: left; }
  .events { padding-block: 3.25rem; }
  .event-card { grid-template-columns: 1fr; }
  .event-cover { flex-direction: row; align-items: end; padding: 1.5rem; border-right: 0; border-bottom: 1px solid var(--deep); }
  .event-cover > .eyebrow { align-self: start; }
  .event-type { font-size: 2.75rem; text-align: right; }
  .cover-footer { display: none; }
  .event-body { padding: 1.65rem 1.5rem; }
  .event-meta { gap: 1.2rem; }
  .future-event { grid-template-columns: auto 1fr; gap: .5rem 1.1rem; padding: 1.35rem 1.4rem; }
  .future-event .when { grid-row: span 2; align-self: start; }
  .future-event .state { justify-self: start; grid-column: 2; }
  .faq { padding-block: 3.25rem; grid-template-columns: 1fr; gap: 1.8rem; }
  .faq-intro { position: static; }
  .faq-intro .section-title, .faq-intro > p, .faq-contact { max-width: none; }
}

@media (max-width: 480px) {
  .hero { padding-top: 2.6rem; }
  h1 { font-size: 2.65rem; letter-spacing: -.06em; }
  .event-body { padding-inline: 1.2rem; }
  .event-meta { grid-template-columns: 1fr; gap: 1rem; }
  .event-meta div { display: grid; grid-template-columns: 95px 1fr; gap: .5rem; }
  .event-meta dt { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .button-ink:hover, .track:hover { transform: none; }
  .reveal-ready .hero-intro > * { opacity: 1 !important; transform: none !important; }
}

/* PART 3 (reference/oscb/css/legal.css): legal and document pages, 404.
   BOSL: table rules are scoped to .table-scroll so they do not leak onto other tables. */

.legal {
  padding-block: 3.5rem 4.5rem;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}
.legal-head { padding-bottom: 2.25rem; padding-top: 3.25rem; border-bottom: 1px solid var(--line); }
.legal-head .eyebrow { color: var(--blue); margin-bottom: .9rem; display: block; }
.legal-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); font-weight: 650; letter-spacing: -.045em; }
.legal-head .lede { margin-top: 1.1rem; max-width: 62ch; color: var(--muted); font-size: 1.0625rem; }
.legal-dates { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem .9rem; font-size: .85rem; color: var(--muted); }
.legal-dates span { background: var(--grey); border: 1px solid var(--line); border-radius: 100px; padding: .3rem .85rem; }

/* Sticky table of contents.
   site.css styles the site header with a bare `nav` selector, so the block
   layout and link sizing have to be reset here or the list runs horizontally. */
.toc { display: block; gap: 0; position: sticky; top: 104px; font-size: .875rem; }
.toc-label { display: block; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: .1rem; }
.toc li { counter-increment: toc; }
.toc a { display: block; min-height: 0; font-weight: 500; padding: .38rem .6rem .38rem 2rem; position: relative; border-radius: 6px; color: var(--muted); line-height: 1.45; transition: background .15s, color .15s; }
.toc a::before { content: counter(toc); position: absolute; left: .6rem; font-family: var(--mono); font-size: .72rem; color: #9fb0c4; }
.toc a:hover { background: var(--lightblue); color: var(--deep); }

.prose { max-width: 72ch; }
.prose section { scroll-margin-top: 110px; padding-top: 2.4rem; }
.prose section + section { border-top: 1px solid var(--line); }
.prose h2 { display: flex; align-items: baseline; gap: .75rem; font-size: 1.45rem; font-weight: 650; letter-spacing: -.03em; margin-bottom: .9rem; }
.prose h2 .num { font-family: var(--mono); font-size: .85rem; font-weight: 700; color: var(--blue); flex: 0 0 auto; }
.prose h3 { font-size: 1.02rem; font-weight: 650; letter-spacing: -.015em; margin-top: 1.5rem; margin-bottom: .45rem; }
.prose p { color: var(--muted); margin-bottom: .95rem; }
.prose ul { color: var(--muted); margin: 0 0 .95rem; padding-left: 1.15rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--deep); }

/* Callouts: a neutral note and a to-be-confirmed flag */
.note, .todo { border-radius: 10px; padding: 1.1rem 1.25rem; margin-bottom: 1.1rem; font-size: .95rem; }
.note { background: var(--lightblue); border: 1px solid #c5d8f5; }
.note p, .todo p { color: var(--ink); margin-bottom: 0; }
.note p + p, .todo p + p { margin-top: .6rem; }
.todo { background: #fff8e6; border: 1px solid #f0dca8; }
.todo .tag-todo { display: inline-block; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a6400; margin-bottom: .45rem; }

/* Lawful-basis table */
.table-scroll { overflow-x: auto; margin-bottom: 1.1rem; -webkit-overflow-scrolling: touch; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 540px; font-size: .9rem; }
.table-scroll caption { text-align: left; font-size: .85rem; color: var(--muted); padding-bottom: .6rem; }
.table-scroll th, .table-scroll td { text-align: left; vertical-align: top; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.table-scroll thead th { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6a7480; background: var(--grey); border-bottom: 1px solid var(--line); }
.table-scroll tbody th { font-weight: 600; color: var(--ink); }
.table-scroll td { color: var(--muted); }

.contact-card { margin-top: 1.4rem; padding: 1.4rem 1.5rem; background: var(--grey); border: 1px solid var(--line); border-radius: 10px; }
.contact-card p { margin-bottom: .35rem; }
.contact-card a { font-weight: 600; }

/* 404 */
.notfound { padding-block: 6rem 7rem; text-align: center; }
.notfound .code { font-family: var(--mono); font-size: clamp(4rem, 14vw, 7.5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--blue); }
.notfound h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 650; letter-spacing: -.04em; margin-top: 1rem; }
.notfound p { margin: 1rem auto 0; max-width: 46ch; color: var(--muted); }
.notfound .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

@media (max-width: 900px) {
  /* minmax(0, 1fr), not 1fr: a bare 1fr track takes its minimum from the
     widest min-content in the column, which the 540px-min-width table would
     otherwise force, pushing the whole page wider than the viewport. */
  .legal { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .toc { width: auto; }
  .toc { position: static; border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.2rem; background: var(--grey); }
  .toc ol { grid-template-columns: 1fr 1fr; display: grid; }
}
@media (max-width: 620px) {
  .legal { padding-block: 2.25rem 3rem; }
  .legal-head { padding-top: 2.25rem; }
  .toc ol { grid-template-columns: 1fr; }
  .prose section { padding-top: 1.9rem; }
  .prose h2 { font-size: 1.28rem; }
}
