/* Hymn & Hue marketing site — editorial style, on the Hymn & Hue brand.
   Palette + type from the brand mood board. Token-driven: adjust :root to retune.
   Serif = Playfair Display, Sans = Montserrat. */
:root {
  /* ---- brand palette (mood board) ---- */
  --bg: #f8f4eb;         /* Cream: space, focus, welcome */
  --panel: #fffdf8;      /* warm white surface */
  --panel-deep: #ece3d0; /* soft placeholder */
  --ink: #0f2740;        /* Ink Navy: trust, depth, clarity */
  --ink-hover: #0a1c30;
  --body: #3f4d59;       /* soft navy-gray body copy */
  --dim: #737c6e;        /* Sage Gray, deepened for readable muted text */
  --line: #e7dfce;       /* warm border */
  --gold: #c9a96b;       /* Antique Gold: excellence, impact, beauty */
  --clay: #c47856;       /* Soft Clay: creativity, people, momentum */
  --sage: #7a8476;       /* Sage Gray: balance, growth, support */
  --sage-hover: #656e60;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1100px;
  --radius: 6px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3, h4, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: .005em; line-height: 1.16; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); margin: 0 0 16px; font-weight: 600; }

/* ---- top nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(248,244,235,.93); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .brand-wordmark { height: 34px; width: auto; display: block; }
footer.site .brand .footer-wordmark { height: 30px; }
/* legacy text wordmark (fallback if an <img> is ever replaced by text) */
.brand .amp { color: var(--gold); font-style: italic; }
.brand .accentword { color: var(--ink); }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--body); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: color .18s; padding: 4px 0; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-links a.cta { color: #fff; background: var(--sage); border: 1px solid var(--sage); border-radius: 999px; padding: 9px 18px; letter-spacing: .12em; }
.nav-links a.cta:hover { background: var(--sage-hover); border-color: var(--sage-hover); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 11px; font-size: 16px; cursor: pointer; color: var(--ink); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; line-height: 1; text-decoration: none; transition: all .2s ease;
}
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.btn.ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.accent { background: var(--sage); border-color: var(--sage); color: #fff; }
.btn.accent:hover { background: var(--sage-hover); border-color: var(--sage-hover); }
.btn.on-dark { background: var(--bg); border-color: var(--bg); color: var(--ink); }
.btn.on-dark:hover { background: #fff; border-color: #fff; }
.btn.ghost-dark { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn.ghost-dark:hover { background: rgba(255,255,255,.14); }

/* ---- hero (split: text left, image right) ---- */
.hero.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 70px 0 60px; }
.hero h1 { font-size: 54px; line-height: 1.06; margin: 0; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero .lead { font-size: 18px; line-height: 1.72; color: var(--body); margin: 24px 0 32px; max-width: 520px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .foot { font-size: 12.5px; color: var(--dim); margin-top: 20px; letter-spacing: .02em; }
.heroimage { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--panel-deep), #ddd0b7 55%, #cbb98f);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 40px rgba(15,39,64,.16); }
.heroimage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heroimage .ph { color: rgba(15,39,64,.5); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-align: center; padding: 20px; }

/* ---- interior page header ---- */
.pagehead { padding: 62px 0 48px; border-bottom: 1px solid var(--line); background: var(--bg); }
.pagehead .wrap { max-width: 820px; }
.pagehead h1 { font-size: 48px; margin: 0 0 16px; font-weight: 600; }
.pagehead .lead { font-size: 19px; color: var(--body); line-height: 1.7; margin: 0; max-width: 62ch; }

/* ---- sections ---- */
section.band { padding: 68px 0; }
section.band.tint { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.band.deep { background: var(--ink); color: #e6ecf1; }
section.band.deep h2, section.band.deep h3 { color: #fff; }
.section-head { text-align: center; max-width: 64ch; margin: 0 auto 46px; }
.section-head .eyebrow { text-align: center; }
.section-head h2 { font-size: 40px; margin: 0 0 14px; font-weight: 600; }
.section-head p { font-size: 18px; color: var(--dim); margin: 0; }
section.band.deep .section-head p { color: rgba(255,255,255,.78); }

/* ---- feature cards ---- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.features.two { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.feature .ic { color: var(--clay); margin: 0 0 14px; height: 30px; }
.feature .ic svg { width: 30px; height: 30px; display: block; }
.feature h3 { font-size: 22px; margin: 0 0 10px; }
.feature p { font-size: 15px; line-height: 1.64; color: var(--body); margin: 0; }
.feature .verse { display: block; margin-top: 12px; font-style: italic; font-family: var(--serif); color: var(--clay); font-size: 15px; }

/* ---- how it works steps ---- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { text-align: center; }
.step .num { width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 14px; border: 1px solid var(--ink);
  color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; }
.step h4 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--body); font-size: 14.5px; line-height: 1.6; }

/* ---- split content block ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.wide-text { grid-template-columns: 1.1fr .9fr; }
.split h2 { font-size: 34px; margin: 0 0 16px; font-weight: 600; }
.split p { color: var(--body); font-size: 16.5px; }
.split ul { margin: 16px 0 0; padding: 0 0 0 20px; color: var(--body); }
.split ul li { margin: 9px 0; }

/* ---- screenshot frames ---- */
.shot { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 44px rgba(15,39,64,.14); overflow: hidden; }
.shot img { width: 100%; height: auto; display: block; }
.shot .ph { aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
  background: var(--panel); color: var(--dim); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 20px; }
.shot .cap { padding: 12px 16px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); border-top: 1px solid var(--line); }
.phone { width: 258px; margin: 0 auto; border: 9px solid var(--ink); border-radius: 34px; overflow: hidden; box-shadow: 0 16px 44px rgba(15,39,64,.22); background: var(--ink); }
.phone img { width: 100%; height: auto; display: block; }
.phone .ph { aspect-ratio: 9/19; display: flex; align-items: center; justify-content: center; background: var(--panel);
  color: var(--dim); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 16px; }

/* ---- prose ---- */
.prose { max-width: 72ch; margin: 0 auto; }
.prose p { margin: 0 0 18px; color: var(--body); font-size: 17.5px; line-height: 1.78; }
.prose h2 { font-size: 31px; margin: 44px 0 14px; color: var(--ink); font-weight: 600; }
.prose h3 { font-size: 23px; margin: 32px 0 10px; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; color: var(--body); }
.prose li { margin: 9px 0; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose blockquote { margin: 26px 0; padding: 8px 24px; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink); }
.prose .verse { font-style: italic; color: var(--clay); }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); margin: 22px 0; }

/* ---- article header ---- */
.article-head { background: var(--panel); border-bottom: 1px solid var(--line); }
.article-head .wrap { padding: 52px 22px 44px; max-width: 78ch; }
.article-head .tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin: 0 0 16px; }
.article-head h1 { font-size: 44px; margin: 0 0 14px; line-height: 1.1; font-weight: 600; }
.article-head .byline { color: var(--dim); font-size: 13px; letter-spacing: .04em; }

/* ---- blog index ---- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: box-shadow .14s, transform .14s; }
.post:hover { box-shadow: 0 14px 34px rgba(15,39,64,.13); transform: translateY(-2px); }
.post .thumb { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; font-style: italic; text-align: center; padding: 18px; background: linear-gradient(145deg, var(--ink), #21455f 70%, var(--sage)); color: #f4e9d2; }
.post .pbody { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.post .cat { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin: 0 0 10px; }
.post h3 { font-size: 21px; margin: 0 0 10px; line-height: 1.25; min-height: 2.5em; }
.post p { color: var(--body); font-size: 14.5px; margin: 0 0 16px; flex: 1; line-height: 1.6; }
.post .more { font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }

/* ---- pricing ---- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; display: flex; flex-direction: column; }
.plan.featured { border: 1px solid var(--gold); box-shadow: 0 16px 44px rgba(15,39,64,.12); position: relative; }
.plan .tagpill { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--sage); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 26px; margin: 0 0 6px; }
.plan .who { color: var(--dim); font-size: 14px; margin: 0 0 18px; min-height: 40px; line-height: 1.5; }
.plan .price { font-size: 44px; font-family: var(--serif); margin: 0; color: var(--ink); }
.plan .price .cur { font-size: 24px; vertical-align: 12px; color: var(--dim); margin-right: 1px; }
.plan .price small { font-size: 15px; color: var(--dim); font-family: var(--sans); }
.plan .price-note { color: var(--dim); font-size: 12.5px; margin: 6px 0 20px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; }
.plan ul li { padding: 10px 0 10px 26px; position: relative; font-size: 14.5px; color: var(--body); border-top: 1px solid var(--line); }
.plan ul li:first-child { border-top: none; }
.plan ul li::before { content: "\2013"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* ---- FAQ accordion ---- */
.faq { max-width: 80ch; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 21px; padding: 22px 40px 22px 0; list-style: none; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; color: var(--clay); font-size: 26px; font-weight: 300; }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 0 22px; color: var(--body); max-width: 68ch; }
.faq .ans p { margin: 0 0 12px; line-height: 1.72; }
.faq h3.group { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin: 42px 0 8px; font-weight: 600; }
.faq h3.group:first-child { margin-top: 0; }

/* ---- CTA band ---- */
.cta-band { background: var(--ink); color: #e6ecf1; text-align: center; }
.cta-band .wrap { padding: 66px 22px; max-width: 720px; }
.cta-band h2 { color: #fff; font-size: 38px; margin: 0 0 14px; font-weight: 600; }
.cta-band p { font-size: 18px; opacity: .84; margin: 0 auto 28px; }
.cta-band .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- content helpers ---- */
.callout { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 28px 0; }
.callout p { margin: 0; color: var(--body); }
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 26px 0; }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tier .lvl { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); }
.tier h4 { margin: 6px 0 8px; font-size: 20px; }
.tier p { margin: 0; color: var(--body); font-size: 14.5px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }

/* ---- footer ---- */
footer.site { background: var(--ink); color: rgba(230,236,241,.78); padding: 56px 0 40px; }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
footer.site .brand { color: #fff; }
footer.site .brand .amp { color: var(--gold); }
footer.site .brand .accentword { color: #fff; }
footer.site .blurb { font-size: 14px; margin: 14px 0 0; max-width: 42ch; line-height: 1.7; }
footer.site h5 { color: #fff; font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site ul li { margin: 9px 0; }
footer.site a { color: rgba(230,236,241,.78); text-decoration: none; font-size: 14px; }
footer.site a:hover { color: #fff; }
footer.site .sitecopy { border-top: 1px solid rgba(255,255,255,.14); margin: 36px 0 0; padding-top: 22px; font-size: 13px; color: rgba(230,236,241,.75); letter-spacing: .02em; }
footer.site .scripture-credit { margin: 10px 0 0; font-size: 11.5px; line-height: 1.6; color: rgba(230,236,241,.5); max-width: 90ch; font-style: italic; }
footer.site .legal { margin-top: 16px; padding-top: 4px; font-size: 12px; opacity: .62; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; letter-spacing: .02em; }
footer.site .legal-links a { color: rgba(230,236,241,.78); text-decoration: none; }
footer.site .legal-links a:hover { color: #fff; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 22px 18px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a.cta { border: 1px solid var(--sage); text-align: center; margin-top: 12px; width: 100%; }
  .nav-toggle { display: block; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .tiers { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero.split { grid-template-columns: 1fr; gap: 34px; padding: 46px 0; }
  .hero h1 { font-size: 40px; }
  .pagehead h1 { font-size: 35px; }
  .section-head h2 { font-size: 29px; }
  .features, .features.two { grid-template-columns: 1fr; }
  .split, .split.wide-text, .two-col { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; gap: 26px; }
  .article-head h1 { font-size: 32px; }
  body { font-size: 16px; }
}
