@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #f2f3f0;
  --surface: #fbfcf9;
  --surface-2: #e9ece7;
  --ink: #17191b;
  --muted: #5c6264;
  --muted-strong: #3f4547;
  --line: rgba(23, 25, 27, 0.13);
  --line-strong: rgba(23, 25, 27, 0.22);
  --accent: #c6412e;
  --accent-soft: #f0cfc8;
  --accent-faint: #f7e4df;
  --accent-ink: #fffaf7;
  --shadow: 0 28px 80px rgba(44, 51, 49, 0.13);
  --shadow-soft: 0 12px 38px rgba(44, 51, 49, 0.09);
  --radius: 16px;
  --shell: min(1320px, calc(100vw - 56px));
  --header-height: 72px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111416;
  --surface: #181c1e;
  --surface-2: #202629;
  --ink: #f1f3ee;
  --muted: #adb4b2;
  --muted-strong: #d0d5d2;
  --line: rgba(241, 243, 238, 0.13);
  --line-strong: rgba(241, 243, 238, 0.22);
  --accent: #ff7c65;
  --accent-soft: #693328;
  --accent-faint: #2b211f;
  --accent-ink: #18100e;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 240ms;
  animation-timing-function: var(--ease-out);
}

::view-transition-old(root) {
  animation-name: theme-fade-out;
}

::view-transition-new(root) {
  animation-name: theme-fade-in;
}

@keyframes theme-fade-out {
  to {
    opacity: 0;
    filter: blur(2px);
  }
}

@keyframes theme-fade-in {
  from {
    opacity: 0;
    filter: blur(2px);
  }
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  transition:
    background-color 220ms var(--ease-out),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  box-shadow: 0 12px 36px color-mix(in srgb, var(--ink) 7%, transparent);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner {
  height: 100%;
}

.wordmark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.wordmark::first-letter {
  color: var(--accent);
}

.nav-links,
.header-actions,
.footer-links,
.hero-actions,
.final-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a,
.text-link,
.footer-links a {
  transition: color 180ms ease;
}

.nav-links a {
  position: relative;
  padding-block: 8px;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}

.nav-links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--accent);
}

.header-actions {
  gap: 18px;
}

.header-login {
  font-size: 14px;
  font-weight: 600;
}

.theme-button {
  min-width: 72px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 13px;
  transition:
    color 160ms ease,
    transform 140ms var(--ease-out);
}

.theme-button:active {
  transform: scale(0.96);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 180ms var(--ease-out),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:active {
  transform: translateY(0) scale(0.97);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
}

.button-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.button-accent:hover {
  background: color-mix(in srgb, var(--accent) 90%, var(--ink));
}

.button-dark {
  background: var(--ink);
  color: var(--bg);
}

.button-quiet {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--ink);
}

.button-quiet:hover {
  border-color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--ink) 10%, transparent);
  }

  .button:active {
    transform: translateY(0) scale(0.97);
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.hero {
  display: grid;
  min-height: calc(100dvh - var(--header-height));
  grid-template-columns: minmax(0, 0.86fr) minmax(540px, 1.14fr);
  align-items: center;
  gap: clamp(44px, 6vw, 104px);
  padding-block: clamp(48px, 7vh, 84px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(52px, 5.2vw, 84px);
}

.hero-line {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.055em;
  vertical-align: bottom;
}

.hero-line > span {
  display: inline-block;
}

.hero-line-accent > span {
  color: var(--accent);
}

.hero-lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--muted-strong);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  gap: 10px;
  margin-top: 34px;
}

.hero-stage {
  position: relative;
  min-height: min(660px, calc(100dvh - 150px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f4f1;
  box-shadow: var(--shadow);
  transform-origin: 50% 70%;
}

.hero-stage > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 54% center;
  transform: scale(1);
}

.hero-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(247, 244, 241, 0.03), rgba(247, 244, 241, 0.23));
  pointer-events: none;
}

.task-composer {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  padding: 22px;
  border: 1px solid rgba(21, 23, 24, 0.13);
  border-radius: var(--radius);
  background: rgba(253, 252, 249, 0.91);
  color: #17191b;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.78),
    0 20px 70px rgba(35, 35, 31, 0.2);
  backdrop-filter: blur(18px);
  transform-origin: 50% 100%;
}

.composer-top,
.composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.composer-top {
  margin-bottom: 24px;
  color: #666c6e;
  font-size: 12px;
  font-weight: 700;
}

.task-composer label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 800;
}

.task-composer textarea {
  width: 100%;
  min-height: 92px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #17191b;
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.38;
  transition:
    opacity 180ms ease,
    filter 180ms ease;
}

.prompt-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.prompt-suggestions button {
  padding: 8px 11px;
  border: 1px solid rgba(21, 23, 24, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #4c5153;
  cursor: pointer;
  font-size: 12px;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background-color 160ms ease,
    transform 140ms var(--ease-out);
}

.prompt-suggestions button:hover {
  border-color: #c6412e;
  color: #a93423;
}

.prompt-suggestions button[aria-pressed="true"] {
  border-color: rgba(198, 65, 46, 0.38);
  background: rgba(198, 65, 46, 0.09);
  color: #a93423;
}

.prompt-suggestions button:active {
  transform: scale(0.97);
}

.composer-status {
  margin: 0;
  color: #656a6c;
  font-size: 12px;
  transition:
    opacity 180ms ease,
    filter 180ms ease;
}

.button-send {
  min-height: 42px;
  border: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html.motion-ready .hero-title .hero-line > span {
    transform: translateY(112%);
    transition: transform 860ms var(--ease-out);
    will-change: transform;
  }

  html.motion-ready .hero-title .hero-line-accent > span {
    transition-delay: 70ms;
  }

  html.motion-ready .hero-title.is-visible .hero-line > span {
    transform: translateY(0);
  }

  html.motion-ready .hero-stage > img {
    transform: scale(1.035);
    transition: transform 1200ms var(--ease-out) 100ms;
    will-change: transform;
  }

  html.motion-ready .hero-stage.is-visible > img {
    transform: scale(1);
  }

  html.motion-ready .hero-stage .task-composer {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition:
      opacity 520ms var(--ease-out) 380ms,
      transform 640ms var(--ease-out) 380ms;
    will-change: transform, opacity;
  }

  html.motion-ready .hero-stage.is-visible .task-composer {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.trust-strip {
  display: grid;
  min-height: 116px;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 2.3fr);
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip > p {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo-row li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
  transition:
    color 180ms ease,
    transform 220ms var(--ease-out);
}

.logo-row img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: no-preference) {
  html.motion-ready .trust-strip .logo-row li {
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 360ms var(--ease-out) calc(var(--item-index) * 45ms + 120ms),
      transform 420ms var(--ease-out) calc(var(--item-index) * 45ms + 120ms),
      color 180ms ease;
  }

  html.motion-ready .trust-strip.is-visible .logo-row li {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .logo-row li:hover {
    color: var(--ink);
    transform: translateY(-2px);
  }
}

.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.outcome {
  display: grid;
  min-height: 154px;
  align-content: center;
  gap: 6px;
  padding: 30px 34px;
}

.outcome + .outcome {
  border-left: 1px solid var(--line);
}

.outcome strong {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.055em;
  transition:
    color 180ms ease,
    transform 240ms var(--ease-out);
}

.outcome span {
  max-width: 260px;
  color: var(--muted);
  font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .outcome:hover strong {
    color: var(--accent);
    transform: translateY(-2px);
  }
}

.section {
  padding-block: clamp(92px, 11vw, 160px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.section-heading h2,
.work-intro h2,
.pricing-intro h2 {
  font-size: clamp(42px, 6vw, 78px);
}

.section-heading p,
.work-intro p,
.pricing-intro p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
}

.solutions-section {
  padding-bottom: clamp(48px, 7vw, 92px);
}

.solutions-intro {
  display: grid;
  grid-template-columns: 0.55fr 1.25fr 0.8fr;
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: clamp(42px, 6vw, 72px);
}

.solutions-intro .eyebrow {
  align-self: start;
  margin-top: 10px;
}

.solutions-intro h2 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 74px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.solutions-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.solution-card {
  position: relative;
  display: flex;
  min-height: 540px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    translate 260ms var(--ease-out),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.solution-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(
      320px circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
      color-mix(in srgb, var(--accent) 10%, transparent),
      transparent 72%
    );
  opacity: 0;
  transition: opacity 220ms ease;
}

.solution-card-market::before {
  background:
    radial-gradient(
      320px circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
      rgba(255, 140, 118, 0.13),
      transparent 72%
    );
}

.solution-card-1c {
  grid-column: span 5;
}

.solution-card-iiko {
  grid-column: span 3;
  background: var(--accent-faint);
}

.solution-card-market {
  grid-column: span 4;
  border-color: transparent;
  background: #17191b;
  color: #f7f7f2;
}

.solution-card-top {
  display: flex;
  min-height: 42px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding-inline: 9px;
  border-radius: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  transition: transform 240ms var(--ease-out);
}

.brand-mark-1c {
  background: #ffd400;
  color: #b01722;
  font-size: 17px;
}

.brand-mark-iiko {
  min-width: 64px;
  background: #ed704d;
  color: #fff;
  font-size: 17px;
}

.market-brands {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark-ozon {
  min-width: 68px;
  background: #005bff;
  color: #fff;
  font-size: 15px;
}

.brand-mark-wb {
  background: #b227bd;
  color: #fff;
  font-size: 15px;
}

.solution-link {
  padding-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.solution-link::after {
  display: inline-block;
  margin-left: 7px;
  content: "↗";
  transition: transform 220ms var(--ease-out);
}

.solution-card-market .solution-link {
  color: rgba(247, 247, 242, 0.6);
}

.solution-copy {
  margin-block: auto 38px;
  padding-top: 64px;
}

.solution-copy p {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-card-market .solution-copy p {
  color: #ff8c76;
}

.solution-copy h3 {
  margin: 0;
  font-size: clamp(26px, 2.7vw, 42px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.solution-card-iiko .solution-copy h3 {
  font-size: clamp(24px, 2.2vw, 34px);
}

.solution-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.solution-card-market .solution-metrics {
  border-color: rgba(247, 247, 242, 0.16);
}

.solution-metrics div {
  min-width: 0;
}

.solution-metrics dt {
  font-size: clamp(17px, 1.8vw, 25px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.1;
  transition:
    color 180ms ease,
    transform 240ms var(--ease-out);
}

.solution-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.solution-card-market .solution-metrics dd {
  color: rgba(247, 247, 242, 0.6);
}

@media (hover: hover) and (pointer: fine) {
  .solution-card:hover,
  .solution-card.is-pointing {
    border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
    box-shadow: var(--shadow-soft);
    translate: 0 -6px;
  }

  .solution-card:hover::before,
  .solution-card.is-pointing::before {
    opacity: 1;
  }

  .solution-card:hover .brand-mark,
  .solution-card.is-pointing .brand-mark {
    transform: translateY(-2px) scale(1.025);
  }

  .solution-card:hover .solution-link::after,
  .solution-card.is-pointing .solution-link::after {
    transform: translate(2px, -2px);
  }

  .solution-card:hover .solution-metrics dt,
  .solution-card.is-pointing .solution-metrics dt {
    color: var(--accent);
    transform: translateY(-1px);
  }

  .solution-card-market:hover .solution-metrics dt,
  .solution-card-market.is-pointing .solution-metrics dt {
    color: #ff9b88;
  }
}

.product-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0e1112;
  box-shadow: var(--shadow);
  transition:
    translate 360ms var(--ease-out),
    box-shadow 360ms ease;
}

.window-bar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #141819;
  color: #f2f4ef;
  font-size: 13px;
}

.window-bar a {
  color: #ff8c76;
  font-weight: 700;
  transition: color 180ms ease;
}

.product-window video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {
  .product-window:hover {
    box-shadow: 0 34px 100px color-mix(in srgb, var(--ink) 18%, transparent);
    translate: 0 -4px;
  }

  .window-bar a:hover {
    color: #ffc0b3;
  }
}

.work-section {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  align-items: start;
  gap: clamp(44px, 7vw, 108px);
}

.work-intro {
  position: sticky;
  top: calc(var(--header-height) + 50px);
}

.work-intro h2,
.pricing-intro h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.work-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    translate 260ms var(--ease-out),
    border-color 220ms ease,
    box-shadow 260ms ease;
}

.work-card h3 {
  max-width: 550px;
  margin: 8px 0 0;
  font-size: clamp(25px, 3vw, 43px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.work-card p {
  max-width: 540px;
  color: var(--muted);
}

.work-card .card-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.work-card-main {
  min-height: 660px;
  grid-row: span 2;
  padding-bottom: 0;
}

.work-card-main img {
  width: calc(100% + 60px);
  max-width: none;
  height: 330px;
  margin: 30px -30px 0;
  object-fit: cover;
  transition: transform 620ms var(--ease-out);
}

.work-card-analysis {
  background: var(--accent-faint);
}

.work-card-content {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-2) 90%, transparent), var(--surface));
}

.work-card-wide {
  display: grid;
  min-height: 230px;
  grid-column: 1 / -1;
  grid-template-columns: 1.1fr 0.9fr auto;
  align-items: end;
  gap: 30px;
}

.work-card-wide .text-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .work-card:hover {
    border-color: color-mix(in srgb, var(--accent) 25%, var(--line));
    box-shadow: var(--shadow-soft);
    translate: 0 -4px;
  }

  .work-card-main:hover img {
    transform: scale(1.025);
  }
}

.process-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.process-item {
  min-height: 260px;
  padding: 32px 42px 32px 0;
}

.process-item + .process-item {
  padding-left: 42px;
  border-left: 1px solid var(--line);
}

.process-item h3 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.045em;
  transition:
    color 180ms ease,
    transform 220ms var(--ease-out);
}

.process-item p {
  max-width: 360px;
  margin: 20px 0 0;
  color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
  .process-item:hover h3 {
    color: var(--accent);
    transform: translateY(-2px);
  }
}

.case-grid {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.case-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
  transition:
    translate 300ms var(--ease-out),
    box-shadow 300ms ease;
}

.case-card-tall {
  min-height: 696px;
  grid-row: 1 / 3;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.case-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(14, 16, 17, 0.88));
}

.case-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: clamp(24px, 3vw, 42px);
  color: #f8f7f2;
  transition: transform 300ms var(--ease-out);
}

.case-copy span,
.case-copy p {
  font-size: 12px;
  font-weight: 700;
}

.case-copy span {
  color: #ff9b88;
}

.case-copy h3 {
  max-width: 620px;
  margin: 10px 0;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.case-copy p {
  margin: 0;
  color: rgba(248, 247, 242, 0.7);
}

@media (hover: hover) and (pointer: fine) {
  .case-card:hover {
    box-shadow: var(--shadow);
    translate: 0 -5px;
  }

  .case-card:hover img {
    transform: scale(1.035);
  }

  .case-card:hover .case-copy {
    transform: translateY(-4px);
  }
}

.pricing-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: clamp(50px, 8vw, 120px);
  border-top: 1px solid var(--line);
}

.pricing-intro {
  position: sticky;
  top: calc(var(--header-height) + 50px);
}

.pricing-layout {
  display: grid;
  gap: 14px;
}

.price-card {
  display: grid;
  min-height: 270px;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 26px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    translate 260ms var(--ease-out),
    border-color 220ms ease,
    box-shadow 260ms ease;
}

.price-card h3,
.price-card p {
  margin: 0;
}

.price-card h3 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.price-card > p {
  color: var(--muted);
}

.price-top p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.price-top strong {
  color: var(--ink);
  font-size: 22px;
}

.price-card-accent {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-ink);
}

.price-card-accent > p,
.price-card-accent .price-top p,
.price-card-accent .price-top strong {
  color: var(--accent-ink);
}

.price-card-accent .button-dark {
  background: var(--accent-ink);
  color: var(--accent);
}

@media (hover: hover) and (pointer: fine) {
  .price-card:hover {
    border-color: color-mix(in srgb, var(--accent) 25%, var(--line));
    box-shadow: var(--shadow-soft);
    translate: 0 -4px;
  }

  .price-card-accent:hover {
    border-color: transparent;
  }
}

.final-cta {
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(56px, 8vw, 110px);
  padding: clamp(40px, 7vw, 90px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 20%, var(--accent-soft), transparent 35%),
    var(--surface);
  transition:
    translate 320ms var(--ease-out),
    box-shadow 320ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .final-cta:hover {
    box-shadow: var(--shadow-soft);
    translate: 0 -3px;
  }
}

.final-cta h2 {
  max-width: 820px;
  font-size: clamp(42px, 6vw, 78px);
}

.final-cta p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.final-actions {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.site-footer {
  padding-block: 34px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  gap: 30px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 560ms var(--ease-out) var(--delay, 0ms),
    transform 680ms var(--ease-out) var(--delay, 0ms);
}

.reveal-clip {
  clip-path: inset(0 0 8% 0 round var(--radius));
  transform: translateY(18px) scale(0.985);
}

.reveal-clip.is-visible {
  clip-path: inset(0 0 0 0 round var(--radius));
  transform: translateY(0) scale(1);
  transition:
    opacity 560ms var(--ease-out) var(--delay, 0ms),
    transform 820ms var(--ease-out) var(--delay, 0ms),
    clip-path 820ms var(--ease-out) var(--delay, 0ms);
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 40px, 980px);
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 70px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-stage {
    min-height: 660px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 28px;
  }

  .trust-strip > p {
    max-width: none;
  }

  .logo-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .solutions-intro {
    grid-template-columns: 1fr 1fr;
  }

  .solutions-intro .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .solution-card-1c {
    grid-column: span 7;
  }

  .solution-card-iiko {
    grid-column: span 5;
  }

  .solution-card-market {
    grid-column: 1 / -1;
    min-height: 430px;
  }

  .work-section,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .work-intro,
  .pricing-intro {
    position: static;
    max-width: 760px;
  }

  .price-card {
    min-height: 230px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 32px);
    --header-height: 64px;
  }

  .header-login,
  .theme-button {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .button-small {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    gap: 42px;
    padding-block: 54px 74px;
  }

  .hero h1 {
    font-size: clamp(45px, 14vw, 66px);
  }

  .hero-lead {
    margin-top: 24px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-stage {
    min-height: 570px;
  }

  .hero-stage > img {
    object-position: 57% center;
  }

  .task-composer {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 18px;
  }

  .composer-top {
    margin-bottom: 18px;
  }

  .composer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .button-send {
    width: 100%;
  }

  .outcomes {
    grid-template-columns: 1fr;
  }

  .outcome {
    min-height: 130px;
    padding-inline: 8px;
  }

  .outcome + .outcome {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .logo-row {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .section {
    padding-block: 84px;
  }

  .solutions-intro {
    grid-template-columns: 1fr;
  }

  .solutions-intro .eyebrow {
    grid-column: auto;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-card,
  .solution-card-1c,
  .solution-card-iiko,
  .solution-card-market {
    min-height: 490px;
    grid-column: auto;
  }

  .solution-card-iiko .solution-copy h3 {
    font-size: clamp(27px, 9vw, 38px);
  }

  .work-grid,
  .process-list,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card-main,
  .work-card-wide {
    min-height: auto;
    grid-column: auto;
    grid-row: auto;
  }

  .work-card {
    min-height: 290px;
  }

  .work-card-main {
    min-height: 560px;
  }

  .work-card-wide {
    display: flex;
    min-height: 340px;
    align-items: flex-start;
  }

  .process-item,
  .process-item + .process-item {
    min-height: auto;
    padding: 30px 0;
    border-left: 0;
  }

  .process-item + .process-item {
    border-top: 1px solid var(--line);
  }

  .case-grid {
    grid-template-rows: none;
  }

  .case-card,
  .case-card-tall {
    min-height: 480px;
    grid-row: auto;
  }

  .price-card {
    min-height: 340px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .price-card .button {
    align-self: end;
  }

  .final-cta {
    min-height: 520px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
  }

  .final-actions {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-clip {
    clip-path: none;
  }

  .hero-title .hero-line > span,
  .hero-stage > img,
  .hero-stage .task-composer,
  .trust-strip .logo-row li {
    opacity: 1 !important;
    transform: none !important;
  }
}

@supports not (backdrop-filter: blur(18px)) {
  .site-header {
    background: var(--bg);
  }

  .task-composer {
    background: #fdfcf9;
  }
}
