/* Guide page canon (substrate). Standalone stylesheet — guide pages are
   lighter than the comparison page and don't load the comparison canon, but
   keep the same palette. Copy to the site's public/assets/guide.css (one
   shared file for every guide page on the site). */

:root {
  color-scheme: light;
  --ink: #101918;
  --muted: #5c6d68;
  --line: #dce6e2;
  --bg: #f6faf8;
  --panel: #ffffff;
  --teal: #0b766f;
  --teal-dark: #075650;
  --gold: #d69b2d;
  --shadow-soft: 0 12px 34px rgba(22, 33, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Root-cause fix for the "blue CTA" bug: without this, any <a> without an
   explicit color falls back to the browser's default link blue instead of
   inheriting the page's ink/muted palette (comparison.css carries the same
   rule). Every accent link (e.g. .product-name-link) still sets its own
   explicit color on top of this. */
a {
  color: inherit;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 320px, #f4f8f6 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 max(24px, calc((100vw - 1080px) / 2));
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(217, 226, 223, 0.8);
  backdrop-filter: blur(22px) saturate(150%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.nav a:hover {
  color: var(--teal);
  background: rgba(11, 118, 111, 0.08);
}

.guide {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 44px 0 8px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.guide h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.04;
}

.guide h2 {
  margin: 40px 0 12px;
  font-size: 26px;
  line-height: 1.15;
}

.guide p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
}

.guide-intro {
  font-size: 19px;
}

.guide ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 17px;
}

.guide li {
  margin-bottom: 8px;
}

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

.product-name-link {
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: inset 0 -2px 0 rgba(11, 118, 111, 0.18);
  transition: color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.product-name-link:hover {
  color: var(--teal-dark);
  background: rgba(11, 118, 111, 0.08);
  box-shadow: inset 0 -2px 0 rgba(11, 118, 111, 0.36);
}

.guide-pick {
  margin: 36px 0;
  padding: 24px;
  border: 1px solid rgba(11, 118, 111, 0.32);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(237, 247, 244, 0.96), #ffffff);
  box-shadow: 0 18px 48px rgba(11, 86, 80, 0.1);
}

.guide-pick h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.guide-pick p {
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(22, 33, 31, 0.08);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(22, 33, 31, 0.16);
}

.button.primary {
  background: var(--teal);
  color: #fff;
}

.button.primary:hover {
  background: var(--teal-dark);
}

.guide-back {
  margin: 36px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.guide-back a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.guide-back a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .guide {
    padding-top: 28px;
  }

  .guide-pick .button {
    width: 100%;
  }
}
