/* Fuse One — components & layout */

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Aurora floor — vivid teal (left) + electric blue (right) blooming up from the bottom of the screen */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: var(--aurora, 1);
  transition: opacity 0.2s linear;
  background:
    radial-gradient(66rem 50rem at -10% 98%, rgba(31, 229, 194, 0.62), transparent 62%),
    radial-gradient(74rem 56rem at 108% 100%, rgba(61, 139, 255, 0.64), transparent 64%),
    radial-gradient(58rem 38rem at 50% 110%, rgba(36, 205, 235, 0.30), transparent 62%);
  pointer-events: none;
}
/* Faint dot grid — the subtle texture of the canvas */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(125% 95% at 50% 34%, #000 28%, transparent 86%);
  mask-image: radial-gradient(125% 95% at 50% 34%, #000 28%, transparent 86%);
}
/* Live WebGL aurora canvas (layers over the CSS aurora; JS adds .webgl-aurora on success) */
#aurora { position: fixed; inset: 0; z-index: -2; pointer-events: none; display: none; opacity: var(--aurora, 1); transition: opacity 0.3s linear; }
.webgl-aurora #aurora { display: block; }
.webgl-aurora body::before { opacity: calc(var(--aurora, 1) * 0.45); }

img, svg { display: block; max-width: 100%; }
svg { fill: currentColor; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: rgba(61, 139, 255, 0.32); color: #fff; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-xs);
}
/* overflow:hidden clips a box-shadow ring — use a real outline for those */
.card:focus-visible, .nav__toggle:focus-visible,
.stat:focus-visible, .logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: none;
}

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #232838; border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2c3243; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: var(--h1); font-weight: 700; line-height: var(--lh-tight); letter-spacing: var(--tracking-tighter); }
h2 { font-size: var(--h2); font-weight: 500; letter-spacing: -0.02em; }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
p { color: var(--text-muted); }
strong { color: var(--text); font-weight: 600; }

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

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; font-size: var(--fs-lg); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent-bright);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }
.eyebrow__num { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; color: var(--text-dim); }

.lead { font-size: var(--fs-lg); color: var(--text-muted); }

.hairline { height: 1px; background: var(--grad-hairline); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-py: 0.5rem;
  --btn-px: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: var(--btn-py) var(--btn-px);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--ember);
  color: var(--teal-ink);
  box-shadow: 0 10px 30px -12px var(--ember-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--ember-bright); box-shadow: 0 20px 46px -14px var(--ember-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--border-accent); background: var(--accent-softer); color: #fff; }


.btn--lg { --btn-py: 0.64rem; --btn-px: 1.5rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

.btn[disabled], .btn.is-loading { opacity: 0.75; pointer-events: none; }
.btn.is-loading { color: transparent; position: relative; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 1.05em;
  height: 1.05em;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), backdrop-filter var(--dur-fast);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 6, 11, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; gap: 1.5rem; width: 100%; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.logo__mark { display: none; }
.logo__mark { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 18px -8px var(--accent-glow); }
.logo__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  color: var(--text);
}
.logo__word span { color: var(--accent-bright); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-inline: auto;
  list-style: none;
  padding: 0;
}
.nav__links a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-xs);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { content: ""; display: block; height: 2px; margin-top: 2px; border-radius: 2px; background: var(--grad-accent); }

.nav__actions { display: flex; align-items: center; gap: 0.65rem; margin-left: auto; }
.nav__phone { display: none; align-items: center; gap: 0.4rem; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); transition: color var(--dur-fast); }
.nav__phone .bi { color: var(--ember-bright); font-size: 14px; }
.nav__phone:hover { color: var(--text); }
@media (min-width: 980px) { .nav__phone { display: inline-flex; } }
.nav__login {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0.5rem;
  transition: color var(--dur-fast);
}
.nav__login:hover { color: var(--text); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: 0.25rem;
  border-radius: var(--r-xs);
  position: relative;
  flex-shrink: 0;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast);
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: clamp(7rem, 4rem + 9vw, 13rem); overflow: hidden; }
/* Subtle top glow for depth — the main aurora floor lives on body::before */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(44rem 32rem at 84% 2%, rgba(61, 139, 255, 0.09), transparent 60%);
}
.hero__center { max-width: 54rem; margin-inline: auto; text-align: center; }
.hero h1 { margin: 1.1rem auto 0; max-width: 18ch; }
.hero__sub { margin: 1.4rem auto 0; font-size: var(--fs-lg); max-width: 40rem; }
.hero__cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
.hero__trust { margin-top: 2.2rem; display: flex; align-items: center; justify-content: center; gap: 0.9rem; color: var(--text-dim); font-size: var(--fs-sm); }
.hero__trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--grad-accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}
.badge b { color: var(--text); font-weight: 600; }
.badge .pill { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-bright); background: var(--accent-soft); padding: 0.15rem 0.5rem; border-radius: var(--r-pill); }

/* ---------- Stack strip ---------- */
.stack { border-block: 1px solid var(--border); background: var(--bg-soft); padding-block: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); }
.stack .container { text-align: center; }
.stack__eyebrow { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-dim); }
.stack__chips { margin: 1.05rem auto 0; max-width: 56rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; list-style: none; padding: 0; }
.stack__chips li { font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted); padding: 0.4rem 0.9rem; border: 1px solid var(--border); border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.02); transition: color var(--dur-fast), border-color var(--dur-fast); }
.stack__chips li:hover { color: var(--text); border-color: var(--border-accent); }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Bento services grid — a featured card breaks the uniform 3x2 */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card--feature { grid-column: span 2; grid-row: span 2; background: linear-gradient(165deg, rgba(31, 229, 194, 0.08), var(--surface) 58%); border-color: var(--border-accent); }
.card--feature h3 { font-size: clamp(1.4rem, 1.05rem + 1.1vw, 1.9rem); }
.card--feature > p { font-size: var(--fs-base); max-width: 44ch; }
.card--feature .card__icon { background: var(--ember-soft); color: var(--ember-bright); border-color: rgba(31, 229, 194, 0.38); }
.card__list { display: grid; gap: 0.6rem; margin-top: 0.3rem; padding: 0; }
.card__list li { display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-sm); color: var(--text-muted); list-style: none; }
.card__list svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--accent-bright); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.7rem;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(24rem 14rem at var(--mx, 50%) -20%, var(--accent-softer), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
  transition: background var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow), 0 0 44px -22px var(--ember-glow); }
.card:hover::after { opacity: 1; }
.card:hover::before { opacity: 1; background: linear-gradient(155deg, rgba(46, 230, 198, 0.55), transparent 45%, rgba(61, 139, 255, 0.45) 92%); }

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: var(--h4); }
.card p { font-size: var(--fs-sm); }

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 1.6rem 1.4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.step__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--grad-accent);
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  border-radius: 10px;
  box-shadow: 0 8px 20px -10px var(--accent-glow);
}
.step h3 { margin-top: 1.1rem; font-size: 1.15rem; }
.step p { margin-top: 0.5rem; font-size: var(--fs-sm); }
/* Flow connector between steps — drawn from the same converging-line motif */
.step:not(:last-child)::after { content: ""; position: absolute; top: 2.65rem; right: -1.25rem; width: 1.25rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), transparent); opacity: 0.65; }

/* ---------- Promises (was: stats) ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 0.5rem + 2vw, 2.5rem);
}
.stat { position: relative; padding-top: 1.4rem; border-top: 1px solid var(--border-strong); }
.stat::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.25rem; height: 2px; background: var(--grad-accent); }
.stat:nth-child(2)::before { background: var(--ember); }
.stat__num { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.stat__num span { color: var(--accent-bright); }
.stat__label { margin-top: 0.45rem; font-size: var(--fs-sm); color: var(--text-muted); max-width: 26ch; }

/* ---------- Feature split (engagement / why) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.feature-list { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.feature { display: flex; gap: 1rem; }
.feature__ic { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-bright); border: 1px solid var(--border-accent); }
.feature__ic svg { width: 20px; height: 20px; }
.feature h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base); letter-spacing: -0.005em; }
.feature p { margin-top: 0.25rem; font-size: var(--fs-sm); }

.panel-soft {
  position: relative;
  padding: 2rem;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.ring-list { display: grid; gap: 0.9rem; }
.ring-list li { display: flex; align-items: center; gap: 0.8rem; font-size: var(--fs-sm); color: var(--text-muted); list-style: none; }
.ring-list svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--accent-bright); }

/* ---------- Brand motif at scale (faint section watermark) ---------- */
.has-mark { position: relative; overflow: hidden; }
.has-mark > .container { position: relative; z-index: 1; }
.brandmark { position: absolute; pointer-events: none; z-index: 0; opacity: 0.05; color: var(--accent-bright); width: min(46vw, 560px); right: -6%; top: 50%; transform: translateY(-50%); }
.brandmark svg { width: 100%; height: auto; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; }
.field { display: grid; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.label { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.label .opt { font-weight: 400; color: var(--text-dim); }
.req { color: var(--accent-bright); }

.control {
  width: 100%;
  padding: 0.82rem 0.95rem;
  font-size: var(--fs-sm);
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.control::placeholder { color: var(--text-dim); }
.control:hover { border-color: #2f3547; }
.control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--surface); }
textarea.control { resize: vertical; min-height: 8rem; line-height: 1.6; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1rem; top: 50%;
  width: 0.55rem; height: 0.55rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
select.control { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer; }
select.control:invalid { color: var(--text-dim); }
select.control option { background: var(--surface); color: var(--text); }

.field.is-error .control { border-color: var(--danger); }
.field.is-error .control:focus { box-shadow: 0 0 0 3px var(--danger-soft); }
.field__error { font-size: var(--fs-xs); color: var(--danger); min-height: 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.form-status {
  display: none;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1.05rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  border: 1px solid transparent;
}
.form-status.is-visible { display: flex; }
.form-status.is-success { background: var(--success-soft); border-color: rgba(52, 211, 153, 0.3); color: #aef3d6; }
.form-status.is-error { background: var(--danger-soft); border-color: rgba(247, 114, 114, 0.3); color: #ffc9c9; }
.form-status svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  padding: 2.5rem 1.5rem;
}
.form-success.is-visible { display: flex; }
.form-success .ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--success-soft); color: var(--success); }
.form-success .ic svg { width: 30px; height: 30px; }

/* ---------- Contact ---------- */
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.3rem); background: linear-gradient(180deg, var(--surface), var(--bg-soft)); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.form-card .btn { margin-top: 0.4rem; }


/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--border); background: var(--bg-soft); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(46, 230, 198, 0.5) 35%, rgba(61, 139, 255, 0.45) 70%, transparent); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.footer-brand { max-width: 22rem; }
.footer-brand p { margin-top: 1.1rem; font-size: var(--fs-sm); }
.footer-col h5 { font-size: var(--fs-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-dim); font-family: var(--font-body); font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: 0.7rem; }
.footer-col a { font-size: var(--fs-sm); color: var(--text-muted); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: var(--fs-xs); color: var(--text-dim); }
.footer-bottom a { color: var(--text-muted); }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 5rem)); padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); overflow: hidden; }
.page-hero__grid { position: absolute; inset: 0; z-index: -1; background: radial-gradient(46rem 30rem at 50% -12%, rgba(61, 139, 255, 0.09), transparent 62%); pointer-events: none; }
.page-hero h1 { margin-top: 1.2rem; max-width: 18ch; }
.page-hero p { margin-top: 1.2rem; max-width: 44rem; font-size: var(--fs-lg); }

/* ---------- Auth / login ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 0.95fr; }
.auth__aside {
  position: relative;
  padding: clamp(2.5rem, 2rem + 3vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(165deg, #0A1422 0%, #070C16 55%, #05060B 100%);
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.auth__aside::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(34rem 30rem at 8% 112%, rgba(31, 229, 194, 0.22), transparent 58%), radial-gradient(40rem 34rem at 102% 95%, rgba(61, 139, 255, 0.22), transparent 60%); pointer-events: none; }
.auth__aside > * { position: relative; z-index: 1; }
.auth__aside .quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--text); max-width: 24ch; }
.auth__aside .quote span { color: var(--accent-bright); }
.auth__points { display: grid; gap: 0.85rem; margin-top: 2rem; }
.auth__points li { list-style: none; display: flex; align-items: center; gap: 0.7rem; font-size: var(--fs-sm); color: var(--text-muted); }
.auth__points svg { width: 20px; height: 20px; color: var(--accent-bright); flex-shrink: 0; }

.auth__main { display: flex; align-items: center; justify-content: center; min-width: 0; padding: clamp(2rem, 1.5rem + 3vw, 4rem) var(--gutter); }
.auth__card { width: 100%; max-width: 25rem; }
.auth__card h1 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.1rem); }
.auth__card .sub { margin-top: 0.6rem; font-size: var(--fs-sm); color: var(--text-muted); }
.auth__form { margin-top: 2rem; display: grid; gap: 1.1rem; }
.auth__row { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-sm); }
.auth__row a { color: var(--accent-bright); }
.auth__row a:hover { text-decoration: underline; }
.checkbox { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-muted); cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--accent); }
.auth__foot { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--border); font-size: var(--fs-sm); color: var(--text-muted); text-align: center; }
.auth__foot a { color: var(--text); font-weight: 600; }
.auth__back { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 2rem; font-size: var(--fs-sm); color: var(--text-muted); white-space: nowrap; }
.auth__back svg { width: 16px; height: 16px; flex-shrink: 0; }
.auth__back:hover { color: var(--text); }

.input-wrap { position: relative; }
.input-wrap .control { padding-right: 2.8rem; }
.input-affix { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--text-dim); display: grid; place-items: center; }
.input-affix svg { width: 18px; height: 18px; }
button.input-affix { cursor: pointer; }
button.input-affix:hover { color: var(--text-muted); }

/* Multi-step access gate */
.auth__step { animation: authStep var(--dur) var(--ease); }
.auth__step[hidden] { display: none; }
@keyframes authStep { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.auth__icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid rgba(247, 114, 114, 0.3);
}
.auth__icon svg { width: 28px; height: 28px; }

.auth__gate { text-align: center; }
.auth__gate .auth__icon { margin-inline: auto; }
.auth__gate .sub { margin-inline: auto; max-width: 34ch; }
.auth__actions { margin-top: 1.9rem; display: grid; gap: 0.7rem; }

.request-form .form-body { display: grid; gap: 1.1rem; }
.request-form .form-success { padding-block: 1.5rem 0.5rem; }
.auth__ref { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.04em; color: var(--text-dim); }
.auth__ref strong { color: var(--accent-bright); font-weight: 600; }
.form-success .btn { margin-top: 0.7rem; }

/* ---------- Benefits / steps (freelancers) ---------- */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: how; }
.how__item { padding: 1.6rem; border: 1px dashed var(--border-strong); border-radius: var(--r-md); position: relative; }
.how__num { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--accent-bright); letter-spacing: 0.1em; }
.how__item h3 { margin-top: 0.7rem; font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base); }
.how__item p { margin-top: 0.4rem; font-size: var(--fs-sm); }

/* ---------- Reveal / utilities ---------- */
/* Gated behind .js: content is visible by default and only animates when JS runs,
   so a slow/failed script never leaves the page blank. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 0; left: 1rem; z-index: 999; transform: translateY(-130%); padding: 0.6rem 1rem; font-size: var(--fs-sm); font-weight: 600; color: var(--text); background: var(--surface-2); border: 1px solid var(--border-accent); border-radius: var(--r-sm); box-shadow: var(--shadow); transition: transform var(--dur-fast) var(--ease); }
.skip-link:focus { transform: translateY(0.7rem); outline: none; }
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; background: var(--grad-accent); transform: scaleX(0); transform-origin: 0 50%; z-index: 300; pointer-events: none; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.mt-section { margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); }
.muted { color: var(--text-muted); }
.form-note { margin-top: 0.9rem; font-size: var(--fs-xs); color: var(--text-dim); text-align: center; }
.panel-soft .eyebrow { margin-bottom: 0.9rem; }
.panel-title { font-family: var(--font-display); font-weight: 600; font-size: var(--h4); }

/* ---------- Bootstrap Icons sizing (colors inherit from each container) ---------- */
.bi { line-height: 1; vertical-align: -0.1em; }
.card__icon .bi { font-size: 23px; vertical-align: 0; }
.feature__ic .bi { font-size: 19px; vertical-align: 0; }
.ring-list .bi { font-size: 19px; color: var(--ember-bright); }
.card__list .bi { font-size: 14px; color: var(--ember-bright); }
.auth__points .bi { font-size: 16px; color: var(--ember-bright); }
.input-affix .bi { font-size: 17px; vertical-align: 0; }
.auth__back .bi { font-size: 13px; }
.form-success .ic .bi { font-size: 28px; vertical-align: 0; }
.auth__icon .bi { font-size: 26px; vertical-align: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .card--feature { grid-column: span 2; grid-row: span 1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .split { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }

  .nav__panel {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: grid;
    gap: 0.25rem;
    padding: 0.75rem var(--gutter) 1.5rem;
    background: rgba(5, 6, 11, 0.97);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  }
  .nav.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

  .nav__panel .nav__links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav__panel .nav__links a { padding: 0.95rem 0.5rem; font-size: 1.05rem; color: var(--text); border-radius: 0; border-bottom: 1px solid var(--border); }
  .nav__panel .nav__actions { flex-direction: column; align-items: stretch; gap: 0.7rem; margin: 1rem 0 0; }
  .nav__panel .nav__login { display: inline-block; padding: 0.6rem 0.5rem; text-align: center; }
  .nav__panel .nav__actions .btn { width: 100%; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .auth { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
}

@media (max-width: 560px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .card--feature { grid-column: span 1; grid-row: span 1; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

/* Desktop: nav panel is just the inline list */
@media (min-width: 861px) {
  .nav__panel { display: contents; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Modern enhancements (2026) ---------- */
/* Animated conic aurora ring on the featured card (registered @property = Baseline) */
@property --aurora-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.card--feature::before {
  background: conic-gradient(from var(--aurora-angle), var(--ember) 0deg, var(--accent) 90deg, var(--ember-bright) 180deg, var(--accent) 270deg, var(--ember) 360deg);
  opacity: 0.85;
  animation: aurora-spin 7s linear infinite;
}
@keyframes aurora-spin { to { --aurora-angle: 360deg; } }
.card--feature:hover::before { opacity: 1; }

/* Orphan-free body copy */
p, li { text-wrap: pretty; }

/* Cross-document View Transitions — SPA-like page navigation, degrades silently */
@view-transition { navigation: auto; }
#site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out 0.26s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.34s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Hero headline — per-word blur-up entrance */
.js .hero h1 { opacity: 0; }
.hero h1.is-split { opacity: 1; }
.hero h1.is-split .word {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(0.5em);
  animation: word-rise 0.75s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 0.055s + 0.15s);
  will-change: opacity, transform, filter;
}
@keyframes word-rise { to { opacity: 1; filter: blur(0); transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero h1 { opacity: 1; }
  .hero h1.is-split .word { opacity: 1; filter: none; transform: none; animation: none; }
}

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Footer redesign ---------- */
.footer-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem 2.5rem; flex-wrap: wrap;
  padding-bottom: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  border-bottom: 1px solid var(--border);
}
.footer-cta__text h3 { font-size: clamp(1.4rem, 1.05rem + 1.7vw, 2.1rem); letter-spacing: var(--tracking-tight); }
.footer-cta__text p { margin-top: 0.5rem; font-size: var(--fs-base); color: var(--text-muted); }

.footer-contact { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.55rem; font-size: var(--fs-sm); color: var(--text-muted); transition: color var(--dur-fast); }
.footer-contact a:hover { color: var(--text); }
.footer-contact .bi { font-size: 15px; color: var(--accent-bright); }

.footer-wordmark {
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.25rem, 15vw, 13.5rem); line-height: 0.78; letter-spacing: -0.05em; text-align: center;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.16; user-select: none; pointer-events: none;
}

.footer-bottom { margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.footer-totop { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-xs); color: var(--text-muted); transition: color var(--dur-fast); }
.footer-totop:hover { color: var(--text); }
.footer-totop svg { width: 14px; height: 14px; }

@media (max-width: 640px) {
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-wordmark { font-size: 22vw; }
}


/* ---------- Contact modal (native dialog) ---------- */
.modal {
  width: min(40rem, calc(100vw - 1.5rem));
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.35s var(--ease-out), transform 0.4s var(--ease-out), display 0.4s allow-discrete, overlay 0.4s allow-discrete;
}
.modal[open] { opacity: 1; transform: none; }
@starting-style { .modal[open] { opacity: 0; transform: translateY(14px) scale(0.985); } }
.modal::backdrop {
  background: rgba(4, 6, 12, 0.6);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  opacity: 0;
  transition: opacity 0.35s var(--ease), display 0.35s allow-discrete, overlay 0.35s allow-discrete;
}
.modal[open]::backdrop { opacity: 1; }
@starting-style { .modal[open]::backdrop { opacity: 0; } }
.modal__panel {
  position: relative;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.modal__panel > .eyebrow { color: var(--ember-bright); }
.modal h2 { margin-top: 0.7rem; font-size: var(--h3); }
.modal__sub { margin-top: 0.5rem; color: var(--text-muted); }
.modal .form-body { margin-top: 1.4rem; }
.modal__close { position: absolute; top: 0.85rem; right: 0.85rem; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: var(--r-sm); color: var(--text-muted); transition: color var(--dur-fast), background var(--dur-fast); }
.modal__close:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.modal__close .bi { font-size: 17px; }
@media (prefers-reduced-motion: reduce) {
  .modal, .modal::backdrop { transition: none; }
  .modal { transform: none; }
}

/* ---------- Contact section ---------- */
#contact { position: relative; background: var(--bg); z-index: 1; }
#contact::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.6; background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(20% - 1px), rgba(255, 255, 255, 0.045) calc(20% - 1px), rgba(255, 255, 255, 0.045) 20%); }
.contact-x { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 1rem + 6vw, 7rem); align-items: center; }
.contact-x__form { max-width: 28rem; width: 100%; }
.contact-min .field { margin-bottom: 1.7rem; }
.contact-min .control { width: 100%; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); border-radius: 0; background: transparent; padding: 0.7rem 0; font-size: var(--fs-base); color: #fff; transition: border-color var(--dur-fast); }
.contact-min .control::placeholder { color: var(--text-dim); }
.contact-min .control:focus { outline: none; box-shadow: none; border-bottom-color: var(--ember); }
.contact-min textarea.control { resize: vertical; min-height: 2.4rem; line-height: 1.55; }
.contact-min .select-wrap { position: relative; }
.contact-min .select-wrap::after { content: ""; position: absolute; right: 2px; top: 42%; width: 7px; height: 7px; border-right: 1.5px solid var(--text-dim); border-bottom: 1.5px solid var(--text-dim); transform: translateY(-50%) rotate(45deg); pointer-events: none; }
.contact-min select.control { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 1.5rem; }
.contact-min select.control option { background: var(--bg-soft); color: var(--text); }
.contact-min .btn { margin-top: 1.4rem; }
.contact-x__display { position: relative; }
.contact-display { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 1rem + 8vw, 6.5rem); line-height: 0.95; letter-spacing: var(--tracking-tighter); color: #fff; }
.contact-display__us { display: flex; align-items: center; justify-content: flex-end; gap: clamp(0.8rem, 2.5vw, 1.8rem); margin-top: 0.08em; }
.contact-rule { display: inline-block; width: clamp(2.5rem, 8vw, 7rem); height: 2px; background: linear-gradient(90deg, var(--ember), var(--accent)); flex-shrink: 0; }
.contact-comment { margin-top: clamp(1.8rem, 1rem + 2vw, 2.8rem); max-width: 30rem; font-size: var(--fs-base); color: var(--text-muted); }
.contact-lines { margin-top: 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; font-size: var(--fs-sm); }
.contact-lines a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.25); padding-bottom: 1px; transition: border-color var(--dur-fast); }
.contact-lines a:hover { border-color: var(--ember); }
.contact-lines span { color: var(--text-dim); }
@media (max-width: 820px) {
  .contact-x { grid-template-columns: 1fr; gap: 3rem; }
  .contact-x__display { order: -1; }
  .contact-x__form { max-width: none; }
  .contact-display__us { justify-content: flex-start; }
}
