/* Dosage Guide page (/dosage-guide/). Bone surface, obsidian ink, strength colour ramp. */
.cst-dg { --bone: #F8F5F0; --line: #EAE5DD; --ink: #11121B; --muted: #4A4741; --l1: #E0A030; --l2: #E8793A; --l3: #E0408F; --l4: #8B5CF6; --l5: #5B21B6; background: var(--bone); color: var(--ink); font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif; padding: 0 clamp(16px, 3vw, 48px) clamp(48px, 6vw, 96px); }
.cst-dg > * { max-width: 88rem; margin-left: auto; margin-right: auto; }
.cst-dg h1, .cst-dg h2, .cst-dg h3 { color: var(--ink); text-transform: none; letter-spacing: -0.02em; }
.cst-dg p, .cst-dg li, .cst-dg td, .cst-dg th { color: var(--ink); }
.cst-dg a { color: var(--ink); }
.cst-dg__crumbs { padding: 20px 0 4px; font-size: 13px; color: var(--muted); }
.cst-dg__crumbs a { color: var(--muted); text-decoration: none; }
.cst-dg__hero { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px) 0 clamp(32px, 5vw, 64px); }
.cst-dg__eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.cst-dg__title { margin: 0 0 16px; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; line-height: 1; }
.cst-dg__lead { margin: 0 0 24px; max-width: 38rem; font-size: clamp(1rem, 1.4vw, 1.1875rem); line-height: 1.65; color: var(--muted); }
.cst-dg__jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cst-dg__jump a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; text-decoration: none; }
.cst-dg__hero-img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); display: block; }
.cst-dg__section { padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.cst-dg__section h2 { margin: 0 0 10px; font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.1; }
.cst-dg__sub { margin: 0 0 24px; max-width: 44rem; font-size: 1rem; line-height: 1.65; color: var(--muted); }
.cst-dg__fine { margin: 16px 0 0; font-size: 0.8125rem; line-height: 1.6; color: var(--muted); }
/* Dose finder */
.cst-dgf { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 22px; }
.cst-dgf__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.cst-dgf__group legend { padding: 0; margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cst-dgf__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cst-dgf__opts label { position: relative; display: block; cursor: pointer; }
.cst-dgf__opts input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cst-dgf__opts span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bone); font-size: 0.9375rem; font-weight: 600; text-align: center; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.cst-dgf__opts input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.cst-dgf__opts input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.cst-dgf__tier em { font-style: normal; font-size: 0.75rem; font-weight: 500; opacity: .75; }
.cst-dgf__tier span { border-top: 3px solid var(--tc, var(--line)); }
.cst-dgf__tier[data-level="1"] { --tc: var(--l1); } .cst-dgf__tier[data-level="2"] { --tc: var(--l2); } .cst-dgf__tier[data-level="3"] { --tc: var(--l3); } .cst-dgf__tier[data-level="4"] { --tc: var(--l4); } .cst-dgf__tier[data-level="5"] { --tc: var(--l5); }
.cst-dgf__tier input:checked + span { background: var(--tc); border-color: var(--tc); }
.cst-dgf__result { padding: 22px; border-radius: 16px; background: var(--bone); border: 1px solid var(--line); }
.cst-dgf__label { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cst-dgf__amount { margin: 0 0 8px; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.cst-dgf__detail, .cst-dgf__note { margin: 0 0 6px; font-size: 0.9375rem; line-height: 1.6; color: var(--muted); }
.cst-dgf__fine { margin: 0; font-size: 0.75rem; line-height: 1.6; color: var(--muted); }
@media (min-width: 700px) { .cst-dgf__opts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cst-dgf__group:nth-of-type(2) .cst-dgf__opts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cst-dgf__opts--tiers { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
@media (min-width: 900px) { .cst-dg__hero { grid-template-columns: 1.05fr 0.95fr; } }
/* Chart table */
.cst-dg__tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.cst-dg__table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9375rem; }
.cst-dg__table th, .cst-dg__table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.55; }
.cst-dg__table thead th { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); background: var(--bone); }
.cst-dg__table tbody tr:last-child th, .cst-dg__table tbody tr:last-child td { border-bottom: 0; }
.cst-dg__table tbody th { white-space: nowrap; font-weight: 700; }
.cst-dg__dose { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cst-dg__dot { display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--c, var(--ink)); }
.cst-dg__table tr[data-level="1"] { --c: var(--l1); } .cst-dg__table tr[data-level="2"] { --c: var(--l2); } .cst-dg__table tr[data-level="3"] { --c: var(--l3); } .cst-dg__table tr[data-level="4"] { --c: var(--l4); } .cst-dg__table tr[data-level="5"] { --c: var(--l5); }
.cst-dg__table tr .cst-dg__dose { color: var(--c); }
/* Edibles split */
.cst-dg__split { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.cst-dg__steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.cst-dg__steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 58px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 0.9375rem; line-height: 1.6; }
.cst-dg__steps li::before { content: counter(s); position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.cst-dg__split-media { display: grid; gap: 14px; }
.cst-dg-photo { width: 100%; height: auto; display: block; border-radius: 16px; border: 1px solid var(--line); }
/* Cards */
.cst-dg__cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.cst-dg__card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.cst-dg__card h3 { margin: 0 0 8px; font-size: 1.0625rem; font-weight: 700; }
.cst-dg__card p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--muted); }
.cst-dg__safe .cst-dg__card { border-left: 4px solid var(--l3); }
/* Timeline */
.cst-dg__timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.cst-dg__timeline li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.55; }
.cst-dg__timeline li:last-child { border-bottom: 0; }
.cst-dg__time { font-weight: 700; color: var(--l4); }
/* FAQ */
.cst-dg__faq { display: grid; gap: 10px; max-width: 56rem; }
.cst-dg__q { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.cst-dg__q summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.cst-dg__q summary::-webkit-details-marker { display: none; }
.cst-dg__q summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.375rem; font-weight: 500; }
.cst-dg__q[open] summary::after { content: "\2212"; }
.cst-dg__q summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 14px; }
.cst-dg__q p { margin: 0; padding: 0 20px 20px; font-size: 0.9375rem; line-height: 1.7; color: var(--muted); }
/* CTA links */
.cst-dg__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cst-dg__links a { display: inline-block; padding: 13px 22px; border-radius: 999px; background: var(--ink); color: #fff !important; font-size: 0.875rem; font-weight: 700; text-decoration: none; }
.cst-dg__fine a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 700px) { .cst-dg__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cst-dg__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cst-dg__cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cst-dg__split { grid-template-columns: 1.1fr 0.9fr; } }
@media (max-width: 599px) { .cst-dg__timeline li { grid-template-columns: 1fr; gap: 2px; } }
@media (hover: hover) and (pointer: fine) {
  .cst-dg__jump a { transition: background .15s ease, color .15s ease, border-color .15s ease; }
  .cst-dg__jump a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
  .cst-dgf__opts label:hover span { border-color: var(--ink); }
  .cst-dg__card, .cst-dg__q { transition: border-color .15s ease, box-shadow .15s ease; }
  .cst-dg__card:hover, .cst-dg__q:hover { border-color: var(--ink); box-shadow: 0 8px 20px rgba(17, 18, 27, 0.06); }
  .cst-dg__links a:hover { background: #2A2C3D; }
}
@media (prefers-reduced-motion: reduce) { .cst-dg * { transition: none !important; } }
