.guide-page {
  --guide-navy: #10243a;
  --guide-blue: #153a79;
  --guide-ink: #1a2433;
  --guide-muted: #4d5e70;
  --guide-paper: #f7f6f3;
  --guide-card: #ffffff;
  --guide-border: #e2ddd4;
  --guide-gold: #e7c18b;
  --guide-display: "Instrument Serif", var(--display-font);
  background: var(--guide-paper);
  color: var(--guide-ink);
}

.guide-page .site-header {
  background: linear-gradient(145deg, #142238, #0d1726 78%);
  border-bottom: 1px solid #30445d;
  color: #f8f6f2;
}

.guide-page .site-header.is-scrolled {
  background: #0f1c2ef7;
  backdrop-filter: blur(10px);
}

/* Dark Editorial Hero */
.guide-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 7.2vw, 108px) clamp(48px, 6vw, 88px);
  background: #0d1c30;
  color: #edf3fa;
}

.guide-hero-background {
  position: absolute;
  z-index: -2;
  inset: -14px;
  width: calc(100% + 28px);
  max-width: none;
  height: calc(100% + 28px);
  object-fit: cover;
  object-position: 72% 52%;
  filter: blur(3.5px) saturate(.92) brightness(.9);
}

.guide-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #0a1829f5 0%, #0d1f36e8 32%, #10243aa6 58%, #10243a4d 84%, #0b172966 100%),
    linear-gradient(0deg, #0b172999 0%, transparent 46%);
  pointer-events: none;
}

.guide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--guide-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.guide-eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--bronze);
}

.guide-hero h1 {
  max-width: 16ch;
  margin-top: 16px;
  font: 400 clamp(44px, 6vw, 84px)/.98 var(--guide-display);
  letter-spacing: -.018em;
  color: #f8fbff;
}

.guide-hero h1 em {
  color: var(--guide-gold);
  font-style: italic;
}

.guide-lead {
  max-width: 58ch;
  margin-top: 18px;
  color: #d2dfee;
  font-size: clamp(15.5px, 1.35vw, 18px);
  line-height: 1.65;
}

.guide-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 10px;
  margin-top: clamp(24px, 3vw, 36px);
}

.guide-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 15px;
  border: 1px solid #ffffff2b;
  border-radius: 999px;
  background: #ffffff0a;
  color: #e6effa;
  font-size: 13.5px;
  font-weight: 550;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.guide-jump-nav a:hover {
  border-color: var(--guide-gold);
  background: #e7c18b1c;
  color: var(--guide-gold);
}

/* Shared Guide Sections */
.guide-section {
  padding-block: clamp(46px, 6vw, 84px);
}

.guide-section + .guide-section {
  border-top: 1px solid var(--guide-border);
}

.guide-section-alt {
  background: #ffffff;
}

.guide-kicker {
  color: var(--bronze-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guide-section-head {
  display: grid;
  gap: 10px;
  max-width: 66ch;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.guide-section-head h2 {
  color: var(--guide-navy);
  font: 400 clamp(34px, 4.4vw, 56px)/1.02 var(--guide-display);
  letter-spacing: -.018em;
}

.guide-section-head h2 em {
  color: var(--guide-blue);
  font-style: italic;
}

.guide-section-head p {
  color: var(--guide-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

/* PI Notice Banner */
.guide-callout {
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px solid #e4d4b9;
  border-left: 4px solid var(--bronze);
  border-radius: 10px;
  background: #fcf6eb;
  color: #3a2d1e;
  font-size: 14.5px;
  line-height: 1.6;
}

.guide-callout strong {
  color: #1f170d;
}

/* 40 / 30 / 30 Milestone Cards */
.milestone-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.milestone-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
  padding: clamp(20px, 2.8vw, 30px);
  border: 1px solid var(--guide-border);
  border-left: 4px solid var(--bronze);
  border-radius: 14px;
  background: var(--guide-card);
  box-shadow: 0 8px 24px #10243a0a;
}

.milestone-metric {
  display: grid;
  gap: 6px;
}

.milestone-pct {
  color: var(--bronze-text);
  font: 400 clamp(44px, 4.4vw, 60px)/.92 var(--guide-display);
  letter-spacing: -.02em;
}

.milestone-tag {
  color: var(--guide-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.milestone-body {
  display: grid;
  gap: 10px;
}

.milestone-body h3 {
  color: var(--guide-navy);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
}

.milestone-body p {
  color: var(--guide-muted);
  font-size: 14.5px;
  line-height: 1.62;
}

.milestone-body strong {
  color: var(--guide-navy);
}

/* Payment Safeguards 2x2 */
.safeguard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.safeguard-card {
  padding: 20px 22px;
  border: 1px solid #e5e1d9;
  border-radius: 12px;
  background: #fbfaf7;
}

.safeguard-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--guide-navy);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
}

.safeguard-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bronze);
  flex-shrink: 0;
}

.safeguard-card p {
  margin-top: 8px;
  color: var(--guide-muted);
  font-size: 14px;
  line-height: 1.6;
}

.safeguard-card a {
  color: var(--guide-blue);
  text-underline-offset: 3px;
}

/* Physical Sample Formula & Two-Column Grid */
.sample-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
}

.sample-formula-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid #d9cbb3;
  border-radius: 16px;
  background: linear-gradient(150deg, #fffdf9, #f9f3e7);
}

.sample-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 14px 16px;
  border: 1px solid #e4d4b9;
  border-radius: 10px;
  background: #ffffff;
}

.sample-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #10243a;
  color: #f6fbff;
  font-size: 13.5px;
  font-weight: 650;
}

.sample-pill-accent {
  background: var(--bronze);
  color: #16110b;
}

.sample-plus {
  color: var(--bronze-text);
  font-weight: 700;
}

.sample-formula-card h3,
.sample-side-card h3 {
  color: var(--guide-navy);
  font: 400 clamp(25px, 2.6vw, 32px)/1.12 var(--guide-display);
}

.sample-formula-card p,
.sample-side-card p {
  color: var(--guide-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.sample-side-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--guide-border);
  border-radius: 16px;
  background: var(--guide-card);
}

.guide-checklist {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-checklist li {
  position: relative;
  padding-left: 22px;
  color: var(--guide-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.guide-checklist li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 2px;
  width: 10px;
  height: 5.5px;
  border-left: 2px solid var(--bronze-text);
  border-bottom: 2px solid var(--bronze-text);
  transform: rotate(-45deg);
}

.guide-checklist strong {
  color: var(--guide-navy);
}

/* Shipping & Quality Cards */
.shipping-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shipping-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  background: var(--guide-card);
}

.shipping-badge {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf3fb;
  color: var(--guide-blue);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.shipping-card h3 {
  color: var(--guide-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.shipping-card p {
  color: var(--guide-muted);
  font-size: 14.5px;
  line-height: 1.62;
}

/* FAQ Accordion */
.guide-faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.guide-faq-list details {
  border: 1px solid var(--guide-border);
  border-radius: 12px;
  background: var(--guide-card);
  padding: 18px 22px;
}

.guide-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--guide-navy);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
}

.guide-faq-list summary::-webkit-details-marker {
  display: none;
}

.guide-faq-list summary::after {
  content: "+";
  color: var(--bronze-text);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}

.guide-faq-list details[open] summary::after {
  content: "−";
}

.guide-faq-list details p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #efece6;
  color: var(--guide-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.guide-faq-list details a {
  color: var(--guide-blue);
  text-underline-offset: 3px;
}

/* Bottom CTA Band */
.guide-cta {
  padding-block: clamp(46px, 6vw, 78px);
  background:
    radial-gradient(ellipse at 78% 100%, #294b73, transparent 65%),
    linear-gradient(140deg, #1c3451, #0c192b 82%);
  color: #edf3fa;
}

.guide-cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 36px;
}

.guide-cta h2 {
  font: 400 clamp(32px, 4.2vw, 52px)/1.05 var(--guide-display);
  color: #f8fbff;
}

.guide-cta h2 em {
  color: var(--guide-gold);
  font-style: italic;
}

.guide-cta p {
  max-width: 52ch;
  margin-top: 10px;
  color: #cddbeb;
  font-size: 15px;
}

.guide-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.guide-cta .button-outline {
  border-color: #7c97b8;
  color: #edf3fa;
}

.guide-cta .button-outline:hover {
  border-color: var(--guide-gold);
  color: var(--guide-gold);
}

@media (max-width: 900px) {
  .sample-grid,
  .shipping-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .milestone-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .safeguard-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
