:root {
  --ink: #171717;
  --muted: #5e5e5e;
  --paper: #ffffff;
  --soft: #fff7f7;
  --soft-2: #f8eeee;
  --line: #ead2d2;
  --brand: #9b252c;
  --brand-dark: #65151a;
  --brand-bright: #b5252d;
  --gold: #fff3b0;
  --success: #1c6b42;
  --shadow: 0 14px 35px rgba(37, 15, 17, .12);
  --radius: 18px;
  --content: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body.guide-page {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Google Sans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.guide-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.guide-page a {
  color: var(--brand);
  text-underline-offset: 3px;
}

.guide-page a:hover { color: var(--brand-dark); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff !important;
  background: #000;
}

.skip-link:focus { top: 12px; }

.guide-topline {
  padding: 8px 16px;
  color: #fff;
  background: var(--brand);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}

.guide-nav {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid #2b2b2b;
  background: #080808;
}

.guide-nav__inner,
.guide-container {
  width: min(var(--content), calc(100% - 36px));
  margin-inline: auto;
}

.guide-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.guide-logo {
  flex: 0 0 auto;
  color: #fff !important;
  text-decoration: none;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
}

.guide-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-nav__links a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.guide-nav__links a:hover { color: #f6c5c8; }

.guide-button,
.guide-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 13px 22px;
  border: 2px solid var(--brand-bright);
  border-radius: 7px;
  color: #fff !important;
  background: var(--brand-bright);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .24);
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.guide-button:hover {
  color: #fff !important;
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(0, 0, 0, .3);
}

.guide-button--dark {
  border-color: #fff;
  background: #050505;
}

.guide-button--light {
  border-color: var(--brand);
  color: var(--brand) !important;
  background: #fff;
  box-shadow: none;
}

.guide-button--light:hover {
  color: #fff !important;
  background: var(--brand);
}

.guide-hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .13), transparent 26%),
    linear-gradient(135deg, #7e1d23 0%, #9b252c 55%, #5b1116 100%);
}

.guide-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: center;
  gap: 42px;
  min-height: 520px;
  padding-block: 68px;
}

.guide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, .16);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.guide-hero h1 {
  max-width: 850px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, .55);
}

.guide-hero__lead {
  max-width: 780px;
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.55;
}

.guide-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-hero__image img {
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .3));
}

.affiliate-note {
  max-width: 780px;
  margin: 16px 0 0;
  color: #f2dfe0;
  font-size: 13px;
  line-height: 1.45;
}

.guide-breadcrumbs {
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  color: #696969;
  font-size: 14px;
}

.guide-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #aaa;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 54px;
  padding-block: 54px 72px;
}

.guide-content { min-width: 0; }

.guide-content h2,
.guide-content h3,
.guide-content h4 {
  color: #242424;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.guide-content h2 {
  margin: 54px 0 18px;
  font-size: clamp(30px, 4vw, 43px);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, .14);
}

.guide-content h2:first-child { margin-top: 0; }

.guide-content h3 {
  margin: 34px 0 12px;
  font-size: clamp(23px, 3vw, 30px);
}

.guide-content p { margin: 0 0 22px; }

.guide-content ul,
.guide-content ol {
  margin: 0 0 26px;
  padding-left: 25px;
}

.guide-content li { margin-bottom: 10px; }

.quick-answer,
.note-box,
.warning-box,
.success-box {
  margin: 0 0 34px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand);
  border-radius: 14px;
  background: var(--soft);
  box-shadow: 0 7px 22px rgba(63, 21, 23, .06);
}

.quick-answer h2,
.note-box h3,
.warning-box h3,
.success-box h3 {
  margin: 0 0 10px;
  font-size: 24px;
  text-shadow: none;
}

.quick-answer p:last-child,
.note-box p:last-child,
.warning-box p:last-child,
.success-box p:last-child { margin-bottom: 0; }

.warning-box {
  border-color: #eed9b4;
  border-left-color: #a66b10;
  background: #fff9ec;
}

.success-box {
  border-color: #cce5d6;
  border-left-color: var(--success);
  background: #f2fbf6;
}

.feature-grid,
.ingredient-grid,
.related-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 34px;
}

.feature-card,
.ingredient-card,
.related-card,
.trust-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(61, 18, 21, .07);
}

.feature-card h3,
.ingredient-card h3,
.trust-card h3 {
  margin: 0 0 9px;
  font-size: 22px;
}

.feature-card p:last-child,
.ingredient-card p:last-child,
.trust-card p:last-child { margin-bottom: 0; }

.ingredient-card__role {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--soft-2);
  font-size: 13px;
  font-weight: 700;
}

.guide-table-wrap {
  overflow-x: auto;
  margin: 28px 0 36px;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 8px 22px rgba(63, 21, 23, .06);
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: #fff;
}

.guide-table th,
.guide-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #eadede;
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  color: #fff;
  background: #171717;
  font-size: 15px;
}

.guide-table tr:last-child td { border-bottom: 0; }
.guide-table tbody tr:nth-child(even) { background: #fff9f9; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 36px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.price-card--featured {
  border: 3px solid var(--brand);
  transform: translateY(-8px);
}

.price-card__tag {
  display: inline-block;
  align-self: center;
  margin: -38px 0 14px;
  padding: 6px 13px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.price-card h3 { margin: 0 0 8px; font-size: 24px; }
.price-card__price { margin: 0; color: var(--brand); font-size: 34px; font-weight: 700; line-height: 1; }
.price-card__total { margin: 8px 0 16px; color: var(--muted); font-size: 14px; }
.price-card ul { flex: 1; margin: 0 0 20px; padding: 0; list-style: none; font-size: 15px; }
.price-card li { margin-bottom: 7px; }

.checkout-image {
  margin: 34px 0 38px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.guide-toc {
  position: sticky;
  top: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  box-shadow: 0 8px 24px rgba(61, 18, 21, .07);
}

.guide-toc h2 {
  margin: 0 0 13px;
  font-size: 19px;
  text-shadow: none;
}

.guide-toc ol {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.45;
}

.guide-toc li { margin: 8px 0; }
.guide-toc a { color: #333; text-decoration: none; }
.guide-toc a:hover { color: var(--brand); text-decoration: underline; }

.faq-list { margin: 25px 0 38px; }

.faq-list details {
  border-bottom: 1px solid #e7d8d8;
  background: #fff;
}

.faq-list summary {
  position: relative;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  color: #222;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 14px; color: var(--brand); font-size: 30px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 38px 20px 0; color: #454545; }
.faq-answer p:last-child { margin-bottom: 0; }

.guide-cta {
  margin: 54px 0;
  padding: 38px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #080808, #242424);
  text-align: center;
  box-shadow: var(--shadow);
}

.guide-cta h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(30px, 4vw, 43px);
  text-shadow: 1.5px 1.5px 5px rgba(0, 0, 0, .5);
}

.guide-cta p {
  max-width: 760px;
  margin: 0 auto 22px;
  color: #e5e5e5;
}

.references {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid #ddd;
  color: #555;
  font-size: 15px;
}

.references h2 { margin-top: 0; font-size: 26px; text-shadow: none; }

.guide-related {
  padding: 62px 0;
  color: #fff;
  background: #000;
}

.guide-related h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
}

.guide-related__intro { margin: 0 0 26px; color: #cfcfcf; }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }

.related-card {
  display: block;
  border-color: #383838;
  color: #fff !important;
  background: #111;
  text-decoration: none;
  box-shadow: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.related-card:hover { border-color: var(--brand-bright); background: #191919; transform: translateY(-3px); }
.related-card strong { display: block; margin-bottom: 5px; font-size: 18px; }
.related-card span { color: #bfbfbf; font-size: 15px; }

.guide-footer {
  padding: 46px 0 30px;
  color: #cfcfcf;
  background: #0b0b0b;
  border-top: 1px solid #2a2a2a;
}

.guide-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.guide-footer h2,
.guide-footer h3 { margin: 0 0 13px; color: #fff; }
.guide-footer h2 { font-size: 28px; }
.guide-footer h3 { font-size: 17px; }
.guide-footer p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; }
.guide-footer ul { margin: 0; padding: 0; list-style: none; }
.guide-footer li { margin: 7px 0; }
.guide-footer a { color: #ddd; text-decoration: none; font-size: 14px; }
.guide-footer a:hover { color: #fff; text-decoration: underline; }

.guide-footer__bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #2a2a2a;
  color: #9d9d9d;
  font-size: 13px;
}

.legal-page .guide-hero__inner { min-height: 360px; }
.legal-page .guide-hero__image { display: none; }
.legal-page .guide-hero__inner { grid-template-columns: 1fr; }
.legal-page .guide-layout { grid-template-columns: 1fr; max-width: 900px; }

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  color: #fff;
  background: linear-gradient(135deg, #111, #6d181e);
  text-align: center;
}

.error-page h1 { margin: 0 0 12px; font-size: clamp(54px, 12vw, 110px); }
.error-page p { max-width: 650px; margin: 0 auto 24px; }

@media (max-width: 960px) {
  .guide-nav__inner { align-items: flex-start; flex-direction: column; padding-block: 20px; }
  .guide-nav__links { justify-content: flex-start; flex-wrap: wrap; }
  .guide-hero__inner { grid-template-columns: 1fr; min-height: auto; padding-block: 54px; }
  .guide-hero__image { order: -1; justify-content: flex-start; }
  .guide-hero__image img { max-height: 250px; }
  .guide-layout { grid-template-columns: 1fr; gap: 30px; }
  .guide-toc { position: static; order: -1; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card--featured { transform: none; }
  .price-card__tag { margin-top: -38px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body.guide-page { font-size: 17px; }
  .guide-nav__inner, .guide-container { width: min(100% - 28px, var(--content)); }
  .guide-nav__links { gap: 8px 15px; }
  .guide-nav__links a { font-size: 14px; }
  .guide-nav__links .guide-button { width: 100%; margin-top: 5px; }
  .guide-hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .guide-hero__image img { max-height: 210px; }
  .feature-grid, .ingredient-grid, .related-grid, .trust-grid { grid-template-columns: 1fr; }
  .guide-content h2 { margin-top: 44px; }
  .quick-answer, .note-box, .warning-box, .success-box, .guide-cta { padding: 22px; }
  .guide-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media print {
  .guide-topline, .guide-nav, .guide-toc, .guide-related, .guide-footer, .guide-button { display: none !important; }
  .guide-hero { color: #000; background: #fff; }
  .guide-hero h1, .guide-hero__lead { color: #000; text-shadow: none; }
  .guide-hero__inner, .guide-layout { display: block; min-height: auto; padding: 20px 0; }
  .guide-hero__image { display: none; }
  .guide-page { font-size: 12pt; }
}
