/* Zen Drops — kava guides (/<slug>/ pages, drawn by includes/landing.php).
   Hand-written, no framework: navy + clean white editorial layout, orange as the only accent. */

:root {
  --ink: #0b1324;
  --ink-2: #1e293b;
  --body: #3b4658;
  --muted: #6b7587;
  --line: #e6eaf0;
  --line-2: #d7dde6;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --navy: #0b1324;
  --navy-2: #111c33;
  --accent: #f97316;
  --accent-deep: #c2410c;
  --accent-soft: #fff4eb;
  --ok: #0f9d6b;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 19, 36, .06);
  --shadow: 0 1px 2px rgba(11, 19, 36, .05), 0 12px 32px -12px rgba(11, 19, 36, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 19, 36, .35);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Poppins', 'Inter', system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--body); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -.02em; }
.zg-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.zg-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------------------------------------------------------------- reading progress */
.zg-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.zg-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), #fb923c); }

/* ---------------------------------------------------------------- header */
.zg-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 19, 36, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07); }
.zg-header .zg-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.zg-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display);
  font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.zg-brand img { width: 30px; height: 30px; }
.zg-nav { display: flex; align-items: center; gap: 28px; }
.zg-nav a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s; }
.zg-nav a:hover, .zg-nav a[aria-current] { color: #fff; }
.zg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--accent); color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none;
  box-shadow: 0 8px 20px -8px rgba(249, 115, 22, .7); transition: background .2s, transform .2s, box-shadow .2s; }
.zg-btn:hover { background: #ea580c; transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(249, 115, 22, .8); }
.zg-btn svg { width: 16px; height: 16px; }
.zg-btn--ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255, 255, 255, .28); box-shadow: none; }
.zg-btn--ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.zg-nav .zg-btn { height: 40px; padding: 0 18px; font-size: 14px; }
.zg-nav__links { display: flex; gap: 28px; }
@media (max-width: 860px) { .zg-nav__links { display: none; } }

/* ---------------------------------------------------------------- hero */
.zg-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy);
  padding: 56px 0 128px; isolation: isolate; }
.zg-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: url('/images/myzen.webp') center 60% / cover no-repeat; opacity: .5; }
.zg-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(59, 130, 246, .20), transparent 60%),
    linear-gradient(180deg, rgba(11, 19, 36, .82) 0%, rgba(11, 19, 36, .9) 55%, var(--navy) 100%); }
.zg-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 980px) { .zg-hero__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); } }
.zg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none;
  font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.zg-crumbs a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.zg-crumbs a:hover { color: #fff; }
.zg-crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .3); }
.zg-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; font-weight: 600;
  letter-spacing: .02em; color: rgba(255, 255, 255, .88); }
.zg-eyebrow b { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--accent);
  color: #fff; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.zg-hero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.zg-dek { margin: 0 0 28px; max-width: 640px; font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.65; color: rgba(255, 255, 255, .78); }
.zg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 0; padding: 0; list-style: none;
  font-size: 14px; color: rgba(255, 255, 255, .7); }
.zg-meta li { display: inline-flex; align-items: center; gap: 8px; }
.zg-meta svg { width: 16px; height: 16px; color: #fdba74; }
.zg-hero__art { position: relative; display: none; justify-self: center; }
@media (min-width: 980px) { .zg-hero__art { display: block; } }
.zg-hero__art::before { content: ""; position: absolute; inset: 8% 4% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(147, 197, 253, .35), transparent 70%); filter: blur(20px); z-index: -1; }
.zg-hero__art img { width: 380px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }

/* ---------------------------------------------------------------- short answer (overlaps the hero) */
.zg-answer { position: relative; margin-top: -84px; z-index: 2; }
.zg-answer__card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start;
  max-width: 860px; padding: 28px 30px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); }
.zg-answer__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); }
.zg-answer__icon svg { width: 24px; height: 24px; }
.zg-answer__label { margin: 2px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.zg-answer p:last-child { margin: 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.7; color: var(--ink-2); }
@media (max-width: 600px) { .zg-answer__card { grid-template-columns: 1fr; padding: 22px; } }

/* ---------------------------------------------------------------- body layout */
.zg-body { padding-top: 56px; padding-bottom: 24px; }
.zg-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
@media (min-width: 1040px) { .zg-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; } }
.zg-article { max-width: 740px; min-width: 0; }

/* key takeaways */
.zg-takeaways { margin: 0 0 44px; padding: 26px 28px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.zg-takeaways h2 { margin: 0 0 14px; font-size: 15px; font-family: var(--sans); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.zg-takeaways ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.zg-takeaways li { position: relative; padding-left: 32px; color: var(--ink-2); line-height: 1.6; }
.zg-takeaways li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* article typography */
.zg-prose > h2 { position: relative; margin: 52px 0 16px; padding-top: 4px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 700; }
.zg-prose > h2:first-child { margin-top: 0; }
.zg-prose > h2 .zg-num { display: block; margin-bottom: 8px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.zg-prose h3 { margin: 28px 0 10px; font-size: 19px; font-weight: 600; }
.zg-prose p { margin: 0 0 18px; }
.zg-prose strong { color: var(--ink-2); font-weight: 600; }
.zg-prose a { color: var(--accent-deep); text-decoration: underline; text-decoration-color: rgba(194, 65, 12, .35); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: text-decoration-color .2s; }
.zg-prose a:hover { text-decoration-color: currentColor; }
.zg-prose sup { font-size: 11px; font-weight: 600; color: var(--accent-deep); margin-left: 1px; }
.zg-prose ul, .zg-prose ol { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.zg-prose ul li { position: relative; padding-left: 26px; }
.zg-prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.zg-prose ol { counter-reset: zg; }
.zg-prose ol li { position: relative; padding-left: 44px; counter-increment: zg; min-height: 28px; }
.zg-prose ol li::before { content: counter(zg); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; }

/* tables */
.zd-scroll { margin: 8px 0 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); background: var(--paper); }
.zd-scroll table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.zd-scroll th, .zd-scroll td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.zd-scroll thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: 13.5px; letter-spacing: .02em; border-bottom: 0; }
.zd-scroll tbody th { color: var(--ink); font-weight: 600; background: var(--soft); width: 22%; }
.zd-scroll tbody tr:last-child th, .zd-scroll tbody tr:last-child td { border-bottom: 0; }
.zd-scroll tbody tr:hover td { background: #fbfcfe; }

/* FAQ */
.zg-section-title { margin: 64px 0 20px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 700; }
.zg-faq { border-top: 1px solid var(--line); }
.zg-faq details { border-bottom: 1px solid var(--line); }
.zg-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 2px; cursor: pointer;
  list-style: none; font-family: var(--display); font-weight: 600; font-size: 17.5px; color: var(--ink); letter-spacing: -.01em; }
.zg-faq summary::-webkit-details-marker { display: none; }
.zg-faq summary:hover { color: var(--accent-deep); }
.zg-faq__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2);
  color: var(--ink); transition: transform .25s, background .2s, border-color .2s, color .2s; }
.zg-faq__icon svg { width: 14px; height: 14px; }
.zg-faq details[open] .zg-faq__icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.zg-faq__a { padding: 0 48px 22px 2px; }
.zg-faq__a p { margin: 0; }

/* product panel */
.zg-product { position: relative; overflow: hidden; margin: 64px 0 0; padding: 36px; border-radius: 24px; color: #fff; background: var(--navy);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; isolation: isolate; }
.zg-product::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 300px at 0% 100%, rgba(59, 130, 246, .22), transparent 60%),
              radial-gradient(500px 260px at 100% 0%, rgba(99, 102, 241, .16), transparent 60%); }
@media (min-width: 720px) { .zg-product { grid-template-columns: 220px minmax(0, 1fr); padding: 40px 44px; } }
.zg-product__img { justify-self: center; width: 220px; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .45)); }
.zg-product__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fdba74; }
.zg-product h2 { margin: 0 0 10px; color: #fff; font-size: 26px; line-height: 1.2; }
.zg-product p { margin: 0 0 18px; color: rgba(255, 255, 255, .74); font-size: 15.5px; line-height: 1.65; }
.zg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.zg-chips li { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.zg-chips svg { width: 14px; height: 14px; color: #6ee7b7; }
.zg-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 22px; }
.zg-price strong { font-family: var(--display); font-size: 34px; line-height: 1; color: #fff; letter-spacing: -.02em; }
.zg-price s { color: rgba(255, 255, 255, .45); font-size: 17px; }
.zg-price span { font-size: 13px; color: #fdba74; font-weight: 600; }
.zg-product__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* sources + disclaimer */
.zg-sources { margin: 56px 0 0; padding: 24px 26px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.zg-sources h2 { margin: 0 0 12px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.zg-sources ol { margin: 0; padding-left: 20px; font-size: 14.5px; line-height: 1.6; }
.zg-sources li { margin: 6px 0; padding-left: 4px; }
.zg-sources li::marker { color: var(--accent-deep); font-weight: 700; }
.zg-sources a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.zg-sources a:hover { color: var(--accent-deep); }
.zg-disclaimer { display: flex; gap: 12px; margin: 22px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.zg-disclaimer svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #94a3b8; }

/* sidebar */
.zg-aside { display: none; }
@media (min-width: 1040px) { .zg-aside { display: block; } }
.zg-aside__inner { position: sticky; top: 100px; display: grid; gap: 22px; }
.zg-toc { padding: 22px 22px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); }
.zg-toc h2 { margin: 0 0 12px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.zg-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.zg-toc a { display: block; margin-left: -2px; padding: 7px 0 7px 14px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4;
  color: var(--body); text-decoration: none; transition: color .2s, border-color .2s; }
.zg-toc a:hover { color: var(--ink); }
.zg-toc a.is-active { color: var(--accent-deep); border-left-color: var(--accent); font-weight: 600; }
.zg-mini { padding: 22px; border-radius: 16px; background: var(--navy); color: #fff; text-align: center; box-shadow: var(--shadow); }
.zg-mini img { width: 150px; margin: 0 auto 12px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .4)); }
.zg-mini p { margin: 0 0 4px; font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.35; }
.zg-mini small { display: block; margin-bottom: 16px; color: rgba(255, 255, 255, .65); font-size: 13px; }
.zg-mini .zg-btn { width: 100%; }

/* in-article table of contents for small screens */
.zg-toc--inline { margin: 0 0 40px; }
@media (min-width: 1040px) { .zg-toc--inline { display: none; } }

/* related guides */
.zg-related { padding: 72px 0 88px; background: var(--soft); border-top: 1px solid var(--line); margin-top: 72px; }
.zg-related__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.zg-related__head h2 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.zg-related__head p { margin: 0; color: var(--muted); }
.zg-cards { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .zg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .zg-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.zg-card { display: flex; flex-direction: column; padding: 24px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.zg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #fed7aa; }
.zg-card__tag { margin-bottom: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.zg-card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.zg-card p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.zg-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.zg-card__more svg { width: 16px; height: 16px; transition: transform .25s; }
.zg-card:hover .zg-card__more svg { transform: translateX(3px); }

/* footer */
.zg-footer { background: var(--navy); color: rgba(255, 255, 255, .62); font-size: 14.5px; }
.zg-footer__top { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); padding: 64px 0 44px; }
@media (min-width: 820px) { .zg-footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.zg-footer h2 { margin: 0 0 14px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.zg-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.zg-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s; }
.zg-footer a:hover { color: #fff; }
.zg-footer address { font-style: normal; display: grid; gap: 8px; }
.zg-footer .zg-brand { color: #fff; }
.zg-footer__brand p { max-width: 360px; margin: 14px 0 0; line-height: 1.7; }
.zg-footer__bottom { padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .45); }

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .zg-hero { padding: 36px 0 112px; }
  .zg-body { padding-top: 40px; }
  .zg-product { padding: 28px 22px; }
  .zg-faq__a { padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .zg-header, .zg-progress, .zg-aside, .zg-related, .zg-product, .zg-toc--inline { display: none !important; }
  .zg-hero { color: #000; background: none; padding: 0; }
  .zg-hero::before, .zg-hero::after { display: none; }
  .zg-hero h1, .zg-dek, .zg-meta, .zg-crumbs { color: #000; }
}
