/* ============================================================
   UPGRADED SOURCE, Main Stylesheet
   ============================================================ */

/* --- Variables --- */
:root {
  --rust:         #C97D60;
  --forest:       #4A5D4E;
  --cream:        #F8F7F3;
  --body-text:    #6E6E6E;
  --accent-light: #E0DED7;
  --dark:         #231f20;
  --white:        #ffffff;

  --font-sans:  'Inter', system-ui, sans-serif;

  --max-width: 1200px;
  --section-pad: 96px;
  --section-pad-sm: 64px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--body-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  color: var(--forest);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.005em; }
h5 { font-size: .95rem; font-weight: 600; letter-spacing: 0; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1rem;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: var(--section-pad) 0; }
.section--sm { padding: var(--section-pad-sm) 0; }
.section--dark { background: var(--forest); color: var(--white); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--rust { background: var(--rust); }
.section--rust h2, .section--rust p { color: var(--white); }
.section--off { background: #EFEDE7; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 280px)); gap: 24px; justify-content: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 12px 22px;
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}
.btn-primary:hover {
  background: #b8694e;
  border-color: #b8694e;
}
.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--accent-light);
  padding: 18px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img { height: 44px; width: auto; }
.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav__links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--forest);
  transition: color .2s;
}
.nav__links a:hover { color: var(--rust); }
.nav__cta { display: flex; gap: 12px; align-items: center; }

/* --- Currency Dropdown --- */
.nav__currency { position: relative; }
.nav__currency-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--accent-light);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--forest);
  cursor: pointer;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.nav__currency-btn:hover { border-color: var(--rust); color: var(--rust); }
.nav__currency-btn svg { width: 10px; height: 10px; flex-shrink: 0; }
.nav__currency-drop {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--cream);
  border: 1px solid var(--accent-light);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  min-width: 120px;
  z-index: 200;
  overflow: hidden;
  /* Invisible top padding bridges the gap between button and dropdown */
  padding-top: 6px;
  margin-top: -1px;
}
.nav__currency-drop a {
  display: block;
  padding: 9px 14px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--forest);
  transition: background .15s;
}
.nav__currency-drop a:hover { background: var(--accent-light); color: var(--rust); }
.nav__currency-drop.open { display: block; }

/* Mobile nav logo */
.nav__mobile-logo { height: 40px; margin: 0 auto 24px; display: block; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  transition: all .3s;
}

/* Mobile nav hidden by default on all screen sizes */
.nav__mobile {
  display: none;
}

/* --- Hero --- */
.hero {
  background: var(--forest);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .4;
}
.hero__content { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 span { color: var(--rust); }
.hero__lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
  max-width: 580px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero__stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero__stat-num {
  font-family: var(--font-sans);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--rust);
  line-height: 1;
  letter-spacing: -.03em;
}
.hero__stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: 6px;
  letter-spacing: .04em;
}

/* --- ROI Bar --- */
.roi-bar {
  background: var(--rust);
  color: var(--white);
  padding: 20px 0;
  text-align: center;
}
.roi-bar p {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 500;
  margin: 0;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.roi-bar strong { font-weight: 700; }

/* --- Problem section --- */
.problem__lead {
  font-size: 1.15rem;
  max-width: 680px;
}
.problem__items { margin-top: 48px; }
.problem__item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--accent-light);
}
.problem__item:last-child { border-bottom: none; }
.problem__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #EEE8E2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
}
.problem__icon svg { flex-shrink: 0; }
.problem__text h4 { color: var(--forest); margin-bottom: 6px; }

/* --- Solution --- */
.solution__text { max-width: 540px; }
.solution__text p { font-size: 1.05rem; }
.solution__visual {
  background: var(--forest);
  border-radius: 8px;
  padding: 48px;
  color: var(--white);
}
.solution__visual h3 { color: var(--white); margin-bottom: 24px; }
.solution__checklist { display: flex; flex-direction: column; gap: 16px; }
.solution__check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.solution__check-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--rust);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.solution__check-mark::after {
  content: '';
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}
.solution__check p { color: rgba(255,255,255,.85); margin: 0; font-size: .95rem; }

/* --- Guides Grid --- */
.guide-card {
  background: var(--white);
  border: 1px solid var(--accent-light);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.guide-card:hover {
  box-shadow: 0 12px 40px rgba(74,93,78,.12);
  transform: translateY(-3px);
}
.guide-card__header {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--accent-light);
}
.guide-card__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rust);
  background: #f5ede8;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.guide-card__title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.guide-card__subtitle { font-size: .875rem; color: var(--body-text); }
.guide-card__body { padding: 20px 24px; flex: 1; }
.guide-card__features { display: flex; flex-direction: column; gap: 8px; }
.guide-card__feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .825rem;
  line-height: 1.45;
}
.guide-card__feature::before {
  content: '→';
  color: var(--rust);
  flex-shrink: 0;
  margin-top: 1px;
}
.guide-card__footer {
  padding: 16px 24px 20px;
  background: #FAFAF8;
  border-top: 1px solid var(--accent-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guide-card__footer .btn {
  width: 100%;
  justify-content: center;
}
.guide-card__price {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--forest);
  font-weight: 800;
  letter-spacing: -.02em;
}
.guide-card__price-note { font-size: .75rem; color: var(--body-text); margin-top: 2px; }
.guide-card--featured { border-color: var(--forest); border-width: 2px; }
.guide-card--featured .guide-card__header { background: var(--forest); }
.guide-card--featured .guide-card__title { color: var(--white); }
.guide-card--featured .guide-card__tag { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.guide-card--featured .guide-card__subtitle { color: rgba(255,255,255,.65); }

/* --- What's Inside --- */
.inside__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--accent-light);
  border-radius: 8px;
  overflow: hidden;
}
.inside__item {
  background: var(--white);
  padding: 32px;
}
.inside__item-num {
  font-family: var(--font-sans);
  font-size: 2rem;
  color: var(--accent-light);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -.03em;
}
.inside__item h4 { color: var(--forest); margin-bottom: 8px; }
.inside__item p { font-size: .875rem; }

/* --- Trust signals --- */
.trust-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex: 1;
  min-width: 200px;
}
.trust-item__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 2px solid var(--rust);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rust);
}
.trust-item__icon svg { flex-shrink: 0; }
.trust-item h4 { color: var(--forest); margin-bottom: 4px; }
.trust-item p { font-size: .875rem; margin: 0; }

/* --- ROI Calculator --- */
.roi-section { background: var(--forest); }
.roi-section h2, .roi-section p { color: var(--white); }
.roi-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 40px;
}
.roi-slider-wrap { margin: 32px 0; }
.roi-slider-wrap label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: rgba(255,255,255,.8);
  font-size: .875rem;
}
.roi-slider-wrap label strong {
  color: var(--rust);
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  min-width: 7ch;
  text-align: right;
  display: inline-block;
}
input[type=range] {
  width: 100%;
  accent-color: var(--rust);
  height: 4px;
  cursor: pointer;
}
.roi-result {
  background: var(--rust);
  border-radius: 6px;
  padding: 24px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  text-align: center;
}
.roi-result__item {
  min-width: 0;
}
.roi-result__item .num {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  min-height: 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.roi-result__item .lbl {
  font-size: .7rem;
  color: rgba(255,255,255,.75);
  margin-top: 6px;
  line-height: 1.4;
}
.roi-note { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 12px; text-align: center; }

/* --- Sendowl badge --- */
.sendowl-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  padding: 10px 16px;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}
.sendowl-badge svg { color: var(--rust); flex-shrink: 0; }

/* --- Blog cards --- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--accent-light);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(74,93,78,.1);
  transform: translateY(-2px);
}
.blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--body-text);
  font-size: .8rem;
}
.blog-card__body { padding: 24px; }
.blog-card__cat {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 8px;
}
.blog-card__title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.blog-card__excerpt { font-size: .875rem; margin-bottom: 16px; }
.blog-card__meta { font-size: .75rem; color: var(--body-text); opacity: .7; }

/* --- CTA Section --- */
.cta-section {
  background: var(--forest);
  text-align: center;
  padding: var(--section-pad) 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 36px; }
.cta-section .btn-group { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand p { font-size: .875rem; margin-top: 16px; max-width: 280px; }
.footer__col h5 {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer__col a:hover { color: var(--rust); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem;
}
.footer__logo img { height: 36px; opacity: .8; }

/* --- Product page specific --- */
.product-hero {
  background: var(--forest);
  padding: 80px 0;
  color: var(--white);
}
.product-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px 64px;
  align-items: start;
}
/* Content (tag, h1, lead, badges), top-left */
.product-hero__content { grid-column: 1; grid-row: 1; }
/* Purchase area (price + button), bottom-left */
.product-hero__purchase { grid-column: 1; grid-row: 2; }
.product-hero__purchase .btn { width: 100%; justify-content: center; margin-top: 20px; }
/* Mockup image, right column spanning both rows */
.product-hero__mockup { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.product-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.product-hero__lead { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 32px; }
.product-hero__price-block { margin-bottom: 24px; }
.product-hero__price {
  font-family: var(--font-sans);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.03em;
}
.product-hero__price-note { color: rgba(255,255,255,.5); font-size: .85rem; margin-top: 6px; }
.product-hero__cta-group { display: flex; flex-direction: column; gap: 12px; }
.product-hero__mockup {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.product-hero__mockup {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-hero__mockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
/* Placeholder state (before cover image is added) */
.product-hero__mockup-inner {
  color: rgba(255,255,255,.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
}
.product-hero__mockup-inner h3 {
  color: rgba(255,255,255,.7);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

/* --- Interior pages gallery --- */
.pages-gallery {
  background: var(--cream);
  padding: 64px 0;
  border-bottom: 1px solid var(--accent-light);
  position: relative;
}
/* Right-edge fade to hint at scrollable content */
.pages-gallery::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 96px;
  background: linear-gradient(to right, transparent, var(--cream));
  pointer-events: none;
  z-index: 2;
}
.pages-gallery__label {
  text-align: center;
  margin-bottom: 32px;
}
/* Horizontal scroll filmstrip */
.pages-gallery__grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--rust) var(--accent-light);
  cursor: grab;
}
.pages-gallery__grid:active { cursor: grabbing; }
.pages-gallery__grid::-webkit-scrollbar { height: 4px; }
.pages-gallery__grid::-webkit-scrollbar-track { background: var(--accent-light); border-radius: 2px; }
.pages-gallery__grid::-webkit-scrollbar-thumb { background: var(--rust); border-radius: 2px; }
.pages-gallery__item {
  flex-shrink: 0;
  width: clamp(180px, 22vw, 240px);
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid rgba(74,93,78,0.25);
  scroll-snap-align: start;
  cursor: zoom-in;
  transition: transform .2s, box-shadow .2s;
}
.pages-gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(74,93,78,.15);
}
.pages-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* Placeholder tile before images are added */
.pages-gallery__item--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--body-text);
  font-size: .75rem;
  opacity: .5;
}

/* --- Page header (for inner pages) --- */
.page-header {
  background: var(--forest);
  padding: 64px 0;
  color: var(--white);
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 560px; }

/* --- About --- */
.team-card {
  text-align: center;
}
.team-card__avatar {
  width: 80px;
  height: 80px;
  background: var(--accent-light);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.team-card h4 { color: var(--forest); margin-bottom: 4px; }
.team-card__role { font-size: .8rem; color: var(--rust); font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: .875rem; }

/* --- Divider --- */
.divider { border: none; border-top: 1px solid var(--accent-light); margin: 0; }

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: .4; }

/* --- Badges --- */
.badge-row { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: .75rem;
  color: rgba(255,255,255,.65);
}

/* --- Accordion --- */
.accordion { border: 1px solid var(--accent-light); border-radius: 8px; overflow: hidden; }
.accordion__item { border-bottom: 1px solid var(--accent-light); }
.accordion__item:last-child { border-bottom: none; }
.accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
  transition: background .15s;
}
.accordion__trigger:hover { background: #f5f3ef; }
.accordion__icon { flex-shrink: 0; font-size: 1.2rem; color: var(--rust); transition: transform .2s; }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); }
.accordion__body { padding: 0 28px 24px; font-size: .95rem; display: none; }
.accordion__body.open { display: block; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1025px) {
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 280px)); }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .container { padding: 0 20px; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  /* Hero */
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }
  .hero__lead { font-size: 1rem; margin-bottom: 28px; }
  .hero__actions { flex-direction: column; margin-bottom: 40px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  /* Stats: 2-column grid instead of single column, cuts green space in half */
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; padding-top: 24px; }
  .hero__stat-num { font-size: 1.8rem; }
  .hero__stat-label { font-size: .75rem; }

  /* Solution */
  .solution__visual { padding: 28px 24px; }
  .solution__text .btn { width: 100%; justify-content: center; }

  /* Problem section */
  .problem__items { margin-top: 28px; }
  .problem__item { padding: 20px 0; gap: 16px; }

  /* Inside the guides */
  .inside__grid { grid-template-columns: 1fr !important; }
  .inside__item { padding: 20px; }

  /* Utility overrides for mobile */
  .mb-48 { margin-bottom: 28px; }

  /* ROI calculator */
  .roi-card { padding: 24px 20px; }
  .roi-slider-wrap { margin: 16px 0; }
  .roi-result { grid-template-columns: 1fr; gap: 12px; }

  /* Trust row */
  .trust-row { flex-direction: column; gap: 24px; }
  .trust-item { min-width: 0; }

  /* Edition cards */
  .guide-card__price { font-size: 1.3rem; }

  /* CTA section */
  .cta-section .btn-group { flex-direction: column; align-items: center; }
  .cta-section .btn-group .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Nav */
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--forest);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 200;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    padding: 64px 20px 40px;
  }
  .nav__mobile.open { transform: translateX(0); }
  .nav__mobile a { font-size: 1.4rem; color: var(--white); font-weight: 500; }
  .nav__mobile .close-btn {
    position: absolute;
    top: 20px; right: 20px;
    background: none; border: none;
    color: var(--white); font-size: 1.5rem; cursor: pointer;
  }

  /* Footer, brand full-width on top, then 2-col links */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-bottom: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* ROI bar */
  .roi-bar { padding: 14px 0; }
  .roi-bar p { font-size: .9rem; }

  /* Product/guide pages */
  .product-hero { padding: 48px 0; }
  .product-hero__inner { grid-template-columns: 1fr; grid-template-rows: auto; gap: 24px; }
  .product-hero__content { grid-column: 1; grid-row: 1; }
  .product-hero__mockup { grid-column: 1; grid-row: 2; width: 95%; margin: 0 auto; max-height: none; padding: 24px 20px; }
  .product-hero__purchase { grid-column: 1; grid-row: 3; }
}

/* --- Featured Guide Spotlight --- */
.featured-guide {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
.featured-guide__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
}
/* Prevent the scrollable strip from expanding the grid cell beyond viewport */
.featured-guide__visual { min-width: 0; display: flex; flex-direction: column; }

/* Cover image + placeholder */
.featured-guide__cover {
  flex: 1;
  border-radius: 10px;
  overflow: visible;
  background: transparent;
  position: relative;
  min-height: 240px;
}
.featured-guide__cover-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: rgba(255,255,255,.45);
  text-align: center;
  padding: 40px;
  background: var(--forest);
  border-radius: 10px;
}
.featured-guide__cover-placeholder svg { opacity: .5; }
.featured-guide__cover-placeholder span {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.featured-guide__cover-img {
  position: absolute;
  width: 90%;
  height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity .4s ease;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}
.featured-guide__cover-img.loaded { opacity: 1; }
/* Hide the placeholder once the cover image has loaded */
.featured-guide__cover:has(.featured-guide__cover-img.loaded) .featured-guide__cover-placeholder { display: none; }

/* Scrollable interior page thumbnails */
.featured-guide__strip {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Padding ensures active rust border + shadow are not clipped */
  padding: 10px 4px 10px;
}
.featured-guide__strip::-webkit-scrollbar { display: none; }
.featured-guide__strip-item {
  flex-shrink: 0;
  width: 103px;
  aspect-ratio: 3/4;
  border-radius: 7px;
  /* No overflow:hidden or background, styling lives on the img */
  scroll-snap-align: start;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s, opacity .2s;
  cursor: pointer;
  opacity: .75;
}
.featured-guide__strip-item:hover,
.featured-guide__strip-item.active {
  border-color: var(--rust);
  transform: translateY(-2px);
  opacity: 1;
}
.featured-guide__strip-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Right column info */
.featured-guide__info { padding-top: 4px; }
.featured-guide__lead {
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 440px;
}
.featured-guide__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.featured-guide__feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  line-height: 1.5;
}
.featured-guide__feature::before {
  content: '→';
  color: var(--rust);
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 600;
}
.featured-guide__price-block {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--accent-light);
  border-radius: 8px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.featured-guide__price {
  font-family: var(--font-sans);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -.03em;
  line-height: 1;
}
.featured-guide__price-note {
  font-size: .8rem;
  color: var(--body-text);
  margin-top: 5px;
}
.featured-guide__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .featured-guide__inner { grid-template-columns: 1fr; gap: 32px; }
  /* min-width: 0 prevents the grid cell from expanding to fit the scrollable strip */
  .featured-guide__visual { min-width: 0; width: 100%; }
  .featured-guide__cover { width: 100%; max-width: 100%; margin: 0 auto; }
  .featured-guide__price-block { flex-direction: column; align-items: flex-start; gap: 16px; }
  .featured-guide__price-block .btn { width: 100%; justify-content: center; }
  .featured-guide__ctas { flex-direction: column; gap: 10px; }
  .featured-guide__ctas .btn { width: 100%; justify-content: center; }
  .featured-guide__strip-item { width: 80px; }
}

/* --- Guides index page classes --- */
.savings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.savings-grid > div {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--accent-light);
  padding: 28px;
}
.edition-feature-card {
  background: var(--forest);
  border-radius: 8px;
  padding: 48px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.edition-feature-card__includes {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 32px;
  color: rgba(255,255,255,.6);
  font-size: .875rem;
}
.edition-price-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.savings-callout {
  background: var(--forest);
  border-radius: 8px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.supplier-snapshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

/* --- Pages gallery mobile --- */
@media (max-width: 768px) {
  .savings-grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
  .savings-grid > div { padding: 20px; }
  .edition-feature-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }
  .edition-feature-card__includes { padding: 20px; }
  .edition-price-row { gap: 16px; }
  .edition-price-row .btn { width: 100%; justify-content: center; }
  .pages-gallery__item { width: clamp(140px, 38vw, 180px); }
  .pages-gallery { padding: 40px 0; }
  .product-hero { padding: 40px 0; }
  .product-hero h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .product-hero__lead { font-size: .95rem; }
  .product-hero__price { font-size: 2.2rem; }
  .product-hero__mockup { max-height: 300px; }
  .materials-grid { grid-template-columns: 1fr; gap: 12px; }
  .supplier-snapshot-grid { grid-template-columns: 1fr; }
  .savings-callout { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .savings-callout .btn { width: 100%; justify-content: center; }
}

/* --- Lightbox --- */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: lbFadeIn .18s ease;
}
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }
#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  cursor: default;
}
#lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
#lightbox-close:hover { background: rgba(255,255,255,.25); }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-rust { color: var(--rust); }
.text-forest { color: var(--forest); }
.text-white { color: var(--white); }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.gap-section { margin-top: var(--section-pad); }

/* ============================================================
   PROMO BANNER
   ============================================================ */
.promo-banner {
  background: var(--rust);
  color: var(--white);
  text-align: center;
  padding: 10px 40px 10px 16px;
  font-size: .875rem;
  font-weight: 500;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.promo-banner__code {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .08em;
  font-family: monospace;
  font-size: .9rem;
}
.promo-banner__offer {
  white-space: nowrap;
}
.promo-banner__countdown {
  opacity: .85;
  font-size: .8rem;
}
.promo-banner__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  opacity: .7;
  padding: 4px 8px;
  line-height: 1;
}
.promo-banner__close:hover { opacity: 1; }
@media (max-width: 600px) {
  .promo-banner {
    font-size: .85rem;
    gap: 0;
    flex-direction: column;
    align-items: center;
    padding: 10px 44px; /* symmetric so content centres; close button sits in right padding */
  }
  .promo-banner__offer {
    white-space: normal;
    text-align: center;
    line-height: 1.5;
  }
  .promo-banner__countdown {
    font-size: .8rem;
    display: block;
    margin-top: 3px;
  }
  .promo-banner__close {
    top: 50%;
    transform: translateY(-50%);
  }
}

/* --- Product Spotlight layout (home page section) --- */
.product-spotlight-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) {
  .product-spotlight-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    overflow: hidden;
  }
  .product-spotlight-layout > div:last-child {
    max-width: 100%;
    overflow: hidden;
  }
  .product-spotlight-layout > div:last-child img {
    max-width: 100%;
    height: auto;
  }
}
