:root {
  --bg: #06110f;
  --ink: #f1fff9;
  --muted: #a7c9bb;
  --soft: #789789;
  --panel: #10201c;
  --panel-2: #142a24;
  --line: rgba(166, 255, 219, 0.18);
  --line-strong: rgba(166, 255, 219, 0.34);
  --green: #48f59a;
  --cyan: #28d7ff;
  --gold: #f3bd42;
  --coral: #ff7b73;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(40, 215, 255, 0.08), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(72, 245, 154, 0.13), transparent 28%),
    var(--bg);
  color: var(--ink);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 940px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}
h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}
p { color: var(--muted); }
button, input, textarea, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 17, 15, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px var(--green);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 7px 12px;
  color: var(--ink);
}
.menu-button {
  display: none;
  justify-self: end;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.76fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(54px, 9vw, 116px) clamp(18px, 6vw, 86px) clamp(42px, 6vw, 76px);
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.lead {
  max-width: 720px;
  font-size: 20px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.button.primary {
  border-color: transparent;
  background: var(--green);
  color: #03100b;
}
.button.secondary {
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
}
.button:disabled { opacity: 0.6; cursor: wait; }

.hero-visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(20, 42, 36, 0.86), rgba(9, 24, 20, 0.9));
  box-shadow: var(--shadow);
}
.hero-visual img {
  display: block;
  width: 100%;
  border-radius: 6px;
}
.hero-visual figcaption {
  padding: 12px 4px 0;
  color: var(--soft);
  font-size: 13px;
}

.section {
  position: relative;
  padding: clamp(62px, 8vw, 108px) clamp(18px, 6vw, 86px);
}
.section-heading {
  max-width: 900px;
  margin-bottom: 30px;
}
.service-grid,
.industry-grid,
.case-grid,
.privacy-grid,
.timeline {
  display: grid;
  gap: 18px;
}
.service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.industry-grid,
.case-grid,
.privacy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.industry-card,
.case-card,
.privacy-card,
.system-panel,
.contact-form,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(20, 42, 36, 0.88), rgba(12, 28, 24, 0.92));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}
.service-card,
.industry-card,
.case-card,
.privacy-card,
.step {
  min-height: 230px;
  padding: 24px;
}
.service-card span,
.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: rgba(40, 215, 255, 0.12);
  color: var(--cyan);
  font-weight: 900;
}
.industry-card button {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  cursor: pointer;
  padding: 8px 12px;
  font-weight: 800;
}

.workflow,
.audience,
.privacy {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.workflow-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.workflow-map div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
}
.workflow-map strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.workflow-map > span {
  align-self: center;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.brand-meaning {
  background: linear-gradient(180deg, rgba(72, 245, 154, 0.05), rgba(40, 215, 255, 0.035));
}
.meaning-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.meaning-grid div {
  display: grid;
  gap: 8px;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}
.meaning-grid strong {
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}
.meaning-grid span {
  color: var(--ink);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}
.system-panel {
  padding: 22px;
}
.system-panel div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.system-panel div:last-of-type { border-bottom: 0; }
.system-panel span { color: var(--soft); }
.system-panel strong { text-align: right; }

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--ink);
  padding: 12px;
}
select option { color: #06110f; }
textarea { resize: vertical; }
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(40, 215, 255, 0.34);
  border-color: var(--cyan);
}
input[type="range"] {
  accent-color: var(--green);
  padding: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
}
.contact-copy { max-width: 740px; }
.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 6vw, 86px);
  border-top: 1px solid var(--line);
  color: var(--soft);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chat-widget {
  position: fixed;
  right: 16px;
  bottom: 90px;
  z-index: 30;
}
.chat-launcher-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.header-ai-slot {
  justify-self: center;
  min-width: 0;
}
.ai-chat-launcher {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 174px;
  min-height: 42px;
  border: 1px solid rgba(115, 255, 139, 0.92);
  border-radius: 999px;
  padding: 5px 15px 5px 5px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 50%, rgba(91, 255, 117, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(2, 8, 7, 0.98), rgba(10, 48, 25, 0.96) 48%, rgba(2, 14, 12, 0.98)),
    var(--green);
  color: #eafff7;
  font: inherit;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(96, 255, 111, 0.28), 0 0 22px rgba(67, 245, 91, 0.38), 0 0 58px rgba(67, 245, 91, 0.16), var(--shadow);
  cursor: pointer;
  animation: aiChatPulse 2.6s ease-in-out infinite;
}
.ai-chat-launcher::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: -1;
  border: 1px solid rgba(98, 255, 102, 0.32);
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(96, 255, 111, 0.24) 18% 19%, transparent 19% 68%, rgba(96, 255, 111, 0.22) 68% 69%, transparent 69%),
    linear-gradient(115deg, transparent 34%, rgba(153, 255, 157, 0.32) 48%, transparent 62%);
  background-size: 100% 100%, 230% 100%;
  animation: aiChatSweep 3s linear infinite;
}
.ai-chat-launcher::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(92, 255, 97, 0.8), transparent);
  filter: blur(12px);
  opacity: 0.68;
  animation: aiChatScan 3.4s ease-in-out infinite;
}
.ai-chat-launcher:hover,
.ai-chat-launcher:focus-visible {
  border-color: rgba(209, 255, 209, 1);
  box-shadow: 0 0 0 2px rgba(96, 255, 111, 0.28), 0 0 36px rgba(67, 245, 91, 0.62), 0 0 74px rgba(67, 245, 91, 0.22), var(--shadow);
}
.ai-chat-emblem {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(123, 255, 129, 0.9);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 255, 107, 0.22), rgba(5, 27, 12, 0.95) 68%);
  box-shadow: inset 0 0 18px rgba(67, 245, 91, 0.34), 0 0 18px rgba(67, 245, 91, 0.55);
}
.ai-chat-emblem span {
  color: #ddffe2;
  font-size: 14px;
  letter-spacing: 0;
  text-shadow: 0 0 9px rgba(153, 255, 157, 0.95);
}
.ai-chat-copy {
  display: block;
  min-width: 0;
  text-align: left;
}
.ai-chat-copy strong {
  font-size: 15px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(153, 255, 157, 0.82);
}
.chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--green);
  color: #03100b;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.chat-launcher-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #03100b;
}
.chat-panel {
  position: absolute;
  right: 0;
  bottom: 44px;
  width: min(420px, calc(100vw - 36px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(20, 42, 36, 0.98), rgba(7, 18, 15, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ai-chat-panel {
  position: fixed;
  top: 86px;
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 35;
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 112px));
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto auto auto;
  border: 1px solid rgba(102, 255, 109, 0.74);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(91, 255, 117, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(1, 12, 8, 0.98), rgba(2, 24, 12, 0.98));
  box-shadow: 0 0 0 1px rgba(102, 255, 109, 0.18), 0 0 46px rgba(67, 245, 91, 0.38), var(--shadow);
  overflow: hidden;
}
.ai-chat-panel[hidden] { display: none; }
.ai-panel-frame {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(102, 255, 109, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(102, 255, 109, 0.7), rgba(102, 255, 109, 0)) 20px 0 / 120px 1px no-repeat,
    linear-gradient(90deg, rgba(102, 255, 109, 0), rgba(102, 255, 109, 0.7)) right 20px bottom / 120px 1px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(102, 255, 109, 0.04) 32px 33px),
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(102, 255, 109, 0.04) 32px 33px);
}
.ai-chat-header {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 13px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(102, 255, 109, 0.2);
}
.ai-chat-title-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(102, 255, 109, 0.82);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 255, 109, 0.2), rgba(2, 14, 8, 0.94));
  box-shadow: 0 0 22px rgba(67, 245, 91, 0.48);
}
.ai-chat-title-mark span {
  color: #e8ffeb;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(153, 255, 157, 0.86);
}
.ai-chat-header strong,
.ai-chat-header span { display: block; }
.ai-chat-header strong {
  color: #edfff0;
  font-size: 24px;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(153, 255, 157, 0.78);
}
.ai-chat-header span {
  margin-top: 7px;
  color: rgba(179, 255, 185, 0.8);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ai-chat-header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(195, 255, 199, 0.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ai-chat-header-status span {
  width: 10px;
  height: 10px;
  margin: 0;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(67, 245, 91, 0.9);
}
.ai-chat-close {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(102, 255, 109, 0.38);
  border-radius: 50%;
  background: rgba(4, 23, 12, 0.72);
  color: #dbffdf;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.ai-chat-messages {
  position: relative;
  display: grid;
  align-content: start;
  gap: 13px;
  min-height: 0;
  padding: 18px 22px;
  overflow-y: auto;
}
.ai-chat-day {
  justify-self: center;
  border: 1px solid rgba(102, 255, 109, 0.28);
  border-radius: 999px;
  padding: 5px 18px;
  color: rgba(195, 255, 199, 0.88);
  background: rgba(24, 88, 36, 0.26);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ai-chat-message {
  max-width: 78%;
  border: 1px solid rgba(102, 255, 109, 0.48);
  border-radius: 18px;
  padding: 12px 14px;
  color: #f2fff4;
  background: rgba(3, 24, 10, 0.76);
  box-shadow: inset 0 0 18px rgba(67, 245, 91, 0.08), 0 0 18px rgba(67, 245, 91, 0.16);
  font-size: 15px;
  line-height: 1.45;
}
.ai-chat-message.bot {
  justify-self: start;
  border-bottom-left-radius: 4px;
}
.ai-chat-message.user {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: linear-gradient(135deg, rgba(9, 83, 24, 0.94), rgba(44, 201, 74, 0.78));
}
.ai-chat-message.typing {
  color: rgba(195, 255, 199, 0.78);
}
.ai-chat-meter {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px 10px;
  color: rgba(195, 255, 199, 0.82);
  font-size: 12px;
}
.ai-chat-meter strong {
  color: #ecfff0;
}
.ai-chat-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 10px;
  padding: 0 22px 20px;
}
.ai-chat-form textarea {
  min-height: 54px;
  resize: vertical;
  border: 1px solid rgba(102, 255, 109, 0.42);
  border-radius: 999px;
  padding: 16px 18px;
  background: rgba(1, 12, 7, 0.72);
  color: #f2fff4;
  font: inherit;
  box-shadow: inset 0 0 16px rgba(67, 245, 91, 0.08);
}
.ai-chat-form button {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(157, 255, 162, 0.85);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 245, 91, 0.52), rgba(5, 38, 12, 0.95));
  color: #f2fff4;
  font: inherit;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(67, 245, 91, 0.46);
}
.ai-chat-status {
  min-height: 18px;
  margin: -10px 22px 14px;
  color: rgba(195, 255, 199, 0.82);
  font-size: 12px;
}
@keyframes aiChatPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(96, 255, 111, 0.28), 0 0 22px rgba(67, 245, 91, 0.38), 0 0 58px rgba(67, 245, 91, 0.16), var(--shadow);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(153, 255, 157, 0.32), 0 0 34px rgba(67, 245, 91, 0.58), 0 0 76px rgba(67, 245, 91, 0.24), var(--shadow);
  }
}
@keyframes aiChatSweep {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 0, 230% 0; }
}
@keyframes aiChatScan {
  0%, 100% { transform: translateX(-18%); opacity: 0.36; }
  50% { transform: translateX(18%); opacity: 0.84; }
}
.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.chat-header strong,
.chat-header span { display: block; }
.chat-header span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}
.chat-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  cursor: pointer;
}
.chat-messages {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
  padding: 16px;
}
.chat-message {
  max-width: 88%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
}
.chat-message.user {
  justify-self: end;
  border-color: rgba(72, 245, 154, 0.36);
  background: rgba(72, 245, 154, 0.12);
}
.chat-message.bot { justify-self: start; }
.chat-message.typing {
  color: var(--muted);
  font-style: italic;
}
.chat-intent-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 12px;
}
.chat-intent-menu button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  padding: 8px 10px;
}
.chat-intent-menu button:hover,
.chat-intent-menu button:focus-visible,
.industry-card button:hover,
.industry-card button:focus-visible {
  border-color: rgba(72, 245, 154, 0.5);
  color: var(--ink);
}
.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
}
.chat-form textarea {
  min-height: 48px;
  max-height: 120px;
}
.chat-status {
  min-height: 20px;
  margin: 0;
  padding: 0 14px 14px;
  color: var(--soft);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .industry-grid,
  .case-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: minmax(0, auto) minmax(136px, 1fr) auto;
    gap: 10px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand span:last-child {
    max-width: 104px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .menu-button {
    display: inline-grid;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: transparent;
    padding: 10px;
  }
  .menu-button span {
    width: 22px;
    height: 2px;
    background: var(--ink);
  }
  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 66px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    padding: 14px;
  }
  .site-nav.open { display: flex; }
  .hero,
  .split,
  .contact,
  .service-grid,
  .workflow-map,
  .meaning-grid {
    grid-template-columns: 1fr;
  }
  .workflow-map > span { justify-self: start; }
  h1 { font-size: 42px; }
  .hero { min-height: auto; }
  .service-card,
  .industry-card,
  .case-card,
  .privacy-card { min-height: auto; }
  .site-footer { flex-direction: column; }
  .chat-widget {
    right: 12px;
    bottom: 74px;
  }
  .chat-launcher-row {
    gap: 8px;
  }
  .ai-chat-launcher {
    min-width: 148px;
    min-height: 38px;
    gap: 7px;
    padding: 4px 11px 4px 4px;
  }
  .ai-chat-emblem {
    width: 28px;
    height: 28px;
  }
  .ai-chat-copy {
    min-width: 0;
  }
  .ai-chat-copy strong {
    font-size: 13px;
  }
  .ai-chat-panel {
    top: 78px;
    left: 50%;
    bottom: auto;
    width: min(370px, calc(100vw - 24px));
    max-height: calc(100vh - 96px);
    border-radius: 18px;
  }
  .ai-chat-header {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 14px;
  }
  .ai-chat-title-mark {
    width: 38px;
    height: 38px;
  }
  .ai-chat-header strong {
    font-size: 17px;
  }
  .ai-chat-header span,
  .ai-chat-header-status {
    font-size: 9px;
  }
  .ai-chat-header-status {
    display: none;
  }
  .ai-chat-messages {
    padding: 14px;
  }
  .ai-chat-message {
    max-width: 88%;
    font-size: 14px;
  }
  .ai-chat-meter,
  .ai-chat-form {
    padding-left: 14px;
    padding-right: 14px;
  }
  .chat-form,
  .chat-intent-menu {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-chat-launcher,
  .ai-chat-launcher::before,
  .ai-chat-launcher::after {
    animation: none;
  }
}
