:root {
  --canvas: #F4F5FB; --surface: #FFFFFF; --ink: #0A0F2C; --muted: #5A5F7A; --faint: #676C8A; --line: #DEE0EA;
  --accent: #E0107F; --accent-ink: #FFFFFF; --booked: #0038FF; --soft: #E3E9FF;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Geist", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #080B22; --surface: #171A2E; --ink: #ECEEF8; --muted: #A3A8C4; --faint: #8E93B0; --line: #2A2E4A;
    --accent: #FF6BBC; --accent-ink: #0E1020; --booked: #7C95FF; --soft: #1A2150;
  }
}
:root[data-theme="dark"] {
  --canvas: #080B22; --surface: #171A2E; --ink: #ECEEF8; --muted: #A3A8C4; --faint: #8E93B0; --line: #2A2E4A;
  --accent: #FF6BBC; --accent-ink: #0E1020; --booked: #7C95FF; --soft: #1A2150;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 17px/1.7 var(--body); }
a { color: var(--booked); text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--canvas) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); transition: background-color .25s ease, border-color .25s ease; }
.nav .wrap { max-width: 1160px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; font: 700 25px/1 "Outfit", "Segoe UI", system-ui, sans-serif; letter-spacing: -.03em; transition: color .25s ease; }
.idt { position: relative; display: inline-block; }
.idt::after { content: ""; position: absolute; left: 50%; top: .04em; width: .19em; height: .19em; border-radius: 50%; background: var(--booked); transform: translateX(-50%); transition: background-color .25s ease; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .25s ease; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current] { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in oklab, var(--accent) 88%, var(--ink)); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }
.nav.on-hero { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.on-hero .brand { color: #FFFFFF; }
.nav.on-hero .idt::after { background: #FF8CC8; }
.nav.on-hero .nav-links a:not(.btn) { color: rgba(255, 255, 255, .82); }
.nav.on-hero .nav-links a:not(.btn):hover, .nav.on-hero .nav-links a[aria-current] { color: #FFFFFF; }
.nav.on-hero .btn-primary { background: #FFFFFF; color: #C20C6D; }
.nav.on-hero .btn-primary:hover { background: #FFF0F7; }
.nav.on-hero :focus-visible { outline-color: #FFFFFF; }
@media (prefers-reduced-motion: reduce) { .nav, .brand, .idt::after, .nav-links a { transition: none; } }
.top { background: linear-gradient(115deg, #0038FF, #5B2BE8 55%, #E0107F); color: #fff; }
.top .in { max-width: 760px; margin: 0 auto; padding: calc(64px + env(safe-area-inset-top, 0px)) 16px 56px; }
.crumb a { color: inherit; text-decoration: none; }
.crumb { margin: 32px 0 10px; font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
h1 { font: 700 clamp(30px, 6vw, 46px)/1.12 var(--display); letter-spacing: -.02em; margin: 0; }
.top p { color: #fff; }
.lede { font-size: 19px; opacity: .92; margin: 16px 0 0; }
main { max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }
h2 { font: 700 26px/1.25 var(--display); letter-spacing: -.01em; margin: 48px 0 10px; }
h3 { font: 600 19px/1.35 var(--display); margin: 28px 0 6px; }
p, li { color: var(--ink); }
.muted { color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; background: var(--soft); }
tr:last-child td { border-bottom: 0; }
.note { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 18px; margin: 24px 0; }
.cta { display: inline-block; margin-top: 8px; background: var(--accent); color: var(--accent-ink); padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; }
code { font: 14px var(--mono); background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.back { display: inline-block; margin-top: 40px; font-weight: 600; text-decoration: none; }
.back:hover { text-decoration: underline; }
footer { padding-block: 32px 48px; color: var(--faint); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
footer .wrap { max-width: 1160px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; }
.foot-about { display: grid; gap: 4px; max-width: 34em; }
.foot-about p { margin: 0; color: inherit; }
.foot-about strong { color: var(--ink); }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: var(--ink); }
.posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.post a { display: block; padding: 22px 24px; color: inherit; text-decoration: none; }
.post a:hover h2 { color: var(--booked); }
.post .meta { margin: 0 0 6px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.post h2 { margin: 0 0 8px; font-size: 22px; transition: color .2s ease; }
.post p:last-child { margin: 0; color: var(--muted); }
