/* DANCA visual review: editorial clarity and purposeful demonstrations inspired by astro.build.
   This file changes presentation only; the established brand, copy, routes and behavior remain intact. */
:root {
  --danca-night: #071426;
  --danca-surface: #112a47;
  --danca-white: #f2f7fc;
  --danca-signal: #76d7ff;
  --danca-muted: #b5c8dc;
  --danca-rule: #385674;
}

/* Home: let the commercial example carry the visual story. */
.home-page .hero-section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(64px, 9vh, 112px) clamp(72px, 10vh, 128px);
  border-bottom: 1px solid color-mix(in srgb, var(--danca-signal) 18%, transparent);
}
.home-page .hero-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #76d7ff66 50%, transparent);
}
.home-page .hero {
  max-width: 1320px;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  padding-block: 0;
}
.home-page .hero-copy { position: relative; z-index: 2; gap: clamp(18px, 2vw, 26px); max-width: 600px; }
.home-page .hero-kicker {
  width: fit-content;
  padding: .45rem .75rem;
  border: 1px solid #76d7ff40;
  border-radius: 999px;
  background: #112a4777;
  color: var(--danca-signal);
  font: 500 .78rem/1.25 'IBM Plex Mono', ui-monospace, monospace;
  letter-spacing: 0;
}
.home-page .hero-kicker::before { display: none; }
.home-page .hero h1 {
  max-width: 11.5ch;
  font-size: clamp(3.4rem, 5.7vw, 5.7rem);
  line-height: .94;
  letter-spacing: -.075em;
  font-weight: 650;
  text-wrap: pretty;
}
.home-page .hero .lede { max-width: 34ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; }
.home-page .hero-actions { gap: 12px; }
.home-page .hero-actions .btn { min-height: 52px; padding-inline: 21px; border-radius: 8px; font-weight: 600; }
.home-page .hero-actions .btn.main { background: var(--danca-white); border-color: var(--danca-white); color: var(--danca-night); box-shadow: none; }
.home-page .hero-actions .btn.main:hover { background: var(--danca-signal); border-color: var(--danca-signal); }
.home-page .hero-actions .hero-secondary { border-color: #8daac44d; background: #07142688; }
.home-page .hero-note { color: #c3d3e3; font-size: .84rem; }
.home-page .hero-offer { width: fit-content; max-width: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; padding-top: 13px; border-top: 1px solid #385674; color: #b8cadd; font-size: .8rem; line-height: 1.5; text-decoration: none; text-underline-offset: 4px; }
.home-page .hero-offer strong { color: var(--danca-white); font-size: .94rem; font-weight: 650; }
.home-page .hero-offer > span:last-child { color: var(--danca-signal); }
.home-page .hero-offer:hover > span:last-child { text-decoration: underline; }
.industry-demo-note { margin: 14px 0 0; color: var(--danca-muted); font-size: .78rem; line-height: 1.5; }
.home-page .hero-demo { min-width: 0; position: relative; z-index: 2; }
.home-page .process-map {
  overflow: hidden;
  border: 1px solid #76d7ff45;
  border-radius: 16px;
  background: #0c1e34ed;
  box-shadow: 0 36px 100px -58px #000, 0 0 48px -34px #76d7ff75;
}
.home-page .process-title {
  padding: clamp(18px, 2.4vw, 28px) clamp(20px, 2.7vw, 34px);
  border-bottom: 1px solid #38567488;
  background: #112a47;
}
.home-page .process-title > div { gap: 5px; }
.home-page .process-title > div small { color: #9bb4cb; font: 500 .72rem/1.3 'IBM Plex Mono', ui-monospace, monospace; }
.home-page .process-title .process-heading { color: var(--danca-white); font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.home-page .process-title .process-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.home-page .process-title .process-current-stage { color: var(--danca-signal); font: 500 .68rem/1.35 'IBM Plex Mono', ui-monospace, monospace; white-space: nowrap; }
.home-page .map-example-tag { color: #dce9f6; border-color: #8daac455; font: 400 .68rem/1.35 'IBM Plex Mono', ui-monospace, monospace; }
body.home-page:not(.menu-open) #gon-launcher:not(.gon-open) { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
body.home-page #gon-launcher.gon-open { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.home-page .process-map .process-track { padding: 12px clamp(14px, 2vw, 24px) 24px; }
.home-page .process-map .process-track::before { left: calc(clamp(14px, 2vw, 24px) + 12px); }
.home-page .process-map .process-track button { min-height: 54px; color: #d9e7f4; font-size: .82rem; }
.home-page .process-map .process-track button span { border-color: #52708c; background: #0c1e34; }
.home-page .process-map .process-track button[aria-expanded=true] { color: var(--danca-signal); }
.home-page .process-map .process-track .solution-example {
  margin-block: 5px;
  border: 1px solid #76d7ff45;
  border-radius: 10px;
  background: #071426;
  box-shadow: inset 0 1px #ffffff08;
}
.home-page .solution-example h3 { max-width: 28ch; color: var(--danca-white); font-size: clamp(1.2rem, 2vw, 1.55rem); }
.home-page .map-inbox { border-radius: 8px; background: #112a47; }
.home-page .map-inbox blockquote { color: #e6f0f9; line-height: 1.55; }
.home-page .map-facts > div { border-color: #385674; }
.home-page .map-facts dd { color: #e5eef7; }
.home-page .map-board :is(th, td) { border-color: #385674; }
.home-page .industry-route-link {
  justify-self: start;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #52708c;
  border-radius: 7px;
  color: #d8edff;
  font-size: .84rem;
  font-weight: 650;
  text-decoration: none;
}
.home-page .industry-route-link:hover { border-color: #76d7ff; color: #76d7ff; }
.home-page .industry-route-link:focus-visible { outline: 3px solid #76d7ff; outline-offset: 3px; }
@media (min-width: 900px) {
  .home-page .industry-route-link { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .home-page .industry-route-link { margin-top: 2px; }
}

/* Home sections: a deliberate rhythm, with clear contrasts between the workbench and proof. */
.home-page main > section:not(.hero-section) { border-top: 1px solid #76d7ff13; }
.home-page .sec { max-width: 1200px; padding-block: clamp(76px, 9vw, 124px); gap: clamp(28px, 4vw, 48px); }
.home-page .sec-head { max-width: 680px; gap: 16px; }
.home-page .taller .sec-head { margin-bottom: 0; }
.home-page .sec-head h2 { max-width: 17ch; font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: .98; letter-spacing: -.065em; }
.home-page .sec-head p { max-width: 56ch; line-height: 1.7; }
.home-page .taller { background: #0a1b30; }
.home-page .taller-form, .home-page .taller-result {
  border-radius: 12px;
  border-color: #76d7ff38;
  background: #0d2038;
  box-shadow: none;
}
.home-page .taller-form { padding: clamp(22px, 3vw, 34px); gap: 14px; }
.home-page .taller-form select { border-radius: 7px; border-color: #54718e; background: #071426; }
@media (max-width: 700px) { .home-page .taller-result { scroll-margin-block-end: calc(88px + env(safe-area-inset-bottom)); } }
.home-page .how-step, .home-page .feat, .home-page .plan, .home-page .go-card {
  border-radius: 10px;
  border-color: #385674;
  background: #0d2038;
  box-shadow: none;
}
.home-page .feat { padding: clamp(22px, 3vw, 34px); }
.home-page .plan { padding: clamp(22px, 3vw, 34px); }
/* Keep pricing content visible before scroll observers run and in full-page previews. */
html.js .home-page #planes .plan { opacity: 1; translate: 0 0; }
.home-page .plan.featured { border-color: #76d7ff9c; background: #102b49; box-shadow: inset 0 3px var(--danca-signal); }
.home-page .plan .price { letter-spacing: -.065em; }
.home-page .plan .btn { min-height: 48px; border-radius: 7px; }
.home-page .plan.featured .btn { background: var(--danca-white); border-color: var(--danca-white); color: var(--danca-night); }
.home-page .home-resource-banner { border-radius: 12px; border-color: #385674; background: #0d2038; }
.home-page :is(.btn, .tab, .go-card, .feat, .plan) { transition-duration: 180ms; }

/* Interior pages: compact editorial opening and readable document column. */
.legal-page .page-hero {
  min-height: 0;
  width: min(calc(100% - 48px), 1040px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0 36px;
  display: grid;
  justify-content: start;
  gap: 18px;
  overflow: visible;
}
.legal-page .page-hero::before { display: none; }
.legal-page .page-hero .section-label { color: var(--danca-signal); font-weight: 500; }
.legal-page .page-hero h1 { max-width: 16ch; font-size: clamp(2.7rem, 6vw, 5rem); line-height: .98; letter-spacing: -.07em; }
.legal-page .page-hero .lede { max-width: 54ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; }
.legal-page .page-hero > p:not(.lede) { color: #9fb4ca; font-size: .9rem; }
.legal-page .privacy-draft-notice {
  margin-top: 12px;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid #76d7ff38;
  border-left: 3px solid var(--danca-signal);
  border-radius: 10px;
  background: #0d2038;
}
.legal-page .privacy-draft-notice strong { color: var(--danca-white); font-size: 1.08rem; }
.legal-page .privacy-draft-notice p { max-width: 86ch; }
.legal-page .prose {
  width: min(calc(100% - 48px), 1040px);
  max-width: none;
  margin: 0 auto;
  padding: 0 0 112px;
  border-top: 1px solid #385674;
}
.legal-page .prose > section { max-width: 78ch; margin-inline: auto; padding-top: clamp(28px, 3.5vw, 42px); scroll-margin-top: 96px; }
.legal-page .prose > section + section { border-top: 1px solid #38567466; }
.legal-page .prose h2 { max-width: 24ch; margin: 0 0 16px; color: var(--danca-white); font-size: clamp(1.45rem, 2.7vw, 2.15rem); line-height: 1.12; letter-spacing: -.045em; }
.legal-page .prose p, .legal-page .prose li { color: #b8cadb; font-size: 1rem; line-height: 1.8; }
.legal-page .prose p + p, .legal-page .prose p + ul { margin-top: 16px; }
.legal-page .prose ul { padding-left: 1.2rem; }
.legal-page .prose a { color: var(--danca-signal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.commercial-thread { display: none !important; }

/* Interior marketing pages share the same editorial grid, without the oversized landing hero. */
body:not(.home-page):not(.legal-page):not(.diagnostic-concept) .page-hero {
  min-height: 0;
  padding-block: clamp(64px, 9vw, 112px) clamp(44px, 6vw, 72px);
}
body:not(.home-page):not(.legal-page):not(.diagnostic-concept) .page-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.07em;
}
body:not(.home-page):not(.legal-page):not(.diagnostic-concept) .page-hero .lede {
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.7;
}
body:not(.home-page):not(.legal-page):not(.diagnostic-concept) main > .section:not(.page-hero) {
  border-top: 1px solid #76d7ff18;
}
body:not(.home-page):not(.legal-page):not(.diagnostic-concept) .section:not(.page-hero) {
  padding-block: clamp(56px, 7vw, 92px);
}
body:not(.home-page):not(.legal-page):not(.diagnostic-concept) :is(.feature, .card, .agent-card, .industry-card, .solution-card) {
  border-color: #385674;
  border-radius: 10px;
  background: #0d2038;
  box-shadow: none;
}
body:not(.home-page):not(.legal-page):not(.diagnostic-concept) :is(.feature, .card, .agent-card, .industry-card, .solution-card):hover {
  border-color: #76d7ff8a;
}
body:not(.home-page):not(.legal-page):not(.diagnostic-concept) :is(.feature, .card, .agent-card, .industry-card, .solution-card) :is(h2, h3) {
  color: var(--danca-white);
  letter-spacing: -.045em;
}
body:not(.home-page):not(.legal-page):not(.diagnostic-concept) .cta-band {
  border-color: #76d7ff62;
  border-radius: 12px;
  background: #102b49;
  box-shadow: inset 0 3px var(--danca-signal);
}

/* Solutions: turn the six capabilities into an editorial index instead of a wall of cards. */
.solutions-page .feature-grid {
  max-width: 1120px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: 0;
  border-top: 1px solid #385674;
}
.solutions-page .feature-grid > .feature {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-content: start;
  gap: 0 14px;
  min-width: 0;
  padding: 24px 0 28px;
  border: 0;
  border-bottom: 1px solid #385674;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.solutions-page .feature-grid > .feature.feature {
  border: 0;
  border-bottom: 1px solid #385674;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.solutions-page .feature-grid > .feature .icon {
  grid-row: span 2;
  width: auto;
  height: auto;
  margin: 2px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--danca-signal);
  font: 500 .9rem/1.4 'IBM Plex Mono', ui-monospace, monospace;
}
.solutions-page .feature-grid > .feature h3 {
  margin: 0 0 9px;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}
.solutions-page .feature-grid > .feature p {
  max-width: 48ch;
  margin: 0;
  color: #b8cadb;
  font-size: .96rem;
  line-height: 1.65;
}
body.solutions-page main > .section.compact > .cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .62fr);
  align-items: end;
  gap: 28px clamp(28px, 5vw, 72px);
  border-radius: 4px 4px 4px 28px;
}
body.solutions-page main > .section.compact > .cta-band > div:first-child { max-width: 640px; }
body.solutions-page main > .section.compact > .cta-band .page-hero-actions { justify-content: start; }

/* Industries: the example is a genuine sequence, so show one connected path. */
.industry-console .flow-rail { gap: 0; }
.industry-console .flow-step {
  min-height: 108px;
  padding: 18px 14px;
  border: 0;
  border-right: 1px solid #385674;
  border-radius: 0;
  background: transparent;
}
.industry-console .flow-step:last-child { border-right: 0; }
.industry-console .flow-step:not(:last-child)::after {
  right: -4px;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--danca-signal);
  border-right: 1px solid var(--danca-signal);
  background: #071426;
  transform: translateY(-50%) rotate(45deg);
}
.industry-console .flow-step small {
  margin-bottom: 16px;
  color: var(--danca-signal);
  font: 500 .72rem/1.3 'IBM Plex Mono', ui-monospace, monospace;
}
.industry-console .flow-step strong { max-width: 14ch; font-size: .92rem; }
body.industries-page main > .section.compact > .cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
  border: 0;
  border-block: 1px solid #385674;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding-inline: 0;
}
body.industries-page main > .section.compact > .cta-band h2 { max-width: 30ch; }

@media (max-width: 991px) {
  .industry-console .flow-step {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px 8px;
    border-right: 0;
    border-bottom: 1px solid #385674;
  }
  .industry-console .flow-step:last-child { border-bottom: 0; }
  .industry-console .flow-step small { margin: 0; }
  .industry-console .flow-step strong { max-width: none; }
  .industry-console .flow-step:not(:last-child)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: -4px;
    left: 20px;
    transform: rotate(135deg);
  }
}

@media (max-width: 960px) {
  .home-page .hero { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .home-page .hero-copy { max-width: 700px; }
  .home-page .hero h1 { max-width: 11ch; }
  .home-page .hero-demo { width: min(100%, 820px); }
}
@media (max-width: 600px) {
  .home-page .hero-section { padding-block: 44px 64px; }
  .home-page .hero { gap: 32px; }
  .home-page .hero-copy { gap: 19px; }
  .home-page .hero h1 { max-width: 10ch; font-size: clamp(3rem, 14vw, 4.5rem); }
  .home-page .hero .lede { font-size: 1rem; }
  .home-page .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .home-page .hero-actions .btn { width: 100%; }
  .home-page .hero-offer { width: 100%; justify-content: space-between; gap: 4px 10px; }
  .home-page .hero-offer > span:last-child { flex-basis: 100%; }
  .home-page .process-title { align-items: start; gap: 12px; }
  .home-page .process-map .process-track { padding: 10px 12px 18px; }
  .home-page .sec { padding-block: 72px; }
  .legal-page .page-hero, .legal-page .prose { width: min(calc(100% - 36px), 1040px); }
  .legal-page .page-hero { padding-top: 48px; }
  .legal-page .page-hero h1 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
  .legal-page .prose { padding-bottom: 76px; }
  body:not(.home-page):not(.legal-page):not(.diagnostic-concept) .page-hero { padding-block: 48px 36px; }
  body:not(.home-page):not(.legal-page):not(.diagnostic-concept) .page-hero h1 { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .solutions-page .feature-grid { grid-template-columns: 1fr; }
  .solutions-page .feature-grid > .feature { padding-block: 19px 22px; }
  body.solutions-page main > .section.compact > .cta-band,
  body.industries-page main > .section.compact > .cta-band { grid-template-columns: 1fr; gap: 22px; }
  body.industries-page main > .section.compact > .cta-band .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .legal-page * { scroll-behavior: auto; }
  .home-page :is(.btn, .tab, .go-card, .feat, .plan) { transition: none; }
}

/* E.M.A. landing: show the guided workflow before the specialist directory. */
body .agents-hero {
  display: block;
  min-height: 0;
  padding: clamp(58px, 8vh, 92px) max(24px, calc((100% - 1180px) / 2));
  background: radial-gradient(ellipse 54% 90% at 88% 50%, #12385c 0, transparent 72%), #080e17;
}
body .agents-hero .agents-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .88fr);
  align-items: center;
  gap: clamp(38px, 7vw, 96px);
  width: min(100%, 1180px);
}
body .agents-hero .agents-hero-copy { min-width: 0; }
body .agents-hero .agents-kicker { color: var(--danca-signal); }
body .agents-hero .agents-hero-copy h1 {
  max-width: 11ch;
  margin: 18px 0 20px;
  color: var(--danca-white);
  font-size: clamp(3rem, 5vw, 4.65rem);
  line-height: .99;
  letter-spacing: -.06em;
}
body .agents-hero .agents-hero-copy > p { max-width: 45ch; margin: 0; color: #b5c8dc; font-size: 1.04rem; line-height: 1.65; }
body .agents-hero .agents-hero-copy .hero-links { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; width: 100%; max-width: 100%; margin-top: 25px; }
body .agents-hero .agents-hero-copy .hero-links .btn { width: auto; }
body .agents-hero .agents-hero-copy .agents-signal { max-width: 100%; gap: 8px; margin-top: 25px; }
body .agents-hero .agents-signal span { padding: .55rem .72rem; border-color: #385674; border-radius: 7px; background: #0c1e34; color: #d6e5f4; font-size: .68rem; }
body .agents-hero .agents-signal i { color: var(--danca-signal); }
body .agents-hero .planet { right: -18%; opacity: .22; }
.agents-guide-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 470px;
  justify-self: end;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid #76d7ff55;
  border-radius: 12px 12px 12px 3px;
  background: linear-gradient(155deg, #112a47, #09182b 78%);
  color: var(--danca-white);
}
.agents-guide-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #385674; color: var(--danca-signal); font: 500 .67rem/1.4 'IBM Plex Mono', ui-monospace, monospace; }
.agents-guide-head span:last-child { color: #b5c8dc; }
.agents-guide-preview h2 { max-width: 22ch; margin: 18px 0; color: var(--danca-white); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; letter-spacing: -.035em; }
.agents-guide-context { display: grid; gap: 5px; padding: 12px 14px; border-left: 2px solid var(--danca-signal); background: #071426; }
.agents-guide-context span, .agents-guide-route small { color: #9bb4cb; font: 500 .68rem/1.35 'IBM Plex Mono', ui-monospace, monospace; }
.agents-guide-context strong, .agents-guide-route strong { color: #f2f7fc; font-size: .88rem; font-weight: 600; }
.agents-guide-route { display: grid; gap: 0; margin: 14px 0 0 10px; }
.agents-guide-route > div { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 64px; }
.agents-guide-route > div + div::before { position: absolute; left: 13px; top: -1px; width: 1px; height: 18px; content: ''; background: #52708c; }
.agents-guide-node { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #52708c; border-radius: 50%; background: #0c1e34; color: #a8c6df; font: 500 .65rem/1 'IBM Plex Mono', ui-monospace, monospace; }
.agents-guide-route > div:last-child .agents-guide-node { border-color: var(--danca-signal); color: var(--danca-signal); }
.agents-guide-route > div > span:last-child { display: grid; gap: 4px; }
.agents-guide-preview > p { margin: 12px 0 0; padding-top: 13px; border-top: 1px solid #385674; color: #c3d3e3; font-size: .8rem; line-height: 1.55; }
@media (max-width: 800px) {
  body .agents-hero { padding: 52px 20px 58px; }
  body .agents-hero .agents-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  body .agents-hero .agents-hero-copy h1 { max-width: 12ch; font-size: clamp(2.8rem, 10vw, 4rem); }
  body .agents-hero .agents-hero-copy > p { max-width: 48ch; }
  body .agents-hero .agents-hero-copy .agents-signal { max-width: 530px; }
  .agents-guide-preview { justify-self: start; max-width: 530px; }
  body .agents-hero .planet { right: -35%; opacity: .12; }
}
@media (max-width: 480px) {
  body .agents-hero { padding: 42px 16px 50px; }
  body .agents-hero .agents-hero-copy h1 { font-size: clamp(2.65rem, 12vw, 3.4rem); }
  body .agents-hero .agents-hero-copy .hero-links { display: grid; grid-template-columns: minmax(0, 1fr); }
  body .agents-hero .agents-hero-copy .hero-links .btn { width: 100%; }
  body .agents-hero .agents-signal { gap: 6px; }
  body .agents-hero .agents-signal span { font-size: .61rem; padding: .5rem .55rem; }
  .agents-guide-preview { padding: 18px; }
}

/* Review pass: carry Astro's centered, luminous opening into DANCA's own blue identity. */
.home-page .hero-section {
  padding-block: clamp(52px, 7vh, 76px) clamp(48px, 6vh, 64px);
  background:
    radial-gradient(ellipse 78% 50% at 50% 4%, rgb(35 114 201 / 28%), transparent 76%),
    linear-gradient(180deg, #091a31 0%, #071426 76%);
}
.home-page .hero {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 3.5vh, 44px);
  justify-items: center;
}
.home-page .hero-copy {
  align-items: center;
  max-width: 920px;
  text-align: center;
}
.home-page .hero-kicker { margin-inline: auto; }
.home-page .hero h1 {
  max-width: 15ch;
  font-size: clamp(3.35rem, 6.2vw, 5.65rem);
  line-height: .98;
  letter-spacing: -.078em;
}
.home-page .hero .lede { max-width: 52ch; }
.home-page .hero-actions { justify-content: center; }
.home-page .hero-note { text-align: center; }
.home-page .hero-offer { justify-content: center; }
.home-page .hero-demo {
  width: min(1120px, 100%);
  margin-inline: auto;
}
.home-page .process-map {
  border-radius: 20px;
  border-color: #76d7ff59;
  box-shadow: 0 42px 120px -64px #000, 0 0 84px -50px #4dafff9c;
}
/* On wide screens the commercial journey reads as a route, with its evidence below. */
@media (min-width: 760px) {
  .home-page .process-map .process-track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 12px clamp(8px, 1.5vw, 18px);
    padding: 20px clamp(18px, 2.5vw, 30px) 28px;
  }
  .home-page .process-map .process-track::before {
    inset: 42px 10% auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--danca-signal), #385674 76%);
    opacity: .72;
    transform: scaleX(var(--process-progress));
    transform-origin: left center;
    transition: transform .24s ease;
  }
  .home-page .process-map .process-track button {
    grid-area: 1 / auto;
    display: flex;
    min-height: 68px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 5px 4px;
    border: 0;
    background: transparent;
    text-align: center;
  }
  .home-page .process-map .process-track button span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    margin: 0;
    border: 1px solid #52708c;
    border-radius: 50%;
    background: #0c1e34;
    color: #b5c8dc;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
  }
  .home-page .process-map .process-track button[aria-expanded=true] span {
    border-color: var(--danca-signal);
    background: var(--danca-signal);
    color: var(--danca-night);
  }
  .home-page .process-map .process-track .solution-example {
    grid-area: 2 / 1 / 3 / -1;
    margin: 4px 0 0;
  }
}
@media (max-width: 600px) {
  .home-page .hero-section { padding-block: 58px 68px; }
  .home-page .hero { gap: 38px; }
  .home-page .hero-copy { width: min(100%, 520px); }
  .home-page .hero h1 {
    width: min(100%, 12ch);
    max-width: 12ch;
    font-size: clamp(2.75rem, 10.6vw, 3.5rem);
    letter-spacing: -.055em;
  }
  .home-page .hero .lede { max-width: 34ch; }
  .home-page .hero-offer {
    width: 100%;
    max-width: 380px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: initial;
  }
  .home-page .hero-offer > span:last-child { grid-column: 1 / -1; flex-basis: auto; }
}

/* Keep E.M.A.'s mobile shortcut from covering the industry selector. */
@media (max-width: 600px) {
  .industries-page #gon-launcher:not(.gon-open) {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 4px;
  }
  .industries-page #gon-launcher:not(.gon-open) .gon-avatar-sm {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
  }
}

/* Ajustes de Claude: sin desborde a 320 px y titulares menos apretados. */
.home-page .sec-head, .home-page .sec-head h2 { min-width: 0; overflow-wrap: break-word; }
.home-page .sec-head h2 { letter-spacing: -.045em; }
@media (max-width: 360px) { .home-page .sec-head h2 { font-size: 2rem; } }
.home-page .wrap.sec { grid-template-columns: minmax(0, 1fr); }
.home-page .taller-grid > *, .home-page .taller-form select { min-width: 0; max-width: 100%; }

/* Ajustes de Claude: legibilidad de titulares y alineación del bloque principal. */
.home-page .hero h1 { letter-spacing: -.04em !important; }
.home-page .sec-head h2, .legal-page .page-hero h1, .home-page .plan .price { letter-spacing: -.035em !important; }
.home-page .hero-offer { margin-inline: auto; justify-content: center; }
.home-page .hero-actions .btn { justify-content: center; text-align: center; }
@media (max-width: 700px) {
  .home-page .hero-offer { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 10px; text-align: center; }
  .home-page .hero-offer > span:last-child { flex-basis: 100%; }
}
.home-page .hero .lede, .home-page .hero-copy > p { margin-inline: auto; }
