/* Shared styles for the consumer and business journeys */

.page-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr);
  color: var(--ink);
  background: var(--paper);
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px max(32px, calc((100vw - 1420px) / 2));
  padding-right: clamp(44px, 7vw, 120px);
}

.page-hero-copy .eyebrow { color: #6f7850; }
.page-hero h1,
.page-section h2,
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .93;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(64px, 7vw, 112px);
}

.page-hero h1 em,
.page-section h2 em,
.cta-band h2 em {
  color: #747c50;
  font-style: italic;
  font-weight: 500;
}

.page-hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.page-hero .button-ghost {
  color: var(--ink);
  border-color: rgba(24, 58, 39, .34);
  background: transparent;
}

.page-hero .button-ghost:hover {
  border-color: var(--ink);
  background: rgba(24, 58, 39, .06);
}

.page-hero-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 58, 39, .14), transparent 35%), linear-gradient(0deg, rgba(24, 58, 39, .22), transparent 45%);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consumer-page .page-hero-media img { object-position: center; }
.business-page .page-hero {
  color: white;
  background: #244731;
}

.business-page .page-hero-copy .eyebrow { color: #c9cb98; }
.business-page .page-hero-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .68); }
.business-page .page-hero h1 em { color: #d3d5a4; }
.business-page .page-hero .button-ghost {
  color: white;
  border-color: rgba(255, 255, 255, .38);
}

.business-page .page-hero .button-ghost:hover {
  border-color: white;
  background: rgba(255, 255, 255, .08);
}

.business-page .page-hero-media img { object-position: center 54%; }

.proof-row {
  color: white;
  background: #6e7550;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 25px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.proof-item:first-child { border-left: 1px solid rgba(255, 255, 255, .18); }
.proof-item svg { width: 26px; height: 26px; flex: 0 0 auto; color: #e7e3c9; }
.proof-item strong { display: block; margin-bottom: 3px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.proof-item span { color: rgba(255,255,255,.66); font-size: 12px; }

.page-section { padding: 112px 0; }
.page-section-soft { background: #ebe9de; }
.page-section-dark { color: white; background: #1c3d2a; }
.section-intro {
  max-width: 920px;
  margin-bottom: 50px;
}

.section-intro .eyebrow { color: #6f7850; }
.page-section-dark .section-intro .eyebrow { color: #c9cb98; }
.page-section h2 { font-size: clamp(52px, 6vw, 88px); }
.page-section-dark h2 em { color: #d1d3a3; }
.section-intro > p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.page-section-dark .section-intro > p:not(.eyebrow) { color: rgba(255,255,255,.64); }

.path-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.path-grid.six-grid,
.service-grid.six-grid { grid-template-columns: repeat(3, 1fr); }

.path-card,
.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.34);
  transition: color .3s ease, background .3s ease, transform .3s var(--ease);
}

.path-card:hover {
  color: white;
  background: #244731;
  transform: translateY(-4px);
}

.path-card:focus-visible {
  color: white;
  background: #244731;
  transform: translateY(-4px);
  outline-offset: -5px;
}

.path-card:focus-visible p { color: rgba(255,255,255,.64); }
.path-card:focus-visible .path-card-icon { color: white; border-color: #9fa573; background: #7e865b; }

.path-card-icon,
.service-card-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #6e7750;
  border: 1px solid rgba(110, 119, 80, .32);
  background: rgba(162, 164, 109, .1);
}

.path-card:hover .path-card-icon { color: white; border-color: #9fa573; background: #7e865b; }
.path-card-icon svg, .service-card-icon svg { width: 29px; height: 29px; }
.path-card-number, .service-card-number {
  margin-left: auto;
  color: #858b79;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.path-card h3,
.service-card h3 {
  margin-top: auto;
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.3vw, 35px);
  line-height: 1;
}

.path-card p,
.service-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  transition: color .3s ease;
}

.path-card:hover p { color: rgba(255,255,255,.64); }
.path-card .card-arrow { margin-top: 22px; color: #71794f; font-size: 20px; }
.path-card:hover .card-arrow { color: #d3d5a4; }

.guidance-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.guidance-copy { position: sticky; top: 175px; }
.guidance-copy p { margin: 24px 0 30px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.guidance-steps { border-top: 1px solid var(--line); }
.guidance-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
}

.guidance-step > span { color: #747c50; font-family: var(--font-display); font-size: 25px; }
.guidance-step h3 { margin-bottom: 7px; font-family: var(--font-display); font-size: 27px; }
.guidance-step p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.service-grid { border-color: rgba(255,255,255,.17); }
.service-card {
  min-height: 285px;
  border-color: rgba(255,255,255,.17);
  background: rgba(255,255,255,.025);
}

.service-card-icon { color: #c8ca98; border-color: rgba(200,202,152,.32); background: rgba(200,202,152,.06); }
.service-card-number { color: rgba(255,255,255,.35); }
.service-card p { color: rgba(255,255,255,.58); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid #80875a;
  counter-increment: process;
}

.process-step::before {
  content: "0" counter(process);
  position: absolute;
  top: -38px;
  left: 0;
  color: #7a8256;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.process-step h3 { margin-bottom: 9px; font-family: var(--font-display); font-size: 28px; }
.process-step p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.cta-band {
  position: relative;
  padding: 105px 0;
  overflow: hidden;
  color: white;
  background: #69724d;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -250px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255,255,255,.03), 0 0 0 180px rgba(255,255,255,.02);
}

.cta-band-inner { position: relative; z-index: 1; }
.cta-band h2 { max-width: 930px; font-size: clamp(56px, 7vw, 100px); }
.cta-band h2 em { color: #e4e0c4; }
.cta-band p { max-width: 590px; margin-top: 24px; color: rgba(255,255,255,.7); font-size: 17px; }
.cta-band .button-primary { color: var(--ink); background: #f3eddf; }
.cta-band .button-primary:hover { background: white; }

@media (max-width: 1100px) {
  .page-hero { grid-template-columns: 1fr 42%; }
  .proof-grid, .path-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .path-grid.six-grid, .service-grid.six-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 55px 30px; }
}

@media (max-width: 820px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-hero-copy { min-height: 560px; padding: 76px 24px; }
  .page-hero-media { min-height: 430px; order: -1; }
  .business-page .page-hero-media { order: 0; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.18); }
  .guidance-grid { grid-template-columns: 1fr; }
  .guidance-copy { position: static; }
}

@media (max-width: 560px) {
  .page-hero-copy { min-height: 510px; padding: 62px 16px; }
  .page-hero h1 { font-size: clamp(51px, 15vw, 72px); }
  .page-hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .page-hero-actions { flex-direction: column; }
  .page-hero-media { min-height: 330px; }
  .proof-grid, .path-grid, .service-grid, .process-grid { grid-template-columns: 1fr; }
  .path-grid.six-grid, .service-grid.six-grid { grid-template-columns: 1fr; }
  .proof-item, .proof-item:first-child, .proof-item:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.18); }
  .page-section { padding: 82px 0; }
  .page-section h2 { font-size: clamp(47px, 14vw, 66px); }
  .path-card, .service-card { min-height: 245px; }
  .process-grid { gap: 52px; }
}
