@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light only;
  --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);
  --brand-mark: url("assets/identity/octo-core.svg");
}

* {
  box-sizing: border-box;
}

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

main [id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

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;
}

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%;
}

img {
  height: auto;
}

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 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.wordmark::before {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  content: "";
  background: var(--brand-mark) center / contain no-repeat;
}

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

.nav-links {
  gap: 20px;
  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,
.nav-links a[aria-current]::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;
}

.menu-button {
  display: none;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.cta-label-short {
  display: none;
}

.site-menu {
  position: absolute;
  top: 70px;
  right: 0;
  left: 0;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  box-shadow: 0 22px 56px color-mix(in srgb, var(--ink) 14%, transparent);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

.site-menu[hidden] {
  display: none;
}

.site-menu-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-menu-nav a {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 650;
}

.site-menu-nav a:nth-child(3n + 2),
.site-menu-nav a:nth-child(3n + 3) {
  border-left: 1px solid var(--line);
}

.site-menu-nav a:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.site-menu-nav a.is-active,
.site-menu-nav a[aria-current] {
  color: var(--accent);
}

.site-menu-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 12px;
  padding: 12px 14px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.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);
  }
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(48px, 7vw, 108px);
  border-top: 1px solid var(--line);
}

.platform-copy h2,
.compare-intro h2,
.api-copy h2,
.blog-heading h2 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 600;
  letter-spacing: -0.062em;
  line-height: 0.99;
}

.platform-copy > p,
.compare-intro > p,
.api-copy > p,
.blog-heading > p {
  max-width: 630px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
}

.channel-now {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.channel-now a {
  display: grid;
  min-height: 78px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    translate 220ms var(--ease-out),
    border-color 180ms ease,
    box-shadow 220ms ease;
}

.channel-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

.channel-icon-web {
  background: var(--ink);
  color: var(--bg);
}

.channel-icon-tg {
  background: #229ed9;
  color: #fff;
}

.channel-now strong,
.channel-now small {
  display: block;
}

.channel-now strong {
  font-size: 15px;
}

.channel-now small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.channel-now b {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.channel-soon {
  margin-top: 28px;
}

.channel-soon > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.channel-soon ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.channel-soon li {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
}

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

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

@media (hover: hover) and (pointer: fine) {
  .channel-now a:hover {
    border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
    box-shadow: var(--shadow-soft);
    translate: 0 -3px;
  }

  .platform-media:hover {
    box-shadow: 0 32px 90px color-mix(in srgb, var(--ink) 16%, transparent);
    translate: 0 -4px;
  }
}

.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);
}

.section-heading .eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
}

.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;
  }
}

.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;
}

@media (hover: hover) and (pointer: fine) {
  .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);
  }
}

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

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

.compare-more {
  display: inline-flex;
  margin-top: 30px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.compare-more::after {
  margin-left: 8px;
  content: "↗";
}

.compare-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.15fr;
  align-items: center;
  gap: 20px;
  padding-inline: clamp(20px, 3vw, 34px);
}

.compare-head {
  min-height: 66px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.compare-head span:last-child {
  color: var(--accent);
}

.compare-row {
  min-height: 114px;
  border-top: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.compare-row strong {
  font-size: 15px;
}

.compare-row span {
  color: var(--muted);
  font-size: 14px;
}

.compare-row span:last-child {
  color: var(--ink);
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
  .compare-row:hover {
    background: color-mix(in srgb, var(--accent-faint) 52%, var(--surface));
  }
}

.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 {
  position: relative;
  min-height: 260px;
  padding: 72px 42px 32px 0;
}

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

.process-item::before {
  position: absolute;
  top: 30px;
  left: 0;
  color: var(--accent);
  content: attr(data-step);
  font-size: 13px;
  font-weight: 800;
}

.process-item + .process-item::before {
  left: 42px;
}

.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);
}

.control-note {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 28px;
  margin-top: 36px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.control-note strong {
  font-size: 17px;
}

.control-note span {
  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);
  }
}

.case-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.api-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  border-top: 1px solid var(--line);
}

.api-copy .eyebrow {
  margin-bottom: 18px;
}

.api-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 34px 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.api-features li {
  min-height: 112px;
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--line);
}

.api-features li:nth-child(even) {
  padding-right: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.api-features strong,
.api-features span {
  display: block;
}

.api-features strong {
  font-size: 14px;
}

.api-features span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.api-console {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: #15191a;
  color: #e8ece8;
  box-shadow: var(--shadow);
  transition:
    translate 300ms var(--ease-out),
    box-shadow 300ms ease;
}

.api-console-bar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(232, 236, 232, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.api-console pre {
  min-height: 430px;
  margin: 0;
  padding: clamp(28px, 4vw, 48px);
  overflow-x: auto;
  font: 500 14px/1.85 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.api-console code {
  color: #c8cfcc;
}

.api-method {
  color: #ff8c76;
  font-weight: 800;
}

.api-success {
  color: #7dd3a6;
}

@media (hover: hover) and (pointer: fine) {
  .api-console:hover {
    box-shadow: 0 32px 90px color-mix(in srgb, var(--ink) 17%, transparent);
    translate: 0 -4px;
  }
}

.blog-section {
  border-top: 1px solid var(--line);
}

.blog-heading {
  position: relative;
  max-width: 920px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.blog-heading .text-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.blog-heading .text-link::after {
  margin-left: 8px;
  content: "↗";
}

.article-list {
  display: grid;
  grid-template-columns: 1.35fr 0.825fr 0.825fr;
  gap: 14px;
}

.article-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    translate 260ms var(--ease-out),
    border-color 200ms ease,
    box-shadow 260ms ease;
}

.article-card-featured {
  background:
    linear-gradient(145deg, var(--accent-faint), color-mix(in srgb, var(--surface) 82%, var(--accent-soft)));
}

.article-card > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.article-card h3 {
  margin: 68px 0 0;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.article-card p {
  margin: 18px 0 28px;
  color: var(--muted);
}

.article-card b {
  margin-top: auto;
  color: var(--accent);
  font-size: 13px;
}

@media (hover: hover) and (pointer: fine) {
  .article-card:hover {
    border-color: color-mix(in srgb, var(--accent) 26%, var(--line));
    box-shadow: var(--shadow-soft);
    translate: 0 -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);
}

.model-note {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.model-note strong,
.model-note small {
  display: block;
}

.model-note strong {
  font-size: 13px;
}

.model-note div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.model-note span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
}

.model-note small {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.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 {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(560px, 1.6fr);
  align-items: start;
  gap: 30px;
}

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

.footer-links {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.cookie-consent {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(58px, calc(env(safe-area-inset-bottom) + 58px));
  z-index: 120;
  width: min(520px, calc(100vw - 36px));
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 24px 80px rgba(23, 25, 27, 0.2);
  backdrop-filter: blur(22px) saturate(130%);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-copy {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
}

.cookie-consent-mark {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-faint);
}

.cookie-consent h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.cookie-consent p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.cookie-consent a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.cookie-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.cookie-button,
.cookie-settings {
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: 700 12px/1 "Manrope", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

.cookie-button {
  padding: 0 16px;
}

.cookie-button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.cookie-button:hover,
.cookie-settings:hover {
  border-color: var(--accent);
}

.cookie-settings {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(14px, calc(env(safe-area-inset-bottom) + 14px));
  z-index: 119;
  min-height: 30px;
  padding: 0 11px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--muted-strong);
  box-shadow: var(--shadow-soft);
  font-size: 10px;
  backdrop-filter: blur(14px);
}

.cookie-button:focus-visible,
.cookie-settings:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.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;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions {
    gap: 12px;
  }

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

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

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

  .platform-section,
  .compare-section,
  .api-section {
    grid-template-columns: 1fr;
  }

  .platform-copy,
  .compare-intro,
  .api-copy {
    max-width: 780px;
  }

  .compare-intro {
    position: static;
  }

  .platform-media {
    max-width: 920px;
  }

  .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;
  }

  .article-list {
    grid-template-columns: 1fr 1fr;
  }

  .article-card-featured {
    grid-column: 1 / -1;
  }
}

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

  .header-login {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

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

  .cta-label-full {
    display: none;
  }

  .cta-label-short {
    display: inline;
  }

  .site-menu {
    top: 64px;
  }

  .site-menu-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-menu-nav a:nth-child(3n + 2),
  .site-menu-nav a:nth-child(3n + 3) {
    border-left: 0;
  }

  .site-menu-nav a:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .site-menu-nav a:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .site-menu-nav a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .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%;
  }

  .platform-section {
    gap: 42px;
  }

  .channel-now a {
    grid-template-columns: auto 1fr;
  }

  .channel-now b {
    grid-column: 2;
  }

  .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,
  .article-list {
    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: 64px 0 30px;
    border-left: 0;
  }

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

  .process-item + .process-item::before {
    left: 0;
  }

  .control-note {
    grid-template-columns: 1fr;
  }

  .compare-head {
    display: none;
  }

  .compare-row {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 26px;
  }

  .compare-row span {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;
  }

  .compare-row span::before {
    color: var(--muted);
    content: "ИИ-чат";
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .compare-row span:last-child::before {
    color: var(--accent);
    content: "Octomatica";
  }

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

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

  .case-actions {
    justify-content: stretch;
  }

  .case-actions .button {
    width: 100%;
  }

  .api-features {
    grid-template-columns: 1fr;
  }

  .api-features li,
  .api-features li:nth-child(even) {
    min-height: 0;
    padding: 18px 0;
    border-left: 0;
  }

  .api-console pre {
    min-height: 360px;
    font-size: 11px;
  }

  .article-card,
  .article-card-featured {
    min-height: 350px;
    grid-column: 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;
  }
}

/* Construction industry page */

.subpage-v2.subpage-construction {
  --page-tint: var(--accent-faint);
  --page-tint-strong: var(--accent);
}

.construction-hero {
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  padding-block: clamp(34px, 6vh, 68px);
}

.construction-hero-copy {
  position: relative;
  z-index: 1;
}

.construction-hero-copy h1 {
  max-width: 760px;
  margin: 24px 0 22px;
  font-size: clamp(48px, 5.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.construction-hero-copy .lead {
  max-width: 620px;
  margin: 0;
}

.construction-hero-visual {
  position: relative;
  min-height: clamp(480px, 67vh, 720px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.construction-hero-visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 90px rgba(8, 12, 15, 0.22);
}

.construction-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.construction-section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.construction-section-heading h2,
.construction-estimate-copy h2,
.construction-sales-copy h2,
.construction-launch-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.construction-section-heading p,
.construction-launch-heading p {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
}

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

.construction-direction {
  position: relative;
  min-height: 480px;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.construction-direction img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.construction-direction > div {
  padding: clamp(24px, 3.2vw, 42px);
}

.construction-direction span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.construction-direction h3 {
  max-width: 560px;
  margin: 14px 0 12px;
  font-size: clamp(29px, 3vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.construction-direction p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.construction-direction-build {
  grid-column: span 7;
  grid-template-rows: minmax(260px, 1fr) auto;
}

.construction-direction-sales {
  grid-column: span 5;
  grid-template-rows: auto minmax(260px, 1fr);
  background: var(--accent-faint);
}

.construction-direction-sales img {
  object-fit: contain;
  object-position: center bottom;
}

.construction-direction-design {
  min-height: 420px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  background: var(--ink);
  color: var(--bg);
}

.construction-direction-design > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.construction-direction-design p {
  color: color-mix(in srgb, var(--bg) 70%, transparent);
}

.construction-estimate {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(38px, 6vw, 88px);
}

.construction-estimate-copy p,
.construction-sales-copy > p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 21px);
}

.construction-evidence {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1px;
  margin-block: 36px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.construction-evidence > div {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  background: var(--surface);
}

.construction-evidence strong {
  color: var(--accent);
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.construction-evidence span {
  color: var(--muted);
  font-size: 14px;
}

.construction-estimate-visual,
.construction-sales-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.construction-estimate-visual {
  padding: clamp(22px, 3vw, 42px);
}

.construction-estimate-visual img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 6px);
}

.construction-estimate-visual figcaption {
  max-width: 620px;
  margin: 18px 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.construction-sales {
  display: grid;
  grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr);
  align-items: center;
  gap: clamp(40px, 6vw, 94px);
}

.construction-sales-visual {
  padding: clamp(20px, 3vw, 38px);
  background: var(--ink);
}

.construction-sales-visual img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 5px);
}

.construction-sales-copy ul {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.construction-sales-copy li {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
}

.construction-sales-copy li::before {
  position: absolute;
  top: 18px;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 800;
}

.construction-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
  grid-template-rows: repeat(2, minmax(230px, 1fr));
  gap: 16px;
}

.construction-gallery figure {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.construction-gallery figure:first-child {
  grid-row: 1 / 3;
}

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

.construction-gallery-note {
  display: flex;
  align-items: baseline;
  gap: 18px;
  max-width: 680px;
  margin-top: 24px;
}

.construction-gallery-note strong {
  color: var(--accent);
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.04em;
}

.construction-gallery-note span {
  color: var(--muted);
}

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

.construction-operations article {
  min-height: 280px;
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.construction-operations article:nth-child(2),
.construction-operations article:nth-child(3) {
  grid-column: span 7;
  background: var(--accent-faint);
}

.construction-operations article > span {
  width: fit-content;
  margin-bottom: auto;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.construction-operations article > img {
  width: 40px;
  height: 40px;
  margin-bottom: auto;
  object-fit: contain;
}

.construction-operations h3 {
  max-width: 520px;
  margin: 30px 0 10px;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.construction-operations p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.construction-launch {
  padding-block: clamp(70px, 9vw, 130px);
}

.construction-launch-heading {
  max-width: 860px;
}

.construction-launch-flow {
  display: grid;
  grid-template-columns: 0.9fr 1.05fr 1.2fr;
  gap: 1px;
  margin: 54px 0 0;
  padding: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  list-style: none;
}

.construction-launch-flow li {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface);
}

.construction-launch-flow li:last-child {
  background: var(--accent);
  color: var(--accent-ink);
}

.construction-launch-flow strong {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.construction-launch-flow p {
  margin: 14px 0 0;
  color: var(--muted);
}

.construction-launch-flow li:last-child p {
  color: color-mix(in srgb, var(--accent-ink) 74%, transparent);
}

.article-construction-cover {
  height: clamp(420px, 62vw, 720px);
  margin-block: 16px 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: var(--shadow-soft);
}

.article-construction-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-inline-figure {
  margin: 36px 0 0;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.article-inline-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1928 / 1040;
  object-fit: contain;
  border-radius: calc(var(--radius) - 6px);
  background: #17191b;
}

.article-inline-figure figcaption {
  max-width: 620px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

@media (hover: hover) and (pointer: fine) {
  .construction-direction,
  .construction-operations article {
    transition:
      transform 240ms var(--ease-out),
      border-color 240ms ease,
      box-shadow 240ms ease;
  }

  .construction-direction:hover,
  .construction-operations article:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
  }

  .construction-gallery figure:hover img {
    transform: scale(1.025);
  }
}

html[data-theme="dark"] .construction-direction-design {
  background: #0d1012;
}

html[data-theme="dark"] .construction-sales-visual {
  background: #0d1012;
}

html[data-theme="dark"] .construction-direction-design p {
  color: rgba(241, 243, 238, 0.72);
}

@media (max-width: 980px) {
  .construction-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 48px 30px;
  }

  .construction-hero-copy {
    max-width: 820px;
  }

  .construction-hero-visual {
    min-height: 520px;
  }

  .construction-direction-build,
  .construction-direction-sales {
    grid-column: span 6;
  }

  .construction-estimate,
  .construction-sales {
    grid-template-columns: 1fr;
  }

  .construction-sales-visual {
    order: 2;
  }

  .construction-sales-copy {
    order: 1;
  }
}

@media (max-width: 760px) {
  .construction-hero {
    gap: 28px;
    padding-block: 38px 26px;
  }

  .construction-hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(43px, 13vw, 62px);
    line-height: 0.98;
  }

  .construction-hero-visual {
    min-height: 430px;
  }

  .construction-hero-visual img {
    object-position: 62% center;
  }

  .construction-section-heading {
    margin-bottom: 28px;
  }

  .construction-section-heading h2,
  .construction-estimate-copy h2,
  .construction-sales-copy h2,
  .construction-launch-heading h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .construction-directions,
  .construction-operations {
    grid-template-columns: 1fr;
  }

  .construction-direction,
  .construction-direction-build,
  .construction-direction-sales,
  .construction-direction-design,
  .construction-operations article,
  .construction-operations article:nth-child(2),
  .construction-operations article:nth-child(3) {
    min-height: 0;
    grid-column: auto;
  }

  .construction-direction-build,
  .construction-direction-sales {
    grid-template-rows: auto;
  }

  .construction-direction-design {
    grid-template-columns: 1fr;
  }

  .construction-direction img {
    min-height: 280px;
  }

  .construction-direction-build img {
    object-fit: contain;
    background: var(--surface);
  }

  .construction-direction-sales img {
    min-height: 330px;
  }

  .construction-direction-design img {
    max-height: 380px;
  }

  .construction-estimate,
  .construction-sales {
    gap: 30px;
  }

  .construction-evidence {
    grid-template-columns: 1fr;
  }

  .construction-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .construction-gallery figure,
  .construction-gallery figure:first-child {
    min-height: 290px;
    grid-row: auto;
  }

  .construction-gallery-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .construction-operations article {
    min-height: 280px;
  }

  .construction-launch {
    padding-block: 66px;
  }

  .construction-launch-flow {
    grid-template-columns: 1fr;
  }

  .construction-launch-flow li {
    min-height: 220px;
  }

  .article-construction-cover {
    height: 420px;
    margin-block: 0 34px;
  }

  .article-construction-cover img {
    object-position: 62% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .construction-gallery img,
  .construction-direction,
  .construction-operations article {
    transition: none;
  }
}

/* Premium motion and imagery pass */

.scene-parallax-image {
  will-change: transform;
  transition: transform 620ms var(--ease-out);
}

.hero-scene-wash::after {
  position: absolute;
  inset: -35%;
  content: "";
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 34%, rgba(255, 255, 255, 0.38) 48%, transparent 62%);
  transform: translate3d(-34%, 0, 0) rotate(-6deg);
}

.partner-strip {
  display: grid;
  gap: 22px;
  padding-block: 30px 40px;
  border-bottom: 1px solid var(--line);
}

.partner-strip-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.partner-strip-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.partner-strip-heading .text-link {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.partner-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.partner-marquee-track,
.partner-marquee-group {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 12px;
}

.partner-marquee-track {
  animation: partner-marquee 38s linear infinite;
  will-change: transform;
}

.partner-marquee-group {
  flex: none;
}

.partner-token {
  position: relative;
  display: grid;
  min-width: 168px;
  min-height: 68px;
  grid-template-columns: 42px auto 16px;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 70%, transparent);
  transition:
    transform 180ms var(--ease-out),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.partner-token img {
  width: 42px;
  height: 32px;
  object-fit: contain;
  opacity: 0.68;
  filter: grayscale(1) saturate(0.3);
  transition:
    opacity 180ms ease,
    filter 220ms ease,
    transform 220ms var(--ease-out);
}

.partner-token span {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  transition: color 180ms ease;
}

.partner-token i {
  color: var(--accent);
  font-size: 14px;
  font-style: normal;
  opacity: 0;
  transform: translate3d(-5px, 5px, 0);
  transition:
    opacity 160ms ease,
    transform 200ms var(--ease-out);
}

.subhero-v2-visual {
  grid-template-columns: minmax(500px, 1.05fr) minmax(460px, 0.95fr);
  gap: 24px;
  place-items: stretch;
  padding: 24px;
}

.subhero-v2-visual .subhero-v2-inner {
  width: auto;
  justify-items: start;
  align-content: center;
  padding: clamp(36px, 5vw, 64px) clamp(18px, 2.4vw, 34px);
  text-align: left;
}

.subhero-v2-visual h1 {
  max-width: 690px;
  font-size: clamp(44px, 4vw, 58px);
}

.subhero-v2-visual .lead {
  max-width: 580px;
  text-wrap: pretty;
}

.subhero-media {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line-strong) 76%, transparent);
  border-radius: calc(var(--radius) - 6px);
  background: var(--surface-2);
  box-shadow: 0 24px 70px color-mix(in srgb, var(--ink) 12%, transparent);
}

.subhero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 38%),
    linear-gradient(90deg, color-mix(in srgb, var(--surface) 12%, transparent), transparent 24%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.subhero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1.045);
}

.subpage-product .subhero-media img {
  object-position: 53% center;
}

.subpage-integrations .subhero-media img {
  object-position: 54% center;
}

.solution-feature::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    260px circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
    rgba(255, 255, 255, 0.56),
    transparent 68%
  );
  transition: opacity 220ms ease;
}

.solution-feature.is-pointing::before {
  opacity: 1;
}

.detail-system {
  position: relative;
  overflow: hidden;
  transition:
    transform 190ms var(--ease-out),
    border-color 190ms ease,
    background-color 190ms ease,
    box-shadow 190ms ease;
}

a.detail-system::after {
  position: absolute;
  top: 14px;
  right: 16px;
  content: "↗";
  color: var(--page-tint-strong);
  font-size: 13px;
  opacity: 0;
  transform: translate3d(-5px, 5px, 0);
  transition:
    opacity 160ms ease,
    transform 190ms var(--ease-out);
}

.detail-system img,
.detail-system .detail-symbol,
.detail-system > span:last-child {
  transition:
    color 180ms ease,
    filter 180ms ease,
    transform 220ms var(--ease-out);
}

.detail-system > .detail-symbol {
  margin-top: 0;
}

@media (hover: hover) and (pointer: fine) {
  .partner-marquee:hover .partner-marquee-track,
  .partner-marquee:focus-within .partner-marquee-track {
    animation-play-state: paused;
  }

  .partner-token:hover,
  .partner-token:focus-visible {
    z-index: 2;
    border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
    background: var(--surface);
    box-shadow: 0 14px 36px color-mix(in srgb, var(--ink) 10%, transparent);
    transform: translate3d(0, -3px, 0);
  }

  .partner-token:hover img,
  .partner-token:focus-visible img {
    opacity: 1;
    filter: none;
    transform: scale(1.06);
  }

  .partner-token:hover span,
  .partner-token:focus-visible span {
    color: var(--ink);
  }

  .partner-token:hover i,
  .partner-token:focus-visible i,
  a.detail-system:hover::after,
  a.detail-system:focus-visible::after {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  a.detail-system:hover,
  a.detail-system:focus-visible {
    border-color: color-mix(in srgb, var(--page-tint-strong) 34%, var(--line));
    background: color-mix(in srgb, var(--page-tint) 16%, var(--surface));
    box-shadow: 0 16px 38px color-mix(in srgb, var(--ink) 9%, transparent);
    transform: translate3d(0, -4px, 0);
  }

  a.detail-system:hover img,
  a.detail-system:focus-visible img,
  a.detail-system:hover .detail-symbol,
  a.detail-system:focus-visible .detail-symbol {
    transform: translate3d(0, -3px, 0) scale(1.07);
  }

  a.detail-system:hover > span:last-child,
  a.detail-system:focus-visible > span:last-child {
    color: var(--ink);
    transform: translate3d(0, -1px, 0);
  }
}

.partner-token:active,
a.detail-system:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: no-preference) {
  html.page-ready .hero-scene-wash::after {
    animation: hero-light-sweep 1600ms var(--ease-out) 240ms both;
  }

  html.motion-ready .process-flight article::before,
  html.motion-ready .process-flight article::after {
    transform: scaleX(0);
    transform-origin: left;
  }

  html.motion-ready .process-flight.is-visible article:nth-of-type(1)::after {
    animation: process-flight-once 620ms var(--ease-out) 360ms both;
  }

  html.motion-ready .process-flight.is-visible article:nth-of-type(2)::before {
    animation: process-flight-once 360ms var(--ease-out) 720ms both;
  }

  html.motion-ready .process-flight.is-visible article:nth-of-type(2)::after {
    animation: process-flight-once 620ms var(--ease-out) 980ms both;
  }

  html.motion-ready .process-flight.is-visible article:nth-of-type(3)::before {
    animation: process-flight-once 440ms var(--ease-out) 1360ms both;
  }

  html.motion-ready .process-flight .process-symbol {
    opacity: 0.35;
    transform: translate3d(0, 10px, 0) scale(0.96);
  }

  html.motion-ready .process-flight.is-visible article:nth-of-type(1) .process-symbol {
    animation: process-symbol-enter 420ms var(--ease-out) 160ms both;
  }

  html.motion-ready .process-flight.is-visible article:nth-of-type(2) .process-symbol {
    animation: process-symbol-enter 420ms var(--ease-out) 840ms both;
  }

  html.motion-ready .process-flight.is-visible article:nth-of-type(3) .process-symbol {
    animation: process-symbol-enter 420ms var(--ease-out) 1540ms both;
  }
}

@keyframes partner-marquee {
  to {
    transform: translate3d(calc(-50% - 6px), 0, 0);
  }
}

@keyframes hero-light-sweep {
  0% {
    opacity: 0;
    transform: translate3d(-34%, 0, 0) rotate(-6deg);
  }

  32% {
    opacity: 0.55;
  }

  100% {
    opacity: 0;
    transform: translate3d(34%, 0, 0) rotate(-6deg);
  }
}

@keyframes process-flight-once {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes process-symbol-enter {
  from {
    opacity: 0.35;
    transform: translate3d(0, 10px, 0) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

html[data-theme="dark"] .partner-token {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .partner-token img {
  opacity: 0.72;
}

html[data-theme="dark"] .partner-token img[src*="github"],
html[data-theme="dark"] .partner-token img[src*="vercel"],
html[data-theme="dark"] .partner-token img[src*="notion"] {
  filter: invert(1) grayscale(1);
}

html[data-theme="dark"] .subhero-media img {
  filter: brightness(0.66) saturate(0.72);
}

html[data-theme="dark"] .subhero-media::after {
  background: linear-gradient(180deg, rgba(15, 18, 20, 0.08), rgba(15, 18, 20, 0.34));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@media (max-width: 1100px) {
  .subhero-v2-visual {
    grid-template-columns: minmax(410px, 1fr) minmax(410px, 1fr);
  }

  .subhero-v2-visual .subhero-v2-inner {
    padding-inline: 20px;
  }

  .subhero-media {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .subhero-v2-visual {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .subhero-v2-visual .subhero-v2-inner {
    min-height: 540px;
  }

  .subhero-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .partner-strip {
    gap: 18px;
    padding-block: 24px 30px;
  }

  .partner-strip-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .partner-marquee {
    margin-inline: -4px;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }

  .partner-token {
    min-width: 154px;
    min-height: 64px;
    grid-template-columns: 38px auto 14px;
    gap: 10px;
  }

  .partner-token img {
    width: 38px;
    height: 30px;
  }

  .subhero-v2-visual {
    gap: 10px;
    padding: 10px;
  }

  .subhero-v2-visual .subhero-v2-inner {
    min-height: 0;
    padding: 48px 12px;
  }

  .subhero-v2-visual .subhero-brand {
    margin-bottom: 20px;
  }

  .subhero-v2-visual h1 {
    font-size: clamp(42px, 12vw, 52px);
  }

  .subhero-media {
    border-radius: calc(var(--radius) - 8px);
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-parallax-image {
    transition: none;
  }

  .partner-marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-width: none;
  }

  .partner-marquee-track {
    animation: none;
    transform: none;
  }

  .partner-marquee-group[aria-hidden="true"] {
    display: none;
  }

  .hero-scene-wash::after {
    display: none;
  }
}

@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;
  }
}

/* Concept v2: shorter homepage and shared premium visual language */

.concept-v2 .site-header {
  border-bottom-color: transparent;
}

.concept-v2 .site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.hero-scene {
  position: relative;
  display: grid;
  min-height: min(780px, calc(100dvh - var(--header-height) - 24px));
  margin-top: 18px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  isolation: isolate;
  background: #d9d8d2;
  box-shadow: 0 28px 90px color-mix(in srgb, var(--ink) 10%, transparent);
}

.hero-scene::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  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='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero-scene-image,
.hero-scene-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-scene-image {
  z-index: -2;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(0.72) contrast(0.9);
  transform: scale(1.035);
}

.hero-scene-wash {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(248, 247, 242, 0.74), rgba(238, 236, 229, 0.3) 42%, rgba(229, 226, 218, 0.66)),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.92), transparent 58%);
}

.hero-scene-content {
  z-index: 3;
  display: grid;
  width: min(910px, calc(100% - 48px));
  justify-items: center;
  padding-block: 70px;
  text-align: center;
}

.hero-scene .eyebrow {
  margin-bottom: 26px;
  color: color-mix(in srgb, var(--accent) 86%, #46231d);
}

.hero-scene h1 {
  max-width: 900px;
  margin: 0;
  color: #17191b;
  font-size: clamp(60px, 7.4vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.hero-scene-lead {
  max-width: 660px;
  margin: 30px 0 0;
  color: #363b3d;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.5;
  text-wrap: balance;
}

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

.button-glass {
  border-color: rgba(23, 25, 27, 0.18);
  background: rgba(251, 252, 249, 0.56);
  color: #17191b;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brand-proof {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(520px, 2fr) auto;
  align-items: center;
  gap: 30px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.brand-proof > p {
  max-width: 190px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

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

.brand-proof-row li {
  display: grid;
  min-height: 54px;
  place-items: center;
}

.brand-proof-row img {
  width: auto;
  max-width: 72px;
  height: 34px;
  object-fit: contain;
}

.brand-proof-row li:nth-child(2) img,
.brand-proof-row li:nth-child(3) img {
  width: 38px;
  height: 38px;
}

.brand-proof .text-link {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.channel-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(600px, 1.5fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.channel-story-copy {
  max-width: 450px;
}

.channel-story-copy h2,
.solutions-v2-heading h2,
.compare-v2 h2,
.process-v2-heading h2,
.cases-v2-heading h2,
.resource-switchboard-heading h2 {
  font-size: clamp(46px, 5.4vw, 74px);
}

.channel-story-copy > p,
.solutions-v2-heading > p:last-child,
.compare-v2-copy > p,
.process-v2-heading > p,
.cases-v2-heading > p,
.resource-switchboard-heading > p {
  max-width: 580px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.channel-availability {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.channel-card {
  display: grid;
  min-height: 72px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition:
    transform 180ms var(--ease-out),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.channel-logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: #dceef7;
}

.channel-logo img {
  width: 25px;
  height: 25px;
}

.channel-logo-web {
  background: var(--accent-faint);
}

.channel-logo-web img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.channel-card strong,
.channel-card small {
  display: block;
}

.channel-card strong {
  font-size: 15px;
}

.channel-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.channel-visual {
  position: relative;
  min-width: 0;
  padding: 22px 22px 80px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 15%, var(--accent-soft), transparent 38%),
    var(--surface-2);
  box-shadow: var(--shadow-soft);
}

.channel-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--ink) 12%, transparent);
}

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

.channel-future {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.channel-future b {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.future-channel {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.future-channel img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.future-channel-max img {
  width: 29px;
  height: 29px;
}

.solutions-v2 {
  padding-top: clamp(74px, 9vw, 126px);
}

.solutions-v2-heading {
  max-width: 760px;
}

.solutions-v2-heading .eyebrow {
  margin-bottom: 16px;
}

.solution-editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.solution-feature {
  position: relative;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 240ms var(--ease-out),
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.solution-feature::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  content: "";
  opacity: 0.45;
  filter: blur(4px);
}

.solution-feature > * {
  position: relative;
  z-index: 1;
}

.solution-feature-1c {
  grid-column: span 7;
  background: #f2edcf;
}

.solution-feature-1c::after {
  background: #f4d80e;
}

.solution-feature-iiko {
  grid-column: span 5;
  background: #f3ded9;
}

.solution-feature-iiko::after {
  background: #ed8d72;
}

.solution-feature-market {
  min-height: 350px;
  grid-column: 3 / span 8;
  background: #dce6f4;
}

.solution-feature-market::after {
  background: #6284ca;
}

.solution-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.solution-brand img {
  width: auto;
  height: 46px;
  object-fit: contain;
}

.solution-brand img[alt="iiko"] {
  width: 46px;
}

.solution-brand > span {
  color: #4d4f51;
  font-size: 13px;
  font-weight: 700;
}

.market-wordmarks {
  gap: 10px;
}

.market-wordmarks span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 15px;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.ozon-wordmark {
  background: #005bff;
}

.wb-wordmark {
  background: linear-gradient(135deg, #cb11ab, #481173);
}

.solution-feature h3 {
  max-width: 640px;
  margin: 42px 0 0;
  color: #17191b;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.solution-feature p {
  max-width: 560px;
  margin: 16px 0 0;
  color: #4c5153;
}

.case-proof {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 40px;
  color: #17191b;
}

.case-proof strong {
  font-size: 15px;
}

.case-proof span {
  color: #555a5c;
  font-size: 12px;
}

.compare-v2 {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(660px, 1.42fr);
  align-items: start;
  gap: clamp(50px, 8vw, 120px);
}

.compare-v2-copy {
  position: sticky;
  top: calc(var(--header-height) + 50px);
}

.compare-v2-copy .button {
  margin-top: 30px;
}

.compare-v2-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.compare-v2-board > div {
  display: grid;
  min-height: 116px;
  grid-template-columns: 0.86fr 1fr 1.2fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.compare-v2-board .compare-v2-head {
  min-height: 92px;
  background: var(--surface-2);
}

.compare-v2-board > div:last-child {
  border-bottom: 0;
}

.compare-v2-board .compare-v2-head > span,
.compare-v2-row > strong,
.compare-v2-row > span {
  display: flex;
  min-width: 0;
  justify-content: center;
  padding: 22px;
  flex-direction: column;
}

.compare-v2-board .compare-v2-head > span + span,
.compare-v2-row > * + * {
  border-left: 1px solid var(--line);
}

.compare-v2-board .compare-v2-head > span {
  color: var(--muted);
}

.compare-v2-board .compare-v2-head b {
  color: var(--ink);
  font-size: 14px;
}

.compare-v2-board .compare-v2-head small {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.4;
}

.compare-v2-board .compare-v2-head > .compare-brand {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-content: center;
  justify-content: stretch;
  column-gap: 10px;
  background: var(--accent-faint);
}

.compare-brand img {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}

.compare-brand b,
.compare-brand small {
  grid-column: 2;
}

.compare-v2-row {
  transition: background-color 180ms ease;
}

.compare-v2-row > strong {
  font-size: 14px;
  line-height: 1.35;
}

.compare-advice {
  color: var(--muted);
  font-size: 13px;
}

.compare-output {
  position: relative;
  gap: 7px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent-faint) 72%, transparent), transparent 84%);
}

.compare-output i {
  width: fit-content;
  color: var(--accent);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-output b {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.process-v2 {
  padding-block: clamp(86px, 10vw, 142px);
  background:
    radial-gradient(circle at 10% 18%, var(--accent-faint), transparent 30%),
    var(--surface-2);
}

.process-v2 > .shell {
  display: grid;
  grid-template-columns: minmax(270px, 0.52fr) minmax(680px, 1.48fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: start;
}

.process-v2-heading {
  position: sticky;
  top: calc(var(--header-height) + 38px);
  max-width: 390px;
}

.process-flight {
  --process-pad: clamp(28px, 3.5vw, 48px);
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1fr 1.18fr;
  gap: 1px;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.process-flight article {
  position: relative;
  min-height: 360px;
  padding: var(--process-pad);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
}

.process-flight article::before,
.process-flight article::after {
  position: absolute;
  top: calc(var(--process-pad) + 29px);
  z-index: 1;
  height: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--line-strong) 88%, transparent),
    color-mix(in srgb, var(--accent) 58%, var(--line-strong))
  );
}

.process-flight article::before {
  left: 0;
  width: calc(var(--process-pad) - 14px);
}

.process-flight article::after {
  right: 0;
  left: calc(var(--process-pad) + 72px);
}

.process-flight article:first-child::before,
.process-flight article:last-child::after {
  display: none;
}

.process-flight article:nth-of-type(2) {
  background:
    radial-gradient(circle at 90% 10%, var(--accent-faint), transparent 44%),
    var(--surface);
}

.process-flight article:nth-of-type(3) {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface));
}

.process-symbol {
  position: relative;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: var(--surface);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.process-symbol-agent img {
  width: 30px;
  height: 30px;
}

html[data-theme="dark"] .process-symbol-agent img {
  content: url("assets/identity/octo-core-on-dark.svg");
}

.process-symbol-result {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 24px;
}

.process-flight h3 {
  margin: 100px 0 0;
  font-size: clamp(25px, 2.2vw, 34px);
}

.process-flight p {
  max-width: 290px;
  margin: 14px 0 0;
  color: var(--muted);
}

.control-panel {
  position: relative;
  display: grid;
  grid-column: 2;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 2% 50%, var(--accent-faint), transparent 28%),
    color-mix(in srgb, var(--surface) 92%, transparent);
}

.control-panel::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 32%;
  height: 2px;
  content: "";
  opacity: 0.7;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.control-panel-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 21px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.control-panel strong {
  display: block;
  color: var(--ink);
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: -0.025em;
}

.control-panel p {
  max-width: 700px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cases-v2-heading {
  max-width: 760px;
}

.cases-v2-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 14px;
  margin-top: 48px;
}

.case-feature {
  position: relative;
  display: grid;
  min-height: 590px;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
  background: #5a5d5f;
}

.case-feature img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 720ms var(--ease-out);
}

.case-feature::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(15, 17, 18, 0.86));
}

.case-feature > div {
  padding: clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 17, 18, 0.9);
  color: #f4f4f0;
  box-shadow: 0 -34px 72px rgba(15, 17, 18, 0.42);
  backdrop-filter: blur(14px) saturate(80%);
}

.case-feature span {
  color: rgba(244, 244, 240, 0.7);
  font-size: 12px;
  font-weight: 700;
}

.case-feature h3 {
  max-width: 690px;
  margin: 12px 0 0;
  font-size: clamp(28px, 3vw, 44px);
}

.case-feature p {
  margin: 17px 0 0;
  color: rgba(244, 244, 240, 0.82);
}

.case-feature p strong {
  color: #fff;
  font-size: 18px;
}

.case-actions {
  margin-top: 24px;
}

.resource-switchboard {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(620px, 1.25fr);
  gap: clamp(60px, 9vw, 130px);
}

.resource-links {
  border-top: 1px solid var(--line-strong);
}

.resource-links a {
  display: grid;
  min-height: 104px;
  grid-template-columns: minmax(150px, 0.7fr) 1fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  transition:
    color 180ms ease,
    padding-left 220ms var(--ease-out);
}

.resource-links strong {
  font-size: 20px;
}

.resource-links span {
  color: var(--muted);
  font-size: 14px;
}

.pricing-v3 {
  padding-block: clamp(84px, 10vw, 140px);
}

.pricing-v3-heading {
  max-width: 820px;
}

.pricing-v3-heading h2,
.home-faq-heading h2,
.contact-brief h2 {
  font-size: clamp(46px, 5.4vw, 74px);
}

.pricing-v3-heading p,
.home-faq-heading p,
.contact-brief p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.pricing-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.72fr);
  overflow: hidden;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.pricing-control {
  min-width: 0;
  padding: clamp(32px, 5vw, 68px);
}

.pricing-control-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pricing-control-heading label {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 750;
}

.pricing-control-heading output {
  color: var(--ink);
  font-size: clamp(34px, 4.6vw, 64px);
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.06em;
}

.pricing-control input[type="range"] {
  --range-progress: 0%;
  width: 100%;
  height: 30px;
  margin: clamp(46px, 7vw, 78px) 0 0;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.pricing-control input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--range-progress), var(--surface-2) var(--range-progress));
}

.pricing-control input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-2);
}

.pricing-control input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.pricing-control input[type="range"]::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  margin-top: -12px;
  appearance: none;
  border: 7px solid var(--accent);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 5px 18px rgba(55, 32, 28, 0.22);
}

.pricing-control input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 7px solid var(--accent);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 5px 18px rgba(55, 32, 28, 0.22);
}

.pricing-control input[type="range"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
  border-radius: 999px;
}

.pricing-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.pricing-explainer {
  max-width: 640px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.pricing-includes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.pricing-includes span {
  position: relative;
  padding-left: 20px;
  color: var(--muted-strong);
  font-size: 12px;
}

.pricing-includes span::before {
  position: absolute;
  top: 0.5em;
  left: 1px;
  width: 8px;
  height: 4px;
  border-bottom: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
  content: "";
  transform: rotate(-45deg);
}

.pricing-control .hero-actions {
  margin-top: 38px;
}

.pricing-receipt {
  display: flex;
  min-width: 0;
  padding: clamp(30px, 4vw, 48px);
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0, var(--accent-soft), transparent 38%),
    var(--surface-2);
  flex-direction: column;
}

.pricing-receipt > span {
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
}

.pricing-total {
  margin-top: 64px;
}

.pricing-total strong {
  display: block;
  font-size: clamp(62px, 7vw, 96px);
  font-variant-numeric: tabular-nums;
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.pricing-total small {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
}

.pricing-receipt dl {
  display: grid;
  margin: 58px 0 0;
}

.pricing-receipt dl > div {
  display: grid;
  min-height: 52px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.pricing-receipt dt {
  color: var(--muted);
  font-size: 11px;
}

.pricing-receipt dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  white-space: nowrap;
}

.pricing-receipt > p {
  margin: auto 0 0;
  padding-top: 32px;
  color: var(--muted);
  font-size: 11px;
}

.pricing-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.contact-brief {
  display: grid;
  min-height: 330px;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 60px;
  margin-bottom: clamp(90px, 11vw, 150px);
  padding: clamp(42px, 6vw, 78px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 10%, var(--accent-soft), transparent 32%),
    var(--surface);
}

.contact-brief h2 {
  max-width: 760px;
}

.contact-brief-actions {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 16px;
}

.contact-brief-actions .text-link {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.home-faq {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(620px, 1.28fr);
  gap: clamp(50px, 8vw, 120px);
  padding-bottom: clamp(88px, 10vw, 140px);
}

.home-faq-heading {
  position: sticky;
  top: calc(var(--header-height) + 50px);
  align-self: start;
}

.home-faq .faq-stack summary::after {
  color: var(--accent);
}

.home-faq-more {
  display: inline-flex;
  margin-top: 24px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
}

.final-cta-v2 {
  min-height: 320px;
}

.final-cta-v2 h2 {
  font-size: clamp(46px, 5.5vw, 76px);
}

.concept-v2 .footer-inner {
  align-items: flex-start;
}

.concept-v2 .footer-inner > div:first-child {
  display: grid;
  gap: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .channel-card:hover,
  .solution-feature:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
    box-shadow: var(--shadow-soft);
  }

  .resource-links a:hover {
    padding-left: 10px;
    color: var(--accent);
  }

  .compare-v2-row:hover {
    background: color-mix(in srgb, var(--accent-faint) 34%, transparent);
  }

  .case-feature:hover img {
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .process-flight-line span {
    animation: process-flight 6.5s var(--ease-in-out) infinite;
  }
}

@keyframes process-flight {
  0%,
  8% {
    transform: scaleX(0);
  }

  46% {
    transform: scaleX(0.5);
  }

  92%,
  100% {
    transform: scaleX(1);
  }
}

html[data-theme="dark"] .hero-scene-wash {
  background:
    linear-gradient(180deg, rgba(17, 20, 22, 0.72), rgba(17, 20, 22, 0.34) 46%, rgba(17, 20, 22, 0.78)),
    radial-gradient(circle at 50% 42%, rgba(32, 38, 41, 0.52), transparent 58%);
}

html[data-theme="dark"] .hero-scene-image {
  filter: saturate(0.64) contrast(0.9) brightness(0.66);
}

html[data-theme="dark"] .hero-scene h1 {
  color: #f1f3ee;
}

html[data-theme="dark"] .hero-scene-lead {
  color: #cbd0cd;
}

html[data-theme="dark"] .hero-scene .eyebrow {
  color: #ff9d8a;
}

html[data-theme="dark"] .button-glass {
  border-color: rgba(241, 243, 238, 0.22);
  background: rgba(17, 20, 22, 0.44);
  color: #f1f3ee;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .brand-proof-row li:nth-child(n + 4) img,
html[data-theme="dark"] .channel-card-live:first-child .channel-logo img,
html[data-theme="dark"] .future-channel:not(.future-channel-max) img {
  filter: invert(1);
}

html[data-theme="dark"] .channel-logo,
html[data-theme="dark"] .future-channel {
  background: #252a2d;
}

html[data-theme="dark"] .solution-feature {
  filter: brightness(0.72) saturate(0.72);
}

html[data-theme="dark"] .solution-feature h3,
html[data-theme="dark"] .solution-feature .case-proof,
html[data-theme="dark"] .solution-feature .market-wordmarks span {
  color: #17191b;
}

@media (max-width: 1100px) {
  .hero-scene {
    min-height: 700px;
  }

  .brand-proof {
    grid-template-columns: 1fr auto;
  }

  .brand-proof-row {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .channel-story,
  .compare-v2,
  .resource-switchboard,
  .home-faq {
    grid-template-columns: 1fr;
  }

  .channel-story-copy,
  .compare-v2-copy {
    max-width: 780px;
  }

  .compare-v2-copy {
    position: static;
  }

  .solution-feature-market {
    grid-column: 1 / -1;
  }

  .resource-switchboard-heading {
    max-width: 780px;
  }

  .home-faq-heading {
    position: static;
    max-width: 780px;
  }

  .pricing-calculator {
    grid-template-columns: 1fr;
  }

  .pricing-receipt {
    min-height: 420px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-brief {
    grid-template-columns: 1fr;
  }

  .contact-brief-actions {
    justify-items: start;
  }

  .process-v2 > .shell {
    display: block;
  }

  .process-v2-heading {
    position: static;
    max-width: 760px;
  }

  .process-flight {
    margin-top: 54px;
  }
}

@media (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: minmax(180px, 0.7fr) 1.3fr;
  }

}

@media (max-width: 760px) {
  .concept-v2 .site-header {
    border-bottom-color: var(--line);
  }

  .hero-scene {
    min-height: calc(100dvh - var(--header-height) - 16px);
    margin-top: 8px;
  }

  .hero-scene-content {
    width: calc(100% - 30px);
    padding-block: 50px;
  }

  .hero-scene .eyebrow {
    margin-bottom: 20px;
    font-size: 10px;
  }

  .hero-scene h1 {
    font-size: clamp(38px, 10.8vw, 44px);
    line-height: 0.97;
  }

  .hero-scene-lead {
    margin-top: 24px;
    font-size: 16px;
  }

  .hero-scene .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    margin-top: 26px;
  }

  .brand-proof {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .brand-proof-row {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .brand-proof > p {
    max-width: none;
  }

  .brand-proof .text-link {
    justify-self: start;
  }

  .channel-story {
    gap: 42px;
  }

  .channel-story-copy h2,
  .solutions-v2-heading h2,
  .compare-v2 h2,
  .process-v2-heading h2,
  .cases-v2-heading h2,
  .resource-switchboard-heading h2,
  .pricing-v3-heading h2,
  .home-faq-heading h2,
  .contact-brief h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .channel-visual {
    padding: 10px 10px 74px;
  }

  .window-bar {
    padding-inline: 14px;
  }

  .window-bar span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .channel-future {
    right: 10px;
    bottom: 14px;
    left: 10px;
    gap: 6px;
  }

  .future-channel {
    width: 40px;
    height: 40px;
  }

  .channel-future b {
    font-size: 10px;
  }

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

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

  .solution-feature h3 {
    font-size: 32px;
  }

  .case-proof {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .compare-v2-board {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .compare-v2-board .compare-v2-head {
    display: none;
  }

  .compare-v2-board .compare-v2-row {
    min-height: 0;
    grid-template-columns: 1fr;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
  }

  .compare-v2-row > strong,
  .compare-v2-row > span {
    padding: 17px 18px;
  }

  .compare-v2-row > * + * {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .compare-v2-row > strong {
    font-size: 15px;
  }

  .compare-advice::before,
  .compare-output::before {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    content: "ИИ-чат";
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .compare-output::before {
    color: var(--accent);
    content: "Octomatica";
  }

  .process-flight {
    grid-template-columns: 1fr;
  }

  .process-flight article {
    min-height: 280px;
  }

  .process-flight h3 {
    margin-top: 60px;
  }

  .process-flight-line {
    display: none;
  }

  .control-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .cases-v2-grid {
    grid-template-columns: 1fr;
  }

  .case-feature {
    min-height: 510px;
  }

  .resource-links a {
    min-height: 112px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 5px;
  }

  .pricing-v3 {
    padding-block: 76px 92px;
  }

  .pricing-calculator {
    margin-top: 34px;
  }

  .pricing-control,
  .pricing-receipt {
    padding: 26px 20px;
  }

  .pricing-control-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .pricing-control-heading output {
    font-size: 48px;
  }

  .pricing-control input[type="range"] {
    margin-top: 46px;
  }

  .pricing-includes {
    grid-template-columns: 1fr;
  }

  .pricing-control .hero-actions {
    align-items: stretch;
  }

  .pricing-control .hero-actions .button {
    width: 100%;
  }

  .pricing-receipt {
    min-height: 390px;
  }

  .pricing-total {
    margin-top: 42px;
  }

  .pricing-receipt dl {
    margin-top: 42px;
  }

  .contact-brief {
    min-height: 420px;
    gap: 34px;
    margin-bottom: 90px;
    padding: 34px 22px;
  }

  .contact-brief-actions {
    width: auto;
    align-self: stretch;
    justify-items: stretch;
  }

  .contact-brief-actions .button {
    width: auto;
    max-width: 100%;
  }

  .home-faq {
    gap: 34px;
    padding-bottom: 90px;
  }
}

/* Shared commercial subpages */

.subpage-v2 {
  --page-tint: var(--accent-soft);
  --page-tint-strong: var(--accent);
}

.subpage-v2.subpage-1c {
  --page-tint: #f4e89f;
  --page-tint-strong: #c9a600;
}

.subpage-v2.subpage-restaurant {
  --page-tint: #f2c6ba;
  --page-tint-strong: #d75a3f;
}

.subpage-v2.subpage-market {
  --page-tint: #cbdcf8;
  --page-tint-strong: #285dbd;
}

.subpage-v2.subpage-versus {
  --page-tint: #d5d7dd;
  --page-tint-strong: #575e6a;
}

.subpage-v2.subpage-integrations {
  --page-tint: #c7e4dd;
  --page-tint-strong: #287e6f;
}

.subpage-v2.subpage-blog {
  --page-tint: var(--accent-soft);
  --page-tint-strong: var(--accent);
}

.subpage-v2.subpage-about {
  --page-tint: var(--accent-soft);
  --page-tint-strong: var(--accent);
}

.subpage-v2.subpage-contact {
  --page-tint: #cfdce0;
  --page-tint-strong: #416a76;
}

.subhero-v2 {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100dvh - var(--header-height) - 24px));
  margin-top: 18px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  isolation: isolate;
  background:
    radial-gradient(circle at 77% 15%, color-mix(in srgb, var(--page-tint) 92%, transparent), transparent 34%),
    linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--page-tint) 48%, var(--surface)));
}

.subhero-v2::before {
  position: absolute;
  inset: -20%;
  z-index: -1;
  content: "";
  opacity: 0.22;
  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='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  transform: rotate(5deg);
}

.subhero-v2-inner {
  display: grid;
  width: min(980px, calc(100% - 48px));
  justify-items: center;
  padding-block: 70px;
  text-align: center;
}

.subhero-brand {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.subhero-brand img {
  width: auto;
  max-width: 88px;
  height: 44px;
  object-fit: contain;
}

.subhero-brand img[alt="iiko"],
.subhero-brand img[alt="Битрикс24"] {
  width: 44px;
}

.subhero-v2 h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(54px, 7vw, 94px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.subhero-v2 .lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted-strong);
  font-size: clamp(17px, 1.6vw, 21px);
  text-wrap: balance;
}

.subhero-v2 .hero-actions {
  gap: 10px;
  margin-top: 32px;
}

.subhero-v2 .button-accent {
  background: var(--page-tint-strong);
  color: #fff;
}

.about-identity-hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100dvh - var(--header-height) - 24px));
  margin-top: 18px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 28% 14%, color-mix(in srgb, var(--accent-soft) 82%, transparent), transparent 34%),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.about-identity-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: clamp(42px, 6vw, 84px);
}

.about-identity-copy .subhero-brand {
  margin-bottom: 30px;
}

.about-identity-copy h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(58px, 6.4vw, 90px);
  line-height: 0.94;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.about-identity-copy .lead {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--muted-strong);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
}

.about-identity-copy .hero-actions {
  gap: 10px;
  margin-top: 32px;
}

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

.about-companion {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: #e7e8e4;
}

.about-companion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  transform: scale(1.015);
  transition: transform 720ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .about-identity-hero:hover .about-companion img {
    transform: scale(1.045);
  }
}

.subpage-nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.subpage-nav a {
  transition: color 160ms ease;
}

.detail-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.detail-proof > div {
  min-height: 190px;
  padding: 30px 24px;
}

.detail-proof > div + div {
  border-left: 1px solid var(--line);
}

.detail-proof strong,
.detail-proof span {
  display: block;
}

.detail-proof strong {
  color: var(--page-tint-strong);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.detail-proof span {
  max-width: 230px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.detail-dashboard-showcase {
  padding-top: clamp(76px, 9vw, 130px);
}

.detail-dashboard-heading {
  max-width: 820px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.detail-dashboard-heading h2 {
  margin: 0;
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.detail-dashboard-heading p {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
}

.detail-dashboard-frame {
  margin: 0;
  padding: clamp(10px, 1.5vw, 20px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--page-tint-strong) 28%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--page-tint) 28%, var(--surface));
  box-shadow: var(--shadow);
}

.detail-dashboard-frame img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  background: var(--surface);
}

.detail-dashboard-frame figcaption {
  display: grid;
  grid-template-columns: minmax(190px, auto) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: 18px 6px 2px;
}

.detail-dashboard-frame figcaption strong {
  color: var(--page-tint-strong);
  font-size: 13px;
}

.detail-dashboard-frame figcaption span {
  max-width: 650px;
  color: var(--muted);
  font-size: 13px;
}

.detail-heading {
  max-width: 800px;
  margin-bottom: 46px;
}

.detail-heading h2 {
  font-size: clamp(46px, 5.6vw, 76px);
}

.detail-heading p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.detail-capability {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.6vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.detail-capability:nth-child(1) {
  grid-column: span 7;
  background:
    radial-gradient(circle at 88% 12%, var(--page-tint), transparent 40%),
    var(--surface);
}

.detail-capability:nth-child(2) {
  grid-column: span 5;
}

.detail-capability:nth-child(3) {
  grid-column: span 5;
}

.detail-capability:nth-child(4) {
  grid-column: span 7;
  background: color-mix(in srgb, var(--page-tint) 28%, var(--surface));
}

.detail-capability:nth-child(n + 5) {
  min-height: 300px;
  grid-column: span 4;
}

.detail-capability .detail-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  color: var(--page-tint-strong);
  font-size: 16px;
  font-weight: 800;
}

.detail-system .detail-symbol {
  display: grid;
  min-width: 54px;
  height: 54px;
  padding-inline: 8px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--page-tint-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.detail-capability h3 {
  margin: 58px 0 0;
  font-size: clamp(27px, 2.8vw, 39px);
}

.detail-capability p {
  max-width: 540px;
  margin: 14px 0 0;
  color: var(--muted);
}

.detail-case {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(580px, 1.2fr);
  gap: clamp(46px, 8vw, 110px);
  padding: clamp(42px, 6vw, 80px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0 0, var(--page-tint), transparent 32%),
    var(--surface);
}

.detail-case-intro h2 {
  font-size: clamp(42px, 4.7vw, 68px);
}

.detail-case-intro p {
  margin: 18px 0 0;
  color: var(--muted);
}

.detail-case-body {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.detail-case-body article {
  min-height: 150px;
  padding: 24px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
}

.detail-case-body h3 {
  font-size: 20px;
}

.detail-case-body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.detail-systems {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.detail-system {
  display: grid;
  min-height: 128px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
}

.detail-system img {
  width: auto;
  max-width: 64px;
  height: 38px;
  object-fit: contain;
}

.detail-system span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.page-final {
  display: grid;
  min-height: 340px;
  grid-template-columns: minmax(320px, 1fr) auto;
  align-items: center;
  gap: 50px;
  margin-bottom: clamp(70px, 9vw, 120px);
  padding: clamp(40px, 6vw, 80px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 10%, var(--page-tint), transparent 35%),
    var(--surface);
}

.page-final h2 {
  max-width: 780px;
  font-size: clamp(44px, 5.4vw, 72px);
}

.page-final p {
  max-width: 580px;
  margin: 18px 0 0;
  color: var(--muted);
}

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

.page-final .button-accent {
  background: var(--page-tint-strong);
  color: #fff;
}

.editorial-list {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 14px;
}

.editorial-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.editorial-card:first-child {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-row: span 2;
  min-height: 620px;
  grid-template-rows: auto 1fr;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
}

.editorial-card:first-child::before {
  content: none;
}

.editorial-card-media {
  width: 100%;
  aspect-ratio: 1928 / 1040;
  object-fit: cover;
  background: #17191b;
}

.editorial-card-copy {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 48px);
}

.editorial-card:first-child p,
.editorial-card:first-child span {
  color: var(--muted);
}

.editorial-card h2,
.editorial-card h3 {
  max-width: 700px;
  margin: 18px 0 0;
  font-size: clamp(28px, 3.3vw, 48px);
}

.editorial-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.editorial-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

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

.contact-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-card:first-child {
  background:
    radial-gradient(circle at 80% 10%, var(--page-tint), transparent 42%),
    var(--surface);
}

.contact-card h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.contact-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-card .button,
.contact-card .text-link {
  align-self: flex-start;
  margin-top: 32px;
}

.contact-card-wide {
  min-height: 240px;
  grid-column: 1 / -1;
}

.contact-socials {
  display: flex;
  gap: 28px;
}

.contact-socials .text-link {
  margin-top: 24px;
}

.product-matrix {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.product-matrix > div {
  display: grid;
  min-height: 94px;
  grid-template-columns: 1.1fr 1fr 1fr 1.15fr;
  align-items: center;
}

.product-matrix > div + div {
  border-top: 1px solid var(--line);
}

.product-matrix > div > * {
  padding: 20px 22px;
}

.product-matrix > div > * + * {
  border-left: 1px solid var(--line);
}

.product-matrix .product-matrix-head {
  min-height: 62px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-matrix strong {
  font-size: 15px;
}

.product-matrix span {
  color: var(--muted);
  font-size: 13px;
}

.product-matrix b {
  color: var(--ink);
  font-size: 14px;
}

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

.choice-card {
  min-height: 340px;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.choice-card:first-child {
  background:
    radial-gradient(circle at 90% 10%, var(--page-tint), transparent 42%),
    var(--surface);
}

.choice-card h3 {
  font-size: clamp(29px, 3vw, 42px);
}

.choice-card ul {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.choice-card li {
  padding-left: 22px;
  position: relative;
}

.choice-card li::before {
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 8px;
  height: 2px;
  content: "";
  background: var(--page-tint-strong);
}

.comparison-criteria {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  grid-template-columns: repeat(12, 1fr);
  background: var(--line);
  gap: 1px;
}

.comparison-criteria article {
  min-height: 260px;
  padding: 30px;
  grid-column: span 4;
  background: var(--surface);
}

.comparison-criteria article:nth-child(1),
.comparison-criteria article:nth-child(6) {
  grid-column: span 6;
  background:
    radial-gradient(circle at 100% 0, var(--page-tint), transparent 38%),
    var(--surface);
}

.comparison-criteria article:nth-child(11) {
  grid-column: span 12;
  background:
    radial-gradient(circle at 100% 0, var(--page-tint), transparent 38%),
    var(--surface);
}

.comparison-criteria article:nth-child(2),
.comparison-criteria article:nth-child(7) {
  grid-column: span 6;
}

.comparison-criteria article > span {
  color: var(--page-tint-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison-criteria h3 {
  margin: 54px 0 0;
  font-size: clamp(23px, 2.3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.comparison-criteria p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.case-library .case-feature {
  min-height: 500px;
}

.case-library .case-feature:nth-child(1),
.case-library .case-feature:nth-child(6) {
  grid-column: span 7;
}

.case-library .case-feature:nth-child(2),
.case-library .case-feature:nth-child(5) {
  grid-column: span 5;
}

.case-library .case-feature:nth-child(3),
.case-library .case-feature:nth-child(4) {
  grid-column: span 6;
}

.case-dossiers {
  margin-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.case-dossiers details {
  border-bottom: 1px solid var(--line);
}

.case-dossiers summary {
  display: grid;
  min-height: 112px;
  grid-template-columns: minmax(180px, 0.38fr) 1fr;
  align-items: center;
  gap: 36px;
  cursor: pointer;
  list-style: none;
}

.case-dossiers summary::-webkit-details-marker {
  display: none;
}

.case-dossiers summary span {
  color: var(--page-tint-strong);
  font-size: 13px;
  font-weight: 800;
}

.case-dossiers summary strong {
  position: relative;
  padding-right: 52px;
  font-size: clamp(19px, 2vw, 28px);
  letter-spacing: -0.03em;
}

.case-dossiers summary strong::after {
  position: absolute;
  top: 50%;
  right: 4px;
  content: "+";
  color: var(--page-tint-strong);
  font-size: 28px;
  font-weight: 500;
  transform: translateY(-50%);
  transition: transform 180ms var(--ease-out);
}

.case-dossiers details[open] summary strong::after {
  transform: translateY(-50%) rotate(45deg);
}

.case-dossiers details > div {
  max-width: 900px;
  margin-left: calc(38% + 36px);
  padding: 4px 0 46px;
}

.case-dossiers p,
.case-dossiers blockquote {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.case-dossiers blockquote {
  margin-top: 22px;
  color: var(--ink);
  font-weight: 650;
}

.case-dossiers small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.article-hero {
  padding-block: clamp(86px, 11vw, 152px) 54px;
}

.article-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: end;
  padding-bottom: clamp(50px, 8vw, 96px);
  border-bottom: 1px solid var(--line-strong);
}

.article-kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--page-tint-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-kicker::before {
  width: 30px;
  height: 2px;
  content: "";
  background: currentColor;
}

.article-hero h1 {
  max-width: 960px;
  font-size: clamp(54px, 7.4vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.068em;
}

.article-intro {
  padding-bottom: 8px;
}

.article-intro p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.55;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: var(--muted-2);
  font-size: 12px;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  gap: clamp(48px, 11vw, 156px);
  padding-block: clamp(56px, 9vw, 124px);
}

.article-rail {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  align-self: start;
}

.article-rail a {
  display: block;
  padding-block: 10px;
  color: var(--muted);
  font-size: 13px;
}

.article-rail strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-copy {
  max-width: 820px;
}

.article-section {
  scroll-margin-top: calc(var(--header-height) + 40px);
  padding-block: 0 clamp(58px, 8vw, 104px);
}

.article-section + .article-section {
  padding-top: clamp(54px, 7vw, 86px);
  border-top: 1px solid var(--line);
}

.article-index {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 30px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--page-tint-strong);
  font-size: 13px;
  font-weight: 800;
}

.article-section h2 {
  max-width: 710px;
  font-size: clamp(37px, 4.4vw, 62px);
}

.article-section p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.75vw, 22px);
  line-height: 1.7;
}

.article-takeaway {
  margin-top: 18px;
  padding: clamp(30px, 4.5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, var(--page-tint), transparent 34%),
    var(--surface);
}

.article-takeaway span {
  color: var(--page-tint-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-takeaway strong {
  display: block;
  max-width: 820px;
  margin-top: 24px;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.capability-ledger {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
}

.capability-ledger-item {
  min-height: 470px;
  padding: clamp(30px, 4vw, 54px);
  background:
    radial-gradient(circle at 100% 0, var(--page-tint), transparent 34%),
    var(--surface);
}

.capability-ledger-item:nth-child(even) {
  border-left: 1px solid var(--line);
}

.capability-ledger-item:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.capability-ledger-item > span,
.process-rail-item > span {
  color: var(--page-tint-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capability-ledger-item h3 {
  max-width: 520px;
  margin: 28px 0 24px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.capability-ledger-item ul,
.pricing-ledger-tier ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted-strong);
}

.capability-ledger-item p {
  max-width: 620px;
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.role-map {
  display: grid;
  border-top: 1px solid var(--line-strong);
  grid-template-columns: repeat(4, 1fr);
}

.role-map-item {
  min-height: 260px;
  padding: 32px 26px;
  border-bottom: 1px solid var(--line);
}

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

.role-map-item h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.04em;
}

.role-map-item p {
  margin: 88px 0 0;
  color: var(--muted);
}

.process-rail {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.1fr 0.95fr 1.15fr;
}

.process-rail-item {
  min-height: 390px;
  padding: clamp(30px, 4vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.process-rail-item:nth-child(2) {
  margin-top: 70px;
}

.process-rail-item h3 {
  margin: 34px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.process-rail-item p {
  margin: 72px 0 0;
  color: var(--muted);
}

.process-rail-item code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink);
}

.model-band {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
}

.model-band span {
  display: grid;
  min-height: 170px;
  place-items: center;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.06em;
}

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

.model-band p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.pricing-ledger {
  display: grid;
  gap: 14px;
  grid-template-columns: 0.92fr 1.08fr;
}

.pricing-ledger-tier {
  min-height: 430px;
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pricing-ledger-tier-accent {
  background:
    radial-gradient(circle at 100% 0, var(--page-tint), transparent 38%),
    var(--surface);
}

.pricing-ledger-tier > span {
  color: var(--page-tint-strong);
  font-weight: 800;
}

.pricing-ledger-tier strong {
  display: block;
  margin-top: 40px;
  font-size: clamp(52px, 6vw, 86px);
  line-height: 1;
  letter-spacing: -0.07em;
}

.pricing-ledger-tier p {
  max-width: 520px;
  margin: 30px 0;
  color: var(--muted);
}

.price-examples {
  display: grid;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
}

.price-examples span {
  display: flex;
  min-height: 130px;
  justify-content: space-between;
  padding: 24px;
  flex-direction: column;
}

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

.price-examples b {
  font-size: 14px;
}

.price-examples em {
  color: var(--page-tint-strong);
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
}

.faq-stack {
  border-top: 1px solid var(--line-strong);
}

.faq-stack details {
  border-bottom: 1px solid var(--line);
}

.faq-stack summary {
  position: relative;
  padding: 30px 54px 30px 0;
  cursor: pointer;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 650;
  list-style: none;
  letter-spacing: -0.03em;
}

.faq-stack summary::-webkit-details-marker {
  display: none;
}

.faq-stack summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  content: "+";
  color: var(--page-tint-strong);
  font-size: 30px;
  transform: translateY(-50%);
  transition: transform 180ms var(--ease-out);
}

.faq-stack details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-stack p {
  max-width: 840px;
  margin: -4px 0 0;
  padding: 0 0 34px;
  color: var(--muted);
  font-size: 17px;
}

html[data-theme="dark"] .subpage-v2 {
  --page-tint: color-mix(in srgb, var(--page-tint-strong) 34%, #202629);
}

html[data-theme="dark"] .detail-systems img[src*="telegram"],
html[data-theme="dark"] .detail-systems img[src*="github"],
html[data-theme="dark"] .detail-systems img[src*="google"],
html[data-theme="dark"] .detail-systems img[src*="notion"],
html[data-theme="dark"] .detail-systems img[src*="slack"],
html[data-theme="dark"] .detail-systems img[src*="discord"],
html[data-theme="dark"] .detail-systems img[src*="whatsapp"] {
  filter: invert(1);
}

@media (hover: hover) and (pointer: fine) {
  .subpage-nav a:hover {
    color: var(--page-tint-strong);
  }

  .detail-capability,
  .detail-system,
  .editorial-card,
  .contact-card {
    transition:
      transform 220ms var(--ease-out),
      border-color 220ms ease,
      box-shadow 220ms ease;
  }

  .detail-capability:hover,
  .detail-system:hover,
  .editorial-card:hover,
  .contact-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--page-tint-strong) 32%, var(--line));
    box-shadow: var(--shadow-soft);
  }
}

@media (max-width: 1100px) {
  .detail-proof {
    grid-template-columns: 1fr 1fr;
  }

  .detail-proof > div:nth-child(3) {
    border-left: 0;
  }

  .detail-proof > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .detail-case {
    grid-template-columns: 1fr;
  }

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

  .page-final {
    grid-template-columns: 1fr;
  }

  .page-final .hero-actions {
    width: min(100%, 340px);
  }

  .article-hero-inner {
    grid-template-columns: 1fr;
  }

  .article-intro {
    max-width: 720px;
  }

  .role-map,
  .price-examples {
    grid-template-columns: 1fr 1fr;
  }

  .role-map-item:nth-child(3),
  .price-examples span:nth-child(3) {
    border-left: 0;
  }

  .role-map-item:nth-child(n + 3),
  .price-examples span:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .subhero-v2 {
    min-height: calc(100dvh - var(--header-height) - 16px);
    margin-top: 8px;
  }

  .subhero-v2-inner {
    width: calc(100% - 30px);
    padding-block: 50px;
  }

  .subhero-v2 h1 {
    font-size: clamp(44px, 12vw, 50px);
  }

  .subhero-v2 .lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .subhero-v2 .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .subpage-nav {
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    padding-inline: 16px;
    white-space: nowrap;
  }

  .detail-proof {
    grid-template-columns: 1fr;
  }

  .detail-proof > div + div,
  .detail-proof > div:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .detail-proof > div {
    min-height: 150px;
  }

  .detail-dashboard-heading h2 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .detail-dashboard-frame {
    padding: 6px;
  }

  .detail-dashboard-frame figcaption {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 8px 8px;
  }

  .detail-capabilities {
    grid-template-columns: 1fr;
  }

  .detail-capability,
  .detail-capability:nth-child(1),
  .detail-capability:nth-child(2),
  .detail-capability:nth-child(3),
  .detail-capability:nth-child(4),
  .detail-capability:nth-child(n + 5) {
    min-height: 320px;
    grid-column: auto;
  }

  .detail-case {
    padding: 28px 20px;
  }

  .detail-systems {
    grid-template-columns: 1fr 1fr;
  }

  .page-final {
    min-height: 520px;
    align-items: flex-start;
    padding: 36px 22px;
  }

  .page-final .hero-actions {
    width: 100%;
  }

  .editorial-list,
  .contact-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .case-library {
    grid-template-columns: 1fr;
  }

  .case-library .case-feature,
  .case-library .case-feature:nth-child(1),
  .case-library .case-feature:nth-child(2),
  .case-library .case-feature:nth-child(3),
  .case-library .case-feature:nth-child(4),
  .case-library .case-feature:nth-child(5),
  .case-library .case-feature:nth-child(6) {
    min-height: 480px;
    grid-column: auto;
  }

  .case-dossiers summary {
    min-height: 130px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 24px;
  }

  .case-dossiers details > div {
    margin-left: 0;
    padding-bottom: 36px;
  }

  .editorial-card,
  .editorial-card:first-child {
    min-height: 470px;
    grid-row: auto;
  }

  .article-hero {
    padding-block: 58px 26px;
  }

  .article-hero h1 {
    font-size: clamp(48px, 14vw, 70px);
  }

  .article-hero-inner {
    gap: 34px;
    padding-bottom: 44px;
  }

  .article-body {
    display: block;
    padding-block: 52px 76px;
  }

  .article-rail {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 58px;
    overflow: visible;
    border-block: 1px solid var(--line);
    white-space: normal;
  }

  .article-rail a {
    min-height: 46px;
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    line-height: 1.35;
  }

  .article-rail a:nth-of-type(odd) {
    padding-left: 0;
    border-right: 1px solid var(--line);
  }

  .article-rail a:last-child {
    grid-column: 1 / -1;
    padding-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .article-rail strong {
    display: none;
  }

  .article-section {
    padding-bottom: 58px;
  }

  .product-matrix {
    overflow-x: auto;
  }

  .product-matrix > div {
    min-width: 760px;
  }

  .comparison-criteria {
    grid-template-columns: 1fr;
  }

  .comparison-criteria article,
  .comparison-criteria article:nth-child(1),
  .comparison-criteria article:nth-child(2),
  .comparison-criteria article:nth-child(6),
  .comparison-criteria article:nth-child(7),
  .comparison-criteria article:nth-child(11) {
    min-height: 230px;
    grid-column: auto;
  }

  .capability-ledger,
  .pricing-ledger,
  .role-map,
  .process-rail,
  .model-band,
  .price-examples {
    grid-template-columns: 1fr;
  }

  .capability-ledger-item,
  .capability-ledger-item:nth-child(even),
  .capability-ledger-item:nth-child(n + 3) {
    min-height: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .capability-ledger-item:first-child {
    border-top: 0;
  }

  .role-map-item,
  .role-map-item + .role-map-item,
  .role-map-item:nth-child(3),
  .role-map-item:nth-child(n + 3) {
    min-height: 220px;
    border-top: 0;
    border-left: 0;
  }

  .role-map-item p {
    margin-top: 54px;
  }

  .process-rail-item,
  .process-rail-item:nth-child(2) {
    min-height: 330px;
    margin-top: 0;
  }

  .process-rail-item p {
    margin-top: 54px;
  }

  .model-band span {
    min-height: 120px;
  }

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

  .price-examples span + span,
  .price-examples span:nth-child(3),
  .price-examples span:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

/* Cascade lock for visual subheroes and one-shot process motion */

.subhero-v2.subhero-v2-visual {
  grid-template-columns: minmax(500px, 1.05fr) minmax(460px, 0.95fr);
  gap: 24px;
  place-items: stretch;
  padding: 24px;
}

.subhero-v2-visual .subhero-v2-inner {
  width: auto;
  justify-items: start;
  align-content: center;
  padding: clamp(36px, 5vw, 64px) clamp(18px, 2.4vw, 34px);
  text-align: left;
}

.subhero-v2.subhero-v2-visual h1 {
  max-width: 690px;
  font-size: clamp(44px, 4vw, 58px);
}

.subhero-v2.subhero-v2-visual .lead {
  max-width: 580px;
  text-wrap: pretty;
}

@media (prefers-reduced-motion: no-preference) {
  .process-flight-line span {
    animation: none;
  }

  .process-flight.is-visible .process-flight-line span {
    animation: process-flight-once 2400ms var(--ease-out) 180ms both;
  }
}

@media (max-width: 1100px) {
  .subhero-v2.subhero-v2-visual {
    grid-template-columns: minmax(410px, 1fr) minmax(410px, 1fr);
  }

  .subhero-v2-visual .subhero-v2-inner {
    padding-inline: 20px;
  }
}

@media (max-width: 900px) {
  .subhero-v2.subhero-v2-visual {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .subhero-v2-visual .subhero-v2-inner {
    min-height: 540px;
  }
}

@media (max-width: 760px) {
  .subhero-v2.subhero-v2-visual {
    gap: 10px;
    padding: 10px;
  }

  .subhero-v2-visual .subhero-v2-inner {
    min-height: 0;
    padding: 48px 12px;
  }

  .subhero-v2.subhero-v2-visual h1 {
    font-size: clamp(42px, 12vw, 52px);
  }
}

/* Hero ambient flow: business inputs converging into one result */

.hero-scene-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-scene-media .hero-scene-image {
  inset: -2%;
  z-index: 0;
  width: 104%;
  height: 104%;
  animation: hero-camera-drift 18s var(--ease-in-out) infinite alternate;
  animation-play-state: paused;
  will-change: transform;
}

.hero-scene-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: paint;
  transition: transform 720ms var(--ease-out);
}

.hero-scene-motion::before {
  position: absolute;
  top: 30%;
  left: 34%;
  width: 34%;
  height: 36%;
  border-radius: 50%;
  content: "";
  opacity: 0.12;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 68%);
  filter: blur(18px);
  transform: translate3d(-5%, 2%, 0) scale(0.94);
  animation: hero-focus-breathe 11s var(--ease-in-out) infinite alternate;
  animation-play-state: paused;
  will-change: transform, opacity;
}

.hero-flow-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 30%,
    transparent 43%,
    transparent 72%,
    #000 82%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 30%,
    transparent 43%,
    transparent 72%,
    #000 82%,
    #000 100%
  );
}

.hero-flow-pulse {
  position: absolute;
  top: var(--flow-top);
  left: -18%;
  width: clamp(110px, 12vw, 190px);
  height: 2px;
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(
    90deg,
    rgba(217, 68, 47, 0),
    rgba(217, 68, 47, 0.12) 24%,
    rgba(217, 68, 47, 0.72) 72%,
    rgba(217, 68, 47, 0)
  );
  transform-origin: center;
  animation: hero-flow-travel var(--flow-duration) linear var(--flow-delay) infinite;
  animation-play-state: paused;
  will-change: transform, opacity;
}

.hero-flow-pulse::after {
  position: absolute;
  top: 50%;
  right: 14%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: rgba(229, 88, 67, 0.9);
  transform: translate3d(0, -50%, 0);
}

.hero-flow-pulse-1 {
  --flow-top: 41%;
  --flow-duration: 8.8s;
  --flow-delay: -2.6s;
  --flow-angle: -2.5deg;
  --flow-rise: -74px;
}

.hero-flow-pulse-2 {
  --flow-top: 51%;
  --flow-duration: 10.4s;
  --flow-delay: -7.1s;
  --flow-angle: 1.6deg;
  --flow-rise: 22px;
}

.hero-flow-pulse-3 {
  --flow-top: 63%;
  --flow-duration: 9.6s;
  --flow-delay: -4.8s;
  --flow-angle: -4.2deg;
  --flow-rise: -118px;
}

.hero-flow-pulse-4 {
  --flow-top: 72%;
  --flow-duration: 11.6s;
  --flow-delay: -9.2s;
  --flow-angle: -1deg;
  --flow-rise: -56px;
}

.hero-scene.motion-active .hero-scene-image,
.hero-scene.motion-active .hero-scene-motion::before,
.hero-scene.motion-active .hero-flow-pulse {
  animation-play-state: running;
}

@keyframes hero-camera-drift {
  from {
    transform: translate3d(-0.7%, -0.35%, 0) scale(1.025);
  }

  to {
    transform: translate3d(0.75%, 0.45%, 0) scale(1.045);
  }
}

@keyframes hero-focus-breathe {
  from {
    opacity: 0.08;
    transform: translate3d(-5%, 2%, 0) scale(0.94);
  }

  to {
    opacity: 0.18;
    transform: translate3d(6%, -3%, 0) scale(1.08);
  }
}

@keyframes hero-flow-travel {
  0% {
    opacity: 0;
    transform: translate3d(-8vw, 0, 0) rotate(var(--flow-angle)) scaleX(0.72);
  }

  14% {
    opacity: 0.08;
  }

  43% {
    opacity: 0.72;
  }

  82% {
    opacity: 0.28;
  }

  100% {
    opacity: 0;
    transform: translate3d(142vw, var(--flow-rise), 0) rotate(var(--flow-angle)) scaleX(1.16);
  }
}

html[data-theme="dark"] .hero-scene-motion::before {
  opacity: 0.08;
  background: radial-gradient(circle, rgba(238, 242, 238, 0.38), rgba(238, 242, 238, 0) 68%);
}

html[data-theme="dark"] .hero-flow-pulse {
  background: linear-gradient(
    90deg,
    rgba(255, 124, 99, 0),
    rgba(255, 124, 99, 0.1) 24%,
    rgba(255, 124, 99, 0.62) 72%,
    rgba(255, 124, 99, 0)
  );
}

@media (max-width: 760px) {
  .hero-scene-media .hero-scene-image {
    inset: -1%;
    width: 102%;
    height: 102%;
  }

  .hero-flow-pulse {
    left: -42%;
    width: 132px;
  }

  .hero-flow-pulse-4 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene-media .hero-scene-image {
    animation: none;
    transform: scale(1.025);
  }

  .hero-scene-motion {
    transform: none !important;
  }

  .hero-scene-motion::before {
    animation: none;
    opacity: 0.1;
    transform: none;
  }

  .hero-flow-pulse {
    display: none;
    animation: none;
  }
}

/* Brand, process and editorial refinements */

html[data-theme="dark"] img[src$="octo-core.svg"] {
  content: url("assets/identity/octo-core-on-dark.svg");
}

.blog-preview-v2 {
  border-top: 1px solid var(--line);
}

.blog-preview-v2-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.blog-preview-v2-heading > div {
  max-width: 760px;
}

.blog-preview-v2-heading h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.blog-preview-v2-heading p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
}

.blog-preview-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  grid-template-rows: repeat(2, minmax(245px, auto));
  gap: 14px;
  margin-top: clamp(38px, 5vw, 64px);
}

.blog-preview-feature,
.blog-preview-note {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.blog-preview-feature {
  display: grid;
  grid-row: 1 / span 2;
  grid-template-rows: minmax(330px, 1fr) auto;
}

.blog-preview-note {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 0.58fr);
  min-height: 245px;
}

.blog-preview-feature img,
.blog-preview-note img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 680ms var(--ease-out);
}

.blog-preview-feature > div {
  padding: clamp(26px, 3.2vw, 42px);
}

.blog-preview-note > div {
  align-self: center;
  padding: clamp(22px, 2.4vw, 32px);
}

.blog-preview-feature span,
.blog-preview-note span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-preview-feature h3,
.blog-preview-note h3 {
  margin: 12px 0 0;
  letter-spacing: -0.045em;
}

.blog-preview-feature h3 {
  max-width: 680px;
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.06;
}

.blog-preview-note h3 {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
}

.blog-preview-feature p,
.blog-preview-note p {
  margin: 12px 0 0;
  color: var(--muted);
}

.blog-preview-feature:hover img,
.blog-preview-feature:focus-visible img,
.blog-preview-note:hover img,
.blog-preview-note:focus-visible img {
  transform: scale(1.025);
}

@media (max-width: 1080px) {
  .blog-preview-v2-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .blog-preview-feature {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .process-flight article::before,
  .process-flight article::after {
    display: none;
  }

  .control-panel {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .control-panel-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .control-panel p {
    font-size: 13px;
  }

  .blog-preview-v2-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .blog-preview-note {
    grid-template-columns: 1fr;
  }

  .blog-preview-feature {
    grid-template-rows: 260px auto;
  }

  .blog-preview-note img {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-preview-feature img,
  .blog-preview-note img {
    transition: none;
  }
}

.solution-feature-construction {
  min-height: 520px;
  grid-column: 1 / -1;
  color: #f1f3ee;
  background: #111416;
}

.solution-feature-construction::after {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  opacity: 1;
  filter: none;
  background:
    linear-gradient(90deg, rgba(7, 10, 13, 0.9) 0%, rgba(7, 10, 13, 0.62) 48%, rgba(7, 10, 13, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 10, 13, 0.48), transparent 62%);
}

.solution-construction-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}

.solution-feature-construction .solution-brand img {
  width: 42px;
  height: 42px;
}

.solution-feature-construction h3 {
  max-width: 820px;
  color: #f1f3ee;
  font-size: clamp(38px, 5vw, 68px);
}

.solution-feature-construction .solution-brand span,
.solution-feature-construction .case-proof strong {
  color: #f1f3ee;
}

.solution-feature-construction p,
.solution-feature-construction .case-proof span {
  color: rgba(241, 243, 238, 0.76);
}

.solution-feature-construction .case-proof {
  border-color: rgba(241, 243, 238, 0.24);
}

@media (hover: hover) and (pointer: fine) {
  .solution-feature-construction:hover .solution-construction-media {
    transform: scale(1.025);
  }
}

@media (max-width: 760px) {
  .solution-feature-construction {
    min-height: 560px;
  }

  .solution-feature-construction::after {
    background:
      linear-gradient(0deg, rgba(7, 10, 13, 0.94) 0%, rgba(7, 10, 13, 0.55) 72%, rgba(7, 10, 13, 0.18) 100%);
  }

  .solution-construction-media {
    object-position: 62% center;
  }

  .solution-feature-construction h3 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solution-construction-media {
    transition: none;
  }
}

.case-library .case-feature:nth-child(7) {
  min-height: 440px;
  grid-column: 2 / span 10;
}

.case-feature-estimate {
  background: var(--accent-faint);
}

.case-feature-estimate img {
  object-fit: cover;
  object-position: center 44%;
}

@media (max-width: 760px) {
  .case-library .case-feature:nth-child(7) {
    min-height: 480px;
    grid-column: auto;
  }
}

/* Brand presence: a recognisable mark in navigation, hero and agent state */

:root {
  --header-height: 80px;
}

.site-header,
.site-header.is-scrolled,
.concept-v2 .site-header,
.concept-v2 .site-header.is-scrolled {
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.header-inner {
  height: 60px;
  margin-top: 10px;
  padding: 0 10px 0 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--surface) 78%, transparent),
    0 10px 34px color-mix(in srgb, var(--ink) 5%, transparent);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  transition:
    background-color 220ms var(--ease-out),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled .header-inner {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--surface) 82%, transparent),
    0 16px 42px color-mix(in srgb, var(--ink) 9%, transparent);
}

.wordmark {
  gap: 9px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  transition:
    color 180ms ease,
    transform 160ms var(--ease-out);
}

.wordmark::before {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border: 0;
  border-radius: 0;
  background: var(--brand-mark) center / contain no-repeat;
  box-shadow: none;
  transition: transform 180ms var(--ease-out);
}

.wordmark:active {
  transform: scale(0.98);
}

.hero-brand-stamp {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.28)),
    rgba(242, 243, 240, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 18px 44px rgba(35, 39, 38, 0.12);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms ease,
    border-color 180ms ease;
}

.hero-brand-stamp img {
  width: 52px;
  height: 52px;
  transition: transform 520ms var(--ease-out);
}

html.motion-ready .hero-brand-stamp {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
}

html.page-ready .hero-brand-stamp {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 520ms var(--ease-out) 260ms,
    transform 680ms var(--ease-out) 260ms,
    box-shadow 220ms ease,
    border-color 180ms ease;
}

.channel-window {
  position: relative;
}

.channel-video-frame {
  position: relative;
  overflow: hidden;
}

.channel-video-frame video {
  display: block;
}

.agent-activity {
  display: grid;
  min-height: 76px;
  grid-template-columns: 3px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.agent-activity::before {
  width: 3px;
  height: 34px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--accent) 78%, var(--ink));
  content: "";
  opacity: 0.72;
}

.agent-activity-copy,
.agent-activity-copy small,
.agent-activity-copy strong {
  display: block;
  min-width: 0;
}

.agent-activity-copy small {
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.agent-activity-copy strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.final-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.final-cta::before {
  position: absolute;
  top: -70px;
  right: -38px;
  z-index: -1;
  width: 270px;
  height: 270px;
  content: "";
  opacity: 0.075;
  background: var(--brand-mark) center / contain no-repeat;
  transform: rotate(-22.5deg);
  transition:
    opacity 320ms ease,
    transform 620ms var(--ease-out);
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .wordmark:hover {
    color: var(--ink);
  }

  .wordmark:hover::before {
    transform: scale(1.05);
  }

  .hero-brand-stamp:hover {
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 22px 54px rgba(35, 39, 38, 0.18);
    transform: translateY(-3px);
  }

  .hero-brand-stamp:hover img {
    transform: rotate(45deg);
  }

  .final-cta:hover::before {
    opacity: 0.11;
    transform: rotate(0) scale(1.03);
  }
}

html[data-theme="dark"] .header-inner {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 42px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .hero-brand-stamp {
  border-color: rgba(241, 243, 238, 0.2);
  background:
    linear-gradient(145deg, rgba(241, 243, 238, 0.12), rgba(241, 243, 238, 0.035)),
    rgba(17, 20, 22, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(241, 243, 238, 0.16),
    0 18px 48px rgba(0, 0, 0, 0.26);
}

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

  .hero-brand-stamp {
    background: rgba(242, 243, 240, 0.94);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    height: 56px;
    margin-top: 8px;
    padding-right: 7px;
    border-radius: 16px;
  }

  .wordmark {
    gap: 8px;
    font-size: 20px;
  }

  .wordmark::before {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }

  .hero-brand-stamp {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .hero-brand-stamp img {
    width: 36px;
    height: 36px;
  }

  .agent-activity {
    min-height: 70px;
    gap: 11px;
    padding: 11px 13px;
  }

  .agent-activity-copy strong {
    font-size: 13px;
  }

  .final-cta::before {
    top: -34px;
    right: -34px;
    width: 180px;
    height: 180px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    gap: 12px 20px;
  }

  .cookie-consent {
    right: 12px;
    bottom: max(54px, calc(env(safe-area-inset-bottom) + 54px));
    width: calc(100vw - 24px);
    padding: 17px;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-button {
    width: 100%;
  }

  .cookie-settings {
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.motion-ready .hero-brand-stamp,
  html.page-ready .hero-brand-stamp {
    opacity: 1;
    transform: none;
  }

  .wordmark::before,
  .hero-brand-stamp img,
  .final-cta::before {
    transition: none;
  }
}

/* Mobile visual QA: predictable media, readable type and non-obstructive controls */

.contact-brief > *,
.blog-preview-feature > *,
.blog-preview-note > *,
.editorial-card > *,
.detail-case-intro {
  min-width: 0;
}

.process-v2 > .shell {
  grid-template-columns: minmax(360px, 0.62fr) minmax(640px, 1.38fr);
}

.process-v2-heading {
  max-width: 440px;
}

.process-v2-heading h2 {
  font-size: clamp(46px, 4.7vw, 68px);
}

.detail-case-intro h2 {
  font-size: clamp(40px, 4.2vw, 60px);
  text-wrap: balance;
}

.subpage-contact .article-hero h1 {
  font-size: clamp(54px, 6.2vw, 84px);
  text-wrap: balance;
}

.blog-preview-feature {
  grid-template-rows: auto auto;
}

.blog-preview-feature > img {
  width: 100%;
  height: clamp(330px, 38vw, 520px);
  min-height: 0;
}

.blog-preview-feature > div {
  position: relative;
  z-index: 1;
  background: var(--surface);
}

.cookie-settings {
  position: static;
  z-index: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: inherit;
  text-align: left;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.cookie-settings:hover {
  border-color: transparent;
  color: var(--accent);
}

@media (max-width: 760px) {
  .contact-brief {
    min-height: auto;
    gap: 30px;
    padding: 34px 24px;
  }

  .contact-brief h2 {
    max-width: 100%;
    font-size: clamp(36px, 10.2vw, 42px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    overflow-wrap: anywhere;
  }

  .contact-brief p {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.55;
  }

  .contact-brief-actions {
    width: 100%;
  }

  .contact-brief-actions .button {
    width: 100%;
    max-width: none;
  }

  .blog-preview-feature {
    grid-template-rows: auto auto;
  }

  .blog-preview-feature > img {
    height: 240px;
  }

  .blog-preview-feature > div {
    padding: 24px 20px 26px;
  }

  .blog-preview-feature h3 {
    font-size: clamp(27px, 8.2vw, 34px);
    overflow-wrap: anywhere;
  }

  .blog-preview-feature p {
    font-size: 14px;
    line-height: 1.55;
  }

  .subhero-v2 h1,
  .article-hero h1,
  .detail-heading h2,
  .page-final h2,
  .contact-card h2,
  .editorial-card h2,
  .editorial-card h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .subpage-contact .article-hero h1 {
    font-size: clamp(40px, 11vw, 50px);
  }

  .cookie-consent {
    bottom: max(12px, calc(env(safe-area-inset-bottom) + 12px));
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .detail-capability,
  .detail-capability:nth-child(1),
  .detail-capability:nth-child(2),
  .detail-capability:nth-child(3),
  .detail-capability:nth-child(4),
  .detail-capability:nth-child(n + 5) {
    min-height: 320px;
    grid-column: span 6;
  }
}

@media (max-width: 390px) {
  .header-inner {
    padding-left: 7px;
  }

  .wordmark {
    gap: 7px;
    font-size: 18px;
  }

  .wordmark::before {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .header-actions {
    gap: 6px;
  }

  .button-small,
  .menu-button {
    padding-inline: 11px;
  }
}

@media (max-width: 980px) {
  .about-identity-hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  }

  .about-identity-copy {
    padding: 44px 36px;
  }

  .about-identity-copy h1 {
    font-size: clamp(54px, 7.5vw, 72px);
  }
}

@media (max-width: 760px) {
  .about-identity-hero {
    min-height: 0;
    margin-top: 8px;
    grid-template-columns: 1fr;
  }

  .about-identity-copy {
    padding: 48px 24px 42px;
  }

  .about-identity-copy .subhero-brand {
    margin-bottom: 24px;
  }

  .about-identity-copy h1 {
    font-size: clamp(46px, 13vw, 56px);
  }

  .about-identity-copy .lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .about-identity-copy .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    margin-top: 28px;
  }

  .about-companion {
    min-height: 0;
    aspect-ratio: 1 / 0.86;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .editorial-card-copy {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-companion img,
  .about-identity-hero:hover .about-companion img {
    transform: none;
    transition: none;
  }
}

/* Comparison directory and dedicated comparison pages */

.comparison-directory-hero,
.compare-detail-hero {
  position: relative;
  display: grid;
  min-height: min(690px, calc(100dvh - var(--header-height) - 24px));
  margin-top: 18px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.92fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 8%, color-mix(in srgb, var(--accent-soft) 76%, transparent), transparent 34%),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.comparison-directory-copy,
.compare-detail-copy {
  align-self: center;
  padding: clamp(42px, 6vw, 84px);
}

.compare-hero-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 750;
}

.compare-hero-lockup img {
  width: 48px;
  height: 48px;
}

.comparison-directory-copy h1,
.compare-detail-copy h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(54px, 6.4vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.067em;
  text-wrap: balance;
}

.comparison-directory-copy .lead,
.compare-detail-copy .lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted-strong);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}

.comparison-directory-copy .hero-actions,
.compare-detail-copy .hero-actions {
  gap: 10px;
  margin-top: 32px;
}

.comparison-directory-copy .button-accent,
.compare-detail-copy .button-accent,
.compare-choice .button-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.comparison-directory-figure {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: #e7e8e4;
}

.comparison-directory-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  transform: scale(1.01);
  transition: transform 720ms var(--ease-out);
}

.compare-hero-visual {
  display: grid;
  min-height: 100%;
  align-content: center;
  justify-items: center;
  gap: 54px;
  padding: clamp(38px, 5vw, 70px);
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 68% 28%, color-mix(in srgb, var(--accent-soft) 72%, transparent), transparent 34%),
    color-mix(in srgb, var(--surface-2) 66%, var(--surface));
}

.compare-identity-pair {
  position: relative;
  display: grid;
  width: min(100%, 390px);
  aspect-ratio: 1;
  place-items: center;
}

.compare-identity-pair::before,
.compare-identity-pair::after {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 50%;
}

.compare-identity-pair::after {
  width: 92%;
  opacity: 0.48;
}

.compare-identity-pair img {
  position: absolute;
  z-index: 1;
  width: 43%;
  height: 43%;
  filter: drop-shadow(0 20px 28px rgba(23, 25, 27, 0.1));
}

.compare-identity-pair img:first-child {
  transform: translate(-28%, -24%) rotate(-8deg);
}

.compare-identity-pair img:last-child {
  transform: translate(30%, 30%) rotate(7deg);
}

.compare-hero-visual > div:last-child {
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.compare-hero-visual strong {
  font-size: 28px;
  letter-spacing: -0.045em;
}

.compare-hero-visual span {
  color: var(--muted);
  font-size: 13px;
}

@media (hover: hover) and (pointer: fine) {
  .comparison-directory-hero:hover .comparison-directory-figure img {
    transform: scale(1.04);
  }
}

.comparison-directory {
  overflow: hidden;
  border-top: 1px solid var(--line-strong);
}

.comparison-directory-item {
  display: grid;
  min-height: 176px;
  grid-template-columns: minmax(250px, 0.8fr) minmax(300px, 1.2fr) 44px;
  align-items: center;
  gap: clamp(26px, 5vw, 78px);
  border-bottom: 1px solid var(--line);
  transition:
    background-color 180ms ease,
    padding-inline 220ms var(--ease-out);
}

.comparison-directory-item > div > span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.comparison-directory-item h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
}

.comparison-directory-item p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
}

.comparison-directory-item > b {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    color 180ms ease,
    transform 180ms var(--ease-out),
    border-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .comparison-directory-item:hover {
    padding-inline: 18px;
    background: color-mix(in srgb, var(--accent-soft) 20%, transparent);
  }

  .comparison-directory-item:hover > b {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateX(3px);
  }
}

.comparison-guide {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.25fr 0.75fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  gap: 1px;
}

.comparison-guide article {
  min-height: 170px;
  padding: clamp(26px, 4vw, 48px);
  background: var(--surface);
}

.comparison-guide article:first-child {
  min-height: 511px;
  grid-row: span 3;
  background:
    radial-gradient(circle at 85% 10%, var(--accent-soft), transparent 38%),
    var(--surface);
}

.comparison-guide article:first-child img {
  width: 70px;
  height: 70px;
}

.comparison-guide h2 {
  max-width: 560px;
  margin-top: 96px;
  font-size: clamp(42px, 5vw, 68px);
}

.comparison-guide p,
.comparison-guide span {
  display: block;
  max-width: 580px;
  margin-top: 16px;
  color: var(--muted);
}

.comparison-guide strong {
  display: block;
  max-width: 440px;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.compare-decision {
  display: grid;
  overflow: hidden;
  grid-template-columns: 0.93fr 1.07fr;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.compare-side {
  min-height: 480px;
  padding: clamp(34px, 5vw, 66px);
}

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

.compare-side-octo {
  background:
    radial-gradient(circle at 88% 10%, var(--accent-soft), transparent 38%),
    var(--surface);
}

.compare-side > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.compare-side > img {
  width: 44px;
  height: 44px;
}

.compare-side h3 {
  max-width: 620px;
  margin-top: 74px;
  font-size: clamp(34px, 4.4vw, 58px);
}

.compare-side > img + h3 {
  margin-top: 42px;
}

.compare-side p {
  max-width: 570px;
  margin-top: 18px;
  color: var(--muted);
}

.compare-side ul {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.compare-side li {
  position: relative;
  padding-left: 20px;
  color: var(--muted-strong);
}

.compare-side li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 2px;
  content: "";
  background: var(--accent);
}

.compare-facts {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.compare-facts > div {
  display: grid;
  min-height: 102px;
  grid-template-columns: minmax(150px, 0.65fr) minmax(230px, 1fr) minmax(230px, 1fr);
  align-items: center;
}

.compare-facts > div + div {
  border-top: 1px solid var(--line);
}

.compare-facts > div > * {
  padding: 22px 26px;
}

.compare-facts > div > * + * {
  border-left: 1px solid var(--line);
}

.compare-facts-head {
  min-height: 60px !important;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-facts strong {
  font-size: 14px;
}

.compare-facts span {
  color: var(--muted);
  font-size: 14px;
}

.compare-facts b {
  color: var(--ink);
  font-size: 14px;
}

.compare-scenarios {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.25fr 0.75fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  gap: 1px;
}

.compare-scenario-lead {
  min-height: 430px;
  padding: clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 88% 12%, var(--accent-soft), transparent 38%),
    var(--surface);
}

.compare-scenario-lead img {
  width: 76px;
  height: 76px;
}

.compare-scenario-lead h2 {
  max-width: 720px;
  margin-top: 90px;
  font-size: clamp(42px, 5vw, 68px);
}

.compare-scenario-lead p {
  max-width: 650px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
}

.compare-scenario-tasks {
  display: grid;
  background: var(--line);
  gap: 1px;
}

.compare-scenario-tasks span {
  display: flex;
  min-height: 143px;
  align-items: center;
  padding: 28px;
  background: var(--surface);
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.compare-choice {
  display: grid;
  min-height: 350px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
  padding: clamp(38px, 6vw, 76px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 10%, var(--accent-soft), transparent 34%),
    var(--surface);
}

.compare-choice h2 {
  max-width: 920px;
  font-size: clamp(40px, 5vw, 68px);
}

.compare-choice p {
  max-width: 780px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
}

.compare-source-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 28px;
  font-size: 12px;
}

.compare-source-links strong {
  color: var(--muted);
}

.compare-source-links a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

.comparison-neighbors {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(38px, 8vw, 100px);
  margin-bottom: clamp(72px, 9vw, 120px);
  padding-top: clamp(54px, 8vw, 100px);
  border-top: 1px solid var(--line-strong);
}

.comparison-neighbors > div h2 {
  font-size: clamp(32px, 3.5vw, 48px);
}

.comparison-neighbors > div a {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.comparison-neighbors nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.comparison-neighbors nav a {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.comparison-neighbors nav a:nth-child(odd) {
  padding-right: 24px;
}

.comparison-neighbors nav a:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.comparison-neighbors nav b {
  transition: transform 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .comparison-neighbors nav a:hover b {
    transform: translateX(3px);
  }
}

.compare-final {
  grid-template-columns: auto minmax(320px, 1fr) auto;
}

.compare-final > img {
  width: 76px;
  height: 76px;
}

.identity-family {
  display: grid;
  overflow: hidden;
  grid-template-columns: 0.82fr 1fr 1.18fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  gap: 1px;
}

.identity-family article {
  min-height: 360px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
}

.identity-family article:nth-child(2) {
  background:
    radial-gradient(circle at 88% 10%, var(--accent-soft), transparent 40%),
    var(--surface);
}

.identity-family article:nth-child(3) {
  position: relative;
  overflow: hidden;
  padding-bottom: 44%;
  background: #e7e8e4;
}

.identity-family > article > img:not(.identity-family-sculpture) {
  width: 68px;
  height: 68px;
}

.identity-family h3 {
  margin-top: 86px;
  font-size: clamp(28px, 3vw, 42px);
}

.identity-family p {
  margin-top: 14px;
  color: var(--muted);
}

.identity-family-sculpture {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 56%;
  object-fit: cover;
}

.identity-family article:nth-child(3) h3,
.identity-family article:nth-child(3) p {
  position: relative;
  z-index: 1;
  margin-inline: 0;
}

.identity-family article:nth-child(3) h3 {
  margin-top: 74%;
}

@media (max-width: 980px) {
  .comparison-directory-hero,
  .compare-detail-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .comparison-directory-figure,
  .compare-hero-visual {
    min-height: 430px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .comparison-directory-item {
    grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr) 44px;
    gap: 28px;
  }

  .compare-choice,
  .compare-final {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .identity-family {
    grid-template-columns: 1fr 1fr;
  }

  .identity-family article:nth-child(3) {
    min-height: 520px;
    grid-column: 1 / -1;
    padding-bottom: 0;
  }

  .identity-family-sculpture {
    width: 56%;
    height: 100%;
    inset: 0 0 0 auto;
  }

  .identity-family article:nth-child(3) h3 {
    max-width: 38%;
    margin-top: 160px;
  }

  .identity-family article:nth-child(3) p {
    max-width: 38%;
  }
}

@media (max-width: 760px) {
  .comparison-directory-hero,
  .compare-detail-hero {
    margin-top: 8px;
  }

  .comparison-directory-copy,
  .compare-detail-copy {
    padding: 48px 24px 42px;
  }

  .comparison-directory-copy h1,
  .compare-detail-copy h1 {
    font-size: clamp(44px, 12.5vw, 58px);
  }

  .comparison-directory-copy .lead,
  .compare-detail-copy .lead {
    font-size: 16px;
  }

  .comparison-directory-copy .hero-actions,
  .compare-detail-copy .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .comparison-directory-figure,
  .compare-hero-visual {
    min-height: 360px;
  }

  .compare-hero-visual {
    gap: 20px;
    padding: 28px;
  }

  .compare-identity-pair {
    width: min(82vw, 300px);
  }

  .comparison-directory-item {
    min-height: 0;
    grid-template-columns: 1fr 36px;
    gap: 18px;
    padding-block: 28px;
  }

  .comparison-directory-item p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .comparison-directory-item > b {
    width: 36px;
    height: 36px;
  }

  .comparison-guide,
  .compare-decision,
  .compare-scenarios,
  .identity-family {
    grid-template-columns: 1fr;
  }

  .comparison-guide article:first-child {
    min-height: 390px;
    grid-row: auto;
  }

  .comparison-guide h2,
  .compare-scenario-lead h2 {
    margin-top: 58px;
  }

  .compare-side {
    min-height: 0;
    padding: 36px 24px 42px;
  }

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

  .compare-side h3,
  .compare-side > img + h3 {
    margin-top: 42px;
  }

  .compare-facts {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .compare-facts-head {
    display: none !important;
  }

  .compare-facts > div {
    display: grid;
    min-height: 0;
    margin-bottom: 10px;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
  }

  .compare-facts > div + div {
    border-top: 1px solid var(--line);
  }

  .compare-facts > div > * {
    padding: 18px 20px;
  }

  .compare-facts > div > * + * {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .compare-facts strong {
    color: var(--accent);
  }

  .compare-scenario-lead {
    min-height: 390px;
    padding: 32px 24px 40px;
  }

  .compare-scenario-tasks span {
    min-height: 108px;
    padding: 24px;
  }

  .compare-choice {
    min-height: 0;
    gap: 34px;
    padding: 36px 24px;
  }

  .comparison-neighbors {
    grid-template-columns: 1fr;
  }

  .comparison-neighbors nav {
    grid-template-columns: 1fr;
  }

  .comparison-neighbors nav a:nth-child(odd),
  .comparison-neighbors nav a:nth-child(even) {
    padding-inline: 0;
    border-left: 0;
  }

  .identity-family article {
    min-height: 330px;
  }

  .identity-family article:nth-child(3) {
    min-height: 520px;
    grid-column: auto;
  }

  .identity-family-sculpture {
    width: 100%;
    height: 56%;
    inset: 0 0 auto;
  }

  .identity-family article:nth-child(3) h3 {
    max-width: none;
    margin-top: 340px;
  }

  .identity-family article:nth-child(3) p {
    max-width: none;
  }
}

/* Shared SEO footer */

.site-footer {
  padding-block: clamp(52px, 6vw, 82px);
  background: color-mix(in srgb, var(--surface-2) 58%, var(--bg));
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(190px, 0.58fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(48px, 7vw, 110px);
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-brand .wordmark {
  width: max-content;
  font-size: 24px;
}

.footer-brand p {
  max-width: 220px;
  font-size: 14px;
  line-height: 1.55;
}

.footer-living {
  display: grid;
  width: max-content;
  max-width: 100%;
  grid-template-columns: 34px minmax(0, auto) 18px;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 750;
  transition:
    transform 160ms var(--ease-out),
    border-color 180ms ease,
    background-color 180ms ease;
}

.footer-living > img:first-child {
  width: 34px;
  height: 34px;
}

.footer-living-channel {
  width: 18px;
  height: 18px;
}

.footer-living:active {
  transform: scale(0.98);
}

.channel-card-identity {
  width: 28px;
  height: 28px;
  margin-left: auto;
  opacity: 0.86;
  transition:
    opacity 180ms ease,
    transform 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .channel-card:hover .channel-card-identity {
    opacity: 1;
    transform: rotate(8deg) scale(1.06);
  }
}

@media (hover: hover) and (pointer: fine) {
  .footer-living:hover {
    border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
    background: var(--surface);
  }
}

.footer-links {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.72fr) minmax(0, 1.25fr) minmax(0, 0.9fr);
  align-items: start;
  justify-content: stretch;
  gap: 34px;
  color: var(--muted);
  font-size: 13px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-column strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  max-width: 100%;
  line-height: 1.45;
}

.footer-links .cookie-settings {
  width: max-content;
  grid-column: 1 / -1;
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 48px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .cookie-consent {
    bottom: max(16px, calc(env(safe-area-inset-bottom) + 16px));
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding-block: 46px;
  }

  .footer-inner {
    gap: 34px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
