/* Focused spacing and legibility pass for Journey, DEPTH, and Connect. */
#journey {
  padding-top: 4.5rem;
  padding-bottom: 3rem;
}
#journey .section-intro,
#depth .section-intro { margin-bottom: 1.5rem; }
#journey .journey-context > p:first-child {
  max-width: 42rem;
  margin: 0;
  color: #5f6368;
  font-size: 1.0625rem;
  line-height: 1.55;
}
#journey .journey-cue { margin-top: .85rem; }

.depth-section .section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
#depth .depth-start-choices { margin-top: 1.25rem; }
#depth .depth-explorer { gap: clamp(1.25rem, 2.2vw, 2rem); }
#depth .depth-gauge {
  height: 23rem;
  min-height: 23rem;
  border-radius: 1rem;
  background: #293f60;
}
#depth .chx-surface-line { display: none; }
#depth .chx-lvl {
  top: 0 !important;
  height: 25%;
  align-items: center;
  padding: .65rem 1rem;
  border-top: 1px solid rgb(255 255 255 / 36%);
  color: #fff;
  opacity: 1;
}
#depth .chx-lvl:nth-of-type(1) { background-color: #536985; }
#depth .chx-lvl:nth-of-type(2) { top: 25% !important; background-color: #4a6382; }
#depth .chx-lvl:nth-of-type(3) { top: 50% !important; background-color: #3b5476; }
#depth .chx-lvl:nth-of-type(4) { top: 75% !important; background-color: #293f60; }
#depth .chx-lvl.is-active,
#depth .chx-lvl:focus-visible { opacity: 1; }
#depth .chx-lvl small { font-family: inherit; font-size: .8rem; font-weight: 550; line-height: 1.25; letter-spacing: 0; }
#depth .depth-explorer .help-selector {
  min-height: 0;
  padding: 1.6rem;
  border-radius: 1rem;
  display: block;
}
#depth .help-options { gap: .5rem; margin-top: 1rem; }
#depth .help-options button { padding: .6rem .95rem; font-size: .9rem; }
#depth .offer-choices { margin-top: 1.75rem; }
#depth .offer { min-height: 28rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
#depth .offer-copy h4 { margin-bottom: 1rem; }
#depth .offer-copy .offer-lede { margin-bottom: 1.2rem; }
#depth .offer-sentences p { padding: .65rem 0; }

#contact.contact-section { padding: 3rem 0; }
#contact .contact-layout { gap: clamp(2rem, 3vw, 3rem); }
#contact .contact-intro h2 {
  max-width: 27rem;
  font-size: clamp(2.85rem, 4.15vw, 4.25rem);
}
#contact .contact-intro > p:last-child { margin-top: 1rem; line-height: 1.55; }
#contact .contact-form { padding: clamp(1.2rem, 2vw, 1.7rem); border-radius: 1.1rem; }
#contact .form-grid { gap: .65rem .85rem; }
#contact .contact-choice-status { margin: .1rem 0 .45rem; }
#contact .contact-option-grid { gap: .4rem; }
#contact .contact-option { min-height: 2.8rem; padding: .5rem; }
#contact .contact-form input,
#contact .contact-form textarea { margin-top: .35rem; padding: .6rem .75rem; }
#contact .contact-form textarea { min-height: 5rem; }

@media (max-width: 900px) {
  #depth .depth-gauge { height: 21rem; min-height: 21rem; }
  #depth .depth-explorer .help-selector { padding: 1.4rem; }
  #depth .offer { min-height: 0; }
}
@media (max-width: 720px) {
  #journey { padding-top: 3rem; padding-bottom: 2.5rem; }
  .depth-section .section { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  #depth .depth-gauge { height: 20rem; min-height: 20rem; }
  #depth .chx-lvl { padding-inline: .85rem; }
  #depth .chx-lvl small { font-size: .72rem; }
  #depth .depth-explorer .help-selector { padding: 1.15rem; }
  #depth .offer-choices { margin-top: 1.25rem; }
  #contact.contact-section { padding: 2.5rem 0; }
  #contact .contact-form { padding: 1rem; }
  #contact .contact-option { min-height: 2.6rem; }
  #contact .contact-form textarea { min-height: 4.5rem; }
}

/* One quiet control language across the homepage. */
.header-actions .nav-connect {
  margin-left: .2rem;
  padding: .45rem 0;
  border: 0;
  background: transparent;
  color: var(--v3-shark, #171a23);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .015em;
}
.header-actions .nav-connect:hover { color: var(--v3-science-blue, #0071e3); }
#journey .button,
#depth .button,
#contact .button,
.meet-cohary .button {
  min-height: 3.15rem;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
}
#journey .button.blue,
#depth .button.blue,
#contact .button.blue,
.meet-cohary .button.blue {
  border-color: #0876e8;
  background: #0876e8;
  color: #fff;
}
#journey .button.outline,
#depth .button.outline {
  border: 1px solid #cfd4dc;
  background: #fff;
  color: #171a23;
}
#journey .button.outline:hover,
#depth .button.outline:hover { border-color: #0876e8; background: #f5f9ff; }
.meet-cohary .meet-cohary-cta { border-radius: 999px; }

/* A subtle tonal handoff from the hero through Meet COHARY; Journey stays white. */
.meet-cohary {
  background:
    radial-gradient(ellipse at 82% 48%, rgb(47 95 192 / 7%), transparent 39%),
    linear-gradient(180deg, #f4f7fc 0%, #f9fbfe 54%, #fff 100%);
}
#journey { background: #fff; }

/* Compact segmented selectors shared by Journey and DEPTH. */
#journey .stage-tabs,
#depth .offer-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .25rem;
  padding: .3rem;
  overflow: hidden;
  border: 1px solid #e0e3e8;
  border-radius: 1rem;
  background: #f4f5f7;
}
#journey .stage-tabs button,
#depth .offer-choices button {
  min-width: 0;
  min-height: 4.35rem;
  padding: .65rem .9rem;
  border: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-radius: .75rem;
  background: transparent;
  color: #73777d;
  text-align: left;
  box-shadow: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
#journey .stage-tabs button strong,
#depth .offer-choices button strong {
  display: block;
  color: inherit;
  font-size: clamp(.9rem, 1.1vw, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
}
#journey .stage-tabs button small,
#depth .offer-choices button span {
  display: block;
  margin-top: .25rem;
  color: #858990;
  font-size: .78rem;
  line-height: 1.25;
}
#journey .stage-tabs [aria-selected="true"],
#depth .offer-choices [aria-selected="true"] {
  border-color: #e1e4e8;
  border-bottom-color: #e1e4e8;
  background: #fff;
  color: #171a23;
  box-shadow: 0 1px 3px rgb(20 28 40 / 8%);
}
#journey .stage-tabs [aria-selected="true"] strong,
#depth .offer-choices [aria-selected="true"] strong { color: #171a23; }
#journey .stage-tabs [aria-selected="true"] small,
#depth .offer-choices [aria-selected="true"] span { color: #73777d; }
#depth .offer-choices [aria-selected="true"] {
  border-color: #0876e8;
  background: #f4f8ff;
  box-shadow: inset 0 0 0 1px #0876e8;
}
#journey .stage-panel { min-height: 0 !important; padding: clamp(1.75rem, 3vw, 2.6rem) clamp(1rem, 2vw, 1.5rem); }
#journey .stage-focus ul { margin-bottom: 1.2rem; }
#journey .stage-focus li { padding: .65rem 0; border: 0; }
#journey .stage-focus li::before { margin-right: .65rem; }

/* DEPTH: title, useful context, then the four-level visual; picker below spans the wrap. */
#depth .depth-overview {
  display: grid;
  grid-template-columns: minmax(16rem, 1.1fr) minmax(18rem, 1fr) minmax(13rem, .72fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  margin-bottom: 2rem;
}
#depth .depth-overview .section-intro { margin: 0; }
#depth .depth-overview-title h2 {
  font-size: var(--v3-section-heading-size) !important;
  line-height: 1.2;
  letter-spacing: -.055em;
  font-weight: 700;
}
#depth .depth-overview-title h2 > span { display: block !important; width: 100%; }
.hero .hero-follow.heading-soft { color: #777c7e; }

/* Let the next section begin to rise sooner, with less unused hero space. */
.hero-frame { height: calc(105svh - 6rem); }
.hero { padding-block: 1.25rem; }
.meet-cohary {
  min-height: 0;
  padding: clamp(3rem, 4.5vw, 4.25rem) 0;
  background: linear-gradient(155deg, #f0f4fa 0%, #f5f7fb 58%, #fff 100%);
}
#journey { border-top: 1px solid #e6ebf2; }
#depth .depth-overview-copy > p {
  max-width: 34rem;
  margin: 0;
  color: #5f6368;
  font-size: 1.05rem;
  line-height: 1.55;
}
#depth .depth-overview-copy > .depth-instruction {
  margin-top: .8rem;
  color: #171a23;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
}
#depth .depth-start-choices { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
#depth .depth-explorer { display: block; }
#depth .depth-gauge { width: 100%; height: 14rem; min-height: 14rem; border-radius: .9rem; }
#depth .chx-lvl { padding: .45rem .8rem; }
#depth .chx-lvl b { font-size: .95rem; }
#depth .chx-lvl small { font-size: .72rem; }
#depth .depth-explorer .help-selector { padding: 1.2rem 1.35rem; border-radius: .9rem; }
#depth .depth-explorer .help-selector { padding: .95rem 1.25rem .75rem; }
#depth .guide-instruction { margin: 0; }
#depth .selector-context { margin-top: .25rem; }
#depth .help-options { gap: .4rem; margin-top: .6rem; }
#depth .help-options button { padding: .38rem .65rem; border-radius: 999px; font-size: .8rem; line-height: 1.25; }
#depth .help-options .clear-guide {
  margin-left: auto;
  padding-inline: .25rem;
  border: 0;
  background: transparent;
  color: #73777d;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#depth .help-options .clear-guide:hover { color: #0876e8; background: transparent; }
#depth .selector-footer { margin-top: .7rem; }
#depth .offer-choices { margin-top: 1.25rem; }
#depth .offer { min-height: 0; padding: clamp(1.3rem, 2.4vw, 2rem); border-radius: 0 0 1rem 1rem; }
#depth .offer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(12rem, .8fr); align-items: center; }
#depth .offer-copy { grid-column: 1; grid-row: 1; }
#depth .offer-end { grid-column: 2; grid-row: 1; }
#depth .offer-copy h4 { max-width: 15ch; margin-bottom: .6rem; font-size: clamp(1.7rem, 2.7vw, 2.55rem); }
#depth .offer-copy .offer-lede { margin-bottom: .85rem; font-size: 1rem; line-height: 1.5; }
#depth .offer-sentences { border-top: 0; }
#depth .offer-sentences p { padding: .42rem 0; border-bottom: 0; font-size: .95rem; }
#depth .offer-end { padding-left: clamp(1.25rem, 3vw, 2.5rem); }
#depth .offer-end .terms { font-size: .76rem; line-height: 1.4; }
#depth .offer-end .price { margin: .75rem 0 1rem; font-size: clamp(2rem, 3.2vw, 2.8rem); }
#depth .offer-end .button { width: auto; min-width: 10rem; min-height: 2.8rem; margin-top: .2rem; }
#depth .offer-grid { gap: 0; }
#depth .offer[hidden] { display: none !important; }
#depth .depth-footnote { margin-top: 1rem; }

@media (max-width: 1000px) {
  #depth .depth-overview { grid-template-columns: minmax(0, 1fr) minmax(12rem, .72fr); }
  #depth .depth-overview-title { grid-column: 1; }
  #depth .depth-overview-copy { grid-column: 1; }
  #depth .depth-gauge { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 720px) {
  .header-actions .nav-connect { grid-column: 2; grid-row: 1; justify-self: end; font-size: .85rem; }
  .hero-frame { height: calc(105svh - 6.5625rem); }
  .hero { padding-block: .75rem; }
  .hero-frame { height: calc(120svh - 6.5625rem); }
  #journey .stage-tabs,
  #depth .offer-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #journey .stage-tabs button,
  #depth .offer-choices button { min-height: 3.8rem; padding: .55rem .65rem; }
  #journey .stage-tabs button strong,
  #depth .offer-choices button strong { font-size: .9rem; }
  #journey .stage-tabs button small,
  #depth .offer-choices button span { font-size: .72rem; }
  #journey .stage-panel { padding: 1.4rem .25rem; }
  #depth .depth-overview { grid-template-columns: 1fr; gap: 1rem; }
  #depth .depth-overview-title,
  #depth .depth-overview-copy,
  #depth .depth-gauge { grid-column: 1; grid-row: auto; }
  #depth .depth-gauge { height: 12rem; min-height: 12rem; }
  #depth .depth-explorer .help-selector { padding: 1rem; }
  #depth .offer { border-radius: 0 0 .9rem .9rem; padding: 1.2rem; }
  #depth .offer { grid-template-columns: 1fr; }
  #depth .offer-copy,
  #depth .offer-end { grid-column: 1; grid-row: auto; }
  #depth .offer-end { padding: 1rem 0 0; border: 0; }
  #depth .offer-end .price { font-size: 2.15rem; }
}

/* Keep the Journey, DEPTH, and QUESTION headlines on one typographic system. */
#journey .journey-intro h2,
#depth .depth-overview-title h2,
#contact .contact-intro h2 {
  font-size: var(--v3-section-heading-size) !important;
  line-height: 1.2;
  letter-spacing: -.055em;
  font-weight: 700;
}
#contact .contact-intro h2 > span { display: block; }
#contact .contact-intro h2 .heading-soft { color: #777c7e; }

/* Match the DEPTH selector's selected state to the Journey selector. */
#depth .offer-choices [aria-selected="true"] {
  border-color: #e1e4e8;
  border-bottom-color: #e1e4e8;
  background: #fff;
  color: #171a23;
  box-shadow: 0 1px 3px rgb(20 28 40 / 8%);
}
#depth .offer-choices [aria-selected="true"] strong { color: #171a23; }
#depth .offer-choices [aria-selected="true"] span { color: #73777d; }

/* Restore comfortable priority-chip text and padding. */
#depth .help-options { gap: .5rem; }
#depth .help-options button { padding: .5rem .8rem; font-size: 1rem; line-height: 1.3; }

/* Give Section 2 room to breathe while keeping its content centered. */
.meet-cohary {
  min-height: 68svh;
  padding: clamp(5rem, 7vw, 6.5rem) 0;
}
@media (max-width: 720px) {
  .meet-cohary { min-height: 0; padding: 4.5rem 0 5rem; }
}

/* Keep Journey's supporting copy on the same compact measure as Section 2. */
#journey .journey-context { max-width: 37rem; }
#journey .journey-context > p:first-child { max-width: 37rem; }

/* Make the QUESTION heading's line breaks intentional and left aligned. */
#contact .contact-intro h2 { max-width: 100%; }
#contact .contact-intro h2 > span {
  display: block;
  width: 100%;
  text-align: left;
}

/* Center the sonar itself on each quarter-band's midpoint. */
#depth .chx-sonar { transform: translateY(-50%); }

/* Give the handoff into Journey the same relaxed rhythm as the opening. */
#journey { padding-top: clamp(6rem, 9vw, 9rem); }

/* Share DEPTH's outer frame with the contact title and form. */
#contact .contact-layout {
  max-width: var(--v3-content-width);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
}
#contact .contact-intro h2 { margin-top: 0; }
#contact .contact-form textarea { min-height: 10rem; font-weight: 400; }
#depth #offer-3 .offer-copy h4 { max-width: none; }
#depth #offer-3 .offer-copy h4 > span { display: block; }
@media (max-width: 1000px) {
  #contact .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  #journey { padding-top: 4.5rem; }
  #contact .contact-form textarea { min-height: 9rem; }
}

/* Let the mobile opening grow naturally; fixed-height centering clips tall content above the header. */
@media (max-width: 720px) {
 .hero-frame { height: auto; min-height: 0; }
 .hero { position: relative; top: auto; height: auto; min-height: 0; padding-block: 8rem 3rem; align-items: start; }
 .hero-copy { align-self: start; }
}

/* All header links share the same typography on every page. */
.header-actions nav a, .header-actions .nav-connect {
 font-family: inherit; font-size: 1.0625rem; font-weight: 450; letter-spacing: normal; line-height: inherit;
}
@media (max-width: 720px) {
 .header-actions nav a, .header-actions .nav-connect { font-size: .875rem; }
}
