/* =========================================================================
   Falconet — shared design system (every page loads this file).
   Dark stage, one cyan accent, Satoshi: relaxed, rounded, bold.
   Page-specific styles live in css/<page>.css.
   ========================================================================= */
:root {
  --bg: #07080d;
  --bg-2: #0c0e15;
  --bg-3: #12151e;
  --panel: rgba(18, 21, 32, 0.72);
  --line: rgba(200, 220, 255, 0.10);
  --line-2: rgba(200, 220, 255, 0.20);
  --ink: #f3f5fa;
  --ink-2: #bcc4d4;
  --ink-3: #8c95a8;
  --cyan: #2fd8ff;
  --cyan-2: #8be9ff;
  --cyan-soft: rgba(47, 216, 255, 0.12);
  --violet: #7a5cff;
  --danger: #ff7a7a;

  --font: "Satoshi", "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 2px 4px rgba(0, 0, 0, 0.4), 0 24px 60px rgba(0, 0, 0, 0.5);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-ui: cubic-bezier(0.2, 0, 0, 1);

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 76rem;

  --z-nav: 50;
  --z-menu: 60;
  --z-loader: 100;
  --z-skip: 110;
  color-scheme: dark;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; font-weight: 450;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(47, 216, 255, 0.3); }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: var(--z-skip); background: var(--cyan); color: #00131c; padding: 0.6rem 1rem; font-weight: 700; border-radius: 10px; }
.skip:focus { top: 1rem; }

/* ---------- type scale ---------- */
.display { font-size: clamp(2.75rem, 7vw, 5.75rem); font-weight: 900; line-height: 0.98; letter-spacing: -0.035em; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.accent { color: var(--cyan); }
.kicker { display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1.1rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
:is(.display, .h2, .h3) + .lede { margin-top: 1.25rem; }
.muted { color: var(--ink-2); }

/* ---------- layout ---------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head .lede { margin-top: 1.1rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lede { margin-inline: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.85rem 1.45rem; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 0.98rem; line-height: 1; white-space: nowrap;
  transition-property: background-color, color, box-shadow, scale; transition-duration: 0.25s; transition-timing-function: var(--ease-ui);
}
.btn:active { scale: 0.96; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--cyan); color: #00131c; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 16px rgba(0, 0, 0, 0.35); }
.btn-primary:hover { background: var(--cyan-2); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 24px rgba(0, 0, 0, 0.45); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-2); background: rgba(255, 255, 255, 0.04); }
.btn-sm { min-height: 40px; padding: 0.6rem 1.05rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: var(--cyan); }
.link-arrow svg { width: 16px; height: 16px; transition: translate 0.3s var(--ease-ui); }
.link-arrow:hover svg { translate: 4px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* ---------- surfaces ---------- */
.card {
  position: relative; padding: clamp(1.4rem, 2.4vw, 2rem); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)), var(--bg-2);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  transition-property: box-shadow, translate; transition-duration: 0.35s; transition-timing-function: var(--ease);
}
a.card:hover, .card.is-link:hover { translate: 0 -4px; box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(47, 216, 255, 0.35); }
.icon-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--cyan); background: var(--cyan-soft); box-shadow: inset 0 0 0 1px rgba(47, 216, 255, 0.25); margin-bottom: 1.25rem; }
.icon-tile svg { width: 22px; height: 22px; }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- navigation (injected by js/site.js) ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav);
  transition-property: background-color, box-shadow, backdrop-filter; transition-duration: 0.35s; transition-timing-function: var(--ease-ui);
}
.nav.is-scrolled { background: rgba(7, 8, 13, 0.72); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.nav > .nav-in { display: flex; align-items: center; gap: 1.5rem; height: 72px; width: min(84rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.logo { display: flex; align-items: center; gap: 0.65rem; font-weight: 900; font-size: 1.15rem; letter-spacing: -0.02em; margin-right: auto; }
.logo img { height: 22px; width: auto; }
.menu { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu-link {
  display: inline-flex; align-items: center; gap: 0.35rem; height: 40px; padding: 0 0.85rem; border-radius: 999px;
  font-size: 0.95rem; font-weight: 600; color: var(--ink-2); background: transparent; border: 0; cursor: pointer;
  transition-property: color, background-color; transition-duration: 0.2s; transition-timing-function: var(--ease-ui);
}
.menu-link:hover, .menu-link[aria-expanded="true"] { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.menu-link[aria-current="page"] { color: var(--ink); }
.menu-link[aria-current="page"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); margin-left: 0.2rem; }
.menu-link .chev { width: 12px; height: 12px; transition: rotate 0.25s var(--ease-ui); }
.menu-link[aria-expanded="true"] .chev { rotate: 180deg; }
.drop {
  position: absolute; left: 50%; top: calc(100% + 10px); min-width: 300px; padding: 8px; border-radius: 22px;
  background: rgba(14, 16, 24, 0.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; translate: -50% 6px; scale: 0.98;
  transition-property: opacity, translate, scale, visibility; transition-duration: 0.18s, 0.25s, 0.25s, 0s; transition-delay: 0s, 0s, 0s, 0.25s; transition-timing-function: var(--ease-ui);
}
.drop.is-open { opacity: 1; visibility: visible; translate: -50% 0; scale: 1; transition-delay: 0s; }
.drop a { display: grid; grid-template-columns: 36px 1fr; gap: 0.1rem 0.75rem; align-items: center; padding: 0.6rem 0.7rem; border-radius: 14px; transition: background-color 0.2s var(--ease-ui); }
.drop a:hover { background: rgba(255, 255, 255, 0.05); }
.drop .di { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--cyan-soft); color: var(--cyan); }
.drop .di svg { width: 18px; height: 18px; }
.drop b { font-size: 0.95rem; font-weight: 700; }
.drop small { font-size: 0.8rem; color: var(--ink-3); line-height: 1.35; }
.drop .drop-all { grid-template-columns: 1fr; margin-top: 4px; box-shadow: inset 0 1px 0 var(--line); border-radius: 0 0 14px 14px; color: var(--cyan); font-weight: 700; font-size: 0.9rem; }
.nav-cta { margin-left: 0.5rem; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, 0.06); cursor: pointer; place-items: center; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); box-shadow: 0 6px 0 var(--ink), 0 -6px 0 var(--ink); }
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); padding: 6rem var(--gutter) max(2rem, env(safe-area-inset-bottom)); overflow: auto; overscroll-behavior: contain;
  background: rgba(7, 8, 13, 0.97); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease-ui), visibility 0s 0.25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu nav { display: grid; gap: 0.25rem; }
.mobile-menu nav a { display: block; padding: 0.85rem 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; box-shadow: inset 0 -1px 0 var(--line); }
.mobile-menu .btn { margin-top: 2rem; width: 100%; font-size: 1.05rem; }
.mobile-menu .btn + .btn { margin-top: 0.75rem; }
.menu-close { position: absolute; right: var(--gutter); top: 14px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, 0.06); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding: calc(72px + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 70% 20%, rgba(10, 123, 214, 0.28), transparent 70%), radial-gradient(30% 40% at 15% 10%, rgba(122, 92, 255, 0.16), transparent 70%); }
.crumbs { display: flex; gap: 0.5rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); font-size: 0.88rem; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: 0.5; }
.page-hero .display { max-width: 16ch; }
.page-hero .lede { margin-top: 1.4rem; }
.page-hero .actions { margin-top: 2.2rem; }

/* ---------- footer (injected) ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; margin: 0 auto clamp(3rem, 6vw, 5rem); width: min(var(--maxw), 100% - 2 * var(--gutter));
  padding: clamp(2.5rem, 6vw, 4.5rem); border-radius: var(--r-xl); text-align: center;
  background: radial-gradient(70% 120% at 50% 0%, rgba(10, 123, 214, 0.35), transparent 70%), var(--bg-2); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }
.cta-band .h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lede { margin: 1rem auto 2rem; }
.cta-band .actions { justify-content: center; }
.foot { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; box-shadow: inset 0 1px 0 var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.foot h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.foot li a { color: var(--ink-2); transition: color 0.2s var(--ease-ui); }
.foot li a:hover { color: var(--ink); }
.foot-blurb { color: var(--ink-2); max-width: 30ch; margin-top: 1rem; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; box-shadow: inset 0 1px 0 var(--line); font-size: 0.88rem; color: var(--ink-3); }

.foot-legal { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.foot-legal a, .foot-legal button { padding: 0.35rem 0; border: 0; background: none; font-size: inherit; color: var(--ink-3); cursor: pointer; transition: color 0.2s var(--ease-ui); }
.foot-legal a:hover, .foot-legal button:hover { color: var(--ink); }

/* ---------- cookie banner (injected) ---------- */
.cookie { position: fixed; left: 1rem; bottom: 1rem; z-index: 55; width: min(25rem, 100% - 2rem); padding: 1.15rem; border-radius: 22px;
  background: rgba(14, 17, 26, 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line-2);
  opacity: 0; translate: 0 12px; transition-property: opacity, translate; transition-duration: 0.3s; transition-timing-function: var(--ease-ui); }
.cookie.is-open { opacity: 1; translate: 0 0; }
.cookie[hidden] { display: none; }
.cookie p { font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.cookie b { display: block; margin-bottom: 0.25rem; font-size: 1rem; color: var(--ink); }
.cookie a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 0.5rem; margin-top: 1rem; }
.cookie-actions .btn { flex: 1; }

/* ---------- forms ---------- */
.field { display: grid; gap: 0.45rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > span, .field legend { font-size: 0.88rem; font-weight: 600; color: var(--ink-2); padding: 0; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.input { width: 100%; min-height: 48px; padding: 0.8rem 1rem; border-radius: 14px; border: 0; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 1rem;
  transition-property: box-shadow, background-color; transition-duration: 0.2s; transition-timing-function: var(--ease-ui); }
.input::placeholder { color: var(--ink-3); }
.input:hover { box-shadow: inset 0 0 0 1px rgba(200, 220, 255, 0.32); }
.input:focus { outline: none; background: rgba(47, 216, 255, 0.04); box-shadow: inset 0 0 0 1px var(--cyan), 0 0 0 4px var(--cyan-soft); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--danger); }
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23bcc4d4' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
select.input option { background: var(--bg-2); }
.pick { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pick label { position: relative; }
.pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.pick span { display: inline-flex; align-items: center; min-height: 40px; padding: 0.5rem 0.95rem; border-radius: 999px; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2);
  transition-property: box-shadow, color, background-color; transition-duration: 0.2s; transition-timing-function: var(--ease-ui); }
.pick input:checked + span { color: var(--ink); background: var(--cyan-soft); box-shadow: inset 0 0 0 1px var(--cyan); }
.pick input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form-msg { min-height: 1.5em; font-size: 0.95rem; color: var(--cyan); }
.form-msg.is-error { color: var(--danger); }

/* ---------- FAQ accordion (details/summary) ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details { border-radius: var(--r-md); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.25s var(--ease-ui); }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(47, 216, 255, 0.3); }
/* keep the scroll reveal (fade + stagger) when an accordion item is also .reveal */
.faq details.reveal { transition-property: opacity, translate, box-shadow; transition-duration: 0.8s, 0.9s, 0.25s; transition-timing-function: var(--ease), var(--ease), var(--ease-ui); transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%232fd8ff' stroke-width='1.6'/%3E%3C/svg%3E") center no-repeat; transition: rotate 0.3s var(--ease-ui); }
.faq details[open] summary::after { rotate: 45deg; }
.faq .ans { padding: 0 1.4rem 1.4rem; color: var(--ink-2); max-width: 70ch; }
.faq .ans p + p { margin-top: 0.8rem; }

/* ---------- loader: "Road to Glory" ---------- */
/* Big outlined capitals rise in, then fill one by one (GLORY in cyan). */
.loader { position: fixed; inset: 0; z-index: var(--z-loader); display: grid; place-content: center; justify-items: center; gap: clamp(1.25rem, 3vw, 2rem); padding-inline: var(--gutter); background: radial-gradient(60% 50% at 50% 50%, rgba(47, 216, 255, 0.07), transparent 70%), var(--bg);
  transition: clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s 0.8s; clip-path: inset(0 0 0 0); }
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader-mark { width: 56px; height: auto; clip-path: inset(100% 0 0 0); filter: blur(6px); animation: mark-in 1.1s var(--ease) 0.1s forwards; }
@keyframes mark-in { to { clip-path: inset(0 0 0 0); filter: blur(0); } }
.loader-word { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 0.26em; font-size: clamp(3rem, 10.5vw, 8.75rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.035em; text-transform: uppercase; text-align: center; }
.lw { display: inline-flex; overflow: hidden; padding: 0.04em 0.02em; }
.lw .ch { display: inline-block; translate: 0 108%; color: transparent; -webkit-text-stroke: max(1.5px, 0.018em) rgba(243, 245, 250, 0.42);
  animation-name: up, fill; animation-duration: 0.9s, 0.55s; animation-timing-function: var(--ease), var(--ease-ui); animation-fill-mode: forwards;
  animation-delay: calc(0.35s + var(--i) * 0.05s), calc(1s + var(--i) * 0.08s); }
.lw-accent .ch { -webkit-text-stroke-color: rgba(47, 216, 255, 0.6); animation-name: up, fill-accent; }
@keyframes up { to { translate: 0 0; } }
@keyframes fill { to { color: var(--ink); -webkit-text-stroke-color: transparent; } }
@keyframes fill-accent { to { color: var(--cyan); -webkit-text-stroke-color: transparent; } }
.loader-bar { width: min(320px, 70vw); height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--cyan-2), var(--cyan)); transform-origin: 0 50%; scale: var(--p, 0) 1; transition: scale 0.35s var(--ease-ui); }
.loader-pct { margin-top: -0.5rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
html.no-loader .loader { display: none; }
/* cover on internal navigation: wipe up, then the word rises and fills */
.loader.is-covering { clip-path: inset(100% 0 0 0); visibility: visible; transition: none; }
.loader.is-leaving { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1); }
.loader.is-leaving .loader-mark { animation: mark-in2 0.6s var(--ease) 0.1s forwards; clip-path: inset(100% 0 0 0); }
@keyframes mark-in2 { to { clip-path: inset(0 0 0 0); filter: blur(0); } }
/* new animation names restart the letters on every cover */
.loader.is-leaving .ch { translate: 0 108%; color: transparent; animation-name: up2, fill2; animation-duration: 0.6s, 0.35s; animation-delay: calc(0.22s + var(--i) * 0.035s), calc(0.5s + var(--i) * 0.035s); }
.loader.is-leaving .lw-accent .ch { animation-name: up2, fill-accent2; }
@keyframes up2 { to { translate: 0 0; } }
@keyframes fill2 { to { color: var(--ink); -webkit-text-stroke-color: transparent; } }
@keyframes fill-accent2 { to { color: var(--cyan); -webkit-text-stroke-color: transparent; } }
.loader.is-leaving .loader-bar i { transition-duration: 0.9s; }
/* arriving from a click: start fully covered and drawn, hold, then wipe away */
html.page-in .loader-mark { animation: none; clip-path: none; filter: none; }
html.page-in .loader-word .ch { animation: none; translate: 0 0; color: var(--ink); -webkit-text-stroke-color: transparent; }
html.page-in .loader-word .lw-accent .ch { color: var(--cyan); }
html.page-in .loader-bar i { scale: 1 1; transition: none; }

/* ---------- reveal on scroll (enhances an already-visible default) ---------- */
.js .reveal:not(.in) { opacity: 0; translate: 0 22px; }
.reveal { transition-property: opacity, translate; transition-duration: 0.8s, 0.9s; transition-timing-function: var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .menu, .nav-cta { display: none; }
  .burger { display: grid; }
  .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
}
/* touch screens: 44px hit areas for small text links */
@media (pointer: coarse) {
  .logo, .link-arrow { min-height: 44px; }
  .foot ul { gap: 0; }
  .foot li a, .foot-legal a, .foot-legal button { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs { align-items: center; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* ---------- tech cursor (mouse only, added by site.js) ---------- */
html.has-cur, html.has-cur * { cursor: none !important; }
html.has-cur :is(input:not([type="radio"]):not([type="checkbox"]):not([type="range"]), textarea, select, [contenteditable], iframe) { cursor: auto !important; }
.cur { position: fixed; inset: 0; z-index: 120; pointer-events: none; transition: opacity 0.2s var(--ease-ui); }
.cur.is-off, .cur.is-text { opacity: 0; }
.cur-box, .cur-dot, .cur-xy { position: absolute; left: 0; top: 0; will-change: transform; }
.cur-box { width: 30px; height: 30px; }
.cur-box i { position: absolute; width: 9px; height: 9px; border: 0 solid var(--cyan); }
.cur-box i:nth-child(1) { left: 0; top: 0; border-width: 1.5px 0 0 1.5px; }
.cur-box i:nth-child(2) { right: 0; top: 0; border-width: 1.5px 1.5px 0 0; }
.cur-box i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1.5px 1.5px; }
.cur-box i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; }
.cur.is-lock .cur-box i { width: 12px; height: 12px; border-width: 2px; border-color: var(--cyan-2); }
.cur.is-lock .cur-box i:nth-child(1) { border-width: 2px 0 0 2px; }
.cur.is-lock .cur-box i:nth-child(2) { border-width: 2px 2px 0 0; }
.cur.is-lock .cur-box i:nth-child(3) { border-width: 0 0 2px 2px; }
.cur.is-lock .cur-box i:nth-child(4) { border-width: 0 2px 2px 0; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 1px; background: var(--cyan); transition: scale 0.15s var(--ease-ui); }
.cur.is-lock .cur-dot { scale: 0.5; }
.cur-xy { margin: 22px 0 0 22px; font: 600 10px/1 ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: 0.08em; white-space: pre; color: rgba(139, 233, 255, 0.6); font-variant-numeric: tabular-nums; transition: opacity 0.15s var(--ease-ui); }
.cur.is-lock .cur-xy { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.15s !important; }
  .js .reveal:not(.in) { translate: none; }
  .loader, .loader.is-covering, .loader.is-leaving, .loader.is-done { clip-path: none; }
  .loader { transition-property: opacity, visibility; }
  .loader.is-done { opacity: 0; }
  .loader .ch, .loader-mark { animation-delay: 0s !important; }
}
