/* Design system measured from attio.com at 1440px: Geist everywhere (was Inter), 36px buttons with 10px radius,
   1376px container with hairline side rules, #f7f8fa secondary background, #0e0e0e dark sections. */
/* Fonts, self-hosted (2026-11-15; were Google Fonts: two extra connections and a render-blocking stylesheet).
   Geist and Geist Mono, variable, latin + latin-ext subsets from Google Fonts (assets/fonts/); the latin file of
   Geist is preloaded in every page's <head>, latin-ext loads only when a page has such a character.
   "… Fallback": Arial / Courier New stretched to Geist's metrics, so the swap from the fallback to Geist does not
   move the text (measured in Chromium on English copy: Geist is 2.4% wider than Arial, ascent 1.01, descent 0.29;
   Geist Mono matches Courier New's width). */
@font-face { font-family: 'Geist'; src: url('assets/fonts/geist-latin.woff2') format('woff2'); font-weight: 400 600; font-display: swap; 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'; src: url('assets/fonts/geist-latin-ext.woff2') format('woff2'); font-weight: 400 600; font-display: swap; 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'; src: url('assets/fonts/geist-mono-latin.woff2') format('woff2'); font-weight: 400 500; font-display: swap; 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'; src: url('assets/fonts/geist-mono-latin-ext.woff2') format('woff2'); font-weight: 400 500; font-display: swap; 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 Fallback'; src: local('Arial'), local('Arimo'), local('Helvetica'); size-adjust: 102.4%; ascent-override: 98.6%; descent-override: 28.3%; line-gap-override: 0%; }
@font-face { font-family: 'Geist Mono Fallback'; src: local('Courier New'), local('Cousine'), local('Courier'); size-adjust: 100%; ascent-override: 101%; descent-override: 29%; line-gap-override: 0%; }

:root {
  --bg: #ffffff;
  --bg2: #fcfcfc;
  --ink: #1c1d1f;
  --ink2: #6f7988;
  --ink3: #9aa2b0;
  --line: #e4e7ec;
  --line2: #edeff3;
  --stroke: #cad0d9;
  --blue: #3d5be0;
  --dark: #101010;
  --dark2: #17181a;
  --dark-line: #26272b;
  --dark-ink: #fafafb;
  --dark-ink2: #8c92a3;
  --dark-eyebrow: #c6d6ff;
  --radius: 10px;
  --header: 72px;
  --pad: 24px;
  --inner: 58px;
  /* one typeface everywhere: Geist (the face of the product dashboard), Geist Mono for code and hex digits */
  --font-head: 'Geist', 'Geist Fallback', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', 'Geist Mono Fallback', ui-monospace, monospace;
}

* { box-sizing: border-box; }
/* no smooth scrolling on the root: the browser would animate every restored position and every
   anchor landing on load; same-page anchors scroll smoothly from site-motion.js instead */
html { scroll-padding-top: calc(var(--header) + 24px); background: var(--dark); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-head); font-size: 16px; line-height: 1.5; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; letter-spacing: inherit; }
button { cursor: pointer; color: inherit; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, p, ul, blockquote, pre { margin: 0; }
ul { padding: 0; list-style: none; }
canvas { display: block; }

h1, h2, h3, .display { font-family: var(--font-head); }
h1 { font-size: 64px; line-height: .95; font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -.4px; }
h2 .soft { color: var(--ink2); }
h3 { font-size: 24px; line-height: 1.15; font-weight: 500; letter-spacing: -.01em; }
h3 .soft { color: var(--ink2); font-weight: 500; }
.display { font-size: 96px; line-height: 1; font-weight: 600; letter-spacing: -.024em; }
p { color: var(--ink2); }
.eyebrow { display: inline-flex; align-items: center; height: 24px; padding: 0 6px; border-radius: 8px; background: #e8f0ff; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -.14px; color: #245bc2; margin-bottom: 24px; }

.container { width: min(1376px, 100% - 2 * var(--pad)); margin: 0 auto; padding: 0 var(--inner); position: relative; }
.container--lines::before, .container--lines::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.container--lines::before { left: 0; }
.container--lines::after { right: 0; }
.dark .container--lines::before, .dark .container--lines::after { background: #2f3238; }
.bg2 { background: var(--bg2); }
.dark { background: var(--dark); color: var(--dark-ink); }
.dark p { color: var(--dark-ink2); }
.dark h2 .soft { color: var(--dark-ink2); }
.section-head { margin: 0 calc(-1 * var(--inner)); padding: 232px var(--inner) 80px; border-bottom: 1px solid var(--line); }
.section-head > * { max-width: 1140px; }

/* Buttons and pill */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--radius); font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s, transform .15s; }
/* press feedback (8lends .press): a centred scale, not a downward nudge */
.btn:active { transform: scale(.98); }
.btn--primary { background: #1d1e23; color: #f2f3f5; border-color: #3a4256; background-image: radial-gradient(at 50% -10%, #2a2c33, #1d1e23); }
@media (hover: hover) and (pointer: fine) { .btn--primary:hover { background: #26282f; } }
.btn--secondary { background: #fff; color: #2b2f3a; border-color: var(--stroke); }
@media (hover: hover) and (pointer: fine) { .btn--secondary:hover { background: #f4f5f8; } }
.btn--dark { background: transparent; color: var(--dark-ink); border-color: #3a3d46; }
@media (hover: hover) and (pointer: fine) { .btn--dark:hover { background: rgba(255,255,255,.06); } }
.btn--on-dark { background: #f5f6f8; color: #16181d; border-color: #f5f6f8; background-image: none; }
@media (hover: hover) and (pointer: fine) { .btn--on-dark:hover { background: #e6e8ee; } }
@property --pill-angle { syntax: '<angle>'; initial-value: -80deg; inherits: false; }
@property --pill-x { syntax: '<percentage>'; initial-value: -10%; inherits: false; }
.pill { position: relative; display: inline-block; border: 1px solid var(--line2); border-radius: 13px; }
/* attio.com: the cone's origin slides along the pill at mid height, so the light
   runs down the top border, rests, then comes back along the bottom one */
.pill__ring { position: absolute; inset: -1px; border-radius: 13px; overflow: hidden; }
.pill__ring i { display: block; width: 100%; height: 100%; border-radius: 13px; opacity: 0;
  background: conic-gradient(from var(--pill-angle) at var(--pill-x) 50%, rgba(163,236,233,0), #a3ece9 20deg, #709ff5 100deg, rgba(112,159,245,0) 120deg);
  animation: pill-sweep 10s linear infinite; }
@keyframes pill-sweep {
  0%     { --pill-x: -10%; --pill-angle: -80deg; opacity: 0; }
  3%     { opacity: 1; }
  22%    { opacity: 1; }
  25%    { --pill-x: 110%; --pill-angle: -80deg; opacity: 0; }
  50%    { --pill-x: 110%; --pill-angle: 100deg; opacity: 0; }
  53%    { opacity: 1; }
  72%    { opacity: 1; }
  75%    { --pill-x: -10%; --pill-angle: 100deg; opacity: 0; }
  100%   { --pill-x: -10%; --pill-angle: 100deg; opacity: 0; }
}
.pill__body { position: relative; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px 0 13px; border-radius: 13px; background: #fff; font-size: 13px; font-weight: 500; line-height: 18px; color: #232529; transition: background .3s; }
@media (hover: hover) and (pointer: fine) { .pill:hover .pill__body { background: #fbfbfc; } }
.pill__body i { font-style: normal; color: var(--ink3); }

/* Header */
.header { position: sticky; top: 0; z-index: 40; height: var(--header); background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header { transition: background .35s, border-color .35s, color .35s; }
.header--dark { background: rgba(14,14,15,.92); border-color: var(--dark-line); color: var(--dark-ink); }
@media (hover: hover) and (pointer: fine) { .header--dark .nav a:hover { background: rgba(255,255,255,.06); } }
.header--dark .btn--secondary { background: transparent; color: var(--dark-ink); border-color: #3a3d46; }
@media (hover: hover) and (pointer: fine) { .header--dark .btn--secondary:hover { background: rgba(255,255,255,.06); } }
.header--dark .btn--primary { background: #f5f6f8; background-image: none; color: #16181d; border-color: #f5f6f8; }
@media (hover: hover) and (pointer: fine) { .header--dark .btn--primary:hover { background: #e6e8ee; } }
.header--dark .menu-toggle span { background: var(--dark-ink); }
.header__inner { width: min(1376px, 100% - 2 * var(--pad)); margin: 0 auto; height: 100%; display: flex; align-items: center; gap: 40px; padding: 0 var(--inner); }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 24px; width: auto; }
.logo img.logo__light, .header--dark .logo img.logo__ink { display: none; }
.header--dark .logo img.logo__light { display: block; }
.nav ul { display: flex; align-items: center; gap: 8px; }
.nav a { display: inline-block; padding: 8px 12px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; border-radius: 8px; transition: background .2s; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: var(--bg2); } }
.header__actions { margin-left: auto; display: flex; gap: 8px; }
.menu-toggle { display: none; }

/* Hero (attio.com structure and values, measured at 1440x900) */
.hero { position: relative; display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; border-bottom: 1px solid var(--line); background: #fff; }
.hero__bg { grid-area: 1 / 1; position: sticky; top: var(--header); height: calc(100svh - var(--header)); align-self: start; overflow: hidden; pointer-events: none; z-index: 0; }
.hero__field { position: absolute; inset: 0; background: radial-gradient(90% 80% at 50% 100%, #e6ecff 0%, #bccbff 45%, #86a0ee 100%); opacity: .4; }
.hero__stripes { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.78) 0 1px, transparent 1px 8px); opacity: .4; }
.hero__veil { position: absolute; top: 0; left: -150%; width: 400%; height: 150%; transform-origin: 50% 0; background: radial-gradient(70% 106.667% at 50% 0%, #fff 32%, rgba(255,255,255,0) 64%); will-change: transform; }
.hero__flow { grid-area: 1 / 1; position: relative; z-index: 1; display: flex; flex-direction: column; }
.hero__copy { transform-origin: 50% 20%; position: sticky; top: var(--header); margin-bottom: -60px; min-height: clamp(320px, 40svh - var(--header), 520px); padding: 96px var(--inner) 0; display: flex; flex-direction: column; align-items: center; text-align: center; will-change: opacity, filter; }
.hero__copy-in { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.hero__copy h1 { font-size: clamp(64px, 16px + 5.333svh, 80px); letter-spacing: clamp(-2.4px, 2.08px - .3733svh, -1.28px); line-height: .95; max-width: 1200px; text-wrap: balance; }
.hero__copy p { margin-top: 28px; max-width: 24em; font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: -.18px; color: #707889; text-wrap: balance; }
.hero__ctas { margin-top: 32px; display: flex; justify-content: center; gap: 10px; }
.hero__ctas .btn { height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.hero__stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: center; padding: var(--header) 0 80px; pointer-events: none; }
.hero__wrap { position: relative; width: 75%; max-width: 1440px; }
.hero__tail { height: 0; }
/* load-in, one to one with 8lends.io (src/index.css riseBlurIn): each heading line rises by 20% of
   its own height out of a 10px blur over 0.8s; line 1 at 0.1s, line 2 at 0.3s, the paragraph at 0.55s,
   the pill (their Trustpilot badge) at 0.75s and the buttons at 0.8s without blur. Classes sit in the markup. */
@keyframes riseBlurIn { from { opacity: 0; transform: translateY(20%); filter: blur(10px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes riseSoftIn { from { opacity: 0; transform: translateY(20%); } to { opacity: 1; transform: translateY(0); } }
.a-rise-blur { animation: riseBlurIn .8s cubic-bezier(.45, .05, .25, 1) both; }
.a-rise-soft { animation: riseSoftIn .8s cubic-bezier(.45, .05, .25, 1) both; }
.line { display: block; }
.hero__wrap { animation: win-in 1.1s cubic-bezier(.2,0,0,1) .3s both; }
@keyframes win-in { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }

/* Windows: 6px frosted chrome, 32px title bar, white body with a 5% border */
.win { position: relative; border-radius: 16px; padding: 0 6px 6px; background: rgba(243,244,246,.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(11,13,24,.06), 0 1px 2px rgba(11,13,24,.024), 0 3px 6px rgba(11,13,24,.03), 0 8px 14px rgba(11,13,24,.035), 0 16px 28px rgba(11,13,24,.04); pointer-events: auto; cursor: grab; touch-action: none; user-select: none; will-change: transform; }
.hero--scrolling .win { backdrop-filter: none; -webkit-backdrop-filter: none; background: #f3f4f6; }
.win.dragging, .win:focus-visible { box-shadow: 0 0 0 1px rgba(11,13,24,.08), 0 2px 4px rgba(11,13,24,.04), 0 6px 12px rgba(11,13,24,.05), 0 16px 28px rgba(11,13,24,.07), 0 32px 56px rgba(11,13,24,.10); }
.win.dragging { cursor: grabbing; }
.win { transition: box-shadow .25s ease; }
.win__bar { height: 32px; display: flex; align-items: center; gap: 6px; padding-left: 8px; }
.win__bar span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.win__bar span:nth-child(2) { background: #febc2e; }
.win__bar span:nth-child(3) { background: #28c840; }
.win__body { background: #fafafa; border-radius: 12px; border: 1px solid rgba(17,20,28,.09); overflow: hidden; }
.win--main { position: relative; z-index: 2; }
.win--main .win__body { height: min(40.35vw, 775px); }
.win--main img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.win--dark { background: rgba(0,0,0,.8); color: #d5d8df; }
.hero--scrolling .win--dark { background: #000; }
.win--dark .win__body { background: #0c0c0c; border-color: rgba(255,255,255,.06); }
.float { position: absolute; opacity: 0; filter: blur(6px); }
.float--chat { top: -16px; left: -160px; width: 30%; max-width: 268px; transform-origin: 100% 100%; z-index: 1; }
.float--event { top: 40px; right: -160px; width: 30%; max-width: 272px; transform-origin: 0 100%; z-index: 1; }
.float--terminal { bottom: -38px; left: -128px; width: 33%; max-width: 300px; transform-origin: 100% 0; z-index: 3; }
.float__body { padding: 12px 14px 14px; font-size: 13px; line-height: 1.45; color: var(--ink2); }
.float__channel { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.float__row { padding: 8px 0; }
.float__row b { color: var(--ink); font-weight: 600; }
.float__row em { font-style: normal; color: var(--blue); }
.float__row time { font-size: 12px; color: var(--ink3); margin-left: 4px; }
.float__app { font-size: 10px; font-weight: 600; letter-spacing: .02em; color: var(--ink3); background: var(--bg2); border-radius: 4px; padding: 1px 4px; }
.float--terminal pre { margin: 0; padding: 12px 14px; font: 12px/1.7 var(--font-mono); white-space: pre-wrap; color: #cfd3dc; }
.float__title { font: 500 13px/1.3 var(--font-mono); color: var(--ink); margin-bottom: 6px; }
.float__meta { font-size: 12px; color: var(--ink2); }
.float__meta em { font-style: normal; color: #1f9d55; font-weight: 500; }
.float__bar { height: 4px; border-radius: 2px; background: var(--bg2); margin: 10px 0 12px; overflow: hidden; }
.float__bar i { display: block; height: 100%; background: var(--blue); }
.float__json { margin: 0 0 12px; padding: 10px 12px; font: 11px/1.6 var(--font-mono); color: var(--ink2); background: var(--bg2); border-radius: 8px; white-space: pre; overflow: hidden; }

/* Customer logos strip (real Swipelux partner marks) */
.logos { border-bottom: 1px solid var(--line); }
.logos__grid { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 calc(-1 * var(--inner)); border-top: 1px solid var(--line); }
.logos__grid li { height: 96px; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 24px; }
.logos__grid li:nth-child(5n) { border-right: 0; }
.logos__grid li:nth-child(n+6) { border-bottom: 0; }
.logos__grid img { max-width: 100%; height: 36px; width: auto; opacity: .72; transition: opacity .3s; }
@media (hover: hover) and (pointer: fine) { .logos__grid li:hover img { opacity: 1; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); filter: blur(8px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1), filter .8s cubic-bezier(.16,1,.3,1); }
.reveal.on { opacity: 1; transform: none; filter: none; }

/* Platform */
.platform__grid { display: grid; grid-template-columns: 1fr 3fr; margin: 0 calc(-1 * var(--inner)); padding: 0 var(--inner); }
.platform { border-bottom: 1px solid var(--line); }
.platform__index { position: sticky; top: var(--header); align-self: start; padding: 40px 32px 40px 0; }
.platform__index li button { display: block; text-align: left; padding: 8px 0; font-size: 16px; font-weight: 500; color: var(--ink3); transition: color .2s; }
.platform__index li button[aria-current="true"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .platform__index li button:hover { color: var(--ink); } }
.platform__articles { border-left: 1px solid var(--line); }
.article { position: relative; padding: 96px var(--inner) 80px 56px; margin-right: calc(-1 * var(--inner)); border-bottom: 1px solid var(--line); }
.article:last-child { border-bottom: 0; }
.article h3 { max-width: 560px; margin-bottom: 48px; }

.article__card { background: #fff; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
/* graphic first, a short caption at the foot (linear.app/intake) */
.article__cell { display: flex; flex-direction: column; min-width: 0; padding: 0 0 32px; }
.article__cell + .article__cell { border-left: 1px solid var(--line); }
.article__cell canvas { width: 100%; height: 340px; }
.article__text { padding: 8px 32px 0; }
.article__cell h4 { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.article__cell p { max-width: 380px; font-size: 14px; }

/* Industries */
.industries { background: var(--bg2); padding: 140px 0 160px; --ic: clamp(200px, 19vw, 320px); --ih: calc(var(--ic) * 4 / 3); }
.industry { opacity: 0; transform: translateY(80px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
.industries.ready .industry.on { opacity: 1; transform: none; }

/* halftone picture (halftone.js) fills the card, the name sits on a white tag */

/* Dark: developers */
.developers { position: relative; overflow: hidden; padding: 0 0 128px; }
.arc { position: relative; width: min(1376px, 100% - 2 * var(--pad)); margin: 0 auto; height: min(700px, calc(100svh - var(--header))); overflow: hidden; --d: calc(1.26 * min(1376px, 100vw - 2 * var(--pad))); }
.arc::before, .arc::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: #2f3238; z-index: 3; }
.arc::before { left: 0; }
.arc::after { right: 0; }
.arc__grid { position: absolute; inset: 0; background: repeating-linear-gradient(to right, rgba(255,255,255,.035) 0 1px, transparent 1px 8px); }
.arc__rays { position: absolute; inset: 0; overflow: hidden; }
.arc__ray { position: absolute; top: -360px; width: 2px; height: 360px; background: linear-gradient(transparent, rgba(255,255,255,.5) 50%, transparent); opacity: 0; animation: ray 5.5s cubic-bezier(.4,0,.5,1) infinite; }
@keyframes ray { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: .9; } 70% { opacity: .55; } 100% { transform: translateY(var(--fall, 760px)); opacity: 0; } }
.arc__stage { position: absolute; inset: auto 0 0; height: 78%; overflow: hidden; }
.arc__halo { position: absolute; left: 50%; bottom: calc(var(--d) * -.965); width: calc(var(--d) * 1.3); height: calc(var(--d) * 1.3); margin-left: calc(var(--d) * -.65); border-radius: 50%; background: radial-gradient(circle closest-side, transparent 64%, rgba(255,255,255,.04) 71%, rgba(255,255,255,.12) 74.5%, rgba(255,255,255,.16) 75.5%, rgba(255,255,255,.125) 77.5%, rgba(255,255,255,.07) 80.5%, rgba(255,255,255,.035) 85%, rgba(255,255,255,.016) 91%, transparent 98%); }
.arc__disc { position: absolute; left: 50%; bottom: calc(var(--d) * -.805); width: var(--d); height: var(--d); margin-left: calc(var(--d) / -2); }
.arc__rim { position: absolute; inset: -2px; border-radius: 50%; filter: blur(2px); background: conic-gradient(from 0deg at 50% 50%, #eef1ea 0deg, #6cbdb0 10deg, #161e69 60deg, #161e69 180deg, #bb2a1e 180deg, #bb2a1e 300deg, #ccc427 350deg, #eef1ea 360deg); }
.arc__rim--glow { inset: -7px; filter: blur(10px); opacity: .45; }
/* the aurora the pointer draws (aurora.js): over the rim, under the copy */
.arc__aurora { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.arc__core { position: absolute; inset: 0; border-radius: 50%; background: var(--dark); }
.arc__edge { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arc__copy { position: absolute; inset: auto 0 0; height: 78%; z-index: 2; padding: 0 24px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; text-align: center; }
.arc__caption { font-size: 16px; color: var(--dark-ink2); }
.arc__title { font-size: clamp(30px, 6.2vw, 90px); font-weight: 600; line-height: 1; letter-spacing: -.024em; color: var(--dark-ink); white-space: nowrap; }
.arc__copy > *, .arc__stage, .arc__rays { opacity: 0; filter: blur(2.5px); transition: opacity 1s cubic-bezier(.2,0,0,1), filter 1s cubic-bezier(.2,0,0,1), transform 1.2s cubic-bezier(.2,0,0,1); }
.arc__stage, .arc__rays { filter: none; transform: translateY(40px); }
.arc.on .arc__copy > *, .arc.on .arc__stage, .arc.on .arc__rays { opacity: 1; filter: none; transform: none; }
.arc.on .arc__title { transition-delay: .12s; }
.code-card { position: relative; background: var(--dark2); border: 1px solid var(--dark-line); border-radius: 12px; overflow: hidden; transition: height .45s cubic-bezier(.4, 0, .2, 1), background .35s ease, border-color .35s ease; }
.code-card__top, .code-card pre { position: relative; z-index: 1; }
.code-card__top { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; font: 500 12px/1 var(--font-mono); color: var(--dark-ink2); border-bottom: 1px solid var(--dark-line); }
.code-card__ok { color: #4ade80; }
.code-card pre { padding: 24px 28px; font: 13px/1.85 var(--font-mono); white-space: pre-wrap; word-break: break-word; color: #e6e8ee; }
.code-card pre.numbered .ln { display: inline-block; width: 2.2em; color: #4a4e5a; user-select: none; }
.code-card .k { color: #c6d6ff; }
.code-card .s { color: #9fd3a8; }
.code-card .n { color: #f2c98a; }
.code-card .c { color: #6d7280; }
/* Capability row under the arc: cells with dividers, icon up top (attio.com) */
.caps-band { border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.caps { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1376px, 100% - 2 * var(--pad)); margin: 0 auto; border-left: 1px solid #2f3238; border-right: 1px solid #2f3238; }
.cap { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 28px; border-left: 1px solid var(--dark-line); }
.cap:first-child { border-left: 0; }
.cap__ico { position: relative; font-size: 18px; line-height: 1; color: var(--dark-ink2); }
.cap h4 { position: relative; font-size: 16px; font-weight: 500; margin-bottom: 6px; min-height: 44px; display: flex; align-items: flex-end; }
.cap p { position: relative; font-size: 14px; line-height: 1.45; }

/* Four calls: the list on the left, the code on the right */
.ship { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 152px 0 128px; margin: 0 calc(-1 * var(--inner)); padding-left: var(--inner); padding-right: var(--inner); }
.ship__copy h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.4px; max-width: 520px; }
.ship__docs { margin-top: 28px; gap: 8px; }
.ship__docs svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
@media (hover: hover) and (pointer: fine) { .ship__docs:hover svg { transform: translateX(3px); } }
.ship__list { margin-top: 96px; display: grid; gap: 22px; }
.step button { display: block; text-align: left; font-size: 18px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--dark-ink2); transition: color .25s; }
.step.on button { color: var(--dark-ink); }
@media (hover: hover) and (pointer: fine) { .step button:hover { color: var(--dark-ink); } }
.step button:focus { outline: none; }
.step button:focus-visible { outline: 2px solid #6f86d8; outline-offset: 4px; border-radius: 4px; }
.step__more { display: grid; grid-template-rows: 0fr; opacity: 0; filter: blur(1px); transition: grid-template-rows .45s cubic-bezier(.2,0,0,1), opacity .35s ease, filter .35s ease; }
.step__more > div { overflow: hidden; min-height: 0; }
.step.on .step__more { grid-template-rows: 1fr; opacity: 1; filter: none; }
.step__more p { max-width: 360px; margin-top: 8px; font-size: 16px; line-height: 1.4; }
.step__bar { display: block; height: 1px; margin-top: 18px; background: rgba(255,255,255,.14); }
.step__bar i { display: block; height: 100%; width: 0; background: var(--dark-ink); }
@keyframes step-fill { from { width: 0; } to { width: 100%; } }
.ship__view { display: grid; gap: 16px; align-content: start; }
.ship__view #code-endpoint { transition: opacity .2s ease; }
.ship__view.is-swapping #code-endpoint { opacity: 0; }
/* the code is retyped line by line instead of fading as a block */
.code-card .cl { animation: cl-in .16s linear backwards; animation-delay: calc(var(--i) * 28ms); }
.ship__view.is-swapping .cl { opacity: 0; filter: blur(1.2px); transition: opacity .1s linear, filter .1s linear; transition-delay: calc(var(--i) * 13ms); }
@keyframes cl-in { from { opacity: 0; filter: blur(1.2px); } to { opacity: 1; filter: none; } }

/* Dark: coverage */
.coverage { padding: 0 0 68px; overflow: hidden; }
.coverage__head { position: relative; z-index: 5; padding: 112px 0 40px; max-width: 896px; }
.hashmap { position: relative; aspect-ratio: 1009.67 / 665.96; width: min(100vw, 1440px); margin: -160px auto 0; left: 50%; transform: translateX(-50%); overflow: hidden; cursor: default; }
.hashmap__fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, var(--dark) 0%, rgba(16,16,16,.88) 22%, rgba(16,16,16,.4) 40%, transparent 53%), linear-gradient(to top, var(--dark) 0%, transparent 14%); }
.hashmap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hashmap__flags { position: absolute; inset: 0; pointer-events: none; }
.flag { pointer-events: auto; position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.flag img { width: 36px; height: 24px; object-fit: cover; border-radius: 2px; filter: drop-shadow(0 1px 6px rgba(0,0,0,.6)); transition: transform .3s cubic-bezier(.2,.8,.2,1), filter .3s ease; }
.flag small { position: absolute; bottom: calc(100% + 2px); white-space: nowrap; font: 500 11px/1 var(--font-mono); letter-spacing: .02em; color: #e6e9f0; background: rgba(23,24,26,.96); border: 1px solid #2f3238; border-radius: 8px; padding: 8px 10px; box-shadow: 0 6px 20px rgba(0,0,0,.5); opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; z-index: 3; }
.flag small::after { content: ''; position: absolute; left: 50%; top: 100%; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: rgba(23,24,26,.96); border-right: 1px solid #2f3238; border-bottom: 1px solid #2f3238; transform: rotate(45deg); }
.flag:hover img, .flag:focus-visible img { transform: scale(1.18); filter: brightness(1.08) drop-shadow(0 2px 10px rgba(110,140,220,.6)); }
.flag:hover small, .flag:focus-visible small { opacity: 1; transform: none; }

/* Quote */
/* The dark blocks are pulled over the quote: the quote is pinned and revealed as they scroll off */
.stack { position: relative; isolation: isolate; }
.stack__top { position: relative; z-index: 10; }
.quote { position: relative; z-index: 0; margin-top: calc(-100svh + var(--header)); background: var(--bg); }
.quote__track { height: 250svh; }
.quote__sticky { position: sticky; top: var(--header); height: calc(100svh - var(--header)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.dots { position: absolute; inset: 0; background-image: radial-gradient(#dfe2e8 1px, transparent 1.2px); background-size: 24px 24px; mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%); }
.story { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 40px; width: min(100% - 48px, 660px); text-align: center; }
.story__side { display: flex; flex-direction: column; align-items: center; width: 100%; }

.lightbox { position: fixed; inset: 0; z-index: 1000; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(8,9,12,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: lb-in .5s ease both; }
.lightbox.closing .lightbox__backdrop, .lightbox.closing .lightbox__close, .lightbox.closing .lightbox__fallback { animation: lb-out .5s ease both; }
.lightbox__frame { position: fixed; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.6); transform-origin: 0 0; will-change: transform; }
.lightbox__frame iframe, .lightbox__poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.lightbox__poster { transition: opacity .45s ease; }
.lightbox__poster.gone { opacity: 0; pointer-events: none; }
.lightbox__close { position: fixed; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 28px; line-height: 1; display: grid; place-items: center; transition: background .2s; animation: lb-in .5s ease both; }
@media (hover: hover) and (pointer: fine) { .lightbox__close:hover { background: rgba(255,255,255,.2); } }
.lightbox__fallback { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: 13px; color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 3px; animation: lb-in .5s ease both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-out { from { opacity: 1; } to { opacity: 0; } }
.quote__text { position: relative; margin: 0; max-width: 660px; font-family: var(--font-head); font-size: 40px; line-height: 1.2; letter-spacing: -.01em; font-weight: 400; }
.quote__text .w { color: var(--ink3); transition: color .25s; }
.quote__text .w.on { color: var(--ink); }
.quote__author { position: relative; margin-top: 24px; display: grid; gap: 4px; font-size: 14px; color: var(--ink2); }
.quote__author strong { color: var(--ink); font-weight: 500; }
.story__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; font: 500 12px/1 var(--font-mono); color: var(--ink3); }
.story__nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--stroke); background: #fff; display: grid; place-items: center; color: var(--ink); transition: background .2s, border-color .2s, transform .2s; }
.story__nav button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .story__nav button:hover { background: var(--bg2); border-color: var(--ink2); } }
.story__nav button:active { transform: scale(.96); }

/* Closing + footer */
/* Scale: four numbers over a rising curve (attio.com) */
.scale { position: relative; overflow: hidden; background: var(--bg); border-top: 1px solid var(--line); }
.scale__inner { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 56px; min-height: 760px; padding-top: 152px; padding-bottom: 96px; overflow: hidden; }
.scale .container--lines::before, .scale .container--lines::after { z-index: 2; }
.scale__copy { position: relative; z-index: 1; max-width: 464px; }
.scale__copy h2 { font-size: 40px; line-height: 1.1; }
.scale__stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: 32px 48px; }
.scale__stats li { border-left: 2px solid #266df0; padding-left: 16px; }
.scale__stats b { display: block; white-space: nowrap; font-size: 32px; font-weight: 500; line-height: 1; letter-spacing: -.32px; font-variant-numeric: tabular-nums; }
.scale__stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink2); }

/* Blog: four latest posts in columns with hairline dividers and tick marks below (attio.com) */
.blog { background: var(--bg); border-top: 1px solid var(--line); }

.post { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 28px 28px var(--ticks); border-left: 1px solid var(--line); }

/* one even grid of ticks across the whole block; the column dividers run down through it */
.post time { font-size: 12px; font-weight: 500; line-height: 14px; color: var(--ink2); margin-bottom: 20px; }
.post h3 { font-size: 16px; font-weight: 500; line-height: 22px; letter-spacing: -.01em; }
.post p { font-size: 16px; line-height: 22px; color: var(--ink2); }

/* Closing: hairline pattern with drifting light, masked away from the text */
.closing { position: relative; overflow: hidden; padding: 160px 0; text-align: center; border-top: 1px solid var(--dark-line); }
.cta-pattern { position: absolute; inset: 0; pointer-events: none; overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, transparent 35%, #000 75%); mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, transparent 35%, #000 75%); }
.cta-pattern__grid { position: absolute; inset: 0; background: repeating-linear-gradient(to right, rgba(255,255,255,.035) 0 1px, transparent 1px 8px); }
.cta-pattern__rays { position: absolute; inset: 0; overflow: hidden; }
/* the falls the pointer pours down the hairlines (falls.js): over the pattern, under the copy, faint behind the words */
.closing__falls { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 34% 36% at 50% 50%, rgba(0,0,0,.14) 45%, #000 100%); mask-image: radial-gradient(ellipse 34% 36% at 50% 50%, rgba(0,0,0,.14) 45%, #000 100%); }
.closing > .container { position: relative; z-index: 2; }
.cta-ray { position: absolute; top: -360px; width: 2px; height: 360px; background: linear-gradient(transparent, rgb(138,147,161) 50%, transparent); opacity: 0; animation: ray 6.5s cubic-bezier(.4,0,.5,1) infinite; }
.closing h2 { font-size: 56px; line-height: 1; margin-bottom: 40px; }
.closing .hero__ctas { transition-delay: .1s; }
.footer { border-top: 1px solid var(--dark-line); padding: 64px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; }
.logo--light { align-self: start; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__cols h4 { font-size: 14px; font-weight: 500; color: var(--dark-ink2); margin-bottom: 16px; }
.footer__cols a, .footer__cols button { display: block; font-size: 14px; font-weight: 500; color: var(--dark-ink); padding: 5px 0; text-align: left; }
@media (hover: hover) and (pointer: fine) { .footer__cols a:hover, .footer__cols button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; } }
/* Ask AI: dotted link tiles carrying a ready-made prompt (fin.com) */
.ask { grid-column: 1 / -1; margin-top: 56px; }
.ask__title { font-size: 12px; font-weight: 500; color: var(--dark-ink2); margin-bottom: 12px; }
.ask__links { display: grid; grid-template-columns: repeat(3, minmax(0, 224px)); gap: 14px; }
.ask__link { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; font-size: 14px; font-weight: 500; color: var(--dark-ink); border: 1px dotted #4a4e58; border-radius: 10px; transition: border-color .25s, background .25s, color .25s; }
@media (hover: hover) and (pointer: fine) { .ask__link:hover { border-color: #7b8190; background: rgba(255,255,255,.04); } }
.ask__mark { display: grid; place-items: center; width: 20px; height: 20px; flex: none; }
/* brand marks from Simple Icons (CC0), drawn in the footer ink */
.ask__mark svg { width: 18px; height: 18px; fill: currentColor; }
.ask__go { width: 16px; height: 16px; margin-left: auto; fill: none; stroke: var(--dark-ink2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s, transform .25s; }
@media (hover: hover) and (pointer: fine) { .ask__link:hover .ask__go { stroke: var(--dark-ink); transform: translate(2px, -2px); } }
.footer__legal { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 12px; color: var(--dark-ink2); }

/* Dialog & toast */
dialog { width: min(560px, calc(100vw - 32px)); border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 40px; border-radius: 16px; max-height: 90vh; }
dialog::backdrop { background: rgba(14,14,15,.5); backdrop-filter: blur(6px); }
dialog h2 { font-size: 32px; margin-bottom: 12px; }
dialog h3 { color: var(--ink2); font-size: 16px; margin-bottom: 8px; }
dialog p { margin-bottom: 20px; }
dialog label { display: block; font-size: 13px; margin: 16px 0 6px; }
dialog input, dialog select { width: 100%; border: 1px solid var(--line); background: #fff; padding: 10px 12px; font-size: 14px; border-radius: var(--radius); }
dialog .btn { margin-top: 22px; width: 100%; }

/* Responsive */
@media (max-width: 1279px) {
  .float--chat, .float--event { left: -128px; }
  .float--event { left: auto; right: -128px; }
  .float--terminal { left: -96px; }
}
@media (max-width: 1023px) {
  .float { display: none; }
  .hero__wrap { width: 86%; }
}
@media (max-width: 1100px) {
  .header__actions .btn--secondary { display: none; }
  .platform__grid { grid-template-columns: 1fr; }
  .platform__index { position: static; padding: 0 0 24px; }
  .platform__index ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
  .platform__articles { border-left: 0; }
  .article { padding-left: 0; }
    .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --pad: 16px; --inner: 20px; --header: 60px; }
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .display { font-size: 44px; }
  .nav, .header__actions { display: none; }
  .menu-toggle { display: grid; gap: 5px; margin-left: auto; width: 36px; height: 36px; place-content: center; }
  .menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); }
  .header.open .nav { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 20px; }
  .header.open .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .header.open .nav a { display: block; width: 100%; text-align: left; padding: 14px 6px; }
  .container--lines::before, .container--lines::after { display: none; }
  .hero__copy { padding-top: 56px; margin-bottom: 0; min-height: 0; padding-left: 16px; padding-right: 16px; }
  .hero__copy h1 { font-size: 40px; letter-spacing: -.8px; }
  .hero__copy-in { gap: 24px; }
  .pill { max-width: 100%; }
  .pill__body { height: auto; min-height: 28px; padding: 6px 10px 6px 12px; line-height: 1.35; text-align: left; }
  .hero__ctas .btn { height: 44px; }
  .hero__copy p { font-size: 17px; }
  .hero__ctas { flex-wrap: wrap; }
  .hero__stage { position: static; height: auto; padding: 48px 0 0; }
  .hero__wrap { width: calc(100% - 32px); }
  .win--main .win__body { height: auto; }
  .hero__tail { height: 64px; }
  .logos__grid { grid-template-columns: repeat(2, 1fr); }
  .logos__grid li { height: 72px; padding: 0 16px; border-bottom: 1px solid var(--line); }
  .logos__grid li:nth-child(5n) { border-right: 1px solid var(--line); }
  .logos__grid li:nth-child(2n) { border-right: 0; }
  .logos__grid li:nth-child(n+6) { border-bottom: 1px solid var(--line); }
  .logos__grid li:nth-child(n+9) { border-bottom: 0; }
  .logos__grid img { height: 30px; }
  .logos__grid li:nth-child(3n) { border-right: 0; }
    .float { display: none; }
  .section-head { padding: 72px 0 48px; }
  .article { padding: 56px var(--inner) 48px 0; }
  .article__card { grid-template-columns: 1fr; }
  .article__cell + .article__cell { border-left: 0; border-top: 1px solid var(--line); }
  .industries { padding-top: 72px; }
                .developers { padding: 0 0 80px; }
  .arc { height: min(460px, calc(100svh - var(--header))); width: 100%; --d: calc(1.9 * min(1376px, 100vw - 2 * var(--pad))); }
  .arc__copy { height: 72%; }
  .arc__caption { font-size: 14px; }
  .arc__title { font-size: 30px; white-space: normal; max-width: 300px; }
  .caps { grid-template-columns: 1fr; width: auto; margin: 0 var(--pad); border-left: 0; border-right: 0; }
  .cap { border-left: 0; border-top: 1px solid var(--dark-line); gap: 20px; padding: 24px 0; }
  .cap:first-child { border-top: 0; }
  .ship { grid-template-columns: 1fr; gap: 40px; padding: 72px 0 72px; }
  .ship__copy h2 { font-size: 28px; }
  .ship__list { margin-top: 40px; gap: 20px; }
  .coverage__head { padding: 72px 0 32px; }
  .hashmap { width: 100vw; margin-top: 0; }
  .flag img { width: 24px; height: 16px; }
  .cur { font-size: 11px; gap: 6px; }
    .quote__track { height: 180svh; }
  .story { gap: 24px; width: calc(100% - 32px); }
  .quote__text { font-size: 26px; max-width: 100%; }
  .quote__author { margin-top: 18px; }
  .story__nav { margin-top: 20px; }
  .scale__inner { min-height: 0; padding-top: 72px; padding-bottom: 72px; gap: 40px; }
  .scale__copy h2 { font-size: 28px; }
  .scale__stats { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .scale__stats b { font-size: 22px; }
          .post { scroll-snap-align: start; padding: 20px 20px var(--ticks); }
  .closing { padding: 96px 0; }
  .closing h2 { font-size: 36px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .ask__links { grid-template-columns: 1fr; gap: 10px; }
  .ask { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* Internal-page navigation dropdowns */

/* Shared Linear-inspired navigation */
.header{--nav-bg:var(--bg);--nav-text:var(--ink);--nav-strong:var(--ink);--nav-line:var(--line);--nav-hover:var(--bg2);--nav-item-hover:rgba(29,38,59,.035);--nav-panel:var(--bg);--nav-panel-inner:var(--bg2);--nav-muted:var(--ink2);background:rgba(255,255,255,.95);color:var(--ink);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}
.header.header--dark{--nav-bg:var(--dark);--nav-text:var(--dark-ink);--nav-strong:var(--dark-ink);--nav-line:var(--dark-line);--nav-hover:rgba(255,255,255,.06);--nav-item-hover:rgba(255,255,255,.045);--nav-panel:var(--dark);--nav-panel-inner:var(--dark2);--nav-muted:var(--dark-ink2);background:rgba(14,14,15,.92);color:var(--dark-ink);border-bottom-color:var(--dark-line)}
.header__inner{width:100%;max-width:none;padding:0 32px;gap:0}
.header .logo{flex:none}
.header .logo img{height:22px;width:auto}
.header .logo__ink{display:block!important}
.header .logo__light{display:none!important}
.header.header--dark .logo__ink{display:none!important}
.header.header--dark .logo__light{display:block!important}
/* logo, a divider, then the links on the left; actions on the right */
.header .nav{position:relative;margin-left:26px;padding-left:14px}
/* divider between the logo and the links: 28px tall, centred on the 36px row */
.header .nav::before{content:"";position:absolute;left:0;top:50%;width:1px;height:28px;margin-top:-14px;background:var(--nav-line)}
.header .nav__links{position:relative;display:flex;align-items:center;gap:0}
.nav__links::before{content:"";position:absolute;left:var(--nav-active-x,0px);top:0;width:var(--nav-active-width,0px);height:36px;border-radius:8px;background:var(--nav-hover);opacity:0;transition:left .3s cubic-bezier(.22,1,.36,1),width .3s cubic-bezier(.22,1,.36,1),opacity .18s ease;pointer-events:none}
.header[data-nav-open] .nav__links::before{opacity:1}
.header .nav__links>li{position:relative;z-index:1}
.header .nav__links a,.header .nav__trigger{display:flex;align-items:center;justify-content:center;height:36px;padding:0 12px;border-radius:8px;background:none;color:var(--nav-text);font-family:inherit;font-size:14px;font-weight:500;line-height:1;letter-spacing:-.01em;white-space:nowrap;transition:color .15s}
.header .nav__trigger[aria-expanded="true"] { color:var(--nav-strong);background:none }
@media (hover: hover) and (pointer: fine) { .header .nav__links a:hover, .header .nav__trigger:hover { color:var(--nav-strong);background:none } }
@media (hover: hover) and (pointer: fine) { .header .nav__links a:hover { background:var(--nav-hover) } }
.header__actions{display:flex!important;align-items:center;gap:8px;margin-left:auto}
.header__actions .header__docs,.header__actions .header__signup{height:36px;padding:0 12px;border-radius:var(--radius);font-size:14px;font-weight:500}
.header__actions .header__docs{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:var(--nav-text);text-decoration:none;transition:background .15s,color .15s}
.header__actions .header__docs:focus-visible { background:var(--nav-hover);color:var(--nav-strong) }
@media (hover: hover) and (pointer: fine) { .header__actions .header__docs:hover { background:var(--nav-hover);color:var(--nav-strong) } }
.nav-mega{box-sizing:border-box;position:absolute;top:calc(100% - 8px);left:min(var(--nav-left,32px),calc(100vw - min(var(--nav-width,860px),100vw - 64px) - 32px));right:auto;width:min(var(--nav-width,860px),calc(100vw - 64px));padding:8px 10px 10px 8px;border:1px solid var(--nav-line);border-radius:14px;background:var(--nav-panel);box-shadow:0 20px 60px #11111117;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-4px) scale(.97);transform-origin:var(--nav-origin,50%) top;transition:opacity .14s cubic-bezier(.23,1,.32,1),transform .14s cubic-bezier(.23,1,.32,1),visibility 0s linear .14s;z-index:50}
.header[data-nav-open] .nav-mega{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition:opacity .2s cubic-bezier(.23,1,.32,1),transform .2s cubic-bezier(.23,1,.32,1),width .36s cubic-bezier(.22,1,.36,1),visibility 0s}
.nav-mega__stage{position:relative;display:grid;align-items:start;overflow:hidden;height:var(--nav-height,auto);background:var(--nav-panel-inner);border:1px solid var(--nav-line);border-radius:6px;transition:height .36s cubic-bezier(.22,1,.36,1)}
/* the two-column Resources panel is only as tall as its links */

/* both panels share one cell: the box and the dividers never move, only the links do */
.nav-mega__body{grid-area:1/1;visibility:hidden;pointer-events:none;transition:visibility 0s linear .14s}
.nav-mega__body.is-active{visibility:visible;pointer-events:auto;transition-delay:0s}
.nav-mega__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px;padding:12px;opacity:0;filter:blur(2px);transform:translateX(var(--dx,0px));transition:opacity .16s ease-out,transform .3s cubic-bezier(.22,1,.36,1),filter .16s ease-out;will-change:transform,opacity}
.nav-mega__body.is-active .nav-mega__grid{opacity:1;filter:none;transform:none;transition:opacity .26s cubic-bezier(.22,1,.36,1) 70ms,transform .38s cubic-bezier(.22,1,.36,1) 30ms,filter .26s cubic-bezier(.22,1,.36,1) 70ms}
.nav-mega__column{position:relative;min-height:182px;display:flex;flex-direction:column;justify-content:space-between;gap:1px}
@media (min-width:761px){.nav-mega__body .nav-mega__grid{box-sizing:border-box;width:calc(min(var(--w,860px),100vw - 64px) - 22px)}}
.nav-mega__column+.nav-mega__column::before{content:"";position:absolute;top:0;bottom:0;left:-12px;border-left:1px solid var(--nav-line)}
.nav-mega__column a{display:block;padding:14px 24px 14px 16px;border-radius:6px;transition:background .16s ease}
.nav-mega.is-instant .nav-mega__grid,.nav-mega__body.no-anim .nav-mega__grid{transition:none!important}
.nav-mega.is-instant .nav-mega__body{transition:none}
@media (prefers-reduced-motion:reduce){.nav-mega,.header[data-nav-open] .nav-mega,.nav-mega__grid{transform:none!important;filter:none!important}}
.nav-mega__column a:focus-visible { background:var(--nav-item-hover) }
@media (hover: hover) and (pointer: fine) { .nav-mega__column a:hover { background:var(--nav-item-hover) } }
.nav-mega__column strong{display:block;color:var(--nav-strong);font-size:14px;line-height:1.4;font-weight:500}
.nav-mega__column span{display:block;margin-top:4px;color:var(--nav-muted);font-size:13px;line-height:1.45;letter-spacing:-.01em}
.nav__mobile-list,.nav__mobile-actions{display:none}
@media(max-width:900px){
  .header__inner{padding:0 24px}
  .header .nav__links a,.header .nav__trigger{padding:0 9px}
  .nav-mega{left:24px;right:auto;width:calc(100vw - 48px)}
}
@media(max-width:760px){
  .header__inner{padding:0 20px}
  .header .nav{display:none;margin:0;padding-left:0;border-left:0}
  .header .nav::before{display:none}
  .header__actions{display:none!important}
  .header .menu-toggle{display:grid}
  .header .menu-toggle span{background:var(--nav-strong)}
  .header.open .nav{display:block;position:absolute;top:100%;left:0;right:0;max-height:calc(100svh - var(--header));overflow:auto;padding:12px 20px 24px;background:var(--nav-bg);border-bottom:1px solid var(--nav-line)}
  .header.open .nav__links{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .header.open .nav__links::before{display:none}
  .header .nav__links>li{width:100%}
  .header .nav__links a,.header .nav__trigger{justify-content:flex-start;width:100%;height:44px;padding:0 10px;text-align:left;font-size:15px}
  .header .nav__trigger[aria-expanded="true"]{background:var(--nav-hover)}
  .nav__mobile-list{padding:4px 0 10px 15px}
  .nav__trigger[aria-expanded="true"]+.nav__mobile-list{display:block}
  .header .nav__mobile-list a{height:36px;font-size:14px;color:var(--nav-text)}
  .nav__mobile-actions{display:flex;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--nav-line)}
  .header .nav__mobile-actions a,.header .nav__mobile-actions button{display:flex;align-items:center;justify-content:center;height:44px;padding:0 10px;border-radius:8px;font-size:15px;font-weight:500;border:1px solid var(--nav-line)}
  .header .nav__mobile-actions a,.header .nav__mobile-actions button{flex:1 1 0;width:auto;white-space:nowrap}
  .header .nav__mobile-actions button{background:#1d1e23;color:#f5f6f8;border-color:#1d1e23}
  .header.header--dark .nav__mobile-actions button{background:#f5f6f8;color:#16181d}
  .header .nav__mobile-actions a:first-child{justify-content:flex-start;border:0;background:transparent}
  .nav-mega{display:none!important}
}

/* ---- Page mechanics (site-motion.js): press feedback and image blur-up ------------------------ */
/* every interactive surface shrinks a little from its centre on press (8lends .press family) */
.pill__body { transition: background .3s, transform .12s ease; }
.pill:active .pill__body { transform: scale(.98); }
.ask__link { transition: border-color .25s, background .25s, color .25s, transform .12s ease; }
.ask__link:active { transform: scale(.98); }
.platform__index li button { transition: color .2s, transform .12s ease; }
.platform__index li button:active { transform: scale(.98); }
.header .nav__links a, .header .nav__trigger, .header__docs { transition: color .15s, transform .12s ease; }
.header .nav__links a:active, .header .nav__trigger:active, .header__docs:active { transform: scale(.97); }
.post { transition: transform .12s ease; }
.post:active { transform: scale(.995); }
.flag img { transition: transform .3s cubic-bezier(.2,.8,.2,1), filter .3s ease; }
.flag:active img { transform: scale(1.05); transition-duration: .12s; }
.menu-toggle { transition: transform .12s ease; }
.menu-toggle:active { transform: scale(.94); }
/* an image that is still loading stays hidden behind a blur; once in, the element keeps its own
   opacity and filter (logos, flags) — only the hidden state is ours */
img.img-in { transition: opacity .6s cubic-bezier(.16,1,.3,1), filter .6s cubic-bezier(.16,1,.3,1); }
img.img-in:not(.is-loaded) { opacity: 0 !important; filter: blur(6px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { filter: none; }
  img.img-in:not(.is-loaded) { filter: none; }
}

/* hero: Google sign-in button with the G mark */
.btn__chev { width: 16px; height: 16px; margin-left: -2px; transition: transform .2s; }
@media (hover: hover) and (pointer: fine) { .btn:hover .btn__chev { transform: translateX(2px); } }
/* inline arrows and chevrons: Pika icons from the Swipelux icon library, sized to the text */
.pk { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -.14em; }
.pill__body i { display: inline-flex; }
/* close buttons, the menu toggle: Pika icons (MultipleCrossCancelDefault, BurgerMenuTwo) */
.lightbox__close .pk { width: 22px; height: 22px; }
.menu-toggle svg { width: 22px; height: 22px; color: var(--nav-strong, var(--ink)); }
.header--dark .menu-toggle svg { color: var(--dark-ink); }
.menu-toggle__close, .header.open .menu-toggle__open { display: none; }
.header.open .menu-toggle__close { display: block; }

/* hero copy stays under the dashboard stage and never paints over the logo strip */
.hero__copy { z-index: 0; }
.hero__stage { z-index: 1; }
.hero { isolation: isolate; }
.logos { position: relative; z-index: 2; }

/* Entry animation lives in the hero only (24 Sep): below it the content is on the page from the start —
   nothing fades, rises or unblurs as it scrolls into view. Scroll-driven motion (the quote fill, the
   Scale curve, the steps, the Platform scenes) keeps running. */
.reveal, .reveal.on { opacity: 1; transform: none; filter: none; }
.industry, .industries.ready .industry.on { opacity: 1; transform: none; }
.arc__copy > *, .arc__stage, .arc__rays { opacity: 1; filter: none; transform: none; }

/* Industry cards (24 Sep): a slow mesh gradient in one hue per industry, a fine grain over it, and the
   industry's Pika icon with its name in the middle */
/* all six in the blue family: cobalt, lavender, sky, periwinkle, azure, indigo */
@keyframes ind-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(12%, 8%) scale(1.12); } 100% { transform: translate(-8%, 14%) scale(.94); } }
/* grain */

/* hover: the card grows a little instead of lifting, and its gradient drifts and zooms with it */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Platform: a plain black "Learn more" link under each product's copy, 24px below it */
.article h3 { margin-bottom: 0; }
.article__more { display: inline-flex; align-items: center; gap: 6px; margin: 24px 0 48px; color: var(--ink); font-size: 15px; font-weight: 500; transition: transform .12s ease; }
.article__more .pk { width: 16px; height: 16px; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) and (pointer: fine) { .article__more:hover .pk { transform: translateX(3px); } }
.article__more:active { transform: scale(.98); }
.article__cell .pv { flex: none; }
.article__text { padding-top: 20px; }

/* ------------------------------------------------------------------ layout switch (version.js): V1 current, V2 the change brief */

/* ------------------------------------------------------------------ V2: header actions, partner banks, answers */

.logos__grid--banks { grid-template-columns: repeat(4, 1fr); }
.logos__grid--banks li:nth-child(5n) { border-right: 1px solid var(--line); }
.logos__grid--banks li:nth-child(4n) { border-right: 0; }
.logos__grid--banks li:nth-child(n+5) { border-bottom: 0; }
.logos__word { color: #7d828b; font-size: 19px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; transition: color .3s; }
@media (hover: hover) and (pointer: fine) { .logos__grid li:hover .logos__word { color: var(--ink); } }
@media (max-width: 760px) {
  .logos__grid--banks { grid-template-columns: repeat(2, 1fr); }
  .logos__grid--banks li, .logos__grid--banks li:nth-child(5n), .logos__grid--banks li:nth-child(3n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .logos__grid--banks li:nth-child(2n) { border-right: 0; }
  .logos__grid--banks li:nth-child(n+7) { border-bottom: 0; }
  .logos__word { font-size: 16px; }
}

.answers { background: var(--bg); border-top: 1px solid var(--line); }
.answers .section-head { padding-top: 152px; padding-bottom: 72px; border-bottom: 0; }
.answers .section-head .eyebrow { margin-bottom: 20px; }

@media (max-width: 900px) {
    .answers .section-head { padding-top: 96px; padding-bottom: 48px; }
}

/* V2 homepage: the operating benefit, coverage in three groups, the cost tile links to Pricing */
.benefits { border-top: 1px solid var(--line); }
.benefits .section-head { padding-top: 152px; padding-bottom: 72px; }
.benefits .section-head .eyebrow { margin-bottom: 20px; }
.cov3 { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.cov3 > li { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--dark-line); border-radius: 16px; background: #17181b; }
.cov3 h3 { color: var(--dark-ink); font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.dark .cov3 p { margin-top: 6px; color: var(--dark-ink2); font-size: 14px; line-height: 1.45; }
.cov3 ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.cov3 ul li { padding: 6px 11px; border: 1px solid var(--dark-line); border-radius: 999px; background: #202125; color: var(--dark-ink); font-size: 13px; font-weight: 500; }

/* with the developer band moved to the end, the dark block above the pinned quote must still cover a screen */
.v2-home .stack__top { min-height: calc(100svh - var(--header)); background: var(--dark, #101010); }
@media (max-width: 900px) {
  .cov3 { grid-template-columns: 1fr; }
      .benefits .section-head { padding-top: 96px; padding-bottom: 48px; }
  .cov3 > li { padding: 24px; }
}
.closing__talk { position: relative; z-index: 2; max-width: 560px; margin: 28px auto 0; color: var(--dark-ink2); font-size: 15px; line-height: 1.55; text-align: center; }
.closing__talk b { color: var(--dark-ink); font-weight: 500; }
.closing__talk a { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; color: var(--dark-ink); font-weight: 500; white-space: nowrap; }
.closing__talk a svg { width: 16px; height: 16px; }
/* V2: each use case card states its flow; pricing and onboarding as two cells; the SWIFT card links to coverage */

/* ================================================================== V2 · Atlas references, in our Geist and colours */
/* labels in Geist Mono instead of blue pills (Typography: Geist / Geist Mono); tighter display tracking */
html[data-v="2"] .eyebrow { height: auto; padding: 0; border-radius: 0; background: none; color: var(--ink2); font: 500 12px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
html[data-v="2"] .eyebrow::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: #3d5be0; vertical-align: 1px; }
html[data-v="2"] .section-head h2, html[data-v="2"] .coverage__head h2 { letter-spacing: -.035em; }
.mono { color: var(--ink3, #9aa0a9); font: 500 12px/1 var(--font-mono); letter-spacing: .04em; }

/* operating benefit: three cells with line art (Sections: "Proactive AI Defense") */

/* stats: numbers roll in like a counter (Sections: Korapay) */
.odo { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.odo > i { display: block; font-style: normal; transform: translateY(0); transition: transform 1.4s cubic-bezier(.2, .8, .15, 1); }
.odo > i > span { display: block; height: 1em; line-height: 1; }
.scale__stats.is-rolled .odo > i { transform: translateY(calc(var(--d) * -1em)); }
.scale__stats li:nth-child(2) .odo > i { transition-delay: .12s; } .scale__stats li:nth-child(3) .odo > i { transition-delay: .24s; } .scale__stats li:nth-child(4) .odo > i { transition-delay: .36s; }

/* banks out of empty slots (Motion: icon reveal) */
.logos__grid--banks li { position: relative; }
.logos__grid--banks li::before { content: ''; position: absolute; left: 50%; top: 50%; width: 96px; height: 14px; margin: -7px 0 0 -48px; border-radius: 7px; background: #eceef1; transition: opacity .5s ease calc(var(--i) * 90ms + .2s), transform .5s ease calc(var(--i) * 90ms + .2s); }
.logos__grid--banks .logos__word { opacity: 0; filter: blur(6px); transform: translateY(6px); transition: opacity .6s ease calc(var(--i) * 90ms + .35s), filter .6s ease calc(var(--i) * 90ms + .35s), transform .6s ease calc(var(--i) * 90ms + .35s), color .3s; }
.logos__grid--banks.is-in li::before { opacity: 0; transform: scaleX(.6); }
.logos__grid--banks.is-in .logos__word { opacity: 1; filter: none; transform: none; }

/* coverage cards: index and a soft light from above (Sections: "Build on our ecosystem") */
.cov3 > li { background: radial-gradient(120% 70% at 50% -10%, #24262b 0%, #17181b 60%) !important; }
.cov3 > li .mono { margin-bottom: 18px; color: var(--dark-ink2); }

/* use cases: all six flows on the page as feature cards (rain.xyz/product/onramps): the name and flow on top,
   the route in an inset — where the money starts and lands, joined by the elbow line of the Quote first scene */
.v2-home .industries { padding: 0; }
 

/* pricing and onboarding: a light and a dark card in one shell (Visual: "Goals updated") */

/* close: the last word changes (Showcase: "Make it yours") */
.swap { display: inline-block; }
.swap__word { display: inline-block; transition: opacity .3s ease, transform .3s ease, filter .3s ease; }
.swap__word.is-out { opacity: 0; transform: translateY(-.25em); filter: blur(6px); }

.scale__stats .odo { display: inline-block; margin: 0; font-size: inherit; color: inherit; }
.scale__stats .odo > i > span { display: block; margin: 0; font-size: inherit; color: inherit; }

/* ================================================================== V2 · fewer pictures (Atlas: 03 Websites, 04 Web Sections) */
/* use cases: tall blue cards, one concrete number per flow (Omniprolab cards) */

/* the customer story without the video poster: the quote alone, larger */
html[data-v="2"] .story { width: min(100% - 48px, 900px); }
html[data-v="2"] .quote__text { max-width: 900px; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.14; letter-spacing: -.03em; }
