:root {
  --ink: #1a1a1a;
  --ink-2: #2a2a2a;
  --ink-3: #3d3d3d;
  --muted: #6a6a68;
  --line: #e4e4df;
  --paper: #ffffff;
  --cream: #f5f5f3;
  --yellow: #f5c518;
  --ok: #2f7a4b;
  --warn: #b6791d;
  --bad: #a4291e;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  min-height: 96px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(168px, 15vw, 220px);
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 28px);
  margin-left: auto;
}

.site-nav a,
.footer-links a {
  color: var(--ink-3);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.footer-links a:hover {
  color: var(--yellow);
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.site-nav a:hover {
  background: #f1f1ec;
}

.site-nav a[aria-current="page"] {
  background: rgba(255, 202, 20, .22);
  color: var(--ink);
  font-weight: 760;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--yellow);
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}

.button:hover {
  background: #ffd02a;
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 56px;
  padding: 12px 28px;
  border: 1px solid var(--yellow);
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}

.nav-cta:hover {
  background: #ffd02a;
  transform: translateY(-1px);
}

.button.secondary {
  border-color: rgba(255, 255, 255, .55);
  background: transparent;
  color: var(--paper);
}

.hero {
  background: var(--ink);
  color: var(--paper);
}

.section {
  padding: clamp(56px, 7vw, 96px) max(24px, calc((100vw - var(--max)) / 2));
}

.section.alt {
  background: var(--cream);
}

.section.dark {
  background: var(--ink);
  color: var(--paper);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.hero-grid,
.split,
.cta-band,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-label {
  color: var(--muted);
}

.section-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 600;
}

h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
}

h3 {
  font-size: 20px;
}

p {
  margin: 16px 0 0;
  color: var(--ink-3);
}

.hero p,
.dark p {
  color: #d5d5cf;
}

.lead {
  max-width: 760px;
  font-size: clamp(18px, 2.2vw, 22px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.signal-list {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  color: #efefe9;
}

.system-map {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #202020;
}

.system-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #efefe9;
}

.system-step:last-child {
  border-bottom: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.card p {
  font-size: 15px;
}

.solution-card {
  overflow: hidden;
  padding-top: 0;
}

.solution-thumb {
  display: block;
  width: calc(100% + 48px);
  height: auto;
  max-width: none;
  aspect-ratio: 16 / 10;
  margin: 0 -24px 22px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: var(--yellow);
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.timeline-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 700;
}

.cta-band {
  padding: clamp(34px, 5vw, 54px);
  border-radius: 8px;
  background: var(--yellow);
}

.cta-band p {
  color: var(--ink-2);
}

.cta-band .button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 42px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--paper);
}

.footer-brand {
  display: grid;
  gap: 14px;
  max-width: 380px;
}

.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.footer-mark {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  object-fit: contain;
}

.site-footer p,
.site-footer a {
  color: #c8c8c2;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.placeholder {
  min-height: 54vh;
}

.temporary-home {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
}

.temporary-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: #202020;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

.temporary-panel a {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  text-decoration: none;
}

.temporary-panel a:hover {
  border-color: var(--yellow);
}

.temporary-panel strong {
  color: var(--paper);
  font-size: 18px;
}

.temporary-panel span {
  color: #d5d5cf;
  font-size: 14px;
}

.panel-kicker {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  margin-bottom: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.featured-article-media {
  display: block;
  min-height: 100%;
  background: var(--ink);
}

.featured-article-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.featured-article-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 46px);
}

.featured-article-copy h2 a {
  text-decoration: none;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.article-meta-row span,
.topic-strip a {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.article-meta-row span {
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.topic-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 44px;
}

.topic-strip a {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 18px;
  text-decoration: none;
}

.topic-strip a:hover {
  border-color: var(--ink);
}

.topic-strip strong {
  font-size: 15px;
}

.topic-strip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.blog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.blog-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.blog-topic {
  margin: 20px 22px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 0 22px;
  font-size: clamp(20px, 2.2vw, 28px);
}

.blog-card a {
  text-decoration: none;
}

.blog-card p {
  margin-top: auto;
  padding: 22px;
}

.contact-hero {
  background: var(--paper);
}

.contact-hero-grid,
.contact-topic-grid,
.contact-form-grid,
.contact-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .85fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.contact-board,
.contact-about-card,
.contact-company-card,
.contact-form,
.contact-form-note,
.contact-box,
.contact-step {
  border-radius: 8px;
}

.contact-board {
  padding: clamp(22px, 3vw, 32px);
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 8px 8px 0 var(--yellow);
}

.contact-board-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-signal-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: contactSignal;
}

.contact-signal-list li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 16px 16px 16px 58px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.contact-signal-list li::before {
  counter-increment: contactSignal;
  content: counter(contactSignal);
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 700;
}

.contact-signal-list span,
.contact-note,
.contact-box li,
.contact-step p,
.contact-about-card p,
.contact-about-card li,
.contact-link-card span {
  color: var(--muted);
}

.contact-note {
  max-width: 680px;
  font-size: 14px;
}

.contact-secondary {
  border-color: var(--line);
  background: var(--paper);
}

.contact-topic-grid {
  align-items: stretch;
}

.contact-topic-menu {
  display: grid;
  gap: 10px;
  align-content: start;
}

.contact-topic-btn {
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.contact-topic-btn.active {
  border-color: var(--ink);
  background: var(--yellow);
}

.contact-topic-panel {
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 420px;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.contact-topic-panel small {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-topic-panel h3 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 54px);
}

.contact-topic-panel p,
.contact-topic-panel li,
.contact-form-note p,
.contact-form-note li,
.contact-company-card p {
  color: #d5d5cf;
}

.contact-box {
  min-height: 100%;
  padding: clamp(24px, 4vw, 34px);
}

.contact-box ul,
.contact-form-note ul,
.contact-topic-panel ul {
  padding-left: 20px;
}

.contact-box-yellow {
  border: 2px solid var(--ink);
  background: var(--yellow);
}

.contact-box-dark,
.contact-company-card,
.contact-form-note {
  background: var(--ink);
  color: var(--paper);
}

.contact-box-dark {
  border: 2px solid var(--ink);
}

.contact-box-dark li {
  color: #d5d5cf;
}

.contact-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-step {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact-step:nth-child(2) {
  border: 2px solid var(--ink);
  background: #fff4bd;
}

.contact-step b {
  display: block;
  margin-bottom: 34px;
  font-size: 42px;
  line-height: 1;
}

.contact-about-grid {
  align-items: stretch;
}

.contact-about-card,
.contact-company-card {
  padding: clamp(26px, 4vw, 42px);
}

.contact-about-card {
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.contact-principles {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding-left: 0;
  list-style: none;
}

.contact-principles li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.contact-principles b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
}

.contact-data-list {
  display: grid;
  margin: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.contact-data-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.contact-data-list span:first-child {
  color: #aaa9a2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-form-section .section-label {
  color: var(--yellow);
}

.contact-form-grid {
  align-items: start;
}

.contact-form-note {
  position: sticky;
  top: 104px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .14);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--yellow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid #cfcfca;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(245, 197, 24, .36);
  border-color: var(--ink);
}

.contact-consent {
  grid-template-columns: 22px 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-consent input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.contact-form-result {
  display: none;
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}

.contact-form-result.visible {
  display: block;
}

.contact-link-card {
  display: grid;
  gap: 18px;
  align-content: space-between;
  min-height: 220px;
  text-decoration: none;
}

.contact-link-card strong {
  font-size: 24px;
  line-height: 1.1;
}

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

.ai-consult-hero {
  background: var(--paper);
}

.ai-consult-grid,
ai-chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.ai-consult-note {
  max-width: 700px;
  color: var(--muted);
  font-size: 14px;
}

.ai-consult-panel,
.ai-chat-shell,
.ai-consult-cards article {
  border-radius: 8px;
}

.ai-consult-panel {
  padding: clamp(24px, 4vw, 36px);
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 8px 8px 0 var(--yellow);
}

.ai-consult-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.ai-consult-panel-head span {
  color: #bdbdb5;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ai-consult-panel ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.ai-consult-panel li,
.ai-consult-panel p {
  color: #d5d5cf;
}

.ai-chat-layout {
  align-items: start;
}

.ai-consult-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.ai-consult-cards article {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.ai-consult-cards strong,
.ai-consult-cards span {
  display: block;
}

.ai-consult-cards span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.ai-chat-shell {
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--yellow);
}

.ai-chat-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: var(--paper);
}

.ai-chat-top strong {
  margin-left: 8px;
}

.ai-chat-top em {
  margin-left: auto;
  color: #aaa9a2;
  font-size: 12px;
  font-style: normal;
}

.ai-chat-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4a4a45;
}

.ai-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  max-height: 520px;
  overflow-y: auto;
  padding: 22px;
  background: #111;
}

.ai-message {
  display: flex;
  gap: 10px;
}

.ai-message-user {
  justify-content: flex-end;
}

.ai-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.ai-bubble {
  max-width: min(100%, 520px);
  padding: 14px 16px;
  border-radius: 8px;
  background: #222;
  color: var(--paper);
}

.ai-message-user .ai-bubble {
  background: var(--yellow);
  color: var(--ink);
}

.ai-bubble p {
  margin: 0;
  color: inherit;
}

.ai-chat-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 18px 0;
  background: var(--ink);
}

.ai-chat-prompts button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: #242424;
  color: #e8e8e2;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.ai-chat-form {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--ink);
}

.ai-chat-form label {
  color: #aaa9a2;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ai-chat-form textarea {
  width: 100%;
  min-height: 116px;
  resize: vertical;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.ai-chat-form textarea:focus {
  outline: 3px solid rgba(245, 197, 24, .42);
}

.ai-chat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ai-chat-actions span {
  color: #aaa9a2;
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand-logo {
    width: 164px;
    max-height: 42px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    overflow: visible;
  }

  .site-nav a {
    line-height: 1.25;
  }

  .hero-grid,
  .split,
  .cta-band,
  .contact-hero-grid,
  .contact-topic-grid,
  .contact-form-grid,
  .contact-about-grid,
  .contact-steps,
  .ai-consult-grid,
  .ai-chat-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-note {
    position: static;
  }

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

  .blog-toolbar {
    align-items: start;
    flex-direction: column;
  }

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

  .featured-article-media img {
    min-height: 260px;
  }

  .topic-strip {
    grid-template-columns: 1fr 1fr;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav-cta {
    min-height: 42px;
    width: auto;
    padding: 9px 12px;
    font-size: 14px;
  }

  .site-header {
    justify-content: space-between;
    gap: 10px 14px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .brand-logo {
    width: clamp(136px, 42vw, 164px);
    max-height: 42px;
  }

  .site-nav {
    justify-content: center;
    gap: 8px 14px;
  }

  .site-nav a {
    font-size: 15px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .contact-field-grid,
  .contact-data-list div {
    grid-template-columns: 1fr;
  }

  .contact-topic-panel {
    min-height: 0;
  }

  .ai-consult-cards {
    grid-template-columns: 1fr;
  }

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

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

  .topic-strip {
    grid-template-columns: 1fr;
  }

  .blog-card {
    min-height: 0;
  }
}
