/* ══════════════════════════════════════════════════════════
   1 — DESIGN TOKENS
══════════════════════════════════════════════════════════ */
:root {
  --navy:       #1E3A5F;
  --navy-deep:  #142B47;
  --navy-mid:   #2E5F8A;
  --navy-light: rgba(30,58,95,0.06);
  --gold:       #B8893C;
  --gold-dark:  #8a6428;
  --gold-light: #D4A85A;
  --gold-pale:  #F0D898;
  --gold-tint:  #FBF5E8;
  --parchment:  #F5EDD8;
  --cream:      #F9F6F0;
  --ink:        #4A4640;
  --ink-light:  #7A7470;
  --border:     #E0D8CC;
  --white:      #FFFFFF;
  --ff-serif:   'Cormorant Garamond', Georgia, serif;
  --ff-sans:    'DM Sans', system-ui, sans-serif;
}

/* ══════════════════════════════════════════════════════════
   2 — RESET & BASE
══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; scroll-behavior: smooth; }
html {
  font-size: 18px;
}

body {
  font-family: var(--ff-sans);
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════════════════════
   3 — ANIMATIONS
   Usage: add .anim-up or .anim-down + a delay class (.d1–.d10)
══════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.anim-up   { animation: fadeUp   0.9s cubic-bezier(0,.6,.4,1) both; }
.anim-down { animation: fadeDown 0.9s cubic-bezier(0,.6,.4,1) both; }

.d1  { animation-delay: 0.1s; }
.d2  { animation-delay: 0.2s; }
.d3  { animation-delay: 0.3s; }
.d4  { animation-delay: 0.4s; }
.d5  { animation-delay: 0.5s; }
.d6  { animation-delay: 0.6s; }
.d7  { animation-delay: 0.7s; }
.d8  { animation-delay: 0.8s; }
.d9  { animation-delay: 0.9s; }
.d10 { animation-delay: 1.0s; }

/* ══════════════════════════════════════════════════════════
   4 — TYPOGRAPHY UTILITIES
   Reusable label styles across all pages
══════════════════════════════════════════════════════════ */
.label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.label-sm    { font-size: 9px; letter-spacing: 0.14em; }
.label-gold  { color: var(--gold); }
.label-light { color: var(--gold-light); }
.label-muted { color: var(--ink-light); }
.label-faint { color: rgba(30,58,95,0.35); font-family: var(--ff-serif); }

/* ══════════════════════════════════════════════════════════
   5 — LAYOUT UTILITIES
══════════════════════════════════════════════════════════ */

/* Horizontal rule with centre dot — use .rule > .rule-dot */
.rule {
  display: flex;
  align-items: center;
  gap: 16px;
}
.rule::before, .rule::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--border);
}
.rule-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   6 — COMPONENT LIBRARY
   Reusable components referenced by multiple pages
══════════════════════════════════════════════════════════ */

/* ── BUTTON ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--ff-sans);
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn:active     { transform: scale(0.97); }
.btn-navy       { background: var(--navy); color: var(--parchment); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-gold       { background: var(--gold); color: var(--parchment); }
.btn-gold:hover { background: var(--gold-light); }
.btn-full       { width: 100%; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--navy);
}
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--parchment); }
.btn-ghost {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--parchment);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* ── PILL NAV LINK ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0.5px solid rgba(184,137,60,0.4);
  border-radius: 40px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(184,137,60,0.06);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.pill:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.pill:hover::before, .pill:hover::after { background: rgba(255,255,255,0.4); }
.pill::before, .pill::after {
  content: '';
  width: 20px;
  height: 0.5px;
  background: rgba(184,137,60,0.4);
}

/* ── SOCIAL LINK ── */
.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-light);
  text-decoration: none;
  font-size: 14px;
  transition: border-color 0.15s, color 0.15s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* ── LOGO ORB ── */
.logo-orb {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(30,58,95,0.05);
  border: 0.5px solid rgba(184,137,60,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  animation: orbFloat 6s ease-in-out infinite;
}
.logo-orb::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 0.5px solid rgba(184,137,60,0.12);
}
.logo-orb::after {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 0.5px solid rgba(184,137,60,0.06);
}

/* ── LOGO DOMAIN TEXT ── */
.logo-domain {
  font-family: var(--ff-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(30,58,95,0.45);
}

/* ── VERSE ── */
.verse-text {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(17px, 2.5vw, 22px);
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 10px;
}
.verse-ref {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════
   7 — PAGE LAYOUT
══════════════════════════════════════════════════════════ */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 80px;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════
   8 — HOMEPAGE COMPONENTS
   Animation baked in at defined delays for entry sequence.
══════════════════════════════════════════════════════════ */
.logo-wrap {
  margin-bottom: 36px;
  animation: fadeDown 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.1s;
}

.eyebrow {
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  animation: fadeUp 0.8s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.25s;
}

.headline {
  font-family: var(--ff-serif);
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.35s;
}
.headline em { font-style: italic; color: var(--gold-light); }

.subheadline {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(18px, 3vw, 26px);
  color: var(--ink-light);
  margin-bottom: 48px;
  font-weight: 400;
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.45s;
}

.pills-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.5s;
}

.pills-group {
  text-align: center;
}
.pills-group .pills-row {
  margin-bottom: 8px;
  animation: none;
}
.pills-group + .pills-group {
  margin-bottom: 40px;
}
.pills-group-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.pills-group-label--soon {
  color: var(--ink-light);
  margin-top: 10px;
}
.pill-soon {
  opacity: 0.45;
}

.coming-block {
  margin-bottom: 56px;
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.55s;
}
.coming-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 8px;
}
.coming-date {
  font-family: var(--ff-serif);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1;
}
.coming-date span { color: var(--gold-light); }

.countdown {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.65s;
}
.count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 64px;
}
.count-num {
  font-family: var(--ff-serif);
  font-size: 44px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  min-width: 2ch;
  text-align: center;
  transition: all 0.3s;
}
.count-sep {
  font-family: var(--ff-serif);
  font-size: 36px;
  font-weight: 300;
  color: rgba(184,137,60,0.5);
  align-self: flex-start;
  margin-top: 4px;
  line-height: 1.1;
}
.count-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.notify-block {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 56px;
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.75s;
}
.notify-label {
  font-size: 18px;
  color: var(--ink-light);
  margin-bottom: 14px;
  line-height: 1.5;
}
.notify-form  { display: flex; gap: 8px; }
.notify-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 18px;
  font-family: var(--ff-sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.notify-input::placeholder { color: var(--ink-light); opacity: 0.6; }
.notify-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,137,60,0.1);
}
.notify-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(39,80,10,0.08);
  border: 1px solid rgba(97,170,30,0.25);
  border-radius: 8px;
  font-size: 16px;
  color: #3A7A1A;
}
.notify-privacy {
  font-size: 14px;
  color: var(--ink-light);
  opacity: 0.6;
  margin-top: 10px;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  margin: 0 auto 64px;
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.85s;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  border-color: rgba(184,137,60,0.3);
  box-shadow: 0 2px 12px rgba(30,58,95,0.06);
}
.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(184,137,60,0.1);
  border: 0.5px solid rgba(184,137,60,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.feature-title {
  font-family: var(--ff-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.2;
}
.feature-desc { font-size: 16px; color: var(--ink-light); line-height: 1.55; }

.verse-block {
  max-width: 680px;
  margin: 0 auto 56px;
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.95s;
}
.verse-block .rule { margin-bottom: 20px; }

.splash-footer {
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 1.05s;
}
.footer-social { display: flex; gap: 16px; justify-content: center; margin-bottom: 16px; }
.footer-domain { font-size: 15px; color: var(--ink-light); letter-spacing: 0.06em; margin-bottom: 10px; }
.footer-nav {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px 10px; margin-bottom: 14px;
}
.footer-nav a { font-size: 13px; color: var(--ink-light); text-decoration: none; letter-spacing: 0.04em; transition: color 0.15s; }
.footer-nav a:hover { color: var(--navy); }
.footer-nav-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); display: inline-block; }
.footer-copy   { font-size: 13px; color: var(--ink-light); opacity: 0.5; }

/* ══════════════════════════════════════════════════════════
   9 — CONTENT PAGES
   Inner pages (covertocover, howitworks, privacy, terms)
   share the same cream/navy design language as the homepage.
══════════════════════════════════════════════════════════ */

/* Content page container — narrow prose column */
.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 28px 100px;
}
.page-content.page-wide { max-width: 780px; }

/* Nav back */
.nav-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-light); text-decoration: none;
  margin-bottom: 56px; transition: color 0.15s;
  animation: fadeDown 0.7s cubic-bezier(0,.6,.4,1) both;
}
.nav-back:hover { color: var(--navy); }

/* Content page logo */
.page-content .logo-wrap {
  text-align: center; margin-bottom: 48px;
  animation: fadeDown 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.05s;
}

/* Content page titles */
.page-title {
  font-family: var(--ff-serif);
  font-size: clamp(44px, 8vw, 80px);
  font-weight: 600; line-height: 1.0; letter-spacing: -0.01em;
  text-align: center; margin-bottom: 16px;
  color: var(--navy);
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.3s;
}
.page-title em { font-style: italic; color: var(--gold-light); }
.page-subtitle {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(17px, 2.8vw, 23px);
  color: var(--ink-light); text-align: center;
  margin-bottom: 64px; line-height: 1.5;
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.4s;
}

/* Document page titles (privacy, terms) */
.doc-eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.doc-title {
  font-family: var(--ff-serif);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 600; color: var(--navy); line-height: 1.0; margin-bottom: 16px;
}
.doc-title em { font-style: italic; color: var(--gold-light); }
.doc-meta { font-size: 15px; color: var(--ink-light); letter-spacing: 0.06em; margin-bottom: 56px; }
.doc-meta a { color: var(--ink-light); text-underline-offset: 3px; }

/* Doc section headings (guide pages) */
.doc-section-title {
  font-family: var(--ff-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
  scroll-margin-top: 24px;
}
.doc-section-title span {
  font-size: 13px;
  font-family: var(--ff-sans);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

/* Sections */
.section { margin-bottom: 60px; scroll-margin-top: 24px; }
.section-label, .section-num {
  font-size: 12px; font-weight: 500; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section-num { letter-spacing: 0.22em; margin-bottom: 10px; }
.section-heading {
  font-family: var(--ff-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600; color: var(--navy);
  line-height: 1.15; margin-bottom: 20px;
}
.section-heading em { font-style: italic; color: var(--gold-light); }

/* Prose */
.prose { font-size: 18px; line-height: 1.85; color: var(--ink-light); }
.prose + .prose { margin-top: 16px; }
.prose strong { font-weight: 500; color: var(--ink); }
.prose em { font-style: italic; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.prose-list {
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink-light);
  padding-left: 22px;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prose-list li strong { font-weight: 500; color: var(--ink); }
.prose-list li em { font-style: italic; }
.prose-list-ol { list-style-type: decimal; }

.doc-subsection-title {
  font-family: var(--ff-serif);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 500;
  color: var(--navy);
  margin: 28px 0 10px;
  scroll-margin-top: 24px;
}

/* Table of Contents */
.toc {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px 28px; margin-bottom: 56px;
}
.toc-label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.toc-list a { font-size: 16px; color: var(--ink-light); text-decoration: none; transition: color 0.15s; }
.toc-list a:hover { color: var(--navy); }
.toc-list span { font-size: 12px; color: rgba(30,58,95,0.3); margin-right: 10px; font-variant-numeric: tabular-nums; }

/* Callout boxes */
.highlight-box {
  background: rgba(184,137,60,0.06); border: 0.5px solid rgba(184,137,60,0.25);
  border-radius: 10px; padding: 20px 24px; margin: 24px 0;
}
.highlight-box .prose { font-size: 18px; }
.warning-box {
  background: rgba(160,30,30,0.04); border: 0.5px solid rgba(160,30,30,0.2);
  border-radius: 10px; padding: 20px 24px; margin: 24px 0;
}
.warning-box .prose {
  font-size: 15px; font-weight: 500;
  color: rgba(120,20,20,0.8); text-transform: uppercase;
  letter-spacing: 0.04em; line-height: 1.7;
}

/* Data tables */
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.data-table th {
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--navy);
  text-align: left; padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  font-size: 16px; color: var(--ink-light);
  padding: 12px 14px; line-height: 1.6;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }

/* Rights grid */
.rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.right-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 16px;
}
.right-card-title { font-size: 16px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.right-card-desc  { font-size: 16px; line-height: 1.6; color: var(--ink-light); }

/* Contact block */
.contact-block {
  background: rgba(30,58,95,0.03); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 32px; margin-top: 56px; text-align: center;
}
.contact-block .prose { font-size: 18px; }

/* Opening verse */
.opening-verse {
  background: rgba(184,137,60,0.06); border: 0.5px solid rgba(184,137,60,0.25);
  border-radius: 12px; padding: 32px 36px;
  margin-bottom: 64px; text-align: center;
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.5s;
}
.opening-verse .verse-text { font-size: clamp(20px, 3vw, 28px); color: var(--ink); margin-bottom: 12px; }

/* Closing verse */
.closing-verse { text-align: center; margin-bottom: 64px; }
.closing-verse .verse-text {
  font-size: clamp(18px, 2.8vw, 26px);
  line-height: 1.65; color: var(--ink-light); margin-bottom: 10px;
}

/* Pull quote */
.pull-quote { border-left: 1.5px solid var(--gold); padding: 8px 0 8px 24px; margin: 32px 0; }
.pull-quote p {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(18px, 2.8vw, 24px); line-height: 1.55; color: var(--ink);
}
.pull-quote cite {
  display: block; margin-top: 8px;
  font-family: var(--ff-sans); font-size: 13px;
  font-style: normal; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}

/* Principle cards */
.principles { display: grid; gap: 16px; margin: 32px 0; }
.principle-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px 24px 24px 28px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.principle-card:hover {
  border-color: rgba(184,137,60,0.3);
  box-shadow: 0 2px 12px rgba(30,58,95,0.06);
}
.principle-num {
  font-family: var(--ff-serif); font-size: 36px; font-weight: 600;
  color: rgba(184,137,60,0.3); line-height: 1; flex-shrink: 0; width: 36px; text-align: right;
}
.principle-title {
  font-family: var(--ff-serif); font-size: 18px; font-weight: 600;
  color: var(--navy); margin-bottom: 6px; line-height: 1.2;
}
.principle-desc { font-size: 18px; line-height: 1.65; color: var(--ink-light); }

/* CTA block */
.cta-block {
  text-align: center; padding: 48px 32px;
  background: rgba(30,58,95,0.03); border: 1px solid var(--border);
  border-radius: 16px; margin-bottom: 64px;
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.95s;
}
.cta-heading {
  font-family: var(--ff-serif); font-size: clamp(24px, 4vw, 36px);
  font-weight: 600; color: var(--navy); margin-bottom: 12px;
}
.cta-heading em { font-style: italic; color: var(--gold-light); }
.cta-sub { font-size: 18px; color: var(--ink-light); margin-bottom: 28px; line-height: 1.6; }

/* Step flow (howitworks) */
.flow-label {
  font-size: 13px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  text-align: center; margin-bottom: 40px;
  animation: fadeUp 0.8s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.5s;
}
.steps {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: 72px;
  animation: fadeUp 0.9s cubic-bezier(0,.6,.4,1) both;
  animation-delay: 0.55s;
}
.step { display: grid; grid-template-columns: 56px 1fr; gap: 0 24px; position: relative; }
.step-left { display: flex; flex-direction: column; align-items: center; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(184,137,60,0.1); border: 0.5px solid rgba(184,137,60,0.35);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-serif); font-size: 18px; font-weight: 600;
  color: var(--gold); flex-shrink: 0; position: relative; z-index: 1;
}
.step-line { flex: 1; width: 0.5px; background: var(--border); margin: 8px 0; min-height: 32px; }
.step:last-child .step-line { display: none; }
.step-content { padding-bottom: 40px; }
.step:last-child .step-content { padding-bottom: 0; }
.step-heading {
  font-family: var(--ff-serif); font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 600; color: var(--navy);
  line-height: 1.15; margin-bottom: 10px; padding-top: 6px;
}
.step-heading em { font-style: italic; color: var(--gold-light); }
.step-body { font-size: 18px; line-height: 1.8; color: var(--ink-light); }
.step-body strong { font-weight: 500; color: var(--ink); }

/* ══════════════════════════════════════════════════════════
   9b — TORAH LIST PAGE (/list)
══════════════════════════════════════════════════════════ */
.stl-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 32px 100px;
}
.stl-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  align-items: center;
}
.stl-search {
  flex: 1;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--ff-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
}
.stl-search:focus { border-color: var(--navy); }
.stl-filter {
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--ff-sans);
  font-size: 13px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.stl-filter:focus { border-color: var(--navy); }
.stl-count {
  font-size: 12px;
  color: var(--ink-light);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.stl-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.stl-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background 0.1s;
}
.stl-row:hover { background: rgba(20,43,71,0.025); }
.stl-num {
  font-size: 11px;
  font-weight: 500;
  color: rgba(30,58,95,0.28);
  letter-spacing: 0.06em;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.stl-body { min-width: 0; }
.stl-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}
.stl-ref {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.stl-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment);
  background: var(--navy-deep);
  border-radius: 4px;
  padding: 2px 6px;
  line-height: 1.4;
}
.stl-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
}
.stl-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-light);
}
.stl-verse {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(30,58,95,0.52);
  font-style: italic;
  margin-top: 6px;
  padding-left: 10px;
  border-left: 2px solid rgba(184,137,60,0.3);
}
.stl-empty {
  padding: 48px 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-light);
  display: none;
}
.stl-book-divider {
  grid-column: 1 / -1;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(30,58,95,0.35);
  padding: 24px 0 8px;
  border-bottom: none;
}

/* Simple page footer (content pages) */
.page-footer { text-align: center; margin-top: 48px; }
.page-footer .footer-domain { color: var(--ink-light); }
.page-footer .footer-copy   { color: var(--ink-light); opacity: 0.5; }
.page-footer .footer-copy a { color: var(--ink-light); text-underline-offset: 3px; }
.page-footer .footer-nav a  { color: var(--ink-light); }

/* ══════════════════════════════════════════════════════════
   10 — RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .features              { grid-template-columns: 1fr; }
  .notify-form           { flex-direction: column; }
  .notify-form .btn      { width: 100%; padding: 13px; }
  .countdown             { gap: 14px; }
  .count-num             { font-size: 36px; }
  .count-sep             { font-size: 28px; }
  .logo-orb              { width: 68px; height: 68px; }
  .page-content          { padding: 48px 20px 80px; }
  .opening-verse         { padding: 24px 20px; }
  .pull-quote            { padding-left: 18px; }
  .principle-card        { padding: 20px 18px; gap: 14px; }
  .cta-block             { padding: 36px 20px; }
  .step                  { grid-template-columns: 44px 1fr; gap: 0 16px; }
  .rights-grid           { grid-template-columns: 1fr; }
  .data-table            { font-size: 15px; }
  .data-table th,
  .data-table td         { padding: 8px 10px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════
   11 — HOMEPAGE (index.php)
══════════════════════════════════════════════════════════ */
.hn-container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ── NAV ── */
.hn-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249,246,240,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.hn-nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 32px;
  height: 64px; display: flex; align-items: center; gap: 40px;
}
.hn-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.hn-logo-mark {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(30,58,95,0.06); border: 0.5px solid rgba(184,137,60,0.35);
  display: flex; align-items: center; justify-content: center;
}
.hn-logo-text { font-family: var(--ff-serif); font-size: 17px; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.hn-nav-links { display: flex; align-items: center; gap: 28px; flex: 1; }
.hn-nav-links a { font-size: 14px; font-weight: 400; color: var(--ink-light); letter-spacing: 0.02em; transition: color 0.15s; text-decoration: none; }
.hn-nav-links a:hover { color: var(--navy); }
.hn-nav-cta { margin-left: auto; flex-shrink: 0; }

/* ── HERO ── */
.hn-hero {
  background: var(--navy-deep); padding: 100px 32px 96px;
  text-align: center; position: relative; overflow: hidden;
}
.hn-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184,137,60,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(30,58,95,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.hn-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hn-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.hn-hero-eyebrow::before, .hn-hero-eyebrow::after {
  content: ''; display: block; width: 24px; height: 0.5px; background: rgba(184,137,60,0.5);
}
.hn-hero-title {
  font-family: var(--ff-serif); font-size: clamp(48px, 8vw, 88px); font-weight: 600;
  color: var(--parchment); line-height: 1.0; letter-spacing: -0.01em; margin-bottom: 20px;
}
.hn-hero-title em { font-style: italic; color: var(--gold-light); }
.hn-hero-sub {
  font-size: clamp(17px, 2.2vw, 20px); color: rgba(245,237,216,0.65); line-height: 1.65;
  margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hn-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hn-hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(245,237,216,0.3); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  animation: scrollBob 2.5s ease-in-out infinite;
}
@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

/* ── SECTION SHELL ── */
.hn-section { padding: 96px 0; }
.hn-section-alt { background: var(--white); }
.hn-section-dark { background: var(--navy-deep); }
.hn-section-head { text-align: center; margin-bottom: 56px; }
.hn-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.hn-eyebrow-light { color: rgba(184,137,60,0.8); }
.hn-section-title { font-family: var(--ff-serif); font-size: clamp(32px, 5vw, 52px); font-weight: 600; color: var(--navy); line-height: 1.05; }
.hn-section-title em { font-style: italic; color: var(--gold-light); }
.hn-section-title-light { color: var(--parchment); }
.hn-section-sub { margin-top: 14px; font-size: 18px; color: var(--ink-light); line-height: 1.65; max-width: 560px; margin-left: auto; margin-right: auto; }
.hn-section-sub-light { color: rgba(245,237,216,0.6); }

/* ── TOOL CARDS ── */
.hn-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hn-tool-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 0;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; position: relative;
}
.hn-tool-card:hover { border-color: rgba(184,137,60,0.4); box-shadow: 0 8px 32px rgba(30,58,95,0.08); transform: translateY(-2px); }
.hn-tool-card-live::before {
  content: 'Live'; position: absolute; top: 20px; right: 20px;
  font-size: 9px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #3a7a1a; background: rgba(39,120,10,0.1); border: 0.5px solid rgba(39,120,10,0.25);
  border-radius: 20px; padding: 3px 9px;
}
.hn-tool-card-soon::before {
  content: 'Coming Soon'; position: absolute; top: 20px; right: 20px;
  font-size: 9px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-light); background: rgba(122,116,112,0.1); border: 0.5px solid var(--border);
  border-radius: 20px; padding: 3px 9px;
}
.hn-tool-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(30,58,95,0.05); border: 0.5px solid rgba(184,137,60,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; flex-shrink: 0;
}
.hn-tool-name { font-family: var(--ff-serif); font-size: 22px; font-weight: 600; color: var(--navy); line-height: 1.1; margin-bottom: 8px; }
.hn-tool-desc { font-size: 15px; line-height: 1.65; color: var(--ink-light); flex: 1; margin-bottom: 20px; }
.hn-tool-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: var(--gold-dark); text-decoration: none; transition: gap 0.15s, color 0.15s; margin-top: auto; }
.hn-tool-link:hover { gap: 10px; color: var(--navy); }
.hn-tool-card-soon .hn-tool-link { color: var(--ink-light); pointer-events: none; }

/* ── MISSION BAND ── */
.hn-mission {
  background: var(--gold-tint);
  border-top: 0.5px solid rgba(184,137,60,0.25); border-bottom: 0.5px solid rgba(184,137,60,0.25);
  padding: 80px 32px; text-align: center;
}
.hn-mission-quote { font-family: var(--ff-serif); font-style: italic; font-size: clamp(22px, 3.5vw, 36px); color: var(--navy); line-height: 1.55; max-width: 760px; margin: 0 auto 16px; }
.hn-mission-quote cite { display: block; margin-top: 14px; font-size: 12px; font-style: normal; font-family: var(--ff-sans); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.hn-mission-body { font-size: 17px; color: var(--ink-light); line-height: 1.75; max-width: 640px; margin: 28px auto 0; }

/* ── PLATFORM FEATURES ── */
.hn-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hn-feature-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 32px 28px; display: flex; gap: 20px;
  align-items: flex-start; transition: background 0.2s, border-color 0.2s;
}
.hn-feature-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(184,137,60,0.3); }
.hn-feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(184,137,60,0.12); border: 0.5px solid rgba(184,137,60,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hn-feature-name { font-family: var(--ff-serif); font-size: 20px; font-weight: 600; color: var(--parchment); margin-bottom: 6px; line-height: 1.2; }
.hn-feature-desc { font-size: 15px; line-height: 1.65; color: rgba(245,237,216,0.55); }

/* ── LAUNCH SECTION ── */
.hn-launch { background: var(--white); padding: 96px 32px; }
.hn-launch-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.hn-launch-date { font-family: var(--ff-serif); font-size: clamp(36px, 6vw, 64px); font-weight: 600; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.hn-launch-date span { color: var(--gold-light); }
.hn-launch-label { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 40px; }
.hn-countdown { display: flex; gap: 8px; justify-content: center; margin-bottom: 52px; flex-wrap: wrap; }
.hn-count-unit { display: flex; flex-direction: column; align-items: center; background: var(--cream); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px 12px; min-width: 80px; }
.hn-count-num { font-family: var(--ff-serif); font-size: 40px; font-weight: 600; color: var(--navy); line-height: 1; min-width: 2ch; text-align: center; }
.hn-count-label { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-light); margin-top: 6px; }
.hn-count-sep { font-family: var(--ff-serif); font-size: 28px; color: rgba(184,137,60,0.4); align-self: center; padding-top: 4px; }
.hn-notify-label { font-size: 17px; color: var(--ink-light); line-height: 1.55; margin-bottom: 16px; }
.hn-notify-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.hn-notify-input {
  flex: 1; padding: 13px 16px; background: var(--cream); border: 1px solid var(--border);
  border-radius: 8px; font-size: 16px; font-family: var(--ff-sans); color: var(--ink);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.hn-notify-input::placeholder { color: var(--ink-light); opacity: 0.5; }
.hn-notify-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,137,60,0.1); }
.hn-notify-success {
  display: none; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; background: rgba(39,120,10,0.07); border: 1px solid rgba(39,120,10,0.2);
  border-radius: 8px; font-size: 15px; color: #3a7a1a; max-width: 440px; margin: 0 auto;
}
.hn-notify-privacy { font-size: 13px; color: var(--ink-light); opacity: 0.55; margin-top: 10px; }

/* ── VERSE BAND ── */
.hn-verse-band { background: var(--cream); border-top: 1px solid var(--border); padding: 72px 32px; text-align: center; }
.hn-verse-text { font-family: var(--ff-serif); font-style: italic; font-size: clamp(18px, 2.8vw, 26px); color: var(--ink); line-height: 1.65; max-width: 600px; margin: 0 auto 12px; }
.hn-verse-ref { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

/* ── FOOTER ── */
.hn-footer { background: var(--navy-deep); padding: 64px 32px 40px; }
.hn-footer-inner { max-width: 1120px; margin: 0 auto; }
.hn-footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 32px; }
.hn-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; text-decoration: none; }
.hn-footer-logo-text { font-family: var(--ff-serif); font-size: 18px; font-weight: 600; color: var(--parchment); }
.hn-footer-tagline { font-size: 14px; line-height: 1.65; color: rgba(245,237,216,0.45); max-width: 220px; }
.hn-footer-col-head { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.hn-footer-links { display: flex; flex-direction: column; gap: 10px; }
.hn-footer-links a { font-size: 14px; color: rgba(245,237,216,0.5); text-decoration: none; transition: color 0.15s; }
.hn-footer-links a:hover { color: var(--parchment); }
.hn-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.hn-footer-copy { font-size: 13px; color: rgba(245,237,216,0.3); }
.hn-footer-legal { display: flex; gap: 20px; }
.hn-footer-legal a { font-size: 13px; color: rgba(245,237,216,0.3); text-decoration: none; transition: color 0.15s; }
.hn-footer-legal a:hover { color: rgba(245,237,216,0.7); }

/* ══════════════════════════════════════════════════════════
   12 — REVERSE TORAH LOOKUP (/reverseLookup)
══════════════════════════════════════════════════════════ */
.stb-wrap { max-width: 900px; margin: 0 auto; padding: 56px 32px 100px; }

/* Book grid */
.stb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.stb-book-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 20px 18px;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.stb-book-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(184,137,60,0.12);
  transform: translateY(-2px);
}
.stb-card-name { font-family: var(--ff-serif); font-size: 22px; font-weight: 600; color: var(--navy); line-height: 1.1; }
.stb-card-meta { font-size: 11px; color: var(--ink-light); letter-spacing: 0.04em; }
.stb-card-arrow { margin-top: 8px; font-size: 13px; color: var(--gold); font-weight: 500; }

/* Book detail header */
.stb-book-header { margin-bottom: 40px; }
.stb-book-title { font-family: var(--ff-serif); font-size: clamp(36px, 6vw, 60px); font-weight: 600; color: var(--navy); line-height: 1.05; margin-bottom: 10px; }
.stb-book-title em { font-style: italic; color: var(--gold-light); }
.stb-book-stats { font-size: 12px; color: var(--ink-light); letter-spacing: 0.06em; }
.stb-book-stats span { color: var(--gold); font-weight: 500; }

/* Chapter */
.stb-chapter { margin-bottom: 56px; }
.stb-chapter-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.stb-chapter-num { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; flex-shrink: 0; }
.stb-chapter-theme { font-family: var(--ff-serif); font-size: 18px; font-weight: 600; color: var(--navy); line-height: 1.25; }

/* Connection card */
.stb-connection { margin-bottom: 20px; }
.stb-nt-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.stb-nt-ref { font-family: var(--ff-serif); font-size: 17px; font-weight: 600; color: var(--navy-deep); }
.stb-nt-content { font-family: var(--ff-serif); font-size: 15px; font-style: italic; line-height: 1.7; color: var(--ink); margin-bottom: 14px; padding-left: 14px; border-left: 2px solid var(--gold-pale); }

/* Instruction card */
.stb-instruction { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; margin-bottom: 10px; }
.stb-instr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.stb-torah-ref { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.stb-torah-content { font-family: var(--ff-serif); font-size: 14px; font-style: italic; line-height: 1.7; color: var(--ink); padding: 10px 14px; background: var(--gold-tint); border-left: 2px solid var(--gold-pale); border-radius: 0 6px 6px 0; margin-bottom: 12px; }
.stb-explanation { font-size: 13px; line-height: 1.75; color: var(--ink-light); }
.stb-empty { padding: 60px 0; text-align: center; color: var(--ink-light); font-size: 15px; }

@media (max-width: 520px) {
  .stb-grid { grid-template-columns: 1fr 1fr; }
  .stb-instr-head { flex-direction: column; gap: 4px; }
}

/* ══════════════════════════════════════════════════════════
   13 — BIBLE READER (/bibles)
══════════════════════════════════════════════════════════ */
.bible-reader { max-width: 800px; margin: 0 auto; padding: 0 0 64px; }
.bible-selectors { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.bible-selectors select {
  flex: 1; min-width: 140px; appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8893C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 36px 10px 14px;
  font-family: var(--ff-sans); font-size: 14px; color: var(--ink); cursor: pointer; transition: border-color 0.2s;
}
.bible-selectors select:focus { outline: none; border-color: var(--gold); }
.bible-selectors select:disabled { opacity: 0.45; cursor: default; }
.selector-label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 6px; }
.selector-group { flex: 1; min-width: 140px; }
.chapter-ref { font-family: var(--ff-serif); font-size: clamp(20px, 3vw, 26px); font-weight: 600; color: var(--navy); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.chapter-ref .version-badge { font-family: var(--ff-sans); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-light); border-radius: 20px; padding: 3px 10px; }
.verse-container { background: var(--white); border: 1.5px solid var(--border); border-radius: 12px; padding: 28px 32px; line-height: 1.65; }
.verse-block { display: flex; gap: 14px; padding: 3px 4px; margin-bottom: 4px; border-radius: 6px; transition: background 0.15s; scroll-margin-top: 24px; }
.verse-block:hover { background: var(--gold-tint); }
.verse-block.highlighted { background: var(--gold-tint); outline: 1.5px solid var(--gold-light); }
.verse-num { flex-shrink: 0; font-family: var(--ff-sans); font-size: 11px; font-weight: 500; color: var(--gold); min-width: 22px; padding-top: 4px; text-align: right; }
.verse-text { font-family: var(--ff-serif); font-size: clamp(16px, 2vw, 18px); color: var(--ink); flex: 1; }
.reader-empty { text-align: center; padding: 64px 32px; color: var(--ink-light); font-family: var(--ff-serif); font-size: 18px; font-style: italic; }
.reader-loading { text-align: center; padding: 48px; color: var(--ink-light); font-family: var(--ff-sans); font-size: 14px; }
.reader-loading::after { content: ''; display: inline-block; width: 18px; height: 18px; border: 2px solid var(--border); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: middle; margin-left: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.version-notice { background: var(--gold-tint); border: 1.5px solid var(--gold-pale); border-radius: 10px; padding: 16px 20px; margin-bottom: 32px; display: flex; gap: 12px; align-items: flex-start; }
.version-notice-icon { flex-shrink: 0; width: 18px; height: 18px; color: var(--gold); margin-top: 2px; }
.version-notice p { font-family: var(--ff-sans); font-size: 13px; color: var(--ink); margin: 0; line-height: 1.6; }
.version-notice strong { color: var(--navy); }
/* Torah Connections panel inside the Bible reader */
.br-conn-panel { margin-top: 40px; }
.br-conn-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0 14px; border-top: 1px solid var(--border);
  cursor: pointer; user-select: none;
}
.br-conn-header:hover .br-conn-title { color: var(--navy-mid); }
.br-conn-title { font-family: var(--ff-serif); font-size: 18px; font-weight: 600; color: var(--navy); flex: 1; }
.br-conn-count {
  font-size: 9px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #3a7a1a; background: rgba(39,120,10,0.09); border: 0.5px solid rgba(39,120,10,0.22);
  border-radius: 20px; padding: 3px 10px; white-space: nowrap;
}
.br-conn-toggle {
  width: 24px; height: 24px; border-radius: 50%; background: var(--cream);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.15s;
}
.br-conn-toggle svg { transition: transform 0.25s ease; }
.br-conn-toggle.collapsed svg { transform: rotate(-180deg); }
.br-conn-body { padding-bottom: 8px; }
.br-conn-theme {
  font-size: 13px; font-style: italic; color: var(--ink-light);
  margin-bottom: 18px; line-height: 1.6;
}
.br-conn-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 16px 18px; margin-bottom: 12px;
}
.br-conn-nt-ref { font-family: var(--ff-serif); font-size: 16px; font-weight: 600; color: var(--navy-deep); margin-bottom: 6px; }
.br-conn-nt-text { font-family: var(--ff-serif); font-style: italic; font-size: 14px; color: var(--ink); line-height: 1.65; padding-left: 12px; border-left: 2px solid var(--gold-pale); margin-bottom: 12px; }
.br-conn-instrs { display: flex; flex-direction: column; gap: 8px; }
.br-conn-instr { background: var(--gold-tint); border-radius: 8px; padding: 10px 14px; }
.br-conn-torah-ref { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 5px; }
.br-conn-torah-text { font-family: var(--ff-serif); font-style: italic; font-size: 13px; color: var(--ink); line-height: 1.6; margin-bottom: 6px; }
.br-conn-explanation { font-size: 13px; color: var(--ink-light); line-height: 1.7; }

.poll-section { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.poll-eyebrow { font-family: var(--ff-sans); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.poll-question { font-family: var(--ff-serif); font-size: clamp(18px, 2.5vw, 22px); font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.poll-sub { font-family: var(--ff-sans); font-size: 13px; color: var(--ink-light); margin-bottom: 24px; }
.poll-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.poll-opt { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 8px; background: var(--white); cursor: pointer; font-family: var(--ff-sans); font-size: 13px; color: var(--ink); transition: border-color 0.2s, background 0.2s; user-select: none; }
.poll-opt input[type="checkbox"] { accent-color: var(--gold); width: 15px; height: 15px; cursor: pointer; }
.poll-opt:has(input:checked) { border-color: var(--gold); background: var(--gold-tint); color: var(--navy); font-weight: 500; }
.poll-opt:hover { border-color: var(--gold-light); }
.poll-submit { display: inline-block; padding: 10px 24px; background: var(--navy); color: var(--white); border: none; border-radius: 8px; font-family: var(--ff-sans); font-size: 13px; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.poll-submit:hover { background: var(--navy-deep); }
.poll-thanks { display: none; background: var(--gold-tint); border: 1.5px solid var(--gold-pale); border-radius: 10px; padding: 16px 20px; font-family: var(--ff-sans); font-size: 13px; color: var(--ink); line-height: 1.6; }
.poll-thanks strong { color: var(--navy); }
@media (max-width: 600px) {
  .bible-selectors { gap: 8px; }
  .selector-group { min-width: calc(50% - 4px); }
  .selector-group:first-child { min-width: 100%; }
  .verse-container { padding: 20px 16px; }
}

/* ══════════════════════════════════════════════════════════
   14 — LEADER PAGE (/leader)
══════════════════════════════════════════════════════════ */
.leader-wrap { max-width: 820px; margin: 0 auto; padding: 72px 28px 100px; }
.torah-foundation { background: var(--navy-deep); border-radius: 16px; padding: 36px 32px 32px; margin-bottom: 56px; }
.torah-foundation-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.torah-foundation-title { font-family: var(--ff-serif); font-size: clamp(22px, 3.5vw, 30px); font-weight: 600; color: var(--white); line-height: 1.2; margin-bottom: 10px; }
.torah-foundation-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.torah-book-form { display: flex; gap: 10px; flex-wrap: wrap; }
.torah-book-select { flex: 1; min-width: 160px; height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; background: rgba(255,255,255,0.08); color: var(--white); font-family: var(--ff-sans); font-size: 14px; outline: none; cursor: pointer; transition: border-color 0.15s; }
.torah-book-select:focus { border-color: var(--gold); }
.torah-book-select option { background: #142B47; }
.torah-book-btn { height: 40px; padding: 0 22px; background: var(--white); color: var(--navy-deep); border: none; border-radius: 8px; font-family: var(--ff-sans); font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 0.15s; }
.torah-book-btn:hover { background: var(--gold-pale); }
.torah-toggle-wrap { display: flex; justify-content: center; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 14px; }
.torah-toggle-btn { display: flex; align-items: center; gap: 6px; background: none; border: none; color: rgba(255,255,255,0.5); font-family: var(--ff-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: color 0.15s; padding: 4px 8px; }
.torah-toggle-btn:hover { color: rgba(255,255,255,0.85); }
.torah-toggle-btn svg { transition: transform 0.25s ease; }
.torah-toggle-btn.collapsed svg { transform: rotate(-180deg); }
.torah-results { padding-top: 20px; }
.torah-results-scroll { max-width: 700px; max-height: 520px; overflow-y: auto; padding-right: 8px; }
.torah-results-scroll::-webkit-scrollbar { width: 5px; }
.torah-results-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 3px; }
.torah-results-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }
.torah-results-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.35); }
.torah-results-title { font-family: var(--ff-serif); font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.torah-chapter-block { margin-bottom: 20px; }
.torah-chapter-head { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.torah-connection-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 14px 16px; margin-bottom: 8px; }
.torah-connection-verses { font-family: var(--ff-serif); font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.torah-connection-verse-text { font-family: var(--ff-serif); font-style: italic; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 10px; line-height: 1.6; }
.torah-instr-ref { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.torah-instr-quote { font-family: var(--ff-serif); font-style: italic; font-size: 13px; color: rgba(255,255,255,0.5); padding: 8px 12px; border-left: 2px solid rgba(184,137,60,0.4); margin-bottom: 8px; line-height: 1.6; }
.torah-instr-explanation { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.65); }
.leader-intro { font-size: 15px; line-height: 1.75; color: var(--ink-light); margin-bottom: 56px; padding: 20px 24px; background: rgba(184,137,60,0.06); border: 0.5px solid rgba(184,137,60,0.25); border-radius: 10px; }
.leader-section { margin-bottom: 52px; }
.leader-section-title { font-family: var(--ff-serif); font-size: clamp(20px, 3vw, 28px); font-weight: 600; color: var(--navy); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.leader-cards { display: flex; flex-direction: column; gap: 12px; }
.leader-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.leader-card-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.leader-card-text { font-size: 14px; line-height: 1.65; color: var(--ink-light); }
.leader-closing { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); text-align: center; font-family: var(--ff-serif); font-style: italic; font-size: 17px; color: var(--ink-light); }
@media (max-width: 520px) {
  .leader-wrap { padding: 48px 20px 80px; }
  .torah-foundation { padding: 24px 20px 20px; }
}

/* ── HOMEPAGE RESPONSIVE ── */
@media (max-width: 900px) {
  .hn-tools-grid    { grid-template-columns: repeat(2, 1fr); }
  .hn-features-grid { grid-template-columns: 1fr; }
  .hn-footer-top    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hn-nav-links     { display: none; }
}
@media (max-width: 600px) {
  .hn-container   { padding: 0 20px; }
  .hn-nav-inner   { padding: 0 20px; }
  .hn-hero        { padding: 72px 20px 80px; }
  .hn-section     { padding: 64px 0; }
  .hn-tools-grid  { grid-template-columns: 1fr; }
  .hn-features-grid { grid-template-columns: 1fr; }
  .hn-feature-card  { flex-direction: column; gap: 14px; }
  .hn-footer-top    { grid-template-columns: 1fr; gap: 28px; }
  .hn-footer-bottom { flex-direction: column; align-items: flex-start; }
  .hn-notify-form   { flex-direction: column; }
  .hn-countdown     { gap: 6px; }
  .hn-count-unit    { min-width: 68px; padding: 12px 14px 10px; }
  .hn-count-num     { font-size: 32px; }
  .hn-launch        { padding: 64px 20px; }
  .hn-mission       { padding: 56px 20px; }
  .hn-verse-band    { padding: 56px 20px; }
}

/* ══════════════════════════════════════════════════════════
   15 — STUDY APPLICATION (/study)
══════════════════════════════════════════════════════════ */

/* ── Shared form elements ── */
.sp-input {
  width: 100%; padding: 11px 14px;
  background: var(--white); border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--ff-sans); font-size: 15px; color: var(--ink);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.sp-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,137,60,0.1); }
.sp-textarea { resize: vertical; min-height: 80px; }
.sp-label { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 6px; }
.sp-req { color: var(--gold); }
.sp-hint { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-light); opacity: 0.7; font-size: 11px; }
.sp-hint-text { font-size: 12px; color: var(--ink-light); margin-top: 4px; }
.sp-field { margin-bottom: 20px; }
.sp-error-box { background: rgba(226,75,74,0.08); border: 1px solid rgba(226,75,74,0.3); border-radius: 8px; padding: 10px 14px; font-size: 14px; color: #c0392b; margin-bottom: 16px; }
.sp-loading { color: var(--ink-light); font-size: 14px; }
.sp-plan-meta { font-size: 12px; color: var(--ink-light); letter-spacing: 0.04em; margin: 6px 0 10px; display: flex; gap: 6px; flex-wrap: wrap; }

/* ── Radio/checkbox groups ── */
.sp-radio-group { display: flex; flex-direction: column; gap: 10px; }
.sp-radio { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer; transition: border-color 0.15s; }
.sp-radio:has(input:checked) { border-color: var(--gold); background: rgba(184,137,60,0.04); }
.sp-radio input { margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.sp-radio-body {}
.sp-radio-title { font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 2px; }
.sp-radio-desc  { font-size: 13px; color: var(--ink-light); line-height: 1.5; }
.sp-radio-inline { border: none; padding: 0; }

/* ── Creation wizard ── */
.sp-create-wrap { max-width: 640px; margin: 0 auto; padding: 48px 32px 80px; }
.sp-steps-bar { display: flex; align-items: center; gap: 0; margin-bottom: 40px; }
.sp-step-dot {
  width: 32px; height: 32px; border-radius: 50%; background: var(--border); color: var(--ink-light);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
  flex-shrink: 0; transition: background 0.2s, color 0.2s;
}
.sp-step-dot.active { background: var(--gold); color: var(--white); }
.sp-step-line { flex: 1; height: 1px; background: var(--border); }
.sp-step-head { margin-bottom: 28px; }
.sp-step-label { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.sp-step-title { font-family: var(--ff-serif); font-size: clamp(24px, 4vw, 34px); font-weight: 600; color: var(--navy); }
.sp-step-desc  { font-size: 15px; color: var(--ink-light); line-height: 1.65; margin-top: 8px; }
.sp-nav-row { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; gap: 12px; }
.sp-review-box { background: var(--cream); border: 1px solid var(--border); border-radius: 10px; padding: 20px 24px; margin-bottom: 24px; }
.sp-review-row { display: flex; gap: 16px; margin-bottom: 10px; font-size: 14px; }
.sp-review-key { font-weight: 500; color: var(--ink); min-width: 100px; flex-shrink: 0; }

/* ── Share box ── */
.sp-share-box { margin-top: 8px; }
.sp-share-label { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 8px; }
.sp-share-row { display: flex; gap: 8px; }
.sp-share-row .sp-input { flex: 1; }

/* ── Plan view ── */
.sp-plan-wrap { max-width: 760px; margin: 0 auto; padding: 40px 32px 80px; }
.sp-loading-state { padding: 60px 0; text-align: center; }
.sp-day-nav {
  display: flex; align-items: center; gap: 16px; margin-bottom: 32px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.sp-day-nav-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--ink-light); transition: border-color 0.15s, color 0.15s;
}
.sp-day-nav-btn:hover:not(:disabled) { border-color: var(--navy); color: var(--navy); }
.sp-day-nav-btn:disabled { opacity: 0.35; cursor: default; }
.sp-day-label { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-light); flex: 1; text-align: center; }
.sp-day-content {}
.sp-day-header { margin-bottom: 28px; }
.sp-day-eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.sp-day-title { font-family: var(--ff-serif); font-size: clamp(26px, 4vw, 40px); font-weight: 600; color: var(--navy); line-height: 1.1; margin-bottom: 6px; }
.sp-day-scripture-ref { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--gold-dark); }
.sp-context-block { font-size: 16px; line-height: 1.8; color: var(--ink-light); margin-bottom: 32px; }
.sp-block-label { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.sp-prompt-block { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px 24px 20px; margin-bottom: 28px; }
.sp-prompt-text { font-family: var(--ff-serif); font-size: 18px; color: var(--ink); line-height: 1.55; margin-bottom: 16px; }
.sp-prompt-input { width: 100%; min-height: 72px; padding: 10px 14px; background: var(--cream); border: 1px solid var(--border); border-radius: 8px; font-family: var(--ff-sans); font-size: 15px; color: var(--ink); outline: none; resize: vertical; transition: border-color 0.2s; }
.sp-prompt-input:focus { border-color: var(--gold); }
.sp-prompt-input:disabled { opacity: 0.7; }
.sp-prompt-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.sp-anon-note { font-size: 13px; color: var(--ink-light); margin-top: 8px; }
.sp-anon-note a { color: var(--gold-dark); }
.sp-answer-block { background: rgba(184,137,60,0.06); border: 0.5px solid rgba(184,137,60,0.25); border-radius: 8px; padding: 16px 18px; margin-top: 14px; }
.sp-answer-label { font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.sp-answer-text { font-size: 15px; color: var(--ink); line-height: 1.65; }
.sp-reflections-block { margin-bottom: 28px; }
.sp-reflection-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.sp-reflection-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sp-reflection-time { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.sp-vis-select { font-size: 12px; font-family: var(--ff-sans); color: var(--ink-light); border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; background: var(--white); cursor: pointer; outline: none; }
.sp-reflection-text { font-size: 14px; line-height: 1.65; color: var(--ink-light); }
.sp-no-reflections { font-size: 14px; color: var(--ink-light); padding: 8px 0; }
.sp-join-cta { text-align: center; padding: 32px 24px; background: var(--cream); border: 1px dashed var(--border); border-radius: 12px; margin-bottom: 28px; }
.sp-join-cta-text { font-size: 15px; color: var(--ink-light); margin-bottom: 16px; }
.sp-shared-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.sp-shared-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sp-shared-user { font-size: 13px; font-weight: 500; color: var(--navy); }
.sp-shared-time { font-size: 10px; color: var(--ink-light); letter-spacing: 0.06em; }
.sp-shared-text { font-size: 14px; line-height: 1.65; color: var(--ink-light); }

/* ── Modal ── */
.sp-modal-backdrop { position: fixed; inset: 0; background: rgba(14,26,41,0.65); backdrop-filter: blur(4px); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.sp-modal-card { background: var(--white); border-radius: 16px; padding: 32px 28px 28px; max-width: 460px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 24px 64px rgba(0,0,0,0.2); }
.sp-modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--ink-light); line-height: 1; }
.sp-modal-title { font-family: var(--ff-serif); font-size: 24px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.sp-modal-desc { font-size: 14px; color: var(--ink-light); line-height: 1.6; margin-bottom: 20px; }
.sp-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.sp-tab { flex: 1; padding: 9px 12px; font-size: 13px; font-family: var(--ff-sans); font-weight: 500; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; color: var(--ink-light); transition: color 0.15s, border-color 0.15s; }
.sp-tab.active { color: var(--navy); border-bottom-color: var(--gold); }

/* ── Manage dashboard ── */
.sp-manage-wrap { max-width: 860px; margin: 0 auto; padding: 40px 32px 80px; }
.sp-manage-section { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.sp-manage-section:last-child { border-bottom: none; }
.sp-manage-section-title { font-family: var(--ff-serif); font-size: clamp(20px, 3vw, 28px); font-weight: 600; color: var(--navy); margin-bottom: 20px; }
.sp-day-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.sp-day-row:last-child { border-bottom: none; }
.sp-day-row-num { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); min-width: 44px; }
.sp-day-row-body { flex: 1; min-width: 0; }
.sp-day-row-title { font-size: 15px; font-weight: 500; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-day-row-ref   { font-size: 12px; color: var(--ink-light); }
.sp-stat-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.sp-stat-day { font-size: 12px; font-weight: 500; color: var(--ink-light); min-width: 48px; }
.sp-stat-bar-wrap { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.sp-stat-bar { height: 100%; background: var(--gold); border-radius: 3px; transition: width 0.4s ease; }
.sp-stat-count { font-size: 12px; color: var(--ink-light); min-width: 40px; text-align: right; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .sp-create-wrap { padding: 32px 20px 60px; }
  .sp-plan-wrap   { padding: 32px 20px 60px; }
  .sp-manage-wrap { padding: 32px 20px 60px; }
  .sp-nav-row     { flex-direction: column-reverse; }
  .sp-nav-row .btn { width: 100%; }
  .sp-share-row   { flex-direction: column; }
}
