/* ------------------------------------------------------------------ fonts (template fonts, self-hosted) */
[hidden] { display: none !important; }
@font-face { font-family: 'Inter Display'; font-weight: 600; font-display: swap; src: url(/fonts/inter-display-600-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: 'Inter Display'; font-weight: 600; font-display: swap; src: url(/fonts/inter-display-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Display'; font-weight: 700; font-display: swap; src: url(/fonts/inter-display-700-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(/fonts/inter-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 400; font-display: swap; src: url(/fonts/geist-400.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 500; font-display: swap; src: url(/fonts/geist-500.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 600; font-display: swap; src: url(/fonts/geist-600.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 400 500; font-display: swap; src: url(/fonts/geist-mono-500.woff2) format('woff2'); }

/* ------------------------------------------------------------------ tokens (1:1 with the template) */
:root {
  --bg: #110f0d;
  --surface: #1a1816;
  --panel: #1c1917;
  --raised: #262320;
  --hover: #292524;
  --line: rgba(250, 250, 249, 0.08);
  --line-2: rgba(250, 250, 249, 0.16);
  --line-btn: rgba(250, 250, 249, 0.1);
  --text: #fafaf9;
  --text-2: #e7e5e4;
  --text-3: #d6d3d1;
  --muted: #a6a09b;
  --dim: #8c857f;
  --stone: #44403c;
  --live: #10ec90;
  --mint: #6ef2b8;
  --green: #0b9f63;
  --accent: #ff6a1f;
  --amber: #f5b544;
  --red: #f0523a;
  --black: #0a0908;
  --btn: #f5f5f4;

  --f-display: 'Inter Display', 'Inter', system-ui, sans-serif;
  --f-body: 'Geist', 'Inter', system-ui, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, monospace;
  --ot: 'blwf' on, 'cv03' on, 'cv04' on, 'cv09' on, 'cv11' on;

  --rail: 1312px;
  --pad-x: 32px;       /* page gutter outside the rails */
  --rail-pad: 40px;    /* content inset inside the rails */

  /* Framer "spring, bounce 0" ≈ critically damped response, sampled */
  --spring: linear(0, 0.0336, 0.1078, 0.2013, 0.3002, 0.3966, 0.4862, 0.5671, 0.6382, 0.6996, 0.7519, 0.7958, 0.8325, 0.8628, 0.8877, 0.9081, 0.9248, 0.9384, 0.9495, 0.9585, 0.9659, 0.9765, 0.9837, 0.9888, 0.9922, 0.9947, 0.9975, 0.9988, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 1199.98px) { :root { --pad-x: 24px; --rail-pad: 32px; } }
@media (max-width: 809.98px) { :root { --pad-x: 0px; --rail-pad: 16px; } }

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 16px; line-height: 1.5; font-feature-settings: var(--ot); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(255, 106, 31, 0.35); color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ type presets (template text styles) */
.t-hero    { font: 600 96px/0.96 var(--f-display); letter-spacing: -0.045em; color: var(--text); font-feature-settings: var(--ot); }
.t-h2      { font: 600 64px/1 var(--f-display); letter-spacing: -0.04em; color: var(--text); font-feature-settings: var(--ot); }
.t-h3      { font: 600 44px/1.1 var(--f-display); letter-spacing: -0.035em; color: var(--text); font-feature-settings: var(--ot); }
.t-h4      { font: 600 34px/1.12 var(--f-display); letter-spacing: -0.03em; color: var(--text); font-feature-settings: var(--ot); }
.t-lead    { font: 400 18px/1.55 var(--f-body); letter-spacing: -0.005em; color: var(--muted); }
.t-body    { font: 400 16px/1.6 var(--f-body); color: var(--muted); }
.t-small   { font: 400 14px/1.5 var(--f-body); color: var(--muted); }
.t-label   { font: 500 14px/1.2 var(--f-body); color: var(--text); }
.t-eyebrow { font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 1199.98px) {
  .t-hero { font-size: 72px; line-height: 0.94; letter-spacing: -0.02em; }
  .t-h2 { font-size: 52px; letter-spacing: -0.012em; }
  .t-h3 { font-size: 38px; }
  .t-h4 { font-size: 30px; }
  .t-lead { font-size: 17px; }
}
@media (max-width: 809.98px) {
  .t-hero { font-size: 48px; line-height: 0.96; letter-spacing: -0.015em; }
  .t-h2 { font-size: 40px; line-height: 1.02; letter-spacing: -0.01em; }
  .t-h3 { font-size: 30px; }
  .t-h4 { font-size: 26px; }
}

/* ------------------------------------------------------------------ rails (framed page column) */
.band { width: 100%; padding: 0 var(--pad-x); display: flex; flex-direction: column; align-items: center; position: relative; }
.rails { width: 100%; max-width: var(--rail); position: relative; box-shadow: inset 1px 0 var(--line), inset -1px 0 var(--line), inset 0 1px var(--line); }
@media (max-width: 809.98px) { .rails { box-shadow: inset 0 1px var(--line); } }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 16px; border-radius: 8px; font: 500 14px/1.2 var(--f-body); white-space: nowrap; position: relative; transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out); }
.btn--primary { background: var(--btn); color: var(--bg); }
.btn--primary:hover { background: #fff; }
.btn--secondary { background: var(--panel); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-btn); }
.btn--secondary:hover { background: var(--hover); box-shadow: inset 0 0 0 1px rgba(250, 250, 249, 0.18); }
.btn__arrow { position: relative; width: 14px; height: 14px; overflow: clip; flex: none; }
.btn__arrow svg { position: absolute; top: 0; left: 0; width: 14px; height: 14px; transition: transform 0.4s var(--ease-out); }
.btn__arrow svg + svg { left: -16px; }
.btn:hover .btn__arrow svg { transform: translateX(16px); }
.btn--block { width: 100%; justify-content: center; }

/* text link with circular arrow ("Explore routing ↗"): orange underline grows, circle fills orange, arrow straightens */
.tlink { display: inline-flex; align-items: center; gap: 12px; height: 36px; font: 500 14px/1.2 var(--f-body); color: var(--text); }
.tlink__label { position: relative; padding-bottom: 4px; }
.tlink__label::before, .tlink__label::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; }
.tlink__label::before { right: 0; background: var(--line); }
.tlink__label::after { width: 0; background: var(--accent); transition: width 0.4s var(--ease-out); }
.tlink__icon { width: 28px; height: 28px; border-radius: 999px; background: var(--raised); box-shadow: inset 0 0 0 1px rgba(250, 250, 249, 0.16); display: grid; place-items: center; color: var(--text); transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), color 0.3s; }
.tlink__icon svg { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform 0.4s var(--ease-out), width 0.3s, height 0.3s; }
.tlink:hover .tlink__label::after { width: 100%; }
.tlink:hover .tlink__icon { background: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--bg); }
.tlink:hover .tlink__icon svg { transform: none; width: 13px; height: 13px; }

/* ------------------------------------------------------------------ nav */
.nav { position: relative; z-index: 50; height: 64px; padding: 0 var(--pad-x); background: var(--bg); border-bottom: 1px solid var(--line); display: flex; justify-content: center; }
.nav__bar { width: 100%; max-width: var(--rail); height: 64px; padding: 0 var(--rail-pad); display: flex; align-items: center; justify-content: space-between; position: relative; }
.nav__left { display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 9px; height: 28px; }
.logo__mark { position: relative; width: 28px; height: 28px; flex: none; }
.logo__mark > div { position: absolute; inset: -6px -14px; }
.logo__word { font: 600 19px/1 var(--f-display); letter-spacing: -0.03em; color: var(--text); font-feature-settings: var(--ot); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: 4px; height: 34px; padding: 0 10px; border-radius: 7px; font: 500 14px/1.2 var(--f-body); color: var(--text-2); transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.nav__link--drop { padding: 0 8px 0 10px; }
.nav__link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease-out); }
.nav__link:hover, .nav__item.is-open > .nav__link { background: rgba(250, 250, 249, 0.06); color: var(--text); }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.nav__right { display: flex; align-items: center; gap: 6px; }
.nav__panel { position: absolute; top: 54px; left: -64px; display: flex; padding: 8px; background: #1c1917; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(250, 250, 249, 0.1), 0 24px 48px -12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3); opacity: 0; transform: scale(0.98); transform-origin: 20% 0; pointer-events: none; transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out); z-index: 60; }
.nav__item.is-open .nav__panel { opacity: 1; transform: none; pointer-events: auto; }
.nav__panel--platform { width: 620px; gap: 8px; }
.nav__panel--resources { width: 560px; left: -58px; }
.np-feature { width: 300px; flex: none; min-height: 264px; border-radius: 6px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; position: relative; overflow: clip; background: #0d0b0a; }
.np-feature__art { position: absolute; inset: 0; }
.np-feature__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 11, 10, 0) 45%, rgba(13, 11, 10, 0.9) 100%); }
.np-feature p { position: relative; }
.np-links { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.np-link { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 8px; transition: background-color 0.2s var(--ease-out); }
.np-link:hover { background: rgba(250, 250, 249, 0.05); }
.np-link__t { font: 500 14px/1.2 var(--f-body); color: var(--text); }
.np-link__d { font: 400 14px/1.5 var(--f-body); color: var(--muted); }
.np-col { display: flex; flex-direction: column; gap: 2px; padding: 10px 6px 6px; flex: 1; }
.np-col + .np-col { border-left: 1px solid var(--line); }
.np-col__h { font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); padding: 0 6px 14px; }
.np-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; transition: background-color 0.2s var(--ease-out); }
.np-row:hover { background: rgba(250, 250, 249, 0.05); }
.np-row__ic { width: 34px; height: 34px; border-radius: 8px; background: var(--raised); display: grid; place-items: center; flex: none; color: var(--text-2); }
.np-row__ic svg { width: 16px; height: 16px; }
.np-simple { padding: 9px 12px; border-radius: 8px; font: 500 14px/1.2 var(--f-body); color: var(--text-2); transition: background-color 0.2s var(--ease-out), color 0.2s; }
.np-simple:hover { background: rgba(250, 250, 249, 0.05); color: var(--text); }

.nav__burger { display: none; width: 40px; height: 40px; border-radius: 8px; flex-direction: column; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.nav__burger span + span { margin-top: 5px; }
.nav.is-menu .nav__burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.is-menu .nav__burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.nav__menu { display: none; }
@media (max-width: 1199.98px) {
  .nav__links, .nav__right .nav__signin { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__menu { display: block; position: fixed; inset: 64px 0 0; background: var(--bg); padding: 24px var(--pad-x) 32px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out); overflow-y: auto; }
  .nav.is-menu .nav__menu { opacity: 1; transform: none; pointer-events: auto; }
}
@media (max-width: 809.98px) { .nav { padding: 0 16px; } .nav__bar { padding: 0; } .nav__right .btn { display: none; } .nav__menu { padding: 16px; } }
.mm-group { padding: 8px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.mm-group__h { font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); padding: 8px 0; }
.mm-link { display: block; padding: 10px 0; font: 500 18px/1.2 var(--f-body); color: var(--text); }
.mm-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

/* ------------------------------------------------------------------ appear-on-view (Framer "enter": opacity 0, scale .98, y 28 → spring .9s) */
[data-appear] { opacity: 0; transform: translateY(28px) scale(0.98); transition: opacity 0.9s var(--spring), transform 0.9s var(--spring); transition-delay: var(--d, 0.05s); }
[data-appear].is-in { opacity: 1; transform: none; }
/* word-by-word blur reveal (Framer text effect: blur 8px, y 12, spring .8s, per word) */
.reveal-words .w { display: inline-block; opacity: 0.001; filter: blur(8px); transform: translateY(12px); transition: opacity 0.8s var(--spring), filter 0.8s var(--spring), transform 0.8s var(--spring); }
.reveal-words.is-in .w { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-appear], .reveal-words .w { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ------------------------------------------------------------------ footer (template: inner 88/40/32, gap 72) */
.ft { position: relative; padding: 0 var(--pad-x); display: flex; flex-direction: column; align-items: center; background: var(--bg); }
.ft__in { width: 100%; max-width: var(--rail); display: flex; flex-direction: column; gap: 72px; padding: 88px var(--rail-pad) 32px; box-shadow: inset 1px 0 var(--line), inset -1px 0 var(--line); position: relative; }
.ft__top { display: flex; gap: 48px; }
.ft__brand { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.ft__desc { max-width: 340px; }
.ft__cols { display: flex; gap: 64px; }
.ft__col { display: flex; flex-direction: column; gap: 18px; }
.ft__col a { font: 500 14px/1.5 var(--f-body); color: var(--text-2); transition: color 0.2s; }
.ft__col a:hover { color: var(--text); }
.ft__meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: -24px; }
.ft__status { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px/1.5 var(--f-body); color: var(--text); transition: box-shadow .2s; }
.ft__status:hover { box-shadow: inset 0 0 0 1px rgba(250, 250, 249, 0.3); }
.ft__status i { width: 7px; height: 7px; border-radius: 7px; background: var(--live); }
.ft__status b { width: 1px; height: 14px; background: var(--line-2); }
.ft__ca { font: 500 12px var(--f-mono); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.ft__copy, .ft__made { font: 500 12px/1.4 var(--f-mono); color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; }
.ft__legal { font: 400 13px/1.5 var(--f-body); color: var(--dim); margin-top: -48px; max-width: 720px; }
.ft__mark { position: relative; width: 100%; }
@media (max-width: 1199.98px) { .ft__top { flex-direction: column; } .ft__cols { flex-wrap: wrap; gap: 40px; } }
@media (max-width: 809.98px) { .ft { padding: 0; } .ft__in { padding: 64px 16px 24px; box-shadow: none; gap: 56px; } .ft__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; } .ft__meta { flex-direction: column; align-items: flex-start; margin-top: 0; } .ft__legal { margin-top: -24px; } }
