/* Prabhupada Notes site. vedabase palette; no external fonts, scripts, or trackers. */

:root {
  --page: #f3d4a5;        /* vedabase body */
  --band: #eebd89;        /* vedabase header bottom */
  --head: #da9d5b;        /* vedabase header top */
  --card: #fff8ea;
  --ink: #241a0e;
  --muted: #6b5a43;
  --rule: #e2c595;
  --accent: #a16207;      /* vedabase dark */
  --accent-ink: #ffffff;
  --link: #9a1a1a;
  --mark: rgba(234, 179, 8, 0.35);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #041b0f;      /* vedabase dark theme */
    --band: #0a2a1b;
    --head: #0c4431;
    --card: #0b2418;
    --ink: #e9e3cf;
    --muted: #a9b38a;
    --rule: #1d3d2c;
    --accent: #9db754;
    --accent-ink: #041b0f;
    --link: #c9c06a;
    --mark: rgba(250, 204, 21, 0.22);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: "Noto Serif", Georgia, "Times New Roman", serif; line-height: 1.25; letter-spacing: -0.01em; }
h2 { font-size: 1.45rem; margin: 2.2rem 0 0.6rem; }
h3 { font-size: 1.1rem; margin: 1.6rem 0 0.4rem; }
p, ul, ol { margin: 0 0 1rem; }
li + li { margin-top: 0.35rem; }
mark { background: var(--mark); color: inherit; padding: 0 2px; border-radius: 2px; text-decoration: underline 2px var(--accent); text-underline-offset: 4px; }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--card); border: 1px solid var(--rule); border-radius: 5px; padding: 1px 5px; }

.wrap { max-width: 760px; margin: 0 auto; padding-inline: 20px; }

/* header */
.site-head { background: var(--head); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.site-head nav { display: flex; gap: 18px; font-size: 0.95rem; }
.site-head nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-head nav a:hover, .site-head nav a[aria-current="page"] { text-decoration: underline; }
/* Keep labels whole; on phones the menu moves under the name instead of squeezing it. */
.brand, .site-head nav a { white-space: nowrap; }
@media (max-width: 480px) {
  .site-head .wrap { flex-wrap: wrap; row-gap: 8px; }
  .site-head nav { gap: 16px; }
}
.band { background: var(--band); height: 10px; }

/* hero */
.hero { text-align: center; padding-block: 56px 28px; }
.hero img { width: 96px; height: 96px; }
.hero h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin: 18px 0 8px; }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin: 0 auto 26px; }
.cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.cta-note { display: block; margin-top: 10px; font-size: 0.9rem; color: var(--muted); }

/* sections */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 8px 0 12px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 18px 18px 6px; }
.card h3 { margin-top: 0; }
.steps { padding-left: 1.3rem; }
.books { columns: 2 220px; padding-left: 1.2rem; }
.callout { background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 18px; margin: 18px 0; }
.callout p:last-child { margin-bottom: 0; }

/* policy */
.doc { padding-block: 36px 24px; }
.doc h1 { font-size: 2.1rem; margin: 0 0 4px; }
.doc .updated { color: var(--muted); margin-bottom: 22px; }
.doc table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--rule); }
.doc th { font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* footer */
.site-foot { border-top: 1px solid var(--rule); margin-top: 40px; padding-block: 22px 40px; font-size: 0.9rem; color: var(--muted); }
.site-foot p { margin: 0 0 6px; }
