/* Galilee public site. Plain CSS, no external fonts or runtime dependencies. */

:root {
  --ink: #0b1b2b;
  --ink-2: #16324f;
  --ink-soft: #3d5167;
  --muted: #5f7285;
  --paper: #fbf8f2;
  --paper-2: #f3eee3;
  --card: #ffffff;
  --line: #e4dccb;
  --sea: #3aa5ad;
  --sea-deep: #1f7a82;
  --gold: #e8c27a;
  --gold-deep: #9a6d1b;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 27, 43, 0.06), 0 12px 32px -12px rgba(11, 27, 43, 0.18);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sea-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 12px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 10; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--display); font-size: 1.45rem; font-weight: 700; color: inherit; letter-spacing: -0.01em;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; font-size: 0.95rem; }
.nav a { color: inherit; text-decoration: none; opacity: 0.85; padding: 6px 2px; }
.nav a:hover { opacity: 1; text-decoration: underline; }
.nav a[aria-current="page"] { opacity: 1; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 1rem; padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f0cf8e; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-soon {
  background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); color: #fff;
  cursor: default; padding: 12px 22px 12px 18px; text-align: left; line-height: 1.2;
}
.btn-soon small { display: block; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.btn-soon strong { font-size: 1.05rem; }
.btn-soon svg { width: 26px; height: 26px; flex: none; }
.btn-soon .pill-emoji { font-size: 24px; line-height: 1; width: 26px; text-align: center; flex: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 82% 8%, rgba(58, 165, 173, 0.34), transparent 60%),
    radial-gradient(700px 420px at 8% 92%, rgba(232, 194, 122, 0.20), transparent 60%),
    linear-gradient(165deg, #0b1b2b 0%, #12304c 62%, #16405a 100%);
  color: #f6f1e6;
  overflow: hidden;
}
.hero .site-header { color: #f6f1e6; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding-block: 48px 96px;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 600; color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede { font-size: 1.2rem; color: #d3dce6; max-width: 34ch; margin: 22px 0 32px; }
.hero .eyebrow { color: var(--gold); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin: 18px 0 0; font-size: 0.9rem; color: #9fb2c4; }

/* Decorative phone */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone {
  width: min(300px, 78vw); aspect-ratio: 9 / 18.5; border-radius: 40px; padding: 12px;
  background: linear-gradient(160deg, #27425f, #0d2034);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(3deg);
}
.screen {
  height: 100%; border-radius: 30px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #123552 0%, #0c2237 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 28px 22px; gap: 14px;
}
.screen::before {
  content: ""; position: absolute; inset: auto -20% -18% -20%; height: 46%;
  background: radial-gradient(closest-side, rgba(58, 165, 173, 0.55), transparent);
}
.pulse {
  width: 92px; height: 92px; border-radius: 50%; position: relative; z-index: 1;
  background: radial-gradient(circle at 35% 30%, #f6e3b4, var(--gold) 55%, #c7973f);
  box-shadow: 0 0 0 14px rgba(232, 194, 122, 0.14), 0 0 0 30px rgba(232, 194, 122, 0.07);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.1); } }
.screen p { margin: 0; position: relative; z-index: 1; }
.screen .s-title { font-family: var(--display); font-size: 1.5rem; color: #fff; margin-top: 14px; }
.screen .s-body { font-size: 0.9rem; color: #bccbda; line-height: 1.5; }
.screen .s-btn {
  position: relative; z-index: 1; margin-top: 8px; padding: 10px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 0.85rem; font-weight: 600;
}

/* ---------- Sections ---------- */
section { padding-block: 88px; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; }
.section-head p { color: var(--ink-soft); margin: 16px 0 0; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.35rem; margin: 18px 0 8px; font-weight: 600; }
.card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--ink-2), var(--ink)); color: var(--gold);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.band { background: var(--paper-2); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.trust-grid h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; color: var(--ink-soft); }
.checks li strong { color: var(--ink); display: block; }
.checks .tick {
  width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--gold);
  display: grid; place-items: center; margin-top: 2px;
}
.checks .tick svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.download { background: linear-gradient(165deg, #0b1b2b, #16405a); color: #f6f1e6; text-align: center; }
.download .wrap { max-width: 720px; }
.download h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: #fff; font-weight: 600; }
.download p { color: #c9d6e2; margin: 18px auto 30px; max-width: 46ch; }
.download .cta-row { justify-content: center; }

/* ---------- Sub pages (legal + support) ---------- */
.page-hero { background: linear-gradient(165deg, #0b1b2b 0%, #14395a 100%); color: #f6f1e6; }
.page-hero .site-header { color: #f6f1e6; }
.page-hero .inner { padding-block: 36px 64px; max-width: 760px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; color: #fff; }
.page-hero .meta { margin: 14px 0 0; color: #b4c4d4; }
.page-hero .eyebrow { color: var(--gold); }

.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-block: 56px 96px; align-items: start; }
.toc { position: sticky; top: 24px; font-size: 0.92rem; }
.toc h2 { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 14px; text-decoration: none; color: var(--ink-soft); margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--ink); border-left-color: var(--gold); }

.prose { max-width: 740px; }
.prose h2 { font-size: 1.7rem; font-weight: 600; margin: 52px 0 14px; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose ul { margin: 0 0 18px; padding-left: 1.3rem; color: var(--ink-soft); }
.prose li { margin-bottom: 9px; padding-left: 4px; }
.prose li::marker { color: var(--gold-deep); }
.prose code { background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }
.prose a { overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; margin: 8px 0 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.96rem; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.prose th { background: var(--paper-2); color: var(--ink); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.prose tr:last-child td { border-bottom: 0; }

/* Support */
.support-wrap { padding-block: 56px 96px; }
.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--ink); color: #f6f1e6; border-radius: 22px; padding: 34px 36px; margin-bottom: 40px;
}
.contact-card h2 { font-size: 1.7rem; color: #fff; font-weight: 600; }
.contact-card p { margin: 8px 0 0; color: #b4c4d4; }
.contact-card a.mail { color: var(--ink); }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.help-grid .card h3 { margin-top: 0; }
.help-grid .card p + p { margin-top: 12px; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b4c4d4; padding-block: 56px 40px; font-size: 0.95rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.site-footer .brand { color: #fff; }
.site-footer p { margin: 12px 0 0; max-width: 38ch; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer h2 { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8497aa; margin-bottom: 12px; }
.site-footer a { color: #dfe8f1; }
.fine { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; color: #8497aa; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* 404 */
.lost { text-align: center; padding-block: 120px; }
.lost h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 600; }
.lost p { color: var(--ink-soft); margin: 16px 0 28px; }
.lost .btn { background: var(--ink); color: #fff; }

/* ---------- Web beta (landing page) ---------- */
.header-end { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 26px; }
.hero-note a, .download-help a { color: var(--gold); }
.download .beta {
  max-width: 560px; margin: 56px auto 0; padding: 34px 32px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
}
.beta h3 { font-size: 1.7rem; font-weight: 600; color: #fff; }
.download .beta p { margin: 10px auto 0; }
.download .beta .beta-lede { max-width: 38ch; }
.beta-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; margin-top: 26px; }
.download .download-help { margin: 28px auto 0; font-size: 0.95rem; }

/* ---------- Search/content pages (features/, prayer-lock/, faq/ ...) ---------- */
.crumbs { margin: 0 0 18px; font-size: 0.88rem; color: #9fb2c4; }
.crumbs a { color: #d3dce6; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin: 30px 0 8px; }
.prose h3 a { color: inherit; }
.prose ol { margin: 0 0 18px; padding-left: 1.4rem; color: var(--ink-soft); }
.prose ol li::marker { color: var(--gold-deep); font-weight: 700; }
.answer {
  background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 14px; padding: 20px 24px; margin: 0 0 40px;
}
.answer p { margin: 0; color: var(--ink); }
.answer .answer-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; }
.faq-wrap { padding-block: 56px 72px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin: 0 0 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 16px 20px; list-style-position: outside; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { margin: 0; padding: 16px 20px 18px; }
.related { padding-block: 8px 80px; }
.related h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); font-weight: 600; margin-bottom: 24px; }
.card-link-block { display: block; text-decoration: none; color: inherit; }
.card-link-block h3 { margin-top: 0; }
.card-link-block:hover { border-color: var(--gold-deep); }
.card-link-block .more { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--sea-deep); }
.card-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 0.95rem; }
.explore { margin-top: 36px; color: var(--ink-soft); }
.explore a { white-space: nowrap; }
.support-faq { margin: -12px 0 28px; color: var(--ink-soft); }
.cta-band .cta-row { margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 24px 72px; gap: 56px; }
  .hero .lede { max-width: 44ch; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; gap: 36px; }
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc { position: static; }
  .toc ol { grid-template-columns: repeat(2, 1fr); border-left: 0; gap: 0 16px; }
  .toc a { border-left: 0; padding: 5px 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  section { padding-block: 64px; }
  .grid, .help-grid { grid-template-columns: 1fr; }
  .answer { padding: 18px 18px; }
  .toc ol { grid-template-columns: 1fr; }
  .contact-card { padding: 26px 22px; }
  .phone { transform: none; }
  .site-header .wrap { padding-block: 14px; }
  .header-end { justify-content: flex-start; }
  .download .beta { padding: 28px 20px; margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  }
