/* ==========================================================================
   LeyLance Incorporated — style.css  (v3 · "Liquid Glass")
   Modern, professional, light-first. Frosted-glass surfaces over a soft
   aurora field; deep-navy anchor footer. Type: Plus Jakarta Sans (display)
   · Inter (body) · JetBrains Mono (small labels). No inline styles/scripts,
   so the site ships a strict CSP of script-src/style-src 'self'.
   ========================================================================== */

/* ------------------------------------------------------------------ Reset - */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { min-height: 100vh; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: #cdd8ff; color: #101830; }

/* ------------------------------------------------------------------ Tokens */
:root {
  --f-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 40px);
  --r-sm: 12px; --r: 16px; --r-lg: 22px; --r-xl: 28px;

  /* Canvas */
  --bg: #eef1f7;
  --ink: #101830;
  --body: #46506e;
  --soft: #7d87a6;

  /* Brand */
  --brand: #4059e8;
  --brand-2: #7a5af8;
  --grad: linear-gradient(120deg, #4059e8, #7a5af8);
  --grad-soft: linear-gradient(120deg, rgba(64, 89, 232, .12), rgba(122, 90, 248, .12));

  /* Glass */
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-faint: rgba(255, 255, 255, .38);
  --glass-line: rgba(255, 255, 255, .9);
  --edge: rgba(23, 32, 68, .08);

  --shadow-sm: 0 1px 2px rgba(16, 24, 64, .05), 0 6px 20px -8px rgba(16, 24, 64, .1);
  --shadow: 0 1px 2px rgba(16, 24, 64, .04), 0 18px 50px -16px rgba(16, 24, 64, .16);
  --shadow-lift: 0 2px 4px rgba(16, 24, 64, .05), 0 28px 70px -20px rgba(16, 24, 64, .24);

  /* Venture tints (tuned for light surfaces) */
  --t-ervun: #5b4ee8;
  --t-wistrie: #8b5cf6;
  --t-tripup: #0d9e8f;
  --t-nexus: #0891b2;
  --t-drops: #d98324;
  --t-kretx: #a8823f;

  color-scheme: light;
}

/* ------------------------------------------------------------------ Base --- */
body {
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.68;
  font-weight: 400;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}

/* Aurora field — soft colour drifting behind every glass surface */
.aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
}
.aurora__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.aurora__blob--1 { width: 560px; height: 560px; left: -140px; top: -160px; background: radial-gradient(circle, #b9c6ff, transparent 65%); }
.aurora__blob--2 { width: 640px; height: 640px; right: -180px; top: -80px; background: radial-gradient(circle, #d8c7ff, transparent 65%); }
.aurora__blob--3 { width: 520px; height: 520px; left: 32%; top: 38%; background: radial-gradient(circle, #b8ece4, transparent 65%); opacity: .4; }
.aurora__blob--4 { width: 480px; height: 480px; right: 8%; bottom: -180px; background: radial-gradient(circle, #ffe1bd, transparent 65%); opacity: .35; }
@media (prefers-reduced-motion: no-preference) {
  .aurora__blob--1 { animation: drift1 26s ease-in-out infinite alternate; }
  .aurora__blob--2 { animation: drift2 32s ease-in-out infinite alternate; }
  .aurora__blob--3 { animation: drift1 38s ease-in-out infinite alternate-reverse; }
}
@keyframes drift1 { to { transform: translate(60px, 40px) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-70px, 50px) scale(.94); } }

/* Fine grain so flat areas read as material, not vacuum */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.58 0 0 0 0 0.66 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ Layout - */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 84px); }

/* ------------------------------------------------------------------ Type --- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); font-weight: 800; letter-spacing: -.032em; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.8rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.08rem; }
p { color: var(--body); }
strong { color: var(--ink); font-weight: 600; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand);
  padding: 7px 14px; border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

.lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.65; color: var(--body); max-width: 60ch; }
.muted { color: var(--soft); }
.balance { text-wrap: balance; }

/* ------------------------------------------------------------------ Header - */
.site-header { position: sticky; top: 14px; z-index: 100; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 64px; padding-inline: 22px;
  border-radius: 999px;
  background: var(--glass-strong);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled .nav { box-shadow: var(--shadow); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 30px; height: 30px; }
.brand__word { font-family: var(--f-display); font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-size: .92rem; font-weight: 550; color: var(--body);
  padding: 9px 16px; border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav__link:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.nav__link.is-active { color: var(--ink); background: rgba(255, 255, 255, .85); box-shadow: var(--shadow-sm); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--edge); color: var(--ink); background: rgba(255, 255, 255, .7); }
.nav__toggle svg { width: 20px; height: 20px; margin-inline: auto; }

/* ------------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-display); font-weight: 700; font-size: .95rem; letter-spacing: -.005em;
  padding: 14px 26px; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 2px 6px rgba(64, 89, 232, .28), 0 14px 34px -10px rgba(96, 82, 240, .5);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(64, 89, 232, .3), 0 20px 44px -10px rgba(96, 82, 240, .55); }
.btn--glass {
  background: var(--glass-strong); color: var(--ink);
  border-color: var(--glass-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
.btn--glass:hover { background: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

.arrow-link { display: inline-flex; align-items: center; gap: .45em; color: var(--brand); font-weight: 650; font-size: .94rem; font-family: var(--f-display); }
.arrow-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.arrow-link:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ Hero --- */
.hero { position: relative; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 22px; }
.hero__lead { margin-top: 22px; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Trust metrics row under hero copy */
.hero__meta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; }
.metric {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 20px; border-radius: var(--r);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm);
}
.metric__num { font-family: var(--f-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.metric__label { font-size: .78rem; font-weight: 500; color: var(--soft); }

/* The floating portfolio stack — hero visual */
.stack { position: relative; min-height: 460px; }
.stack__card {
  position: absolute;
  width: min(320px, 82%);
  padding: 20px 22px;
  border-radius: var(--r-lg);
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.stack__card:hover { box-shadow: var(--shadow-lift); z-index: 5; }
.stack__card--1 { right: 6%; top: 4%; transform: rotate(2deg); z-index: 3; }
.stack__card--2 { left: 0; top: 27%; transform: rotate(-2.4deg); z-index: 4; }
.stack__card--3 { right: 0; top: 51%; transform: rotate(1.6deg); z-index: 2; }
.stack__card--4 { left: 10%; top: 74%; transform: rotate(-1.2deg); z-index: 1; }
.stack__card--1:hover { transform: rotate(2deg) translateY(-4px); }
.stack__card--2:hover { transform: rotate(-2.4deg) translateY(-4px); }
.stack__card--3:hover { transform: rotate(1.6deg) translateY(-4px); }
.stack__card--4:hover { transform: rotate(-1.2deg) translateY(-4px); }
@media (prefers-reduced-motion: no-preference) {
  .stack__card--1 { animation: bob 7s ease-in-out infinite alternate; }
  .stack__card--2 { animation: bob 8.5s .6s ease-in-out infinite alternate-reverse; }
  .stack__card--3 { animation: bob 9.5s .3s ease-in-out infinite alternate; }
}
@keyframes bob { to { translate: 0 -8px; } }

.stack__logo {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; color: #fff;
  background: var(--tint, var(--brand));
  box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--tint, var(--brand)) 55%, transparent);
}
/* Real product logos inside tiles: frosted white tile, mark centered */
.stack__logo.stack__logo--img, .venture__logo.venture__logo--img { background: #fff; border: 1px solid var(--edge); }
.stack__logo--img img, .venture__logo--img img { width: 66%; height: 66%; object-fit: contain; }
.stack__logo--img img[src$=".png"], .venture__logo--img img[src$=".png"] { width: 78%; height: 78%; }

.stack__name { display: block; font-family: var(--f-display); font-weight: 750; font-size: 1.06rem; color: var(--ink); letter-spacing: -.01em; }
.stack__desc { display: block; font-size: .8rem; color: var(--soft); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stack__body { flex-grow: 1; min-width: 0; }
.stack__card .chip { margin-left: auto; flex-shrink: 0; }

/* Status chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 650; letter-spacing: .02em;
  font-family: var(--f-display);
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--edge);
  color: var(--body); white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--soft); }
.chip--live { color: #0c7a4d; background: #e5f7ee; border-color: #c4ecd8; }
.chip--live::before { background: #12a463; box-shadow: 0 0 0 3px rgba(18, 164, 99, .18); }
.chip--beta { color: #1d4fd7; background: #e9eeff; border-color: #cdd9ff; }
.chip--beta::before { background: #3b64f6; }
.chip--dev { color: #9a5b0c; background: #fdf3e2; border-color: #f5e0bb; }
.chip--dev::before { background: #e0961f; }
.chip--soon { color: #5b6478; background: #eef1f6; border-color: #dde2ec; }
.chip--soon::before { background: #98a2b8; }
.chip--retired { color: #8a4f52; background: #f9ecec; border-color: #eed4d4; }
.chip--retired::before { background: #c98787; }

/* ------------------------------------------------------------------ Glass panels & cards */
.panel {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4.5vw, 56px);
  overflow: hidden;
}
.panel--strong { background: var(--glass-strong); }
.panel__wash { position: absolute; inset: 0; z-index: 0; background: var(--grad-soft); pointer-events: none; }
.panel > * { position: relative; z-index: 1; }

.card {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  transition: transform .25s ease, box-shadow .3s ease, background .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--glass-strong); }

/* Venture card */
.venture { display: flex; flex-direction: column; gap: 15px; min-height: 100%; --tint: var(--brand); }
.venture::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--tint), color-mix(in srgb, var(--tint) 30%, #fff));
  opacity: 0; transition: opacity .3s ease;
}
.venture:hover::before { opacity: 1; }
.venture__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.venture__logo {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 1.3rem; font-weight: 800; color: #fff;
  background: var(--tint);
  box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--tint) 60%, transparent);
}
.venture__name { font-family: var(--f-display); font-size: 1.3rem; font-weight: 750; letter-spacing: -.015em; color: var(--ink); }
.venture__cat { font-size: .8rem; font-weight: 550; color: var(--soft); margin-top: 1px; }
.venture__desc { font-size: .95rem; flex-grow: 1; }
.venture__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.venture__foot .arrow-link { font-size: .88rem; }
.venture__meta { font-size: .78rem; font-weight: 550; color: var(--soft); }

/* Tints */
.tint--ervun { --tint: var(--t-ervun); }
.tint--wistrie { --tint: var(--t-wistrie); }
.tint--tripup { --tint: var(--t-tripup); }
.tint--nexus { --tint: var(--t-nexus); }
.tint--drops { --tint: var(--t-drops); }
.tint--kretx { --tint: var(--t-kretx); }

/* Grid */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.section__head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section__head h2 { margin-top: 18px; }
.section__head p { margin-top: 16px; }
.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.section__head--split > div { max-width: 620px; }

/* Group label between venture rows */
.group-label { display: flex; align-items: center; gap: 16px; margin: 44px 0 20px; }
.group-label:first-of-type { margin-top: 0; }
.group-label__text { font-family: var(--f-display); font-size: .92rem; font-weight: 750; color: var(--ink); white-space: nowrap; }
.group-label__line { flex-grow: 1; height: 1px; background: linear-gradient(90deg, var(--edge), transparent); }

/* ------------------------------------------------------------------ Operate strip */
.opsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.opstep { padding: 26px 26px 26px 0; }
.opstep + .opstep { border-left: 1px solid var(--edge); padding-left: 26px; }
.opstep__k { font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: .14em; color: var(--brand); text-transform: uppercase; }
.opstep h3 { font-size: 1.12rem; margin-top: 10px; }
.opstep p { font-size: .9rem; margin-top: 8px; }

/* ------------------------------------------------------------------ Facts -- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
.fact { display: grid; gap: 3px; }
.fact__k { font-family: var(--f-mono); font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.fact__v { font-weight: 600; color: var(--ink); font-size: .98rem; }
.fact__v a { color: var(--brand); }

/* ------------------------------------------------------------------ Legacy - */
.legacy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.legacy__label { font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.legacy__item {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--glass-faint);
  border: 1px solid var(--edge);
  color: var(--soft); font-size: .88rem; font-weight: 550;
}
.legacy__item b { color: var(--body); font-weight: 650; }

/* ------------------------------------------------------------------ Forms --- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .84rem; font-weight: 650; color: var(--ink); font-family: var(--f-display); }
.field label .req { color: var(--brand); }
.input, .textarea, .select {
  width: 100%; font: inherit; font-size: .96rem; color: var(--ink);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--edge); border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--soft); }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px rgba(64, 89, 232, .14);
}
.textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__note { font-size: .83rem; color: var(--soft); }
.form__note a { color: var(--brand); font-weight: 550; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.contact-info { display: grid; gap: 20px; }
.contact-item { display: grid; gap: 3px; }
.contact-item__label { font-family: var(--f-mono); font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.contact-item a { color: var(--ink); font-weight: 600; width: fit-content; border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s; }
.contact-item a:hover { color: var(--brand); border-color: var(--brand); }

/* ------------------------------------------------------------------ Prose --- */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-top: 44px; margin-bottom: 12px; }
.prose h3 { margin-top: 30px; margin-bottom: 10px; }
.prose p, .prose li { color: var(--body); font-size: 1rem; }
.prose p + p { margin-top: 14px; }
.prose ul { display: grid; gap: 10px; margin: 16px 0; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); opacity: .8; }
.prose a { color: var(--brand); font-weight: 550; border-bottom: 1px solid rgba(64, 89, 232, .3); }
.prose a:hover { border-color: var(--brand); }
.prose strong { color: var(--ink); }
.legal-meta { font-family: var(--f-mono); font-size: .74rem; color: var(--soft); letter-spacing: .06em; }

/* ------------------------------------------------------------------ Footer -- */
.site-footer {
  position: relative;
  margin: 40px 14px 14px;
  border-radius: var(--r-xl);
  background: #0e1435;
  color: #aeb6d6;
  padding-block: clamp(48px, 6vw, 72px) 36px;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 12% 0%, rgba(90, 110, 240, .22), transparent 60%),
    radial-gradient(520px 300px at 88% 100%, rgba(140, 100, 250, .16), transparent 60%);
}
.site-footer > .container { position: relative; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px 28px; }
.footer__brand { max-width: 320px; }
.footer__brand .brand { margin-bottom: 14px; }
.footer__brand .brand__word { color: #fff; }
.footer__tagline { color: #8f98bd; font-size: .93rem; }
.footer__col h4 { font-family: var(--f-mono); font-size: .66rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #6d76a0; margin-bottom: 15px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { color: #b7bfdd; font-size: .93rem; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(160, 170, 215, .16); }
.footer__legal { font-size: .82rem; color: #7d86ad; }
.footer__legal a { color: #aeb6d6; }
.footer__legal a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 11px; border: 1px solid rgba(160, 170, 215, .22); display: grid; place-items: center; color: #aeb6d6; transition: color .2s, border-color .2s, background .2s; }
.socials a:hover { color: #fff; border-color: rgba(200, 208, 240, .5); background: rgba(255, 255, 255, .06); }
.socials svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ Reveal -- */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: .08s; }
html.js .reveal[data-delay="2"] { transition-delay: .16s; }
html.js .reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .stack__card { animation: none !important; }
  .aurora__blob { animation: none !important; }
}

/* Skip link */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--ink); border: 1px solid var(--edge); padding: 10px 16px; border-radius: 10px; transition: top .2s; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Page hero (interior pages) */
.page-hero { padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(28px, 4vw, 48px); }
.page-hero h1 { margin-top: 20px; max-width: 18ch; }
.page-hero p { margin-top: 20px; }

/* Utilities */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.center { text-align: center; }
.center .lead, .center .section__head { margin-inline: auto; }
.flex-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.center-cta { justify-content: center; }

/* ------------------------------------------------------------------ Mobile -- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .stack { min-height: 420px; max-width: 520px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .opsteps { grid-template-columns: 1fr 1fr; }
  .opstep { padding: 20px 20px 20px 0; }
  .opstep + .opstep { padding-left: 20px; }
  .opstep:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--edge); }
  .opstep:nth-child(4) { border-top: 1px solid var(--edge); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { top: 10px; }
  .nav { height: 58px; padding-inline: 16px; }
  .nav__links, .nav__right .btn { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .opsteps { grid-template-columns: 1fr; }
  .opstep { padding: 18px 0 !important; border-left: 0 !important; }
  .opstep + .opstep { border-top: 1px solid var(--edge); }
  .facts { grid-template-columns: 1fr; }
  .stack { min-height: 400px; }
  .stack__card { width: min(300px, 92%); }
  .site-footer { margin: 30px 8px 8px; }

  .nav__panel {
    position: fixed; inset: 84px 10px auto 10px; z-index: 99;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-line);
    box-shadow: var(--shadow-lift);
    padding: 12px 18px 18px; display: none; flex-direction: column; gap: 2px;
  }
  .nav__panel.is-open { display: flex; }
  .nav__panel a { padding: 14px 6px; font-size: 1.02rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--edge); }
  .nav__panel a:last-of-type { border-bottom: 0; }
  .nav__panel .btn { margin-top: 12px; }
}
@media (min-width: 721px) { .nav__panel { display: none !important; } }
@media (max-width: 460px) {
  .hero__cta .btn { width: 100%; }
  .stack { min-height: 430px; }
}
