@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap');

:root {
  --bg: #0b0a09;
  --surface: #141210;
  --panel: #191714;
  --panel-in: #100e0c;
  --hair: #2a2622;
  --hair-2: #403a34;
  --ink: #ece4d9;
  --mute: #aaa095;
  --ghost: #9b8f83;
  --rose: #e8a0b0;
  --rose-deep: #c4788a;
  --rose-wash: rgba(232, 160, 176, .08);
  --green: #a6c8a5;
  --amber: #d8b385;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body {
  margin: 0;
  min-width: 300px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::selection { background: rgba(232,160,176,.3); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: -5rem; left: 1rem; padding: .75rem 1rem; background: var(--rose); color: #1a1214; font: .75rem var(--mono); }
.skip-link:focus { top: 1rem; }
.site-container { width: min(100% - 96px, 1352px); margin: 0 auto; }
.global-nav {
  min-height: 90px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--hair);
}
.global-brand { display: inline-flex; align-items: center; gap: .7rem; justify-self: start; white-space: nowrap; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #61444a; border-radius: 11px; color: var(--rose); background: rgba(232,160,176,.07); }
.logo-mark svg { width: 24px; height: 24px; }
.brand-name { font: 700 .95rem/1 var(--sans); letter-spacing: -.045em; }
.brand-name span { color: var(--rose); }
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a { padding: .6rem .8rem; border-radius: 7px; color: var(--mute); font: 500 .76rem/1 var(--sans); white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: #1b1816; }
.nav-links a[aria-current="page"]::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 .45rem .13rem 0; border-radius: 50%; background: var(--rose); }
.nav-action { justify-self: end; }
.nav-action, .button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; border: 1px solid var(--hair-2); border-radius: 8px; padding: .78rem 1rem; background: transparent; color: var(--ink); font: 600 .75rem/1 var(--sans); transition: border-color .16s, background .16s, color .16s, transform .16s; }
.nav-action:hover, .button:hover { border-color: var(--rose); }
.button.primary { border-color: var(--rose); background: var(--rose); color: #1a1214; }
.button.primary:hover { background: #f0b4c0; border-color: #f0b4c0; transform: translateY(-1px); }
.button svg, .nav-action svg { width: 15px; height: 15px; flex: none; }
.eyebrow-ui { color: var(--rose); font: 500 .64rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 2rem; margin-top: 5rem; padding: 2rem 0 2.4rem; border-top: 1px solid var(--hair); }
.site-footer-brand { display: flex; align-items: center; gap: .7rem; }
.site-footer-brand .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
.site-footer-brand .logo-mark svg { width: 20px; height: 20px; }
.site-footer p { margin: .8rem 0 0; color: var(--ghost); font: .72rem/1.5 var(--sans); }
.site-footer-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 1.4rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.3rem; color: var(--mute); font: 500 .72rem var(--sans); }
.site-footer nav a:hover { color: var(--rose); }
.footer-version { color: var(--ghost); font: .61rem var(--mono); }
@media (max-width: 760px) {
  .site-container { width: min(100% - 40px, 1352px); }
  .global-nav { min-height: 0; grid-template-columns: 1fr auto; gap: .8rem; padding: 1rem 0 .8rem; }
  .nav-links { grid-column: 1 / -1; grid-row: 2; margin-left: -.65rem; overflow-x: auto; }
  .nav-links a { padding: .6rem .65rem; }
  .nav-action { grid-column: 2; grid-row: 1; padding: .68rem .75rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3.5rem; }
  .site-footer-right { align-items: flex-start; }
}
@media (max-width: 360px) {
  .site-container { width: calc(100% - 28px); }
  .nav-action { font-size: .68rem; }
  .nav-links { gap: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
