/* Homepage layout using the plum-and-blue palette from styles.css. */
.home {
  background: #fff;
}
.home .site-header {
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 22px rgba(53,35,61,.04);
}
.home .nav__logo img { height: 52px; }
.home .nav { height: 64px; }
.home .nav__links { gap: 1px; }
.home .nav__links a { font-size: .8rem; padding: 9px 10px; }
.home .nav__links .btn--primary,
.home .btn--primary {
  background: var(--amber);
  color: #fff;
  box-shadow: none;
}
.home .nav__links .btn--primary:hover,
.home .btn--primary:hover { background: var(--amber-dark); }
.home a:focus-visible,
.home button:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 4px;
}
.home-intro {
  position: relative;
  isolation: isolate;
  padding: 22px 0 16px;
  background: radial-gradient(ellipse at 4% 65%, rgba(53,35,61,.05), transparent 55%), linear-gradient(120deg, #fff, var(--bg));
}
.home-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -85px;
  top: 150px;
  width: 220px;
  height: 220px;
  border: 30px solid rgba(53,35,61,.035);
  transform: rotate(30deg);
  border-radius: 18px;
}
.home-hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.home-hero__copy { padding: 0; }
.home-kicker {
  display: block;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-kicker span { padding: 0 6px; color: var(--muted); }
.home-hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 16px 0 12px;
}
.home-hero h1 span { color: var(--navy-800); }
.home-hero__copy > p {
  max-width: 420px;
  font-size: .98rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 18px;
}
.home .hero__cta { gap: 12px; }
.home .hero__cta .btn { padding: 10px 24px; font-size: .85rem; }
.home .btn--teal {
  background: var(--amber);
  color: #fff;
  box-shadow: none;
}
.home .btn--teal:hover { background: var(--amber-dark); }
.home .hero__cta .btn--ghost {
  border: 1px solid var(--teal-dark);
  color: var(--teal-dark);
  min-width: 150px;
  background: #fff;
}
.home .hero__cta .btn--ghost:hover { background: var(--bg-alt); }
.home-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin-top: 20px;
  font-size: .7rem;
}
.home-assurances li { display: flex; align-items: center; gap: 7px; }
.home-assurances li > span {
  display: grid;
  place-items: center;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-size: .7rem;
}
.home-hero__photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 355px;
}
.home-hero__photo > img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 47% center;
}
.home-photo-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
}
.home-photo-caption strong { font-size: .72rem; line-height: 1.35; }
.home-photo-caption__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.home-highlights { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.home-highlight {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--navy);
  transition: box-shadow .18s ease;
}
.home-highlight:hover { text-decoration: none; box-shadow: var(--shadow); }
.home-highlight > img { width: 100%; height: 80px; object-fit: cover; }
.home-highlight__body { padding: 14px 48px 14px 16px; position: relative; flex: 1; }
.home-highlight h2 { font-size: .91rem; font-weight: 700; margin-bottom: 6px; }
.home-highlight p { font-size: .74rem; line-height: 1.45; color: var(--muted); }
.home-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--amber);
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}
.home-paths {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.25fr;
  gap: 12px;
  margin-top: 18px;
}
.home-path {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 14px;
  background: var(--amber);
  border-radius: 8px;
}
.home-path__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: 0 3px 12px rgba(53,35,61,.04);
  margin-bottom: 12px;
}
.home-path h2 { font-size: .87rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.home-path p { font-size: .73rem; line-height: 1.5; color: #fff; flex: 1; }
.home-path a,
.home-support > a { font-size: .75rem; font-weight: 700; margin-top: 10px; }
.home-path a { color: #fff; }
.home-support {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.home-support .home-kicker { color: var(--teal-dark); font-size: .62rem; }
.home-support h2 { font-size: 1.15rem; margin: 12px 0 8px; }
.home-support p { font-size: .76rem; line-height: 1.55; color: var(--muted); flex: 1; }
.home-trust { border-bottom: 1px solid var(--line); background: #fff; }
.home-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 22px; padding-bottom: 22px; }
.home-trust__grid > div { display: flex; align-items: center; gap: 16px; padding: 0 20px; border-right: 1px solid var(--line); }
.home-trust__grid > div:first-child { padding-left: 12px; }
.home-trust__grid > div:last-child { border-right: 0; }
.home-trust svg { color: var(--navy); flex-shrink: 0; }
.home-trust strong { display: block; color: var(--navy); font-size: 1rem; letter-spacing: -.02em; line-height: 1.3; }
.home-trust span { display: block; color: var(--muted); font-size: .67rem; margin-top: 3px; }

@media (max-width: 1100px) and (min-width: 901px) {
  .home .nav__logo img { height: 44px; }
  .home .nav__links a { padding: 8px 7px; font-size: .73rem; }
  .home .nav__cta { margin-left: 2px; }
  .home .hero__cta .btn { padding: 10px 18px; }
  .home .hero__cta .btn--ghost { min-width: 0; }
  .home-path { padding: 16px 14px; }
  .home-trust__grid > div { gap: 10px; padding: 0 12px; }
}
@media (max-width: 900px) {
  .home .nav__links { top: 64px; }
  .home .nav__links a { font-size: .96rem; padding: 12px; }
  .home-hero { grid-template-columns: 1.2fr 1fr; gap: 22px; }
  .home-hero h1 { font-size: clamp(2rem, 4.7vw, 2.9rem); }
  .home-highlights { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .home-highlight > img { height: 130px; }
  .home-paths { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .home-path h2 { font-size: 1rem; }
  .home-path p, .home-path a, .home-support p, .home-support > a { font-size: .9rem; }
  .home-support { grid-column: 1 / -1; }
  .home-trust__grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .home-trust__grid > div:nth-child(2) { border-right: 0; }
  .home-trust__grid > div:nth-child(3) { padding-left: 12px; }
}
@media (max-width: 560px) {
  .home-intro { padding-top: 22px; }
  .home-hero { grid-template-columns: 1fr; gap: 20px; }
  .home-hero__copy { padding: 0; }
  .home-hero h1 { font-size: clamp(2.2rem, 8vw, 2.8rem); max-width: 430px; }
  .home-hero__copy > p { font-size: 1rem; }
  .home-assurances { margin-top: 20px; gap: 12px; }
  .home-hero__photo { min-height: 330px; }
  .home-hero__photo > img { object-position: center 40%; }
  .home-photo-caption { max-width: 270px; }
  .home-photo-caption strong { font-size: .83rem; }
  .home-highlights { grid-column: auto; gap: 12px; }
  .home-highlight > img { height: 105px; }
  .home-highlight__body { padding: 14px 12px 46px; }
  .home-highlight h2 { font-size: .9rem; }
  .home-highlight p { font-size: .8rem; }
  .home-arrow { top: auto; bottom: 10px; right: 12px; transform: none; width: 26px; height: 26px; }
  .home-path { padding: 18px 14px; }
  .home-path h2 { font-size: .95rem; }
  .home-path p, .home-path a { font-size: .82rem; }
  .home-trust__grid > div { padding: 0 10px; gap: 8px; }
  .home-trust strong { font-size: .82rem; }
  .home-trust span { font-size: .65rem; }
  .home-trust svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .home { scroll-behavior: auto; }
  html:has(.home) { scroll-behavior: auto; }
  .home a { transition: none; }
  .home .btn:hover { transform: none; }
}
