/* ==========================================================================
   hr-system.cz - design system
   Third sibling of Robee (honey, Sora) and Mini Robee (green, Fraunces).
   Same recipe as both product sites: cream ground, charcoal ink, hairline
   rules, mono micro-labels, soft layered shadows, blurred colour blobs in the
   hero and one espresso dark chapter. Its own display face is Bricolage
   Grotesque and its own hue is oxide red, so it reads as family and not as a
   copy. Product colours never mix: honey always marks Robee, green always
   marks Mini Robee. Light only, exactly like my-robee.cz and mini.my-robee.cz.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --font-display: 'Bricolage Grotesque', 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;

  --bg: #fffdf9;
  --bg-soft: #faf6ee;
  --surface: #ffffff;
  --ink: #2d2d2d;
  --slate: #5c5650;
  --muted: #8a8378;
  --line: #ece5d8;
  --line-strong: #ddd3c2;

  --brand: #a8432a;
  --brand-deep: #8c3520;
  --brand-bright: #d8714f;
  --brand-tint: #f9ece7;
  --brand-line: #ead0c5;
  --grad-brand: linear-gradient(120deg, #8c3520, #a8432a 55%, #d8714f);

  --honey: #f5a623;
  --honey-deep: #e0931a;
  --honey-burn: #b06f0a;
  --honey-tint: #fdf3e2;
  --honey-line: #f3ddb0;

  --green: #1f6b4a;
  --green-deep: #17573c;
  --green-bright: #4ea87d;
  --green-tint: #e8f2ec;
  --green-line: #c4dfd0;

  --d-bg: #171310;
  --d-surface: rgba(255, 255, 255, .05);
  --d-line: rgba(216, 113, 79, .16);
  --d-text: #f3ede3;
  --d-muted: #b3a896;
  --ember: #f08a66;
  --mint: #6ee7a8;
  --sun: #f7c948;

  --ok: #15803d;   --ok-bg: #ecfdf3;   --ok-line: #bbe7c9;
  --warn: #92610a; --warn-bg: #fef6e7; --warn-line: #f3ddb0;

  --r-ctl: 12px;
  --r-card: 18px;
  --r-mock: 24px;
  --r-chapter: clamp(24px, 4vw, 44px);

  --shadow-card: 0 0 0 1px rgba(45, 45, 45, .04), 0 2px 4px rgba(45, 45, 45, .04), 0 16px 40px -16px rgba(45, 45, 45, .12);
  --shadow-card-hover: 0 0 0 1px rgba(45, 45, 45, .05), 0 4px 10px rgba(45, 45, 45, .06), 0 24px 56px -16px rgba(140, 53, 32, .22);
  --shadow-mock: 0 0 0 1px rgba(45, 45, 45, .05), 0 8px 16px rgba(45, 45, 45, .05), 0 32px 80px -24px rgba(168, 67, 42, .35);

  --container: 1180px;
  --measure: 68ch;
  --sec-pad: clamp(80px, 9vw, 130px);
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: rgba(216, 113, 79, .28); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 10px; text-decoration: none; font-size: .875rem;
  transition: top .2s ease;
}
.skip:focus { top: 0; }
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-optical-sizing: auto; color: var(--ink); }
h1, h2 { text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-weight: 700; font-size: clamp(1.85rem, 3.6vw, 2.7rem); line-height: 1.1; letter-spacing: -.025em; }
h3 { font-weight: 600; font-size: 1.15rem; line-height: 1.3; letter-spacing: -.012em; }
h4 { font-weight: 600; font-size: 1rem; letter-spacing: -.01em; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--slate); }
.small, small { font-size: .88rem; line-height: 1.55; color: var(--muted); }
strong, b { color: var(--ink); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--brand-deep);
  background: var(--brand-tint);
  border: 1px solid var(--brand-line);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow--dark { color: var(--ember); background: rgba(216, 113, 79, .12); border-color: rgba(216, 113, 79, .32); }
.eyebrow--robee { color: var(--honey-burn); background: var(--honey-tint); border-color: var(--honey-line); }
.eyebrow--mini { color: var(--green-deep); background: var(--green-tint); border-color: var(--green-line); }

.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.dot-brand { color: var(--brand-bright); }

/* Product marker dot, reused in buttons, headings and the quiz result. */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--brand); }
.dot--robee { background: var(--honey); box-shadow: 0 0 0 1px rgba(176, 111, 10, .25); }
.dot--mini { background: var(--green-bright); box-shadow: 0 0 0 1px rgba(23, 87, 60, .25); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  padding: 14px 26px;
  border-radius: var(--r-ctl);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2, .7, .3, 1.2), box-shadow .25s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  will-change: transform;
}
.btn--primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 1px 0 rgba(45, 45, 45, .08), 0 8px 24px -10px rgba(45, 45, 45, .55);
}
.btn--primary:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn--brand {
  background: var(--brand); color: #fff;
  box-shadow: 0 1px 0 rgba(45, 45, 45, .08), 0 8px 24px -10px rgba(140, 53, 32, .6);
}
.btn--brand:hover { background: var(--brand-deep); color: #fff; transform: translateY(-2px); }
.btn--robee {
  background: var(--honey); color: var(--ink);
  box-shadow: 0 1px 0 rgba(45, 45, 45, .08), 0 8px 24px -10px rgba(224, 147, 26, .65);
}
.btn--robee:hover { background: var(--honey-deep); color: var(--ink); transform: translateY(-2px); box-shadow: 0 2px 0 rgba(45, 45, 45, .06), 0 14px 32px -10px rgba(224, 147, 26, .75); }
.btn--mini {
  background: var(--green); color: #fff;
  box-shadow: 0 1px 0 rgba(45, 45, 45, .08), 0 8px 24px -10px rgba(23, 87, 60, .65);
}
.btn--mini:hover { background: var(--green-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 2px 0 rgba(45, 45, 45, .06), 0 14px 32px -10px rgba(23, 87, 60, .75); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-tint); color: var(--ink); transform: translateY(-2px); }
.btn--ghost-dark { background: transparent; color: var(--d-text); border-color: rgba(243, 237, 227, .28); }
.btn--ghost-dark:hover { border-color: var(--ember); background: rgba(216, 113, 79, .1); color: var(--d-text); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 9px 18px; font-size: .875rem; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 249, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 32px -20px rgba(45, 45, 45, .25); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.brand-word b { color: var(--brand); font-weight: 700; }
.brand-word small {
  display: inline-block; margin-left: 9px; vertical-align: 2px;
  font-family: var(--font-mono); font-size: .6rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-tint);
  border: 1px solid var(--brand-line); border-radius: 999px; padding: 2px 8px;
}
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  font-size: .9rem; font-weight: 500;
  color: var(--slate); text-decoration: none;
  position: relative; padding-block: 6px; white-space: nowrap;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--brand); border-radius: 2px;
  transition: right .25s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links .btn { margin-left: 6px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Decorative background (hero + page heads) ---------- */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: clip; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .6; }
.blob--a { width: 560px; height: 560px; top: -180px; right: -80px; background: radial-gradient(circle, rgba(216, 113, 79, .42), transparent 65%); animation: drift 38s ease-in-out infinite alternate; }
.blob--b { width: 420px; height: 420px; bottom: -160px; left: -120px; background: radial-gradient(circle, rgba(245, 166, 35, .28), transparent 65%); animation: drift 46s ease-in-out -12s infinite alternate-reverse; }
.blob--c { width: 300px; height: 300px; top: 30%; left: 38%; background: radial-gradient(circle, rgba(78, 168, 125, .16), transparent 65%); animation: drift 52s ease-in-out -25s infinite alternate; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.12); }
}
.dotfield {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(140, 53, 32, .26) 1.2px, transparent 1.7px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(120% 90% at 75% 10%, #000 0%, transparent 62%);
  mask-image: radial-gradient(120% 90% at 75% 10%, #000 0%, transparent 62%);
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(72px, 9vw, 120px); overflow: clip; }
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center; min-width: 0;
}
.hero-grid > * { min-width: 0; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .lead { max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 38px; font-size: .9rem; color: var(--slate); }
.hero-meta b { color: var(--ink); font-weight: 500; }

/* Stage: the quiz lives in a window with two satellite chips. */
.hero-stage { position: relative; }
.mock { position: relative; background: #fff; border-radius: var(--r-mock); box-shadow: var(--shadow-mock); overflow: hidden; }
.mock-bar {
  display: flex; align-items: center; justify-content: flex-start; gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf9, #faf6ee);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-dots i:first-child { background: #f2c1bb; }
.mock-dots i:nth-child(2) { background: #f3ddb0; }
.mock-dots i:nth-child(3) { background: #bbe7c9; }
.mock-title { font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.quiz { padding: 26px 26px 38px; margin: 0; }
.quiz h2 { font-size: 1.35rem; margin-bottom: 6px; }
.quiz-intro { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.quiz legend {
  display: flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 10px;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .13em; color: var(--muted);
}
.quiz legend b { color: var(--brand); font-weight: 500; }
.quiz-options { display: flex; flex-wrap: wrap; gap: 7px; }
.quiz-options label {
  position: relative; display: inline-flex; align-items: center;
  padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .87rem; font-weight: 500; color: var(--slate); background: #fff; cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease, transform .18s ease;
}
.quiz-options label:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.quiz-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz-options label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.quiz-options label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.quiz-result { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.quiz-label { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); margin-bottom: 8px; }
.quiz-result h3 { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px; }
.quiz-price { font-family: var(--font-mono); font-size: .88rem; color: var(--ink); margin-bottom: 10px; }
.quiz-result p { font-size: .92rem; color: var(--slate); }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.quiz-fallback { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }
.quiz-result:not([hidden]) ~ .quiz-fallback { display: none; }

.sat {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 253, 249, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(236, 229, 216, .9);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  font-size: .82rem; line-height: 1.3; white-space: nowrap;
}
.sat b { display: block; font-weight: 600; }
.sat i { font-style: normal; color: var(--muted); font-size: .74rem; }
.sat-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.sat-ico--mini { background: var(--green-tint); color: var(--green); border: 1px solid var(--green-line); }
.sat-ico--robee { background: var(--honey-tint); color: var(--honey-burn); border: 1px solid var(--honey-line); }
.sat--a { top: -26px; right: -18px; }
.sat--b { bottom: -24px; left: -26px; }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.trust-claim { text-align: center; font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 500; margin-bottom: 36px; }
.trust-claim a { color: var(--brand-deep); text-decoration: none; border-bottom: 1px solid var(--brand-line); }
.trust-claim a:hover { border-bottom-color: var(--brand); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat > span { font-size: .88rem; color: var(--slate); }

/* ---------- Sections ---------- */
.section { padding-block: var(--sec-pad); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-top: 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); position: relative; }
.section-head h2 { margin-bottom: 16px; }
.section-head--dark h2 { color: var(--d-text); }
.section-head--dark .lead { color: var(--d-muted); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-foot { margin-top: 22px; font-size: .88rem; color: var(--muted); }
.section-foot a { color: var(--brand-deep); }

/* ---------- Cards (guides grid, value props) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.cards > li { display: flex; }
.card {
  position: relative; display: flex; flex-direction: column; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px 26px; box-shadow: var(--shadow-card);
  text-decoration: none; color: var(--slate);
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(168, 67, 42, .35); }
.card h3 { margin: 18px 0 8px; color: var(--ink); }
.card p { font-size: .94rem; color: var(--slate); }
.more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--brand-deep); }
.more::after { content: "\203A"; font-size: 1.15em; transition: transform .2s ease; }
a:hover > .more::after, a.more:hover::after { transform: translateX(3px); }
.glow::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(216, 113, 79, .13), transparent 70%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.glow:hover::after { opacity: 1; }

.ico {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(168, 67, 42, .16), rgba(216, 113, 79, .06));
  border: 1px solid rgba(168, 67, 42, .12);
  color: var(--brand);
}
.ico svg { width: 22px; height: 22px; }
.ico--robee { background: linear-gradient(150deg, rgba(245, 166, 35, .24), rgba(247, 201, 72, .08)); border-color: rgba(245, 166, 35, .25); color: var(--honey-burn); }
.ico--mini { background: linear-gradient(150deg, rgba(78, 168, 125, .22), rgba(31, 107, 74, .06)); border-color: rgba(31, 107, 74, .2); color: var(--green); }
.ico--sm { width: 36px; height: 36px; border-radius: 11px; }
.ico--sm svg { width: 18px; height: 18px; }

/* ---------- Comparison (home) ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card); }
.compare { width: 100%; min-width: 820px; border-collapse: collapse; font-size: .94rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg-soft); padding: 28px 24px 26px; width: 40%; }
.compare thead th:first-child { width: 20%; }
.compare thead th:nth-child(2) { box-shadow: inset 0 3px 0 var(--green-bright); }
.compare thead th:nth-child(3) { box-shadow: inset 0 3px 0 var(--honey); }
.compare tbody th {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 19px;
}
.compare tbody td { color: var(--slate); line-height: 1.55; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:hover > * { background: var(--bg-soft); }
.compare-name { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.compare-for { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); line-height: 1.55; margin-bottom: 18px; max-width: 40ch; }
.compare .btn { font-size: .875rem; padding: 10px 18px; }
.compare .yes { color: var(--ok); font-weight: 600; }
.compare .no { color: var(--muted); }

/* ---------- Dark chapter (standards) ---------- */
.chapter {
  position: relative;
  background: var(--d-bg); color: var(--d-text);
  border-radius: var(--r-chapter);
  margin-inline: clamp(8px, 1.2vw, 20px);
  padding-block: clamp(80px, 9vw, 130px);
  overflow: clip;
}
.chapter-glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.chapter-glow--a { width: 640px; height: 640px; top: -220px; right: -160px; background: radial-gradient(circle, rgba(216, 113, 79, .2), transparent 65%); }
.chapter-glow--b { width: 540px; height: 540px; bottom: 5%; left: -200px; background: radial-gradient(circle, rgba(245, 166, 35, .09), transparent 65%); }
.chapter-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(240, 138, 102, .22) 1.2px, transparent 1.7px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(100% 60% at 50% 0%, #000, transparent 70%);
  mask-image: radial-gradient(100% 60% at 50% 0%, #000, transparent 70%);
}
.chapter .wrap { position: relative; }
.standards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.tile {
  display: flex; flex-direction: column;
  background: var(--d-surface);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--d-line);
  border-radius: var(--r-card);
  padding: 26px 24px;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), border-color .3s ease, background-color .3s ease;
}
.tile:hover { transform: translateY(-4px); border-color: rgba(216, 113, 79, .42); background: rgba(216, 113, 79, .06); }
.tile-num { display: block; font-family: var(--font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .1em; color: var(--ember); margin-bottom: 16px; }
.tile h3 { color: var(--d-text); font-size: 1.05rem; margin-bottom: 10px; }
.tile p { font-size: .9rem; color: var(--d-muted); }
.tile-tag { margin-top: auto; padding-top: 16px; font-family: var(--font-mono); font-size: .72rem; line-height: 1.55; color: var(--d-muted); }
.tile-tag b { color: var(--sun); font-weight: 500; }
.tile-tag em { color: var(--mint); font-style: normal; }
.chapter-foot { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 28px; border-top: 1px solid rgba(243, 237, 227, .12); }
.chapter-foot p { color: var(--d-muted); font-size: .95rem; max-width: 60ch; }
.chapter-foot p b { color: var(--d-text); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-head h2 { margin-bottom: 14px; }
.faq-head p { color: var(--slate); }
.faq-head p a { color: var(--brand-deep); }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 0 24px; margin-bottom: 12px;
  transition: border-color .25s ease;
}
.faq-item[open] { border-color: var(--brand-line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 52px 20px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.012em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  border-radius: 50%; border: 1px solid var(--line-strong); background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8432a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 14px;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.faq-item summary:hover::after { border-color: var(--brand); background-color: var(--brand-tint); }
.faq-item[open] summary::after { transform: rotate(180deg); background-color: var(--brand-tint); border-color: var(--brand-line); }
.faq-a { padding: 0 0 22px; font-size: .95rem; color: var(--slate); max-width: 62ch; }
.faq-a p { margin: 0 0 .8em; }
.faq-a > :last-child { margin-bottom: 0; }
.faq-a a { color: var(--brand-deep); }

/* ---------- CTA ---------- */
.cta {
  position: relative; text-align: center;
  background: var(--d-bg); color: var(--d-text);
  border-radius: var(--r-chapter);
  padding: clamp(56px, 7vw, 100px) clamp(24px, 5vw, 80px);
  overflow: clip;
}
.cta-glow { position: absolute; top: -40%; left: 50%; width: 720px; height: 720px; transform: translateX(-50%); background: radial-gradient(circle, rgba(216, 113, 79, .24), transparent 60%); filter: blur(70px); pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { color: var(--d-text); margin-bottom: 16px; }
.cta > p { color: var(--d-muted); max-width: 580px; margin: 0 auto 34px; font-size: 1.02rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta-pun { margin-top: 26px; font-size: .9rem; color: var(--d-muted); }
.cta-pun b { color: var(--ember); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-about { margin-top: 16px; max-width: 340px; font-size: .92rem; color: var(--slate); }
.footer-operator { margin-top: 14px; max-width: 340px; font-size: .86rem; color: var(--muted); }
.footer-operator a { color: var(--slate); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .18em; }
.footer-operator a:hover { color: var(--brand-deep); text-decoration-color: currentColor; }
.site-footer h4 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.site-footer ul { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--slate); text-decoration: none; }
.site-footer ul a:hover { color: var(--brand-deep); }
.site-footer ul .dot { width: 7px; height: 7px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-bottom a { color: var(--slate); text-decoration: none; }
.footer-bottom a:hover { color: var(--brand-deep); }

/* ==========================================================================
   Guide pages
   ========================================================================== */

/* ---------- Page head ---------- */
.page-head { position: relative; padding: clamp(48px, 6vw, 88px) 0 clamp(44px, 5vw, 72px); border-bottom: 1px solid var(--line); overflow: clip; }
.page-head .wrap { position: relative; }
.page-head h1 { max-width: 22ch; margin-bottom: 22px; font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.page-head .lead { max-width: 66ch; margin-bottom: 20px; }
.page-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
.page-meta::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 3px var(--green-tint); flex: none; }
.crumbs { margin-bottom: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 9px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-deep); }

/* ---------- Article + TOC ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: clamp(40px, 5vw, 72px) var(--sec-pad); }
.article { min-width: 0; font-size: 1.04rem; line-height: 1.7; color: var(--slate); }
.article > p, .article > ul, .article > ol, .article > h2, .article > h3, .article > h4, .article > blockquote, .article > .callout, .article > .steps { max-width: var(--measure); }
.article > h2 { margin: 2.6em 0 .6em; }
.article > h2::before { content: ''; display: block; width: 36px; height: 3px; border-radius: 2px; background: var(--grad-brand); margin-bottom: 18px; }
.article > h2:first-child { margin-top: 0; }
.article > h3 { margin: 1.9em 0 .5em; font-size: 1.2rem; }
.article > h4 { margin: 1.5em 0 .4em; }
.article p, .article ul, .article ol, .article figure, .article blockquote { margin: 0 0 1.15em; }
.article ul, .article ol { padding-left: 1.35em; }
.article li { margin-bottom: .4em; }
.article li::marker { color: var(--brand); }
/* Prose links only: components (offer, cta, related, buttons) style their own. */
.article > p a, .article > ul a, .article > ol a, .article .table-wrap a, .article .callout a, .article .faq-a a, .article .pairs a, .article .steps a, .article .checklist a, .article .table-note a {
  color: var(--brand-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: var(--brand-line);
}
.article > p a:hover, .article > ul a:hover, .article > ol a:hover, .article .table-wrap a:hover, .article .callout a:hover, .article .faq-a a:hover, .article .pairs a:hover, .article .steps a:hover, .article .checklist a:hover { color: var(--brand); text-decoration-color: currentColor; }
.article em { font-style: normal; color: var(--ink); }
.article code { font-family: var(--font-mono); font-size: .9em; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
.toc { font-size: .88rem; }
.toc-title { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 14px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.45; transition: color .15s ease, border-color .15s ease; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--brand); }
@media (min-width: 1040px) {
  .article-grid { grid-template-columns: minmax(0, 1fr) 236px; gap: clamp(48px, 6vw, 88px); }
  .toc { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; order: 2; }
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 1.6em; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 0; }
.table-wrap caption {
  caption-side: top; text-align: left; padding: 16px 22px;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.table-wrap thead th { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--bg-soft); white-space: nowrap; }
.table-wrap tbody th { font-family: var(--font-body); font-weight: 600; color: var(--ink); }
.table-wrap tbody td { color: var(--slate); line-height: 1.55; }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.table-wrap tbody tr:hover > * { background: var(--bg-soft); }
td.num, th.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); font-size: .9rem; }
tbody tr.ours > * { background: var(--brand-tint); }
tbody tr.ours:hover > * { background: #f5e2da; }
tbody tr.ours td:first-child, tbody tr.ours th:first-child { box-shadow: inset 3px 0 0 var(--brand); color: var(--ink); font-weight: 600; }
.table-note { font-size: .88rem; color: var(--muted); margin-top: -.6em; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  font-family: var(--font-mono); font-size: .6rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em;
  padding: 3px 8px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
}
.badge-list { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.badge-est { color: var(--muted); background: #fff; border-color: var(--line-strong); }
.badge-ours { color: var(--brand-deep); background: #fff; border-color: var(--brand-line); }

/* ---------- Callouts ---------- */
.callout { margin: 1.8em 0; padding: 22px 26px; background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 0 var(--r-card) var(--r-card) 0; font-size: .97rem; }
.callout > :last-child { margin-bottom: 0; }
.callout-title { display: block; font-family: var(--font-mono); font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-deep); margin-bottom: 10px; }
.callout-note { border-left-color: var(--honey-burn); background: var(--warn-bg); border-color: var(--warn-line); border-left-color: var(--honey-burn); }
.callout-note .callout-title { color: var(--warn); }
.callout-ours { background: var(--brand-tint); border-color: var(--brand-line); border-left-color: var(--brand); }

/* ---------- Checklist, pairs, steps ---------- */
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: .65em; }
.checklist li::before { content: ''; position: absolute; left: 0; top: .32em; width: 17px; height: 17px; border: 1.5px solid var(--line-strong); border-radius: 5px; background: #fff; }

.pairs { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(236px, 1fr)); margin: 1.6em 0; }
.pairs > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 24px; box-shadow: var(--shadow-card); }
.pairs h3 { margin: 0 0 10px !important; font-size: 1.08rem; }
.pairs p, .pairs ul { margin-bottom: 0; font-size: .94rem; }

.steps { list-style: none; padding: 0 !important; margin: 0 0 1.5em; counter-reset: step; }
.steps > li { counter-increment: step; margin: 0; padding: 26px 0; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; border-top: 1px solid var(--line); }
.steps > li:first-child { border-top: 0; padding-top: 4px; }
.steps > li::before {
  content: counter(step, decimal-leading-zero); grid-column: 1; grid-row: 1 / span 20;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 500;
  color: var(--brand-deep); background: var(--brand-tint); border: 1px solid var(--brand-line);
}
.steps > li > * { grid-column: 2; }
.steps h3 { margin: 6px 0 10px !important; font-size: 1.15rem; }
.steps p, .steps ul { margin-bottom: .7em; }
.steps > li > :last-child { margin-bottom: 0; }

/* ---------- Offer (product cards) ---------- */
.offer { margin: clamp(40px, 5vw, 64px) 0; }
.offer-head { max-width: 720px; margin-bottom: clamp(28px, 3vw, 40px); }
.offer-head h2 { margin: 0 0 14px !important; }
.offer-head h2::before { display: none; }
.offer-head p { color: var(--slate); margin: 0; }
.offer-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.offer-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 30px 26px; box-shadow: var(--shadow-card);
  font-size: .95rem;
}
.offer-card--pick { border: 2px solid var(--honey); padding: 29px 25px; box-shadow: var(--shadow-card-hover); }
.offer-flag {
  position: absolute; top: -13px; left: 25px;
  font-family: var(--font-mono); font-size: .64rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: var(--honey); padding: 5px 12px; border-radius: 999px;
}
.offer-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 !important; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.offer-for { font-size: .88rem; color: var(--muted); line-height: 1.55; min-height: 2.6em; margin: 0 !important; }
.price {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 !important;
  font-family: var(--font-mono); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.3rem);
  letter-spacing: -.03em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums;
}
.price small { display: block; flex-basis: 100%; margin-top: 2px; font-family: var(--font-body); font-size: .82rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.offer-sep { height: 1px; background: var(--line); }
.offer-card--pick .offer-sep { background: var(--honey-line); }
.offer-card ul { display: flex; flex-direction: column; gap: 9px; list-style: none; padding: 0 !important; margin: 0 !important; font-size: .9rem; color: var(--slate); }
.offer-card li { position: relative; padding-left: 24px; line-height: 1.5; margin: 0; }
.offer-card li::before { content: ''; position: absolute; left: 1px; top: .38em; width: 11px; height: 6px; border-left: 2px solid var(--honey-deep); border-bottom: 2px solid var(--honey-deep); transform: rotate(-45deg); }
.offer-card--mini li::before { border-color: var(--green-bright); }
.offer-card .small { margin: 0 !important; font-size: .84rem; }
.offer-card .btn { justify-content: center; margin-top: auto; }
.offer-why {
  list-style: none; padding: clamp(28px, 3vw, 40px) 0 0 !important; margin: clamp(28px, 3vw, 40px) 0 0 !important;
  border-top: 1px solid var(--line);
  display: grid; gap: 18px clamp(28px, 4vw, 52px); grid-template-columns: repeat(4, 1fr);
  font-size: .92rem; color: var(--slate);
}
.offer-why li { margin: 0; padding-left: 18px; position: relative; }
.offer-why li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.disclosure { font-size: .85rem; color: var(--muted); margin: 22px 0 0 !important; }

/* ---------- Guide CTA (inside articles) ---------- */
.article .cta { text-align: left; padding: clamp(36px, 4vw, 56px) clamp(28px, 4vw, 56px); margin: clamp(40px, 5vw, 64px) 0 0; border-radius: var(--r-card); }
.article .cta h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); }
.article .cta h2::before { display: none; }
.article .cta > p { margin: 0 0 28px; max-width: 62ch; }
.article .cta-actions { justify-content: flex-start; }
.article .cta-glow { left: 80%; top: -60%; }
.article .cta a:not(.btn) { color: var(--d-text); }

.article .faq { margin-top: clamp(40px, 5vw, 64px); }
.article .faq-head h2 { margin: 0 0 14px; }

/* ---------- Related ---------- */
.related { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 22px !important; font-size: 1.15rem; }
.related h2::before { display: none; }
.related ul { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.related li { margin: 0; display: flex; }
.related a {
  display: flex; flex-direction: column; width: 100%; padding: 20px 22px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card);
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: -.012em; color: var(--ink);
  transition: transform .25s cubic-bezier(.2, .7, .3, 1), box-shadow .25s ease, border-color .25s ease;
}
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: rgba(168, 67, 42, .35); color: var(--ink); }
.related span { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 400; font-size: .88rem; color: var(--muted); }

/* ---------- Calculator ---------- */
.calc { margin: 2em 0; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.calc h3 { margin: 0 0 20px !important; font-size: 1.1rem; }
.calc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 22px; }
.calc label { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.calc input[type="number"] {
  width: 6.5rem; padding: 10px 12px; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
  font-family: var(--font-mono); font-size: .95rem;
}
.calc input[type="number"]:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-tint); }
.calc input[type="range"] { flex: 1 1 200px; accent-color: var(--brand); }
.calc .table-wrap { margin-bottom: 14px; box-shadow: none; }
.calc-out { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }

/* ---------- Scroll reveals (JS adds html.is-io only when motion is allowed) ---------- */
html.is-io [data-reveal], html.is-io [data-stagger] > * {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
html.is-io .io-in[data-reveal], html.is-io [data-stagger].io-in > * { opacity: 1; transform: none; }
html.is-io [data-stagger].io-in > :nth-child(2) { transition-delay: .08s; }
html.is-io [data-stagger].io-in > :nth-child(3) { transition-delay: .16s; }
html.is-io [data-stagger].io-in > :nth-child(4) { transition-delay: .24s; }
html.is-io [data-stagger].io-in > :nth-child(5) { transition-delay: .32s; }
html.is-io [data-stagger].io-in > :nth-child(6) { transition-delay: .4s; }
html.is-io [data-stagger].io-in > :nth-child(7) { transition-delay: .48s; }
html.is-io [data-stagger].io-in > :nth-child(8) { transition-delay: .56s; }

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none !important; }
  .btn, .card, .tile, .related a, .quiz-options label { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .brand-word small { display: none; }
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-copy .lead { max-width: 620px; }
  .hero-stage { max-width: 600px; margin-inline: auto; width: 100%; }
  .sat--a { top: -22px; right: -6px; }
  .sat--b { bottom: -20px; left: -8px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .standards { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer-why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1040px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 253, 249, .98);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin: 16px 0 0; justify-content: center; }
  .nav-toggle { display: flex; }
  .brand-word small { display: none; }
}
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .offer-grid { grid-template-columns: 1fr; }
}
/* Comparison as stacked cards on phones: product heads first, then one card
 * per criterion with both answers labelled. */
@media (max-width: 720px) {
  .compare-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .compare { min-width: 0; display: block; }
  .compare thead, .compare tbody { display: block; }
  .compare thead tr { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .compare thead th:first-child { display: none; }
  .compare thead th { display: block; width: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 22px 20px; }
  .compare-for { max-width: none; }
  .compare tbody tr { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 8px 20px 16px; margin-top: 12px; }
  .compare tbody th { display: block; padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
  .compare tbody td { display: block; padding: 12px 0 2px; border: 0; }
  .compare tbody td::before { display: block; font-family: var(--font-mono); font-size: .62rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
  .compare tbody td:nth-child(2)::before { content: 'Mini Robee'; color: var(--green); }
  .compare tbody td:nth-child(3)::before { content: 'Robee'; color: var(--honey-burn); }
  .compare tbody tr:hover > * { background: transparent; }
}
@media (max-width: 640px) {
  .cards, .standards, .offer-why { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-actions .btn { flex: 1 1 100%; }
  .sat { display: none; }
  .quiz { padding: 22px 18px 24px; }
  .footer-bottom { flex-direction: column; }
  .chapter { margin-inline: 0; border-radius: 0; }
  .article .cta { padding: 32px 22px; }
  .steps > li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
  .steps > li::before { width: 32px; height: 32px; font-size: .74rem; }
}

/* ---------- Print (the checklist page is meant to be printed) ---------- */
@media print {
  .site-header, .site-footer, .toc, .hero-cta, .btn, .related, .nav-toggle, .cta, .offer, .hero-bg, .sat { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .article > * { max-width: none !important; }
  a { color: #000; text-decoration: none; }
  .faq-item { break-inside: avoid; box-shadow: none; }
  details:not([open]) > .faq-a { display: block; }
  .page-head { border: 0; padding-top: 0; }
}
