/* The homepage uses wide layouts for browsing and shorter lines for reading. */
.home-masthead {
  background: radial-gradient(ellipse at 77% 28%, #326a55 0%, transparent 54%), #0b211b;
  padding-block: clamp(32px, 4vw, 60px) clamp(24px, 4vw, 54px);
}
.home-intro { margin-bottom: clamp(26px, 3vw, 46px); }
.home-heading .kicker { color: #d1f393; font-size: .875rem; margin-bottom: 15px; }
.home-heading h1 { font-size: clamp(46px, 6.3vw, 84px); }
.home-heading p { max-width: 32ch; }
.home-hero-visual { aspect-ratio: 1.78; }
.home-hero-visual img { width: 114%; max-width: none; margin-left: -6%; }
.home-journey {
  background: #132f26;
  color: #fff;
  grid-template-rows: 1fr;
  border-color: #76998877;
  border-radius: 16px;
}
.home-journey-content { border: 0; background: linear-gradient(145deg, #ffffff0d, transparent 65%); }
.home-journey h2 { font-size: clamp(22px, 2.4vw, 31px); }
.home-journey p { color: #d1e3d8; }
.home-journey-actions .home-secondary { color: #ecf7ef; border-color: #779a87; }
.home-secondary:hover { background: #315343; }
.home-journey a:focus-visible, .home-charge a:focus-visible, .home-end a:focus-visible {
  outline-color: #e0f9b8;
}
.home-index {
  min-height: 0;
  background: #eef4ed;
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.home-index .wrap { display: flex; flex-wrap: wrap; gap: 0 clamp(14px, 3vw, 42px); }
.home-index a { display: inline-block; padding: 14px 0; font-weight: 650; font-size: .9rem; }
.home-section { padding-block: clamp(53px, 8vw, 110px); scroll-margin-top: 1rem; }
.home-section h2 { font-size: clamp(34px, 5.35vw, 70px); line-height: 1.01; max-width: 15ch; }
.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-bottom: clamp(25px, 4vw, 47px);
}
.home-section-head p:not(.kicker), .home-costs p, .home-questions p { max-width: 57ch; }
.home-section-head p:last-child { margin-bottom: 0; }
.home-section .card { box-shadow: 0 12px 24px #183a2910; }
.home-section .card img { aspect-ratio: 1.72; }
.home-notes, .home-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 34px);
  margin-top: 36px;
}
.home-notes > div { border-top: 2px solid #94b397; padding-top: 18px; }
.home-inline-action { margin: 25px 0 0; }
.home-buying { background: #e8f0ee; }
.home-buying-note {
  margin-top: 32px;
  max-width: 74ch;
  border-left: 3px solid #6f967c;
  padding-left: 19px;
}
.home-marketplace { background: #f5f2e9; }
.home-market-grid, .home-costs, .home-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 4vw, 52px);
}
.home-market-grid article {
  display: flex;
  flex-direction: column;
  border: 1px solid #dcdccf;
  border-radius: 16px;
  background: #fffefa;
  padding: clamp(22px, 3.65vw, 44px);
}
.home-market-grid h3 { font-size: clamp(26px, 3.3vw, 41px); }
.home-market-grid p { margin: 0; }
.home-market-grid ul { padding-left: 1.2em; margin-block: 15px 24px; }
.home-market-grid li + li { margin-top: 6px; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.home-market-grid .home-actions { margin-top: auto; }
.home-charge { color: #f2faf3; background: #112f26; }
.home-charge .kicker { color: #caeea0; }
.home-charge a { color: #d7f5b4; }
.home-charge .button, .home-end .button { background: #d7f5b4; color: #142f21; border-color: #d7f5b4; }
.home-charge .button:hover, .home-end .button:hover { background: #e5f9cf; }
.home-charge .outline { border-color: #91b69e; }
.home-charge .outline:hover { background: #24493b; }
.home-routes article { padding: 22px; border: 1px solid #608977; background: #193b30; border-radius: 12px; }
.home-routes p { color: #d1e3d8; }
.home-costs { align-items: center; }
.home-costs dl { margin: 0; border-top: 1px solid #b2c9b8; }
.home-costs dl div { border-bottom: 1px solid #b2c9b8; padding: 18px 0; }
.home-costs dt { font-size: 1.2rem; font-weight: 750; }
.home-costs dd { margin: 3px 0 0; }
.home-questions { background: #eef3ee; }
.home-faq-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); }
.home-questions details { border-bottom: 1px solid #b4c9b9; }
.home-questions details:first-child { border-top: 1px solid #b4c9b9; }
.home-questions summary { cursor: pointer; padding: 16px 0; font-weight: 700; }
.home-questions details p { margin: 0 0 17px; }
.home-end > div {
  border-radius: 18px;
  padding: clamp(24px, 6vw, 74px);
  background: radial-gradient(ellipse at 100% 50%, #315c47, transparent 65%), #102a23;
  color: #fff;
}
.home-end h2 { max-width: none; }
.home-end p { max-width: 49ch; }
@media (max-width: 760px) {
  .home-notes, .home-routes, .home-market-grid, .home-costs, .home-faq-grid { grid-template-columns: 1fr; }
  .home-index a { padding-block: 8px; }
}
@media (max-width: 650px) {
  .home-intro { gap: 14px; }
  .home-heading h1 { font-size: clamp(43px, 10vw, 62px); }
  .home-hero-visual { aspect-ratio: 2.1; }
  .home-journey { grid-template-columns: 1fr; }
  .home-journey-content { padding: 16px; }
}
