/* =====================================================================
   Three Dot Studio° — Design on Demand landing page
   Inter only. Electric Lime #DFFE02 is an accent, never body text on light.
   ===================================================================== */

@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-500.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-700.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --lime: #DFFE02;
  --lime-soft: #F1FFA0;
  --ink: #0A0A0A;
  --ink-2: #161616;
  --paper: #F4F4F0;
  --paper-2: #EBEBE4;
  --white: #FFFFFF;
  --ash: #5E5E58;       /* light grounds only */
  --ash-dark: #A3A39C;  /* dark grounds only */
  --line: rgba(10, 10, 10, .12);
  --line-dark: rgba(255, 255, 255, .14);

  --radius: 20px;
  --radius-lg: 28px;
  --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.section { padding-block: clamp(80px, 11vw, 150px); }

.h2 {
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: .98;
  letter-spacing: -.035em;
}
.lede { font-size: clamp(17px, 1.5vw, 21px); max-width: 560px; margin: 24px auto 0; }
.icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 60px; padding: 0 34px;
  border-radius: 999px;
  font-weight: 600; font-size: 16px;
  text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { height: 48px; padding: 0 28px; font-size: 15px; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #262626; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { box-shadow: 0 10px 30px -8px rgba(190, 220, 0, .7); }
.btn--white { background: var(--white); color: var(--ink); }

/* ---------- Tags ---------- */
.tag {
  position: relative; display: inline-block;
  background: var(--lime); color: var(--ink);
  font-weight: 600; font-size: 15px;
  padding: 8px 16px; border-radius: 4px;
}
.tag::before {
  content: ""; position: absolute; left: -10px; top: -8px;
  width: 11px; height: 11px; border-radius: 50%; background: var(--ink);
}
.tag--dark::before { background: var(--lime); }
.how .tag::before, .pricing .tag::before { content: none; }
.section-head { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .tag { margin-bottom: 22px; }

/* =============================== NAV =============================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 244, 240, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .3s;
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; }
.nav__logo img { height: 42px; width: auto; }
.nav__pill {
  display: flex; gap: 4px;
  padding: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
}
.nav__pill a {
  padding: 10px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background-color .2s;
}
.nav__pill a:hover { background: var(--paper-2); }
.nav__burger { display: none; }
.mobile-menu { display: none; }

/* =============================== HERO =============================== */
.hero { position: relative; padding-top: clamp(64px, 9vw, 120px); overflow: hidden; isolation: isolate; }
/* Dot-and-line grid behind the hero copy; isolation keeps it beneath every child, faded out at the edges. */
.hero::before {
  --cell: 64px;
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: 0 0 auto; height: min(100%, 980px);
  background-image:
    radial-gradient(circle, rgba(10, 10, 10, .14) 1.5px, transparent 2px),
    linear-gradient(to right, rgba(10, 10, 10, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 10, 10, .035) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  background-position: calc(50% + var(--cell) / 2) calc(var(--cell) / 2), 50% 0, 50% 0;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 30%, transparent 100%);
}
@media (max-width: 560px) { .hero::before { --cell: 44px; } }
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  top: -320px; right: -260px; width: 900px; height: 900px;
  background: radial-gradient(circle at center, rgba(223, 254, 2, .55) 0%, rgba(223, 254, 2, .18) 38%, rgba(223, 254, 2, 0) 66%);
  filter: blur(10px);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.08); } }
.hero__inner { position: relative; z-index: 1; text-align: center; }
.eyebrow-pill {
  display: inline-block;
  padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: rgba(255, 255, 255, .55);
  font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow-pill span { margin-inline: 6px; }
.hero__title {
  margin: 30px auto 0; max-width: 1240px;
  font-weight: 500;
  font-size: clamp(20px, 7vw, 96px); /* sized so the longest typer phrase still fits on line one */
  line-height: 1;
  letter-spacing: -.045em;
}
.nowrap { white-space: nowrap; }
/* Typewriter caret after the cycling hero phrase. */
.typer__caret {
  display: inline-block; width: .06em; height: .82em; margin-left: .06em;
  background: currentColor; vertical-align: -.04em;
  animation: caret-blink 1s steps(1) infinite;
}
.typer.is-typing + .typer__caret { animation: none; }
@keyframes caret-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .typer__caret { display: none; } }
@media (max-width: 767px) { .br-wide { display: none; } }
.hero__sub { margin: 30px auto 0; max-width: 760px; font-size: clamp(17px, 1.6vw, 21px); color: #2a2a28; }
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }


/* Client wordmarks */
.clients { margin-top: clamp(64px, 8vw, 110px); padding-top: 34px; border-top: 1px solid rgba(10,10,10,.28); }
.clients__label { text-align: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); margin-bottom: 26px; }
.clients__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px 40px; }
.wm { display: flex; flex-direction: column; align-items: center; line-height: 1; color: var(--ink); opacity: .82; transition: opacity .2s; }
.wm:hover { opacity: 1; }
.wm small { font-size: 9px; letter-spacing: .35em; margin-top: 5px; font-weight: 500; }
.wm--serif { font-size: 27px; letter-spacing: .28em; font-weight: 400; }
.wm--caps { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.wm--round { font-size: 30px; font-weight: 900; letter-spacing: -.05em; }
.wm--round small { letter-spacing: .1em; font-size: 11px; margin-top: 0; }
.wm--bold { font-size: 24px; font-weight: 900; letter-spacing: .02em; }
.wm--tight { font-size: 30px; font-weight: 800; letter-spacing: -.04em; }

/* Showcase marquee */
.showcase { margin-top: clamp(48px, 6vw, 80px); overflow: hidden; }
.showcase__track { display: flex; gap: 16px; padding-right: 16px; width: max-content; will-change: transform; animation: marquee 40s linear infinite; }
.showcase figure { margin: 0; width: clamp(240px, 28vw, 420px); aspect-ratio: 2400 / 1792; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); flex: none; }
.showcase img, .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
/* Gallery: fixed row height, each image keeps its own width (width/height attrs reserve space before load). */
.gallery img { width: auto; }
.showcase figure:hover img, .gallery figure:hover img { transform: scale(1.04); }
/* padding-right on the tracks matches the gap, so -50% is exactly one set and the loop has no jump. */
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* =============================== HOW =============================== */
/* One 12s cycle drives the rail fill and node + card highlight (4s per step). */
.how { --cycle: 12s; --play: 3.6s; }
/* Each card's visual plays once when its step becomes active (script.js adds .play), then holds
   its finished frame while the other steps play. Without .play nothing in the visual animates. */
.step:not(.play) .viz * { animation-name: none !important; }

.rail { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 28px; }
.rail__track { position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 50%; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail__fill { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); animation: rail-fill var(--cycle) linear infinite; }
@keyframes rail-fill { 0% { transform: scaleX(0); opacity: 1; } 66.6% { transform: scaleX(1); opacity: 1; } 92% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.rail__node {
  position: relative; justify-self: center;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  background: var(--paper); border: 1.5px solid var(--line);
  animation: node-on var(--cycle) infinite; animation-delay: calc(var(--i) * var(--cycle) / 3);
}
@keyframes node-on {
  0% { background: var(--paper); border-color: var(--line); box-shadow: 0 0 0 0 rgba(223, 254, 2, 0); }
  5%, 28% { background: var(--lime); border-color: var(--ink); box-shadow: 0 0 0 8px rgba(223, 254, 2, .35); }
  34%, 100% { background: var(--paper); border-color: var(--line); box-shadow: 0 0 0 0 rgba(223, 254, 2, 0); }
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.step {
  position: relative; display: flex; flex-direction: column;
  padding: 14px 14px 34px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  animation: step-on var(--cycle) var(--ease) infinite; animation-delay: calc(var(--i) * var(--cycle) / 3);
}
@keyframes step-on {
  0% { border-color: var(--line); box-shadow: 0 0 0 rgba(10, 10, 10, 0); translate: 0 0; }
  6%, 28% { border-color: var(--ink); box-shadow: 0 28px 50px -26px rgba(10, 10, 10, .38); translate: 0 -18px; }
  36%, 100% { border-color: var(--line); box-shadow: 0 0 0 rgba(10, 10, 10, 0); translate: 0 0; }
}
.step__num { margin: 26px 16px 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.step h3 { font-weight: 500; font-size: 32px; letter-spacing: -.02em; margin: 6px 16px 10px; }
.step > p:last-child { margin: 0 16px; font-size: 17px; color: #3a3a36; }

/* ---- Mini visuals ---- */
.viz {
  position: relative; height: 200px; border-radius: calc(var(--radius-lg) - 8px); overflow: hidden;
  background: var(--paper); display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 22px;
  background-image: radial-gradient(circle, rgba(10, 10, 10, .1) 1px, transparent 1.5px); background-size: 18px 18px;
}
.viz svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* 01 · plan toggle + subscribe button */
.toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-self: center; width: 210px; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.toggle span { position: relative; z-index: 1; text-align: center; padding: 9px 0; }
.toggle__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--lime); animation: thumb var(--play) var(--ease) both; }
@keyframes thumb { 0%, 15% { transform: translateX(0); } 30%, 100% { transform: translateX(100%); } }
.cta-wrap { position: relative; align-self: center; }
/* The button flips ink → lime in the same frame the label swaps, so it's never blank. */
.cta-mock {
  width: 210px; height: 46px; border-radius: 999px; display: grid; place-items: center;
  background: var(--ink); color: var(--white); border: 1.5px solid var(--ink); font-size: 14px; font-weight: 600;
  animation: cta-btn var(--play) var(--ease) both;
}
.cta-mock > * { grid-area: 1 / 1; }
@keyframes cta-btn {
  0%, 56% { background: var(--ink); transform: none; }
  58% { background: var(--ink); transform: scale(.94); }
  61%, 100% { background: var(--lime); transform: none; }
}
.cta-mock__label { animation: cta-label var(--play) both; }
@keyframes cta-label { 0%, 59% { opacity: 1; } 61%, 100% { opacity: 0; } }
.cta-mock__done { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); opacity: 0; animation: cta-done var(--play) both; }
@keyframes cta-done { 0%, 59% { opacity: 0; } 61%, 100% { opacity: 1; } }
.cursor {
  position: absolute; right: 34px; top: 22px; width: 26px !important; height: 26px !important;
  fill: var(--white) !important; stroke: var(--ink); stroke-width: 1.6 !important;
  filter: drop-shadow(0 3px 4px rgba(10, 10, 10, .25));
  opacity: 0; animation: cursor var(--play) var(--ease) both;
}
@keyframes cursor {
  0%, 26% { opacity: 0; transform: translate(70px, 50px); }
  32% { opacity: 1; transform: translate(70px, 50px); }
  52% { opacity: 1; transform: none; }
  57% { opacity: 1; transform: scale(.85); }
  62% { opacity: 1; transform: none; }
  82%, 100% { opacity: 0; transform: translate(30px, 30px); }
}

/* 02 · Slack-style request feed */
.viz--chat { justify-content: flex-start; gap: 8px; }
.chat__head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.chat__queue { display: inline-flex; align-items: center; gap: 6px; color: var(--ash); }
.chat__queue b { position: relative; display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 12px; overflow: hidden; }
.chat__queue i { grid-area: 1 / 1; font-style: normal; opacity: 0; animation: q1 var(--play) both; }
.chat__queue i:nth-child(1) { animation-name: q1; }
.chat__queue i:nth-child(2) { animation-name: q2; }
.chat__queue i:nth-child(3) { animation-name: q3; }
@keyframes q1 { 0%, 10% { opacity: 0; } 12%, 42% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes q2 { 0%, 42% { opacity: 0; } 44%, 72% { opacity: 1; } 74%, 100% { opacity: 0; } }
@keyframes q3 { 0%, 72% { opacity: 0; } 74%, 100% { opacity: 1; } }
.chat__msg {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500;
  opacity: 0; animation: msg1 var(--play) var(--ease) both;
}
.chat__av { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); border: 1.5px solid var(--ink); }
/* Messages land one after another; all three clear together near the loop's end. */
.chat__msg:nth-of-type(2) { animation-name: msg1; }
.chat__msg:nth-of-type(3) { animation-name: msg2; }
.chat__msg:nth-of-type(4) { animation-name: msg3; }
@keyframes msg1 { 0%, 4% { opacity: 0; transform: translateY(14px); } 14%, 100% { opacity: 1; transform: none; } }
@keyframes msg2 { 0%, 34% { opacity: 0; transform: translateY(14px); } 44%, 100% { opacity: 1; transform: none; } }
@keyframes msg3 { 0%, 64% { opacity: 0; transform: translateY(14px); } 74%, 100% { opacity: 1; transform: none; } }

/* 03 · files drop into a folder, then a delivery notification slides in */
.viz--deliver { justify-content: flex-end; align-items: center; padding-bottom: 18px; }
.folder { position: relative; width: 132px; height: 96px; }
.folder__back, .folder__front { position: absolute; left: 0; right: 0; bottom: 0; border: 1.5px solid var(--ink); }
.folder__back { top: 0; border-radius: 6px 14px 12px 12px; background: var(--ink); z-index: 1; }
.folder__back::before { content: ""; position: absolute; top: -12px; left: -1.5px; width: 52px; height: 14px; border-radius: 7px 9px 0 0; background: var(--ink); }
.folder__front {
  height: 70px; border-radius: 10px 10px 12px 12px; background: var(--lime); z-index: 3;
  transform-origin: bottom; animation: flap var(--play) var(--ease) both;
}
@keyframes flap { 0%, 4% { transform: none; } 12%, 58% { transform: perspective(300px) rotateX(-38deg); } 68%, 100% { transform: none; } }
.file {
  position: absolute; z-index: 2; left: 50%; bottom: 18px; width: 64px; height: 78px; margin-left: -32px;
  border-radius: 6px; background: var(--white); border: 1.5px solid var(--ink);
  background-image: linear-gradient(var(--paper-2), var(--paper-2)), linear-gradient(var(--line), var(--line)), linear-gradient(var(--line), var(--line));
  background-size: 44px 22px, 44px 3px, 30px 3px; background-position: 9px 9px, 9px 40px, 9px 50px; background-repeat: no-repeat;
  opacity: 0; animation: file1 var(--play) var(--ease) both;
}
.file--1 { rotate: -10deg; translate: -14px 0; }
.file--2 { animation-name: file2; }
.file--3 { rotate: 9deg; translate: 14px 0; animation-name: file3; }
@keyframes file1 { 0%, 10% { opacity: 0; transform: translateY(-90px); } 14% { opacity: 1; transform: translateY(-90px); } 24%, 100% { opacity: 1; transform: none; } }
@keyframes file2 { 0%, 22% { opacity: 0; transform: translateY(-90px); } 26% { opacity: 1; transform: translateY(-90px); } 36%, 100% { opacity: 1; transform: none; } }
@keyframes file3 { 0%, 34% { opacity: 0; transform: translateY(-90px); } 38% { opacity: 1; transform: translateY(-90px); } 48%, 100% { opacity: 1; transform: none; } }
.folder__badge {
  position: absolute; z-index: 4; top: -10px; right: -12px; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--ink);
  font-size: 13px; font-weight: 700; opacity: 0; animation: badge var(--play) var(--ease) both;
}
@keyframes badge { 0%, 66% { opacity: 0; transform: scale(.4); } 74%, 100% { opacity: 1; transform: none; } }
.toast {
  position: absolute; z-index: 5; top: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 14px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 12px 28px -12px rgba(10, 10, 10, .3);
  opacity: 0; animation: toast var(--play) var(--ease) both;
}
@keyframes toast { 0%, 70% { opacity: 0; transform: translateY(-120%); } 80%, 100% { opacity: 1; transform: none; } }
.toast__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--lime); border: 1.5px solid var(--ink); }
.toast__icon svg { font-size: 17px; stroke-width: 2.2; animation: ring var(--play) both; transform-origin: top center; }
@keyframes ring { 0%, 80% { transform: none; } 83% { transform: rotate(14deg); } 86% { transform: rotate(-12deg); } 89% { transform: rotate(8deg); } 92%, 100% { transform: none; } }
.toast__text { display: flex; flex-direction: column; line-height: 1.3; }
.toast__text b { font-size: 13.5px; font-weight: 600; }
.toast__text small { font-size: 12px; color: var(--ash); }

.how__note { text-align: center; font-size: clamp(18px, 1.7vw, 22px); margin: 56px 0 28px; }

/* =============================== SERVICES =============================== */
.services { background: var(--white); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 1100px; margin: 56px auto 72px; }
.chips li {
  padding: 14px 28px; border-radius: 999px;
  font-size: 18px; font-weight: 500;
  background: var(--paper); border: 1px solid var(--line);
  transition: background-color .25s, color .25s, transform .35s var(--ease);
  cursor: default;
}
.chips li:hover { transform: translateY(-3px); }
/* Pastel per chip — fixed order so neighbouring chips never share a hue */
.chips li { border-color: transparent; }
.chips li:nth-child(1)  { background: #F1FFA0; } /* lime tint */
.chips li:nth-child(2)  { background: #E4DEFF; } /* lavender */
.chips li:nth-child(3)  { background: #DCEBFF; } /* sky */
.chips li:nth-child(4)  { background: #FFE0F0; } /* pink */
.chips li:nth-child(5)  { background: #FFF1C2; } /* butter */
.chips li:nth-child(6)  { background: #FFE6D5; } /* peach */
.chips li:nth-child(7)  { background: #D7F5EC; } /* mint */
.chips li:nth-child(8)  { background: #F0DEFF; } /* lilac */
.chips li:nth-child(9)  { background: #D4F6F8; } /* aqua */
.chips li:nth-child(10) { background: #FFE2DE; } /* coral */
.chips li:nth-child(11) { background: #E6F4D8; } /* sage */
.chips li:nth-child(n):hover { background: var(--ink); color: var(--white); }

.gallery { display: grid; gap: 16px; overflow: hidden; margin-bottom: 64px; }
.gallery__track { display: flex; gap: 16px; padding-right: 16px; width: max-content; will-change: transform; animation: marquee 70s linear infinite; }
.gallery__row--b .gallery__track { animation-direction: reverse; animation-duration: 80s; }
.gallery figure { margin: 0; height: clamp(200px, 19vw, 280px); border-radius: var(--radius); overflow: hidden; flex: none; background: var(--paper-2); }

/* =============================== BENEFITS =============================== */
.benefits { background: var(--lime); }
.spark { display: inline-block; width: 80px; height: 80px; margin-bottom: 28px; animation: spin 18s linear infinite; }
.spark svg { width: 100%; height: 100%; }
.spark circle { fill: var(--ink); }
.spark path { fill: var(--lime); }
@keyframes spin { to { transform: rotate(360deg); } }
.benefits .lede { color: #1d1f00; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 72px 48px; }
.perk { text-align: center; max-width: 340px; margin-inline: auto; }
.badge {
  position: relative; display: inline-grid; place-items: center;
  width: 120px; height: 120px; margin-bottom: 26px;
  color: var(--lime);
  transition: transform .6s var(--ease);
}
.badge > svg.shape { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ink); }
.badge > svg.icon { position: relative; width: 44px; height: 44px; stroke-width: 1.7; }
.badge:not(.is-shaped) { background: var(--ink); border-radius: 50%; }
.perk:hover .badge { transform: rotate(14deg) scale(1.05); }
.perk h3 { font-weight: 500; font-size: 24px; letter-spacing: -.02em; margin-bottom: 10px; }
.perk p { font-size: 16px; color: #1d1f00; }

/* =============================== PROOF =============================== */
.proof { background: var(--white); padding-bottom: clamp(80px, 9vw, 130px); }
.proof__title {
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.04; letter-spacing: -.035em;
  max-width: 1100px;
}
.proof__title .num { font-variant-numeric: tabular-nums; }
.proof__title .hl { background: var(--lime); padding: 0 .12em; border-radius: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.proof__bar { display: flex; justify-content: space-between; align-items: center; margin: 56px 0 32px; gap: 16px; }
.proof__bar p { font-size: 20px; font-weight: 500; }
.arrows { display: flex; gap: 12px; }
.arrow {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s, transform .3s var(--ease);
}
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow--on { background: var(--lime); border-color: transparent; }
.arrow:hover { transform: scale(1.08); }
.cases {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.cases::-webkit-scrollbar { display: none; }
.case {
  flex: none; width: min(560px, 82vw); min-height: 300px;
  scroll-snap-align: start;
  border-radius: var(--radius); padding: 36px 30px;
  display: flex; flex-direction: column;
}
.case__kicker { font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; opacity: .75; }
.case__big { font-weight: 900; font-size: clamp(36px, 3.6vw, 52px); letter-spacing: -.035em; line-height: 1; margin: auto 0 18px; padding-top: 48px; }
.case p:last-child { font-size: 17px; }
.case--lime { background: var(--lime); }
.case--white { background: var(--paper); }
.case--ink { background: var(--ink); color: var(--white); }

/* =============================== PRICING =============================== */
.pricing { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.pricing .wrap { position: relative; }
.pricing .lede { color: #d4d4cc; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 32px 26px 28px;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease);
}
.plan:hover { transform: translateY(-6px); }
.plan__tier { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); }
.plan h3 { font-weight: 500; font-size: 34px; letter-spacing: -.02em; margin: 6px 0 8px; }
.plan__desc { font-size: 15px; color: #3a3a37; min-height: 46px; }
.plan__price { margin-top: 28px; font-weight: 600; font-size: clamp(44px, 4.2vw, 58px); letter-spacing: -.04em; line-height: 1; }
.plan__price .cur { font-size: .38em; letter-spacing: 0; vertical-align: .9em; margin-right: 2px; }
.plan__price .per { font-size: .36em; letter-spacing: 0; font-weight: 600; }
.plan__price--talk { font-size: clamp(40px, 3.8vw, 52px); }
.plan__small { font-size: 14px; color: var(--ash); margin-top: 10px; }
.plan__box { margin: 26px 0 0; background: var(--paper); border-radius: 12px; padding: 4px 16px; }
.plan__box li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-weight: 600; font-size: 15px; }
.plan__box li + li { border-top: 1px solid var(--line); }
.plan__box b { font-weight: 900; font-size: 17px; }
.plan__box i { width: 20px; height: 20px; border-radius: 50%; flex: none; position: relative; }
.plan__box i.ok { background: var(--ink); }
.plan__box i.ok::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid var(--lime); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan__box i.x { background: #E4E4DD; }
.plan__box i.x::before, .plan__box i.x::after { content: ""; position: absolute; left: 5px; top: 9px; width: 10px; height: 2px; background: #8a8a84; transform: rotate(45deg); }
.plan__box i.x::after { transform: rotate(-45deg); }
.plan__list { margin: 22px 0 30px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.plan__list li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 500; }
.plan__list li::before { content: ""; position: absolute; left: 4px; top: 3px; width: 6px; height: 11px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan__ctas { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan__ctas .btn { padding: 0 12px; height: 54px; }
.plan__ctas--one { grid-template-columns: 1fr; }

.plan--pro { background: var(--lime); transform: translateY(-14px); box-shadow: 0 40px 80px -30px rgba(223, 254, 2, .45); }
.plan--pro:hover { transform: translateY(-20px); }
.plan--pro .plan__tier, .plan--pro .plan__small { color: #3d4400; }
.plan--pro .plan__desc { color: #262a00; }
.plan--pro .plan__box { background: rgba(255, 255, 255, .7); }
.plan--pro .plan__box li + li, .plan--pro .plan__list { border-color: rgba(10, 10, 10, .16); }
.plan__flag { position: absolute; top: 22px; right: 22px; background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }

/* =============================== FAQ =============================== */
.faq { position: relative; background: var(--white); overflow: hidden; }
.faq__glow {
  position: absolute; left: -300px; bottom: -300px; width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(circle, rgba(223, 254, 2, .5) 0%, rgba(223, 254, 2, .15) 40%, rgba(223, 254, 2, 0) 66%);
}
.faq__grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.faq__side { position: sticky; top: 120px; }
.faq__more { margin: 28px 0 44px; font-size: 18px; }
.faq__more a { font-weight: 600; text-underline-offset: 4px; }
.callcard {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius); padding: 44px 32px; text-align: center;
}
.callcard__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.callcard__rings circle { fill: none; stroke: rgba(223, 254, 2, .22); stroke-width: 22; }
.callcard__title { position: relative; font-weight: 500; font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 26px; }
.callcard .btn { position: relative; background: var(--lime); color: var(--ink); }

.faq__list { display: grid; gap: 14px; }
.faq details { background: var(--paper); border-radius: 14px; transition: background-color .25s; }
.faq details[open] { background: var(--paper-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 24px; font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--white);
  transition: transform .4s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--lime); }
.faq details p { padding: 0 24px 26px; font-size: 17px; color: #33332f; max-width: 640px; }

/* =============================== CLOSING =============================== */
.closing { position: relative; background: var(--ink); color: var(--white); padding: clamp(100px, 12vw, 170px) 0 clamp(80px, 9vw, 120px); overflow: hidden; }
.closing__rings {
  position: absolute; left: 0; right: 0; top: 30px; height: 380px; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0 28%, transparent 38% 62%, #000 72%);
          mask-image: linear-gradient(90deg, #000 0 28%, transparent 38% 62%, #000 72%);
}
.closing__rings svg { width: 100%; height: 100%; }
.closing__rings ellipse { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.closing__inner { position: relative; text-align: center; }
.closing__title { font-weight: 500; font-size: clamp(52px, 9vw, 132px); line-height: 1; letter-spacing: -.045em; }
.closing .hero__ctas { margin-top: 48px; }

/* =============================== FOOTER =============================== */
.footer { background: var(--ink); color: var(--white); padding-bottom: 40px; }
.footer__divider { position: relative; height: 1px; background: var(--line-dark); margin-bottom: 72px; }
.footer__divider span { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; background: var(--lime); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 28px var(--ink); }
.footer__grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 48px; padding-bottom: 72px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { height: 50px; width: auto; }
.footer__brand p { font-size: 20px; margin: 22px 0 28px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #1f1f1f; transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--lime); color: var(--ink); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill { fill: currentColor; }
.footer__head { color: var(--lime); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 8px 0 24px; }
.footer__links { display: grid; gap: 16px; font-size: 18px; }
.footer__links a { text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--lime); }
.footer__links--cols { grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 30px; font-size: 14px; color: var(--ash-dark); }
.footer__base a { text-decoration: none; }
.footer__base a:hover { color: var(--white); }

/* =============================== WORK PAGE =============================== */
.nav__pill a[aria-current="page"] { background: var(--ink); color: var(--white); }
.hero--work { padding-bottom: clamp(48px, 6vw, 72px); }
.hero__title--work { font-weight: 500; font-size: clamp(64px, 12vw, 168px); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1320px; margin: 48px auto 0; }
.filters button {
  font: inherit; font-size: 17px; font-weight: 500; color: var(--ink);
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  transition: background-color .25s, color .25s, transform .35s var(--ease), border-color .25s;
}
.filters button:hover { transform: translateY(-2px); border-color: var(--ink); }
.filters button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.portfolio { padding-bottom: clamp(80px, 10vw, 140px); }
.masonry { columns: 3; column-gap: 20px; }
.tile { margin: 0 0 20px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.tile[hidden] { display: none; }
.tile.is-entering { animation: tileIn .7s var(--ease) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.tile__btn { all: unset; display: block; position: relative; width: 100%; cursor: zoom-in; }
.tile__btn:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; border-radius: var(--radius); }
.tile img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.tile--tall img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.tile figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(10, 10, 10, .88); color: var(--white);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.tile figcaption span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.tile figcaption b { font-size: 17px; font-weight: 700; }
.tile__btn:hover img, .tile__btn:focus-visible img { transform: scale(1.04); }
.tile__btn:hover figcaption, .tile__btn:focus-visible figcaption { opacity: 1; transform: none; }
.masonry__empty { text-align: center; padding: 60px 0; color: var(--ash); }
.load-more { margin-top: 32px; }
.load-more[hidden] { display: none; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10, 10, 10, .94); color: var(--white);
}
.lightbox[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; animation: fadeIn .3s ease; }
.lightbox::backdrop { background: transparent; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 16px; padding: 64px 0 32px; height: 100vh; align-content: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.lightbox figcaption { font-size: 15px; color: #d4d4cc; }
.lightbox figcaption b { color: var(--lime); font-weight: 600; margin-right: 8px; }
.lightbox button { all: unset; cursor: pointer; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #1f1f1f; justify-self: center; transition: background-color .2s, color .2s; }
.lightbox button:hover { background: var(--lime); color: var(--ink); }
.lightbox button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.lightbox svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { position: absolute; top: 20px; right: 20px; }

@media (max-width: 1100px) { .masonry { columns: 2; } }
@media (max-width: 560px) {
  .masonry { columns: 1; }
  .filters { gap: 8px; }
  .filters button { font-size: 14px; padding: 10px 16px; }
  .tile figcaption { opacity: 1; transform: none; left: 10px; right: auto; bottom: 10px; padding: 8px 12px; border-radius: 10px; }
  .tile figcaption span { font-size: 10px; }
  .tile figcaption b { font-size: 14px; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: 24px; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
  .lightbox figure { padding: 72px 16px 96px; }
}

/* =============================== REVEAL =============================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .plan--pro.reveal.is-in { transform: translateY(-14px); }

/* =============================== RESPONSIVE =============================== */
@media (max-width: 1100px) {
  .nav__pill { display: none; }
  .nav__burger {
    display: grid; place-content: center; gap: 6px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--white); border: 1px solid var(--line); cursor: pointer;
  }
  .nav__burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__cta { margin-left: auto; }
  .mobile-menu:not([hidden]) {
    display: grid; padding: 8px var(--gutter) 24px;
    border-top: 1px solid var(--line);
  }
  .mobile-menu a { padding: 14px 0; font-size: 22px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }

  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan--pro, .js .plan--pro.reveal.is-in { transform: none; }
  .plan--pro:hover { transform: translateY(-6px); }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .rail { display: none; }
  .perks { grid-template-columns: 1fr 1fr; gap: 56px 24px; }
  .clients__row { justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav__inner { height: 76px; gap: 12px; }
  .nav__logo img { height: 34px; }
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
  .eyebrow-pill { font-size: 11px; padding: 8px 14px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .chips li { font-size: 15px; padding: 11px 20px; }
  .perks { grid-template-columns: 1fr; }
  .plan__ctas { grid-template-columns: 1fr; }
  .proof__bar p { font-size: 17px; }
  .faq summary { font-size: 16px; padding: 22px 18px; }
  .faq details p { padding: 0 18px 22px; font-size: 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__divider { margin-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  /* How-it-works visuals: show their finished state instead of the loop. */
  .chat__msg, .file, .folder__badge, .toast, .cta-mock__done, .chat__queue i:nth-child(3) { opacity: 1; }
  .cta-mock { background: var(--lime); }
  .cta-mock__label, .cursor { opacity: 0; }
  .toggle__thumb { transform: translateX(100%); }
}

/* =============================== WELCOME (post-checkout) =============================== */
.welcome { padding-bottom: clamp(80px, 10vw, 140px); }
.welcome__check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 50%; background: var(--lime); border: 1.5px solid var(--ink); }
.welcome__check svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* Entrance: circle pops in, tick draws, one ring pulse. Base styles are the end state,
   so reduced motion (animations off) just shows the finished icon. */
.welcome__check { position: relative; animation: check-pop .7s cubic-bezier(.34, 1.56, .64, 1) .15s both; }
.welcome__check path { stroke-dasharray: 22; animation: check-draw .45s var(--ease) .6s both; }
.welcome__check::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 2px solid var(--lime);
  opacity: 0; animation: check-ring 1.1s var(--ease) .8s;
}
@keyframes check-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes check-draw { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }
@keyframes check-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.welcome__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1080px; margin: 56px auto 44px; padding: 0; list-style: none; text-align: left; }
.welcome__steps li { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.welcome__steps b { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.welcome__steps h2 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 6px; }
.welcome__steps p { font-size: 15px; color: #3a3a36; }
.welcome .hero__title { font-size: clamp(56px, 9vw, 120px); }
.welcome__help { margin-top: 28px; font-size: 15px; color: var(--ash); }
@media (max-width: 860px) { .welcome__steps { grid-template-columns: 1fr; } }

