/* Public marketing refresh; loaded only by the four landing pages. */

/* ============ The Marketing System cycle ============
   Markup comes from Marketing/_system-cycle.php. The ring is decorative and
   aria-hidden; the ordered list beside it carries the same content and is what
   assistive tech and narrow screens get. Deliberately avoids flex `gap`,
   `inset` and `aspect-ratio`, none of which land in Chromium 80 (Edge <=83);
   see the .no-flexgap layer in dexlab.css. */
.cycle-block { margin: 0; }
.cycle-ring { max-width: 560px; margin: 8px auto 0; }
.cycle-ring-inner { position: relative; width: 100%; height: 0; padding-top: 100%; }
.cycle-track { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: visible; }
.cycle-arc { fill: none; stroke: var(--brand-blue); stroke-width: .75; opacity: .5; }
.cycle-head { fill: var(--brand-blue); opacity: .7; }
.cycle-arc.is-return { stroke: var(--emerald-dk); stroke-width: .9; opacity: .85; stroke-dasharray: 2.4 2; }
.cycle-head.is-return { fill: var(--emerald-dk); opacity: 1; }

.cycle-hub {
  position: absolute; left: 50%; top: 50%; width: 34%; height: 34%;
  margin: 0; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--navy-deep); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4%; box-sizing: border-box;
}
.cycle-hub strong { display: block; font-size: 15px; line-height: 1.2; letter-spacing: -.02em; margin: 6px 0; }
.cyh-top, .cyh-sub { display: block; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: #9fb7d4; }
.cyh-sub { color: #7dd3fc; letter-spacing: .05em; }

.cycle-node {
  position: absolute; width: 25%; margin: 0; transform: translate(-50%, -50%);
  text-align: center;
}
.cy-num {
  display: inline-block; min-width: 26px; padding: 3px 7px; margin-bottom: 6px;
  border-radius: 8px; background: var(--blue-light); color: var(--brand-blue-dk);
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.cy-lab { display: block; font-size: 13.5px; font-weight: 800; color: var(--navy-deep); line-height: 1.25; }
.cycle-node.is-here .cy-num { background: var(--emerald-dk); color: #fff; }
.cycle-node.is-here .cy-lab { color: var(--emerald-text); }
.cy-here {
  display: block; margin-top: 5px; font-size: 9.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; color: var(--emerald-dk);
}

/* Ring mode: the diagram already names every stage, so the list is there for
   screen readers only until the ring is dropped at narrow widths. */
.cycle-mode-ring .cycle-list {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cycle-list { list-style: none; }
.cycle-list li { padding: 12px 0; border-top: 1px solid var(--border); }
.cycle-list li:first-child { border-top: 0; }
.cycle-list strong { display: block; font-size: 14.5px; color: var(--navy-deep); }
.cycle-list small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.55; color: var(--text-muted); }
.cycle-list li.is-here strong { color: var(--emerald-text); }

/* Full mode: the depth page. Each stage says what happens, who owns it and
   what comes out — the three questions a "our process" page usually skips. */
.cycle-detail {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.cycle-detail li {
  padding: 26px; background: #fff; border: 1px solid var(--border);
  border-top: 3px solid var(--brand-blue); border-radius: 14px;
}
.cycle-detail li:last-child { border-top-color: var(--emerald-dk); }
.cycle-detail li.is-here { border-color: var(--emerald-dk); box-shadow: 0 0 0 3px var(--emerald-light); }
.st-n { display: block; color: var(--brand-blue-dk); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.cycle-detail strong { display: block; margin: 10px 0 16px; font-size: 20px; color: var(--navy-deep); }
.cycle-detail dl { margin: 0; }
.cycle-detail dt {
  font-size: 10.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--brand-blue-dk); margin-top: 14px;
}
.cycle-detail dt:first-child { margin-top: 0; }
.cycle-detail dd { margin: 4px 0 0; color: var(--text-muted); line-height: 1.65; font-size: 14px; }
.st-link { display: inline-block; margin-top: 18px; font-size: 13.5px; font-weight: 700; }

.cycle-return {
  margin: 32px 0 0; padding: 20px 24px; border-left: 3px solid var(--emerald-dk);
  background: var(--emerald-light); border-radius: 0 12px 12px 0;
  color: var(--navy-deep); line-height: 1.7; font-size: 14.5px;
}
.cycle-return strong { color: var(--emerald-text); }
.cyr-mark { font-size: 19px; line-height: 1; margin-right: 6px; color: var(--emerald-dk); }

/* The hero card runs a narrower ring, so its type steps down with it. */
.growth-map .cycle-ring { margin-top: 4px; }
.growth-map .cy-lab { font-size: 12px; }
.growth-map .cycle-hub strong { font-size: 13px; }
.growth-map .cycle-return { margin-top: 22px; padding: 14px 16px; font-size: 12.5px; }
.growth-map .cyr-mark { font-size: 16px; }

/* Two components read side by side on the component pages. */
.component-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.component-flow p { color: var(--text-muted); line-height: 1.7; margin: 0; }
.system-components { margin-top: 40px; }

@media (max-width: 980px) {
  .cycle-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  /* Below this the ring's labels collide; the list says the same thing. */
  .cycle-ring { display: none; }
  .cycle-detail { grid-template-columns: minmax(0, 1fr); }
  .cycle-detail li { padding: 22px; }
  .cycle-mode-ring .cycle-list {
    position: static; width: auto; height: auto; margin: 0; padding: 0;
    overflow: visible; clip: auto; white-space: normal;
  }
  .cycle-return { margin-top: 22px; padding: 16px 18px; }
}
.component-flow h3 { margin-bottom: 12px; }
.growth-page .page-head .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .component-flow { grid-template-columns: minmax(0,1fr); } }
.growth-page .hero { padding: 88px 0; }
.growth-page .nav-links > a.btn-primary { color: #fff; background: var(--brand-blue-dk); }
.growth-page .hero-grid { gap: 56px; align-items: center; }
.growth-page .hero h1 { font-size: clamp(32px, 3.6vw, 50px); letter-spacing: -.045em; }
.growth-page .pill { font-size: 12px; letter-spacing: .035em; }
.growth-map { background: #fff; color: var(--navy-deep); padding: 30px; border-radius: 24px; box-shadow: 0 24px 70px #0003; }
.growth-map-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.growth-map-heading .eyebrow { margin: 0; }
.growth-map h2 { font-size: 30px; line-height: 1.25; letter-spacing: -.035em; margin: 28px 0; }
.growth-page .page-head { padding: 78px 0; background: radial-gradient(ellipse at 85% 20%, #214e73 0, transparent 55%), var(--navy-deep); }
.growth-page .page-head h1 { max-width: 900px; margin-left: auto; margin-right: auto; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.045em; line-height: 1.15; }
.service-actions { justify-content: center; margin-top: 28px; }
.growth-page .product-card { border-top: 3px solid var(--brand-blue); padding: 30px; }
.growth-page .product-card.t-green { border-top-color: var(--emerald-dk); }
.growth-page .product-card.t-violet { border-top-color: var(--violet); }
.growth-page .product-card h3 { line-height: 1.3; }
.growth-page .ftxt h2 { font-size: 30px; line-height: 1.2; }
.growth-page .service-tiers .pfoot { margin-top: 18px; }
.growth-page .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.growth-page .service-tiers { grid-template-columns: repeat(2,minmax(0,1fr)); }
.growth-page .coverage-grid { grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); }
.growth-page .contact-form-route { text-align: center; margin: -12px 0 28px; }
.growth-page .contact-card .btn { white-space: normal; overflow-wrap: anywhere; }
.growth-page [id] { scroll-margin-top: 90px; }
.growth-page a:focus-visible, .growth-page button:focus-visible, .growth-page select:focus-visible { outline: 3px solid #d97706; outline-offset: 4px; }
@media (max-width: 980px) {
  .growth-page .hero-grid { gap: 34px; }
  .growth-page .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .growth-page .hero, .growth-page .page-head { padding: 36px 0; }
  .growth-page .page-head h1 { font-size: 30px; }
  .growth-page .page-head p { font-size: 16px; }
  .growth-page .hero .trust { gap: 10px; margin-top: 24px; }
  .growth-page .product-grid { grid-template-columns: minmax(0,1fr); }
  .growth-map { padding: 22px; border-radius: 18px; }
  .growth-map h2 { font-size: 27px; }
  .growth-map-heading .tag { font-size: 10px; }
  .growth-page .hero-cta { align-items: stretch; }
  .growth-page .hero-cta .btn { width: 100%; white-space: normal; text-align: center; }
  .growth-page .product-card { padding: 24px; }
  .growth-page .ratio-row { flex-wrap: wrap; }
  .growth-page .ratio-row .rbody { min-width: 160px; }
}

/* A pricing/scope caveat — deliberately not styled as the cycle-return
   callout, which means something else (the loop closing). */
.scope-note {
  margin: 32px auto 0; max-width: 820px; padding: 18px 22px;
  border: 1px solid var(--border); border-left: 3px solid var(--brand-blue);
  border-radius: 0 12px 12px 0; background: #fff;
  color: var(--text-muted); font-size: 14px; line-height: 1.7;
}

/* Stage 01 teaser on marketing-system.php, pointing at the benchmarks page
   that used to be a third of this page. Grid gap only — Chromium 80 supports
   grid gap but not flex gap. */
.bm-teaser {
  max-width: 820px; margin: 0 auto; padding: 28px 32px;
  background: #fff; border: 1px solid var(--border);
  border-left: 3px solid var(--brand-blue); border-radius: 0 14px 14px 0;
}
.bm-teaser-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  text-align: center;
}
.bm-teaser-stats strong {
  display: block; font-size: 32px; font-weight: 800; color: var(--navy-deep);
  letter-spacing: -.02em; line-height: 1;
}
.bm-teaser-stats span {
  display: block; margin-top: 6px; font-size: 12.5px; color: var(--text-muted);
}
.bm-teaser-cta { margin-top: 26px; text-align: center; }
@media (max-width: 560px) {
  .bm-teaser { padding: 22px 20px; }
  .bm-teaser-stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bm-teaser-cta .btn { width: 100%; text-align: center; }
}
