/* Bible Studio website — palette matches the app (Theme.swift) */
:root {
  --burgundy: #5c1721;
  --ruby: #a8212b;
  --amber: #e09438;
  --teal: #1c5c63;
  --ink: #1a1714;
  --paper: #f7f2e6;
  --paper-2: #efe7d6;
  --muted: #6b645a;
  --line: rgba(26, 23, 20, 0.12);
  --max: 820px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
}
a { color: var(--teal); }
a:hover { color: var(--burgundy); }

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--amber) 55%, var(--teal) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.site-header::before, .site-header::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none;
}
.site-header::before { width: 420px; height: 260px; background: var(--amber); left: -80px; top: -60px; }
.site-header::after  { width: 380px; height: 260px; background: var(--teal); right: -60px; bottom: -80px; }
.nav {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 600; letter-spacing: 3px; font-size: 15px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.nav-links a { color: rgba(255,255,255,.85); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.hero {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto; padding: 56px 20px 72px; text-align: center;
}
.hero .orb {
  width: 130px; height: 130px; margin: 0 auto 26px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff 0%, #fff 22%, rgba(224,148,56,.95) 60%, rgba(92,23,33,.35) 100%);
  box-shadow: 0 0 60px 20px rgba(255, 220, 160, .35);
  animation: pulse 2.6s ease-in-out infinite alternate;
}
@keyframes pulse { from { transform: scale(1); filter: blur(0); } to { transform: scale(1.06); filter: blur(1px); } }
@media (prefers-reduced-motion: reduce) { .hero .orb { animation: none; } }
.hero h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: 4px; font-weight: 600; margin: 0 0 10px; }
.hero p.tag { font-size: 20px; margin: 0 0 30px; opacity: .9; }
.btn {
  display: inline-block; background: #fff; color: var(--burgundy); text-decoration: none; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; font-size: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.btn:hover { color: var(--ruby); transform: translateY(-1px); }
.btn.secondary { background: rgba(255,255,255,.18); color: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,.5); margin-left: 8px; }
.hero small { display: block; margin-top: 16px; opacity: .75; font-size: 14px; }

/* Page body */
main { max-width: var(--max); margin: 0 auto; padding: 40px 20px 60px; }
main.doc h1 { font-size: 38px; margin: 0 0 6px; letter-spacing: 1px; }
main.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
main h2 { font-size: 24px; margin: 40px 0 10px; color: var(--burgundy); }
main h3 { font-size: 19px; margin: 24px 0 6px; }
main p, main li { font-size: 17px; }
main ul { padding-left: 22px; }
.lede { font-size: 20px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 10px 0 0; padding: 0; list-style: none; }
.features li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 16px; }
.features h3 { margin: 0 0 6px; color: var(--teal); font-size: 18px; }
.features p { margin: 0; font-size: 16px; color: #3b352e; }
.notice { background: var(--paper-2); border-left: 4px solid var(--amber); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 24px 0; font-size: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin: 18px 0; }
.contact-card p { margin: 6px 0; }
details { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; }
details p { margin: 10px 0 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .inner { max-width: var(--max); margin: 0 auto; padding: 24px 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.site-footer a { color: var(--muted); margin-right: 14px; }
