/* Morsebits — site styles */

:root {
  --bg: #ffffff;
  --bg-2: #f4f4f6;
  --bg-3: #ebebef;
  --ink: #0a0a0b;
  --ink-2: #16161a;
  --ink-3: #222228;
  --text: #0a0a0b;
  --muted: #5c5f66;
  --muted-dark: #a1a1aa;
  --line: #e4e4e8;
  --line-dark: rgba(255, 255, 255, 0.1);

  --red: #ff3b30;
  --orange: #ff7a1a;
  --yellow: #ffc300;
  --green: #22c55e;
  --blue: #2f6bff;
  --violet: #8b3dff;
  --pink: #ff2e7e;
  --spectrum: linear-gradient(90deg, #ff7a1a 0%, #ff2e7e 35%, #8b3dff 70%, #2f6bff 100%);

  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-logo: "Overpass", "Inter Tight", system-ui, sans-serif;

  --radius-lg: 32px;
  --radius: 24px;
  --radius-sm: 14px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.032em;
  margin: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a30; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #ececf0; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--sm { padding: 11px 18px; font-size: 14.5px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Logo ---------- */

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-logo); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; line-height: 1; }
.logo img { width: 34px; height: 34px; }
.logo--light { color: #fff; }
.logo--light img { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); border-radius: 6px; }

/* ---------- Header ---------- */

.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.header.is-scrolled { border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-size: 15px; font-weight: 500; padding: 9px 14px; border-radius: 999px; color: #2b2d33; transition: background 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-2); }
.header__cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 76px 0 0 0; z-index: 99; background: #fff;
  padding: 16px var(--gutter) 40px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s; overflow-y: auto;
}
.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a:not(.btn) { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.03em; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 28px; }

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--tight { padding-top: 0; }
.section--grey { background: var(--bg-2); }
.section--dark { background: var(--ink); color: #fff; }

.kicker { display: inline-block; font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.section--dark .kicker { color: var(--muted-dark); }
.kicker--grad { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }

.head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 72px); }
.head h2 { font-size: clamp(40px, 6.4vw, 84px); }
.head h2 .light { font-weight: 400; color: var(--muted); letter-spacing: -0.03em; }
.section--dark .head h2 .light { color: var(--muted-dark); }
.head p { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); margin-top: 22px; max-width: 640px; }
.section--dark .head p { color: var(--muted-dark); }
.head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.head--split > div { max-width: 820px; }

/* ---------- Hero ---------- */

.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); }
.hero__pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--bg-2); font-size: 14.5px; font-weight: 500; }
.hero__pill b { background: var(--ink); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.hero__pill:hover { background: var(--bg-3); }
.hero h1 { font-size: clamp(54px, 11vw, 168px); line-height: 0.92; letter-spacing: -0.045em; margin-top: 28px; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; margin-top: 34px; }
.hero__lead { font-size: clamp(18px, 1.8vw, 22px); color: var(--muted); max-width: 640px; line-height: 1.5; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Prism art */

.prism { position: relative; margin-top: clamp(40px, 6vw, 72px); border-radius: var(--radius-lg); background: var(--ink); overflow: hidden; aspect-ratio: 1200 / 560; isolation: isolate; }
.prism svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.prism__beam { stroke-dasharray: 14 10; animation: beam 1.2s linear infinite; }
@keyframes beam { to { stroke-dashoffset: -24; } }
.prism__rays path { animation: ray 5s ease-in-out infinite; transform-origin: 600px 290px; }
.prism__rays path:nth-child(2) { animation-delay: 0.3s; }
.prism__rays path:nth-child(3) { animation-delay: 0.6s; }
.prism__rays path:nth-child(4) { animation-delay: 0.9s; }
.prism__rays path:nth-child(5) { animation-delay: 1.2s; }
.prism__rays path:nth-child(6) { animation-delay: 1.5s; }
@keyframes ray { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
.prism__labels { position: absolute; inset: 0; pointer-events: none; }
.prism__label {
  position: absolute; right: 2.4%; transform: translateY(-50%); pointer-events: auto;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 999px; color: #fff; font-weight: 600; font-size: clamp(12px, 1.2vw, 15px);
  transition: background 0.25s, transform 0.25s var(--ease);
}
.prism__label:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-50%) translateX(-4px); }
.prism__label i { width: 10px; height: 10px; border-radius: 50%; }
.prism__caption { position: absolute; left: 3.5%; bottom: 7%; color: rgba(255, 255, 255, 0.7); font-size: clamp(12px, 1.1vw, 15px); max-width: 30%; line-height: 1.4; }
.prism__caption strong { display: block; color: #fff; font-family: var(--font-display); font-size: clamp(15px, 1.8vw, 24px); letter-spacing: -0.03em; margin-bottom: 4px; }
.prism-chips { display: none; }

/* ---------- Marquee ---------- */

.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.ticker__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -0.03em; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 15px solid currentColor; opacity: 0.25; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Studios bento ---------- */

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 560px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(26px, 3vw, 40px);
  color: #fff; isolation: isolate; transition: transform 0.5s var(--ease);
}
.tile:hover { transform: translateY(-6px); }
.tile--apps { grid-column: span 7; background: radial-gradient(120% 90% at 80% 0%, #6d5cff 0%, #2f3bff 35%, #0f1340 100%); }
.tile--games { grid-column: span 5; background: #0d2c1a; }
.tile--ai { grid-column: span 5; background: #0a0a0b; }
.tile--web { grid-column: span 7; background: radial-gradient(120% 100% at 10% 0%, #ffd1e6 0%, #ffb37a 45%, #ff5a3c 100%); color: var(--ink); }
.tile__tag { font-size: 14px; font-weight: 600; opacity: 0.75; }
.tile h3 { font-size: clamp(34px, 4.2vw, 56px); margin-top: 10px; }
.tile p { margin-top: 14px; max-width: 460px; opacity: 0.85; font-size: 16.5px; }
.tile .link-arrow { margin-top: 22px; }
.tile__art { position: absolute; inset: 0; z-index: -1; }

/* apps art: phones */
.phones { position: absolute; top: 34px; right: 34px; display: flex; gap: 18px; transform: rotate(-8deg); }
.mini-phone { width: 150px; height: 304px; border-radius: 28px; background: #0b0b10; padding: 7px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.mini-phone:nth-child(2) { transform: translateY(46px); }
.mini-phone__screen { width: 100%; height: 100%; border-radius: 22px; overflow: hidden; padding: 26px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.mini-phone--a .mini-phone__screen { background: #111827; }
.mini-phone--b .mini-phone__screen { background: #f6f6fb; }
.mp-big { font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; color: #fbbf24; letter-spacing: -0.04em; }
.mp-sub { font-size: 9.5px; color: #9ca3af; }
.mp-card { border-radius: 12px; padding: 9px; background: #1f2937; display: grid; gap: 6px; }
.mp-bar { height: 5px; border-radius: 3px; background: #fbbf24; }
.mini-phone--b .mp-card { background: #fff; box-shadow: 0 2px 8px rgba(20, 20, 60, 0.06); }
.mp-ring { width: 64px; height: 64px; border-radius: 50%; margin: 6px auto; background: conic-gradient(#6d5cff 0 68%, #e6e6f5 68% 100%); display: grid; place-items: center; }
.mp-ring::after { content: ""; width: 46px; height: 46px; border-radius: 50%; background: #f6f6fb; }
.mp-line { height: 6px; border-radius: 3px; background: #e4e4f0; }
.mp-line--s { width: 60%; }
.mp-btn { margin-top: auto; height: 26px; border-radius: 9px; background: #2f3bff; }

/* games art */
.tile--games .tile__art img { width: 100%; height: 100%; object-fit: cover; object-position: 90% center; }
.tile--games .tile__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%); }
.tile__badge { position: absolute; top: 26px; left: 26px; display: flex; align-items: center; gap: 10px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); padding: 7px 14px 7px 7px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.tile__badge img { width: 28px; height: 28px; border-radius: 8px; }

/* ai art: orb */
.orb { position: absolute; width: 360px; height: 360px; top: 30px; left: 50%; transform: translateX(-50%); border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9) 0, rgba(255, 180, 120, 0.6) 8%, transparent 26%),
    radial-gradient(circle at 60% 60%, #8b3dff 0, transparent 55%),
    radial-gradient(circle at 30% 70%, #ff2e7e 0, transparent 50%),
    radial-gradient(circle at 70% 25%, #ff7a1a 0, transparent 45%),
    radial-gradient(circle at 50% 50%, #2f1a66 0, #0a0a0b 72%);
  filter: saturate(1.2); animation: spin 18s linear infinite;
  box-shadow: 0 0 120px 10px rgba(139, 61, 255, 0.35);
}
.orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 9px); mix-blend-mode: screen; }
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
.tile--ai .tile__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 11, 0.95) 80%); }

/* web art: browser */
.browser { position: absolute; top: 34px; right: -40px; width: 78%; background: #fff; border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(120, 30, 0, 0.5); overflow: hidden; transform: rotate(3deg); }
.browser__bar { display: flex; gap: 6px; padding: 12px 14px; background: #f3f3f5; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d4d8; }
.browser__bar i:nth-child(1) { background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__body { padding: 22px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.b-h { height: 18px; border-radius: 6px; background: #0a0a0b; width: 90%; }
.b-h--2 { width: 65%; margin-top: 8px; }
.b-p { height: 7px; border-radius: 4px; background: #e4e4e8; margin-top: 10px; }
.b-p--s { width: 70%; }
.b-btn { width: 90px; height: 26px; border-radius: 999px; background: var(--ink); margin-top: 14px; }
.b-img { border-radius: 12px; background: var(--spectrum); min-height: 120px; }
.serp { position: absolute; left: 40px; top: 180px; width: 260px; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 30px 60px -20px rgba(120, 30, 0, 0.45); transform: rotate(-4deg); }
.serp__rank { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #15803d; background: #dcfce7; padding: 3px 8px; border-radius: 999px; }
.serp__title { height: 10px; border-radius: 4px; background: #1a0dab; width: 85%; margin-top: 10px; opacity: 0.85; }
.serp__url { height: 6px; border-radius: 3px; background: #15803d; width: 45%; margin-top: 8px; opacity: 0.6; }
.serp__p { height: 6px; border-radius: 3px; background: #e4e4e8; margin-top: 8px; }

/* ---------- End-to-end ---------- */

.journey { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.stage { position: relative; background: #fff; border-radius: var(--radius-sm); padding: 24px 22px 26px; min-height: 290px; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.stage:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(10, 10, 11, 0.3); }
.stage__num { font-family: var(--font-display); font-weight: 800; font-size: 15px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.stage h3 { font-size: 23px; letter-spacing: -0.03em; margin-top: 22px; line-height: 1.1; }
.stage p { font-size: 14.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.stage ul { list-style: none; margin: auto 0 0; padding: 18px 0 0; display: grid; gap: 6px; }
.stage li { font-size: 13px; font-weight: 500; }
.stage li::before { content: "→ "; color: var(--muted); }
.stage::after { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--c); }
.stage .stage__num { background: var(--c); }

.kit { margin-top: 20px; border-radius: var(--radius); background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.kit::before { content: ""; position: absolute; right: -10%; top: -60%; width: 70%; height: 200%; background: var(--spectrum); filter: blur(90px); opacity: 0.35; z-index: -1; }
.kit h3 { font-size: clamp(34px, 4.4vw, 60px); }
.kit p { color: rgba(255, 255, 255, 0.75); margin-top: 16px; max-width: 480px; }
.kit .btn { margin-top: 28px; }
.kit__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kit__item { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); border-radius: 14px; padding: 14px 16px; font-weight: 500; font-size: 15px; }
.kit__item svg { width: 20px; height: 20px; flex: 0 0 auto; color: #fff; }

/* ---------- Services list ---------- */

.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 70px 1.1fr 1.4fr 56px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding 0.4s var(--ease); position: relative; }
.svc:hover { padding-left: 14px; padding-right: 14px; }
.svc__num { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: 16px; }
.svc h3 { font-size: clamp(26px, 3.2vw, 44px); letter-spacing: -0.04em; }
.svc p { color: var(--muted); font-size: 16px; }
.svc__go { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--ease); }
.svc__go svg { width: 20px; height: 20px; }
.svc:hover .svc__go { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(-45deg); }
.svc__dot { position: absolute; left: 0; top: 50%; width: 6px; height: 0; border-radius: 3px; background: var(--c, var(--ink)); transform: translateY(-50%); transition: height 0.4s var(--ease); }
.svc:hover .svc__dot { height: 60%; }

/* ---------- Work ---------- */

.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); transition: transform 0.5s var(--ease); }
.card:hover { transform: translateY(-6px); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.card h3 { font-size: 32px; letter-spacing: -0.04em; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .link-arrow { margin-top: auto; padding-top: 10px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #fff; align-self: flex-start; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.status--soon::before { background: var(--green); }

.media-ts { background: radial-gradient(circle at 50% 40%, #24304f 0%, #111827 70%); display: grid; place-items: center; }
.media-ts img { width: 34%; height: auto; border-radius: 26%; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); object-fit: contain; }
.card:hover .media-ts img { transform: scale(1.06) rotate(-4deg); }
.media-zp { background: radial-gradient(circle at 50% 115%, #e5262f 0%, #4a0b10 40%, #0b0b0d 75%); display: grid; place-items: center; }
.media-zp img { width: 26%; height: auto; border-radius: 22%; object-fit: contain; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); }
.media-zp span { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: 0.22em; color: rgba(255, 255, 255, 0.55); font-weight: 600; }

/* ---------- AI band ---------- */

.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.ai-points { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-top: 40px; }
.ai-point h4 { font-size: 19px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.ai-point h4 i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.ai-point p { color: var(--muted-dark); font-size: 15px; margin-top: 8px; line-height: 1.5; }

.chat { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 28px; overflow: hidden; position: relative; }
.chat::before { content: ""; position: absolute; inset: -1px; border-radius: 28px; padding: 1px; background: var(--spectrum); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.6; pointer-events: none; }
.chat__bar { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line-dark); font-size: 14px; font-weight: 600; }
.chat__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.chat__bar small { margin-left: auto; color: var(--muted-dark); font-weight: 500; font-size: 12.5px; }
.chat__body { padding: 22px 20px 26px; display: flex; flex-direction: column; gap: 14px; min-height: 400px; }
.msg { max-width: 86%; padding: 13px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity 0.5s, transform 0.5s var(--ease); }
.msg.is-in { opacity: 1; transform: none; }
.msg--user { align-self: flex-end; background: #fff; color: var(--ink); border-bottom-right-radius: 6px; }
.msg--bot { align-self: flex-start; background: var(--ink-3); color: #e7e7ea; border-bottom-left-radius: 6px; }
.msg__src { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.msg__src span { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--muted-dark); }
.msg__done { margin-top: 10px; font-size: 12.5px; color: #4ade80; font-weight: 500; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-dark); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

/* ---------- Process ---------- */

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { background: #fff; border-radius: var(--radius-sm); padding: 26px 22px; border: 1px solid var(--line); }
.step__n { font-family: var(--font-display); font-weight: 800; font-size: 54px; letter-spacing: -0.05em; line-height: 1; }
.step h3 { font-size: 22px; letter-spacing: -0.03em; margin-top: 18px; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 8px; line-height: 1.5; }
.step__time { display: inline-block; margin-top: 16px; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--bg-2); }

/* ---------- Plans ---------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); background: var(--bg-2); display: flex; flex-direction: column; gap: 14px; }
.plan--hl { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.plan--hl::before { content: ""; position: absolute; inset: auto -30% -50% -30%; height: 70%; background: var(--spectrum); filter: blur(80px); opacity: 0.35; z-index: -1; }
.plan__for { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan.plan--hl .plan__for, .plan.plan--hl p, .plan.plan--hl li { color: rgba(255, 255, 255, 0.75); }
.plan h3 { font-size: 36px; letter-spacing: -0.04em; }
.plan p { color: var(--muted); }
.plan__meta { font-weight: 700; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan--hl .plan__meta { border-color: var(--line-dark); }
.plan ul { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; }
.plan li svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* ---------- Numbers ---------- */

.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__quote { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 50px); letter-spacing: -0.04em; line-height: 1.08; }
.why__list { display: grid; }
.why__item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.why__item:first-child { padding-top: 0; }
.why__item h4 { font-size: 22px; letter-spacing: -0.03em; }
.why__item p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(56px, 8vw, 100px); }
.stat { border-radius: var(--radius-sm); padding: 28px; background: var(--bg-2); }
.stat strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5vw, 72px); letter-spacing: -0.06em; line-height: 1; }
.stat span { display: block; color: var(--muted); margin-top: 10px; font-size: 15px; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .head { position: sticky; top: 110px; margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--bg-2); position: relative; transition: background 0.25s, color 0.25s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: var(--ink); color: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%); }
.faq details p { color: var(--muted); padding: 0 54px 26px 0; }

/* ---------- CTA / contact ---------- */

.cta { border-radius: var(--radius-lg); background: var(--ink); color: #fff; padding: clamp(32px, 6vw, 88px); position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.cta::before { content: ""; position: absolute; left: -20%; bottom: -70%; width: 90%; height: 140%; background: var(--spectrum); filter: blur(110px); opacity: 0.45; z-index: -1; }
.cta h2 { font-size: clamp(44px, 6.4vw, 92px); letter-spacing: -0.04em; line-height: 0.95; }
.cta__lead { color: rgba(255, 255, 255, 0.75); font-size: 19px; margin-top: 22px; max-width: 460px; }
.cta__contacts { display: grid; gap: 16px; margin-top: 36px; }
.cta__contacts a, .cta__contacts div { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.cta__contacts svg { width: 22px; height: 22px; flex: 0 0 auto; }
.cta__contacts small { display: block; color: rgba(255, 255, 255, 0.55); font-size: 13px; font-weight: 400; }

.form { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; backdrop-filter: blur(10px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.8); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line-dark); border-radius: 12px; padding: 13px 14px; font-size: 15.5px; color: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a1a1aa' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select option { background: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15); }
.field input::placeholder, .field textarea::placeholder { color: #71717a; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.pill input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.pill input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.form .btn { width: 100%; }
.form__status { font-size: 14px; min-height: 1em; color: #4ade80; }
.form__note { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }

.cta--row { grid-template-columns: 1fr auto; align-items: end; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }

.showcase { display: grid; grid-template-columns: 1.5fr 1fr; border-radius: var(--radius); overflow: hidden; background: #0d2c1a; color: #fff; transition: transform 0.5s var(--ease); }
.showcase:hover { transform: translateY(-6px); }
.showcase__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.showcase__body { padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.showcase__body h3 { font-size: clamp(34px, 4vw, 52px); }
.showcase__body p { opacity: 0.8; }

/* ---------- Footer ---------- */

.footer { padding: clamp(64px, 8vw, 100px) 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.footer__brand p { color: var(--muted); margin-top: 18px; font-size: 15px; max-width: 300px; }
.footer h2 { font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: 0; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; color: var(--muted); }
.footer ul a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.socials a:hover { background: var(--ink); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer__mega { font-family: var(--font-logo); font-weight: 800; font-size: clamp(64px, 17vw, 260px); letter-spacing: -0.05em; line-height: 0.8; margin-top: 72px; color: var(--ink); white-space: nowrap; overflow: hidden; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.footer__bottom a:hover { color: var(--ink); }

/* ---------- Service pages ---------- */

.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(48px, 8.4vw, 124px); line-height: 0.95; letter-spacing: -0.042em; margin-top: 24px; max-width: 1100px; }
.page-hero__lead { font-size: clamp(18px, 1.8vw, 22px); color: var(--muted); max-width: 700px; margin-top: 28px; line-height: 1.5; }
.page-hero .hero__actions { margin-top: 34px; }
.page-band { height: clamp(220px, 32vw, 420px); border-radius: var(--radius-lg); position: relative; overflow: hidden; background: var(--band, var(--spectrum)); }
.page-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 80% 20%, rgba(255, 255, 255, 0.45), transparent 60%), radial-gradient(50% 80% at 10% 100%, rgba(0, 0, 0, 0.25), transparent 70%); }
.page-band svg { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: clamp(120px, 22vw, 300px); height: auto; opacity: 0.9; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--bg-2); border-radius: var(--radius-sm); padding: 28px; }
.feature__i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.feature__i svg { width: 22px; height: 22px; }
.feature h3 { font-size: 23px; letter-spacing: -0.03em; margin-top: 20px; line-height: 1.1; }
.feature p { color: var(--muted); font-size: 15.5px; margin-top: 10px; }

.deliver { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.deliver__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deliver__list li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); border-radius: 14px; padding: 16px; font-weight: 500; font-size: 15.5px; }
.deliver__list svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related a { border-radius: var(--radius-sm); padding: 24px; background: var(--bg-2); display: flex; flex-direction: column; gap: 30px; min-height: 170px; transition: background 0.25s, color 0.25s; }
.related a:hover { background: var(--ink); color: #fff; }
.related strong { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.035em; line-height: 1.1; }
.related span { margin-top: auto; font-size: 14px; font-weight: 600; }

/* ---------- Legal / 404 ---------- */

.legal-hero { padding: clamp(48px, 7vw, 96px) 0 24px; }
.legal-hero h1 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -0.055em; }
.legal-hero p { color: var(--muted); margin-top: 16px; }
.prose { max-width: 760px; padding: 40px 0 120px; }
.prose h2 { font-size: 28px; letter-spacing: -0.03em; margin: 48px 0 14px; }
.prose p, .prose li { color: #3c3e44; margin-bottom: 14px; }
.prose ul { padding-left: 20px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.notfound { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 80px var(--gutter); }
.notfound h1 { font-size: clamp(110px, 22vw, 260px); letter-spacing: -0.07em; line-height: 0.9; }
.notfound p { color: var(--muted); font-size: 19px; margin: 18px 0 30px; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .journey { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .related { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav, .header__cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .tile--apps, .tile--games, .tile--ai, .tile--web { grid-column: span 12; }
  .ai-grid, .why, .faq-grid, .cta, .cta--row, .kit, .deliver, .showcase { grid-template-columns: 1fr; }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .faq-grid .head { position: static; }
  .plans, .work { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr 52px; gap: 8px 16px; }
  .svc__num { display: none; }
  .svc p { grid-column: 1; grid-row: 2; }
  .svc__go { grid-column: 2; grid-row: 1 / span 2; }
  .prism__labels, .prism__caption { display: none; }
  .prism-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .prism-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--bg-2); font-size: 14px; font-weight: 600; }
  .prism-chips i { width: 9px; height: 9px; border-radius: 50%; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .prism { aspect-ratio: 4 / 3; }
  .tile { min-height: 520px; }
  .tile--apps { min-height: 640px; }
  .phones { top: 24px; right: -30px; }
  .mini-phone { width: 130px; height: 264px; }
  .orb { width: 280px; height: 280px; }
  .browser { width: 96%; right: -60px; }
  .serp { left: 20px; top: 150px; width: 220px; }
  .journey, .steps, .steps--4, .feature-grid, .ai-points, .kit__list, .deliver__list, .related { grid-template-columns: 1fr; }
  .stage { min-height: 0; }
  .form__row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
  .faq details p { padding-right: 0; }
  .faq summary { font-size: 18px; }
}

/* ---------- Thumbsight product page ---------- */

.ts { --navy: #111827; --navy-2: #1f2937; --navy-3: #374151; --amber: #fbbf24; --amber-2: #f59e0b; --ts-muted: #9ca3af; }
.ts-hero { background: radial-gradient(70% 60% at 75% 30%, rgba(251, 191, 36, 0.16), transparent 70%), var(--navy); color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.ts-hero .crumbs { color: var(--ts-muted); }
.ts-hero .crumbs a:hover { color: #fff; }
.ts-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 28px; }
.ts-brand { display: flex; align-items: center; gap: 16px; }
.ts-brand img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.25); }
.ts-brand strong { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.03em; }
.ts-brand span { display: block; color: var(--ts-muted); font-size: 14.5px; }
.ts-hero h1 { font-size: clamp(48px, 6.2vw, 88px); line-height: 0.95; letter-spacing: -0.045em; margin-top: 30px; }
.ts-hero h1 em { font-style: normal; color: var(--amber); }
.ts-hero__lead { color: #d1d5db; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; margin-top: 24px; max-width: 580px; }
.ts-hero .hero__actions { margin-top: 32px; }
.btn--amber { background: var(--amber); color: var(--navy); }
.btn--amber:hover { background: #fcd34d; }
.ts-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.ts-badges span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); color: #e5e7eb; }

.ts-phones { position: relative; height: 600px; }
.ts-phone { position: absolute; width: 260px; aspect-ratio: 9 / 19; border-radius: 40px; background: #05070b; padding: 9px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.07) inset; }
.ts-phone__screen { height: 100%; border-radius: 32px; overflow: hidden; position: relative; background: var(--navy); color: #fff; padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.ts-phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; border-radius: 999px; background: #05070b; z-index: 3; }
.ts-phone--a { left: 0; top: 40px; transform: rotate(-6deg); z-index: 2; animation: tsf-a 7s ease-in-out infinite; }
.ts-phone--b { right: 0; top: 0; transform: rotate(5deg); animation: tsf-b 8s ease-in-out infinite; }
@keyframes tsf-a { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-12px); } }
@keyframes tsf-b { 0%, 100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(5deg) translateY(10px); } }

.ts-row { display: flex; align-items: center; justify-content: space-between; }
.ts-muted { color: var(--ts-muted); }
.ts-big { font-family: var(--font-display); font-weight: 800; font-size: 54px; line-height: 1; color: var(--amber); letter-spacing: -0.04em; }
.ts-card { background: var(--navy-2); border-radius: 16px; padding: 12px; }
.ts-card h5 { margin: 0 0 8px; font-size: 11.5px; font-weight: 600; color: #d1d5db; font-family: var(--font-body); }
.ts-bar { display: grid; grid-template-columns: 58px 1fr 20px; gap: 6px; align-items: center; font-size: 10.5px; color: var(--ts-muted); margin-top: 6px; }
.ts-bar i { height: 6px; border-radius: 3px; background: var(--amber); }
.ts-split { display: flex; height: 8px; border-radius: 4px; overflow: hidden; }
.ts-split i:first-child { background: var(--amber); }
.ts-split i:last-child { background: #4b5563; }
.ts-score { display: flex; align-items: center; gap: 12px; }
.ts-ring { width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(var(--amber) 0 72%, #374151 72% 100%); display: grid; place-items: center; flex: 0 0 auto; }
.ts-ring b { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-2); display: grid; place-items: center; font-family: var(--font-display); font-size: 15px; }

.ts-reel { position: absolute; inset: 0; background: linear-gradient(160deg, #3b2b6b 0%, #b0466b 50%, #f3a35c 100%); }
.ts-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.7)); }
.ts-pill { position: absolute; top: 46px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(17, 24, 39, 0.85); border: 1px solid rgba(251, 191, 36, 0.5); color: var(--amber); font-weight: 700; font-size: 13px; padding: 6px 11px; border-radius: 999px; }
.ts-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.ts-gate { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; background: rgba(17, 24, 39, 0.94); border-radius: 22px; padding: 16px; display: grid; gap: 10px; text-align: center; }
.ts-gate strong { font-family: var(--font-display); font-size: 15px; }
.ts-gate__sum { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--amber); letter-spacing: -0.02em; }
.ts-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ts-keys span { background: var(--navy-2); border-radius: 10px; padding: 7px 0; font-weight: 600; font-size: 13px; }
.ts-gate small { color: var(--ts-muted); font-size: 11px; }

.ts-proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ts-proof div { background: #fff; padding: 28px; }
.ts-proof strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 4.4vw, 60px); letter-spacing: -0.05em; line-height: 1; }
.ts-proof span { display: block; color: var(--muted); margin-top: 10px; font-size: 15px; }

.ts-problem { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ts-compare-mini { display: grid; gap: 14px; }
.ts-cm { border-radius: var(--radius-sm); padding: 22px 24px; background: var(--bg-2); }
.ts-cm small { font-size: 13px; font-weight: 600; color: var(--muted); }
.ts-cm p { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.03em; line-height: 1.2; margin-top: 6px; }
.ts-cm--ts { background: #111827; color: #fff; }
.ts-cm--ts small { color: #fbbf24; }

.ts-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ts-group { border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); background: var(--bg-2); display: flex; flex-direction: column; gap: 14px; }
.ts-group--dark { background: #111827; color: #fff; }
.ts-group__n { font-size: 13.5px; font-weight: 700; color: #b45309; }
.ts-group--dark .ts-group__n { color: #fbbf24; }
.ts-group h3 { font-size: clamp(28px, 3vw, 40px); }
.ts-group > p { color: var(--muted); }
.ts-group--dark > p { color: #9ca3af; }
.ts-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.ts-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.ts-list li > span { width: 28px; height: 28px; border-radius: 9px; background: #fff; display: grid; place-items: center; font-size: 14px; }
.ts-group--dark .ts-list li > span { background: #1f2937; }
.ts-list strong { display: block; font-size: 16px; }
.ts-list p { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin-top: 2px; }
.ts-group--dark .ts-list p { color: #9ca3af; }

.ts-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.ts-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
.ts-table th, .ts-table td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.ts-table th:first-child, .ts-table td:first-child { text-align: left; }
.ts-table thead th { font-family: var(--font-display); font-size: 16px; font-weight: 700; background: var(--bg-2); letter-spacing: -0.01em; }
.ts-table thead th.is-ts { background: #111827; color: #fbbf24; }
.ts-table td.is-ts { background: #fffbeb; font-weight: 600; }
.ts-table tbody tr:last-child td { border-bottom: 0; }
.ts-y, .ts-n, .ts-p { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 800; }
.ts-y { background: #dcfce7; color: #15803d; }
.ts-n { background: #f4f4f5; color: #a1a1aa; }
.ts-p { background: #fef3c7; color: #b45309; }
.ts-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.ts-legend > span { display: inline-flex; align-items: center; gap: 8px; }

.ts-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ts-step { border-radius: var(--radius-sm); padding: 28px; background: #1f2937; }
.ts-step b { font-family: var(--font-display); font-size: 48px; color: #fbbf24; letter-spacing: -0.04em; line-height: 1; }
.ts-step h3 { font-size: 22px; margin-top: 16px; letter-spacing: -0.02em; }
.ts-step p { color: #9ca3af; margin-top: 8px; font-size: 15px; }

.ts-privacy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ts-priv { border-radius: var(--radius-sm); padding: 26px; border: 1px solid var(--line); }
.ts-priv h3 { font-size: 20px; letter-spacing: -0.02em; display: flex; gap: 10px; align-items: center; }
.ts-priv h3 i { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }
.ts-priv p { color: var(--muted); font-size: 15px; margin-top: 8px; }

.ts-cta::before { display: none; }
.ts-cta { background: radial-gradient(60% 90% at 85% 10%, rgba(251, 191, 36, 0.25), transparent 70%), #111827; }

@media (max-width: 960px) {
  .ts-hero__grid, .ts-problem, .ts-features { grid-template-columns: 1fr; }
  .ts-phones { height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
  .ts-proof { grid-template-columns: repeat(2, 1fr); }
  .ts-steps, .ts-privacy { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ts-phones { height: 520px; }
  .ts-phone { width: 200px; border-radius: 32px; padding: 7px; }
  .ts-phone__screen { border-radius: 26px; padding: 38px 12px 12px; gap: 8px; }
  .ts-big { font-size: 42px; }
  .ts-gate__sum { font-size: 24px; }
  .ts-keys span { padding: 5px 0; }
}

/* ---------- Products page ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter span { opacity: 0.55; margin-left: 4px; }

.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--bg-2); transition: transform 0.5s var(--ease); }
.product[hidden] { display: none; }
.product:hover { transform: translateY(-6px); }
.product--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; background: #0d3b1f; color: #fff; }
.product__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.product--feature .product__media { aspect-ratio: auto; min-height: 460px; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product:hover .product__media img { transform: scale(1.04); }
.product__body { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-s { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--ink); }
.product--feature .chip-s { background: rgba(255, 255, 255, 0.12); color: #fff; }
.chip-s--live { background: #dcfce7; color: #166534; }
.product--feature .chip-s--live { background: #ffd23a; color: #0d3b1f; }
.chip-s--dev { background: #fef3c7; color: #92400e; }
.product h2 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -0.04em; }
.product__tag { font-weight: 600; font-size: 17px; }
.product p { color: var(--muted); }
.product--feature p { color: rgba(255, 255, 255, 0.78); }
.product__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 6px; }
.product__facts div { border-radius: 12px; padding: 10px 12px; background: rgba(255, 255, 255, 0.08); }
.product__facts strong { display: block; font-family: var(--font-display); font-size: 24px; letter-spacing: -0.03em; color: #ffd23a; }
.product__facts span { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.product .link-arrow { margin-top: auto; padding-top: 10px; }
.product__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 12px; }

.collage { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 32px; background: radial-gradient(60% 70% at 50% 40%, rgba(255, 210, 58, 0.25), transparent 70%), linear-gradient(160deg, #1d6b34, #0d3b1f); }
.collage img { width: 30%; max-width: 190px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; border: 4px solid #fff; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6); }
.collage img:nth-child(1) { transform: rotate(-6deg) translateY(10px); }
.collage img:nth-child(2) { transform: translateY(-10px); z-index: 1; border-color: #05070b; border-width: 6px; border-radius: 22px; }
.collage img:nth-child(3) { transform: rotate(6deg) translateY(10px); }
.product:hover .collage img { transform: none; }
.next-card { grid-column: 1 / -1; border-radius: var(--radius); border: 2px dashed var(--line); padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.next-card h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.035em; }
.next-card p { color: var(--muted); margin-top: 10px; max-width: 560px; }

/* ---------- Elephant Run page ---------- */

.er { --jungle: #0d3b1f; --jungle-2: #13502b; --leaf: #74d65b; --banana: #ffd23a; }
.er-hero { background: radial-gradient(60% 70% at 78% 35%, rgba(255, 210, 58, 0.22), transparent 70%), radial-gradient(50% 60% at 10% 100%, rgba(116, 214, 91, 0.18), transparent 70%), var(--jungle); color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.er-hero .crumbs { color: rgba(255, 255, 255, 0.6); }
.er-hero .crumbs a:hover { color: #fff; }
.er-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 28px; }
.er-hero__studio { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: rgba(255, 255, 255, 0.8); }
.er-hero__studio img { width: 30px; height: 30px; border-radius: 8px; }
.er-hero h1 { font-size: clamp(50px, 7vw, 100px); line-height: 0.95; letter-spacing: -0.045em; margin-top: 22px; }
.er-hero h1 em { font-style: normal; color: var(--banana); }
.er-hero__lead { color: rgba(255, 255, 255, 0.82); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; margin-top: 24px; max-width: 600px; }
.er-hero .hero__actions { margin-top: 32px; }
.btn--banana { background: #ffd23a; color: #0d3b1f; }
.btn--banana:hover { background: #ffe066; }
.er-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.er-badges span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); }

.er-visual { position: relative; height: 600px; }
.er-phone { position: absolute; right: 8%; top: 0; width: 280px; aspect-ratio: 9 / 16; border-radius: 36px; background: #05070b; padding: 9px; transform: rotate(4deg); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.8); animation: erf 7s ease-in-out infinite; }
.er-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.er-panel { position: absolute; width: 190px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.er-panel img { width: 100%; height: 100%; object-fit: cover; }
.er-panel--a { left: 0; top: 60px; transform: rotate(-8deg); }
.er-panel--b { left: 18%; bottom: 0; transform: rotate(5deg); z-index: 2; }
@keyframes erf { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-12px); } }

.er-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.er-stats div { background: #fff; padding: 26px 24px; }
.er-stats strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 4.2vw, 58px); letter-spacing: -0.05em; line-height: 1; color: var(--jungle); }
.er-stats span { display: block; color: var(--muted); margin-top: 8px; font-size: 15px; }

.er-story { background: #0b0f14; color: #fff; overflow: hidden; }
.er-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.er-quote { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -0.025em; border-left: 4px solid var(--banana); padding-left: 22px; }
.er-story p.er-body { color: #b6bcc6; margin-top: 22px; font-size: 17px; }
.moon { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 30px; }
.moon div { text-align: center; padding: 14px 6px; border-radius: 14px; background: #151b23; }
.moon i { display: block; width: 30px; height: 30px; margin: 0 auto; border-radius: 50%; background: #f5e6a8; box-shadow: inset var(--s, 0) 0 0 0 #151b23; }
.moon b { display: block; font-family: var(--font-display); font-size: 20px; margin-top: 8px; }
.moon span { display: block; font-size: 11.5px; color: #8b93a1; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 12px; margin-top: clamp(40px, 6vw, 64px); scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; border: 4px solid #fff; }
.strip figcaption { font-size: 13.5px; color: #b6bcc6; margin-top: 10px; line-height: 1.4; }
.bosses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.bosses span { padding: 8px 14px; border-radius: 999px; background: #151b23; border: 1px solid #252d38; font-weight: 600; font-size: 14px; }
.chapters { display: grid; gap: 10px; margin-top: 26px; }
.chapter { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: #151b23; }
.chapter b { font-family: var(--font-display); font-size: 15px; color: var(--banana); }
.chapter strong { display: block; font-size: 16px; }
.chapter small { color: #8b93a1; font-size: 13px; }
.chapter em { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #22301f; color: var(--leaf); white-space: nowrap; }
.chapter em.soon { background: #2a2416; color: var(--banana); }

.moves { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.move { border-radius: var(--radius-sm); padding: 26px; background: var(--bg-2); }
.move__e { font-size: 34px; line-height: 1; }
.move h3 { font-size: 24px; margin-top: 16px; letter-spacing: -0.03em; }
.move p { color: var(--muted); font-size: 15px; margin-top: 8px; }

.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.mini { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: transform 0.25s var(--ease), border-color 0.25s; }
.mini:hover { transform: translateY(-3px); border-color: var(--ink); }
.mini__e { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--c, #fff3c4); }
.mini strong { display: block; font-size: 15px; }
.mini span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }

.worlds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.world { border-radius: var(--radius-sm); padding: 22px; color: #fff; min-height: 300px; display: flex; flex-direction: column; background: var(--w); }
.world__e { font-size: 30px; }
.world h3 { font-size: 26px; margin-top: 14px; letter-spacing: -0.03em; }
.world ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; opacity: 0.9; }
.world__boss { margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 700; }
.world__boss span { display: block; font-weight: 500; opacity: 0.75; font-size: 12px; }

.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mode { border-radius: var(--radius-sm); padding: 24px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); }
.mode__e { font-size: 26px; }
.mode h3 { font-size: 20px; margin-top: 12px; letter-spacing: -0.02em; }
.mode p { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; margin-top: 6px; line-height: 1.5; }

@media (max-width: 1100px) {
  .worlds { grid-template-columns: repeat(3, 1fr); }
  .moves, .modes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .products, .product--feature, .er-hero__grid, .er-story__grid { grid-template-columns: 1fr; }
  .product--feature .product__media { min-height: 0; aspect-ratio: 16 / 9; }
  .er-visual { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .er-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .product__facts { grid-template-columns: repeat(2, 1fr); }
  .er-visual { height: 480px; }
  .er-phone { width: 210px; border-radius: 30px; padding: 7px; right: 0; }
  .er-phone img { border-radius: 24px; }
  .er-panel { width: 140px; border-width: 4px; }
  .er-stats { grid-template-columns: repeat(2, 1fr); }
  .moon { grid-template-columns: repeat(3, 1fr); }
  .worlds, .moves, .modes { grid-template-columns: 1fr; }
  .world { min-height: 0; }
}
