:root {
  --bg: #0c0c0f;
  --bg-2: #141419;
  --bg-3: #1a1a22;
  --line: #2a2a33;
  --text: #f2f2f5;
  --muted: #9a9aa8;
  --accent: #ff2d8a;
  --accent-ink: #0c0c0f;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.15;
}

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 12, 15, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}
.logo {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.logo span { color: var(--accent); }
.logo:hover { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links a.is-active {
  color: var(--text);
  font-weight: 700;
}
.nav-links a.is-active::after {
  transform: scaleX(1);
}
.nav-links a:focus-visible {
  color: var(--text);
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
}
.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-cta,
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.nav-cta:hover,
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.nav-cta:active,
.btn-primary:active,
.btn-ghost:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--muted);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* hero */
.hero {
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vw, 88px) 0;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: clamp(40px, 8vw, 96px);
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0;
  animation: hero-rise 0.7s var(--ease) both;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 600;
  line-height: 1.04;
  max-width: 15ch;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--accent); }
.hero-lead {
  margin: 22px 0 0;
  color: var(--muted);
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  animation: hero-rise 0.7s var(--ease) 0.08s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  animation: hero-rise 0.7s var(--ease) 0.16s both;
}
.hero-facts {
  display: grid;
  gap: 0;
  margin: 0;
}
.hero-fact {
  padding: 20px 0 20px 18px;
  border-left: 2px solid var(--line);
  animation: hero-rise 0.7s var(--ease) both;
}
.hero-fact:nth-child(1) { animation-delay: 0.18s; }
.hero-fact:nth-child(2) { animation-delay: 0.26s; }
.hero-fact:nth-child(3) { animation-delay: 0.34s; }
.hero-fact dt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin: 0 0 8px;
}
.hero-fact__num {
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.hero-fact__unit {
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.hero-fact dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 28ch;
}
.hero-fact__short { display: none; }

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* teasers */
.teaser {
  padding: clamp(56px, 9vw, 96px) 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

/* home bands: one graphite palette, tone steps only */
.band {
  --band-bg: var(--bg);
  background: var(--band-bg);
}
.band--raised {
  --band-bg: #18181f;
  --card: #22222c;
  border-top-color: #2e2e38;
}
.band--deep {
  --band-bg: #070709;
}

/* partner band on home — the only accent-tinted band */
.partner-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 10vw, 112px) 0;
  border-top: 1px solid color-mix(in srgb, var(--accent) 50%, var(--line));
  background: var(--bg);
}
.partner-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    118deg,
    color-mix(in srgb, var(--accent) 24%, var(--bg)) 0%,
    color-mix(in srgb, var(--accent) 11%, var(--bg)) 38%,
    color-mix(in srgb, var(--accent) 4%, var(--bg)) 70%,
    var(--bg) 100%
  );
}
.partner-band__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.partner-band__copy .partner-band__kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.partner-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 14ch;
  line-height: 1.08;
}
.partner-band__copy > p {
  margin: 16px 0 0;
  color: #c4c4d0;
  max-width: 42ch;
  font-size: 1.05rem;
}
.partner-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.btn-ghost--on-band {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  color: var(--text);
}
.btn-ghost--on-band:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.partner-band__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.partner-band__points li {
  padding: 16px 18px;
  background: rgba(12, 12, 15, 0.62);
  border-left: 3px solid var(--accent);
}
.partner-band__points strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
}
.partner-band__points span {
  color: #b8b8c4;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cta-band-wrap {
  border-top: 1px solid var(--line);
}

.mission {
  border-top: 1px solid var(--line);
}
.mission__layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
  padding: clamp(56px, 9vw, 96px) 0;
}
.mission__photo {
  margin: 0;
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
}
.mission__photo img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center 28%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  flex: none;
}
.mission__kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.mission__lead,
.mission__goal {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
  max-width: 46ch;
}
.mission__goal {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
}
.mission__sign {
  margin: 0;
  display: grid;
  gap: 2px;
}
.mission__name {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.25;
}
.mission__role {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.3;
}
.mission__tg {
  margin-top: 4px;
  color: var(--accent);
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none;
  width: fit-content;
}
.mission__tg:hover,
.mission__tg:focus-visible {
  text-decoration: underline;
}

.faq-band {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 8vw, 80px) 0;
}

/* price block — full-width columns + accent offers strip */
.price-block__head {
  max-width: 46ch;
  margin-bottom: 28px;
}
.price-block__head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  max-width: none;
}
.price-block__head > p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: none;
}
.price-factors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price-factors__item {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 8px;
  padding: 22px 28px 24px;
  border-right: 1px solid var(--line);
}
.price-factors__item:first-child {
  padding-left: 0;
}
.price-factors__item:last-child {
  border-right: 0;
  padding-right: 0;
}
.price-factors__idx {
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.price-factors__item h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}
.price-factors__lead {
  margin: 0;
  color: #c4c4d0;
  font-size: 0.92rem;
  max-width: none;
}
.price-factors__item > p:last-child {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: none;
}
.price-offers {
  display: grid;
  grid-template-columns: minmax(12rem, auto) minmax(0, 1fr) auto;
  gap: 14px 20px;
  align-items: baseline;
  margin-top: 22px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-2));
  border-left: 3px solid var(--accent);
}
.price-offers:hover {
  background: color-mix(in srgb, var(--accent) 18%, var(--bg-2));
}
.price-offers__label {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1.25;
  max-width: 14ch;
}
.price-offers__text {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.45;
}
.price-offers__more {
  color: var(--accent);
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

/* scroll reveal: section stays put, content assembles in layers */
html.has-reveal [data-reveal] :is(
  .process-head > div > *,
  .process-head > a.btn,
  .process-head > .btn,
  .process-head > .teaser-actions,
  .price-block__head > *,
  .works-grid > *,
  .process-steps > *,
  .price-factors > *,
  .price-offers,
  .roadmap__steps,
  .roadmap__panels,
  .partner-band__copy > *,
  .partner-band__points > *,
  .cta-band > div > *,
  .cta-band > .btn,
  .mission__layout > *,
  .faq--home > *
) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.72s var(--ease),
    transform 0.72s var(--ease);
  transition-delay: 0ms;
}
html.has-reveal [data-reveal]:not(.is-in) :is(
  .process-head > div > *,
  .process-head > a.btn,
  .process-head > .btn,
  .process-head > .teaser-actions,
  .price-block__head > *,
  .works-grid > *,
  .process-steps > *,
  .price-factors > *,
  .price-offers,
  .roadmap__steps,
  .roadmap__panels,
  .partner-band__copy > *,
  .partner-band__points > *,
  .cta-band > div > *,
  .cta-band > .btn,
  .mission__layout > *,
  .faq--home > *
) {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}
html.has-reveal .partner-band:not(.is-in)::before {
  opacity: 0;
}
html.has-reveal .partner-band.is-in::before {
  opacity: 1;
  transition: opacity 1s var(--ease);
}

/* layer timing — head first, then body, then cards */
html.has-reveal [data-reveal].is-in .process-head > div > :nth-child(1) { transition-delay: 0.04s; }
html.has-reveal [data-reveal].is-in .process-head > div > :nth-child(2) { transition-delay: 0.12s; }
html.has-reveal [data-reveal].is-in .process-head > div > :nth-child(3) { transition-delay: 0.2s; }
html.has-reveal [data-reveal].is-in .process-head > a.btn,
html.has-reveal [data-reveal].is-in .process-head > .btn,
html.has-reveal [data-reveal].is-in .process-head > .teaser-actions { transition-delay: 0.26s; }

html.has-reveal [data-reveal].is-in .works-grid > :nth-child(1) { transition-delay: 0.32s; }
html.has-reveal [data-reveal].is-in .works-grid > :nth-child(2) { transition-delay: 0.4s; }
html.has-reveal [data-reveal].is-in .works-grid > :nth-child(3) { transition-delay: 0.48s; }

html.has-reveal [data-reveal].is-in .roadmap__steps { transition-delay: 0.3s; }
html.has-reveal [data-reveal].is-in .roadmap__panels { transition-delay: 0.42s; }

html.has-reveal [data-reveal].is-in .process-steps > :nth-child(1) { transition-delay: 0.3s; }
html.has-reveal [data-reveal].is-in .process-steps > :nth-child(2) { transition-delay: 0.38s; }
html.has-reveal [data-reveal].is-in .process-steps > :nth-child(3) { transition-delay: 0.46s; }

html.has-reveal [data-reveal].is-in .price-block__head > :nth-child(1) { transition-delay: 0.04s; }
html.has-reveal [data-reveal].is-in .price-block__head > :nth-child(2) { transition-delay: 0.1s; }
html.has-reveal [data-reveal].is-in .price-block__head > :nth-child(3) { transition-delay: 0.16s; }
html.has-reveal [data-reveal].is-in .price-factors > :nth-child(1) { transition-delay: 0.24s; }
html.has-reveal [data-reveal].is-in .price-factors > :nth-child(2) { transition-delay: 0.32s; }
html.has-reveal [data-reveal].is-in .price-factors > :nth-child(3) { transition-delay: 0.4s; }
html.has-reveal [data-reveal].is-in .price-offers { transition-delay: 0.5s; }

html.has-reveal [data-reveal].is-in .partner-band__copy > :nth-child(1) { transition-delay: 0.04s; }
html.has-reveal [data-reveal].is-in .partner-band__copy > :nth-child(2) { transition-delay: 0.12s; }
html.has-reveal [data-reveal].is-in .partner-band__copy > :nth-child(3) { transition-delay: 0.2s; }
html.has-reveal [data-reveal].is-in .partner-band__copy > :nth-child(4) { transition-delay: 0.28s; }
html.has-reveal [data-reveal].is-in .partner-band__points > :nth-child(1) { transition-delay: 0.34s; }
html.has-reveal [data-reveal].is-in .partner-band__points > :nth-child(2) { transition-delay: 0.42s; }
html.has-reveal [data-reveal].is-in .partner-band__points > :nth-child(3) { transition-delay: 0.5s; }
html.has-reveal [data-reveal].is-in .partner-band__points > :nth-child(4) { transition-delay: 0.58s; }
html.has-reveal [data-reveal].is-in .partner-band__points > :nth-child(5) { transition-delay: 0.66s; }

html.has-reveal [data-reveal].is-in .cta-band > div > :nth-child(1) { transition-delay: 0.06s; }
html.has-reveal [data-reveal].is-in .cta-band > div > :nth-child(2) { transition-delay: 0.14s; }
html.has-reveal [data-reveal].is-in .cta-band > .btn { transition-delay: 0.24s; }

/* partners page */
.page-partners {
  background: #0a0a0d;
}
.page-partners .site-header {
  background: rgba(10, 10, 13, 0.9);
}
.partner-hero {
  padding: clamp(48px, 9vw, 96px) 0 clamp(56px, 8vw, 88px);
  background:
    linear-gradient(135deg, #221018 0%, #121018 48%, #0c1018 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
}
.partner-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}
.partner-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: 12ch;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.partner-hero__lead {
  margin: 18px 0 0;
  color: #c4c4d0;
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}
.partner-hero__card {
  padding: 22px 20px;
  background: color-mix(in srgb, #000 40%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
}
.partner-hero__card ul {
  margin: 12px 0 0;
  padding-left: 1.1em;
  color: var(--text);
}
.partner-hero__card li { margin-bottom: 8px; }
.partner-hero__note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.partner-section {
  padding: clamp(56px, 9vw, 96px) 0;
  border-bottom: 1px solid var(--line);
  background: #0a0a0d;
}
.partner-section--shade {
  background: #121218;
}
.partner-section__head {
  margin-bottom: 28px;
  max-width: 48ch;
}
.partner-section__head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.partner-section__head p {
  margin: 12px 0 0;
  color: var(--muted);
}
.partner-who,
.partner-sla {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.partner-sla {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.partner-who article,
.partner-sla article {
  padding: 22px 20px;
  background: #141419;
  border-top: 2px solid var(--accent);
}
.partner-who h3,
.partner-sla h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.partner-who p,
.partner-sla p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.partner-sla__num {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}
.partner-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.partner-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 16ch;
}
.partner-cta p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 42ch;
}
.teaser-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}
.teaser-grid.reverse { grid-template-columns: 1.1fr 0.9fr; }
.teaser-grid.reverse .teaser-copy { order: 2; }
.teaser-kicker {
  color: var(--muted);
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.teaser h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  max-width: 16ch;
}
.teaser p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 42ch;
}
.teaser-actions { margin-top: 24px; }
.teaser-actions--inline {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* roadmap */
.roadmap {
  --rm-dot: 18px;
  position: relative;
  margin-top: 8px;
}
.roadmap__rail {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--rm-dot) / 2);
  height: 2px;
  pointer-events: none;
}
.roadmap__rail-bg,
.roadmap__rail-fill {
  position: absolute;
  inset: 0;
  border-radius: 1px;
}
.roadmap__rail-bg { background: var(--line); }
.roadmap__rail-fill {
  right: auto;
  width: 0;
  background: var(--accent);
  transform-origin: left center;
}
.roadmap__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 28px;
}
.roadmap__step {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.roadmap__step:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.roadmap__dot {
  width: var(--rm-dot);
  height: var(--rm-dot);
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--band-bg, var(--bg));
  box-shadow: 0 0 0 6px var(--band-bg, var(--bg));
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.roadmap__step.is-done .roadmap__dot,
.roadmap__step.is-active .roadmap__dot {
  border-color: var(--accent);
  background: var(--accent);
}
.roadmap__step.is-active .roadmap__dot {
  transform: scale(1.15);
}
.roadmap__step:hover .roadmap__dot {
  border-color: var(--accent);
}
.roadmap__idx {
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.roadmap__name {
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  transition: color 0.2s var(--ease);
}
.roadmap__step:not(.is-active):not(.is-done) .roadmap__name { color: #c4c4d0; }
.roadmap__gate {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.roadmap__step.is-active .roadmap__gate {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  color: var(--accent);
}
.roadmap__panels {
  min-height: 168px;
}
.roadmap__panel {
  display: none;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.9fr);
  gap: 16px;
  animation: roadmap-panel 0.35s var(--ease);
}
.roadmap__panel.is-active { display: grid; }
.roadmap__panel-copy,
.roadmap__checkpoint {
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: var(--card, var(--bg-2));
}
.roadmap__checkpoint {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, var(--card, var(--bg-2)));
}
.roadmap__phase {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.roadmap__panel h3 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}
.roadmap__panel p {
  margin: 0;
  color: var(--muted);
  max-width: none;
}
.roadmap__checkpoint strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
@keyframes roadmap-panel {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* card grid blocks */
.process-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 20px;
}
.process-head h2 { max-width: 18ch; }
.process-head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 46ch;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.process-steps--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  padding: 18px 16px;
  min-height: 176px;
  background: var(--card, var(--bg-2));
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font: inherit;
  cursor: default;
}
a.process-step,
button.process-step {
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
a.process-step:hover,
a.process-step:focus-visible,
button.process-step:hover,
button.process-step:focus-visible {
  border-color: var(--accent);
  outline: none;
}
.process-step__num {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
}
.process-step__title {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
}
.process-step__brief {
  font-size: 0.88rem;
  color: #c4c4d0;
}
.process-step__more {
  margin: auto 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

/* works */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 120px;
}
.work-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--card, var(--bg-2));
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
a.work-card:hover,
a.work-card:focus-visible,
.work-card--demo:hover {
  border-color: var(--accent);
  outline: none;
  transform: translateY(-2px);
}
a.work-card:hover .work-card__title,
a.work-card:focus-visible .work-card__title { color: var(--accent); }
.work-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--bg-3);
  overflow: hidden;
}
.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s var(--ease);
}
a.work-card:hover .work-card__media img,
a.work-card:focus-visible .work-card__media img,
.work-card--demo:hover .work-card__media img {
  transform: scale(1.05);
}
.work-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, #1c1c24 0%, #121218 55%, #1a1016 100%);
  color: var(--muted);
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.work-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 3px 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.work-card__body {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px 16px 18px;
  border-top: 1px solid var(--line);
}
.work-card__title {
  font-size: 1.12rem;
  transition: color 0.2s var(--ease);
}
.work-card__specs {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 0.88rem;
}
.work-card__specs div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
}
.work-card__specs dt { color: var(--muted); }
.work-card__specs dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}
.work-card__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.works-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  max-width: 40ch;
}
.work-cta {
  min-height: 0;
  aspect-ratio: auto;
}
.works-carousel__nav {
  display: none;
}

.case-card,
.mini-steps,
.fact-list {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 10px;
  list-style: none;
  margin: 0;
}
.mini-steps,
.fact-list {
  display: grid;
  gap: 6px;
}

/* --- interactive case --- */
.case-card {
  padding: 22px;
  cursor: default;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.case-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  transition: color 0.2s var(--ease);
}
.case-card__brief {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.case-card__more,
.case-card__link {
  display: block;
  margin: 12px 0 0;
  opacity: 0;
  color: transparent;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), color 0.22s var(--ease);
}
.case-card__link {
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
  margin-top: 14px;
}
.case-card:hover,
.case-card:focus-within {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--accent-ink);
}
.case-card:hover h3,
.case-card:focus-within h3,
.case-card:hover .case-card__brief,
.case-card:focus-within .case-card__brief {
  color: var(--accent-ink);
}
.case-card:hover .case-card__more,
.case-card:focus-within .case-card__more {
  opacity: 0.92;
  color: var(--accent-ink);
}
.case-card:hover .case-card__link,
.case-card:focus-within .case-card__link {
  opacity: 1;
  color: var(--accent-ink);
  pointer-events: auto;
}

/* --- interactive steps --- */
.step-item,
.fact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 14px;
  align-items: start;
  padding: 14px 14px;
  border: 1px solid transparent;
  cursor: default;
  outline: none;
  transition:
    background 0.22s var(--ease),
    border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}
.fact-item {
  grid-template-columns: 1fr;
  gap: 4px;
}
.step-item__num {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}
.step-item__body {
  min-width: 0;
}
.step-item strong,
.fact-item strong {
  display: block;
  color: var(--text);
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  margin-bottom: 2px;
  transition: color 0.2s var(--ease);
}
.step-item__brief,
.fact-item__brief {
  display: block;
  color: #c4c4d0;
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}
.step-item__more,
.fact-item__more {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0;
  color: transparent;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}
.mini-steps:hover .step-item:not(:hover):not(:focus-within),
.fact-list:hover .fact-item:not(:hover):not(:focus-within) {
  background: transparent;
}
.mini-steps:hover .step-item:not(:hover):not(:focus-within) .step-item__brief,
.fact-list:hover .fact-item:not(:hover):not(:focus-within) .fact-item__brief {
  color: #8e8e9c;
}
.step-item:hover,
.step-item:focus-within,
.fact-item:hover,
.fact-item:focus-within {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(255, 45, 138, 0.2);
  z-index: 1;
}
.step-item:hover .step-item__num,
.step-item:focus-within .step-item__num,
.step-item:hover strong,
.step-item:focus-within strong,
.step-item:hover .step-item__brief,
.step-item:focus-within .step-item__brief,
.fact-item:hover strong,
.fact-item:focus-within strong,
.fact-item:hover .fact-item__brief,
.fact-item:focus-within .fact-item__brief {
  color: var(--accent-ink);
}
.step-item:hover .step-item__more,
.step-item:focus-within .step-item__more,
.fact-item:hover .fact-item__more,
.fact-item:focus-within .fact-item__more {
  opacity: 1;
  color: var(--accent-ink);
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(56px, 9vw, 96px) 0;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 16ch;
}
.cta-band p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 40ch;
}

/* inner pages (keep usable) */
.page {
  padding: clamp(40px, 7vw, 72px) 0 clamp(64px, 10vw, 96px);
}
.page-head {
  max-width: 54ch;
  margin-bottom: 36px;
}
.page-head--wide {
  max-width: none;
}
.page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.page-head p {
  margin: 14px 0 0;
  color: var(--muted);
}
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.page-cta,
.mockup-cta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  max-width: 52ch;
}
.page-cta__btns,
.mockup-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-cta__note,
.mockup-cta__note {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.section {
  padding: clamp(48px, 8vw, 80px) 0;
  border-bottom: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.step {
  padding-top: 8px;
  border-top: 2px solid var(--accent);
}
.step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}
.term {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.term h3 { font-size: 1.05rem; margin-bottom: 8px; }
.term p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.spec-grid,
.mockup-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.spec-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec-item,
.mockup-spec {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0 8px;
  border-top: 2px solid var(--accent);
}
.spec-item__icon,
.mockup-spec__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
  flex-shrink: 0;
}
.spec-item__icon svg,
.mockup-spec__icon svg { width: 20px; height: 20px; }
.spec-item h2,
.spec-item h3,
.mockup-spec h2 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.spec-item p,
.mockup-spec p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.spec-item strong,
.mockup-spec strong { color: var(--text); font-weight: 700; }
.spec-item a {
  color: var(--text);
  text-underline-offset: 3px;
}
.spec-item a:hover { color: var(--accent); }
.offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.offer {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 22px;
}
.terms-extra {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.terms-extra h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  margin: 0 0 18px;
}
.terms-extra__lead {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 62ch;
  font-size: 0.98rem;
  line-height: 1.5;
}
.terms-extra .spec-grid {
  margin-top: 0;
}
.terms-extra .btn {
  margin-top: 4px;
}
.offer strong {
  display: block;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.offer h3 { font-size: 1.05rem; margin-bottom: 8px; }
.offer p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.example {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}
.example-meta { color: var(--muted); font-size: 0.95rem; }
.example-meta p { margin: 0 0 10px; }
.faq {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.faq details {
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  background: var(--bg-2);
  padding: 0;
}
.faq summary {
  cursor: pointer;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 16px 16px 14px;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
  flex-shrink: 0;
}
.faq__icon svg { width: 18px; height: 18px; }
.faq__chev {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 0.2s var(--ease);
}
.faq details[open] .faq__chev { transform: rotate(180deg); }
.faq details p {
  margin: 0;
  padding: 0 16px 16px 62px;
  color: var(--muted);
  max-width: none;
  font-size: 0.95rem;
}
.faq details strong { color: var(--text); font-weight: 700; }
.faq details p a {
  color: var(--text);
  text-underline-offset: 3px;
}
.faq details p a:hover { color: var(--accent); }

.faq--open {
  gap: 0;
}
.faq-item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-item h2,
.faq-item h3 {
  margin: 0 0 10px;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text);
}
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: none;
}
.faq-item strong { color: var(--text); font-weight: 700; }
.faq-item a {
  color: var(--text);
  text-underline-offset: 3px;
}
.faq-item a:hover { color: var(--accent); }
.faq--home {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 12px;
  border-top: 2px solid var(--accent);
}
.faq--home .faq-item {
  padding: 22px 8px 4px 0;
  border: 0;
}
.faq--home .faq-item:not(:last-child) {
  padding-right: 28px;
  box-shadow: 1px 0 0 var(--line);
}
.faq--home .faq-item:last-child {
  padding-right: 0;
}
.faq--home .faq-item h3 {
  max-width: 18ch;
}
.faq--home .faq-item p {
  padding-right: 4px;
}

.lead-form__partner {
  display: grid;
  gap: 14px;
}
.lead-form__partner[hidden],
[data-lead-task-field][hidden] {
  display: none !important;
}
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 62ch;
}
.checklist li {
  padding-left: 1.1em;
  position: relative;
  color: var(--muted);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45em;
  height: 0.45em;
  background: var(--accent);
}

/* mockup requirements */
.mockup-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.mockup-side {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 22px 18px 18px;
}
.mockup-side--ok {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: color-mix(in srgb, var(--accent) 7%, var(--bg-2));
}
.mockup-side--mid {
  border-color: color-mix(in srgb, #c9a227 40%, var(--line));
  background: color-mix(in srgb, #c9a227 7%, var(--bg-2));
}
.mockup-side--bad {
  border-color: color-mix(in srgb, #c45c5c 35%, var(--line));
  background: color-mix(in srgb, #c45c5c 6%, var(--bg-2));
}
.mockup-side h2 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  margin-bottom: 16px;
  line-height: 1.25;
}
.mockup-side--ok h2 { color: var(--accent); }
.mockup-side--mid h2 { color: #d4b84a; }
.mockup-side--bad h2 { color: #e07a7a; }
.mockup-side__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  flex-shrink: 0;
}
.mockup-side__mark svg { width: 16px; height: 16px; }
.mockup-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.mockup-side li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
}
.mockup-side__ico {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.mockup-side__ico svg { width: 16px; height: 16px; }
.mockup-side--ok .mockup-side__ico { color: var(--accent); }
.mockup-side--mid .mockup-side__ico { color: #d4b84a; }
.mockup-side--bad .mockup-side__ico { color: #e07a7a; }
.mockup-side__note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, currentColor 25%, var(--line));
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.mockup-side--mid .mockup-side__note { color: color-mix(in srgb, #d4b84a 55%, var(--text)); }
.mockup-side--bad .mockup-side__note { color: color-mix(in srgb, #e07a7a 45%, var(--text)); }

/* modal */
.lead-modal[hidden] { display: none !important; }
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  animation: fade-in 0.2s ease;
}
.lead-modal__dialog {
  position: relative;
  width: min(100%, 440px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 24px 22px 20px;
  animation: rise-in 0.28s var(--ease);
}
.lead-modal__dialog h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.lead-modal__dialog > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
.lead-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: border-color 0.2s var(--ease);
}
.lead-modal__close:hover { border-color: var(--muted); }
.lead-form {
  display: grid;
  gap: 14px;
}
.lead-form label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--muted);
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  padding: 12px 12px;
  font: inherit;
  resize: vertical;
  transition: border-color 0.2s var(--ease);
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.lead-form__mockup {
  display: grid;
  gap: 10px;
  padding: 12px 0 2px;
  border-top: 1px solid var(--line);
}
.lead-form__mockup[hidden] { display: none !important; }
.lead-form__mockup-title {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
}
.lead-form__opt {
  color: var(--muted);
  font-weight: 500;
}
.lead-form__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.lead-form__tab {
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.lead-form__tab + .lead-form__tab {
  border-left: 1px solid var(--line);
}
.lead-form__tab.is-active {
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
  color: var(--text);
}
.lead-form__pane { display: grid; gap: 8px; }
.lead-form__pane[hidden] { display: none !important; }
.lead-form__file-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.lead-form input[type="file"] {
  padding: 10px;
  font-size: 0.86rem;
}
.lead-form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lead-form__fields {
  display: grid;
  gap: 14px;
  position: relative;
}
.lead-form .btn { width: 100%; min-height: 48px; margin-top: 4px; }
.lead-form label.lead-form__consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}
.lead-form__consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.lead-form__consent a,
.lead-form__legal a { color: var(--text); text-underline-offset: 3px; }
.lead-form__consent a:hover,
.lead-form__legal a:hover { color: var(--accent); }
.lead-form__legal {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #6c6c78;
}
.lead-form__ok {
  display: none;
  color: var(--text);
  margin: 0;
}
.lead-form.is-done .lead-form__fields { display: none; }
.lead-form.is-done .lead-form__ok { display: block; }

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-footer {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  align-items: center;
}
.footer-row a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-row a:hover { color: var(--text); }
.footer-row button.linkish {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.footer-row button.linkish:hover { color: var(--text); }
.footer-legal {
  margin-top: 22px;
  display: grid;
  gap: 6px;
  color: #6c6c78;
  font-size: 0.8rem;
}
.footer-legal p { margin: 0; }
.footer-legal a {
  color: inherit;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
.footer-legal a:hover { color: var(--text); }

.footer-ai {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer-ai h2 {
  margin: 0 0 8px;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.footer-ai__note {
  margin: 0 0 12px;
  color: #6c6c78;
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 62ch;
}
.footer-ai__md {
  margin: 0;
  padding: 14px 16px;
  max-height: 220px;
  overflow: auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.footer-ai__md code {
  font: inherit;
  color: inherit;
  white-space: inherit;
}

/* legal documents */
.doc {
  max-width: 72ch;
}
.doc h1 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.doc .doc-meta {
  margin: 12px 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
.doc h2 {
  font-size: 1.2rem;
  margin: 36px 0 12px;
}
.doc h3 {
  font-size: 1rem;
  margin: 24px 0 8px;
}
.doc p,
.doc li {
  color: #c4c4d0;
  font-size: 0.95rem;
}
.doc p { margin: 0 0 12px; }
.doc ul,
.doc ol { margin: 0 0 14px; padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); }
.doc a { color: var(--text); text-underline-offset: 3px; }
.doc a:hover { color: var(--accent); }

.fine {
  margin-top: 22px;
  color: #6c6c78;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    align-items: stretch;
    padding: 28px 0 32px;
  }
  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .hero-copy {
    display: contents;
    max-width: none;
  }
  .hero h1 {
    order: 1;
    max-width: none;
    text-align: left;
    font-size: clamp(2.05rem, 9vw, 2.7rem);
  }
  .hero-lead {
    order: 2;
    margin-top: 0;
    text-align: left;
    font-size: 0.98rem;
  }
  .hero-facts {
    order: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 4px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    text-align: left;
  }
  .hero-actions {
    order: 4;
    justify-content: flex-start;
    align-items: center;
    margin-top: 4px;
    gap: 8px 14px;
  }
  .hero-actions .btn {
    flex: 0 0 auto;
    width: auto;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 0.84rem;
  }
  .hero-actions .btn-ghost {
    border-color: transparent;
    color: var(--muted);
    font-weight: 600;
    padding-inline: 2px;
  }
  .hero-actions .btn-ghost:hover {
    color: var(--text);
    border-color: transparent;
    transform: none;
  }
  .hero-fact {
    padding: 0 12px;
    border-left: 0;
    border-right: 1px solid var(--line);
    text-align: left;
  }
  .hero-fact:first-child { padding-left: 0; }
  .hero-fact:last-child {
    border-right: 0;
    padding-right: 0;
  }
  .hero-fact dt {
    margin-bottom: 6px;
    gap: 2px 6px;
  }
  .hero-fact__num { font-size: clamp(1.3rem, 5.2vw, 1.65rem); }
  .hero-fact__unit { font-size: 0.76rem; }
  .hero-fact dd {
    max-width: none;
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .hero-fact__full { display: none; }
  .hero-fact__short { display: inline; }

  .partner-band__layout,
  .partner-hero__grid,
  .partner-who,
  .partner-sla {
    grid-template-columns: 1fr;
  }
  .mission__layout {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 36px 0;
  }
  .mission__photo {
    width: 132px;
  }
  .mission__photo img {
    width: 112px;
    height: 112px;
  }
  .mission__name { font-size: 0.92rem; }
  .mission__role { font-size: 0.8rem; }
  .mission__tg { font-size: 0.8rem; }
  .mission__lead {
    font-size: 0.95rem;
    max-width: none;
  }
  .mission__goal {
    margin-top: 10px;
    font-size: 0.88rem;
  }
  .teaser {
    padding: 40px 0;
  }
  .teaser-grid,
  .teaser-grid.reverse,
  .terms,
  .offers,
  .example,
  .mockup-compare,
  .faq--home { grid-template-columns: 1fr; }
  .spec-grid,
  .spec-grid--2,
  .mockup-specs { grid-template-columns: 1fr 1fr; }
  .faq details p { padding-left: 16px; }
  .faq-band { padding: 40px 0; }
  .faq--home {
    gap: 0;
  }
  .faq--home .faq-item,
  .faq--home .faq-item:not(:last-child) {
    padding: 16px 0;
    box-shadow: none;
    border-bottom: 1px solid var(--line);
  }
  .faq--home .faq-item:last-child { border-bottom: 0; }
  .faq--home .faq-item h3 { max-width: none; }
  .teaser-grid.reverse .teaser-copy { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .process-steps,
  .process-steps--3,
  .works-grid { grid-template-columns: 1fr 1fr; }
  .works-empty { grid-column: 1 / -1; }
  .process-head {
    gap: 12px;
    margin-bottom: 16px;
  }
  .process-head h2 { max-width: none; }
  .process-head p {
    margin-top: 6px;
    font-size: 0.92rem;
  }
  .price-factors {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }
  .price-factors__item {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .price-offers {
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
  }
  .price-offers__more { display: none; }
  .price-offers__text { grid-column: 1 / -1; }
  .partner-band { padding: 44px 0; }
  .partner-band__points { gap: 14px; }
  .partner-band__points li { gap: 4px; }
  .partner-band__points span { font-size: 0.88rem; }

  /* production plan: horizontal chips, not a tall vertical list */
  .roadmap__rail { display: none; }
  .roadmap__steps {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    margin: 0 0 16px;
    padding: 2px 2px 10px;
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .roadmap__steps::-webkit-scrollbar { display: none; }
  .roadmap__step {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: auto;
    grid-template-areas: none;
    justify-items: start;
    gap: 6px;
    min-width: 104px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: var(--card, var(--bg-2));
    scroll-snap-align: start;
  }
  .roadmap__step.is-active {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  }
  .roadmap__dot {
    position: static;
    left: auto;
    width: 10px;
    height: 10px;
    box-shadow: none;
  }
  .roadmap__idx { font-size: 0.7rem; }
  .roadmap__name {
    font-size: 0.92rem;
    max-width: 11ch;
  }
  .roadmap__gate { display: none; }
  .roadmap__panels { min-height: 0; }
  .roadmap__panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .roadmap__panel-copy,
  .roadmap__checkpoint {
    padding: 14px;
  }
  .roadmap__panel h3 {
    margin-bottom: 6px;
    font-size: 1.1rem;
  }
  .roadmap__panel p,
  .roadmap__checkpoint strong {
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px var(--pad) 22px;
  }
  .nav-panel.is-open { display: block; }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 16px;
  }
  .nav-links a {
    min-height: 40px;
    padding: 8px 0;
  }
  .nav-links a::after {
    bottom: 6px;
  }
  .nav-cta { width: 100%; }

  .hero { padding: 20px 0 24px; }
  .hero h1 {
    font-size: clamp(2.15rem, 9.5vw, 2.8rem);
  }
  .hero-facts { padding-top: 12px; }
  .hero-fact { padding: 0 10px; }
  .hero-fact:first-child { padding-left: 0; }
  .hero-fact:last-child { padding-right: 0; }
  .mission__layout {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 28px 0;
  }
  .mission__photo { width: 118px; gap: 8px; }
  .mission__photo img { width: 88px; height: 88px; }
  .mission__name { font-size: 0.82rem; }
  .mission__role { font-size: 0.72rem; }
  .mission__tg { font-size: 0.75rem; margin-top: 2px; }
  .mission__kicker { margin-bottom: 6px; }
  .mission__lead { font-size: 0.9rem; line-height: 1.45; }
  .mission__goal { display: none; }
  .teaser,
  .faq-band { padding: 32px 0; }
  .partner-band { padding: 36px 0; }
  .roadmap__step {
    min-width: 92px;
    padding: 10px 12px;
  }
  .roadmap__checkpoint p:last-child {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .steps { grid-template-columns: 1fr; }
  .process-steps,
  .process-steps--3,
  .works-grid { grid-template-columns: 1fr; }
  .works-carousel {
    position: relative;
  }
  .works-carousel .works-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    margin-inline: calc(-1 * var(--pad));
    padding-inline: var(--pad);
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .works-carousel .works-grid::-webkit-scrollbar { display: none; }
  .works-carousel .works-grid > .work-card,
  .works-carousel .works-grid > .work-cta {
    flex: 0 0 min(72vw, 280px);
    width: min(72vw, 280px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .works-carousel .works-grid > .works-empty {
    flex: 0 0 auto;
    max-width: 70ch;
  }
  .works-carousel .work-card__media {
    aspect-ratio: 1;
  }
  .works-carousel .work-card__body {
    gap: 8px;
    padding: 12px;
  }
  .works-carousel .work-card__title {
    font-size: 1rem;
  }
  .works-carousel .work-card__specs {
    gap: 4px;
    font-size: 0.8rem;
  }
  .works-carousel .work-card__specs div {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 8px;
  }
  .works-carousel .work-card__note {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8rem;
  }
  .works-carousel .works-grid > .work-cta {
    min-height: 280px;
    padding: 16px;
  }
  .works-carousel__nav:not([hidden]) {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
  }
  .works-carousel__btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: var(--bg-2);
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
  }
  .works-carousel__btn:hover,
  .works-carousel__btn:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
    outline: none;
  }
  .works-carousel__btn:disabled {
    opacity: 0.35;
    cursor: default;
    border-color: var(--line);
    color: var(--muted);
  }
  .spec-grid,
  .spec-grid--2,
  .mockup-specs { grid-template-columns: 1fr; }
  .faq summary { grid-template-columns: auto 1fr; }
  .faq__chev { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lead-modal__backdrop,
  .lead-modal__dialog,
  .process-step:hover,
  .process-step:focus-visible,
  .hero-copy,
  .hero-lead,
  .hero-actions,
  .hero-fact,
  .roadmap__panel,
  .roadmap__dot,
  .faq__chev,
  .nav-links a,
  .nav-links a::after { animation: none !important; transition: none !important; }
  html.has-reveal [data-reveal] :is(
    .process-head > div > *,
    .process-head > a.btn,
    .process-head > .btn,
    .process-head > .teaser-actions,
    .price-block__head > *,
    .works-grid > *,
    .process-steps > *,
    .price-factors > *,
    .price-offers,
    .roadmap__steps,
    .roadmap__panels,
    .partner-band__copy > *,
    .partner-band__points > *,
    .cta-band > div > *,
    .cta-band > .btn,
    .mission__layout > *,
    .faq--home > *
  ),
  html.has-reveal .partner-band:not(.is-in)::before,
  html.has-reveal .partner-band.is-in::before {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .nav-cta:hover,
  .btn:hover,
  .case-card:hover,
  .case-card:focus-within,
  .step-item:hover,
  .step-item:focus-within,
  .fact-item:hover,
  .fact-item:focus-within,
  .offer:hover,
  a.work-card:hover,
  a.work-card:focus-visible,
  .work-card--demo:hover {
    transform: none;
    box-shadow: none;
  }
  a.work-card:hover .work-card__media img,
  a.work-card:focus-visible .work-card__media img,
  .work-card--demo:hover .work-card__media img {
    transform: none;
  }
  .case-card__more,
  .case-card__link,
  .step-item__more,
  .fact-item__more {
    opacity: 1;
    color: var(--muted);
  }
  .case-card:hover .case-card__more,
  .case-card:focus-within .case-card__more,
  .case-card:hover .case-card__link,
  .case-card:focus-within .case-card__link,
  .step-item:hover .step-item__more,
  .step-item:focus-within .step-item__more,
  .fact-item:hover .fact-item__more,
  .fact-item:focus-within .fact-item__more {
    color: var(--accent-ink);
  }

}

/* Geo cities disclosure (delivery) */
.geo-cities {
  margin-top: 28px;
  max-width: 52rem;
}
.geo-cities__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.geo-cities__toggle:hover {
  border-color: var(--muted);
  color: var(--accent);
}
.geo-cities__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.geo-cities__toggle--hide {
  width: auto;
  min-width: 7.5rem;
  margin: 0 auto 22px;
  display: flex;
}
.geo-cities.is-open .geo-cities__toggle[data-geo-open] {
  display: none;
}
.geo-cities__panel[hidden] {
  display: none;
}
.geo-cities__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.geo-cities__list li {
  margin: 0;
}
@media (max-width: 820px) {
  .geo-cities__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .geo-cities__list {
    grid-template-columns: 1fr;
  }
  .geo-cities__toggle {
    font-size: 0.88rem;
    text-align: center;
  }
}
