/* P15 · HCSA hero: platform copy and iPhone previews, aligned primary
   actions, aligned secondary actions and notes, then the original diagrams.
   Only the HCSA page uses this layout. */
.hcsa-page .hcsa-hero-layout--balanced {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas: "copy phones" "launch screen-action" "actions note" "guide contexts";
  column-gap: clamp(30px, 5vw, 76px);
  row-gap: 8px;
  align-items: start;
}
.hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-text { display: contents; }
.hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-text > .hcsa-hero-main {
  grid-area: copy;
  min-width: 0;
  padding: 34px 0 0;
}
.hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-text > .r23-hero-launch {
  grid-area: launch;
  min-width: 0;
  align-self: start;
  margin: 0;
  gap: 4px;
}
.hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-text > .hcsa-hero-actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin: 0;
  min-width: 0;
  align-self: start;
}
.hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-visuals > .hcsa-hero-screen-action {
  grid-area: screen-action;
  min-width: 0;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  align-self: start;
  gap: 13px;
}
.hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-visuals > .hcsa-hero-screen-note {
  grid-area: note;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  min-width: 0;
  min-height: 51px;
}
.hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-visuals > .hcsa-hero-screen-note .hcsa-hero-fine {
  width: 100%;
  max-width: 44ch;
  margin: 0;
  text-align: center;
  color: #b2ccdc;
  font-size: .81rem;
  line-height: 1.55;
}
.hcsa-page .hcsa-hero-screen-action .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 51px;
  padding: 14px 20px;
  border-radius: 13px;
  border: 1px solid #fff;
  background: #fff;
  color: #0a3044;
  font-weight: 750;
  font-size: .91rem;
  text-decoration: none;
  text-align: center;
  line-height: 1.35;
}
.hcsa-page .hcsa-hero-screen-action .btn:hover {
  color: #0a3044;
  background: #dffbf6;
  border-color: #dffbf6;
}
.hcsa-page .hcsa-hero-screen-action .btn:focus-visible {
  outline: 3px solid #87e7df;
  outline-offset: 3px;
}
/* Promote existing right-hand images to the parent grid without editing
   either image, diagram component, or interactive control. */
.hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-visuals { display: contents; }
.hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-visuals > .hcsa-hero-art {
  grid-area: phones;
  align-self: start;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}
.hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-visuals > .hj-figure--hcsa {
  grid-area: contexts;
  align-self: start;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}
.hcsa-page .hcsa-integration-guide {
  grid-area: guide;
  min-width: 0;
  margin-top: 0;
  padding: clamp(23px, 2.7vw, 34px);
  background: linear-gradient(155deg, rgba(22, 62, 81, .92) 0%, rgba(9, 37, 65, .96) 100%);
  border: 1px solid rgba(125, 224, 214, .22);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(222, 255, 250, .055), 0 22px 46px rgba(0, 14, 30, .15);
  color: #eaf8fb;
}
.hcsa-page .hcsa-integration-guide__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px 14px;
  color: #80e4db;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .115em;
  line-height: 1.45;
  text-transform: uppercase;
}
.hcsa-page .hcsa-integration-guide__status {
  flex: none;
  color: #c4e3e9;
  background: rgba(167, 225, 229, .075);
  border: 1px solid rgba(153, 216, 223, .19);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: .66rem;
  letter-spacing: .055em;
  white-space: nowrap;
}
.hcsa-page .hcsa-integration-guide h2 {
  max-width: none;
  color: #fff;
  margin: 17px 0 11px;
  font-size: clamp(1.32rem, 2vw, 1.83rem);
  letter-spacing: -.024em;
  font-weight: 820;
  line-height: 1.19;
}
.hcsa-page .hcsa-integration-guide h2 span { color: #87e7df; }
.hcsa-page .hcsa-integration-guide__intro {
  color: #c2d8e4;
  line-height: 1.55;
  font-size: .89rem;
  margin: 0 0 17px;
  max-width: 60ch;
}
.hcsa-page .hcsa-integration-guide__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}
.hcsa-page .hcsa-integration-guide__list li {
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  border-top: 1px solid rgba(170, 230, 231, .13);
  padding: 13px 0;
  margin: 0;
}
.hcsa-page .hcsa-integration-guide__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(34, 182, 175, .14);
  border: 1px solid rgba(71, 219, 211, .18);
  color: #87eee4;
  font-size: .78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hcsa-page .hcsa-integration-guide__list strong {
  display: block;
  color: #f5ffff;
  font-size: .88rem;
  line-height: 1.35;
  margin-bottom: 4px;
}
.hcsa-page .hcsa-integration-guide__list p {
  color: #bad1dc;
  font-size: .8rem;
  line-height: 1.46;
  margin: 0;
}
.hcsa-page .hcsa-integration-guide__disclaimer {
  color: #95b6c6;
  margin: 8px 0 0;
  padding-top: 13px;
  border-top: 1px solid rgba(170, 230, 231, .13);
  font-size: .73rem;
  line-height: 1.5;
}
@media (min-width: 881px) {
  .hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-visuals > .hcsa-hero-art figcaption {
    margin-top: 10px;
  }
}
@media (max-width: 1000px) and (min-width: 881px) {
  .hcsa-page .hcsa-hero-layout--balanced { column-gap: 30px; }
  .hcsa-page .hcsa-integration-guide { padding: 21px; }
}
@media (max-width: 880px) {
  .hcsa-page .hcsa-hero-layout--balanced {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "launch" "actions" "phones" "screen-action" "note" "contexts" "guide";
    gap: clamp(20px, 4vw, 32px);
  }
  .hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-visuals > .hcsa-hero-art,
  .hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-visuals > .hj-figure--hcsa,
  .hcsa-page .hcsa-integration-guide {
    width: 100%;
    max-width: 550px;
    margin-inline: auto;
  }
  .hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-visuals > .hcsa-hero-screen-action,
  .hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-visuals > .hj-figure--hcsa,
  .hcsa-page .hcsa-integration-guide {
    margin-top: 0;
  }
  .hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-text > .hcsa-hero-main { padding: 23px 0 0; }
  .hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-visuals > .hcsa-hero-screen-note {
    min-height: 0;
  }
  .hcsa-page .hcsa-hero-screen-action .btn { width: 100%; }
  .hcsa-page .hcsa-hero-layout--balanced > .hcsa-hero-text > .hcsa-hero-actions .btn { width: 100%; }
}
@media (max-width: 440px) {
  .hcsa-page .hcsa-integration-guide { border-radius: 19px; padding: 19px 17px; }
  .hcsa-page .hcsa-integration-guide h2 { font-size: 1.37rem; }
  .hcsa-page .hcsa-integration-guide__list li { gap: 9px; }
}
