/* Guide page styling: editorial navigation with a warm paper and ink palette. */
:root {
  --guide-ink: #3b1714;
  --guide-paper: #f7f2e8;
  --guide-card: #fffdf6;
  --guide-line: #d9cfc0;
  --guide-mint: #dfe69a;
  --guide-blue: #c9eaf3;
  --guide-pink: #f4b8dd;
}
body[data-helper-page] > header {
  position: relative;
  z-index: 3;
  color: var(--guide-ink);
  background-color: var(--guide-paper);
  box-shadow: 0 5px 0 rgba(59, 23, 20, .08);
}
body[data-helper-page] > main.guide-main {
  display: block;
  width: 100%;
  padding: 50px clamp(20px, 6.8vw, 112px) 96px;
  color: var(--guide-ink);
  background: var(--guide-paper);
  font-family: "SF Compact", "Arial Narrow", Arial, sans-serif;
}
.guide-section {
  width: min(100%, 1320px);
  margin: 0 auto 28px;
  padding: clamp(24px, 4.5vw, 62px);
  border: 1px solid var(--guide-line);
  border-radius: 28px;
  background-color: var(--guide-card);
  box-shadow: 0 12px 30px rgba(59, 23, 20, .055);
}
.guide-section:last-child { margin-bottom: 0; }
.guide-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(38px, 7vw, 92px);
  border-color: var(--guide-ink);
  color: var(--guide-paper);
  background: var(--guide-ink);
}
.guide-hero::after {
  position: absolute;
  right: -48px;
  bottom: -94px;
  width: 270px;
  height: 270px;
  border: 36px solid rgba(201, 234, 243, .32);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.guide-kicker, .guide-index {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: #69413a;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.guide-hero .guide-kicker { color: var(--guide-blue); }
.guide-main h1, .guide-main h2 {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--guide-ink);
  font-family: "Arial Black", "Arial Narrow", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.04;
}
.guide-main h1 { max-width: 980px; color: var(--guide-paper); font-size: clamp(2.7rem, 7.5vw, 6.5rem); }
.guide-main h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
.guide-lead, .guide-copy {
  max-width: 790px;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.72;
}
.guide-lead { color: #f8e9dc; }
.guide-copy { color: #5c4841; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.guide-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 2px solid var(--guide-ink);
  border-radius: 999px;
  color: var(--guide-ink);
  background-color: var(--guide-mint);
  font-size: .98rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.guide-button-secondary { background-color: var(--guide-blue); }
.guide-button:hover, .guide-button:focus-visible { transform: translateY(-2px); box-shadow: 0 5px 0 var(--guide-ink); }
.guide-button:focus-visible, .guide-main a:focus-visible { outline: 3px solid #9d4d26; outline-offset: 4px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.guide-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--guide-line);
  border-radius: 20px;
  background-color: #fbf7ee;
}
.guide-card h3 { margin: 0 0 9px; color: var(--guide-ink); font-size: 1.14rem; line-height: 1.35; }
.guide-card p { margin: 0; color: #5c4841; font-size: .99rem; line-height: 1.65; }
.guide-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 12px;
  color: var(--guide-ink);
  background-color: var(--guide-pink);
  font-size: .9rem;
  font-weight: 900;
}
.guide-note { margin-top: 24px; padding: 20px 24px; border-left: 5px solid #b56e3e; border-radius: 0 16px 16px 0; background-color: #f5e9d5; color: #51362d; line-height: 1.65; }
.guide-checklist { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.guide-checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: #51433d; line-height: 1.6; }
.guide-checklist li::before { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--guide-ink); background-color: var(--guide-mint); content: "✓"; font-weight: 900; }
.guide-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.guide-compare-panel { padding: 26px; border-radius: 20px; background-color: #eaf4ef; }
.guide-compare-panel:last-child { background-color: #f8e8ee; }
.guide-compare-panel h3 { margin: 0 0 10px; color: var(--guide-ink); font-size: 1.2rem; }
.guide-compare-panel p { margin: 0; color: #58443e; line-height: 1.65; }
.guide-summary { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-color: var(--guide-ink); background-color: var(--guide-blue); }
.guide-summary .guide-copy { max-width: 720px; }
.guide-summary .guide-button { flex: 0 0 auto; background-color: var(--guide-ink); color: #fffdf6; }
.guide-summary .guide-button:hover, .guide-summary .guide-button:focus-visible { box-shadow: 0 5px 0 #fffdf6; }
.guide-analytics-pixel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  body[data-helper-page] > main.guide-main { padding: 28px 16px 64px; }
  .guide-section { margin-bottom: 17px; padding: 26px 21px; border-radius: 21px; }
  .guide-grid, .guide-compare { grid-template-columns: 1fr; }
  .guide-summary { align-items: flex-start; flex-direction: column; }
  .guide-summary .guide-button { flex-basis: auto; }
  .guide-hero::after { right: -145px; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-button { transition: none; }
}
