@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Playfair+Display:opsz,wght@5..120,600;5..120,700&display=swap');

/* Homepage-only premium theme. Tokens are deliberately scoped so catalogue,
   providers and guides keep their established visual treatment. */
.home-premium {
  --premium-green: #073b2b;
  --premium-green-deep: #04291e;
  --premium-yellow: #ffd84d;
  --premium-warm: #faf9f5;
  --premium-ink: #151a17;
  --premium-muted: #52605b;
  --premium-border: #e3e8e2;
  --premium-soft: #edf5ee;
  background: var(--premium-warm);
  color: var(--premium-ink);
  font-family: 'DM Sans', Arial, sans-serif;
  overflow-x: clip;
}

.home-premium :focus-visible {
  outline: 3px solid var(--premium-yellow);
  outline-offset: 3px;
}

.home-premium > header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  min-height: 86px;
  /* The shared header is already constrained to 1160px. Viewport-sized
     padding here consumed its content width and made the desktop nav wrap. */
  padding: 12px 24px;
  border-bottom: 1px solid var(--premium-border);
  background: rgba(250, 249, 245, .96);
  box-shadow: 0 4px 22px rgba(4, 41, 30, .045);
}

.home-premium > header .brand {
  color: var(--premium-green);
  text-decoration: none;
}

.home-premium > header .brand > span:last-child {
  color: var(--premium-green);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(24px, 2.1vw, 31px);
  font-weight: 800;
  letter-spacing: -1.65px;
}

.home-premium > header .brand > span:last-child > span { color: #1768ef; }
.home-premium > header .brand small { color: #53605b; font-size: 10px; font-weight: 600; letter-spacing: 0; }
.home-premium > header .brand-mark { background: linear-gradient(135deg, #08a95a 0 50%, #1768ef 50%); }

.home-premium > header nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(18px, 2.3vw, 36px);
  margin-left: auto;
}

.home-premium > header nav a {
  color: var(--premium-ink);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.2px;
  text-decoration: none;
}

.home-premium > header nav a:hover { color: var(--premium-green); }
/* The hero intentionally breaks out of the centred main column to occupy the
   viewport.  Do not clip main: doing so cuts off both sides of that full-bleed
   section (including the calculator panel).  The body-level x-axis guard above
   still prevents a horizontal scrollbar. */
.home-premium main { overflow: visible; background: var(--premium-warm); }

.home-premium .home-hero {
  position: relative;
  isolation: isolate;
  width: 100vw;
  /* Leave room for the calculator CTA instead of clipping its lower half. */
  min-height: 630px;
  margin: 0 calc(50% - 50vw);
  overflow: hidden;
  background: #f7f6f0;
}

.home-premium .home-hero > img {
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: auto;
  right: 0;
  left: auto;
  width: 57%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.home-premium .home-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #faf9f5 0%, #faf9f5 34%, rgba(250,249,245,.94) 47%, rgba(250,249,245,.42) 61%, rgba(250,249,245,.04) 78%);
}

.home-premium .hero-copy {
  box-sizing: border-box;
  width: min(660px, 54vw);
  max-width: none;
  padding: 49px 0 29px max(30px, calc((100vw - 1390px) / 2));
}

.home-premium .eyebrow,
.home-premium .eyebrow.dark {
  margin: 0 0 15px;
  color: var(--premium-green);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.home-premium .home-hero h1,
.home-premium .section h2,
.home-premium .home-faq h2 {
  color: var(--premium-ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}

.home-premium .home-hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(52px, 4.7vw, 64px);
  letter-spacing: -.07em;
  line-height: .93;
}

.home-premium .home-hero h1 em { color: var(--premium-green); font-style: normal; }
.home-premium .home-hero h1::after { content: ''; display: block; width: 130px; height: 6px; margin: 10px 0 16px 32%; border-radius: 999px; background: var(--premium-yellow); transform: rotate(-3deg); }

.home-premium .hero-copy > p:not(.eyebrow) {
  max-width: 585px;
  margin: 0;
  color: #313a37;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.38;
}

.home-premium .hero-calculator-promo {
  /* Fill the existing copy column so the original calculator content has room. */
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-top: 19px;
  padding: 17px 20px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 15px;
  background: linear-gradient(135deg, #073b2b, #04291e);
  box-shadow: 0 12px 28px rgba(4, 41, 30, .2);
}

.home-premium .hero-calculator-intro { grid-template-columns: 50px minmax(0, 1fr) 98px; gap: 13px; }
.home-premium .hero-calculator-icon { width: 50px; height: 50px; background: #dff5e5; color: var(--premium-green); font-size: 24px; }
.home-premium .hero-calculator-promo h2 { color: #fffdf8; font-family: 'Playfair Display', Georgia, serif; font-size: 21px; line-height: 1.04; letter-spacing: -.5px; }
.home-premium .hero-calculator-promo p { color: #d9eadd; font-size: 13px; line-height: 1.32; }
.home-premium .hero-calculator-note { color: #fff9dc; font-family: 'Caveat', cursive; font-size: 22px; font-weight: 700; line-height: .8; transform: rotate(-5deg); }

.home-premium .hero-calculator-promo > a,
.home-premium .best-deals .section-heading > a,
.home-premium .best-deals .home-deals-all,
.home-premium .home-deal-cta,
.home-premium .guides-archive-link a {
  border: 0;
  background: var(--premium-yellow);
  box-shadow: none;
  color: #151a17 !important;
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 800;
}

.home-premium .hero-calculator-promo > a { min-height: 45px; margin-top: 12px; border-radius: 9px; font-size: 15px; }
.home-premium .best-deals .home-deals-all { color: #fff !important; font-weight: 900; }
.home-premium .hero-calculator-promo > a:hover,
.home-premium .best-deals .section-heading > a:hover,
.home-premium .best-deals .home-deals-all:hover,
.home-premium .home-deal-cta:hover,
.home-premium .guides-archive-link a:hover { background: #f4c82f; transform: translateY(-1px); }
.home-premium .hero-calculator-promo ul { color: #eff8f0; font-size: 10px; }
.home-premium .hero-calculator-promo li::before { background: #dff5e5; color: var(--premium-green); }

/* On wide screens the copy column has a large alignment inset. Give the promo
   its intended fixed reading width instead of limiting it to that inset area. */
@media (min-width: 821px) {
  .home-premium .hero-calculator-promo { width: 590px; }
}

.home-premium .best-deals,
.home-premium .browse,
.home-premium .home-faq,
.home-premium .availability-note {
  width: min(1390px, calc(100% - 48px));
  box-sizing: border-box;
  margin-right: auto;
  margin-left: auto;
}

/* The base site gives every .section a large top margin.  On the homepage
   that made adjacent, deliberately connected sections look like separate
   screens.  Spacing is controlled locally below instead. */
.home-premium main > .section { margin-top: 0; }

.home-premium .best-deals { padding: 20px 0 34px; }
.home-premium .best-deals .section-heading { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px; margin-bottom: 17px; }
.home-premium .best-deals .section-heading h2 { margin: 0; font-size: clamp(35px, 3.5vw, 44px); line-height: 1; letter-spacing: -.055em; }
.home-premium .best-deals .section-heading p { max-width: 620px; margin: 9px 0 0; color: var(--premium-muted); font-size: 16px; line-height: 1.38; }
.home-premium .best-deals .list-freshness { display: none; }
.home-premium .best-deals .section-heading > a { width: min(470px, 38vw); min-height: 88px; margin: 0; padding: 0 34px; border-radius: 11px; font-size: 19px; }

.home-premium .home-deal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-premium .home-deal-card { min-height: 314px; padding: 17px; border: 1px solid var(--premium-border); border-radius: 14px; background: #fff; box-shadow: 0 8px 18px rgba(4,41,30,.065); }
.home-premium .home-deal-card:hover { border-color: #b9d6c1; box-shadow: 0 18px 34px rgba(4,41,30,.12); transform: translateY(-3px); }
.home-premium .home-deal-brand { padding-bottom: 12px; border-bottom: 1px solid var(--premium-border); }
.home-premium .home-deal-brand a { color: var(--premium-green); font-family: 'DM Sans', Arial, sans-serif; font-size: 16px; font-weight: 800; letter-spacing: -.4px; text-decoration: none; }
.home-premium .home-deal-brand span { border: 0; border-radius: 999px; background: #eaf5ed; color: var(--premium-green); font-size: 11px; font-weight: 800; }
.home-premium .home-deal-data { margin-top: 13px; color: var(--premium-ink); font-family: 'DM Sans', Arial, sans-serif; font-size: clamp(26px, 2.3vw, 32px); font-weight: 800; letter-spacing: -.055em; line-height: 1; text-decoration: none; }
.home-premium .home-deal-price { margin-top: 8px; color: #cd2d36; font-family: 'DM Sans', Arial, sans-serif; font-size: 29px; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.home-premium .home-deal-price small { color: #59615e; font-family: 'DM Sans', Arial, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: -.2px; }
.home-premium .home-deal-promo { min-height: 28px; color: var(--premium-green) !important; font-size: 11px !important; font-weight: 800; }
.home-premium .home-deal-card > p:not(.home-deal-promo) { margin: 7px 0 0; color: #59615e; font-size: 12px; font-weight: 600; }
.home-premium .home-deal-tags { margin-top: auto; padding-top: 12px; }
.home-premium .home-deal-tags span { border-radius: 9px; background: #eff6f0; color: var(--premium-green); font-size: 11px; font-weight: 700; }
.home-premium .home-deal-cta { min-height: 42px; margin-top: 12px; border-radius: 8px; font-size: 13px; }

.home-premium .browse { position: relative; margin-bottom: 20px; padding: 24px 28px 22px; border-radius: 24px 24px 0 0; background: linear-gradient(128deg, #f0efe7 0%, #faf9f5 66%, #eef4ec 100%); }
.home-premium .browse .section-heading { position: relative; z-index: 1; max-width: 785px; }
.home-premium .browse h2 { margin: 0; font-size: clamp(34px, 3.5vw, 43px); line-height: 1; letter-spacing: -.055em; }
.home-premium .browse .section-heading p { margin: 8px 0 14px; color: var(--premium-muted); font-size: 16px; }
.home-premium .browse-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-premium .browse-grid a { min-height: 94px; border: 1px solid var(--premium-border); border-radius: 13px; background: rgba(255,255,255,.9); box-shadow: 0 6px 14px rgba(4,41,30,.035); color: var(--premium-ink); }
.home-premium .browse-grid a:first-child { border-color: #edcf5c; background: #fff5ca; }
.home-premium .browse-grid a:hover { border-color: #a6c6ae; transform: translateY(-2px); }
.home-premium .browse-grid i { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: #e5f1e6; color: var(--premium-green); font-size: 21px; font-style: normal; }
.home-premium .browse-grid a:first-child i { background: var(--premium-yellow); }
.home-premium .browse-grid b { color: var(--premium-ink); font-family: 'Playfair Display', Georgia, serif; font-size: 17px; }
.home-premium .browse-grid small { color: var(--premium-muted); font-size: 12px; line-height: 1.3; }
.home-premium .browse-grid strong { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f0f2ee; color: var(--premium-ink); }
.home-premium .browse-grid a:last-child::after { content: '›'; display: grid; place-items: center; width: 34px; height: 34px; margin-left: auto; border-radius: 50%; background: #f0f2ee; color: var(--premium-ink); font-size: 20px; font-weight: 800; }

.home-premium .guides { width: min(1390px, calc(100% - 48px)); box-sizing: border-box; margin: 0 auto; padding: 25px 28px 24px; border-radius: 22px; background: radial-gradient(circle at 96% 100%, #0c5940 0, transparent 29%), linear-gradient(128deg, var(--premium-green-deep), var(--premium-green)); }
.home-premium .guides .section-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 22px; margin-bottom: 18px; }
.home-premium .guides .section-heading h2 { margin: 0; color: #fffdf8; font-size: clamp(31px, 3vw, 40px); line-height: 1.05; letter-spacing: -.05em; }
.home-premium .guides .section-heading p { max-width: 650px; margin: 10px 0 0; color: #dbe9df; font-size: 17px; line-height: 1.4; }
.home-premium .guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-premium .guide-grid > a { min-height: 0; padding: 11px 11px 14px; border-radius: 14px; background: #fffdfa; color: var(--premium-ink); text-decoration: none; }
.home-premium .guide-grid > a:hover { transform: translateY(-3px); box-shadow: 0 16px 27px rgba(0,0,0,.22); }
.home-premium .guide-grid .guide-card-image { aspect-ratio: 16 / 8.8; border-radius: 11px; object-fit: cover; }
.home-premium .guide-grid > a span { display: inline-flex; width: max-content; margin-top: 14px; padding: 6px 10px; border-radius: 999px; background: #e9f4ea; color: var(--premium-green); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.home-premium .guide-grid > a b { min-height: 0; margin: 10px 0 7px; color: var(--premium-ink); font-family: 'Playfair Display', Georgia, serif; font-size: 21px; line-height: 1.06; }
.home-premium .guide-grid > a small { display: -webkit-box; overflow: hidden; color: var(--premium-muted); font-size: 14px; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-premium .guide-grid > a em { margin-top: 16px; color: var(--premium-green); font-size: 14px; font-style: normal; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.home-premium .guides-archive-link { justify-content: flex-end; margin: -57px 0 28px; }
.home-premium .guides-archive-link a { min-width: 162px; min-height: 48px; border-radius: 10px; font-size: 14px; }

.home-premium .home-faq { padding: 30px 0 18px; }
.home-premium .home-faq h2 { max-width: 900px; margin: 0; font-size: clamp(35px, 3.5vw, 44px); letter-spacing: -.055em; line-height: 1; }
.home-premium .home-faq > p { max-width: 740px; margin: 12px 0 24px; color: var(--premium-muted); font-size: 19px; }
.home-premium .home-faq details { max-width: 1120px; margin: 9px auto; border: 1px solid var(--premium-border); border-radius: 13px; background: rgba(255,255,255,.78); box-shadow: 0 4px 12px rgba(4,41,30,.025); }
.home-premium .home-faq summary { display: flex; align-items: center; min-height: 64px; padding: 0 23px; color: var(--premium-ink); font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 700; cursor: pointer; list-style: none; }
.home-premium .home-faq summary::-webkit-details-marker { display: none; }
.home-premium .home-faq summary::after { content: '+'; margin-left: auto; color: var(--premium-green); font-family: 'DM Sans', Arial, sans-serif; font-size: 26px; font-weight: 400; }
.home-premium .home-faq details[open] summary::after { content: '−'; }
.home-premium .home-faq details p { max-width: 960px; margin: 0; padding: 0 23px 20px; color: var(--premium-muted); line-height: 1.55; }
.home-premium .availability-note { display: flex; gap: 18px; align-items: center; margin-top: 22px; margin-bottom: 76px; padding: 22px 27px; border: 1px solid #b9d9c2; border-radius: 16px; background: #eef8f0; }
.home-premium .availability-note i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--premium-green); color: #fff; font-style: normal; }
.home-premium .availability-note b { color: var(--premium-ink); font-family: 'Playfair Display', Georgia, serif; font-size: 20px; }
.home-premium .availability-note small { margin-top: 3px; color: var(--premium-muted); font-size: 14px; }

.home-premium > footer { display: grid; grid-template-columns: 1.45fr repeat(3, minmax(130px, .8fr)); gap: 35px; max-width: none; padding: 54px max(24px, calc((100vw - 1390px) / 2)) 0; background: #f5f4ed; color: var(--premium-ink); }
.home-premium > footer .brand { color: var(--premium-green); }
.home-premium > footer .brand > span:last-child { color: var(--premium-green); font-family: 'Playfair Display', Georgia, serif; font-size: 30px; font-weight: 700; letter-spacing: -1.8px; }
.home-premium > footer .brand > span:last-child > span { color: var(--premium-green); }
.home-premium > footer .brand small { color: var(--premium-muted); font-family: 'DM Sans', Arial, sans-serif; font-size: 10px; }
.home-premium > footer .footer-brand p { color: var(--premium-muted); font-size: 14px; }
.home-premium > footer section > b { color: var(--premium-ink); font-family: 'Playfair Display', Georgia, serif; font-size: 18px; }
.home-premium > footer nav a { color: #43524b; font-size: 13px; font-weight: 600; text-decoration: none; }
.home-premium > footer nav a:hover { color: var(--premium-green); text-decoration: underline; text-underline-offset: 3px; }
.home-premium > footer .footer-note { grid-column: 1 / -1; border: 0; padding: 20px 0; }
.home-premium > footer .footer-note p { max-width: 760px; color: #56635d; }
.home-premium > footer .copyright { grid-column: 1 / -1; margin: 0 calc(50% - 50vw); padding: 18px max(24px, calc((100vw - 1390px) / 2)); border: 0; background: var(--premium-green-deep); color: #e8f1e9; font-size: 12px; }

@media (max-width: 1120px) {
  .home-premium .home-deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-premium .home-deal-card { min-height: 326px; }
  .home-premium .home-hero > img { width: 54%; }
  .home-premium .hero-copy { width: min(660px, 59vw); }
}

@media (max-width: 820px) {
  .home-premium > header { align-items: flex-start; flex-direction: column; gap: 9px; min-height: 0; padding-top: 13px; padding-bottom: 13px; }
  .home-premium > header nav { width: 100%; margin: 0; overflow-x: auto; padding-bottom: 4px; }
  .home-premium > header nav a { display: inline-flex !important; flex: 0 0 auto; font-size: 13px; }
  .home-premium .home-hero { min-height: 610px; }
  .home-premium .home-hero > img { top: 0; right: 0; left: auto; width: 58%; height: 100%; object-position: 70% center; }
  .home-premium .home-hero::after { background: linear-gradient(90deg, #faf9f5 0%, #faf9f5 35%, rgba(250,249,245,.94) 50%, rgba(250,249,245,.22) 75%, transparent 100%); }
  .home-premium .hero-copy { width: min(610px, 74vw); padding: 41px 28px 28px; }
  .home-premium .best-deals .section-heading { grid-template-columns: 1fr; }
  .home-premium .best-deals .section-heading > a { width: 100%; }
  .home-premium .browse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-premium .guides .section-heading { grid-template-columns: 1fr; }
  .home-premium .guides-archive-link { justify-content: flex-start; margin: 0 0 24px; }
  .home-premium .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-premium > footer { grid-template-columns: 1.4fr 1fr 1fr; }
  .home-premium > footer .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .home-premium .home-hero { min-height: 490px; }
  .home-premium .home-hero > img { width: 56%; object-position: 78% center; }
  .home-premium .home-hero::after { background: linear-gradient(90deg, #faf9f5 0%, #faf9f5 34%, rgba(250,249,245,.92) 54%, rgba(250,249,245,.28) 78%, transparent 100%); }
  .home-premium .hero-copy { width: 100%; padding: 33px 16px 22px; }
  .home-premium .home-hero h1 { max-width: 205px; font-size: clamp(36px, 10vw, 40px); }
  .home-premium .home-hero h1::after { width: 105px; height: 5px; margin: 11px 0 17px 31%; }
  .home-premium .hero-copy > p:not(.eyebrow) { max-width: 215px; font-size: 15px; }
  .home-premium .hero-calculator-promo { margin-top: 16px; padding: 14px; border-radius: 13px; }
  .home-premium .hero-calculator-intro { grid-template-columns: 45px minmax(0, 1fr); gap: 11px; }
  .home-premium .hero-calculator-icon { width: 45px; height: 45px; font-size: 21px; }
  .home-premium .hero-calculator-promo h2 { font-size: 20px; }
  .home-premium .hero-calculator-note { display: none; }
  .home-premium .hero-calculator-promo ul { gap: 5px 12px; font-size: 10px; }
  .home-premium .best-deals,
  .home-premium .browse,
  .home-premium .home-faq,
  .home-premium .availability-note,
  .home-premium .guides { width: calc(100% - 32px); }
  .home-premium .best-deals { padding: 20px 0 32px; }
  .home-premium .best-deals .section-heading h2,
  .home-premium .browse h2,
  .home-premium .home-faq h2 { font-size: 31px; }
  .home-premium .best-deals .section-heading > a { width: 100%; min-height: 68px; font-size: 17px; }
  .home-premium .home-deal-grid,
  .home-premium .guide-grid { grid-template-columns: 1fr; }
  .home-premium .home-deal-card { min-height: 0; }
  .home-premium .browse { margin-bottom: 18px; padding: 22px 16px 16px; border-radius: 18px 18px 0 0; }
  .home-premium .browse-grid { grid-template-columns: 1fr; }
  .home-premium .guides { padding: 22px 16px 17px; border-radius: 18px; }
  .home-premium .guide-grid > a b { font-size: 22px; }
  .home-premium .home-faq { padding-top: 26px; }
  .home-premium .home-faq summary { min-height: 57px; padding: 0 16px; font-size: 17px; }
  .home-premium .home-faq details p { padding: 0 16px 17px; }
  .home-premium .availability-note { align-items: flex-start; margin-bottom: 48px; padding: 17px; }
  .home-premium > footer { grid-template-columns: 1fr 1fr; gap: 27px 16px; padding-top: 40px; }
  .home-premium > footer .footer-brand,
  .home-premium > footer .footer-note,
  .home-premium > footer .copyright { grid-column: 1 / -1; }
}

@media (max-width: 360px) {
  .home-premium .home-hero { min-height: 530px; }
  .home-premium .hero-copy { padding-right: 15px; padding-left: 15px; }
  .home-premium .home-hero h1 { font-size: 36px; }
  .home-premium .hero-calculator-promo ul { display: grid; grid-template-columns: 1fr 1fr; }
  .home-premium .best-deals,
  .home-premium .browse,
  .home-premium .home-faq,
  .home-premium .availability-note,
  .home-premium .guides { width: calc(100% - 24px); }
}
