/* IBM Plex Sans — fonte oficial Carbon */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ── Carbon g10 (light) tokens ─────────────────────────────────────────────── */
:root {
  /* backgrounds */
  --bg:              #f4f4f4;
  --bg-ui:           #ffffff;
  --layer-01:        #f4f4f4;
  --layer-02:        #e8e8e8;
  --layer-hover:     #e8e8e8;

  /* text */
  --text-primary:    #161616;
  --text-secondary:  #525252;
  --text-placeholder:#a8a8a8;
  --text-disabled:   #c6c6c6;
  --text-inverse:    #ffffff;
  --text-on-color:   #ffffff;
  --ink:             #161616;

  /* borders */
  --border-subtle:   #e0e0e0;
  --border-strong:   #8d8d8d;
  --border-interactive: #0f62fe;

  /* interactive */
  --blue:            #0f62fe;
  --blue-hover:      #0050e6;
  --blue-active:     #002d9c;
  --blue-soft:       #d0e2ff;

  /* status */
  --support-success: #198038;
  --support-warning: #f1c21b;
  --support-error:   #da1e28;
  --support-info:    #0043ce;

  /* surface */
  --surface:         #ffffff;
  --surface-soft:    #f4f4f4;

  /* shadow / misc */
  --shadow:          0 2px 6px rgba(0,0,0,0.20);
  --shadow-lg:       0 8px 24px rgba(0,0,0,0.14);
  --radius:          0px;

  /* spacing (Carbon 8pt grid) */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 2.5rem;
  --s8: 3rem;
}

/* ── Carbon g100 (dark) tokens ──────────────────────────────────────────────── */
body[data-theme="dark"] {
  --bg:              #161616;
  --bg-ui:           #161616;
  --layer-01:        #262626;
  --layer-02:        #393939;
  --layer-hover:     #333333;

  --text-primary:    #f4f4f4;
  --text-secondary:  #c6c6c6;
  --text-placeholder:#6f6f6f;
  --text-disabled:   #525252;
  --text-inverse:    #161616;
  --text-on-color:   #ffffff;
  --ink:             #f4f4f4;

  --border-subtle:   #393939;
  --border-strong:   #6f6f6f;
  --border-interactive: #4589ff;

  --blue:            #4589ff;
  --blue-hover:      #5a9fff;
  --blue-active:     #78a9ff;
  --blue-soft:       #002d9c;

  --surface:         #262626;
  --surface-soft:    #1c1c1c;

  --shadow:          0 2px 6px rgba(0,0,0,0.50);
  --shadow-lg:       0 8px 24px rgba(0,0,0,0.40);
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 180ms ease, color 180ms ease;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Stitch canvas ──────────────────────────────────────────────────────────── */
#stitch-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  display: block;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  #stitch-canvas { display: none; }
}

/* ── Page shell ─────────────────────────────────────────────────────────────── */
.page-shell {
  width: min(1312px, 100%);
  margin: 0 auto;
  padding: 0;
}

/* ── Topbar ─────────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3rem;
  padding: 0 1rem;
  background: var(--bg-ui);
  border-bottom: 1px solid var(--border-subtle);
  gap: 1rem;
}

body[data-theme="dark"] .topbar {
  background: #161616;
  border-bottom-color: #393939;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.brand__logo {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.brand__name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  white-space: nowrap;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.topbar__nav a {
  display: inline-flex;
  align-items: center;
  height: 3rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: color 110ms ease, border-color 110ms ease, background 110ms ease;
  white-space: nowrap;
}

.topbar__nav a:hover {
  color: var(--text-primary);
  background: var(--layer-hover);
}

.topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 3rem;
}

/* ── Icon buttons (theme / language toggles) ────────────────────────────────── */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: 3rem;
  min-width: 3rem;
  padding: 0 0.875rem;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 400;
  transition: background 110ms ease, color 110ms ease;
}

.icon-btn:hover {
  background: var(--layer-hover);
  color: var(--text-primary);
}

.icon-btn__symbol,
.icon-btn__globe {
  font-size: 1rem;
  line-height: 1;
}

.icon-btn__symbol--moon { display: none; }
body[data-theme="dark"] .icon-btn__symbol--sun  { display: none; }
body[data-theme="dark"] .icon-btn__symbol--moon { display: inline; }

.icon-btn--lang {
  min-width: auto;
  gap: 0.375rem;
}

.icon-btn--lang #language-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Primary CTA in topbar */
.btn--primary.btn--small {
  display: inline-flex;
  align-items: center;
  height: 3rem;
  padding: 0 1rem;
  background: var(--blue);
  color: #fff;
  border: none;
  border-left: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 110ms ease;
  border-radius: 0;
  text-decoration: none;
}

.btn--primary.btn--small:hover {
  background: var(--blue-hover);
}

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 110ms ease, border-color 110ms ease, color 110ms ease;
  border-radius: 0;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn--primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  background: var(--layer-hover);
  border-color: var(--border-strong);
}

/* ── Main layout ─────────────────────────────────────────────────────────────── */
main {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-subtle);
}

/* All sections share a common surface */
.hero,
.trust-band,
.section,
.footer {
  background: var(--bg-ui);
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

body[data-theme="dark"] .hero,
body[data-theme="dark"] .trust-band,
body[data-theme="dark"] .section,
body[data-theme="dark"] .footer {
  background: #161616;
}

/* pseudo-elements off — canvas handles the ambient layer */
.hero::before, .hero::after,
.section::before, .section::after,
.footer::before, .footer::after,
.trust-band::before, .trust-band::after {
  display: none;
}

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  align-items: stretch;
  min-height: 560px;
  border-bottom: 1px solid var(--border-subtle);
}

body[data-theme="dark"] .hero { border-bottom-color: #393939; }

.hero__content {
  padding: 4rem 3rem 4rem 2rem;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body[data-theme="dark"] .hero__content { border-right-color: #393939; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0;
  margin: 0 0 1rem;
  background: none;
  border-radius: 0;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  font-weight: 600;
}

.hero h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 1.5rem;
  max-width: 22ch;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 60ch;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--border-subtle);
  width: fit-content;
}

.hero__actions .btn {
  background: var(--bg-ui);
}

.hero__actions .btn--primary {
  background: var(--blue);
  color: #fff;
}

.hero__actions .btn--primary:hover { background: var(--blue-hover); }
.hero__actions .btn--ghost:hover { background: var(--layer-hover); }

/* Metrics */
.hero__metrics {
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
}

.hero__metrics div {
  padding: 1.5rem 1rem;
  background: var(--bg-ui);
  transition: background 110ms ease;
}

body[data-theme="dark"] .hero__metrics div { background: #262626; }

.hero__metrics div:hover { background: var(--layer-hover); }

.hero__metrics dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

.hero__metrics dd {
  margin: 0.5rem 0 0;
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.4;
}

/* Hero panel (right side) */
.hero__panel {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-subtle);
  padding: 0;
}

.platform-card {
  flex: 1;
  padding: 1.5rem;
  background: var(--layer-01);
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: background 110ms ease;
}

body[data-theme="dark"] .platform-card { background: #262626; }
.platform-card:hover { background: var(--layer-hover); }

.platform-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  background: var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
}

body[data-theme="dark"] .chip { background: #393939; }

.chip--blue {
  background: var(--blue-soft);
  color: var(--blue);
}

body[data-theme="dark"] .chip--blue { background: #002d9c; color: #78a9ff; }

.status-dot, .chart-label {
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-family: 'IBM Plex Mono', monospace;
}

.platform-card__body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
}

.mini-kpi {
  padding: 1rem 0.75rem;
  background: var(--bg-ui);
  transition: background 110ms ease;
}

body[data-theme="dark"] .mini-kpi { background: #1c1c1c; }
.mini-kpi:hover { background: var(--layer-hover); }

.mini-kpi strong {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

.mini-kpi span {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.6875rem;
  line-height: 1.3;
}

.chart-bars {
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 3px;
  height: 120px;
}

.chart-bars span {
  background: var(--blue);
  border-radius: 0;
  min-height: 16px;
  opacity: 0.7;
  transition: opacity 110ms ease;
}

.chart-bars span:hover { opacity: 1; }

.platform-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* ── Trust band ──────────────────────────────────────────────────────────────── */
.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

body[data-theme="dark"] .trust-band {
  border-color: #393939;
  background: #393939;
}

.trust-band > div {
  padding: 1.5rem 2rem;
  background: var(--bg-ui);
  transition: background 110ms ease;
}

body[data-theme="dark"] .trust-band > div { background: #161616; }
.trust-band > div:hover { background: var(--layer-hover); }

.trust-band span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.trust-band strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

/* ── Sections ────────────────────────────────────────────────────────────────── */
.section {
  padding: 3rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

body[data-theme="dark"] .section { border-bottom-color: #393939; }

.section__heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section__heading--narrow { max-width: 36rem; }

.section__heading h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ── Solution grid ───────────────────────────────────────────────────────────── */
.solution-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  background: var(--border-subtle);
}

body[data-theme="dark"] .solution-grid { background: #393939; }

.solution-card {
  padding: 2rem 1.5rem;
  background: var(--bg-ui);
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: background 110ms ease;
}

body[data-theme="dark"] .solution-card { background: #262626; }
.solution-card:hover { background: var(--layer-hover); }
body[data-theme="dark"] .solution-card:hover { background: #333333; }

.solution-card--accent {
  background: var(--blue-soft);
}

body[data-theme="dark"] .solution-card--accent {
  background: #001d6c;
}

.solution-card__tag {
  margin: 0 0 0.75rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  font-weight: 600;
}

.solution-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.solution-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ── About ───────────────────────────────────────────────────────────────────── */
.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-subtle);
}

body[data-theme="dark"] .about__layout { background: #393939; }

.about__copy,
.about__facts {
  display: grid;
  gap: 1px;
}

.about__copy {
  padding: 2rem;
  background: var(--bg-ui);
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: background 110ms ease;
}

body[data-theme="dark"] .about__copy { background: #262626; }

.about__copy p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}

.about__copy p:last-child { margin-bottom: 0; }

.about__facts { gap: 1px; background: var(--border-subtle); }
body[data-theme="dark"] .about__facts { background: #393939; }

.fact-card {
  padding: 1.5rem;
  background: var(--layer-01);
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: background 110ms ease;
}

body[data-theme="dark"] .fact-card { background: #262626; }
.fact-card:hover { background: var(--layer-hover); }
body[data-theme="dark"] .fact-card:hover { background: #333333; }

.fact-card strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--ink);
}

.fact-card span {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* ── Pricing ─────────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  background: var(--border-subtle);
}

body[data-theme="dark"] .pricing-grid { background: #393939; }

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  background: var(--bg-ui);
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: background 110ms ease;
}

body[data-theme="dark"] .pricing-card { background: #262626; }
.pricing-card:hover { background: var(--layer-hover); }
body[data-theme="dark"] .pricing-card:hover { background: #333333; }

.pricing-card--featured {
  background: var(--blue);
  color: #fff;
}

body[data-theme="dark"] .pricing-card--featured { background: #0050e6; }

.pricing-card--featured .pricing-card__tag,
.pricing-card--featured h3,
.pricing-card--featured .pricing-card__price,
.pricing-card--featured ul {
  color: #fff;
}

.pricing-card--featured .pricing-card__note { color: rgba(255,255,255,0.75); }
.pricing-card--featured:hover { background: #0050e6; }

.pricing-card__tag {
  margin: 0 0 0.75rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  font-weight: 600;
}

.pricing-card h3 {
  margin: 0 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}

.pricing-card__price {
  margin: 1rem 0 0.375rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
}

.pricing-card__note {
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.pricing-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  flex: 1;
}

.pricing-card li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-card li::before {
  content: "—";
  color: var(--blue);
  font-weight: 600;
  flex-shrink: 0;
}

.pricing-card--featured li { border-top-color: rgba(255,255,255,0.2); }
.pricing-card--featured li::before { color: rgba(255,255,255,0.7); }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.footer {
  margin-top: 1px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #161616;
  border-color: transparent;
}

body[data-theme="dark"] .footer { background: #161616; }

.footer__cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 2rem;
  background: #0f62fe;
  border: none;
  border-radius: 0;
}

.footer__cta-band .eyebrow { color: rgba(255,255,255,0.7); }

.footer__cta-band h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  max-width: 28ch;
}

.footer__cta-band p {
  margin: 0;
  max-width: 50rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer .btn--primary {
  background: #ffffff;
  color: #0f62fe;
  border: none;
  flex-shrink: 0;
  font-weight: 600;
}

.footer .btn--primary:hover {
  background: #e8e8e8;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #393939;
  padding: 0;
  border: none;
  border-radius: 0;
}

.footer__grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 2rem 1.5rem;
  background: #161616;
  border: none;
  border-radius: 0;
  transition: background 110ms ease;
}

.footer__grid > div:hover { background: #262626; }

.footer__label {
  margin: 0 0 0.75rem;
  color: #78a9ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  font-weight: 600;
}

.footer__grid a,
.footer__grid span {
  color: #c6c6c6;
  font-size: 0.8125rem;
  line-height: 1.6;
  text-decoration: none;
  transition: color 110ms ease;
}

.footer__grid a:hover { color: #fff; }

.footer__legal {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #161616;
  border-top: 1px solid #393939;
  color: #6f6f6f;
  font-size: 0.75rem;
}

.footer__legal div {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__legal a {
  color: #c6c6c6;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 110ms ease;
}

.footer__legal a:hover { color: #fff; }

/* ── Animations ──────────────────────────────────────────────────────────────── */
@keyframes softRise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__content,
.hero__panel,
.section,
.footer {
  animation: softRise 300ms ease both;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero,
  .about__layout {
    grid-template-columns: 1fr;
  }

  .hero__content {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  body[data-theme="dark"] .hero__content { border-bottom-color: #393939; }

  .topbar__nav {
    display: none;
  }

  .topbar__actions {
    margin-left: auto;
  }
}

@media (max-width: 820px) {
  .page-shell { width: 100%; }

  .hero__metrics,
  .platform-card__body,
  .solution-grid,
  .pricing-grid,
  .trust-band {
    grid-template-columns: 1fr;
  }

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

  .footer__cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__content { padding: 2.5rem 1.5rem; }
  .section { padding: 2.5rem 1.5rem; }
}

@media (max-width: 640px) {
  .topbar { padding: 0 0.75rem; }

  .btn--primary.btn--small { display: none; }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn { width: 100%; justify-content: center; }

  .hero__content { padding: 2rem 1rem; }
  .section { padding: 2rem 1rem; }

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

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

/* ── Scrollbar ───────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }
