/* Go Beyond Wellness site styles. Same-origin only (CSP style-src 'self').
   No external fonts, no url() to other hosts, no CSS imports. Accent color comes from
   /assets/accent-<hex>.css, generated per page by build.py. */
:root {
  --accent: #c8a45a;
  --accent-ink: #0b0c0e;
  --bg: #0b0c0e;
  --panel: #15171b;
  --line: #262a31;
  --text: #f1f0ec;
  --muted: #a3a6ad;
  --radius: 14px;
  --max: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.mt0 { margin-top: 0; }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { font-weight: 700; letter-spacing: 0.02em; font-size: 15px; text-transform: uppercase; }
.cobrand { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.cobrand .x { opacity: 0.6; }
.cobrand img { height: 32px; width: auto; max-width: 140px; object-fit: contain; }
.cobrand .pname { color: var(--text); font-weight: 600; }

.hero { padding-top: 48px; padding-bottom: 32px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(30px, 7vw, 46px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 24px; line-height: 1.2; margin: 0 0 12px; }
.lede { color: var(--muted); font-size: 18px; margin: 0 0 24px; }

.btn {
  display: inline-block; width: 100%; text-align: center;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 17px; text-decoration: none;
  padding: 16px 20px; border-radius: 999px; border: 0; cursor: pointer;
}
.btn:focus-visible, .opt input:focus-visible + span { outline: 3px solid var(--text); outline-offset: 3px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.small { width: auto; min-width: 0; padding: 8px 14px; font-size: 14px; }
@media (min-width: 600px) { .btn { width: auto; min-width: 260px; } }

section { padding: 32px 0; border-top: 1px solid var(--line); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }

ol.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ol.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
ol.steps .n {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--accent);
  color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
ol.steps strong { display: block; }
ol.steps span.d { color: var(--muted); font-size: 15px; }

.plans { display: grid; gap: 12px; margin: 16px 0; }
@media (min-width: 600px) { .plans { grid-template-columns: 1fr 1fr; } }
.plans.three { grid-template-columns: 1fr; }
@media (min-width: 600px) { .plans.three { grid-template-columns: 1fr 1fr 1fr; } }
.plan h3 { margin: 0 0 6px; font-size: 19px; }
.plan p { margin: 0; color: var(--muted); font-size: 15px; }
.plan .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.fine { color: var(--muted); font-size: 14px; }

.code {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  border: 1px dashed var(--accent); border-radius: var(--radius); padding: 16px 18px; margin: 16px 0;
}
.code .c { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 22px; font-weight: 700; letter-spacing: 0.06em; }
.code .how { color: var(--muted); font-size: 15px; }
.code.secondary { border-style: dotted; padding: 10px 14px; }
.code.secondary .c { font-size: 17px; }

/* Quiz: hidden unless /assets/quiz.js has run (it adds the "js" class). */
.quiz-section { display: none; }
.js .quiz-section { display: block; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
legend { font-weight: 700; font-size: 18px; margin-bottom: 10px; padding: 0; }
.qcount { color: var(--muted); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.opts { display: grid; gap: 10px; }
@media (min-width: 600px) { .opts { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span {
  display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); font-weight: 600;
}
.opt span small { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }
.opt input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.privacy { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.js .q { display: none; }
.js .q.active { display: block; }
.qnav { display: flex; gap: 10px; flex-wrap: wrap; }
.qnav .btn { width: auto; min-width: 0; padding: 12px 18px; font-size: 15px; }
[hidden] { display: none !important; }
#result h3 { margin: 0 0 8px; font-size: 20px; }
#result p { margin: 0 0 10px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.notice { margin: 0; padding: 8px 0; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.notice .wrap { display: block; }

/* /learn pages */
.eyebrow a.crumb { color: var(--accent); text-decoration: none; }
.prose { padding: 0 0 32px; }
.prose h2 { margin: 32px 0 12px; }
.prose h3 { font-size: 19px; margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { overflow-wrap: anywhere; }
.prose a.cite { text-decoration: none; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--panel); }
.sources li { font-size: 14px; color: var(--muted); }
.sources .src-tag { color: var(--text); font-weight: 600; }
ul.guides { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.guides li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
ul.guides a { font-weight: 700; font-size: 18px; text-decoration: none; }
ul.guides p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
footer nav { display: flex; gap: 16px; }
