/* Bodhika web: dark, saffron accent. Layout idea: one centred column over the sun-and-flag backdrop. */
:root {
  --bg: #0a0a0f;
  --card: #15151d;
  --line: #2a2a36;
  --text: #f5f1ea;
  --muted: #8b8b99;
  --saffron: #ff9933;
  --gold: #f5c542;
  --display: 'Fraunces', Georgia, serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); color-scheme: dark; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}
a { color: var(--saffron); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.backdrop svg { width: 100%; height: 100%; }
.glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 30% at 50% -5%, rgba(255, 153, 51, 0.2), transparent);
}
main, header, footer { position: relative; z-index: 1; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }

header .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.eyebrow { font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); }
nav { display: flex; gap: 20px; font-size: 14px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); }

h1 { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 9vw, 84px); line-height: 1.02; text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 600; font-size: 28px; margin-bottom: 14px; text-wrap: balance; }
h3 { font-size: 17px; margin-bottom: 4px; }
.lead { color: var(--muted); font-size: 19px; max-width: 560px; margin-top: 18px; }
.hero { padding: 56px 0 40px; }

.btn {
  display: inline-block; background: var(--saffron); color: #1a1000; font-weight: 600;
  padding: 15px 28px; border-radius: 12px; text-decoration: none; font-size: 17px;
}
.btn:hover { filter: brightness(1.08); }
.btn.disabled { background: var(--card); color: var(--muted); border: 1px solid var(--line); pointer-events: none; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.download { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.meta { color: var(--muted); font-size: 14px; }
.meta code { font-size: 12px; word-break: break-all; }

section { padding: 36px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid p { color: var(--muted); font-size: 15px; }
.edge { border-left: 5px solid var(--edge, var(--saffron)); }
ol { padding-left: 22px; color: var(--muted); }
ol li { margin-bottom: 8px; }
ol strong { color: var(--text); }

.quote { border-left: 3px solid var(--saffron); padding-left: 14px; margin-top: 8px; }
.quote em { font-size: 18px; }
.quote span { display: block; color: var(--muted); font-size: 14px; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 13px; }
footer .wrap > * + * { margin-top: 6px; }

/* Legal pages */
.doc { padding: 24px 0 40px; }
.doc h2 { font-size: 20px; color: var(--saffron); margin: 28px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc .muted { color: var(--muted); }
