/* A Lot Of Words Ministries — site styles
   Brand: DM Sans, black/white, sky-blue accent (from alotofwordspodcast.com) */

:root {
  --black: #000;
  --ink: #111;
  --text: #333;
  --muted: #69727d;
  --line: #e6e6e6;
  --soft: #f5f5f5;
  --white: #fff;
  --sky: #9cdfff;       /* primary button */
  --sky-deep: #6ec1e4;  /* hover / links */
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); text-transform: uppercase; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); text-transform: uppercase; letter-spacing: -.01em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--black); color: #cfd3d8; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.dark .eyebrow { color: var(--sky); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.dark .lead { color: #b9c0c7; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 14px 26px; border-radius: 100px; border: 2px solid transparent;
  font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
  font-family: inherit;
}
.btn-primary { background: var(--sky); color: var(--black); }
.btn-primary:hover { background: var(--sky-deep); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #333; }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.dark .btn-outline, .hero .btn-outline { color: var(--white); }
.dark .btn-outline:hover, .hero .btn-outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo img { height: 46px; width: auto; }
.logo-text { font-weight: 700; font-size: 1.3rem; text-decoration: none; color: var(--black); line-height: 1; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: .85rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--sky-deep); }
.nav .btn { color: var(--black); padding: 11px 20px; font-size: .78rem; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--black); margin: 6px 0; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 84px; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 24px;
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; width: auto; border-bottom: 0; padding: 12px 22px; }
}

/* Hero */
.hero {
  position: relative; color: var(--white); min-height: min(86vh, 760px);
  display: grid; place-items: center; text-align: center; overflow: hidden;
  background: #0b1a26 url("../img/hero.webp") center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.72)); }
.hero .wrap { position: relative; padding: 80px 0; max-width: 900px; }
.hero h1 { color: var(--white); }
.hero p { font-size: 1.2rem; color: #dfe5ea; max-width: 680px; margin-inline: auto; }
.hero .btn-row { justify-content: center; }
.hero-tag {
  display: inline-block; background: rgba(0,0,0,.55); padding: 8px 16px; border-radius: 6px;
  font-weight: 700; letter-spacing: .1em; font-size: .85rem; text-transform: uppercase; margin-bottom: 22px;
}

.page-hero { background: var(--black); color: #cfd3d8; padding: clamp(70px, 10vw, 120px) 0 clamp(56px, 8vw, 90px); }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: #b9c0c7; }

/* Grids & cards */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0,1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column;
}
.card p { color: var(--muted); }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--sky); display: grid; place-items: center;
  margin-bottom: 18px; font-size: 1.4rem;
}
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0,1fr); } }
.split img { border-radius: var(--radius); }

/* Episodes */
.episode { text-decoration: none; display: block; }
.episode img { border-radius: var(--radius); aspect-ratio: 510/335; object-fit: cover; width: 100%; background: #1a1f24; }
.episode h3 { margin-top: 16px; font-size: 1.15rem; }
.episode:hover h3 { color: var(--sky-deep); }
.episode span { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.platforms { display: flex; flex-wrap: wrap; gap: 12px; }
.platforms a {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line);
  border-radius: 100px; text-decoration: none; font-weight: 700; font-size: .9rem; background: var(--white); color: var(--ink);
}
.platforms a:hover { border-color: var(--ink); }
.dark .platforms a { background: transparent; color: var(--white); border-color: #444; }
.dark .platforms a:hover { border-color: var(--white); }

/* Partner tiers */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 920px) { .tiers { grid-template-columns: minmax(0,1fr); max-width: 520px; margin-inline: auto; } }
.tier { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; background: var(--white); display: flex; flex-direction: column; }
.tier.featured { border: 2px solid var(--black); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.tier .badge {
  position: absolute; top: -13px; left: 30px; background: var(--sky); color: var(--black);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px;
}
.tier .price { font-size: 3rem; font-weight: 700; color: var(--ink); line-height: 1; margin: 8px 0 4px; }
.tier .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.tier h3 { margin-bottom: 4px; }
.tier ul { list-style: none; padding: 0; margin: 20px 0 28px; }
.tier li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; font-size: .98rem; }
.tier li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--sky-deep); }
.tier .btn { margin-top: auto; width: 100%; }

.amounts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 24px 0; }
.amounts a {
  min-width: 96px; padding: 14px 18px; border: 2px solid var(--line); border-radius: 12px; text-align: center;
  font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--ink); background: var(--white);
}
.amounts a:hover { border-color: var(--black); }

.embed-slot {
  border: 2px dashed #c9d3db; border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted);
  background: #fafcfd; font-size: .95rem;
}

.fine { font-size: .85rem; color: var(--muted); }

/* Book */
.book-feature { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 860px) { .book-feature { grid-template-columns: minmax(0,1fr); } }
.book-feature img { border-radius: var(--radius); }
.tag { display: inline-block; background: var(--soft); border-radius: 100px; padding: 5px 12px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Forms */
form.stack { display: grid; gap: 16px; }
label { font-weight: 700; font-size: .9rem; color: var(--ink); display: grid; gap: 6px; }
input, textarea, select {
  font: inherit; font-size: 1rem; padding: 14px 16px; border: 1px solid #cfd5da; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--sky); border-color: var(--sky-deep); }
textarea { min-height: 170px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: auto; margin-top: 5px; }


/* CTA band */
.cta-band { background: var(--sky); color: var(--black); }
.cta-band h2 { color: var(--black); }
.cta-band .lead { color: #1d3340; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--black); color: #9aa3ab; padding: 72px 0 32px; font-size: .95rem; }
.site-footer h4 { color: var(--white); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr)); gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0,1fr); } }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; color: #c4cad0; }
.site-footer a:hover { color: var(--sky); }
.footer-logo { filter: invert(1); height: 44px; width: auto; margin-bottom: 18px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.socials a { border: 1px solid #333; border-radius: 100px; padding: 6px 12px; font-size: .8rem; }
.footer-bottom { border-top: 1px solid #222; margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Keep grid/flex children from being stretched by wide images */
.grid > *, .split > *, .book-feature > *, .tiers > *, .footer-grid > * { min-width: 0; }
img { height: auto; }
