.plan-guide {
  font-size: max(16px, 1rem);
  line-height: 1.5;
}

.plan-guide .shell {
  width: min(var(--max), calc(100% - 2.5rem));
}

.guide-header {
  background: var(--forest-deep);
  color: var(--light);
  border-bottom: 1px solid #ffffff26;
}

.guide-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .65rem 1.5rem;
  padding-block: .55rem;
}

.guide-brand {
  flex: none;
  width: 8.6rem;
}

.guide-brand img { height: auto; }

.guide-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .25rem 1.5rem;
  font-weight: 700;
}

.guide-nav a { padding-block: .45rem; }
.guide-nav a:hover, .guide-breadcrumb a:hover { color: #ffcb8d; }

.guide-hero {
  background-color: var(--forest-deep);
  background-image: linear-gradient(90deg, #091b0ff5 0%, #091b0fd6 35%, #091b0f22 75%), url("../images/hero-cabin.webp");
  background-position: center, center;
  background-size: cover;
  color: var(--light);
}

.guide-hero-inner { padding-block: .8rem 3.5rem; }

.guide-breadcrumb {
  display: flex;
  gap: .6rem;
  color: #f8ead5;
  font-size: max(14px, .85rem);
}

.guide-breadcrumb a, .guide-faq a {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.guide-hero-copy { max-width: 29rem; padding-top: 2.7rem; }

.guide-hero h1 {
  color: #f8e9d1;
  font: 900 clamp(2.2rem, 6vw, 4.35rem)/.98 var(--serif);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.guide-hero p {
  margin-block: 1rem 1.25rem;
  max-width: 25rem;
  font-size: max(17px, 1.12rem);
}

.plan-guide .button {
  min-height: 44px;
  padding-inline: 1.3rem;
}

.plan-guide .button-primary {
  background: linear-gradient(#b74604, #9b3500);
}

.guide-section { padding-block: 2.6rem; }
.guide-section-intro { margin-bottom: 1.25rem; }

.guide-section h2 {
  color: var(--heading);
  font: 900 clamp(1.85rem, 4vw, 2.6rem)/1.08 var(--serif);
  letter-spacing: -.028em;
  text-wrap: balance;
}

.guide-section-intro p { margin-top: .6rem; }

.guide-card-grid, .guide-planning-grid, .guide-faq-grid {
  display: grid;
  gap: 1rem;
}

.guide-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.guide-card {
  overflow: hidden;
  border: 1px solid #4c351d33;
  border-radius: .65rem;
  background: #fffaf081;
  box-shadow: 0 .1rem .23rem #432c1520;
}

.guide-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.2;
  object-fit: cover;
}

.guide-card-copy { padding: .8rem .9rem .95rem; }

.guide-card h3, .guide-faq h3 {
  color: var(--heading);
  font-size: 1.14rem;
  line-height: 1.2;
  margin-bottom: .4rem;
}

.guide-card h3 a {
  color: #1b481e;
  text-decoration: underline;
  text-decoration-color: #44734a;
  text-underline-offset: .16em;
}

.guide-card h3 a:hover, .guide-faq a:hover { color: #853900; }

.guide-planning {
  background: #d1bd992d;
  border-block: 1px solid #77613d33;
}

.guide-planning-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.guide-planning-grid > div {
  border-top: .17rem solid var(--forest-border);
  padding-top: .75rem;
}

.guide-planning-grid dt {
  color: var(--heading);
  font-weight: 800;
  margin-bottom: .35rem;
}

.guide-planning-grid dd { margin: 0; }

.guide-sample {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 1.5rem;
}

.guide-sample p { margin-top: .65rem; }
.guide-sample .button { margin-top: 1rem; }

.guide-blueprint {
  margin: 0;
  padding: .65rem;
  border-radius: .65rem;
  background: var(--forest);
  color: var(--light);
}

.guide-blueprint img {
  width: 100%;
  height: auto;
  border-radius: .28rem;
}

.guide-blueprint figcaption {
  padding: .46rem .15rem .14rem;
  font-size: max(14px, .85rem);
}

.guide-faq { border-top: 1px solid #77613d33; }
.guide-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-faq-grid > div { border-top: 1px solid #77613d50; padding-top: .7rem; }
.guide-faq a { color: #1b481e; }
.guide-planning a { color: #1b481e; text-decoration: underline; text-underline-offset: .15em; }
.guide-free-plans { margin-top: 1rem; font-weight: 700; }

.guide-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.15rem;
  font-size: max(14px, .85rem);
}

.guide-footer a { text-decoration: underline; text-underline-offset: .16em; }

@media (max-width: 890px) {
  .guide-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .plan-guide .shell { width: calc(100% - 2rem); }
  .guide-header-inner { flex-wrap: wrap; }
  .guide-nav { justify-content: flex-start; gap: .15rem 1rem; font-size: .95rem; }
  .guide-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .guide-hero {
    background-image: linear-gradient(90deg, #091b0fed, #091b0fc4 58%, #091b0f59), url("../images/hero-cabin.webp");
    background-position: center, 70% center;
  }
  .guide-hero-inner { padding-bottom: 2.75rem; }
  .guide-hero-copy { padding-top: 2rem; }
  .guide-section { padding-block: 2rem; }
  .guide-sample, .guide-planning-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 440px) {
  .guide-card-grid, .guide-faq-grid { grid-template-columns: minmax(0, 1fr); }
}
