@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/geist-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/geist-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/geist-mono-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/geist-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Shared design system: tokens, type, nav, buttons, cards, tags, footer, grain.
   Home adds the particle world (home.css); inner pages add their templates (pages.css). */
:root {
  --void: #05070B; --panel: #0A0D13; --steel: #E6E9ED; --soft: #AEB5C0; --mute: #7A8390; --ember: #FF7A45; --run: #3BB273;
  --line: rgba(230, 233, 237, .08); --line2: rgba(230, 233, 237, .16);
  --glass: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  --indigo: #7f8cff; --teal: #4fd8cf; --violet: #b48cff; --pink: #ff74b4;
  --display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --side: max(16px, env(safe-area-inset-left, 0px), 4.4vw); --max: 1180px;
  --nav-h: 86px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--void); scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { background: var(--void); color: var(--steel); font-family: var(--display); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(255, 122, 69, .35); }
img { max-width: 100%; }
[hidden] { display: none !important; }
.mono, .lab { font-family: var(--mono); }
.lab { font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--mute); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--steel); color: #0E1013; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 14px; }
.skip:focus { top: 14px; }

/* grain over everything */
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* the site nav: a glass pill, fixed at the top */
.nav-wrap { position: fixed; z-index: 40; top: 0; left: 0; right: 0; padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 0; pointer-events: none; display: flex; justify-content: flex-end; }
/* the width and the right margin animate together, so the pill slides into the corner as it shrinks */
.site-nav { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 28px; width: min(1080px, 100%); margin-right: calc((100% - min(1080px, 100%)) / 2); padding: 8px 8px 8px 16px; border-radius: 999px;
  transition: width .7s var(--ease), margin-right .7s var(--ease), gap .7s var(--ease);
  background: rgba(8, 11, 16, .6); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 20px 50px -30px rgba(0, 0, 0, .9); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 15.5px; letter-spacing: -.01em; text-decoration: none; color: var(--steel); }
.brand img { width: 20px; height: 20px; display: block; }
.site-nav .links { display: flex; gap: 22px; margin: 0 auto; font-size: 13.5px; color: var(--soft); white-space: nowrap; }
.menu-cta { display: none; }
.site-nav .links a { text-decoration: none; transition: color .25s; }
.site-nav .links a[aria-current="page"], .site-nav .links a:hover { color: var(--steel); }
.site-nav .links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* buttons: primary with the specular sweep, and the ghost */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font: 500 14px var(--display); color: #0E1013;
  background: linear-gradient(180deg, #fff, #d3d9e2); text-decoration: none; border: 0; white-space: nowrap; cursor: pointer; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12), 0 10px 30px -12px rgba(230, 233, 237, .35); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--ember); flex: none; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .9) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12), 0 16px 40px -14px rgba(230, 233, 237, .5); }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(120%); }
.ghost { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; color: var(--steel); border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); text-decoration: none; transition: border-color .25s, background .25s; }
.ghost:hover { border-color: rgba(230, 233, 237, .3); background: rgba(255, 255, 255, .06); }

/* the folded nav: a small pill in the top-right corner; its round button opens the links as bubbles */
.menu-btn { display: none; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: var(--steel); cursor: pointer; place-items: center; }
.menu-icon { position: relative; width: 16px; height: 10px; display: block; }
.menu-icon i { position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-icon i:first-child { top: 0; } .menu-icon i:last-child { top: 8.5px; }
.site-nav[data-open] .menu-icon i:first-child { top: 4.25px; transform: rotate(45deg); }
.site-nav[data-open] .menu-icon i:last-child { top: 4.25px; transform: rotate(-45deg); }
.js .site-nav.compact { width: 176px; margin-right: 0; gap: 10px; justify-content: space-between; }
.js .site-nav.compact .nav-cta { display: none; }
.js .site-nav.compact .menu-btn { display: grid; }
.js .site-nav:not(.compact) .links, .js .site-nav:not(.compact) .nav-cta { animation: nav-in .45s .35s var(--ease) both; }
@keyframes nav-in { from { opacity: 0; } }
.js .site-nav.compact .links { position: absolute; top: calc(100% + 10px); right: 0; margin: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.js .site-nav.compact .links a { font-size: 16px; color: var(--steel); padding: 12px 20px; border-radius: 999px; background: rgba(12, 16, 23, .92); border: 1px solid var(--line2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .9);
  opacity: 0; transform: translateY(-6px) scale(.6); transform-origin: 100% 0; visibility: hidden; transition: opacity .25s var(--ease), transform .4s cubic-bezier(.3, 1.5, .5, 1), visibility 0s .4s; transition-delay: calc(var(--i, 0) * 40ms); }
.js .site-nav.compact .links a.menu-cta { display: inline-flex; align-items: center; gap: 8px; color: #0E1013; background: linear-gradient(180deg, #fff, #d3d9e2); border-color: transparent; }
.js .site-nav.compact .links a.menu-cta::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--ember); }
.js .site-nav.compact[data-open] .links { pointer-events: auto; }
.js .site-nav.compact[data-open] .links a { opacity: 1; transform: none; visibility: visible; transition: opacity .25s var(--ease), transform .4s cubic-bezier(.3, 1.5, .5, 1), visibility 0s; transition-delay: calc(var(--i, 0) * 40ms); }

/* page header with the dim nebula band (inner pages) */
.head { position: relative; padding: 150px var(--side) 70px; overflow: hidden; border-bottom: 1px solid var(--line); }
.head canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.head::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, var(--void)); pointer-events: none; }
.head .in { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; }
.head h1 { font-weight: 500; font-size: clamp(2.6rem, 1.4rem + 4vw, 4.8rem); letter-spacing: -.055em; line-height: .98; margin: 14px 0 18px; max-width: 16ch; }
.head h1 em { font-style: normal; color: var(--mute); }
.head p.lede { color: var(--soft); font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); max-width: 58ch; }
.crumbs { display: flex; gap: 8px; align-items: center; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--soft); }
.crumbs b { font-weight: 500; color: var(--soft); }

/* layout and type */
.wrap { padding: 0 var(--side); }
.inner { max-width: var(--max); margin: 0 auto; }
.band { padding: clamp(64px, 8vw, 110px) 0; }
.band + .band { border-top: 1px solid var(--line); }
h2 { font-weight: 500; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); letter-spacing: -.045em; line-height: 1.04; margin: 10px 0 14px; }
h2 em { font-style: normal; color: var(--mute); }
h3 { font-weight: 500; font-size: 1.22rem; letter-spacing: -.02em; line-height: 1.25; }
p { color: var(--soft); }
.sechead { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.sechead p { max-width: 52ch; }

/* glass cards with the pointer light */
.card { background: var(--glass); border: 1px solid var(--line); border-radius: 22px; padding: 24px; position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 40px 80px -50px rgba(0, 0, 0, .95); transition: border-color .3s; }
.card:hover { border-color: var(--line2); }
.card::before { content: ""; position: absolute; width: 380px; height: 380px; left: var(--mx, -999px); top: var(--my, -999px); transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(159, 180, 214, .10), transparent); pointer-events: none; }

/* status tags */
.tag { display: inline-flex; align-items: center; gap: 7px; font: 500 11px var(--mono); letter-spacing: .07em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line2); color: var(--soft); white-space: nowrap; }
.tag.run { background: var(--steel); color: #0E1013; border-color: transparent; }
.tag.run::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--run); box-shadow: 0 0 8px var(--run); }
.tag.plan { border-style: dashed; color: var(--mute); }

/* footer */
.site-foot { position: relative; z-index: 2; border-top: 1px solid var(--line); margin-top: 40px; padding: 50px var(--side) calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--void); }
.site-foot .inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.site-foot .foot-h { font: 500 11px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
.site-foot a { display: block; text-decoration: none; color: var(--soft); font-size: 14px; padding: 3px 0; }
.site-foot a:hover { color: var(--steel); }
.site-foot .brand { display: flex; color: var(--steel); font-size: 15.5px; padding: 0; }
.site-foot .motto { font-size: 14px; margin-top: 10px; max-width: 30ch; }
.site-foot .disc { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 10px; font-size: 12.5px; color: var(--mute); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-foot .disc a { display: inline; font-size: 12.5px; color: var(--mute); padding: 0; }

/* discreet entrances */
/* hidden only once the script runs, so the text is there without JavaScript */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-nav { justify-content: space-between; gap: 10px; }
  /* without JavaScript the links wrap onto a second row inside the pill */
  html:not(.js) .site-nav { flex-wrap: wrap; border-radius: 24px; }
  html:not(.js) .site-nav .links { order: 3; width: 100%; flex-wrap: wrap; gap: 6px 16px; margin: 2px 0 4px; white-space: normal; }
  .nav-cta { margin-left: auto; }
  .site-foot .inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .nav-cta { padding: 0 14px; font-size: 13px; } .site-nav { padding-left: 14px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
