/* =========================================================
   CRAFTORA — Digital Design & Engineering Studio
   Design system + components
   ========================================================= */

:root {
  --bg: #06070b;
  --bg-2: #0b0d12;
  --bg-3: #11141b;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f7fa;
  --text-2: #c4cad6;
  --muted: #858ea1;
  --blue: #168bff;
  --blue-2: #1fa2ff;
  --violet: #7047ff;
  --grad: linear-gradient(120deg, #1fa2ff 0%, #3d6bff 50%, #7047ff 100%);
  --grad-soft: linear-gradient(120deg, rgba(31, 162, 255, 0.16), rgba(112, 71, 255, 0.16));

  --f-sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-brand: "Outfit", var(--f-sans);
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

/* Grain overlay */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 9998; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
  opacity: 0.045;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 13vw, 180px) 0; }
.section--tight { padding: clamp(72px, 9vw, 120px) 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--grad);
}
.eyebrow--pill {
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}
.eyebrow--pill::before {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 0 0 rgba(31, 162, 255, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 162, 255, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(31, 162, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 162, 255, 0); }
}

.display {
  font-size: clamp(46px, 8.4vw, 138px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 0;
}
.h1 { font-size: clamp(42px, 6.4vw, 104px); line-height: 0.98; letter-spacing: -0.04em; font-weight: 600; margin: 0; }
.h2 { font-size: clamp(36px, 5vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; margin: 0; }
.h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 550; margin: 0; }
.h4 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; margin: 0; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); }

.section-head { display: grid; gap: 28px; margin-bottom: clamp(56px, 7vw, 96px); }
.section-head--split {
  grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: 48px;
}
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } }

/* Split-line reveal masks */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line-mask > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --h: 58px;
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  height: var(--h);
  padding: 0 10px 0 28px;
  border-radius: 100px;
  font-weight: 550; font-size: 15.5px; letter-spacing: -0.005em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s;
}
.btn .btn-ico {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  transition: transform 0.5s var(--ease), background 0.4s;
}
.btn .btn-ico svg { width: 16px; height: 16px; }
.btn:hover .btn-ico { transform: rotate(-45deg); }

.btn--primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 40px -10px rgba(61, 107, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary .btn-ico { background: rgba(255, 255, 255, 0.16); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 18px 60px -12px rgba(112, 71, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); }

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
}
.btn--ghost .btn-ico { background: rgba(255, 255, 255, 0.07); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }

.btn--white { background: #fff; color: #0b0d12; }
.btn--white .btn-ico { background: #0b0d12; color: #fff; }

.btn--sm { --h: 46px; padding: 0 6px 0 20px; font-size: 14px; gap: 10px; }
.btn--sm .btn-ico { width: 34px; height: 34px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 550; font-size: 15px; color: var(--text);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.5s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease); }
.link-arrow:hover span { background-size: 100% 1px; }

/* ---------- Cursor ---------- */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none; border-radius: 50%;
  transform: translate3d(-100px, -100px, 0);
}
.cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.4s, border-color 0.4s;
}
.cursor-ring.is-hover {
  width: 72px; height: 72px; margin: -36px 0 0 -36px;
  background: rgba(112, 71, 255, 0.12); border-color: rgba(112, 71, 255, 0.5);
}
.cursor-ring.is-view {
  width: 104px; height: 104px; margin: -52px 0 0 -52px;
  background: rgba(255, 255, 255, 0.95); border-color: transparent;
}
.cursor-ring.is-view::after {
  content: "View"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #0b0d12; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__mark { width: 74px; height: 74px; }
.preloader__mark path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader__word { font-family: var(--f-brand); letter-spacing: 0.42em; font-size: 13px; color: var(--text-2); padding-left: 0.42em; }
.preloader__bar { width: 140px; height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform: translateX(-100%); animation: bar 1.2s var(--ease) forwards; }
@keyframes bar { to { transform: translateX(0); } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: transform 0.6s var(--ease), background 0.4s, border-color 0.4s, height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  --header-h: 72px;
  background: rgba(6, 7, 11, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 34px; height: 34px; flex: none; transition: transform 0.8s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-60deg); }
.logo__word {
  font-family: var(--f-brand); font-weight: 400;
  font-size: 17px; letter-spacing: 0.32em; line-height: 1;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 100px;
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color 0.3s, background 0.3s;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--blue-2);
}
.nav__link svg { width: 10px; height: 10px; transition: transform 0.4s var(--ease); }
.nav__item { position: relative; }
.nav__item:hover .nav__link svg, .nav__item:focus-within .nav__link svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: min(760px, 90vw);
  transform: translate(-50%, 10px);
  opacity: 0; visibility: hidden;
  padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: rgba(14, 16, 23, 0.92);
  backdrop-filter: blur(24px);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0.35s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__link {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  padding: 14px; border-radius: 14px;
  transition: background 0.3s;
}
.mega__link:hover { background: rgba(255, 255, 255, 0.05); }
.mega__ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line-2);
}
.mega__ico svg { width: 20px; height: 20px; stroke: #9cc8ff; }
.mega__title { font-weight: 600; font-size: 15px; display: block; }
.mega__desc { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; margin-top: 2px; }

.header__cta { display: flex; align-items: center; gap: 12px; }
.burger {
  display: none;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2);
  position: relative;
}
.burger span {
  position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--text);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: block; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: rgba(6, 7, 11, 0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-in-out);
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 8vw, 44px); font-weight: 550; letter-spacing: -0.03em;
}
.mobile-menu__list a small { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.mobile-menu__sub { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.mobile-menu__sub a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 100px; font-size: 14px; color: var(--text-2); }
.mobile-menu .btn { margin-top: 32px; align-self: flex-start; }

/* ---------- Ambient backgrounds ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora__blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.55;
  animation: float 18s ease-in-out infinite alternate;
}
.aurora__blob--1 { width: 46vw; height: 46vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, #1567ff 0%, transparent 65%); top: -18%; right: -8%; }
.aurora__blob--2 { width: 38vw; height: 38vw; max-width: 620px; max-height: 620px; background: radial-gradient(circle, #6a3cff 0%, transparent 65%); top: 18%; right: 22%; animation-duration: 22s; animation-delay: -6s; }
.aurora__blob--3 { width: 30vw; height: 30vw; background: radial-gradient(circle, #0a9bff 0%, transparent 65%); bottom: -20%; left: -10%; opacity: 0.25; animation-duration: 26s; }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4%, 6%) scale(1.08); }
  100% { transform: translate(5%, -3%) scale(0.95); }
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + clamp(48px, 8vh, 96px)) 0 clamp(48px, 6vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__copy { display: grid; gap: 30px; justify-items: start; }
.hero .display { font-size: clamp(46px, 6.3vw, 112px); }
@media (max-width: 1080px) { .hero .display { font-size: clamp(46px, 11vw, 104px); } }
@media (max-width: 600px) {
  .eyebrow { font-size: 10.5px; letter-spacing: 0.12em; }
  .eyebrow--pill { white-space: normal; line-height: 1.5; }
  .btn { --h: 54px; padding-left: 22px; font-size: 15px; }
}
.hero__title .serif { font-weight: 400; }
.hero__sub { font-size: clamp(17px, 1.35vw, 20px); color: var(--text-2); max-width: 54ch; margin: 0; }
.hero__sub strong { color: var(--text); font-weight: 550; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 12px;
  font-size: 13.5px; color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 14px; height: 14px; stroke: var(--blue-2); }

/* Hero visual stage */
.stage { position: relative; height: clamp(440px, 52vw, 640px); perspective: 1400px; }
.stage__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.9s var(--ease); }
.glass {
  position: absolute;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.browser { top: 6%; left: 4%; right: 4%; height: 70%; overflow: hidden; border-radius: 22px; }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); }
.browser__url {
  margin-left: 14px; flex: 1; max-width: 260px; height: 22px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--f-mono); font-size: 10.5px; color: var(--muted);
  display: flex; align-items: center; padding: 0 10px; gap: 6px;
}
.browser__body { padding: 26px 26px; display: grid; gap: 16px; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; }
.mock-nav b { width: 70px; height: 10px; border-radius: 4px; background: rgba(255, 255, 255, 0.5); }
.mock-nav span { display: flex; gap: 10px; }
.mock-nav span i { width: 32px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); }
.mock-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: center; margin-top: 10px; }
.mock-hero .lines { display: grid; gap: 9px; }
.mock-hero .lines i { display: block; height: 14px; border-radius: 5px; background: rgba(255, 255, 255, 0.8); }
.mock-hero .lines i:nth-child(2) { width: 82%; }
.mock-hero .lines i:nth-child(3) { width: 60%; height: 7px; background: rgba(255, 255, 255, 0.18); margin-top: 6px; }
.mock-hero .lines i:nth-child(4) { width: 48%; height: 7px; background: rgba(255, 255, 255, 0.18); }
.mock-hero .lines em { display: block; width: 92px; height: 26px; border-radius: 30px; background: var(--grad); margin-top: 10px; }
.mock-hero .orb {
  aspect-ratio: 1; border-radius: 22px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 40%),
    conic-gradient(from 210deg, #1fa2ff, #7047ff, #1567ff, #1fa2ff);
  filter: saturate(1.1);
  animation: spin-hue 12s linear infinite;
}
@keyframes spin-hue { to { filter: hue-rotate(40deg) saturate(1.1); } }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.mock-cards i { height: 54px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }

.float-card { padding: 16px 18px; display: grid; gap: 10px; animation: bob 7s ease-in-out infinite; }
.float-card__label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.float-card--lead { width: 250px; left: -6%; bottom: 6%; animation-delay: -2s; }
.float-card--store { width: 196px; right: -4%; top: 34%; animation-delay: -4s; }
.float-card--score { right: 6%; bottom: -2%; width: 220px; animation-delay: -1s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.lead-row { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 12px; font-weight: 600;
  background: var(--grad);
}
.lead-row b { display: block; font-size: 13.5px; font-weight: 600; }
.lead-row small { display: block; font-size: 11.5px; color: var(--muted); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 550;
  background: rgba(31, 162, 255, 0.12); color: #8cc8ff; border: 1px solid rgba(31, 162, 255, 0.25);
}
.tag--violet { background: rgba(112, 71, 255, 0.14); color: #b9a6ff; border-color: rgba(112, 71, 255, 0.3); }
.tag--green { background: rgba(46, 204, 138, 0.12); color: #7fe3b4; border-color: rgba(46, 204, 138, 0.25); }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.product { display: grid; gap: 10px; }
.product__img { height: 92px; border-radius: 12px; background: linear-gradient(135deg, #20283a, #141823); position: relative; overflow: hidden; }
.product__img::after { content: ""; position: absolute; width: 58px; height: 58px; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); background: conic-gradient(from 90deg, #1fa2ff, #7047ff, #1fa2ff); box-shadow: 0 10px 30px rgba(61, 107, 255, 0.5); }
.product__row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.product__row b { font-weight: 600; }
.product__btn { height: 30px; border-radius: 8px; background: #fff; color: #0b0d12; font-size: 12px; font-weight: 600; display: grid; place-items: center; }

.score { display: flex; align-items: center; gap: 14px; }
.ring { width: 54px; height: 54px; flex: none; }
.ring circle { fill: none; stroke-width: 5; }
.score b { font-size: 14px; font-weight: 600; display: block; }
.score small { font-size: 12px; color: var(--muted); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--muted);
}
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--blue-2), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: #fff; animation: drip 2s var(--ease-in-out) infinite; }
@keyframes drip { to { top: 110%; } }

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .stage { height: 460px; max-width: 640px; width: 100%; margin: 0 auto; }
  .hero__scroll { display: none; }
}
@media (max-width: 600px) {
  .stage { height: 380px; }
  .float-card--lead { left: 0; width: 220px; }
  .float-card--store { right: 0; width: 150px; top: 40%; }
  .float-card--score { display: none; }
  .browser__body { padding: 18px; }
  .mock-cards { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 30px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 48px; padding-right: 48px; }
.marquee__item { font-size: clamp(28px, 3.6vw, 52px); font-weight: 550; letter-spacing: -0.03em; white-space: nowrap; color: var(--text); }
.marquee__item.serif { color: var(--text-2); }
.marquee__star { width: 28px; height: 28px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement (word reveal) ---------- */
.statement { font-size: clamp(28px, 3.7vw, 56px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 500; max-width: 24ch; margin: 0; }
.statement .w { color: rgba(245, 247, 250, 0.16); transition: color 0.2s; }
.statement .w.is-on { color: var(--text); }
.statement-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.statement-wrap aside { padding-top: 14px; }
@media (max-width: 900px) { .statement-wrap { grid-template-columns: 1fr; gap: 24px; } }

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(64px, 8vw, 110px);
  border-top: 1px solid var(--line);
}
.stat { padding: 32px 28px 0 0; display: grid; gap: 8px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(44px, 5vw, 76px); font-weight: 550; letter-spacing: -0.05em; line-height: 1; }
.stat__num sup { font-size: 0.4em; vertical-align: top; margin-left: 2px; }
.stat__label { color: var(--muted); font-size: 14.5px; max-width: 22ch; }
@media (max-width: 800px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 32px; }
}

/* ---------- Services list ---------- */
.services { border-top: 1px solid var(--line); }
.service {
  position: relative;
  display: grid; grid-template-columns: 90px 1.1fr 1fr 64px; gap: 32px; align-items: center;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.service::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: linear-gradient(90deg, rgba(31, 162, 255, 0.08), rgba(112, 71, 255, 0.1), transparent);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.service:hover::before { opacity: 1; }
.service__num { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.service__title { font-size: clamp(26px, 3vw, 44px); font-weight: 550; letter-spacing: -0.035em; line-height: 1.05; transition: transform 0.6s var(--ease); }
.service:hover .service__title { transform: translateX(14px); }
.service__title .serif { color: var(--text-2); }
.service__body { display: grid; gap: 14px; }
.service__body p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.service__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 5px 12px; border-radius: 100px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-2); }
.service__arrow {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: background 0.5s var(--ease), border-color 0.5s, transform 0.6s var(--ease);
}
.service__arrow svg { width: 18px; height: 18px; transition: transform 0.6s var(--ease); }
.service:hover .service__arrow { background: var(--grad); border-color: transparent; }
.service:hover .service__arrow svg { transform: rotate(-45deg); }
.service__new { margin-left: 10px; vertical-align: middle; }
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr 56px; gap: 18px; }
  .service__num { grid-column: 1 / -1; }
  .service__body { grid-column: 1 / -1; grid-row: 3; }
  .service__arrow { grid-column: 2; grid-row: 2; width: 52px; height: 52px; }
}

/* ---------- Bento / Beyond templates ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 2.6vw, 40px);
  transition: border-color 0.5s, transform 0.6s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 0%), rgba(61, 107, 255, 0.14), transparent 45%);
  opacity: 0; transition: opacity 0.5s;
}
.card:hover { border-color: var(--line-2); }
.card:hover::after { opacity: 1; }
.card__ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line-2);
  margin-bottom: 28px;
}
.card__ico svg { width: 22px; height: 22px; stroke: #a9cfff; }
.card h3 { margin: 0 0 12px; }
.card p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.bento .span-7 { grid-column: span 7; }
.bento .span-5 { grid-column: span 5; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
.bento .span-8 { grid-column: span 8; }
.bento .span-12 { grid-column: span 12; }
@media (max-width: 960px) { .bento > * { grid-column: span 12 !important; } }

/* Compare slider */
.compare { display: grid; gap: 20px; }
.compare__frame {
  position: relative; aspect-ratio: 1200 / 683; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-2); user-select: none; touch-action: pan-y;
  --pos: 50%;
}
.compare__pane { position: absolute; inset: 0; padding: 22px; display: grid; gap: 12px; align-content: start; }
.compare__pane { padding: 0; }
.compare__pane img { width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; }
.compare__pane--tpl { background: #e9ebef; color: #6b7280; }
.compare__pane--orig {
  background: radial-gradient(120% 90% at 100% 0%, rgba(112, 71, 255, 0.45), transparent 50%), radial-gradient(90% 90% at 0% 100%, rgba(31, 162, 255, 0.35), transparent 55%), #0a0c13;
  clip-path: inset(0 0 0 var(--pos));
}
.compare__badge {
  position: absolute; bottom: 14px; font-family: var(--f-mono); font-size: 10.5px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 100px; z-index: 3;
}
.compare__badge--l { left: 14px; background: #d1d5db; color: #4b5563; }
.compare__badge--r { right: 14px; background: var(--grad); color: #fff; }
.tpl-nav { display: flex; justify-content: space-between; margin-top: 26px; }
.tpl-nav b { width: 64px; height: 10px; background: #9ca3af; border-radius: 3px; }
.tpl-nav span { display: flex; gap: 8px; } .tpl-nav span i { width: 30px; height: 6px; background: #c4c8cf; border-radius: 3px; }
.tpl-hero { height: 110px; background: #c9cdd4; border-radius: 6px; display: grid; place-items: center; font-size: 12px; color: #6b7280; }
.tpl-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tpl-cols i { height: 70px; background: #d6d9de; border-radius: 6px; }
.orig-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.orig-nav b { font-family: var(--f-brand); letter-spacing: 0.3em; font-size: 11px; font-weight: 500; color: #fff; }
.orig-nav em { width: 64px; height: 20px; border-radius: 20px; background: var(--grad); }
.orig-title { font-size: 30px; line-height: 1; letter-spacing: -0.04em; font-weight: 600; color: #fff; margin-top: 18px; }
.orig-title span { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.orig-chips { display: flex; gap: 8px; margin-top: 4px; }
.orig-chips i { height: 22px; width: 72px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.2); }
.orig-cards { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 8px; }
.orig-cards i { height: 74px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
.orig-cards i:first-child { background: linear-gradient(135deg, rgba(31, 162, 255, 0.5), rgba(112, 71, 255, 0.5)); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; z-index: 4;
  background: #fff; pointer-events: none;
}
.compare__handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #0b0d12;
  display: grid; place-items: center; font-weight: 700; font-size: 16px; letter-spacing: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }

/* ---------- CRM pipeline ---------- */
.crm { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 1000px) { .crm { grid-template-columns: 1fr; } }
.crm__list { list-style: none; margin: 32px 0 40px; padding: 0; display: grid; gap: 4px; }
.crm__list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.crm__list li svg { width: 20px; height: 20px; stroke: var(--blue-2); margin-top: 3px; }
.crm__list b { color: var(--text); font-weight: 600; display: block; }

.pipeline { padding: 22px; border-radius: 26px; }
.pipeline__top { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.pipeline__top b { font-size: 15px; font-weight: 600; }
.pipeline__top span { display: flex; gap: 6px; }
.pipeline__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pcol { display: grid; gap: 8px; align-content: start; min-height: 300px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.02); border: 1px dashed rgba(255, 255, 255, 0.06); }
.pcol__h { display: flex; justify-content: space-between; font-size: 11.5px; font-family: var(--f-mono); letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; padding: 2px 4px 6px; }
.pcard { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); display: grid; gap: 8px; font-size: 12px; transition: transform 0.6s var(--ease), box-shadow 0.6s; }
.pcard b { font-size: 12.5px; font-weight: 600; }
.pcard .tag { white-space: nowrap; font-size: 10.5px; padding: 3px 8px; }
.pcard small { color: var(--muted); font-size: 11px; }
.pcard__bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.pcard__bar i { display: block; height: 100%; background: var(--grad); }
.pcard.is-live { box-shadow: 0 0 0 1px rgba(31, 162, 255, 0.55), 0 12px 30px -8px rgba(31, 162, 255, 0.45); }
@media (max-width: 640px) {
  .pipeline__cols { grid-template-columns: 1fr 1fr; }
  .pcol { min-height: 0; }
}

/* ---------- Work ---------- */
.work-track-wrap { position: relative; }
.work-track { display: flex; gap: 22px; padding: 0 var(--gutter); width: max-content; }
.work-scroller { overflow-x: auto; scrollbar-width: none; }
.work-scroller::-webkit-scrollbar { display: none; }
.project { width: clamp(300px, 38vw, 560px); flex: none; display: grid; gap: 18px; }
.project__media {
  position: relative; aspect-ratio: 4 / 3.1; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line);
}
.project__media .art { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.project:hover .project__media .art { transform: scale(1.05); }
.project__label {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15);
}
.project__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.project__meta h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 4px; }
.project__meta p { margin: 0; color: var(--muted); font-size: 14px; }
.project__year { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }

/* Generated concept artwork */
.art--aurum { background: radial-gradient(80% 70% at 70% 20%, #c9a46a 0%, transparent 60%), linear-gradient(160deg, #1b1712, #0c0a08); }
.art--verde { background: radial-gradient(70% 80% at 20% 80%, #2fbf8f 0%, transparent 60%), linear-gradient(160deg, #0b1915, #07100d); }
.art--nova { background: radial-gradient(70% 70% at 80% 30%, #7047ff 0%, transparent 60%), radial-gradient(60% 60% at 10% 90%, #1fa2ff 0%, transparent 60%), #0a0b14; }
.art--sol { background: radial-gradient(70% 70% at 50% 40%, #ff7a45 0%, transparent 60%), linear-gradient(180deg, #1a0e0a, #0d0807); }
.art--nord { background: radial-gradient(80% 80% at 30% 20%, #93b5ff 0%, transparent 55%), linear-gradient(180deg, #e9eef8, #c9d3e6); }
.art__ui {
  position: absolute; left: 10%; right: 10%; bottom: -6%; top: 22%;
  border-radius: 14px 14px 0 0;
  background: rgba(10, 12, 18, 0.55); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px; display: grid; gap: 10px; align-content: start;
  transition: transform 1.2s var(--ease);
}
.art--nord .art__ui { background: rgba(255, 255, 255, 0.6); border-color: rgba(0, 0, 0, 0.08); }
.project:hover .art__ui { transform: translateY(-10px); }
.art__ui .t { font-size: clamp(18px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.art--nord .art__ui .t { color: #121826; }
.art__ui .t em { font-family: var(--f-serif); font-weight: 400; }
.art__ui .r { display: flex; gap: 8px; }
.art__ui .r i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); flex: 1; }
.art--nord .art__ui .r i { background: rgba(0, 0, 0, 0.12); }
.art__ui .g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.art__ui .g i { aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); }
.art--nord .art__ui .g i { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.06); }

/* Project screenshot in a browser frame — scrolls on hover */
.shot {
  position: absolute; left: 8%; right: 8%; top: 15%; bottom: -3%;
  display: flex; flex-direction: column;
  border-radius: 12px 12px 0 0; overflow: hidden;
  background: #0b0d12;
  border: 1px solid rgba(255, 255, 255, 0.16); border-bottom: 0;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.75);
  transition: transform 1.2s var(--ease);
}
.project:hover .shot { transform: translateY(-8px); }
.shot__bar { flex: none; height: 26px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #15181f; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.shot__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.shot__bar span { margin-left: 10px; padding: 2px 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); font-family: var(--f-mono); font-size: 9.5px; color: var(--muted); }
.shot__view { flex: 1; overflow: hidden; }
.shot__view img { width: 100%; height: auto; transition: transform 3.2s cubic-bezier(0.45, 0, 0.2, 1); }
.project:hover .shot__view img { transform: translateY(-38%); }

.work-note { margin-top: 32px; font-size: 13px; color: var(--muted); }

/* ---------- Why / principles ---------- */
.principles { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.principle { padding: 36px 26px 8px 0; display: grid; gap: 14px; align-content: start; }
.principle + .principle { padding-left: 26px; border-left: 1px solid var(--line); }
.principle__n { font-family: var(--f-mono); font-size: 12px; color: var(--blue-2); }
.principle p { margin: 0; color: var(--text-2); font-size: 15px; }
@media (max-width: 1100px) {
  .principles { grid-template-columns: 1fr 1fr; }
  .principle, .principle + .principle { padding: 32px 22px 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .principle:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .principles { grid-template-columns: 1fr; }
  .principle:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.process__line { position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: var(--line); }
.process__line i { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.step { position: relative; padding-right: 22px; display: grid; gap: 14px; align-content: start; }
.step__dot {
  width: 56px; height: 56px; border-radius: 50%; position: relative; z-index: 1;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 13px; color: var(--text-2);
  transition: background 0.6s var(--ease), border-color 0.6s, color 0.6s;
  margin-bottom: 14px;
}
.step.is-on .step__dot { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 30px rgba(61, 107, 255, 0.5); }
.step p { margin: 0; color: var(--text-2); font-size: 14.5px; }
@media (max-width: 1000px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process__line { left: 27px; right: auto; width: 1px; top: 0; bottom: 0; height: auto; }
  .process__line i { transform-origin: top; transform: scaleY(0); }
  .step { grid-template-columns: 56px 1fr; column-gap: 24px; padding: 0 0 36px; }
  .step__dot { grid-row: span 2; margin: 0; }
}

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.aud {
  position: relative; padding: 28px 24px; border-radius: 22px; min-height: 260px;
  border: 1px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  overflow: hidden; transition: transform 0.6s var(--ease), border-color 0.4s;
}
.aud:hover { transform: translateY(-6px); border-color: var(--line-2); }
.aud__n { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.aud h3 { margin: 0 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.aud p { margin: 0; color: var(--muted); font-size: 14px; }
.aud::before {
  content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 107, 255, 0.35), transparent 70%); opacity: 0; transition: opacity 0.6s;
}
.aud:hover::before { opacity: 1; }
@media (max-width: 1100px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } .aud { min-height: 0; } }

/* ---------- Global clocks ---------- */
.global { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 1000px) { .global { grid-template-columns: 1fr; } }
.clocks { border-top: 1px solid var(--line); }
.clock { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.clock__city { font-size: clamp(20px, 2vw, 28px); font-weight: 550; letter-spacing: -0.025em; }
.clock__zone { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.clock__time { font-family: var(--f-mono); font-size: clamp(18px, 1.6vw, 22px); color: var(--text); font-variant-numeric: tabular-nums; min-width: 6ch; text-align: right; }
.clock__dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2ecc8a; margin-right: 10px; vertical-align: middle; box-shadow: 0 0 10px #2ecc8a; }
.clock__dot.is-off { background: #4a5163; box-shadow: none; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); }
@media (max-width: 1000px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 550; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: background 0.4s, transform 0.5s var(--ease), border-color 0.4s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.5s var(--ease); }
.faq details[open] .faq__plus { background: var(--grad); border-color: transparent; transform: rotate(180deg); }
.faq details[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 60px 28px 0; color: var(--text-2); max-width: 70ch; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: clamp(28px, 3vw, 44px);
  padding: clamp(64px, 9vw, 140px) clamp(28px, 6vw, 96px);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(60% 90% at 85% 0%, rgba(112, 71, 255, 0.45), transparent 60%),
    radial-gradient(60% 90% at 10% 100%, rgba(31, 162, 255, 0.35), transparent 60%),
    #0a0c13;
  text-align: center;
  display: grid; justify-items: center; gap: 28px;
}
.cta .grid-bg { mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%); }
.cta > *:not(.grid-bg) { position: relative; z-index: 1; }
.cta .lead { margin: 0 auto; }
.cta__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: clamp(80px, 10vw, 130px) 0 30px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 72px; }
.footer__brand p { color: var(--muted); max-width: 34ch; margin: 22px 0 28px; }
.footer h4 { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer ul a { color: var(--text-2); font-size: 15px; transition: color 0.3s; }
.footer ul a:hover { color: var(--text); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background 0.4s, border-color 0.4s; }
.footer__social a:hover { background: var(--grad); border-color: transparent; }
.footer__social svg { width: 17px; height: 17px; }
.footer__giant { display: block; width: 100%; height: auto; margin: 0 0 18px; user-select: none; overflow: visible; }
.footer__giant text { font-family: var(--f-brand); font-weight: 500; font-size: 160px; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: flex; align-items: center; gap: 0;
  height: 60px; padding: 0 18px; border-radius: 100px;
  background: #25d366; color: #fff;
  box-shadow: 0 14px 40px -8px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: gap 0.5s var(--ease), padding 0.5s var(--ease), transform 0.4s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 15px; transition: max-width 0.5s var(--ease); }
.wa-float:hover { gap: 10px; padding: 0 22px 0 18px; transform: translateY(-2px); }
.wa-float:hover span { max-width: 200px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: #25d366; animation: wa-ping 2.6s ease-out infinite;
}
@keyframes wa-ping { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 600px) { .wa-float { right: 16px; bottom: 16px; height: 56px; padding: 0 15px; } }
.menu-open .wa-float { opacity: 0; pointer-events: none; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--text); }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(72px, 12vw, 160px)) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.page-hero > .container { position: relative; z-index: 2; display: grid; gap: 30px; justify-items: start; }
.crumbs { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); display: flex; gap: 10px; text-transform: uppercase; }
.crumbs a:hover { color: var(--text); }
.page-hero .lead { margin: 0; }
.service-line { display: flex; flex-wrap: wrap; gap: 8px; }

/* Problem list */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--line); }
.checks li { list-style: none; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 16.5px; }
.checks { padding: 0; margin: 0; }
.checks svg { width: 22px; height: 22px; stroke: var(--blue-2); margin-top: 2px; }
@media (max-width: 800px) { .checks { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

.quote-block { font-size: clamp(26px, 3.2vw, 46px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 500; max-width: 30ch; margin: 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pill-row .chip { padding: 10px 18px; font-size: 14px; }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.flow span { padding: 12px 20px; border-radius: 100px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14.5px; }
.flow svg { width: 16px; height: 16px; stroke: var(--muted); }

.note { font-size: 13.5px; color: var(--muted); border-left: 2px solid var(--violet); padding: 4px 0 4px 16px; max-width: 70ch; }

/* ---------- Contact / Form ---------- */
.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 1000px) { .contact { grid-template-columns: 1fr; } }
.contact__info { display: grid; gap: 34px; position: sticky; top: 120px; }
@media (max-width: 1000px) { .contact__info { position: static; } .contact .form-card { order: -1; } }
.contact__item small { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact__item a, .contact__item span { font-size: clamp(20px, 2vw, 26px); font-weight: 550; letter-spacing: -0.02em; }
.contact__item a:hover { color: var(--blue-2); }

.form-card { padding: clamp(26px, 3.4vw, 52px); border-radius: 30px; }
.form-steps { display: flex; gap: 8px; margin-bottom: 36px; }
.form-steps i { flex: 1; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; position: relative; }
.form-steps i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.form-steps i.is-on::after { transform: scaleX(1); }
.form-step { display: none; }
.form-step.is-active { display: grid; gap: 22px; animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.form-step__h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.form-step__h span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 13.5px; color: var(--text-2); font-weight: 500; padding: 0; }
.field label em, .field legend em { color: var(--blue-2); font-style: normal; }
.input {
  width: 100%; height: 56px; padding: 0 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2); border-radius: 14px;
  outline: none; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  font-size: 15.5px;
}
textarea.input { height: auto; min-height: 150px; padding: 16px 18px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c4cad6' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
select.input option { background: #11141b; color: var(--text); }
.input::placeholder { color: #5d6577; }
.input:hover { border-color: rgba(255, 255, 255, 0.24); }
.input:focus { border-color: var(--blue); background: rgba(22, 139, 255, 0.05); box-shadow: 0 0 0 4px rgba(22, 139, 255, 0.12); }
.field.is-invalid .input { border-color: #ff5c7a; }
.field__err { font-size: 12.5px; color: #ff8aa0; display: none; }
.field.is-invalid .field__err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .options { grid-template-columns: 1fr; } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.opt span {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02); font-size: 14.5px; color: var(--text-2);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.opt span::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, 0.3); transition: background 0.3s, border-color 0.3s; }
.opt input[type="radio"] + span::before { border-radius: 50%; }
.opt input:checked + span { border-color: var(--blue); background: rgba(22, 139, 255, 0.08); color: var(--text); }
.opt input:checked + span::before { background: var(--grad); border-color: transparent; box-shadow: inset 0 0 0 3px #11141b; }
.opt input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }

.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.form-privacy { font-size: 12.5px; color: var(--muted); max-width: 46ch; margin: 0; }
.form-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.form-success { display: none; text-align: center; padding: 40px 10px; justify-items: center; gap: 18px; }
.form-success.is-active { display: grid; animation: fadeUp 0.7s var(--ease); }
.form-success__ico { width: 84px; height: 84px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 20px 60px -10px rgba(61, 107, 255, 0.7); }
.form-success__ico svg { width: 36px; height: 36px; stroke: #fff; }
.next-steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; text-align: left; }
.next-steps li { display: flex; gap: 12px; color: var(--text-2); font-size: 15px; }
.next-steps b { font-family: var(--f-mono); font-weight: 400; color: var(--blue-2); }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }
.manifesto { font-size: clamp(30px, 4.4vw, 68px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 550; margin: 0; }

/* ---------- Reveal defaults (only when JS is active) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js .line-mask > span { transform: translateY(105%); }
.no-anim [data-reveal], .no-anim .line-mask > span { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal], .js .line-mask > span { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* Utilities */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 18px; } .mt-m { margin-top: 36px; } .mt-l { margin-top: 64px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.bg-2 { background: var(--bg-2); }
.relative { position: relative; }
.z1 { position: relative; z-index: 1; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: 110px; display: grid; gap: 18px; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; border-left: 1px solid var(--line); }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--muted); transition: color 0.3s, border-color 0.3s; }
.legal__toc a::before { content: counter(toc, decimal-leading-zero) "  "; font-family: var(--f-mono); font-size: 11px; color: #4d5466; }
.legal__toc a:hover { color: var(--text); border-left-color: var(--blue-2); }
.legal__body { max-width: 78ch; }
.legal__body section { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.legal__body section:last-child { border-bottom: 0; }
.legal__body h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.025em; font-weight: 600; margin: 0 0 18px; }
.legal__body h3 { font-size: 17px; font-weight: 600; margin: 28px 0 10px; color: var(--text); }
.legal__body p, .legal__body li { color: var(--text-2); font-size: 16px; line-height: 1.75; }
.legal__body p { margin: 0 0 14px; }
.legal__body ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; }
.legal__body li::marker { color: var(--blue-2); }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__body a { color: #8cc8ff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(140, 200, 255, 0.4); }
.legal__body a:hover { text-decoration-color: currentColor; }
.legal__table { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; margin: 8px 0 18px; }
.legal__table > div { display: grid; grid-template-columns: 1.4fr 1fr; }
.legal__table > div + div { border-top: 1px solid var(--line); }
.legal__table span { padding: 14px 18px; font-size: 15px; color: var(--text-2); }
.legal__table span + span { border-left: 1px solid var(--line); }
.legal__th { background: rgba(255, 255, 255, 0.04); }
.legal__th span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.legal__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; margin: 8px 0 18px; }
.legal__contact > div { background: var(--bg); padding: 18px 20px; display: grid; gap: 4px; }
.legal__contact small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.legal__contact span, .legal__contact a { font-size: 16px; font-weight: 550; color: var(--text) !important; text-decoration: none !important; }
@media (max-width: 1000px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .legal__toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .legal__toc ol, .legal__table > div, .legal__contact { grid-template-columns: 1fr; }
  .legal__table span + span { border-left: 0; padding-top: 0; color: var(--muted); }
}
