/* Vuret guides: same design system as the condition (product) pages */
:root {
  --navy: #0b2545; --navy-2: #13315c; --ink: #17233b; --text: #3b475e; --muted: #6c7689;
  --blue: #1386c6; --blue-dark: #0a6aa1; --blue-light: #8fd3ff; --sky: #e9f4fb; --sky-2: #f5fafd;
  --line: #dce8f1; --green: #12a150; --red: #d64545; --amber: #f5b301; --white: #fff;
  --radius: 22px; --shadow: 0 24px 48px -28px rgba(11, 37, 69, .35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--navy); color: #fff; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 10px 16px; }
.announce b { color: var(--blue-light); font-weight: 800; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { text-decoration: none; font-family: 'Cinzel', serif; font-weight: 600; font-size: 24px; letter-spacing: .14em; color: var(--navy); }
.header nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.header nav a { text-decoration: none; color: var(--text); }
.header nav a:hover { color: var(--blue); }
.header .btn-sm { background: var(--navy); color: #fff; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.header .btn-sm:hover { background: var(--blue); color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--blue); color: #fff; text-decoration: none; border: 0; cursor: pointer; font: 800 15px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 18px 30px; border-radius: 999px; box-shadow: 0 14px 28px -12px rgba(19,134,198,.7), inset 0 -3px 0 rgba(0,0,0,.12); transition: transform .18s, background .18s; }
.btn:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-white { background: #fff; color: var(--navy); box-shadow: none; }
.btn-white:hover { background: var(--blue-light); color: var(--navy); }

/* ---------- Hero ---------- */
.g-hero { padding: 40px 0 64px; background: radial-gradient(70% 90% at 85% 10%, #dff0fb 0%, transparent 60%), linear-gradient(180deg, #f3f9fd 0%, #fff 100%); overflow: hidden; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--blue-dark); }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { opacity: .5; }
.g-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.g-hero-grid > * { min-width: 0; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.g-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; }
.g-hero .dek { font-size: clamp(1.05rem, 1.6vw, 1.2rem); margin: 18px 0 0; max-width: 620px; }
.g-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.g-meta span { display: inline-block; white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.g-meta svg { color: var(--green); vertical-align: -2px; margin-right: 6px; }
.g-visual { position: relative; }
.g-photo { border-radius: 28px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow), 0 0 0 2px var(--blue); aspect-ratio: 4 / 3; background: var(--sky); }
.g-photo img { width: 100%; height: 100%; object-fit: cover; }
.g-chip { position: absolute; right: -14px; bottom: -22px; background: var(--navy); color: #fff; border-radius: 16px; padding: 12px 16px; font-size: 13px; font-weight: 600; line-height: 1.35; box-shadow: var(--shadow); max-width: 230px; }
.g-chip b { display: block; color: var(--blue-light); font-size: 15px; font-weight: 800; }

/* ---------- Trust strip ---------- */
.strip { background: var(--blue); color: #fff; padding: 14px 0; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 34px; font-weight: 800; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; }
.strip li { display: inline-flex; align-items: center; gap: 10px; }
.strip li::before { content: "\2726"; color: #9fdcff; }

/* ---------- Layout ---------- */
.g-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding: 64px 24px 88px; }
/* Sidebar: the guide list scrolls normally; only the product card sticks, and it is short enough to fit any laptop screen */
.g-side { align-self: stretch; display: flex; flex-direction: column; gap: 18px; }
.g-side .side-card { position: sticky; top: 92px; order: 2; }
.g-side .side-list { order: 1; }

/* ---------- Article body ---------- */
.prose { max-width: 760px; }
/* lead paragraph = first real paragraph after the TL;DR (or the first one on legacy posts), never the disclosure */
.prose > .tldr + p, .prose > p:first-child:not(.disclosure) { font-size: 1.12rem; color: var(--ink); }
.prose p { margin: 0 0 1.05em; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; margin: 2.1em 0 .6em; padding-top: .2em; }
.prose h3 { font-size: 1.22rem; font-weight: 800; margin: 1.6em 0 .5em; }
.prose h2 + h3 { margin-top: .6em; }
.prose a { color: var(--blue-dark); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(19,134,198,.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.2em; list-style: none; }
.prose ul > li { position: relative; padding-left: 30px; margin: 0 0 .55em; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 6px; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231386c6' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center no-repeat; }
.prose ol { counter-reset: n; }
.prose ol > li { position: relative; padding-left: 40px; margin: 0 0 .7em; counter-increment: n; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .05em; width: 27px; height: 27px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.prose li p { margin: 0; }

.table-wrap { margin: 22px 0 30px; border: 1px solid var(--line); border-radius: 18px; overflow-x: auto; box-shadow: 0 14px 30px -26px rgba(11,37,69,.5); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 520px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: .03em; }
.prose tbody tr:nth-child(even) { background: var(--sky-2); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody td:first-child { font-weight: 700; color: var(--ink); }

.tldr { background: var(--sky); border-radius: var(--radius); padding: 24px 28px; margin: 0 0 30px; position: relative; }
.tldr h2 { font-size: 12.5px !important; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue) !important; margin: 0 0 8px !important; padding: 0 !important; }
.tldr p { margin: 0 !important; font-size: 1.08rem !important; color: var(--ink) !important; font-weight: 500; line-height: 1.65; }
.disclosure { font-size: 13.5px; line-height: 1.6; color: var(--muted); background: #fff; border: 1px dashed #b9d7ea; border-radius: 14px; padding: 12px 16px; margin: 0 0 22px; }
.disclosure strong { color: var(--ink); }
.callout, .key-points, .highlight-box, .toc-box { background: var(--sky-2); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; margin: 26px 0; }
.key-points h3, .toc-box h3 { margin-top: 0 !important; font-size: 1.05rem; }
.key-points ul, .toc-box ul { margin-bottom: 0; }
.callout p:last-child, .highlight-box p:last-child { margin: 0; }
.warning-box { background: #fff6f6; border: 1px solid #f3cccc; border-left: 5px solid var(--red); border-radius: 18px; padding: 18px 22px; margin: 26px 0; }
.warning-box p:last-child { margin: 0; }

/* Inline CTA = navy banner from the product pages */
.inline-cta { background: var(--navy); color: #cfe2f2; border-radius: var(--radius); padding: 30px 32px; margin: 40px 0; box-shadow: var(--shadow); }
.inline-cta h3 { color: #fff !important; font-size: clamp(1.15rem, 2vw, 1.4rem) !important; margin: 0 0 8px !important; }
.inline-cta p { margin: 0 0 18px !important; color: #cfe2f2; }
.inline-cta .btn-inline, .inline-cta .btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--navy) !important; text-decoration: none !important; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 15px 24px; border-radius: 999px; }
.inline-cta .btn-inline:hover { background: var(--blue-light); }

/* FAQ = product page FAQ */
.faq-block { margin: 52px 0 0; }
.faq-block h2 { margin-top: 0 !important; }
.faq { display: grid; gap: 12px; margin-top: 18px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #9fcfea; box-shadow: 0 16px 34px -28px rgba(11,37,69,.5); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; color: var(--ink); font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231386c6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 20px; font-size: 16px; }
.faq .ans p { margin: 0; }

/* ---------- Sidebar ---------- */
.side-card { background: var(--navy); color: #cfe2f2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.side-card .side-img { background: linear-gradient(180deg, #fff 0%, #dff0fb 100%); aspect-ratio: 16 / 10; display: grid; place-items: center; }
@media (max-height: 760px) { .side-card .side-img { display: none; } }
.side-card .side-img img { width: 100%; height: 100%; object-fit: cover; }
.side-card .side-body { padding: 22px 22px 24px; }
.side-card .tag { display: inline-block; background: rgba(143,211,255,.14); color: var(--blue-light); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; border-radius: 999px; padding: 5px 11px; margin-bottom: 12px; }
.side-card h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.side-card .formula { font-size: 14px; font-weight: 700; color: var(--blue-light); margin: 0 0 10px; line-height: 1.45; }
.side-card p { font-size: 14.5px; margin: 0 0 18px; line-height: 1.55; }
.side-card .btn { width: 100%; padding: 16px 20px; font-size: 14px; }
.side-card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; color: #fff; }
.side-card li { display: flex; align-items: center; gap: 8px; }
.side-card li svg { color: #6ee7a0; flex: none; }
.side-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.side-list h4 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.side-list a { display: block; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.4; padding: 10px 0; border-top: 1px solid var(--line); }
.side-list a:first-of-type { border-top: 0; }
.side-list a:hover { color: var(--blue); }

/* ---------- Related / cards ---------- */
.related { background: var(--sky-2); border-top: 1px solid var(--line); padding: 72px 0 84px; }
.related h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-align: center; margin-bottom: 8px; }
.related .sub { text-align: center; margin: 0 auto 34px; max-width: 560px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b9d7ea; }
.card .pill { align-self: flex-start; display: inline-block; background: var(--sky); color: var(--blue-dark); font-weight: 800; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 5px 11px; margin-bottom: 14px; }
.card b { display: block; color: var(--ink); font-size: 17.5px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.card span.ex { display: block; font-size: 14.5px; line-height: 1.55; margin-top: 8px; flex: 1; }
.card .go { margin-top: 16px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }

/* ---------- Final CTA ---------- */
.final { padding: 0 0 96px; }
.final-card { background: var(--navy); border-radius: 28px; color: #cfe2f2; padding: clamp(36px, 6vw, 64px); text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.final-card::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(19,134,198,.35), transparent 70%); pointer-events: none; }
.final-card > * { position: relative; }
.final-card h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 900; margin-bottom: 12px; }
.final-card p { max-width: 560px; margin: 0 auto 26px; font-size: 1.08rem; }

/* ---------- Blog hub ---------- */
.hub-hero { text-align: center; padding: 64px 0 56px; }
.hub-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hub-hero .dek { margin-left: auto; margin-right: auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.chips a { text-decoration: none; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14.5px; border-radius: 999px; padding: 10px 18px; transition: background .2s, color .2s, border-color .2s; }
.chips a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.hub-section { padding: 64px 0 8px; scroll-margin-top: 80px; }
.hub-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-bottom: 26px; }
.hub-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.hub-head p { margin: 6px 0 0; max-width: 560px; }
.hub-head .btn { padding: 15px 24px; font-size: 13.5px; }

/* ---------- Footer (matches product pages) ---------- */
.site-footer { background: var(--navy); color: #a9bad0; padding: 64px 0 56px; font-size: 14px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .logo { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { text-decoration: none; color: #a9bad0; }
.site-footer a:hover { color: #fff; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.legit { display: flex; justify-content: center; padding: 32px 0; }
.legit a { background: #fff; border-radius: 14px; padding: 10px 18px; opacity: .92; }
.legit img { height: 52px; width: auto; }
.disclaimer { font-size: 11.5px; line-height: 1.7; color: #8195ad; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .g-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 48px; }
  .g-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .g-side .side-card { position: static; order: 0; }
  .g-side .side-card .side-img { display: grid; }
  .prose { max-width: none; }
}
@media (max-width: 860px) {
  .g-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .g-visual { max-width: 520px; }
  .g-chip { right: 10px; }
  .header nav .hide-sm { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .g-layout { padding: 40px 16px 64px; }
  .announce .hide-xs { display: none; }
  .g-hero { padding: 28px 0 52px; }
  .tldr, .inline-cta { padding: 22px 20px; }
  .strip ul { gap: 6px 18px; font-size: 12px; }
  .related { padding: 56px 0 64px; }
  .foot-cols { gap: 32px; }
}
