/* =========================================================
   MIGHTY MOBILITY GROUP — Design System
   Palette: Midnight Ink + Signal Amber
   Type: Clash Display / Manrope / JetBrains Mono
   ========================================================= */
@import url("https://api.fontshare.com/v2/css?f[]=clash-display@500,600,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --ink: #05070c;
  --night: #0a0f18;
  --panel: #0f1521;
  --panel-2: #151c2b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef1f6;
  --muted: #8d97a9;
  --dim: #5d6779;
  --gold: #f5b841;
  --gold-2: #ffdc8a;
  --gold-3: #c4841a;
  --ivory: #f6f2ea;
  --ivory-2: #ece6da;
  --ink-text: #0a0f18;
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --info: #60a5fa;
  --grad-gold: linear-gradient(135deg, #ffe7a8 0%, #f5b841 42%, #c4841a 100%);
  --grad-text: linear-gradient(100deg, #fff3cf 0%, #f5b841 50%, #e09a24 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --f-display: "Clash Display", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

/* grain overlay for richness */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(60px, 7vw, 96px) 0; }
.section--light { background: var(--ivory); color: var(--ink-text); }
.section--light .muted { color: #5b6472; }
.section--panel { background: var(--night); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; margin: 0; letter-spacing: -0.02em; line-height: 1.02; }
.h-hero { font-size: clamp(2.9rem, 7.6vw, 7rem); line-height: 0.95; letter-spacing: -0.035em; }
.h-xl { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.h-lg { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.h-md { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; }
.h-sm { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.section--light .lead { color: #4d5664; }
.muted { color: var(--muted); }
.gold-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.outline-text { -webkit-text-stroke: 1.2px rgba(255,255,255,.55); color: transparent; }
.mono { font-family: var(--f-mono); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section--light .eyebrow { color: var(--gold-3); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--grad-gold);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--ink);
  font-weight: 600; font-size: 15.5px; letter-spacing: 0.01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 10px 30px -10px rgba(245, 184, 65, 0.55), inset 0 1px 0 rgba(255,255,255,.5);
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { box-shadow: 0 18px 40px -12px rgba(245, 184, 65, 0.75), inset 0 1px 0 rgba(255,255,255,.5); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost {
  background: rgba(255,255,255,.04); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); background: rgba(245,184,65,.08); }
.btn--dark { background: var(--ink); color: var(--text); box-shadow: none; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Scroll progress + preloader + transition ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-gold); z-index: 1001; }

.preloader {
  position: fixed; inset: 0; z-index: 2000; background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader svg { width: 92px; height: 92px; }
.preloader .pl-road { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.2s var(--ease) forwards; }
.preloader .pl-lane { opacity: 0; animation: fadeIn .4s .9s forwards, lane 1s linear infinite; }
.preloader__word { font-family: var(--f-display); letter-spacing: .38em; font-size: 13px; color: var(--muted); overflow: hidden; }
.preloader__word span { display: inline-block; transform: translateY(110%); animation: up .8s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes up { to { transform: translateY(0); } }
@keyframes lane { to { stroke-dashoffset: -14; } }

.page-wipe {
  position: fixed; inset: 0; z-index: 1500; pointer-events: none;
  background: var(--grad-gold);
  transform: scaleY(0); transform-origin: bottom;
}
.page-wipe.in { animation: wipeIn .55s var(--ease) forwards; }
@keyframes wipeIn { to { transform: scaleY(1); } }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo .lane { animation: lane 1.4s linear infinite; animation-play-state: paused; }
.logo:hover .lane { animation-play-state: running; }
.logo__word { display: grid; line-height: 1; }
.logo__word b { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: 0.04em; }
.logo__word b i { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__word small { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .34em; color: var(--muted); margin-top: 5px; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 18px 0;
  transition: padding .4s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { padding: 10px 0; background: rgba(5,7,12,.72); backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.header.hidden { transform: translateY(-100%); }
.header { transition: transform .5s var(--ease), padding .4s var(--ease), background .4s; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: #c8cfdb;
  border-radius: 999px; transition: color .3s;
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); transform: translateX(-50%);
}
.header__cta { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.06); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: #fff; transition: .4s var(--ease); }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 850; background: var(--ink);
  padding: 120px 28px 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 50px) 44px); transition: clip-path .8s var(--ease);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 44px); }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu nav a { font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; letter-spacing: -0.02em; opacity: 0; transform: translateY(20px); transition: .6s var(--ease); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.mobile-menu nav a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 150px 0 70px; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: -6% 0 0 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 18s var(--ease) forwards; filter: saturate(0.9) contrast(1.05); }
@keyframes kenburns { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 85% 20%, rgba(245,184,65,.18), transparent 60%),
    linear-gradient(180deg, rgba(5,7,12,.55) 0%, rgba(5,7,12,.35) 35%, rgba(5,7,12,.92) 82%, var(--ink) 100%),
    linear-gradient(90deg, rgba(5,7,12,.85) 0%, rgba(5,7,12,.2) 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: end; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.loaded .hero h1 .line > span { transform: none; }
.loaded .hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
.loaded .hero h1 .line:nth-child(3) > span { transition-delay: .24s; }
.hero__sub { margin: 28px 0 36px; }
.hero__fade { opacity: 0; transform: translateY(18px); transition: 1s var(--ease) .5s; }
.loaded .hero__fade { opacity: 1; transform: none; }

.hero-stack { display: grid; gap: 14px; justify-items: end; }
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.live-card { padding: 18px 20px; width: min(340px, 100%); }
.live-card__top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.live-card__val { font-family: var(--f-display); font-size: 30px; font-weight: 600; margin-top: 8px; letter-spacing: -0.01em; }
.pulse { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); }
.pulse::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 100% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } }
.float { animation: float 6s ease-in-out infinite; }
.float--2 { animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; margin-top: 12px; }
.mini-bars i { flex: 1; background: linear-gradient(180deg, var(--gold), rgba(245,184,65,.15)); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }
.split-row { display: flex; gap: 10px; margin-top: 12px; font-size: 13px; }
.split-row div { flex: 1; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); }
.split-row b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 14px; margin-top: 2px; }

.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 70px; border-top: 1px solid var(--line); }
.hero__stats > div { padding: 26px 24px 0 0; }
.hero__stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-num { font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -0.02em; }
.stat-num sup { font-size: .5em; color: var(--gold); margin-left: 2px; }
.stat-label { color: var(--muted); font-size: 14px; }
.scroll-cue { position: absolute; right: 24px; bottom: 30px; writing-mode: vertical-rl; font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--gold), transparent); animation: cue 2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 190px 0 90px; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 80% 0%, rgba(245,184,65,.14), transparent 60%), linear-gradient(180deg, rgba(5,7,12,.6), var(--ink)); }
.crumbs { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

/* Road line decoration */
.roadline { position: absolute; inset: auto 0 0 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(245,184,65,.7) 0 34px, transparent 34px 60px); background-size: 60px 2px; animation: road 1.6s linear infinite; opacity: .5; }
@keyframes road { to { background-position: -60px 0; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: var(--night); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 56px; font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 500; white-space: nowrap; color: #cfd5df; }
.marquee__item::after { content: ""; width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); border-radius: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].in { opacity: 1; transform: none; }
.img-reveal { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.img-reveal img { transform: scale(1.18); transition: transform 1.6s var(--ease); width: 100%; height: 100%; object-fit: cover; }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: right; transition: transform 1.1s var(--ease); }
.img-reveal.in img { transform: scale(1); }
.img-reveal.in::after { transform: scaleX(0); }

/* ---------- Section head ---------- */
.sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.sec-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head--center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }

/* ---------- Cards & bento ---------- */
.card {
  position: relative; border-radius: var(--radius-lg);
  background: var(--panel); border: 1px solid var(--line);
  padding: 34px; overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(245,184,65,.13), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(245,184,65,.35); }
.icon-badge { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(245,184,65,.1); color: var(--gold); border: 1px solid rgba(245,184,65,.25); margin-bottom: 26px; }
.icon-badge svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }
.card__num { position: absolute; top: 28px; right: 30px; font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.card__link { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; color: var(--gold); font-weight: 500; font-size: 15px; }
.card__link svg { transition: transform .4s var(--ease); }
.card:hover .card__link svg { transform: translateX(5px); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento > .card:nth-child(1) { grid-column: span 4; min-height: 420px; padding: 0; display: flex; align-items: flex-end; }
.bento > .card:nth-child(2) { grid-column: span 2; }
.bento > .card:nth-child(3) { grid-column: span 2; }
.bento > .card:nth-child(4) { grid-column: span 2; }
.bento > .card:nth-child(5) { grid-column: span 2; }
.bento > .card:nth-child(6) { grid-column: span 6; }
.card--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.card--image:hover img { transform: scale(1.05); }
.card--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(5,7,12,.95)); }
.card--image .card__body { padding: 38px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-family: var(--f-mono); letter-spacing: .06em; background: rgba(245,184,65,.12); color: var(--gold-2); border: 1px solid rgba(245,184,65,.25); margin-bottom: 16px; }
.wide-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--rev > :first-child { order: 2; }
.feature-img { aspect-ratio: 4/5; }
.feature-img--wide { aspect-ratio: 16/11; }
.checklist { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; margin-top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305070c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.img-badge { position: absolute; left: -28px; bottom: 40px; padding: 18px 22px; display: flex; gap: 14px; align-items: center; z-index: 2; }
.img-badge b { font-family: var(--f-display); font-size: 28px; }
.rel { position: relative; }

/* ---------- Flow (payment) ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 0; margin-top: 60px; }
.flow__node { text-align: center; padding: 30px 22px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); position: relative; }
.flow__node--core { background: linear-gradient(160deg, rgba(245,184,65,.16), rgba(245,184,65,.03)); border-color: rgba(245,184,65,.4); }
.flow__node .icon-badge { margin: 0 auto 18px; }
.flow__node small { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.flow__pipe { width: clamp(40px, 8vw, 120px); height: 2px; position: relative; background: var(--line-2); overflow: visible; }
.flow__pipe::after { content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold); animation: travel 2.4s var(--ease) infinite; }
.flow__pipe--2::after { animation-delay: 1.2s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }

/* ---------- Tabs / steps ---------- */
.switch { display: inline-flex; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); position: relative; margin-bottom: 50px; }
.switch button { position: relative; z-index: 1; border: 0; background: none; padding: 12px 26px; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--muted); transition: color .4s; }
.switch button.active { color: var(--ink); }
.switch__pill { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: var(--grad-gold); transition: transform .55s var(--ease), width .55s var(--ease); }
.section--light .switch { background: #fff; border-color: var(--ivory-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps[hidden] { display: none; }
.step { position: relative; padding: 30px 26px 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--ivory-2); transition: transform .5s var(--ease), box-shadow .5s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10,15,24,.35); }
.step__n { font-family: var(--f-display); font-size: 56px; font-weight: 600; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 30px; display: block; }
.step h4 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { margin: 0; color: #5b6472; font-size: 15.5px; }
.steps--anim .step { animation: stepIn .8s var(--ease) both; }
.steps--anim .step:nth-child(2) { animation-delay: .08s; } .steps--anim .step:nth-child(3) { animation-delay: .16s; } .steps--anim .step:nth-child(4) { animation-delay: .24s; }
@keyframes stepIn { from { opacity: 0; transform: translateY(30px); } }

/* Timeline (how it works page) */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 60px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--line-2); }
.timeline__fill { position: absolute; left: 21px; top: 10px; width: 2px; background: var(--grad-gold); height: 0; transition: height .2s linear; }
.tl-item { position: relative; padding: 28px 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.tl-item::before { content: attr(data-n); position: absolute; left: -60px; top: 24px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; background: var(--ink); border: 1px solid var(--gold); color: var(--gold); }
.tl-item h4 { font-size: 1.3rem; margin-bottom: 8px; }
.tl-item p { margin: 0; color: var(--muted); }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.calc__in { padding: 40px; background: var(--panel); display: grid; gap: 26px; }
.calc__out { padding: 40px; background: linear-gradient(160deg, rgba(245,184,65,.14), rgba(245,184,65,.02)); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.range-field label { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.range-field label b { font-family: var(--f-mono); color: var(--text); font-weight: 500; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), rgba(255,255,255,.1) var(--p, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); cursor: grab; box-shadow: 0 0 0 6px rgba(245,184,65,.15); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); cursor: grab; }
.calc__row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px dashed var(--line-2); }
.calc__row span { color: var(--muted); }
.calc__row b { font-family: var(--f-mono); font-weight: 500; }
.calc__total { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -0.02em; }
.calc__bar { height: 12px; border-radius: 99px; overflow: hidden; display: flex; background: rgba(255,255,255,.06); }
.calc__bar i { transition: width .6s var(--ease); }
.note { font-size: 13px; color: var(--dim); }

/* ---------- Values / about ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mv .card { padding: 44px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ivory-2); border: 1px solid var(--ivory-2); border-radius: var(--radius-lg); overflow: hidden; }
.values > div { background: var(--ivory); padding: 40px 34px; transition: background .4s; }
.values > div:hover { background: #fff; }
.values h4 { font-size: 1.35rem; margin: 18px 0 10px; }
.values p { margin: 0; color: #5b6472; font-size: 15.5px; }
.values .vn { font-family: var(--f-mono); font-size: 12px; color: var(--gold-3); }
.big-quote { font-family: var(--f-display); font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 500; }
.big-quote em { font-style: normal; color: var(--gold); }

/* ---------- Services page ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; padding: 70px 0; border-top: 1px solid var(--line); }
.svc:nth-child(even) > :first-child { order: 2; }
.svc__img { aspect-ratio: 5/4; }
.svc__n { font-family: var(--f-mono); color: var(--gold); font-size: 13px; letter-spacing: .14em; }
.svc h3 { margin: 14px 0 18px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { padding: 34px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--ivory-2); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote p { margin: 0; font-size: 17px; color: #2a3240; }
.quote__who { display: flex; gap: 12px; align-items: center; }
.quote__who .avatar { width: 42px; height: 42px; }
.quote__who b { display: block; font-size: 15px; }
.quote__who small { color: #6b7482; }
.stars { color: var(--gold-3); letter-spacing: 3px; font-size: 14px; }
.placeholder-note { display: inline-block; margin-top: 30px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; color: #8a7a55; background: rgba(196,132,26,.08); border: 1px dashed rgba(196,132,26,.4); padding: 6px 12px; border-radius: 8px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 36px; overflow: hidden; padding: clamp(50px, 8vw, 100px); isolation: isolate; background: var(--grad-gold); color: var(--ink); }
.cta-band h2 { max-width: 16ch; }
.cta-band p { max-width: 50ch; font-size: 18px; color: rgba(5,7,12,.75); margin: 22px 0 34px; }
.cta-band .bg-m { position: absolute; right: -40px; bottom: -60px; width: min(520px, 60%); z-index: -1; opacity: .18; }
.cta-band .btn { background: var(--ink); color: #fff; box-shadow: none; }
.cta-band .btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.form-aside { position: sticky; top: 120px; }
.form-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); }
.stepper { display: flex; gap: 8px; margin-bottom: 34px; }
.stepper div { flex: 1; }
.stepper i { display: block; height: 3px; border-radius: 3px; background: var(--line-2); position: relative; overflow: hidden; }
.stepper i::after { content: ""; position: absolute; inset: 0; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.stepper .done i::after, .stepper .current i::after { transform: scaleX(1); }
.stepper span { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: 10px; }
.stepper .current span, .stepper .done span { color: var(--gold); }
.fieldset { display: none; }
.fieldset.active { display: block; animation: stepIn .6s var(--ease); }
.fieldset h3 { margin-bottom: 6px; }
.fieldset > p { color: var(--muted); margin: 0 0 28px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: #c7cdd8; font-weight: 500; }
.field label em { color: var(--gold); font-style: normal; }
.input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03); color: var(--text); outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b841' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field select option { background: var(--panel); }
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(245,184,65,.12); background: rgba(245,184,65,.03); }
.field.invalid .input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(248,113,113,.1); }
.field .err { font-size: 12px; color: var(--bad); display: none; }
.field.invalid .err { display: block; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: grid; gap: 10px; padding: 20px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); transition: .3s; font-weight: 500; }
.choice span svg { width: 28px; height: 28px; color: var(--muted); transition: .3s; }
.choice span small { color: var(--dim); font-weight: 400; font-size: 12.5px; }
.choice input:checked + span { border-color: var(--gold); background: rgba(245,184,65,.08); box-shadow: 0 0 0 4px rgba(245,184,65,.1); }
.choice input:checked + span svg { color: var(--gold); }
.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; gap: 12px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 18px; }
.consent input { margin-top: 4px; accent-color: var(--gold); width: 17px; height: 17px; }
.success { text-align: center; padding: 30px 10px; display: none; }
.success.show { display: block; animation: stepIn .8s var(--ease); }
.success__check { width: 86px; height: 86px; margin: 0 auto 24px; }
.success__check circle { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1s var(--ease) forwards; }
.success__check path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s .7s var(--ease) forwards; }
.ref { display: inline-block; margin-top: 16px; font-family: var(--f-mono); padding: 8px 14px; border-radius: 10px; background: rgba(245,184,65,.1); color: var(--gold-2); }

.info-list { display: grid; gap: 14px; margin-top: 34px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.info-item:hover { border-color: rgba(245,184,65,.35); transform: translateX(4px); }
.info-item .icon-badge { margin: 0; width: 46px; height: 46px; border-radius: 12px; flex: none; }
.info-item .icon-badge svg { width: 21px; height: 21px; }
.info-item small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.info-item b { font-weight: 500; }
.tbc { color: var(--gold-2); font-style: italic; font-weight: 400; opacity: .85; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: .35s var(--ease); }
.socials a:hover { background: var(--gold); color: var(--ink); box-shadow: none; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; background: var(--night); border: 1px solid var(--line); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map { min-height: 420px; }
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.85) brightness(.95); }
.map__card { position: absolute; left: 20px; bottom: 20px; display: grid; gap: 4px; padding: 14px 18px; border-radius: 12px; background: var(--ink); border: 1px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.4); font-size: 14px; }
.map__card span { opacity: .75; }
.map__card a { margin-top: 6px; color: var(--gold); font-weight: 600; font-size: 13px; }
@media (max-width: 600px) { .map { min-height: 340px; } .map__card { left: 12px; right: 12px; bottom: 12px; } }
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 8px; }
.map__pin span { padding: 8px 14px; border-radius: 10px; background: var(--ink); border: 1px solid var(--gold); font-size: 13px; white-space: nowrap; }
.map__pin i { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 8px rgba(245,184,65,.2), 0 0 0 18px rgba(245,184,65,.08); animation: ping2 2s infinite; }
@keyframes ping2 { 50% { box-shadow: 0 0 0 12px rgba(245,184,65,.25), 0 0 0 28px rgba(245,184,65,0); } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); padding: 0 26px; transition: border-color .3s; }
.faq details[open] { border-color: rgba(245,184,65,.35); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; font-weight: 500; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--gold); font-size: 22px; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); }

/* Toast */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 140%); z-index: 1200; padding: 14px 20px; border-radius: 14px; display: flex; gap: 12px; align-items: center; font-size: 14.5px; transition: transform .6s var(--ease); }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.footer { background: var(--night); border-top: 1px solid var(--line); padding: 90px 0 30px; position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 60px; }
.footer h5 { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin: 0 0 20px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { color: #c8cfdb; font-size: 15px; transition: color .3s; }
.footer ul a:hover { color: var(--gold); }
.footer__tag { color: var(--muted); max-width: 36ch; margin: 22px 0 26px; }
.footer__giant { font-family: var(--f-display); font-weight: 600; font-size: clamp(3rem, 12.5vw, 12rem); line-height: .85; letter-spacing: -0.04em; white-space: nowrap; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; margin: 10px 0 -10px; text-align: center; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--gold); }

/* Brand page */
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.swatch { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.swatch div { height: 150px; }
.swatch p { margin: 0; padding: 14px 16px; font-size: 14px; }
.swatch p small { display: block; font-family: var(--f-mono); color: var(--muted); font-size: 12px; }
.logo-stage { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.logo-tile { border-radius: var(--radius-lg); border: 1px solid var(--line); min-height: 300px; display: grid; place-items: center; padding: 40px; position: relative; overflow: hidden; }
.logo-tile .cap { position: absolute; left: 22px; bottom: 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.logo-xl svg { width: 120px; height: 120px; }
.logo-xl .logo__word b { font-size: 46px; }
.logo-xl .logo__word small { font-size: 14px; }
.logo-xl { gap: 26px; }
.type-spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.type-spec .card .Aa { font-size: 96px; line-height: 1; margin: 10px 0 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero-stack { justify-items: start; grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .sec-head, .split, .wide-card, .calc, .form-shell, .mv, .svc, .logo-stage { grid-template-columns: 1fr; }
  .split--rev > :first-child, .svc:nth-child(even) > :first-child { order: 0; }
  .bento > .card { grid-column: span 6 !important; }
  .bento > .card:nth-child(1) { min-height: 360px; }
  .flow { grid-template-columns: 1fr; justify-items: stretch; }
  .flow__pipe { width: 2px; height: 50px; margin: 0 auto; }
  .flow__pipe::after { left: -4px !important; animation-name: travelY; }
  .values, .quotes, .type-spec { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .form-aside { position: static; }
  .img-badge { left: 16px; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__stats > div { padding-top: 22px; }
}
@keyframes travelY { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-stack { grid-template-columns: 1fr; }
  .hero-stack .live-card:nth-child(2) { display: none; }
  .steps, .fields { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .calc__in, .calc__out { padding: 28px; }
  .header__cta .btn { display: none; }
  .card { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Fixes / utilities ---------- */
[data-logo] > svg { width: 100%; height: auto; }
.choice span i { display: block; line-height: 0; }
.values--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .values--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  [style*="sticky"] { position: static !important; }
  .values--4 { grid-template-columns: 1fr; }
}
.btn[hidden] { display: none; }
.toast { opacity: 0; visibility: hidden; transition: transform .6s var(--ease), opacity .4s, visibility .4s; }
.toast.show { opacity: 1; visibility: visible; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-gold); display: grid; place-items: center; color: var(--ink); font-weight: 700; font-size: 13px; flex: none; }
.hero-checks { list-style: none; margin: 14px 0 2px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.hero-checks li { display: flex; align-items: center; gap: 10px; }
.hero-checks li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305070c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.split-row .hero-ic { display: block; width: 26px; height: 26px; color: var(--gold); margin-bottom: 8px; }
.split-row .hero-ic svg { width: 100%; height: 100%; }
.split-row div > .muted { font-size: 12.5px; }
.split-row div > b { font-family: var(--f-body); font-weight: 600; }
