/* ── Tilda Data Services — Neo4j-inspired Design System ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #018bff;
  --blue-dark:  #0069c1;
  --blue-deep:  #003d85;
  --blue-pale:  #e8f3ff;
  --blue-mid:   #cce3ff;
  --ink:        #1a1a2e;
  --ink-2:      #2d2d44;
  --slate:      #4a4a6a;
  --muted:      #6b7280;
  --border:     #e5e7eb;
  --border-2:   #d1d5db;
  --surface:    #f9fafb;
  --white:      #ffffff;
  --green:      #00c48c;
  --amber:      #f59e0b;
  --purple:     #7c3aed;
  --font:        'Optimistic Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: 'Optimistic Display', 'Optimistic Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* ── TYPOGRAPHY ─────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p  { color: var(--slate); line-height: 1.5; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue);
  margin-bottom: .75rem;
}

.text-blue   { color: var(--blue); }
.text-ink    { color: var(--ink); }
.text-muted  { color: var(--muted); }
.text-white  { color: #fff; }

/* ── NAV ────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 1.5rem;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: .25rem;
  align-items: center;
  flex: 1;
  margin-left: .75rem;
}

.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: .45rem .75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: var(--blue-pale); color: var(--blue-dark); }

.nav-spacer { flex: 1; }

.nav-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 600;
  padding: .55rem 1.25rem;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all .18s;
  white-space: nowrap;
  letter-spacing: -.005em;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-2);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding-left: 0; padding-right: 0;
}
.btn-ghost:hover { color: var(--blue-dark); }

.btn-lg { font-size: 1rem; padding: .75rem 1.75rem; }

/* ── ANNOUNCEMENT BAR ────────────────────────────────── */
.announce-bar {
  background: var(--ink);
  color: rgba(255,255,255,.9);
  text-align: center;
  font-size: .8125rem;
  font-weight: 500;
  padding: .55rem 1rem;
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 999;
}
.announce-bar a { color: var(--blue); text-decoration: none; font-weight: 600; }
.announce-bar a:hover { text-decoration: underline; }

/* ── PAGE WRAPPER ───────────────────────────────────── */
.page-body { padding-top: calc(64px + 40px); } /* nav + announce */

/* ── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 5rem;
  background: var(--white);
}

.hero-graph-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 { color: var(--ink); margin-bottom: 1.25rem; }
.hero p   { font-size: 1.125rem; max-width: 560px; margin: 0 auto 2rem; }

.hero-ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.hero-stat-val {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.hero-stat-label {
  font-size: .8125rem;
  color: var(--muted);
  margin-top: .15rem;
}

/* ── TICKER ─────────────────────────────────────────── */
.ticker-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  overflow: hidden;
  background: var(--white);
}
.ticker-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: ticker 32s linear infinite;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  opacity: .7;
  transition: opacity .2s;
}
.ticker-logo:hover { opacity: 1; }
.ticker-logo-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── SECTIONS ───────────────────────────────────────── */
section { padding: 5rem 2rem; }
.section-sm { padding: 3rem 2rem; }
.section-gray { background: var(--surface); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark p { color: rgba(255,255,255,.7); }
.section-dark h2 { color: #fff; }
.section-blue { background: var(--blue); color: #fff; }

.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 860px; margin: 0 auto; }
.container-xs { max-width: 680px; margin: 0 auto; }

.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center p { margin: .75rem auto 0; max-width: 580px; }

/* ── CARDS ──────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* card-accent: left-border colours removed */
.card-accent,
.card-accent-green,
.card-accent-purple,
.card-accent-amber { border-left: none; border-radius: var(--radius-lg); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 20px;
}

/* ── GRID LAYOUTS ───────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; }

/* ── TAGS ───────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 4px;
  margin-right: .35rem;
  margin-bottom: .35rem;
}
.tag-blue   { background: var(--blue-pale); color: var(--blue-dark); }
.tag-green  { background: #d1fae5; color: #065f46; }
.tag-purple { background: #ede9fe; color: #5b21b6; }
.tag-amber  { background: #fef3c7; color: #92400e; }
.tag-ink    { background: var(--ink); color: #fff; }

/* ── STAT BLOCKS ────────────────────────────────────── */
.stat-block { text-align: center; }
.stat-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.04em;
  line-height: 1;
}
.stat-val .unit { font-size: 1.5rem; }
.stat-desc { font-size: .875rem; color: var(--muted); margin-top: .4rem; line-height: 1.4; }

/* ── PROCESS STEPS ──────────────────────────────────── */
.step-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue-mid);
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -.05em;
}

/* ── CTA BAND ───────────────────────────────────────── */
.cta-band {
  background: var(--blue);
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p  { color: rgba(255,255,255,.85); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band .btn-primary { background: #fff; color: var(--blue); }
.cta-band .btn-primary:hover { background: var(--blue-pale); }
.cta-band .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ── FEATURE SPLIT ──────────────────────────────────── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-split.reverse > :first-child { order: 2; }
.feature-split.reverse > :last-child  { order: 1; }

.feature-list { list-style: none; margin-top: 1.5rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9375rem;
  color: var(--slate);
}
.feature-list li:last-child { border-bottom: none; }
.feature-check {
  width: 18px; height: 18px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

/* ── VISUAL PANEL ───────────────────────────────────── */
.vis-panel {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.vis-panel::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,139,255,.3) 0%, transparent 70%);
  top: -80px; right: -60px;
}

/* ── METRIC TILES ───────────────────────────────────── */
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; position: relative; z-index: 1; }
.metric-tile {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 1rem;
}
.metric-tile .label { font-size: .75rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.metric-tile .value { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.metric-tile .sub   { font-size: .75rem; color: var(--blue); margin-top: .15rem; }

.mini-bar-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font-size: .75rem; }
.mini-bar-label { color: rgba(255,255,255,.6); width: 100px; flex-shrink: 0; }
.mini-bar-track { flex: 1; height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.mini-bar-fill  { height: 100%; border-radius: 2px; background: var(--blue); }
.mini-bar-val   { color: rgba(255,255,255,.7); width: 32px; text-align: right; }

/* ── TABS ───────────────────────────────────────────── */
.tab-row {
  display: flex;
  gap: .25rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-btn {
  padding: .75rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-panel.hidden { display: none; }

/* ── FORM ───────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .8125rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.form-input {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .15s;
}
.form-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(1,139,255,.12); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ── TESTIMONIAL ────────────────────────────────────── */
.testimonial {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
}
.testimonial::before {
  content: 'C';
  font-size: 5rem;
  color: var(--blue-mid);
  line-height: .8;
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-family: Georgia, serif;
}
.testimonial-body { padding-top: 1.5rem; font-size: 1rem; color: var(--slate); line-height: 1.7; font-style: italic; }
.testimonial-author { margin-top: 1.25rem; font-size: .875rem; font-weight: 700; color: var(--ink); }
.testimonial-role   { font-size: .8125rem; color: var(--muted); font-weight: 400; }

/* ── INSIGHT CARDS ──────────────────────────────────── */
.insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
}
.insight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.insight-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.insight-card-body { padding: 1.25rem; }
.insight-card-body h4 { font-size: .9375rem; color: var(--ink); margin: .5rem 0; line-height: 1.4; }
.insight-card-body p  { font-size: .8125rem; color: var(--muted); line-height: 1.6; }
.insight-read-more { color: var(--blue); font-size: .8125rem; font-weight: 600; margin-top: .75rem; display: inline-block; }

/* ── INDUSTRY CARD ──────────────────────────────────── */
.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color .2s, box-shadow .2s;
}
.industry-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.industry-card-icon { font-size: 2rem; margin-bottom: .75rem; }
.industry-card h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.industry-card p  { font-size: .875rem; }

/* ── CHALLENGE BOX ──────────────────────────────────── */
.challenge-box {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: .85rem 1rem;
  font-size: .8125rem;
  color: var(--slate);
  margin: 1rem 0;
  line-height: 1.6;
}
.challenge-box strong { color: var(--blue-dark); }

/* ── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 4rem 2rem 2rem;
}
footer h4 {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  margin-bottom: .6rem;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-logo-wrap img { height: 28px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-logo-wrap p { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 280px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  font-size: .8125rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-socials { display: flex; gap: .5rem; }
.social-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 700;
  transition: border-color .15s, color .15s;
}
.social-btn:hover { border-color: rgba(255,255,255,.4); color: #fff; }

/* ── MOBILE MENU ────────────────────────────────────── */
.mob-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--ink);
}
.mob-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 998;
  overflow-y: auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}
.mob-menu.open { display: block; }
.mob-link {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.mob-link:hover { color: var(--blue); }


/* ── TRUST STRIP ────────────────────────────────────── */
.trust-strip { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-logo-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-logo-img {
  height: 36px;
  width: auto;
  display: block;
  opacity: .75;
  transition: opacity .2s;
}
.trust-logo-img:hover { opacity: 1; }
.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border-2);
  flex-shrink: 0;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--slate);
  opacity: .65;
  transition: opacity .2s;
  white-space: nowrap;
}
.trust-pill svg { flex-shrink: 0; color: var(--muted); }
.trust-pill:hover { opacity: 1; }
/* ── RESPONSIVE ─────────────────────────────────────── */

/* ── Large desktop (≤1280px) — gentle tightening ── */
@media (max-width: 1280px) {
  .container { padding: 0 1.5rem; }
}

/* ── Tablet landscape (≤1024px) ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
  .hero h1 { font-size: 3rem; }
  .hero-stats { gap: 2rem; }
  .vis-panel .metric-grid { grid-template-columns: 1fr 1fr; }
  /* Trust strip: hide divider, wrap naturally */
  .trust-divider { display: none; }
}

/* ── Tablet portrait (≤900px) ── */
@media (max-width: 900px) {
  /* Navigation */
  .nav-links, .nav-spacer { display: none; }
  .mob-menu-btn { display: flex; }
  #site-nav .nav-actions .btn-outline { display: none; } /* keep only primary */

  /* Layouts */
  .feature-split { grid-template-columns: 1fr; gap: 2rem; }
  .feature-split.reverse > :first-child { order: 1; }
  .feature-split.reverse > :last-child  { order: 2; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .grid-auto { grid-template-columns: 1fr 1fr; }

  /* Hero */
  .hero { padding: 4rem 1.5rem 3.5rem; }
  .hero-graph-bg { opacity: .4; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }

  /* Trust strip */
  .trust-logos { gap: 1rem; }
  .trust-pill { font-size: .75rem; }
  .trust-logo-img { height: 28px; }

  /* Vis panel — slim on tablet */
  .vis-panel { padding: 1.5rem; }

  /* Ticker */
  .ticker-wrap { padding: .9rem 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .footer-logo-wrap { grid-column: 1 / -1; }
  .footer-logo-wrap p { max-width: 100%; }

  /* Announce bar */
  .announce-bar { font-size: .75rem; padding: .45rem 1rem; }
  .page-body { padding-top: calc(64px + 34px); }
}

/* ── Mobile (≤640px) ── */
@media (max-width: 640px) {
  /* Typography */
  h1 { font-size: 1.875rem; letter-spacing: -.01em; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.0625rem; }

  /* Spacing */
  section { padding: 2.75rem 1rem; }
  .section-sm { padding: 1.75rem 1rem; }
  .hero { padding: 3.5rem 1rem 3rem; }

  /* Hero */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: flex-start; padding-top: 1.5rem; border-top: 1px solid var(--border); }
  .hero-stat-val { font-size: 1.5rem; }

  /* Grids → single column */
  .grid-2, .grid-3, .grid-4, .grid-auto { grid-template-columns: 1fr; gap: 1rem; }

  /* AI theme card 3-col → single col */
  .ai-theme-grid { grid-template-columns: 1fr !important; }
  .ai-theme-grid > div { border-right: none !important; border-bottom: 1px solid var(--border); }
  .ai-theme-grid > div:last-child { border-bottom: none; }

  /* Trust strip → logo only + 2-col pill wrap */
  .trust-logos { justify-content: flex-start; gap: .75rem; }
  .trust-logo-img { height: 24px; }
  .trust-pill { font-size: .6875rem; gap: .3rem; }
  .trust-pill svg { width: 13px; height: 13px; }

  /* Nav */
  #site-nav { padding: 0 1rem; }
  #site-nav .btn-primary { font-size: .8125rem; padding: .4rem .85rem; }

  /* Feature lists */
  .feature-list li { font-size: .875rem; }

  /* Vis panel */
  .vis-panel { padding: 1.25rem; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .mini-bar-label { width: 80px; font-size: .6875rem; }

  /* Cards */
  .card { padding: 1.25rem; }

  /* Ticker */
  .ticker-track { animation-duration: 22s; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
  .footer-bottom div { flex-wrap: wrap; justify-content: center; }
  .footer-socials { justify-content: center; }

  /* CTA band */
  .cta-band { padding: 3rem 1rem; }
  .cta-band h2 { font-size: 1.375rem; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .cta-band > div > div { flex-direction: column; align-items: stretch; }

  /* Step numbers */
  .step-num { font-size: 2rem; }

  /* Industry cards */
  .industry-card { padding: 1.25rem; }

  /* Contact form grid */
  .contact-form-grid { grid-template-columns: 1fr !important; }

  /* Announce bar */
  .announce-bar { font-size: .6875rem; }
  .page-body { padding-top: calc(64px + 30px); }
}

/* ── Small mobile (≤400px) ── */
@media (max-width: 400px) {
  h1 { font-size: 1.625rem; }
  h2 { font-size: 1.25rem; }
  section { padding: 2.25rem .875rem; }
  .hero { padding: 3rem .875rem 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn-lg { padding: .65rem 1.25rem; font-size: .9rem; }
  .trust-pill { display: none; } /* hide text pills on tiny screens — logo only */
  .trust-logo-img { height: 22px; }
  .ticker-track { animation-duration: 18s; }
  #site-nav .btn-primary { display: none; } /* only hamburger on smallest screens */
}
