.overview {
  --overview-hero: #271937;
  --overview-hero-end: #422754;
  --overview-hero-text: #f8f0fc;
  --overview-hero-muted: #e4d4ee;
  --overview-accent: #76508c;
  --overview-card: #fff;
  --overview-tint: #f8f3fb;
  --overview-border: #e3d9e9;
  --overview-muted: #5b5262;
}

.overview-services {
  --overview-hero: #20263d;
  --overview-hero-end: #373453;
  --overview-hero-muted: #daddf0;
  --overview-accent: #514b80;
  --overview-tint: #f3f3fb;
  --overview-border: #deddeb;
}

.overview-hero {
  background: linear-gradient(122deg, var(--overview-hero), var(--overview-hero-end));
  color: var(--overview-hero-text);
}

.overview-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(2.6rem, 6vw, 5.5rem);
}

.overview-kicker {
  margin: 0 0 .7rem;
  font-weight: 700;
  color: var(--overview-hero-muted);
}

.overview h1 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(2rem, 3.75vw, 3.6rem);
  line-height: 1.12;
  text-wrap: balance;
}

.overview-intro {
  color: var(--overview-hero-muted);
  margin: 1.05rem 0 1.55rem;
  max-width: 53ch;
  font-size: clamp(1rem, 1.65vw, 1.12rem);
}

.overview-button, .overview-hero-link {
  display: inline-block;
  margin: .3rem 0;
  font-weight: 650;
}

.overview-button {
  padding: .68rem 1rem;
  border-radius: .45rem;
  color: #2c1b3a;
  background: #f7ecfa;
}

.overview-button:hover { color: #2c1b3a; background: #fff; }
.overview-hero-link { color: var(--overview-hero-text); margin-inline-start: .65rem; padding: .62rem .85rem; border: 1px solid #ffffff70; border-radius: .45rem; }
.overview-hero-link:hover { color: #fff; background: #ffffff17; }
.overview-hero a:focus-visible { outline-color: #ffe5ff; }

.overview-figure { margin: 0; min-width: 0; }
.overview-figure img {
  display: block;
  width: 100%;
  border: 1px solid #ffffff40;
  border-radius: .7rem;
  box-shadow: 0 14px 36px #120b1d4a;
}
.overview-figure-photo img { aspect-ratio: 1.65; object-fit: cover; }
.overview-figure-screen img { background: #fff; }
.overview-figure figcaption { margin-top: .55rem; font-size: .88rem; }
.overview-figure a { color: var(--overview-hero-muted); font-weight: 650; }
.overview-figure a:hover { color: #fff; }

.overview-section { padding-block: clamp(2.4rem, 5vw, 4.3rem); }
.overview-section > h2, .overview-feature h2, .overview-next h2 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); margin: 0 0 1.35rem; }
.overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.overview-grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.overview-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  padding: clamp(1rem, 2.4vw, 1.7rem);
  border: 1px solid var(--overview-border);
  border-radius: .7rem;
  background: var(--overview-card);
  overflow-wrap: anywhere;
}
.overview-card h3 { font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin: 0; }
.overview-card p { color: var(--overview-muted); margin: 0; max-width: 64ch; }
.overview-card a, .overview-inline { font-weight: 650; }
.overview-card a { margin-top: auto; padding-top: .3rem; }
.overview-icon {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: .52rem;
  color: var(--overview-accent);
  background: var(--overview-tint);
  font-size: 1.1rem;
}
.overview-band { background: var(--overview-tint); }
.bar nav > ul > li > a[aria-current="page"] { color: var(--link); font-weight: 750; }

.overview-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--overview-border);
  border-radius: .85rem;
  overflow: hidden;
  background: var(--overview-tint);
}
.overview-feature > img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}
.overview-feature-copy { padding: clamp(1.25rem, 3.3vw, 3rem); }
.overview-feature h2 { margin-bottom: .75rem; }
.overview-feature p { margin: 0; color: var(--overview-muted); }
.overview-feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.25rem; margin-top: 1.35rem; }
.overview .overview-action {
  display: inline-block;
  width: fit-content;
  padding: .62rem .9rem;
  border: 1px solid var(--overview-border);
  border-radius: .45rem;
  background: var(--overview-card);
  color: var(--link);
  font-weight: 700;
}
.overview .overview-action:hover { color: var(--overview-accent); border-color: var(--overview-accent); }
.overview-next {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
}
.overview-questions { margin: 0; }
.overview-questions > div { padding: .8rem 0; border-top: 1px solid var(--overview-border); }
.overview-questions dt { font-weight: 700; }
.overview-questions dd { margin: .25rem 0 0; color: var(--overview-muted); }
.overview-contact a { margin-top: .35rem; }

@media (max-width: 900px) {
  .overview-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .overview-hero-layout, .overview-next { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; }
  .overview-feature { grid-template-columns: minmax(0, 1fr); }
  .overview h1 { max-width: 21ch; }
}
@media (max-width: 560px) {
  .overview-grid { grid-template-columns: minmax(0, 1fr); }
  .overview-hero-link { margin-inline-start: 0; }
}
@media (prefers-color-scheme: dark) {
  .overview { --overview-card: #241e29; --overview-tint: #2e2435; --overview-border: #4a3d53; --overview-muted: #d6cddd; --overview-accent: #e4b7f6; }
  .overview-services { --overview-card: #242433; --overview-tint: #2d2e44; --overview-border: #484960; --overview-accent: #d2d1ff; }
}

.overview-study {
  padding: clamp(1.25rem, 3vw, 2.2rem);
  border: 1px solid #ffffff40;
  border-radius: .85rem;
  background: #ffffff12;
}

.overview-study h2 { margin: 0 0 .75rem; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.overview-study p { margin: .65rem 0 0; color: var(--overview-hero-muted); }
.overview-checklist { margin: 0; padding-inline-start: 1.3rem; color: var(--overview-muted); }
.overview-checklist li + li { margin-top: .65rem; }
