/* Porchlight Suite, "Morning Porch": cream, butter yellow, sky blue and lilac. See design/porchlight-hq.html. */
:root {
  --bg: #fbf8f1;
  --bg-soft: #edf0e4;
  --surface: #fffffc;
  --text: #2f3a36;
  --muted: #5f6b66;
  --faint: #87918d;
  --line: rgba(47, 58, 54, 0.12);
  --accent: #8a6a10;
  --accent-ink: #2f6479;
  --butter: #f4c95d;
  --sky: #9cc3d5;
  --lilac: #b9a7d3;
  --pine: #2f3a36;
  --on-pine: #fbf8f1;
  --shadow: 0 30px 70px -30px rgba(47, 58, 54, 0.28), 0 8px 24px -14px rgba(47, 58, 54, 0.16);
  --radius: 16px;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  color-scheme: light;
}
/* Dark "after dusk": only when the visitor picks it with the header toggle. Light is the default. */
:root[data-theme="dark"] {
  --bg: #1d2a2b;
  --bg-soft: #253536;
  --surface: #2a3b3c;
  --text: #f3f1e8;
  --muted: #b4c1be;
  --faint: #84918e;
  --line: rgba(243, 241, 232, 0.12);
  --accent: #f6d47a;
  --accent-ink: #a9d0e0;
  --butter: #f6d47a;
  --sky: #a9d0e0;
  --lilac: #c9bbe0;
  --pine: #f3f1e8;
  --on-pine: #1d2a2b;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

h1, h2 { font-variation-settings: "SOFT" 100, "WONK" 1; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 680px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(170%) blur(14px); -webkit-backdrop-filter: saturate(170%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; flex: none; overflow: visible; }
.brand-mark .halo { fill: var(--butter); opacity: 0.3; }
.brand-mark .ink { fill: var(--text); }
.brand-mark .roof { stroke: var(--text); stroke-width: 1.5; stroke-linejoin: round; }
.brand-mark .ink-line { stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; }
.brand-mark .glass { fill: var(--surface); stroke: var(--text); stroke-width: 2.6; }
.brand-mark .flame { fill: var(--butter); }
.wordmark { font: 500 22px/1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -0.02em; }
.wordmark small { display: block; margin-top: 3px; font: 600 9.5px/1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 2px; font-size: 14.5px; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 7px 11px; border-radius: 99px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: var(--bg-soft); }
.theme-toggle { display: grid; place-items: center; width: 36px; height: 36px; margin-left: 4px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; }
.theme-toggle:hover { background: var(--bg-soft); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (max-width: 560px) { .site-nav .hide-sm { display: none; } .site-nav a { padding: 7px 8px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: transform 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pine); color: var(--on-pine); }
.btn-ghost { color: var(--text); background: var(--surface); border: 1px solid var(--line); }
.product-panel { padding: 36px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.store-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin: 26px 0 0; }
.store-item { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 170px; }
.store-badge { display: flex; align-items: center; justify-content: center; width: 170px; height: 52px; text-decoration: none; transition: transform 0.15s; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge img { display: block; width: 100%; height: 100%; object-fit: contain; }
.store-item.is-soon .store-badge img { opacity: 0.4; filter: grayscale(1); }
.store-note { font: 600 12px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.next { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 15px; }
@media (max-width: 640px) { .product-panel { padding: 24px 20px; border-radius: 22px; } .store-row { gap: 22px; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-row.left { justify-content: flex-start; align-items: center; margin-top: 8px; }
.fine-print { color: var(--faint); font-size: 14px; }

/* ---------- Home ---------- */
section { padding: 72px 0; }
h2 { font: 500 clamp(28px, 3.6vw, 40px)/1.12 var(--serif); letter-spacing: -0.015em; margin: 0 0 12px; }

.hero { padding: 80px 0 64px; text-align: center; }
.hero h1 { font: 500 clamp(40px, 6vw, 64px)/1.04 var(--serif); letter-spacing: -0.02em; margin: 0 auto 20px; max-width: 13em; }
.hero .lede { font-size: clamp(18px, 2.2vw, 20px); color: var(--muted); max-width: 34em; margin: 0 auto 30px; }
.hero-shot { margin: 56px auto 0; width: min(280px, 72vw); }
.hero-shot img { width: 100%; height: auto; border-radius: 34px; border: 1px solid var(--line); box-shadow: var(--shadow); }

.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.product-head { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.product-icon { width: 96px; height: 96px; border-radius: 22px; flex: none; box-shadow: 0 14px 30px -14px rgba(47, 58, 54, 0.45); }
.product-head h2 { margin: 0 0 4px; font-size: clamp(36px, 5vw, 48px); }
.status { color: var(--accent-ink); font-weight: 600; font-size: 15px; margin: 0; }
.intro { max-width: 40em; color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; font-size: 15.5px; }
.ticks li { position: relative; padding-left: 20px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; border-radius: 2px; background: var(--accent-ink); }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shots figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.clip { margin: 56px auto 0; width: min(300px, 72vw); }
.clip video { width: 100%; height: auto; border-radius: 34px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.clip figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.5; text-align: center; }

@media (max-width: 860px) {
  .shots { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .product-head { flex-direction: column; text-align: center; }
  .product-icon { width: 84px; height: 84px; }
  .ticks { grid-template-columns: 1fr; }
  .cta-row.left { justify-content: center; }
  .shots { grid-template-columns: 1fr; max-width: 300px; margin-inline: auto; }
}

/* ---------- The suite ---------- */
.suite { border-top: 1px solid var(--line); }
.suite-list { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; display: grid; gap: 0; }
.suite-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.suite-list li:last-child { border-bottom: 1px solid var(--line); }
.suite-list h3 { font: 600 19px/1.3 var(--sans); margin: 4px 0 6px; }
.suite-list p { margin: 0; color: var(--muted); }
.suite-list .status { font-size: 13.5px; font-weight: 600; color: var(--accent-ink); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.plan h3 { font: 500 28px/1.1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; margin: 0 0 4px; }
.plan .who { color: var(--muted); font-size: 15px; margin: 0 0 18px; min-height: 3em; }
.plan .price { font: 500 40px/1 var(--serif); margin: 0; }
.plan .per { color: var(--muted); font-size: 14.5px; margin: 6px 0 18px; }
.plan .ticks { grid-template-columns: 1fr; align-content: start; flex: 1; margin-bottom: 0; }
.plan .fine { color: var(--faint); font-size: 13.5px; line-height: 1.45; margin: 16px 0 0; }
.plain { max-width: 760px; margin: 32px auto 0; padding: 24px 26px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.plain h3 { font: 600 17px/1.3 var(--sans); margin: 0 0 12px; }
.plain .ticks { grid-template-columns: 1fr; margin: 0; color: var(--muted); }
.plain .ticks li::before { top: 0.72em; }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .plan .who { min-height: 0; } }

/* ---------- About ---------- */
.about { border-top: 1px solid var(--line); }
.about p { color: var(--muted); font-size: 17.5px; margin: 0 0 16px; }
.about .sign { color: var(--accent-ink); font-family: var(--hand); font-size: 24px; margin-top: 24px; }

/* ---------- Document pages ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font: 500 clamp(40px, 6vw, 56px)/1.05 var(--serif); letter-spacing: -0.02em; margin: 10px 0 10px; }
.doc .updated { color: var(--faint); font-size: 14px; margin: 0 0 32px; }
.doc .lede { font-size: 19px; color: var(--muted); }
.doc h2 { font: 650 19px/1.3 var(--sans); letter-spacing: -0.01em; margin: 38px 0 8px; }
.doc h3 { font: 600 16.5px/1.4 var(--sans); margin: 22px 0 4px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); font-weight: 600; }
.doc ol { color: var(--muted); padding-left: 22px; margin: 14px 0 22px; }
.doc ol li { margin: 6px 0; }
.doc .sign { color: var(--accent-ink); font-family: var(--hand); font-size: 24px; margin-top: 28px; }
.doc .summary { padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.doc .summary p { margin: 0; color: var(--text); }
details.faq { border-top: 1px solid var(--line); padding: 14px 0; }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; color: var(--accent-ink); font-weight: 700; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; }

/* ---------- Verse page ---------- */
.verse { margin: 64px 0 0; padding: 0; }
.verse p { font: 500 clamp(22px, 3vw, 28px)/1.45 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--text); margin: 0; }
.verse footer { margin-top: 20px; color: var(--muted); font-size: 15px; font-weight: 600; }
.psalm .back { margin-top: 56px; font-size: 15px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 26px; padding-bottom: 40px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
@media (max-width: 600px) { .wrap { padding: 0 16px; } .doc { padding: 44px 16px 72px; } section { padding: 56px 0; } .hero { padding: 56px 0 48px; } }
