@import url("https://fonts.googleapis.com/css2?family=Geist:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&display=swap");
 
/* Always cream and light, regardless of the device's dark-mode setting. */
:root {
  color-scheme: light;
  --bg: #FAF7F2;
  --card: #FFFFFF;
  --line: #E6DFD3;
  --text: #3a3c3d;
  --muted: #5B6577;
  --accent: #2F4BA8;
  --accent-fg: #FFFFFF;
  --accent-text: #2F4BA8;
  --accent-soft: #DCE4FA;
  --feature-bg: white;
  --feature-fg: #3a3c3d;
  --ink: #1E2A3A;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1, h2, h3, h4, h5, h6, .display { font-family: 'Outfit', system-ui, sans-serif; font-weight: 700; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
 
/* nav */
header { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.logo i { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); }
.logo img { height: 34px; width: auto; display: block; }
.foot-logo { height: 26px; width: auto; display: block; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pill { height: 44px; padding: 0 18px; border-radius: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; border: 2px solid transparent; background: transparent; color: var(--text); }
.pill:hover { background: var(--line); }
.pill.active { background: var(--accent); color: var(--accent-fg); font-weight: 700; }
.pill.outline { border-color: var(--text); font-weight: 700; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; }


.version select {
  height: 44px; max-width: 220px; padding: 0 14px; border-radius: 22px;
  border: 2px solid var(--line); background: var(--card); color: var(--text);
  font: 700 14px 'Geist', system-ui, sans-serif; cursor: pointer; text-overflow: ellipsis;
}
.version select:hover { border-color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* home */
.hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 24px; }
.hero h1 { margin: 0; font-size: clamp(34px, 5.5vw, 56px); line-height: 1.1; max-width: 700px; }
.hero p { margin: 14px 0 0; font-size: 18px; color: var(--muted); max-width: 540px; }
.surprise { height: 52px; padding: 0 26px; border: 0; border-radius: 26px; background: var(--accent); color: var(--accent-fg); font-size: 17px; font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.surprise:hover { filter: brightness(1.08); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.tile { min-height: 190px; padding: 22px; border-radius: 22px; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }
.tile .name { font-size: 26px; }
.tile .tag { font-size: 15px; margin-top: 2px; }
.votd { margin: 24px auto; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); color: var(--feature-fg); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.votd .label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; opacity: .8; }
.votd .text { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 500; font-size: 28px; line-height: 1.35; margin-top: 10px; max-width: 720px; }
.votd .ref { font-size: 14px; margin-top: 10px; opacity: .8; }
.votd-actions { display: flex; gap: 8px; }
.votd .ref a { text-decoration: underline; text-underline-offset: 3px; }
.hero-note {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 6px 14px; border-radius: 18px;
  color: var(--muted);
  font-size: 14px; font-weight: 700;
}
 
/* mood page */
.layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; padding-top: 32px; padding-bottom: 32px; }
.side { flex: 1 1 220px; max-width: 280px; display: flex; flex-direction: column; gap: 4px; }
.side .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); padding: 0 14px 8px; }
.side a { height: 44px; padding: 0 14px; border-radius: 22px; display: flex; align-items: center; gap: 12px; font-size: 15px; }
.side a:hover { background: var(--line); }
.side a i { width: 14px; height: 14px; border-radius: 50%; }
.side a.current { color: var(--ink); font-weight: 700; }
.side a.current i { background: var(--ink) !important; }
.main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.back { align-self: flex-start; height: 44px; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.back svg { stroke: currentColor; }
.banner { padding: 32px; border-radius: 26px; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.banner .who { display: flex; align-items: center; gap: 20px; }
.banner h1 { margin: 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.banner .tagline { font-size: 18px; margin-top: 4px; }
.banner .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.count { padding: 8px 16px; border-radius: 18px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.translation { height: 40px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 20px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 700; }
.verses { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.verse { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); display: flex; flex-direction: column; gap: 14px; }
.verse .ref { font-size: 18px; color: var(--accent-text); }
.verse .body { font-size: 20px; line-height: 1.5; }
.verse .actions { margin-top: auto; padding-top: 6px; display: flex; gap: 8px; }
.btn { height: 44px; padding: 0 16px; border-radius: 22px; border: 2px solid var(--line); background: transparent; color: var(--text); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.btn:hover { border-color: var(--text); }
.btn.primary { border-color: var(--accent); background: var(--accent); color: var(--accent-fg); }
.btn.saved { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-text); }
.btn.dark-outline { color: var(--feature-fg); border-color: var(--feature-fg); }
.btn.dark-fill { background: var(--feature-fg); color: var(--feature-bg); border-color: var(--feature-fg); }
.empty { padding: 32px; border: 2px dashed var(--line); border-radius: 22px; color: var(--muted); font-size: 18px; grid-column: 1 / -1; }
 
/* footer */
footer { margin-top: auto; border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 32px 24px; }
.foot span { font-size: 14px; color: var(--muted); }
[hidden] { display: none !important; }

/* about page */
.about { padding-top: 56px; padding-bottom: 80px; }
.about .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); }
.about-hero h1 { margin: 8px 0 16px; font-size: clamp(34px, 5.5vw, 56px); line-height: 1.1; max-width: 700px; }
.about-hero .lead { margin: 0; font-size: 18px; color: var(--muted); max-width: 540px; }

.about-faces { display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0; }
.about-face {
  width: 64px; height: 64px; border-radius: 22px;
  display: grid; place-items: center;
  transition: transform .15s, box-shadow .15s;
}
.about-face:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }

.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-bottom: 40px; }
.about-card { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.about-card h2 { margin: 0 0 8px; font-size: 22px; }
.about-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.foot a:hover { color: var(--text); text-decoration: underline; }