:root {
  --bg: #f5f7fb;
  --paper: #ffffff;
  --ink: #0d2b4d;
  --ink-strong: #071c33;
  --muted: #64748a;
  --muted-2: #8390a2;
  --line: #dce4ee;
  --line-strong: #cbd7e5;
  --blue: #4e79f7;
  --blue-dark: #315fdc;
  --blue-soft: #edf3ff;
  --green: #53c97a;
  --green-dark: #287b48;
  --green-soft: #e9f8ee;
  --navy: #0d2b4d;
  --navy-soft: #eaf0f6;
  --amber-soft: #fff6dd;
  --amber: #9a6b00;
  --danger: #a43b47;
  --shadow-sm: 0 10px 30px rgba(13, 43, 77, .07);
  --shadow: 0 24px 70px rgba(13, 43, 77, .10);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), 880px); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid rgba(78, 121, 247, .42); outline-offset: 3px; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header and brand */
.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid rgba(220, 228, 238, .8);
  background: rgba(245, 247, 251, .88);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 80px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: 58px; height: 36px; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.brand-name { color: var(--ink); font-size: 21px; font-weight: 850; letter-spacing: -.045em; }
.brand-sub { color: #64758b; font-size: 9px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a { color: #53657b; font-size: 14px; font-weight: 650; transition: color .18s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-dark); }
.header-cta { flex: 0 0 auto; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: transparent;
  align-items: center;
  justify-content: center;
}
.menu-button span,
.menu-button::before,
.menu-button::after {
  position: absolute;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.menu-button::before { transform: translateY(-7px); }
.menu-button::after { transform: translateY(7px); }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: rotate(-45deg); }

/* Reusable type and actions */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { width: 22px; height: 2px; border-radius: 2px; background: var(--green); content: ""; }
h1, h2, h3, h4 { margin: 0; color: var(--ink-strong); line-height: 1.08; }
h1, h2 { letter-spacing: -.052em; }
h3 { letter-spacing: -.025em; }
.display-title { font-size: clamp(3.15rem, 5.5vw, 5rem); font-weight: 760; max-width: 850px; }
.section-title { font-size: clamp(2.45rem, 4.2vw, 3.85rem); font-weight: 740; }
.section-title span, .display-title span { color: var(--blue); }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.24rem); line-height: 1.65; }
.muted { color: var(--muted); }
.section { padding: 108px 0; }
.section-sm { padding: 76px 0; }
.section-tint { background: #eef3f9; }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 860px; margin-bottom: 52px; }
.section-head p { max-width: 760px; margin: 22px 0 0; }
.section-head.split { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 70px; max-width: none; }
.section-head.split p { margin: 0; }
.kicker { color: var(--blue-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 13px 20px;
  font-weight: 780;
  line-height: 1.2;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(78, 121, 247, .24); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 15px 34px rgba(78, 121, 247, .3); }
.btn-secondary { border-color: var(--line-strong); background: rgba(255, 255, 255, .78); color: var(--ink); }
.btn-secondary:hover { border-color: #afc1d5; background: #fff; }
.btn-small { min-height: 44px; border-radius: 12px; padding: 10px 16px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-dark); font-weight: 800; }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #5f7086; padding: 8px 12px; font-size: 12px; font-weight: 700; }

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
  background:
    radial-gradient(circle at 82% 5%, rgba(78, 121, 247, .13), transparent 35%),
    radial-gradient(circle at 8% 92%, rgba(83, 201, 122, .1), transparent 30%),
    linear-gradient(180deg, #f9fbfe, var(--bg));
}
.hero::before {
  position: absolute;
  inset: 0;
  opacity: .44;
  background-image: linear-gradient(rgba(13, 43, 77, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 43, 77, .035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  content: "";
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 58px; align-items: center; }
.hero-copy .lead { max-width: 720px; margin: 28px 0 30px; }
.hero-note { display: flex; gap: 12px; max-width: 690px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: #65758a; font-size: 14px; }
.hero-note::before { width: 9px; height: 9px; flex: 0 0 auto; margin-top: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(83, 201, 122, .12); content: ""; }
.hero-visual { position: relative; }
.hero-visual::after {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 70%;
  height: 70%;
  border-radius: 32px;
  background: rgba(78, 121, 247, .1);
  content: "";
}
.hero-model {
  display: block;
  overflow: hidden;
  border: 1px solid #d8e3f0;
  border-radius: 30px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}
.hero-model img { width: 100%; height: auto; }
.trust-bar { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .66); }
.trust-inner { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 18px; color: #65758a; font-size: 13px; font-weight: 700; }
.trust-inner span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust-inner span::before { width: 5px; height: 5px; border-radius: 50%; background: #a9b8c9; content: ""; }

/* Problem to outcome */
.transformation-board { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow-sm); }
.transform-head, .transform-row { display: grid; grid-template-columns: 1fr 76px 1fr; }
.transform-head { border-bottom: 1px solid var(--line); background: #f8fafc; }
.transform-head div { padding: 18px 28px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.transform-head div:last-child { color: var(--green-dark); }
.transform-row { align-items: stretch; border-bottom: 1px solid var(--line); }
.transform-row:last-child { border-bottom: 0; }
.transform-cell { padding: 25px 28px; }
.transform-cell h3 { font-size: 20px; margin-bottom: 8px; }
.transform-cell p { margin: 0; color: var(--muted); font-size: 14px; }
.transform-arrow { display: grid; place-items: center; border-inline: 1px solid var(--line); background: #fafcff; color: var(--blue); font-size: 23px; }
.transform-cell.result { background: linear-gradient(90deg, rgba(233, 248, 238, .54), transparent); }
.formula { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; border-radius: 20px; background: var(--ink); color: #fff; padding: 22px 26px; }
.formula strong { font-size: clamp(1rem, 2.2vw, 1.35rem); letter-spacing: .06em; }
.formula strong span { color: #8fb0ff; }
.formula .text-link { color: #aec3ff; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.service-card {
  display: flex;
  min-height: 360px;
  grid-column: span 2;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #dbe4ee;
  border-radius: 24px;
  background: rgba(255, 255, 255, .87);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-card:nth-child(5) { grid-column: 4 / span 2; }
.service-card:hover { transform: translateY(-4px); border-color: #c6d5e7; box-shadow: var(--shadow-sm); }
.service-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--blue-soft); color: var(--blue-dark); font-size: 12px; font-weight: 850; }
.service-card h3 { margin: 32px 0 13px; overflow-wrap: anywhere; font-size: 23px; }
.service-card p { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.service-meta { margin-top: auto; border-top: 1px solid var(--line); padding-top: 17px; color: #7b899a; font-size: 12px; }
.service-more { margin-top: 17px; }

/* Cases and interface mockups */
.case-list { display: grid; gap: 24px; }
.case-card {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  padding: 42px;
  box-shadow: var(--shadow-sm);
}
.case-card:nth-child(even) { grid-template-columns: 1.15fr .85fr; }
.case-card:nth-child(even) .case-copy { order: 2; }
.case-copy h3 { margin: 17px 0 14px; font-size: clamp(1.85rem, 3vw, 2.6rem); }
.case-copy p { margin: 0 0 20px; color: var(--muted); }
.case-label { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.case-label::before { width: 8px; height: 8px; border-radius: 50%; background: var(--green); content: ""; }
.case-points { display: grid; gap: 8px; margin: 20px 0 25px; padding: 0; list-style: none; }
.case-points li { display: flex; gap: 10px; color: #56677c; font-size: 14px; }
.case-points li::before { color: var(--green-dark); font-weight: 900; content: "✓"; }
.case-links { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.text-link-secondary { color: #6b7d91; font-weight: 720; }
.interface-wrap { position: relative; min-width: 0; }
.mockup-caption { display: flex; justify-content: space-between; gap: 10px; margin: 0 4px 10px; color: #8190a2; font-size: 11px; }
.mockup-caption strong { color: #627187; font-weight: 800; }
.mockup-caption span { text-align: right; }
.interface-visual-link {
  display: block;
  overflow: hidden;
  border: 1px solid #cfd9e5;
  border-radius: 18px;
  background: #eef2f6;
  box-shadow: 0 22px 48px rgba(13, 43, 77, .14);
}
.interface-visual-link img { display: block; width: 100%; height: auto; transition: transform .2s ease; }
.interface-visual-link:hover img { transform: scale(1.012); }
.ui-window {
  overflow: hidden;
  border: 1px solid #cfd9e5;
  border-radius: 18px;
  background: #f7f8fa;
  box-shadow: 0 22px 48px rgba(13, 43, 77, .14);
}
.ui-titlebar { display: flex; min-height: 37px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #d7dde5; background: #eceff2; padding: 0 13px; color: #3b4a5d; font-size: 11px; font-weight: 800; }
.ui-dots { display: flex; gap: 5px; }
.ui-dots i { width: 7px; height: 7px; border-radius: 50%; background: #b9c1ca; }
.ui-toolbar { display: flex; align-items: center; gap: 7px; border-bottom: 1px solid #dce2e9; background: #fff; padding: 8px 10px; }
.ui-button { display: inline-flex; min-height: 25px; align-items: center; border: 1px solid #ccd5df; border-radius: 6px; background: #fff; padding: 4px 8px; color: #425368; font-size: 9px; font-weight: 750; }
.ui-button.primary { border-color: #e0b84e; background: #f7da73; color: #574500; }
.ui-filter { margin-left: auto; border: 1px solid #d7dee6; border-radius: 6px; background: #f7f9fb; padding: 4px 8px; color: #738095; font-size: 9px; }
.ui-grid-head, .ui-grid-row { display: grid; align-items: center; }
.ui-grid-head { min-height: 29px; border-bottom: 1px solid #d8dfe7; background: #f0f2f5; color: #697687; font-size: 8px; font-weight: 800; }
.ui-grid-row { min-height: 38px; border-bottom: 1px solid #e4e8ed; background: #fff; color: #445367; font-size: 9px; }
.ui-grid-row:last-child { border-bottom: 0; }
.ui-grid-head > span, .ui-grid-row > span { min-width: 0; overflow: hidden; padding: 5px 8px; text-overflow: ellipsis; white-space: nowrap; }
.planning-grid .ui-grid-head, .planning-grid .ui-grid-row { grid-template-columns: 1.05fr .7fr .55fr 1.7fr; }
.gantt-track { position: relative; height: 22px; border-radius: 4px; background: repeating-linear-gradient(90deg, #f3f5f8 0 24%, #e6ebf0 25%, #f3f5f8 26% 49%); }
.gantt-bar { position: absolute; top: 5px; left: var(--start); width: var(--width); height: 12px; border-radius: 4px; background: var(--blue); box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); }
.gantt-bar.green { background: #5cbd7c; }
.gantt-bar.navy { background: #678098; }
.status { display: inline-flex; width: max-content; align-items: center; gap: 5px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); padding: 3px 7px; font-size: 8px; font-weight: 850; }
.status::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }
.status.wait { background: var(--amber-soft); color: var(--amber); }
.trace-layout { display: grid; grid-template-columns: .72fr 1.28fr; min-height: 280px; }
.scanner-panel { display: flex; flex-direction: column; border-right: 1px solid #dce2e9; background: #f2f4f6; padding: 13px; }
.scanner-screen { flex: 1; border: 1px solid #ced7df; border-radius: 12px; background: #fff; padding: 12px; box-shadow: inset 0 0 0 4px #edf0f3; }
.scanner-top { display: flex; align-items: center; justify-content: space-between; color: #667488; font-size: 8px; }
.scan-ok { display: grid; width: 45px; height: 45px; place-items: center; margin: 18px auto 11px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-size: 22px; font-weight: 900; }
.scanner-screen strong { display: block; text-align: center; color: #253a52; font-size: 11px; }
.scanner-screen small { display: block; margin-top: 4px; text-align: center; color: #778599; font-size: 8px; }
.scan-code { margin-top: 13px; border-radius: 6px; background: #f3f5f7; padding: 7px; color: #55657a; font: 7px/1.3 ui-monospace, monospace; text-align: center; }
.scanner-key { height: 25px; margin-top: 10px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 8px; display: grid; place-items: center; font-weight: 800; }
.trace-table .ui-grid-head, .trace-table .ui-grid-row { grid-template-columns: 1.2fr .72fr .68fr .72fr; }
.trace-chain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; border-top: 1px solid #dde3e9; background: #f9fafb; }
.trace-chain span { position: relative; border: 1px solid #d8e0e9; border-radius: 7px; background: #fff; padding: 7px 5px; color: #5d6c80; font-size: 7px; font-weight: 750; text-align: center; }
.trace-chain span::after { position: absolute; top: 50%; right: -7px; color: #8aa3c9; content: "›"; transform: translateY(-54%); }
.trace-chain span:last-child::after { display: none; }
.mes-shell { background: #f3f5f7; padding: 11px; }
.mes-top { display: grid; grid-template-columns: 1.2fr .8fr .65fr; gap: 8px; margin-bottom: 8px; }
.mes-tile { border: 1px solid #d7dfe8; border-radius: 10px; background: #fff; padding: 9px 10px; }
.mes-tile small { display: block; color: #8190a2; font-size: 7px; font-weight: 750; text-transform: uppercase; }
.mes-tile strong { display: block; margin-top: 3px; color: #243a54; font-size: 12px; }
.mes-tile .live { color: var(--green-dark); }
.mes-main { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8px; }
.mes-task { min-height: 140px; border: 1px solid #d7dfe8; border-radius: 10px; background: #fff; padding: 13px; }
.mes-task-head { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #e2e7ed; padding-bottom: 9px; }
.mes-task h4 { font-size: 13px; }
.mes-task p { margin: 5px 0 0; color: #718096; font-size: 8px; }
.mes-progress { height: 8px; overflow: hidden; margin: 16px 0 6px; border-radius: 999px; background: #e7ebf0; }
.mes-progress i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #6e95ff); }
.mes-progress-meta { display: flex; justify-content: space-between; color: #6d7c8e; font-size: 8px; }
.mes-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 13px; }
.mes-actions span { min-height: 31px; display: grid; place-items: center; border-radius: 7px; background: var(--blue); color: #fff; font-size: 8px; font-weight: 850; }
.mes-actions span:last-child { border: 1px solid #e4c46c; background: #fff6cf; color: #6b550e; }
.mes-side { display: grid; gap: 7px; }
.mes-side .mes-tile { display: flex; flex-direction: column; justify-content: center; }

/* Method and about */
.method-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
.approach-compare { display: grid; gap: 12px; margin-top: 30px; }
.compare-line { display: grid; grid-template-columns: 120px 1fr; gap: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 17px 18px; }
.compare-line span { color: #9fb0c5; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.compare-line p { margin: 0; color: #d5dfeb; font-size: 14px; }
.compare-line.highlight { border-color: rgba(108, 143, 248, .42); background: rgba(78, 121, 247, .12); }
.method-steps { counter-reset: method; display: grid; gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: rgba(255,255,255,.13); }
.method-step { counter-increment: method; display: grid; grid-template-columns: 50px 1fr; gap: 16px; background: #153a60; padding: 22px 24px; }
.method-step::before { color: #90adff; font-size: 12px; font-weight: 850; content: "0" counter(method); }
.method-step strong { display: block; color: #fff; font-size: 18px; }
.method-step p { margin: 5px 0 0; color: #b9c8d9; font-size: 13px; }
.method-step b { color: #83d89f; font-weight: 800; }
.about-panel { display: grid; grid-template-columns: .92fr 1.08fr; gap: 1px; overflow: hidden; border: 1px solid #d7e0ea; border-radius: 30px; background: #d7e0ea; box-shadow: var(--shadow-sm); }
.about-intro { position: relative; overflow: hidden; min-height: 500px; background: var(--ink); padding: 48px; color: #fff; }
.about-intro::before { position: absolute; right: -150px; bottom: -185px; width: 430px; height: 430px; border: 1px solid rgba(143,176,255,.25); border-radius: 50%; content: ""; box-shadow: 0 0 0 54px rgba(143,176,255,.045), 0 0 0 108px rgba(143,176,255,.025); }
.about-intro > * { position: relative; }
.about-intro .eyebrow { color: #8fb0ff; }
.about-intro h2 { max-width: 650px; color: #fff; font-size: clamp(2.25rem, 4vw, 3.65rem); }
.about-intro h2 span { color: #8fb0ff; }
.about-intro > p { margin: 24px 0 30px; color: #bdcad8; font-size: 17px; line-height: 1.7; }
.about-statement { max-width: 520px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; color: #fff; font-size: 18px; font-weight: 800; }
.about-body { background: #fff; padding: 48px; }
.about-lead { margin: 0 0 32px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-grid article { min-height: 190px; border: 1px solid #e0e6ed; border-radius: 18px; background: #f6f8fb; padding: 22px; }
.about-grid article > span { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.about-grid h3 { margin: 19px 0 9px; font-size: 18px; }
.about-grid p { margin: 0; color: #66768a; font-size: 14px; line-height: 1.6; }
.interface-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 34px; }
.interface-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 34px rgba(13, 43, 77, .08); }
.interface-thumb { display: block; overflow: hidden; aspect-ratio: 14 / 9; background: #eef2f6; }
.interface-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.interface-card:hover .interface-thumb img { transform: scale(1.015); }
.interface-card figcaption { padding: 17px 19px 19px; }
.interface-card strong { display: block; font-size: 17px; }
.interface-card span { display: block; margin-top: 5px; color: var(--muted-2); font-size: 12px; }
.mini-window { overflow: hidden; height: 133px; border: 1px solid #ccd6e1; border-radius: 9px; background: #fff; box-shadow: 0 9px 24px rgba(13,43,77,.1); }
.mini-bar { height: 18px; border-bottom: 1px solid #d5dce5; background: #e9ecef; }
.mini-tools { height: 21px; border-bottom: 1px solid #e0e5eb; background: linear-gradient(90deg, #f5d96e 0 25%, #fff 25%); }
.mini-lines { display: grid; gap: 5px; padding: 10px; }
.mini-lines i { height: 8px; border-radius: 2px; background: #e9edf2; }
.mini-lines i:nth-child(2) { width: 78%; }
.mini-lines i:nth-child(3) { width: 92%; background: #dfe8ff; }
.mini-chart { height: 91px; display: flex; align-items: end; gap: 5px; padding: 13px; }
.mini-chart i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: #8aa8ff; }
.mini-board { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; padding: 10px; }
.mini-board i { height: 39px; border-radius: 5px; background: #e7edf7; }
.mini-board i:nth-child(2), .mini-board i:nth-child(5) { background: #e5f6eb; }

/* FAQ */
.faq-shell { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; min-height: 76px; display: flex; align-items: center; padding: 20px 48px 20px 0; color: var(--ink); font-size: 18px; font-weight: 750; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; right: 4px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); content: "+"; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { max-width: 750px; padding: 0 48px 24px 0; color: var(--muted); }
.faq-answer p { margin: 0; }

/* Contact */
.contact-section { padding: 42px 0 106px; }
.contact-box { display: grid; grid-template-columns: .86fr 1.14fr; gap: 56px; border: 1px solid #d8e2ed; border-radius: 34px; background: linear-gradient(135deg, #edf3ff, #eef9f2); padding: 54px; box-shadow: var(--shadow); }
.contact-copy h2 { font-size: clamp(2.35rem, 4.3vw, 3.8rem); }
.contact-copy > p { margin: 20px 0; color: var(--muted); font-size: 17px; }
.direct-links { display: grid; gap: 8px; margin-top: 26px; }
.direct-link { display: flex; min-height: 54px; align-items: center; gap: 12px; border: 1px solid #d8e1eb; border-radius: 14px; background: rgba(255,255,255,.72); padding: 10px 13px; font-size: 14px; font-weight: 750; }
.direct-icon { display: grid; width: 33px; height: 33px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--blue); color: #fff; font-size: 12px; }
.lead-form { border: 1px solid #d9e1ea; border-radius: 24px; background: #fff; padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field-label { color: #53657b; font-size: 12px; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d4dde7;
  border-radius: 12px;
  background: #fbfcfe;
  padding: 11px 13px;
  outline: 0;
}
.field textarea { min-height: 116px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #91aaf9; box-shadow: 0 0 0 3px rgba(78,121,247,.11); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.consent-row { display: grid; grid-template-columns: 20px 1fr; gap: 9px; margin: 15px 0; color: #66768a; font-size: 11px; line-height: 1.5; }
.consent-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.legal-link { color: var(--blue-dark); font-weight: 750; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.lead-form .btn { width: 100%; }
.lead-form button[disabled] { cursor: wait; opacity: .72; transform: none; }
.form-note { min-height: 20px; margin: 10px 0 0; color: var(--muted-2); font-size: 11px; }
.form-note.success { color: var(--green-dark); font-weight: 750; }
.form-note.error { color: var(--danger); font-weight: 750; }

/* Footer and cookies */
.footer { padding: 36px 0 44px; }
.footer-top { display: grid; grid-template-columns: .8fr 1.2fr auto; gap: 38px; align-items: start; border-top: 1px solid var(--line); padding-top: 30px; }
.footer-brand .brand-name { font-size: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #64758a; font-size: 13px; }
.footer-links a:hover { color: var(--blue-dark); }
.footer-up { color: var(--blue-dark); font-size: 13px; font-weight: 800; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: #8290a1; font-size: 11px; }
.footer-legal button { border: 0; background: transparent; padding: 0; color: #63758a; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner[hidden] { display: none !important; }
.cookie-banner { position: fixed; z-index: 120; right: 18px; bottom: 18px; width: min(calc(100% - 36px), 500px); border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.98); padding: 18px; box-shadow: 0 24px 70px rgba(13,43,77,.2); backdrop-filter: blur(15px); }
.cookie-banner strong { display: block; margin-bottom: 4px; font-size: 15px; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: 12px; }
.cookie-actions { display: flex; gap: 8px; margin-top: 14px; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: 66px 0 76px; background: linear-gradient(180deg, #fafcff, #f3f6fa); }
.page-hero::after { position: absolute; top: -220px; right: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(78,121,247,.14), transparent 68%); content: ""; }
.breadcrumbs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 34px; color: #7b899a; font-size: 12px; }
.breadcrumbs a:hover { color: var(--blue-dark); }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(2.9rem, 5.5vw, 4.9rem); font-weight: 750; }
.page-hero .lead { margin: 24px 0 28px; max-width: 750px; }
.hero-aside { border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.88); padding: 26px; box-shadow: var(--shadow-sm); }
.hero-aside-label { color: var(--blue-dark); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.hero-aside-flow { display: grid; gap: 7px; margin-top: 18px; }
.hero-aside-flow span { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 10px; border-radius: 11px; background: #f0f4f8; padding: 9px 12px; color: #53667c; font-size: 13px; font-weight: 700; }
.hero-aside-flow span::after { color: var(--blue); content: "→"; }
.hero-aside-flow span:last-child { background: var(--blue); color: #fff; }
.hero-aside-flow span:last-child::after { color: #fff; content: "✓"; }
.landing-barrier { display: flex; gap: 10px; max-width: 700px; margin: 22px 0 0; color: #65758a; font-size: 14px; }
.landing-barrier::before { width: 8px; height: 8px; flex: 0 0 auto; margin-top: 7px; border-radius: 50%; background: var(--green); content: ""; }
.content-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; align-items: start; }
.side-title { position: sticky; top: 116px; }
.side-title h2 { font-size: clamp(2rem, 3.3vw, 3rem); }
.side-title p { color: var(--muted); }
.story-stack { display: grid; gap: 16px; }
.story-card { border: 1px solid var(--line); border-radius: 22px; background: #fff; padding: 28px; }
.story-card h3 { margin-bottom: 10px; font-size: 22px; }
.story-card p { margin: 0; color: var(--muted); }
.story-card ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.story-card li + li { margin-top: 6px; }
.process-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 30px 0; }
.flow-step { position: relative; min-height: 124px; border: 1px solid var(--line); border-radius: 17px; background: #fff; padding: 17px; }
.flow-step::after { position: absolute; z-index: 2; top: 50%; right: -9px; width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #cbd8e7; border-radius: 50%; background: var(--bg); color: var(--blue); font-size: 11px; content: "›"; transform: translateY(-50%); }
.flow-step:last-child::after { display: none; }
.flow-step span { color: var(--blue-dark); font-size: 10px; font-weight: 850; }
.flow-step strong { display: block; margin-top: 12px; font-size: 14px; line-height: 1.3; }
.result-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.result-card { border: 1px solid #cae9d4; border-radius: 18px; background: #f5fcf7; padding: 22px; }
.result-card span { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); font-weight: 900; }
.result-card h3 { margin: 20px 0 8px; font-size: 18px; }
.result-card p { margin: 0; color: #627568; font-size: 13px; }
.landing-solution .result-grid { grid-template-columns: repeat(4, 1fr); }
.landing-note-card { margin-top: 18px; border: 1px solid #d3deec; border-left: 4px solid var(--blue); border-radius: 18px; background: #fff; padding: 22px 24px; }
.landing-note-card h3 { font-size: 20px; }
.landing-note-card p { margin: 8px 0 0; color: var(--muted); }
.technical-band { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; border-radius: 28px; background: var(--ink); color: #fff; padding: 42px; }
.technical-band h2 { color: #fff; font-size: clamp(2rem, 3.2vw, 3rem); }
.technical-band p { color: #b8c7d7; }
.tech-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-list span { border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.06); padding: 9px 12px; color: #dce6ef; font-size: 12px; }
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.link-card { display: flex; min-height: 320px; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; background: #fff; padding: 28px; box-shadow: var(--shadow-sm); }
.link-card .case-label { margin-bottom: 28px; }
.link-card h2, .link-card h3 { font-size: 26px; }
.link-card p { color: var(--muted); }
.link-card .text-link { margin-top: auto; }
.intent-problems { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.intent-card { border-top: 3px solid var(--blue); border-radius: 4px 4px 18px 18px; background: #fff; padding: 23px; box-shadow: var(--shadow-sm); }
.intent-card h3 { font-size: 19px; }
.intent-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.compact-case { display: grid; grid-template-columns: .9fr 1.1fr; gap: 38px; align-items: center; border: 1px solid var(--line); border-radius: 28px; background: #fff; padding: 34px; }
.compact-case h2 { font-size: clamp(2rem, 3.3vw, 3rem); }
.compact-case p { color: var(--muted); }
.case-proof dl { display: grid; gap: 13px; margin: 24px 0; }
.case-proof dl > div { border-left: 2px solid #d8e2ef; padding-left: 14px; }
.case-proof dt { color: var(--blue-dark); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.case-proof dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.landing-related-links { display: grid; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.landing-related-links .related-service-link { min-height: 42px; padding: 8px 11px; }
.compact-faq { align-items: start; }
.related-section { padding-top: 0; }
.related-services { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; border: 1px solid var(--line); border-radius: 26px; background: #fff; padding: 34px; }
.related-services h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.related-services p { margin: 12px 0 0; color: var(--muted); }
.related-service-list { display: grid; gap: 10px; }
.related-service-link { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 14px; background: #f7f9fc; padding: 13px 16px; color: var(--ink); font-size: 14px; font-weight: 760; transition: border-color .18s ease, background .18s ease; }
.related-service-link:hover { border-color: #bdcee3; background: var(--blue-soft); }
.related-service-link > span:last-child { flex: 0 0 auto; color: var(--blue); }
.simple-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.simple-step { border: 1px solid var(--line); border-radius: 17px; background: #fff; padding: 20px; }
.simple-step span { color: var(--blue-dark); font-size: 11px; font-weight: 850; }
.simple-step h3 { margin: 18px 0 7px; font-size: 18px; }
.simple-step p { margin: 0; color: var(--muted); font-size: 13px; }

/* Thanks, error and legal */
.status-page { min-height: calc(100vh - 80px); display: grid; place-items: center; padding: 70px 0; }
.status-card { max-width: 720px; border: 1px solid var(--line); border-radius: 32px; background: #fff; padding: clamp(32px, 6vw, 64px); text-align: center; box-shadow: var(--shadow); }
.status-icon { display: grid; width: 72px; height: 72px; place-items: center; margin: 0 auto 26px; border-radius: 22px; background: var(--green-soft); color: var(--green-dark); font-size: 30px; font-weight: 900; }
.status-card h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); }
.status-card p { margin: 20px auto 28px; color: var(--muted); font-size: 18px; }
.legal-main { padding: 62px 0 90px; }
.legal-intro { margin-bottom: 28px; }
.legal-intro h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.legal-intro p { max-width: 760px; color: var(--muted); }
.legal-note { margin: 20px 0; border: 1px solid #ead899; border-radius: 17px; background: var(--amber-soft); padding: 17px 19px; color: #69551d; }
.legal-card { scroll-margin-top: 110px; margin-top: 22px; border: 1px solid var(--line); border-radius: 26px; background: #fff; padding: clamp(24px, 4vw, 46px); box-shadow: var(--shadow-sm); }
.legal-card h2 { margin-bottom: 22px; font-size: 30px; }
.legal-card h3 { margin: 30px 0 9px; font-size: 20px; }
.legal-card p, .legal-card li, .legal-card dd { color: #596b80; line-height: 1.72; }
.legal-card ul { padding-left: 22px; }
.legal-meta { display: grid; grid-template-columns: 170px 1fr; gap: 8px 18px; margin: 20px 0; }
.legal-meta dt { font-weight: 800; }
.legal-meta dd { margin: 0; }
.legal-card a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }

/* Responsive */
@media (max-width: 1120px) {
  .nav { gap: 16px; }
  .hero-grid { gap: 38px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { min-height: 320px; grid-column: auto; }
  .landing-solution .result-grid { grid-template-columns: repeat(2,1fr); }
  .case-card, .case-card:nth-child(even) { grid-template-columns: .92fr 1.08fr; gap: 28px; padding: 32px; }
  .case-card:nth-child(even) .case-copy { order: initial; }
  .interface-gallery { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .container, .narrow { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { min-height: 72px; }
  .nav, .header-cta { display: none; }
  .menu-button { position: relative; display: inline-flex; }
  .nav.open { position: fixed; top: 72px; left: 16px; right: 16px; display: grid; gap: 2px; margin: 0; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); padding: 10px; box-shadow: var(--shadow); }
  .nav.open a { min-height: 48px; display: flex; align-items: center; border-radius: 10px; padding: 0 12px; font-size: 16px; }
  .nav.open a:hover { background: var(--blue-soft); }
  .hero { padding: 60px 0 56px; }
  .hero-grid, .section-head.split, .method-grid, .about-panel, .faq-shell, .contact-box, .page-hero-grid, .content-grid, .technical-band, .compact-case, .related-services { grid-template-columns: 1fr; }
  .hero-copy .lead { margin: 22px 0 26px; }
  .hero-visual { max-width: 720px; }
  .trust-inner { justify-content: flex-start; overflow: hidden; flex-wrap: wrap; padding: 18px 0; }
  .section { padding: 82px 0; }
  .section-sm { padding: 62px 0; }
  .transform-head, .transform-row { grid-template-columns: 1fr 54px 1fr; }
  .transform-cell { padding: 21px; }
  .case-card, .case-card:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .case-card .case-copy { order: initial; }
  .method-grid { gap: 38px; }
  .faq-shell { gap: 28px; }
  .faq-shell .section-head { margin-bottom: 0; }
  .contact-box { gap: 36px; padding: 38px; }
  .page-hero { padding: 48px 0 58px; }
  .page-hero-grid { gap: 34px; }
  .hero-aside { max-width: 700px; }
  .content-grid { gap: 34px; }
  .side-title { position: static; }
  .process-flow { grid-template-columns: repeat(3,1fr); }
  .process-flow .flow-step:nth-child(3)::after { display: none; }
  .process-flow .flow-step:nth-child(4) { grid-column: 1 / 2; }
  .technical-band { gap: 25px; }
  .cards-3, .intent-problems { grid-template-columns: 1fr 1fr; }
  .simple-steps { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr auto; }
  .footer-links { grid-column: 1 / -1; order: 3; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .brand-mark { width: 50px; height: 31px; }
  .brand-name { font-size: 19px; }
  .brand-sub { display: none; }
  .display-title { font-size: clamp(2.4rem, 11vw, 3.35rem); }
  .section-title { font-size: clamp(2.1rem, 9vw, 2.75rem); }
  .eyebrow { margin-bottom: 14px; font-size: 10px; letter-spacing: .12em; }
  .hero { padding: 44px 0 42px; }
  .hero-grid { gap: 34px; }
  .hero-copy .lead { font-size: 16px; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .hero-note { margin-top: 24px; font-size: 13px; }
  .hero-model { border-radius: 20px; }
  .trust-inner { gap: 8px; }
  .trust-inner span { border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 6px 9px; font-size: 10px; }
  .trust-inner span::before { display: none; }
  .section { padding: 66px 0; }
  .section-sm { padding: 50px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head p { margin-top: 17px; font-size: 15px; }
  .transform-head { display: none; }
  .transform-row { grid-template-columns: 1fr; }
  .transform-cell { padding: 21px; }
  .transform-arrow { min-height: 38px; border: 0; border-block: 1px solid var(--line); font-size: 0; }
  .transform-arrow::before { font-size: 20px; content: "↓"; }
  .transform-cell.result { background: var(--green-soft); }
  .formula { align-items: flex-start; flex-direction: column; padding: 20px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { min-height: auto; padding: 22px; }
  .service-card h3 { margin: 25px 0 10px; font-size: 22px; }
  .case-card, .case-card:nth-child(even) { border-radius: 22px; padding: 20px; }
  .case-copy h3 { font-size: 28px; }
  .planning-grid .ui-grid-head, .planning-grid .ui-grid-row { grid-template-columns: 1.15fr .75fr 1.45fr; }
  .planning-grid .ui-grid-head > span:nth-child(3), .planning-grid .ui-grid-row > span:nth-child(3) { display: none; }
  .trace-layout { grid-template-columns: 1fr; }
  .scanner-panel { border-right: 0; border-bottom: 1px solid #dce2e9; }
  .scanner-screen { min-height: 210px; }
  .trace-table .ui-grid-head, .trace-table .ui-grid-row { grid-template-columns: 1.2fr .75fr .72fr; }
  .trace-table .ui-grid-head > span:nth-child(3), .trace-table .ui-grid-row > span:nth-child(3) { display: none; }
  .mes-top { grid-template-columns: 1fr 1fr; }
  .mes-top .mes-tile:last-child { grid-column: 1 / -1; }
  .mes-main { grid-template-columns: 1fr; }
  .mes-side { grid-template-columns: 1fr 1fr; }
  .about-intro, .about-body { padding: 26px; }
  .about-intro { min-height: auto; }
  .about-grid, .interface-gallery { grid-template-columns: 1fr; }
  .about-grid article { min-height: auto; }
  .faq-item summary { min-height: 68px; padding-right: 42px; font-size: 16px; }
  .contact-section { padding: 8px 0 72px; }
  .contact-box { border-radius: 24px; padding: 23px 18px; }
  .contact-copy > p { font-size: 15px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .lead-form { border-radius: 18px; padding: 18px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 18px; }
  .footer-links { grid-column: auto; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .cookie-actions { display: grid; grid-template-columns: 1fr; }
  .page-hero h1 { font-size: clamp(2.4rem, 10.4vw, 3.3rem); }
  .page-hero .lead { font-size: 16px; }
  .process-flow { grid-template-columns: 1fr; }
  .process-flow .flow-step:nth-child(4) { grid-column: auto; }
  .flow-step { min-height: auto; }
  .flow-step::after, .process-flow .flow-step:nth-child(3)::after { top: auto; right: 50%; bottom: -10px; display: grid; transform: translateX(50%) rotate(90deg); }
  .flow-step:last-child::after { display: none; }
  .result-grid, .landing-solution .result-grid, .cards-3, .intent-problems, .simple-steps { grid-template-columns: 1fr; }
  .link-card { min-height: 260px; padding: 23px; }
  .compact-case { padding: 22px; }
  .technical-band { padding: 26px 22px; }
  .legal-main { padding: 42px 0 70px; }
  .legal-card { border-radius: 20px; }
  .legal-meta { grid-template-columns: 1fr; }
  .legal-meta dd { margin-bottom: 7px; }
}

@media (max-width: 380px) {
  .container, .narrow { width: min(calc(100% - 22px), var(--container)); }
  .brand-mark { width: 46px; height: 29px; }
  .brand-name { font-size: 18px; }
  .menu-button { width: 40px; height: 40px; }
  .case-card { padding: 16px; }
  .ui-titlebar { padding-inline: 9px; }
  .ui-filter { display: none; }
  .trace-chain { grid-template-columns: 1fr; }
  .trace-chain span::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .footer, .cookie-banner, .btn, .direct-links { display: none !important; }
  body { background: #fff; }
  .legal-card { border: 0; box-shadow: none; padding: 0; }
}
