:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --ink: #1c1d20;
  --ink-soft: #3c4148;
  --muted: #5c6370;
  --faint: #8b919a;
  --line: #e6e8ec;
  --accent: #ff5a1f;
  --accent-hover: #ff7038;
  --accent-soft: #fff0e8;
  --accent-bubble: #ffd6c2;
  --black: #1c1d20;
  --peach: #fff4e6;
  --peach-line: #f3e0c8;
  --shadow: 0 1px 2px rgba(17, 18, 20, 0.04), 0 16px 40px rgba(17, 18, 20, 0.06);
  --radius: 18px;
  --header: 72px;
  --font: "Golos Text", "Segoe UI", system-ui, sans-serif;
  --font-brand: "Russo One", "Arial Black", sans-serif;
  --container: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-lock { overflow: hidden; }

body.front {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.front .site-header {
  position: relative;
  flex: 0 0 auto;
}

body.front main {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

body.front main::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.page-scroll-bar {
  position: fixed;
  top: calc(var(--header) + 14px);
  bottom: 14px;
  right: 8px;
  width: 6px;
  z-index: 28;
}

.page-scroll-bar span {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-radius: 999px;
  background: rgba(17, 18, 20, 0.28);
  cursor: grab;
  touch-action: none;
}

.page-scroll-bar span:hover,
.page-scroll-bar.is-drag span {
  background: var(--black);
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

a:hover { color: #111; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--accent);
  color: var(--black);
  padding: 8px 12px;
  border-radius: 999px;
  z-index: 50;
}

.skip:focus { top: 12px; }

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

h1, h2, h3, p { margin: 0; }

h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; }

.lead { color: var(--ink-soft); font-size: 18px; line-height: 1.55; max-width: 46ch; }

.muted { color: var(--muted); }

.section { padding: 28px 0 72px; }

.section-head { max-width: 680px; margin-bottom: 28px; }

.section-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 18, 20, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 18px;
  flex: 0 0 auto;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent);
  display: grid;
  place-items: center;
}

.logo-mark.brand-square {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: transparent;
  color: var(--black);
}

.logo-mark.brand-square svg,
.rail-btn.logo-btn svg {
  width: 100%;
  height: 100%;
}

.logo-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.logo-word {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-sub {
  font-family: var(--font);
  font-weight: 500;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--muted);
  white-space: nowrap;
}

.logo-sub b { font-weight: 800; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--ink); }

.header-phone {
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-lime { background: var(--accent); color: #fff; font-weight: 700; }
.btn-lime:hover { background: var(--accent-hover); color: #fff; }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover { background: #fafafa; }

.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #2a2b2e; color: #fff; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.hero { padding: 36px 0 20px; }

.front .hero {
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: center;
  padding: 32px 0 72px;
}

.hero-statement {
  width: min(1080px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-statement h1 {
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
}

.hero-statement h1 .dim { color: #c4c9d1; font-weight: 500; }
.hero-statement h1 .accent { color: var(--ink); font-weight: 700; }

.hero-statement .lead {
  margin: 28px auto 0;
  max-width: 34em;
  text-align: center;
  color: #8d949e;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-statement .hero-actions {
  justify-content: center;
  margin: 36px 0 0;
}

.btn-ai {
  height: 58px;
  padding: 0 26px 0 10px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 16px;
  letter-spacing: -0.02em;
  gap: 12px;
}

.btn-ai:hover { background: #2a2c31; color: #fff; }

.btn-ai-mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--accent);
  display: grid;
  place-items: center;
}

.btn-ai-mark::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(-1px, -1px);
}

.caret {
  display: inline-block;
  width: 2px;
  height: 0.78em;
  margin-left: 4px;
  background: var(--ink);
  vertical-align: -0.06em;
  animation: caret-blink 1.05s steps(1) infinite;
}

@keyframes caret-blink { 50% { opacity: 0; } }

.header-inner .header-cta { margin-left: auto; }
.front .nav { margin-left: auto; }
.front .header-inner .nav + .header-cta { margin-left: 0; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 36px;
  align-items: center;
}

.hero-grid > * { min-width: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1 { margin-bottom: 16px; }

.hero-cases {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-cases li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.4;
}

.hero-cases span {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding-top: 2px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }

.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.chip:hover { background: var(--accent-soft); border-color: transparent; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }

.hero-meta { color: var(--muted); font-size: 14.5px; }
.hero-meta a { font-weight: 600; color: var(--ink); text-decoration: none; }

.console {
  display: grid;
  grid-template-columns: 52px 214px minmax(0, 1fr);
  background: #fff;
  border-radius: 22px;
  min-height: 520px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.console-rail {
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.rail-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #8d9096;
}

.rail-btn.is-on { background: #2a2c31; color: #fff; }
.rail-btn.logo-btn {
  width: 32px;
  height: 32px;
  padding: 5px;
  border-radius: 0;
  background: var(--accent);
  color: var(--black);
}
.rail-spacer { flex: 1; }

.console-list { border-right: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; min-width: 0; }

.console-list header,
.chat-top {
  padding: 14px 14px 10px;
}

.console-list h2,
.chat-top strong {
  font-size: 14px;
  letter-spacing: -0.02em;
}

.console-list header p,
.subline {
  color: var(--faint);
  font-size: 12px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-tools { padding: 0 12px 8px; }

.fake-select {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: #fafafa;
}

.dialog {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  margin: 2px 8px;
  padding: 8px;
  border-radius: 12px;
}

.dialog.is-active { background: var(--accent-soft); }

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.dialog b { display: block; font-size: 13px; font-weight: 600; }
.dialog small { display: block; color: var(--faint); font-size: 11px; margin: 1px 0; }
.dialog em { display: block; font-style: normal; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.console-chat { background: #f5f6f8; display: flex; flex-direction: column; min-width: 0; }

.chat-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.chat-top-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.chat-top-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.mini {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.mini.lime { background: var(--accent); border-color: transparent; }

.thread { padding: 14px; display: flex; flex-direction: column; gap: 10px; }

.bubble {
  width: fit-content;
  max-width: 92%;
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(17, 18, 20, 0.04);
}

.bubble span,
.alert span { display: block; color: var(--faint); font-size: 11px; margin-bottom: 4px; }

.bubble.bot { margin-left: auto; background: var(--accent-bubble); }
.alert {
  margin-left: auto;
  width: fit-content;
  max-width: 94%;
  background: var(--peach);
  border: 1px solid var(--peach-line);
  color: #6d5132;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.45;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.card, .soft-card, .case-card, .quote, .price-card, .faq-item, .step, .table-wrap {
  background: var(--surface);
  border: 1px solid rgba(17, 18, 20, 0.06);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(17, 18, 20, 0.03);
}

.card, .soft-card { padding: 22px; }

.card .index {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 14px;
}

.card h3, .soft-card h3, .case-card h3 { margin-bottom: 8px; }
.card p, .soft-card p, .case-card p { color: var(--ink-soft); }

.card a, .text-link { font-weight: 600; color: var(--ink); }

.service-grid, .case-grid, .solution-grid, .step-grid { display: grid; gap: 14px; }

.service-grid { grid-template-columns: repeat(3, 1fr); }
.solution-grid { grid-template-columns: repeat(3, 1fr); }
.case-grid { grid-template-columns: repeat(3, 1fr); }
.step-grid { grid-template-columns: repeat(5, 1fr); }

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}

.price-row b { font-weight: 700; }

.service-card .price-row:first-of-type { margin-top: 16px; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.band {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
  background: var(--black);
  color: #fff;
  border-radius: 24px;
  padding: 32px;
}

.band p { color: #c8cdd4; margin: 12px 0 20px; max-width: 62ch; }
.band .btn-lime:hover { color: var(--black); }

.band-stat {
  background: #1c1e22;
  border-radius: 18px;
  padding: 18px;
}

.band-stat strong { display: block; font-size: 28px; letter-spacing: -0.04em; margin-bottom: 6px; }
.band-stat span { color: #c8cdd4; font-size: 14px; }

.table-wrap { overflow: auto; max-width: 100%; contain: inline-size; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
caption { text-align: left; padding: 18px 18px 0; font-weight: 700; letter-spacing: -0.02em; }
th, td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--muted); font-weight: 600; }
td a { font-weight: 700; }

.step { padding: 16px; }
.step span { display: block; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; margin-top: 6px; }

.prose { display: flex; flex-direction: column; gap: 14px; color: var(--ink-soft); }
.prose h2, .prose h3 { color: var(--ink); margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 18px; }
.prose li + li { margin-top: 6px; }

.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.price-card { padding: 20px; position: sticky; top: 90px; }
.price-card .sum { font-size: 32px; letter-spacing: -0.04em; font-weight: 700; margin: 8px 0; }
.price-card .btn { width: 100%; margin-top: 12px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 14px; margin: 22px 0 18px; }
.crumbs a { color: var(--muted); }

.page-hero { margin-bottom: 26px; max-width: 760px; }
.page-hero .lead { margin-top: 12px; }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { padding: 0 18px; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 16px 28px 16px 0; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 14px; color: var(--muted); font-size: 20px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); padding-bottom: 16px; }

.quote-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quote { padding: 16px; }
.quote b { display: block; margin-bottom: 4px; }
.quote span { color: var(--faint); font-size: 13px; }
.quote p { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; }

.form { display: flex; flex-direction: column; gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 12px;
  outline: none;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #ff9a70; box-shadow: 0 0 0 4px var(--accent-soft); }
.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; margin-top: 2px; }
.form-status { min-height: 1.2em; font-size: 14px; }
.form-status.is-ok { color: #2d6a1f; }
.form-status.is-err { color: #9a3412; }

.split-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.contact-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.contact-list a { font-weight: 700; font-size: 18px; text-decoration: none; }
address { font-style: normal; }

.site-footer { background: var(--black); color: #d5d8de; padding: 42px 0 22px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 24px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-mark.brand-square { background: transparent; color: #fff; }
.site-footer .logo-sub { color: #aeb4bd; }
.site-footer a { color: #d5d8de; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p, .site-footer li { color: #aeb4bd; }
.site-footer h2 { font-size: 14px; letter-spacing: 0; color: #fff; margin-bottom: 10px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #2a2c31;
  color: #8d939c;
  font-size: 13.5px;
}
.footer-note { margin-top: 14px; max-width: 36ch; }

.sitemap-list { columns: 2; padding-left: 18px; }
.sitemap-list a { font-weight: 600; }

@media (max-width: 1100px) {
  .hero-grid, .layout-2, .split-form, .band, .footer-grid { grid-template-columns: 1fr; }
  .service-grid, .solution-grid, .case-grid, .quote-grid { grid-template-columns: 1fr 1fr; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .console { grid-template-columns: 200px minmax(0, 1fr); }
  .console-rail { display: none; }
  .header-phone { display: none; }
  .price-card { position: static; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { display: none; }
  .front .header-cta { display: inline-flex; }
  .front .site-header { height: auto; }
  .front .header-inner { gap: 10px; min-height: 64px; padding: 8px 0; }
  .front .logo { flex: 1 1 auto; min-width: 0; gap: 8px; }
  .front .logo-mark.brand-square { width: 32px; height: 32px; }
  .front .logo-word { font-size: 15px; letter-spacing: 0.04em; }
  .front .logo-sub { white-space: normal; max-width: 100%; font-size: 9px; line-height: 1.2; }
  .front .header-cta { height: 34px; padding: 0 12px; font-size: 13px; flex: 0 0 auto; }
  .front .nav,
  .front .nav.is-open { display: none; }
  .hero-statement h1 { font-size: clamp(28px, 8vw, 44px); line-height: 1.28; text-wrap: wrap; }
  .btn-ai {
    height: auto;
    min-height: 58px;
    max-width: 100%;
    padding: 10px 18px 10px 10px;
    white-space: normal;
    text-align: left;
    line-height: 1.25;
    font-size: 15px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; }
  .service-grid, .solution-grid, .case-grid, .quote-grid, .trust, .step-grid, .sitemap-list { grid-template-columns: 1fr; columns: 1; }
  .console { grid-template-columns: 1fr; min-height: 0; }
  .console-list { display: none; }
  .container { width: min(var(--container), calc(100% - 28px)); }
  .band { padding: 22px; }
}

.case-deck { position: relative; padding: 8px 20px 28px; }

.case-slide {
  min-height: calc(100dvh - var(--header));
  display: flex;
  align-items: flex-start;
  position: sticky;
  scroll-margin-top: 12px;
}

.case-slide:nth-child(1) { z-index: 1; top: 8px; }
.case-slide:nth-child(2) { z-index: 2; top: 60px; }
.case-slide:nth-child(3) { z-index: 3; top: 112px; }

.case-card {
  position: relative;
  width: min(1080px, 100%);
  margin: 0 auto;
  min-height: calc(100svh - var(--header) - 96px);
  background: #fff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 0 0 2px var(--edge, transparent);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--black);
  opacity: var(--dim, 0);
  pointer-events: none;
  z-index: 5;
}

.case-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 72px;
  align-items: center;
  padding: 48px 56px 56px;
}

.case-kicker {
  margin: 0 0 18px;
  line-height: 1.6;
  color: #9aa1aa;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-body h2 {
  font-size: clamp(56px, 6.4vw, 92px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.case-body p:last-child {
  margin-top: 22px;
  max-width: 22em;
  color: #6b7280;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
}

.cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.cap-list li {
  background: none;
  border-radius: 0;
  border-bottom: 1px solid #eceef2;
  padding: 22px 0;
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.cap-list li:first-child { border-top: 1px solid #eceef2; }

.cap-list li span {
  flex: 0 0 28px;
  color: #c5cad1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.case-dots {
  --dot: 34px;
  --pad: 5px;
  --track: calc(var(--dot) + var(--pad) * 2);
  position: fixed;
  top: calc(50dvh + var(--header) / 2);
  right: calc(25vw - 263px - var(--track) / 2);
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--pad);
  background: #fff;
  border: 1px solid rgba(17, 18, 20, 0.08);
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.case-dots.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.case-dots a {
  width: var(--dot);
  height: var(--dot);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: transparent;
  border: 0;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.case-dots a:hover { background: var(--bg); }

.case-dots a[aria-current="true"],
.case-dots a[aria-current="true"]:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 1240px) {
  .case-dots { display: none; }
}

@media (max-width: 860px) {
  .case-deck { padding: 8px 12px 20px; }
  .case-body {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 20px 32px;
    align-items: start;
  }
  .case-card { min-height: calc(100svh - var(--header) - 80px); }
  .case-dots { display: none; }
}

.process {
  min-height: calc(100dvh - var(--header));
  padding: 72px 0 96px;
}

.process-inner { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }

.process h2 {
  max-width: 11em;
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.process h2 span { color: #c4c9d1; }

.process-lead {
  margin-top: 18px;
  max-width: 40em;
  color: #6b7280;
  font-size: 18px;
  line-height: 1.5;
}

.route {
  position: relative;
  margin-top: 48px;
  padding-left: 28px;
}

.route::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 18px;
  border-left: 2px dashed var(--black);
}

.route-svg { display: none; }

.route-stops {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stop + .stop { margin-top: 22px; }

.stop-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid rgba(17, 18, 20, 0.06);
  border-radius: 18px;
  padding: 20px 22px 22px;
}

.stop-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.stop-top.is-solo { justify-content: flex-end; }

.stop-card span {
  color: #c5cad1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.stop-card h3 {
  margin: 8px 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.stop-card p {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.45;
}

.stop-card .btn-ai-sm {
  margin-top: 16px;
  height: 44px;
  padding: 0 18px 0 6px;
  font-size: 14px;
  gap: 10px;
}

.btn-ai-sm .btn-ai-mark { width: 32px; height: 32px; }

.stop-time {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.route-line {
  stroke: var(--black);
  stroke-width: 2;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-dasharray: 7 8;
}

.is-wide .stop-card { width: 100%; }

.is-end .stop-card {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
  padding: 28px 30px 30px;
}

.is-end .stop-card h3 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.04em;
}

.is-end .stop-card p { color: #a4aab3; font-size: 16px; max-width: 34em; }

.is-end .stop-top { justify-content: space-between; align-items: center; }

.is-end .stop-card .stop-flag {
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.is-end .stop-card .stop-time {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 981px) {
  .route {
    margin-top: 48px;
    padding-left: 0;
  }

  .route::before { display: none; }

  .route-svg {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  .stop {
    position: relative;
    z-index: 1;
    width: 340px;
  }
  .stop + .stop { margin-top: 64px; }
  .is-left { margin-left: 48px; }
  .is-right { margin-left: auto; margin-right: 48px; }
  .is-wide { width: 100%; margin-left: 0; margin-right: 0; }

  .stop-card { width: 100%; }

  .s1 .stop-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 32px;
    padding: 26px 30px 28px;
  }
  .s1 .stop-top { grid-column: 1 / -1; }
  .s1 .stop-card h3 { grid-column: 1; font-size: 28px; }
  .s1 .stop-card p { grid-column: 1; max-width: 36em; font-size: 16px; }
  .s1 .btn-ai-sm { grid-column: 2; grid-row: 2 / 4; align-self: center; margin-top: 0; }
}

@media (max-width: 860px) {
  .process { padding: 36px 0 64px; }
  .process-inner { width: min(1040px, calc(100% - 28px)); }
  .stop-card { padding: 18px 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
