/* =========================================================
   Lumen Studio — styles
   Edit the tokens below to re-brand the whole site.
   ========================================================= */
:root {
  --bg: #07080a;
  --bg-2: #0c0e11;
  --surface: #111418;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f4f5;
  --muted: #9aa1a9;
  --dim: #5f666e;
  --accent: #34e3a0;
  --accent-2: #8b7bff;
  --accent-3: #6bd6ff;
  --accent-ink: #04120c;
  --radius: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.accent { color: var(--accent); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.h2 {
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.serif, .hero__title em, .cta__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 560px; margin-top: 22px; }
.center .lead, .lead.center { margin-inline: auto; }
.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-3) 30%, var(--accent-2) 60%, var(--accent) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s linear infinite;
  padding-right: 0.06em;
}
@keyframes gradShift { to { background-position: -250% 0; } }
.link { color: var(--text); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--accent); }

/* split-text helpers (created by JS) */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0.02em 0.1em; margin: -0.06em -0.02em -0.1em; }
.char { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .4s var(--ease), background-color .3s, border-color .3s, color .3s, box-shadow .4s;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(52, 227, 160, 0); }
.btn--primary:hover { box-shadow: 0 10px 40px -8px rgba(52, 227, 160, .6); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--primary:hover::before { transform: translateX(120%); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); }
.btn--small { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.logo-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: conic-gradient(from 180deg, var(--accent), var(--accent-3), var(--accent-2), var(--accent));
  box-shadow: 0 0 20px rgba(52,227,160,.5);
  position: relative; flex: none; display: inline-block;
  animation: spin 8s linear infinite;
}
.logo-mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg); }
.logo-mark--xl { width: 120px; height: 120px; }
.logo-mark--xl::after { inset: 32px; }
@keyframes spin { to { transform: rotate(360deg); } }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255,255,255,.03);
  font-size: 13px; color: var(--muted);
  backdrop-filter: blur(8px);
  transition: border-color .3s, color .3s;
}
.pill:hover { border-color: rgba(52,227,160,.5); color: var(--text); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(52,227,160,.6); animation: ping 2s infinite; display: inline-block; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(52,227,160,0); } 100% { box-shadow: 0 0 0 0 rgba(52,227,160,0); } }
.pill__arrow { transition: transform .3s var(--ease); }
.pill:hover .pill__arrow { transform: translateX(3px); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; pointer-events: none; display: none; }
.js .preloader { display: block; pointer-events: auto; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: #050607; }
.preloader__panel--top { top: 0; }
.preloader__panel--bottom { bottom: 0; }
.preloader__inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 4vw, 48px); }
.preloader__label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.preloader__count { overflow: hidden; font-size: clamp(96px, 22vw, 320px); font-weight: 600; letter-spacing: -0.06em; line-height: .85; display: flex; align-items: flex-start; }
.preloader__pct { font-size: .3em; color: var(--accent); margin-top: .15em; margin-left: .05em; }
.preloader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.preloader__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- Cursor / progress / grain ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 999;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: #fff;
  pointer-events: none; mix-blend-mode: difference;
  display: none; align-items: center; justify-content: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .3s;
}
.has-cursor .cursor { display: flex; }
.cursor span { font-size: 13px; font-weight: 600; color: var(--accent-ink); opacity: 0; transform: scale(.5); transition: opacity .3s, transform .4s var(--ease); }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); mix-blend-mode: normal; }
.cursor.is-view span { opacity: 1; transform: none; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; }
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } 100% { transform: translate(0,0); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 16px; right: 16px; z-index: 100;
  max-width: 1240px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px;
  border: 1px solid transparent; border-radius: 999px;
  transition: transform .6s var(--ease), background-color .4s, border-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(12,14,17,.65); border-color: var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.nav.is-hidden { transform: translateY(-140%); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .3s, background-color .3s; }
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 24px; }
.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(7,8,10,.96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 24px;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .8s var(--ease);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mobile-menu a { font-size: clamp(40px, 12vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(130px, 18vh, 190px) 0 80px; overflow: hidden; isolation: isolate; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 30%), rgba(52,227,160,.16), transparent 60%);
  transition: opacity .4s;
}
.hero__orb { position: absolute; z-index: -3; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero__orb--a { width: 520px; height: 520px; left: -160px; top: 80px; background: radial-gradient(circle, rgba(139,123,255,.55), transparent 65%); animation: float 14s ease-in-out infinite; }
.hero__orb--b { width: 480px; height: 480px; right: -140px; top: 260px; background: radial-gradient(circle, rgba(52,227,160,.4), transparent 65%); animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(60px, -40px) scale(1.1); } }
.hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__title {
  margin-top: 28px;
  font-size: clamp(42px, 6.6vw, 100px);
  line-height: .98;
  letter-spacing: -0.05em;
  font-weight: 600;
  max-width: 1240px;
}
.hero__title em { font-size: 1.08em; }
.hero__sub { margin-top: 28px; max-width: 620px; color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.hero__proof { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.hero__proof b { color: var(--text); font-weight: 500; }
.avatars { display: flex; }
.avatars i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; }
.avatars i:first-child { margin-left: 0; background: linear-gradient(135deg, #34e3a0, #0f8a5f); }
.avatars i:nth-child(2) { background: linear-gradient(135deg, #8b7bff, #4c3bd1); }
.avatars i:nth-child(3) { background: linear-gradient(135deg, #ffb86b, #e26b3b); }
.avatars i:nth-child(4) { background: linear-gradient(135deg, #6bd6ff, #2a7bd1); }

/* Browser mock */
.browser-wrap { margin-top: clamp(56px, 8vw, 96px); perspective: 1600px; }
.browser {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(180deg, #0f1216, #0a0c0f);
  box-shadow: 0 0 0 1px rgba(255,255,255,.02), 0 40px 120px -20px rgba(52,227,160,.25), 0 30px 80px rgba(0,0,0,.6);
  transform-origin: 50% 0%;
  will-change: transform;
}
.browser__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a2e34; }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.browser__url { flex: 1; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted); background: rgba(255,255,255,.04); border-radius: 8px; padding: 5px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__live { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--accent); }
.browser__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: ping 2s infinite; }
.browser__body { position: relative; overflow: hidden; border-radius: 0 0 18px 18px; }
.mock { padding: clamp(16px, 3vw, 36px); background: radial-gradient(ellipse at 80% 0%, rgba(52,227,160,.12), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(139,123,255,.12), transparent 60%); }
.mock__nav { display: flex; align-items: center; gap: 22px; font-size: 13px; color: var(--muted); }
.mock__nav b { color: var(--text); margin-right: auto; font-weight: 600; }
.mock__nav em { font-style: normal; color: var(--accent-ink); background: var(--text); padding: 6px 14px; border-radius: 999px; font-weight: 500; }
.mock__main { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(72px, 8vw, 96px); }
.mock__tag { display: inline-block; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(52,227,160,.35); color: var(--accent); }
.mock__copy h3 { font-size: clamp(28px, 4vw, 54px); line-height: 1; letter-spacing: -0.045em; margin-top: 16px; font-weight: 600; }
.mock__copy h3 span { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.mock__copy p { color: var(--muted); margin-top: 14px; font-size: 15px; }
.mock__btns { display: flex; gap: 10px; margin-top: 22px; font-size: 13px; }
.mock__btns i { font-style: normal; background: var(--accent); color: var(--accent-ink); padding: 9px 16px; border-radius: 999px; font-weight: 500; }
.mock__btns u { text-decoration: none; border: 1px solid var(--line-2); padding: 9px 16px; border-radius: 999px; }
.mock__dash { display: grid; gap: 14px; }
.mock__card { background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 14px; padding: 16px; backdrop-filter: blur(8px); }
.mock__card small { display: block; color: var(--muted); font-size: 12px; }
.mock__card strong { font-size: 22px; letter-spacing: -0.03em; font-weight: 600; }
.mock__row { display: flex; justify-content: space-between; align-items: baseline; }
.mock__row strong { color: var(--accent); }
.mock__chart { width: 100%; height: 120px; margin-top: 10px; }
.mock__line { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 3s var(--ease) .4s forwards, glowLine 3s ease-in-out 3.4s infinite; filter: drop-shadow(0 0 6px rgba(52,227,160,.7)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes glowLine { 50% { filter: drop-shadow(0 0 14px rgba(52,227,160,1)); } }
.mock__mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.up { font-size: 12px; color: var(--accent); margin-left: 6px; }
.toast {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  background: rgba(20,24,28,.75); border: 1px solid var(--line-2);
  border-radius: 14px; backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  font-size: 13px;
}
.toast b { display: block; font-weight: 500; }
.toast small { color: var(--muted); font-size: 12px; }
.toast__icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(52,227,160,.15); color: var(--accent); }
.toast--a { right: 4%; bottom: 5%; animation: bob 5s ease-in-out infinite; }
.toast--b { left: 4%; bottom: 5%; animation: bob 6s ease-in-out 1s infinite; }
.toast--b .toast__icon { background: rgba(139,123,255,.18); color: var(--accent-2); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Marquees ---------- */
.logos { padding: 40px 0 20px; }
.logos .eyebrow { color: var(--dim); }
.marquee {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__inner { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee--reverse .marquee__inner { animation-direction: reverse; }
.marquee:hover .marquee__inner { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo { margin-right: clamp(40px, 6vw, 80px); font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.03em; color: #6b7178; white-space: nowrap; transition: color .3s; }
.logo:hover { color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 14vw, 180px) 0; position: relative; }
.section__head { margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__head--row .lead { margin-top: 0; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 16px; }
.card {
  --x: 50%; --y: 50%;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  transition: border-color .4s;
  isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(52,227,160,.12), transparent 50%);
  transition: opacity .4s;
}
.card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: radial-gradient(300px circle at var(--x) var(--y), rgba(52,227,160,.8), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .4s;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card--xl { grid-column: span 2; grid-row: span 2; }
.card--wide { grid-column: span 2; }
.card__visual { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.card__text { padding: 0 24px 22px; }
.card__tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.card h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 600; margin-top: 4px; }
.card--xl h3 { font-size: clamp(22px, 2.4vw, 30px); }
.card p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* typing terminal */
.term { position: absolute; inset: 24px 24px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(5,6,8,.6); overflow: hidden; display: flex; flex-direction: column; }
.term__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--dim); }
.term__bar i { width: 8px; height: 8px; border-radius: 50%; background: #2a2e34; }
.term__bar span { margin-left: 8px; }
.term__body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 18px; }
.term__prompt { font-family: var(--mono); font-size: clamp(13px, 1.2vw, 15px); color: var(--text); min-height: 3em; }
.caret { display: inline-block; width: 8px; height: 1.1em; background: var(--accent); vertical-align: -0.2em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term__build { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.tb { border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); flex: 1; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.term__build.is-built .tb { opacity: 1; transform: none; }
.term__build.is-built .tb-row .tb:nth-child(1) { transition-delay: .12s; }
.term__build.is-built .tb-row .tb:nth-child(2) { transition-delay: .2s; }
.term__build.is-built .tb-row .tb:nth-child(3) { transition-delay: .28s; }
.term__build.is-built .tb--wide { transition-delay: .36s; }
.tb--hero { flex: 1.6; position: relative; background: radial-gradient(ellipse at 80% 20%, rgba(52,227,160,.25), transparent 60%), rgba(255,255,255,.04); }
.tb--hero i { position: absolute; left: 16px; height: 9px; border-radius: 5px; background: rgba(255,255,255,.4); }
.tb--hero i:first-child { top: 18px; width: 45%; height: 14px; background: var(--text); }
.tb--hero i:nth-child(2) { top: 42px; width: 30%; }
.tb--hero b { position: absolute; left: 16px; bottom: 16px; width: 70px; height: 20px; border-radius: 999px; background: var(--accent); }
.tb-row { display: flex; gap: 10px; flex: 1; }

/* kinetic */
.kinetic { display: grid; place-items: center; background: var(--accent); transition: background-color .15s; }
.kinetic.is-flip { background: var(--text); }
.kinetic__word { font-size: clamp(34px, 3.8vw, 52px); font-weight: 800; letter-spacing: -0.04em; color: var(--accent-ink); line-height: 1; }
.kinetic__word.slam { animation: slam .5s var(--ease); }
@keyframes slam { 0% { transform: scale(2.4); opacity: 0; filter: blur(6px); } 60% { transform: scale(.92); opacity: 1; filter: none; } 100% { transform: scale(1); } }

/* cube */
.cube-stage { display: grid; place-items: center; perspective: 600px; }
.cube { position: relative; width: 74px; height: 74px; transform-style: preserve-3d; animation: cube 10s linear infinite; }
.cube i { position: absolute; inset: 0; border: 1px solid rgba(52,227,160,.6); background: linear-gradient(135deg, rgba(52,227,160,.25), rgba(139,123,255,.15)); backdrop-filter: blur(2px); }
.cube i:nth-child(1) { transform: translateZ(37px); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(37px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(37px); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(37px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(37px); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(37px); }
@keyframes cube { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.cube-shadow { position: absolute; bottom: 18%; left: 50%; width: 90px; height: 14px; margin-left: -45px; border-radius: 50%; background: radial-gradient(rgba(52,227,160,.35), transparent 70%); filter: blur(4px); }

/* beam */
.beam { margin: 24px 44px 12px; overflow: visible; }
.beam svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.beam path { fill: none; vector-effect: non-scaling-stroke; }
.beam__base path { stroke: var(--line-2); stroke-width: 1.5; }
.beam__flow path { stroke: url(#beamGrad); stroke-width: 2.5; stroke-dasharray: 40 400; stroke-dashoffset: 440; animation: beam 2.6s linear infinite; }
.beam__flow path:nth-child(2) { animation-delay: .5s; } .beam__flow path:nth-child(3) { animation-delay: 1s; }
.beam__flow path:nth-child(4) { animation-delay: 1.4s; } .beam__flow path:nth-child(5) { animation-delay: 1.9s; }
@keyframes beam { to { stroke-dashoffset: 0; } }
.node {
  position: absolute; transform: translate(-50%, -50%);
  min-width: 52px; height: 36px; padding: 0 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--surface); font-family: var(--mono); font-size: 11px; color: var(--muted);
  z-index: 1;
}
.node--hub { width: 58px; height: 58px; min-width: 0; border-radius: 18px; border-color: rgba(52,227,160,.5); box-shadow: 0 0 30px rgba(52,227,160,.25); }

/* data */
.data { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 24px 28px 8px; }
.bars { flex: 1; height: 100%; display: flex; align-items: flex-end; gap: 8px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--accent), rgba(52,227,160,.15)); transform-origin: bottom; animation: bar 2.8s var(--ease) infinite; }
.bars i:nth-child(2) { animation-delay: .1s; } .bars i:nth-child(3) { animation-delay: .2s; } .bars i:nth-child(4) { animation-delay: .3s; }
.bars i:nth-child(5) { animation-delay: .4s; } .bars i:nth-child(6) { animation-delay: .5s; } .bars i:nth-child(7) { animation-delay: .6s; }
@keyframes bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
.ring { position: relative; width: 120px; height: 120px; flex: none; align-self: center; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.ring__bg { stroke: rgba(255,255,255,.07); }
.ring__fg { stroke: var(--accent-2); stroke-dasharray: 314; stroke-dashoffset: 314; animation: ring 4s var(--ease) infinite; }
@keyframes ring { 0% { stroke-dashoffset: 314; } 50%, 80% { stroke-dashoffset: 41; } 100% { stroke-dashoffset: 314; } }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; letter-spacing: -0.03em; }

/* glass */
.glass { overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(30px); }
.blob--1 { width: 180px; height: 180px; left: 10%; top: 10%; background: #8b7bff; animation: blob 9s ease-in-out infinite; }
.blob--2 { width: 160px; height: 160px; right: 12%; top: 20%; background: #34e3a0; animation: blob 11s ease-in-out infinite reverse; }
.blob--3 { width: 120px; height: 120px; left: 45%; bottom: -20%; background: #ff6b9a; opacity: .7; animation: blob 13s ease-in-out infinite; }
@keyframes blob { 33% { transform: translate(40px, -20px) scale(1.15); } 66% { transform: translate(-30px, 20px) scale(.9); } }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 14px; font-size: 13px; white-space: nowrap;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.chip--1 { left: 8%; top: 18%; animation: bob 5s ease-in-out infinite; }
.chip--2 { right: 8%; top: 42%; animation: bob 6s ease-in-out .8s infinite; }
.chip--3 { left: 24%; bottom: 10%; animation: bob 7s ease-in-out 1.6s infinite; }

/* ---------- Statement ---------- */
.statement { padding: clamp(60px, 10vw, 140px) 0; }
.statement__text { font-size: clamp(28px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 500; max-width: 1150px; }
.statement__text em { font-family: var(--serif); font-weight: 400; color: var(--accent); }
.statement__text .sw { display: inline-block; }

/* ---------- Work ---------- */
.work { position: relative; padding: clamp(80px, 10vw, 120px) 0; overflow: hidden; }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.work__progress { display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.work__bar { width: 160px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.work__bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.work__track { perspective: 1400px; display: flex; gap: 24px; padding-inline: max(16px, calc((100vw - 1240px) / 2)); width: max-content; will-change: transform; }
.project { display: block; width: clamp(320px, 42vw, 600px); flex: none; }
.art {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3.1;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  isolation: isolate;
  transition: transform .8s var(--ease), border-color .4s;
}
.art > * { transition: transform .9s var(--ease); }
.project:hover .art { border-color: var(--line-2); }
.project:hover .art > * { transform: scale(1.04); }
.project__meta { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 16px; padding: 18px 4px 0; }
.project__meta h3 { font-size: 22px; letter-spacing: -0.03em; font-weight: 600; }
.project__meta span { grid-row: 2; color: var(--muted); font-size: 14px; }
.project__meta b { grid-row: span 2; align-self: center; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--accent); background: rgba(52,227,160,.1); border: 1px solid rgba(52,227,160,.25); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* art: saas */
.art--saas { background: #0a0c0f; padding: 7%; }
.saas__glow { position: absolute; width: 70%; height: 70%; right: -10%; top: -20%; background: radial-gradient(circle, rgba(52,227,160,.45), transparent 65%); filter: blur(20px); }
.saas__nav { position: relative; display: flex; align-items: center; gap: 10px; }
.saas__nav b { color: var(--accent); margin-right: auto; }
.saas__nav span { width: 34px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); }
.saas__nav em { width: 56px; height: 18px; border-radius: 999px; background: var(--text); }
.saas__h { position: relative; margin-top: 9%; font-size: clamp(22px, 3vw, 40px); line-height: 1; letter-spacing: -0.045em; font-weight: 600; }
.saas__h span { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.saas__bento { position: absolute; left: 7%; right: 7%; bottom: 7%; height: 38%; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.saas__bento i { border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.saas__bento i:first-child { grid-row: span 2; background: linear-gradient(135deg, rgba(52,227,160,.2), rgba(139,123,255,.15)); }
.saas__bento i:last-child { grid-column: span 2; }

/* art: folio */
.art--folio { background: #ecebe6; color: #0b0b0b; padding: 6%; }
.folio__meta { position: relative; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; display: block; }
.folio__big { position: absolute; left: 4%; bottom: 22%; font-size: clamp(80px, 12vw, 170px); line-height: .8; letter-spacing: -0.07em; font-weight: 800; }
.folio__dot { position: absolute; right: 9%; top: 14%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #ff5b2e; }
.folio__strip { position: absolute; left: 6%; right: 6%; bottom: 6%; height: 12%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.folio__strip i { background: #0b0b0b; border-radius: 4px; opacity: .85; }
.folio__strip i:nth-child(2) { background: #b7b3a8; } .folio__strip i:nth-child(4) { background: #ff5b2e; }

/* art: app */
.art--app { background: linear-gradient(135deg, #1a1033, #0d2a24); display: grid; place-items: center; }
.art--app .blob--1 { left: 5%; top: 10%; width: 50%; height: 50%; }
.art--app .blob--2 { right: 5%; top: 40%; width: 45%; height: 45%; }
.phone { position: relative; width: 34%; aspect-ratio: 9 / 18.5; border-radius: 26px; border: 3px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 30px 60px rgba(0,0,0,.4); padding: 18% 9% 9%; }
.phone__notch { position: absolute; top: 4%; left: 50%; width: 32%; height: 4%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.phone__screen small { font-size: 10px; color: rgba(255,255,255,.7); }
.phone__ring { margin: 12% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; border: 6px solid rgba(255,255,255,.12); border-top-color: var(--accent); border-right-color: var(--accent); display: grid; place-content: center; text-align: center; animation: spin 6s linear infinite; }
.phone__ring b, .phone__ring span { animation: spin 6s linear infinite reverse; }
.phone__ring b { font-size: clamp(12px, 1.4vw, 18px); }
.phone__ring span { font-size: 9px; color: rgba(255,255,255,.6); }
.phone__row { display: grid; gap: 6px; }
.phone__row i { height: 10px; border-radius: 5px; background: rgba(255,255,255,.15); }
.phone__row i:first-child { width: 80%; }
.chip--float { right: 12%; top: 22%; font-size: 12px; animation: bob 4s ease-in-out infinite; }

/* art: product */
.art--product { background: radial-gradient(ellipse at 50% 35%, #f6f6f3, #cfd0cb 75%); }
.bud { position: absolute; top: 26%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff, #d9dad5 45%, #9a9b96 100%); box-shadow: 0 30px 50px rgba(0,0,0,.25), inset -10px -12px 24px rgba(0,0,0,.12); animation: hover 5s ease-in-out infinite; }
.bud i { position: absolute; left: 28%; top: 28%; width: 44%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #333, #0a0a0a); }
.bud--l { left: 20%; }
.bud--r { left: 52%; top: 36%; animation-delay: -2.5s; }
@keyframes hover { 50% { transform: translateY(-14px) rotate(-6deg); } }
.product__shadow { position: absolute; left: 22%; right: 22%; bottom: 14%; height: 8%; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.25), transparent 70%); }
.product__tag { position: absolute; left: 6%; bottom: 6%; font-family: var(--mono); font-size: 12px; color: #222; background: rgba(255,255,255,.7); padding: 6px 12px; border-radius: 999px; }
.hotspot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(52,227,160,.7); animation: ping 2s infinite; }

/* art: event */
.art--event {
  background: radial-gradient(circle at 20% 20%, #ff6b3d, transparent 50%), radial-gradient(circle at 80% 70%, #ff2e88, transparent 55%), radial-gradient(circle at 60% 10%, #ffd23d, transparent 45%), #2a0a2e;
  background-size: 160% 160%;
  animation: noiseGrad 10s ease-in-out infinite alternate;
  padding: 7%;
}
@keyframes noiseGrad { to { background-position: 100% 100%; } }
.event__big { position: absolute; left: 6%; bottom: 20%; font-size: clamp(56px, 8vw, 116px); line-height: .82; letter-spacing: -0.06em; font-weight: 800; color: #fff7e8; }
.event__sticker { position: absolute; right: 8%; top: 10%; padding: 10px 16px; border-radius: 999px; background: #ffd23d; color: #2a0a2e; font-weight: 700; font-size: 14px; transform: rotate(10deg); box-shadow: 0 6px 0 #2a0a2e; animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(-4deg) scale(1.05); } }
.event__count { position: absolute; left: 6%; right: 6%; bottom: 6%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.event__count i { font-style: normal; text-align: center; padding: 6px 0; border-radius: 8px; background: rgba(0,0,0,.35); font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.7); }
.event__count b { color: #fff; font-size: 16px; margin-right: 2px; }

/* art: vhs */
.art--vhs { background: #1d27c9; color: #fff; font-family: var(--mono); }
.art--vhs::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 4px); pointer-events: none; animation: roll 6s linear infinite; }
@keyframes roll { to { background-position: 0 100px; } }
.vhs__play { position: absolute; left: 7%; top: 8%; font-size: clamp(16px, 2vw, 24px); letter-spacing: .1em; animation: blink 1.4s steps(1) infinite; }
.vhs__time { position: absolute; left: 7%; bottom: 8%; font-size: 12px; letter-spacing: .1em; }
.vhs__title { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font); font-size: clamp(40px, 6vw, 84px); font-weight: 800; letter-spacing: -0.04em; text-shadow: 3px 0 #ff2e88, -3px 0 #2ee6ff; animation: glitch 2.6s steps(1) infinite; }
@keyframes glitch {
  0%, 100% { transform: none; text-shadow: 3px 0 #ff2e88, -3px 0 #2ee6ff; clip-path: none; }
  20% { transform: translateX(-4px); text-shadow: -5px 0 #ff2e88, 5px 0 #2ee6ff; }
  22% { clip-path: inset(30% 0 45% 0); transform: translateX(8px); }
  24% { clip-path: none; transform: none; }
  60% { transform: skewX(8deg); }
  62% { transform: none; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__visual { position: relative; aspect-ratio: 4 / 5; }
.about__orb { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(52,227,160,.5), rgba(139,123,255,.35) 50%, transparent 70%); filter: blur(40px); }
.about__frame {
  position: absolute; inset: 12% 10%;
  border-radius: 28px; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01)), repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px), repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
}
.about__card { position: absolute; z-index: 2; padding: 16px 20px; border-radius: 16px; background: rgba(17,20,24,.8); border: 1px solid var(--line-2); backdrop-filter: blur(14px); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.about__card small { display: block; color: var(--muted); font-size: 12px; }
.about__card b { font-size: 30px; letter-spacing: -0.04em; color: var(--accent); }
.about__card--a { left: 0; top: 18%; }
.about__card--b { right: 0; bottom: 16%; }
.about__card--b b { color: var(--accent-2); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 26px 24px; }
.stat b { display: block; font-size: clamp(40px, 4.6vw, 64px); letter-spacing: -0.05em; font-weight: 600; line-height: 1; }
.stat > span { color: var(--muted); font-size: 14px; }

/* ---------- Process ---------- */
.process__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.process__intro { position: sticky; top: 140px; }
.process__steps { position: relative; display: grid; gap: clamp(48px, 7vw, 90px); padding: 10px 0; }
.process__line { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line-2); border-radius: 2px; }
.process__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--accent), var(--accent-2)); transform-origin: top; transform: scaleY(0); border-radius: 2px; box-shadow: 0 0 14px rgba(52,227,160,.5); }
.no-js-motion .process__fill, html:not(.js) .process__fill { transform: scaleY(1); }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 24px; }
.step__dot { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--mono); color: var(--muted); transition: all .5s var(--ease); }
.step.is-active .step__dot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(52,227,160,.12), 0 0 30px rgba(52,227,160,.5); }
.step small { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
.step h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.035em; font-weight: 600; line-height: 1.1; margin: 4px 0 10px; }
.step p { color: var(--muted); max-width: 460px; }
.js .step > div { opacity: .35; transition: opacity .6s; }
.js .step.is-active > div { opacity: 1; }

/* ---------- Services list ---------- */
.srv { border-bottom: 1px solid var(--line); }
.srv__row { position: relative; border-top: 1px solid var(--line); cursor: default; outline: none; isolation: isolate; }
.srv__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(52,227,160,.08), transparent 80%); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.srv__top { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 16px; padding: clamp(22px, 3vw, 34px) 8px; }
.srv__num { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.srv__top h3 { font-size: clamp(26px, 4.4vw, 58px); letter-spacing: -0.045em; font-weight: 500; line-height: 1.05; transition: transform .6s var(--ease), color .4s; }
.srv__arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 20px; transition: transform .6s var(--ease), background-color .4s, color .4s, border-color .4s; }
.srv__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.srv__body > div { overflow: hidden; padding-left: 84px; padding-right: 8px; }
.srv__body p { color: var(--muted); max-width: 560px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 30px; }
.tags span { font-size: 12px; font-family: var(--mono); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.srv__row:hover::before, .srv__row:focus-visible::before, .srv__row.is-open::before { transform: scaleY(1); }
.srv__row:hover h3, .srv__row:focus-visible h3, .srv__row.is-open h3 { transform: translateX(14px); color: var(--accent); }
.srv__row:hover .srv__arrow, .srv__row:focus-visible .srv__arrow, .srv__row.is-open .srv__arrow { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.srv__row:hover .srv__body, .srv__row:focus-visible .srv__body, .srv__row.is-open .srv__body { grid-template-rows: 1fr; }

/* ---------- Pricing ---------- */
.toggle { position: relative; display: inline-flex; margin-top: 36px; padding: 5px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); }
.toggle button { position: relative; z-index: 1; height: 42px; padding: 0 20px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .4s; white-space: nowrap; }
.toggle button.is-active { color: var(--accent-ink); }
.toggle button em { font-style: normal; font-size: 11px; margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: rgba(52,227,160,.15); color: var(--accent); transition: background-color .4s, color .4s; }
.toggle button.is-active em { background: rgba(4,18,12,.15); color: var(--accent-ink); }
.toggle__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--accent); transition: transform .6s var(--ease), width .6s var(--ease); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); transition: translate .6s var(--ease), border-color .4s; }
.plan:hover { translate: 0 -6px; border-color: var(--line-2); }
.plan--featured { background: linear-gradient(180deg, rgba(52,227,160,.1), rgba(52,227,160,.01) 60%), var(--bg-2); border-color: rgba(52,227,160,.45); box-shadow: 0 30px 80px -30px rgba(52,227,160,.35); }
.plan--featured:hover { border-color: var(--accent); }
.plan__badge { position: absolute; top: -13px; left: 30px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; }
.plan h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.plan__desc { color: var(--muted); font-size: 14px; margin-top: 6px; min-height: 3.2em; }
.plan__price { display: flex; align-items: baseline; gap: 2px; margin: 26px 0; font-size: clamp(44px, 4.4vw, 58px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price .cur { font-size: .5em; color: var(--muted); align-self: flex-start; margin-top: .2em; }
.plan__price small { font-size: 15px; letter-spacing: 0; font-weight: 400; color: var(--muted); margin-left: 6px; }
.plan ul { display: grid; gap: 12px; margin-bottom: 30px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: 15px; color: #cfd3d7; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: rgba(52,227,160,.15); color: var(--accent); }

/* ---------- Testimonials ---------- */
.testimonials .section__head { margin-bottom: 56px; }
.marquee--quotes { margin-bottom: 16px; }
.marquee--quotes .marquee__inner { --dur: 55s; }
.quote { width: clamp(300px, 32vw, 420px); margin-right: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: border-color .4s; }
.quote:hover { border-color: rgba(52,227,160,.4); }
.quote blockquote { font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; }
.quote figcaption { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; font-size: 14px; }
.quote figcaption i { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff8, transparent 50%), var(--c); }
.quote figcaption span { color: var(--muted); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; text-align: left; font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; letter-spacing: -0.015em; transition: color .3s; }
.faq__q:hover { color: var(--accent); }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background-color .3s, border-color .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); padding: 0 48px 26px 0; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(110px, 16vw, 200px) 0 clamp(80px, 10vw, 140px); overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.cta__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%); animation: gridMove 20s linear infinite; }
@keyframes gridMove { to { background-position: 56px 56px; } }
.cta__glow { position: absolute; z-index: -2; left: 50%; top: 30%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(52,227,160,.22), rgba(139,123,255,.12) 40%, transparent 70%); filter: blur(30px); }
.cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta__title { font-size: clamp(44px, 8.5vw, 132px); line-height: .95; letter-spacing: -0.055em; font-weight: 600; max-width: 1100px; }
.cta__email { position: relative; display: inline-block; margin-top: 44px; font-size: clamp(26px, 5vw, 64px); letter-spacing: -0.04em; font-weight: 500; overflow-wrap: anywhere; transition: color .4s; }
.cta__email::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.cta__email:hover { color: var(--accent); }
.cta__email:hover::after { transform: scaleX(1); transform-origin: left; }
.cta__time { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--mono); font-size: 13px; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.clock { color: var(--text); font-variant-numeric: tabular-nums; }

.form { position: relative; width: min(640px, 100%); margin-top: 60px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line-2); border-radius: 26px; background: rgba(12,14,17,.7); backdrop-filter: blur(16px); text-align: left; overflow: hidden; }
.form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.form__full { grid-column: 1 / -1; }
.form label span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { background: var(--surface); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(52,227,160,.12); }
.form .is-invalid { border-color: #ff6b6b; }
.form__success { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; background: var(--bg-2); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.form__success p { color: var(--muted); }
.form__success h3 { font-size: 28px; letter-spacing: -0.03em; }
.form__check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: var(--accent); color: var(--accent-ink); transform: scale(0); transition: transform .7s var(--ease) .15s; }
.form.is-sent .form__success { opacity: 1; visibility: visible; }
.form.is-sent .form__check { transform: scale(1); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 72px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__tag { color: var(--muted); margin-top: 12px; }
.footer__cols { display: flex; gap: clamp(40px, 7vw, 96px); flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: 8px; }
.footer__cols small { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.footer__cols a { color: var(--muted); transition: color .3s; }
.footer__cols a:hover { color: var(--accent); }
.footer__word { text-align: center; margin-top: 40px; line-height: .78; }
.footer__word span { display: inline-block; font-size: 25vw; font-weight: 800; letter-spacing: -0.07em; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--xl { grid-column: span 2; grid-row: span 2; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan__desc { min-height: 0; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .mock__main { grid-template-columns: 1fr; }
  .mock__copy p, .mock__btns { display: none; }
  .toast--b { display: none; }
  .about__grid, .process__grid, .faq__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .process__intro { position: static; }
  /* horizontal gallery becomes vertical cards */
  .work__track { flex-direction: column; width: auto; padding-inline: 16px; gap: 40px; }
  .project { width: 100%; }
  .work__progress { display: none; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .card--xl, .card--wide { grid-column: span 1; grid-row: span 1; }
  .card--xl { grid-row: span 2; }
  .mock__nav span { display: none; }
  .mock__mini { display: none; }
  .toast--a { right: 3%; bottom: 4%; transform: scale(.85); }
  .browser__live { display: none; }
  .form__fields { grid-template-columns: 1fr; }
  .srv__top { grid-template-columns: 34px 1fr auto; }
  .srv__body > div { padding-left: 50px; }
  .srv__arrow { width: 40px; height: 40px; font-size: 16px; }
  .stat { padding: 20px 16px; }
  .data { padding: 20px 18px 4px; }
  .ring { width: 96px; height: 96px; }
  .preloader__label span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__inner { animation: none; }
  .mock__line { stroke-dashoffset: 0; }
  .ring__fg { stroke-dashoffset: 41; }
  .grain { display: none; }
}
