/* iTestify: clean, minimal look. Geist + Geist Mono, white surfaces, thin grey borders,
   blue only for primary actions, no shadows. */
:root {
  --ink: #0F1A26; --ink-2: #3B4552; --muted: #5B6675;
  --line: #E4E7EC; --line-2: #D0D5DD; --alt: #F9FAFB; --soft: #F2F4F7;
  --primary: #684982; --primary-dark: #523869; --primary-pale: #EDE8F3;  /* the one brand colour: purple */
  --page: #F4F2F7; --footer: #201526;
  --ok: #14532D; --ok-bg: #E6F4EC; --err: #912018; --err-bg: #FEE4E2; --warn: #7A4B00; --warn-bg: #FEF0C7;
  --font: Outfit, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { background: var(--page); }
body { margin: 0; color: var(--ink); background: var(--page); font: 400 16px/1.5 var(--font); -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-family: var(--font); font-weight: 600; margin: 0; line-height: 1.2; letter-spacing: -.3px; }
a { color: var(--primary); } a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
.sr { position: absolute; left: -9999px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.mono { font-family: var(--mono); }

/* ---- header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.brand-name { font-weight: 600; font-size: 17px; letter-spacing: -.3px; }
.nav { display: none; gap: 2px; font-size: 14px; font-weight: 500; }
.nav a { height: 36px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; display: flex; align-items: center; }
.nav a:hover { background: var(--alt); color: var(--ink); }
.nav a[aria-current] { background: var(--soft); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.signin { height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 500; display: flex; align-items: center; text-decoration: none; background: #fff; }
.signin:hover { background: var(--alt); color: var(--ink); }
.badge { background: var(--primary); color: #fff; border-radius: 10px; padding: 0 7px; font: 500 12px/18px var(--mono); }
details.menu { position: relative; }
details.menu summary { list-style: none; cursor: pointer; height: 36px; padding: 0 12px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
details.menu summary::-webkit-details-marker { display: none; }
details.menu .pop { position: absolute; right: 0; top: 42px; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(15, 26, 38, .10); padding: 4px; z-index: 20; display: flex; flex-direction: column; }
.pop a, .pop button { padding: 9px 10px; border-radius: 6px; text-decoration: none; color: var(--ink); font: 500 14px var(--font); background: none; border: 0; text-align: left; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; width: 100%; }
.pop a:hover, .pop button:hover { background: var(--soft); }

/* ---- buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--primary); border-radius: 8px; font: 500 15px var(--font); text-decoration: none; cursor: pointer; background: var(--primary); color: #fff; }
.btn:hover { color: #fff; background: var(--primary-dark); border-color: var(--primary-dark); }
.btn.ghost, .btn.white, .btn.sky { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover, .btn.white:hover, .btn.sky:hover { background: var(--alt); color: var(--ink); border-color: var(--line-2); }
.btn.danger { background: #fff; color: var(--err); border-color: var(--line-2); } .btn.danger:hover { background: var(--err-bg); color: var(--err); border-color: var(--line-2); }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn.block { width: 100%; }
.btn .short { display: none; }
.link-btn { background: none; border: 0; padding: 0 12px; min-height: 44px; color: var(--muted); font: 500 13px var(--font); cursor: pointer; }
.link-btn:hover { color: var(--ink); }
form.stack { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, legend { font-size: 14px; font-weight: 500; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=search], textarea, select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: 400 15px var(--font); color: var(--ink); }
textarea { padding: 10px 12px; line-height: 1.5; resize: vertical; min-height: 140px; }
select { padding-right: 8px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
input[type=file] { font: 500 14px var(--font); padding: 10px; border: 1px dashed var(--line-2); border-radius: 8px; background: var(--alt); width: 100%; color: var(--ink-2); }
.hint { font-size: 13px; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices.grid2 { display: flex; flex-direction: column; gap: 8px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
/* radio cards (visibility, approval mode) */
.choice.box span.pill { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; cursor: pointer; width: 100%; text-align: left; font-weight: 500; font-size: 15px; }
.choice.box span.pill .dot { width: 16px; height: 16px; flex: none; border: 1px solid #98A2B3; border-radius: 50%; }
.choice.box span.pill .txt { display: flex; flex-direction: column; gap: 2px; }
.choice.box span.pill small { font-weight: 400; font-size: 13px; color: var(--muted); }
.choice.box input:checked + span.pill { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.choice.box input:checked + span.pill .dot { border: 5px solid var(--primary); }
/* segmented control (name display) */
.choices.row { flex-wrap: nowrap; padding: 3px; border-radius: 8px; background: var(--soft); gap: 2px; }
.choice.row { flex: 1; }
.choice.row span.pill { display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 6px; font: 500 13px var(--font); color: var(--muted); cursor: pointer; padding: 0 6px; text-align: center; }
.choice.row input:checked + span.pill { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 26, 38, .10); }
.choice input:focus-visible + span.pill { outline: 2px solid var(--primary); outline-offset: 1px; }

/* ---- cards & chips */
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); font: 400 12px var(--mono); text-transform: uppercase; text-decoration: none; }
a.chip:hover { background: var(--alt); color: var(--ink); }
.chip.cat, .chip.alt { background: #fff; }
.chip.chan { background: var(--primary); color: #fff; border-color: var(--primary); font: 600 13px var(--font); text-transform: none; gap: 6px; padding: 0 10px 0 8px; }
.chip.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; } .chip.err { background: var(--err-bg); color: var(--err); border-color: transparent; } .chip.warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.card .chip { height: 24px; font-size: 11px; padding: 0 8px; }
.feed { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.t-card { display: flex; flex-direction: column; gap: 6px; padding: 14px; color: var(--ink); text-decoration: none; height: 100%; }
.t-card:hover { color: var(--ink); border-color: var(--line-2); background: var(--alt); }
.t-card .t-meta { font: 400 11px var(--mono); color: var(--muted); text-transform: uppercase; }
.t-card .t-meta strong { font-weight: 600; color: var(--ink); }
.t-card h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.1px; }
.t-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.t-card .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 2px; }
.empty { text-align: center; color: var(--ink-2); padding: 28px 16px; font-size: 15px; }
.empty.card { border-style: dashed; border-color: var(--line-2); }
.feed-sentinel { height: 1px; }
.feed-status { margin: 14px 0 0; text-align: center; font: 400 12px var(--mono); color: var(--muted); min-height: 20px; }
.feed-status button { font: 500 13px var(--font); }
.to-top { display: inline-block; margin-bottom: 12px; font-size: 13px; font-weight: 500; }

/* ---- hero & page heads */
.hero { padding: 28px 0 8px; }
.hero .wrap { display: flex; flex-direction: column; gap: 8px; }
.hero h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.8px; }
.hero .eyebrow { order: 2; margin: 0; font: 400 12px var(--mono); color: var(--muted); }
.hero p.lead, .hero .actions { display: none; }
.channel-hero { background: var(--alt); border-bottom: 1px solid var(--line); }
.channel-hero .wrap { padding-top: 24px; padding-bottom: 22px; display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.channel-top { display: flex; align-items: center; gap: 12px; }
.logo-tile { width: 56px; height: 56px; flex: none; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; font: 600 20px var(--font); overflow: hidden; }
.channel-hero h1 { font-size: 24px; letter-spacing: -.6px; }
.channel-hero .url { font: 400 12px var(--mono); color: var(--muted); }
.channel-hero .desc { color: var(--ink-2); margin: 0; font-size: 15px; line-height: 1.55; max-width: 62ch; }
.verified { display: flex; align-items: center; gap: 5px; color: var(--ink-2); font-size: 13px; margin: 4px 0 0; }

/* ---- layout */
.page { padding-top: 20px; padding-bottom: 48px; }
.layout { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; }
.layout aside { flex: 1 1 200px; max-width: 230px; display: none; flex-direction: column; gap: 2px; }
.layout main { flex: 999 1 560px; min-width: 0; }
.aside-h { margin: 0 0 8px; padding: 0 10px; font: 500 11px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0; }
.side-link { display: flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 6px; font: 500 14px var(--font); color: var(--ink-2); text-decoration: none; }
.side-link:hover { background: var(--alt); color: var(--ink); }
.side-link[aria-current] { background: var(--soft); color: var(--ink); }
.cat-strip { display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px 2px; margin: 0 -16px; scrollbar-width: none; }
.cat-strip a { flex: none; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); font: 500 13px var(--font); display: flex; align-items: center; text-decoration: none; }
.cat-strip a[aria-current] { background: var(--primary); color: #fff; border-color: var(--primary); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 20px 0 10px; }
.section-head h1, .section-head h2 { font-size: 16px; }
.section-head .hint, .section-head .mobile-only { font: 400 12px var(--mono); color: var(--muted); }
.section-head .hint { display: none; }
.section-head .mobile-only { font: 500 14px var(--font); color: var(--primary); text-decoration: none; }

/* ---- testimony */
.article { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.article h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.8px; }
.author-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.author-row strong { font-weight: 500; }
.author-row .hint { font: 400 12px var(--mono); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--ink); font: 600 13px var(--font); display: flex; align-items: center; justify-content: center; flex: none; }
.body-text { font-size: 17px; line-height: 1.65; color: #1F2933; display: flex; flex-direction: column; gap: 14px; }
.body-text p { margin: 0; }
.photos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.photos img { width: 100%; border: 1px solid var(--line); border-radius: 10px; object-fit: cover; max-height: 460px; background: var(--alt); }
.react-block { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.react-block > strong { font-size: 14px; font-weight: 500; }
.reactions { display: flex; gap: 8px; }
.reactions form { display: contents; }
.reactions button, .reactions a { flex: 1; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font: 400 12px var(--mono); color: var(--ink); text-decoration: none; }
.reactions button:hover, .reactions a:hover { background: var(--alt); }
.reactions button[aria-pressed=true] { background: var(--primary-pale); border-color: var(--primary); }
.reactions .emoji { font-size: 17px; line-height: 1; }

/* ---- flash & notes */
.flashes { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; }
.flash { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: var(--alt); }
.flash.ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); } .flash.error { background: var(--err-bg); border-color: transparent; color: var(--err); }
.note { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--alt); font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* ---- admin, lists */
.stack-list { display: flex; flex-direction: column; gap: 10px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.actions-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form input[type=text], .inline-form input[type=email], .inline-form select { flex: 1 1 160px; }
.narrow { max-width: 440px; margin: 0 auto; }
.narrow h1 { font-size: 26px; margin-bottom: 16px; letter-spacing: -.6px; }
.tabs { display: flex; gap: 2px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs a { padding: 0 12px; border-radius: 8px; font: 500 14px var(--font); text-decoration: none; color: var(--ink-2); min-height: 36px; display: flex; align-items: center; }
.tabs a:hover { background: var(--alt); }
.tabs a[aria-current] { background: var(--soft); color: var(--ink); }

/* ---- footer */
.site-footer { margin-top: 24px; background: var(--alt); border-top: 1px solid var(--line); }
.site-footer .foot-center { padding-top: 36px; padding-bottom: 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.foot-center .brand { margin: 0; }
.foot-tag { margin: 0; max-width: 46ch; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.foot-quote { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.foot-quote cite { font: 400 11px var(--mono); font-style: normal; margin-left: 4px; white-space: nowrap; }
.foot-base { border-top: 1px solid var(--line); }
.foot-base .wrap { padding-top: 14px; padding-bottom: 14px; font-size: 13px; color: var(--muted); text-align: center; }

.mobile-only { display: inline; }
@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .nav { display: flex; }
  .btn .short { display: none; }
  .feed { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
  .t-card { padding: 18px; gap: 8px; } .t-card h3 { font-size: 18px; } .t-card p { line-height: 1.55; }
  .section-head .mobile-only { display: none; }
  .section-head .hint { display: inline; }
  .section-head h1, .section-head h2 { font-size: 20px; letter-spacing: -.3px; }
  .section-head { margin-top: 0; }
  .brand-mark { width: 28px; height: 28px; } .brand-name { font-size: 18px; }
  .signin { height: 38px; padding: 0 14px; } .header-actions .btn.small { min-height: 38px; padding: 0 14px; }
  .hero { background: var(--alt); border-bottom: 1px solid var(--line); padding: 0; }
  .hero .wrap { padding-top: 56px; padding-bottom: 48px; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .hero .hero-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 12px; }
  .hero .eyebrow { order: 0; }
  .hero h1 { font-size: 48px; line-height: 1.05; letter-spacing: -1.6px; max-width: 16ch; }
  .hero p.lead { display: block; margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
  .hero .actions { display: flex; gap: 8px; flex-wrap: wrap; }
  .page { padding-top: 36px; padding-bottom: 64px; }
  .channel-hero .wrap { padding-top: 40px; padding-bottom: 36px; }
  .channel-hero h1 { font-size: 28px; }
}
@media (min-width: 960px) {
  .layout aside { display: flex; }
  .cat-strip { display: none; }
}
@media (max-width: 719px) {
  .btn .long { display: none; } .btn .short { display: inline; }
  .hero .actions { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .t-card, .btn, .signin { transition: background-color .12s, border-color .12s; }
}

/* ---- feedback page */
.narrow.feedback { max-width: 600px; }
.lead-in { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin: 0 0 22px; }
.q { display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; min-width: 0; }
.q legend, .q .legend { font-size: 15px; font-weight: 500; line-height: 1.4; padding: 0; margin: 0 0 4px; }
.opt-tag { font: 400 12px var(--mono); color: var(--muted); margin-left: 4px; }
.opt { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; min-height: 44px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 15px; cursor: pointer; background: #fff; }
.opt:hover { background: var(--alt); }
.opt input { margin: 3px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--primary); }
.opt:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); background: var(--primary-pale); }
.scale-wrap { display: flex; flex-direction: column; gap: 6px; }
.scale-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.field-error { margin: 0; font-size: 13px; color: var(--err); font-weight: 500; }
.q:has(.field-error) .opt, .q:has(.field-error) .choices { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.progress { position: sticky; top: 0; z-index: 5; height: 4px; background: var(--soft); border-radius: 2px; margin: -6px 0 0; }
.progress span { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 2px; transition: width .2s; }
.thanks { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 24px; }
.thanks-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; }
.thanks h1 { margin: 0; }

/* Inline links: the brand green is dark, so underline them to stay recognisable. */
p a, .hint a, .note a, .flash a, .lead-in a { text-decoration: underline; text-underline-offset: 2px; }

/* ---- similar testimonies (bottom of a testimony page) */
.related { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { font-size: 18px; margin-bottom: 14px; }
@media (min-width: 720px) { .related h2 { font-size: 20px; } }

/* team overview */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
a.stat:hover { background: var(--alt); }
.stat span { font: 400 12px var(--mono); text-transform: uppercase; color: var(--muted); }
.stat strong { font: 600 28px var(--font); }
.stat em { font: 400 12px var(--mono); color: var(--muted); font-style: normal; }
.activity { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.activity .a-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.activity .a-text a { color: inherit; }

/* long unbroken strings (links, pasted text) wrap instead of running off the page */
.body-text, .body-text p, .t-card h3, .t-card p, .page h1, .review-body { overflow-wrap: anywhere; min-width: 0; }


/* ================= design v4 (iTestify Core Screens): grey page, green accents, spotlight, image cards ================= */
.site-header { background: #fff; }
.brand-name { color: var(--primary); font-weight: 700; }
.brand:hover .brand-name { color: var(--primary-dark); }
.nav a[aria-current] { background: var(--soft); }
.card, .opt, .reactions button, .reactions a, input[type=text], input[type=email], input[type=password], input[type=url], input[type=search], textarea, select { background: #fff; }
h1, h2, h3 { letter-spacing: -.3px; }
.section-head h1, .section-head h2, .related h2 { color: var(--primary); }
.section-head .mobile-only { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.hero { background: var(--page); border-bottom: 0; }

/* category chips and sidebar */
.cat-strip a { background: #fff; border-color: var(--line); }
.cat-strip a[aria-current] { background: var(--primary); border-color: var(--primary); color: #fff; }
.side-link[aria-current] { background: #E9EAEE; }
.aside-h { color: var(--muted); }

/* spotlight */
.spot-wrap { padding-top: 16px; }
.spotlight { position: relative; overflow: hidden; border-radius: 16px; min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background: linear-gradient(180deg, #5D6A72 0%, #261F2F 70%); isolation: isolate; }
.spotlight::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(38, 31, 47, 0) 20%, rgba(38, 31, 47, .88) 72%, #261F2F 100%); }
.spot-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.spot-tag { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; background: #fff; color: var(--ink); font: 500 12px var(--mono); letter-spacing: .3px; }
.spot-body { padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.spot-meta { margin: 0; font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .4px; color: rgba(255, 255, 255, .85); }
.spot-meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.spotlight h2 { font-size: 30px; line-height: 1.12; letter-spacing: -.8px; color: #fff; overflow-wrap: anywhere; }
.spot-excerpt { margin: 0; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .92); max-width: 60ch; }
.spot-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; color: rgba(255, 255, 255, .9); margin-top: 6px; }
.spot-actions { display: flex; gap: 8px; margin-left: auto; }
.spotlight .btn.white { background: #fff; color: var(--ink); border-color: #fff; }
.spotlight .btn.white:hover { background: #F0F2F4; color: var(--ink); }
.spot-ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.spot-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* testimony cards: list rows on a phone, picture-led grid on bigger screens */
.feed { display: flex; flex-direction: column; gap: 0; grid-template-columns: none; }
.t-card { display: flex; flex-direction: row; gap: 14px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; height: auto; color: var(--ink); text-decoration: none; }
.t-card:hover { background: transparent; color: var(--ink); }
.t-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.t-thumb { flex: none; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: #E6E7EB; color: #9AA0A8; display: flex; align-items: center; justify-content: center; }
.t-thumb img { width: 100%; height: 100%; object-fit: cover; }
.t-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.t-card h3 { color: var(--primary); font-size: 17px; line-height: 1.25; font-weight: 600; }
.t-card p { font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-card .meta { margin-top: 2px; padding: 0; justify-content: flex-start; gap: 6px; font-size: 13px; }
.t-card .meta span + span::before { content: "· "; }
@media (min-width: 720px) {
  .feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }
  .t-card { flex-direction: column; gap: 12px; padding: 0; border: 0; }
  .t-thumb { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 12px; }
  .t-card h3 { font-size: 18px; }
  .t-card p { -webkit-line-clamp: 3; }
}
/* channel page: boxed text cards, no pictures */
.feed.boxed { display: flex; flex-direction: column; gap: 10px; }
.feed.boxed .t-card { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.feed.boxed .t-thumb { display: none; }
@media (min-width: 720px) { .feed.boxed { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; } }
.related .feed { margin-top: 4px; }

/* testimony page */
.app-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; background: #fff; border-bottom: 1px solid var(--line); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink); border-radius: 8px; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.icon-btn.done { color: var(--primary); }
.article h1 { color: var(--primary); letter-spacing: -.6px; }
.reactions button, .reactions a { background: #fff; font-family: var(--mono); font-size: 14px; }
.reactions button[aria-pressed=true] { background: var(--primary-pale); border-color: var(--primary); color: var(--primary-dark); }
.link-btn { display: inline-flex; align-items: center; }
@media (min-width: 720px) { .app-bar { display: none; } }

/* channel page */
.channel-hero { background: var(--page); border-bottom: 1px solid var(--line); }
.channel-hero h1 { color: var(--primary); }
.channel-hero .btn { width: 100%; }
@media (min-width: 720px) { .channel-hero .btn { width: auto; align-self: flex-start; } }

/* share form */
.form-bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 6px 8px; background: #fff; border-bottom: 1px solid var(--line); text-align: center; }
.form-bar strong { font-size: 16px; font-weight: 600; }
@media (min-width: 720px) { .form-bar { display: none; } }
@media (max-width: 719px) { .narrow > h1 { display: none; } }
.drop { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px dashed var(--line-2); border-radius: 10px; background: transparent; color: var(--ink); font: 500 15px var(--font); cursor: pointer; }
.drop:hover { background: #fff; }
.field:has(.drop-input) { position: relative; }
.drop-input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; overflow: hidden; }
.drop-input:focus-visible + .hint, .field:has(.drop-input:focus-visible) .drop { outline: 2px solid var(--primary); outline-offset: 2px; }
.choice.row input:checked + span.pill { color: var(--ink); }
.request-box { padding: 0; border: 0; background: transparent; }
.request-box > summary { list-style: none; cursor: pointer; }
.request-box > summary::-webkit-details-marker { display: none; }
.request-box[open] > summary { margin-bottom: 12px; }
.request-box form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }

/* footer: solid green with link columns */
.site-footer { margin-top: 40px; background: var(--footer); border-top: 0; color: #fff; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: 36px; padding-bottom: 28px; }
.foot-about { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.site-footer .brand { margin: 0; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name { color: #fff; } .site-footer .now { background: var(--primary-pale); color: var(--ink); }
.site-footer .foot-tag { color: rgba(255, 255, 255, .9); max-width: 40ch; margin: 0; }
.site-footer .foot-quote { color: rgba(255, 255, 255, .8); max-width: 44ch; margin: 0; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-col h2 { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .6px; color: rgba(255, 255, 255, .7); margin: 0 0 2px; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .22); }
.foot-base .wrap { color: rgba(255, 255, 255, .85); text-align: left; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; } .spotlight { min-height: 520px; } .spot-body { padding: 36px 44px 36px; } .spotlight h2 { font-size: 48px; letter-spacing: -1.4px; } .spot-excerpt { font-size: 19px; } .spot-wrap { padding-top: 28px; } }
.article .cover { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 12px; background: #E6E7EB; }

/* channels list */
.back-link { display: inline-flex; align-items: center; gap: 2px; margin: 4px 0 6px; font: 500 15px var(--font); color: var(--primary); text-decoration: none; }
.back-link:hover { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.page-title { font-size: 32px; letter-spacing: -.8px; color: var(--primary); margin: 0 0 6px; }
.page-sub { margin: 0 0 20px; color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 52ch; }
.channel-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.channel-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); text-decoration: none; }
.channel-card:hover { color: var(--ink); border-color: var(--line-2); }
.channel-card:hover h2 { text-decoration: underline; text-underline-offset: 3px; }
.cc-banner { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 6; background: #E6E7EB; color: #9AA0A8; overflow: hidden; }
.cc-banner img { width: 100%; height: 100%; object-fit: cover; }
.cc-top { position: relative; display: block; }
.cc-logo { position: absolute; left: 16px; bottom: -28px; width: 56px; height: 56px; border-radius: 12px; background: var(--primary); color: #fff; border: 3px solid #fff; display: flex; align-items: center; justify-content: center; font: 600 19px var(--font); overflow: hidden; }
.cc-logo img { width: 100%; height: 100%; object-fit: cover; }
.cc-body { display: flex; flex-direction: column; gap: 6px; padding: 36px 18px 16px; }
.cc-body h2 { font-size: 20px; color: var(--primary); letter-spacing: -.3px; }
.cc-church { display: flex; align-items: center; gap: 5px; font-size: 14px; color: var(--ink-2); }
.cc-church svg { color: var(--primary); flex: none; }
.cc-desc { font-size: 15px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: 13px; }
.cc-foot .mono { color: var(--muted); }
.cc-go { color: var(--primary); font: 500 15px var(--font); }
.channel-cta { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.channel-cta h2 { font-size: 18px; color: var(--primary); }
.channel-cta p { margin: 0 0 6px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
@media (min-width: 720px) { .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .page-title { font-size: 40px; } }
@media (min-width: 1040px) { .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== design v5: picture-led cards with a text-card thumbnail, caption and "Read testimony" ===== */
.feed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px 20px; }
.t-card { display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.t-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.t-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #E6E7EB; flex: none; }
.t-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-textcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; padding: 18px 20px; color: #fff; overflow: hidden;
  background: var(--primary); container-type: inline-size; }
.tc-label { display: inline-flex; align-items: center; gap: 7px; font: 500 11px var(--mono); letter-spacing: .7px; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.tc-quote { position: relative; z-index: 1; font: 600 clamp(16px, 5.4cqw, 24px)/1.28 var(--font); letter-spacing: -.3px; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 10px 0; }
.tc-brand { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--font); color: #fff; }
.tc-mark { width: 22px; height: 22px; border-radius: 6px; background: #fff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.tc-water { position: absolute; right: -10px; bottom: -14px; color: rgba(255, 255, 255, .13); line-height: 0; }
.tc-water svg { width: 118px; height: 118px; stroke-width: 1.3; }
.t-body { display: flex; flex-direction: column; gap: 5px; padding: 0 2px; }
.t-card h3 { color: var(--primary); font-size: 20px; line-height: 1.22; }
.t-caption { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.t-card .meta { margin-top: 2px; font-size: 13px; color: var(--muted); display: flex; gap: 6px; }
.t-card .meta span + span::before { content: "· "; }
.read-more { margin-top: 4px; font: 500 14px var(--font); color: var(--primary); }
.t-card:hover .read-more { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 720px) {
  .feed { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px 22px; }
  .t-card { flex-direction: column; gap: 12px; padding: 0; border: 0; }
  .t-thumb { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 14px; }
  .t-card h3 { font-size: 20px; }
  .t-caption { -webkit-line-clamp: 3; }
}
.feed.boxed .t-thumb { display: none; }
.feed.boxed .t-card { gap: 4px; }
.feed.boxed { grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 720px) { .feed.boxed { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; } }

/* channel dashboard */
.dash-eyebrow { padding: 0; margin: 0 0 4px; }
.approve-card { margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.approve-card h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--primary); }
.approve-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.precheck { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.precheck span { display: flex; flex-direction: column; gap: 2px; }
.precheck strong { font-weight: 500; font-size: 16px; }
.precheck small { color: var(--muted); font-size: 13px; }
.switch { position: relative; flex: none; width: 52px; height: 30px; border: 0; border-radius: 999px; background: #C9CDD3; cursor: pointer; padding: 0; transition: background-color .15s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.switch[aria-checked=true] { background: var(--primary); }
.switch[aria-checked=true] i { transform: translateX(22px); }
.seg-tabs { display: flex; gap: 2px; padding: 4px; background: #E9EAEE; border-radius: 12px; margin: 0 0 14px; }
.seg-tabs a { flex: 1; min-height: 40px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4px 6px; border-radius: 9px; font: 500 14px/1.15 var(--font); color: var(--muted); text-decoration: none; }
.seg-tabs a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 26, 38, .12); }
.verdict { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 1.45; }
.verdict strong { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .6px; }
.v-reject { background: #FBE9E7; color: #7A271A; }
.v-unsure { background: #FFF1D6; color: #7A4B00; }
.v-approve { background: #E4F1EC; color: #14532D; }
.done-card { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; }
.done-card h3 { color: var(--primary); font-size: 17px; }
.review-card h3, article.card h3 { color: var(--primary); }
.card h3 a { text-decoration: none; }

/* TestimonyRoom wordmark: lowercase serif "testimony" with a ROOM pill */
.brand-mark { display: none; }
.brand-name { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 27px; letter-spacing: -.5px; line-height: 1; }
.now { font: 700 10px var(--font); letter-spacing: .8px; background: var(--primary); color: #fff; border-radius: 999px; padding: 4px 8px; margin-left: 2px; }
.brand { gap: 6px; }
.tc-mark { display: none; }
.tc-wm { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 20px; letter-spacing: -.3px; }
.t-textcard .now { background: #fff; color: var(--primary); }

.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal-links { display: flex; gap: 18px; }
.legal { max-width: 720px; margin: 0 auto; }
.legal h1 { font-size: 30px; letter-spacing: -.8px; margin: 0 0 6px; }
.legal h2 { font-size: 18px; margin: 28px 0 8px; color: var(--primary); }
.legal p, .legal li { line-height: 1.65; color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal .updated { font: 400 12px var(--mono); color: var(--muted); margin: 0 0 18px; }

.actions { position: relative; border-top: 1px solid var(--line); padding-top: 14px; }
.action-row { display: flex; gap: 8px; }
.pop-wrap { position: static; }
.pop-wrap > summary { list-style: none; }
.pop-wrap > summary::-webkit-details-marker { display: none; }
.action-btn { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font: 500 14px var(--font); cursor: pointer; user-select: none; }
.action-btn:hover, .pop-wrap[open] > .action-btn { border-color: var(--primary); color: var(--primary); }
.action-btn.static { cursor: default; gap: 6px; } .action-btn.static:hover { border-color: var(--line-2); color: var(--ink); }
.action-btn .emoji { font-size: 18px; line-height: 1; }
.pop-panel { position: absolute; left: 0; right: 0; top: calc(100% - 4px); z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(32, 21, 38, .16); padding: 12px; }
.share-panel { display: flex; gap: 14px; overflow-x: auto; padding: 14px 16px; scrollbar-width: none; }
.share-panel::-webkit-scrollbar { display: none; }
.sh { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--ink); text-decoration: none; cursor: pointer; font: 500 13px var(--font); }
.sh[hidden] { display: none; }
.sh i { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-pale); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: background-color .15s; }
.sh:hover i { background: #DED5EA; }
.sh.primary i { background: var(--primary); color: #fff; }
.sh svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sh .lbl { text-align: center; line-height: 1.2; }
.share-note { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); text-align: center; }
.share-note[hidden], .sheet-main[hidden], .sheet-qr[hidden] { display: none; }
.read-time { display: block; font: 400 13px var(--font); color: var(--muted); margin-top: 1px; }
.app-bar { position: relative; } .app-brand { margin: 0; position: absolute; left: 50%; transform: translateX(-50%); }
.app-brand .brand-name { font-size: 24px; }
.actions { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.action-btn { border: 0; background: none; border-radius: 10px; padding: 0 12px; }
.action-btn:hover, .pop-wrap[open] > .action-btn { background: var(--primary-pale); }
.action-btn[aria-pressed], .ico-heart { flex: none; }
.pop-panel { top: calc(100% + 4px); }
.sheet { border: 0; padding: 0; width: 100%; max-width: 480px; margin: auto auto 0; border-radius: 22px 22px 0 0; background: #fff; color: var(--ink); max-height: 92vh; overflow: auto; }
.sheet::backdrop { background: rgba(32, 21, 38, .55); }
.sheet-grip { width: 44px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 10px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 6px; }
.sheet-head h2 { margin: 0; font-size: 19px; }
.sheet-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--primary-pale); color: var(--primary); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sheet-main, .sheet-qr { padding: 8px 20px 24px; }
.link-preview { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--page); }
.link-preview img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; background: var(--primary); }
.lp-text { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px 12px; font-size: 13px; color: var(--ink-2); }
.lp-text strong { font-size: 15px; color: var(--ink); } .lp-domain { color: var(--muted); }
.lp-note { text-align: center; margin: 10px 0 18px; }
.sh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 8px; }
.sheet-qr { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 16px; }
@media (min-width: 720px) { .sheet { margin: auto; border-radius: 22px; } .sheet-grip { display: none; } }
/* feed cards: the whole card is one tap target (stretched link); the share button sits above it */
.t-card { position: relative; }
.t-card .t-link { color: inherit; text-decoration: none; }
.t-card .t-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.t-foot { display: flex; align-items: center; gap: 14px; color: var(--ink-2); font: 500 14px var(--font); }
.t-like { display: inline-flex; align-items: center; gap: 6px; }
.t-share { position: relative; z-index: 2; width: 36px; height: 36px; margin: -6px 0 -6px -4px; border: 0; border-radius: 50%; background: none; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.t-share:hover { background: var(--primary-pale); color: var(--primary); }
.spot-foot .ico-heart { vertical-align: -3px; }
.t-share.done { color: var(--ok); }
.t-like, .action-btn { white-space: nowrap; }
.t-like .count, .action-btn .count { font-variant-numeric: tabular-nums; }

.btn.google { background: #fff; color: var(--ink); border: 1px solid var(--line-2); gap: 10px; }
.btn.google:hover { background: var(--alt); color: var(--ink); }
.or-line { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); font-size: 13px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 10px 30px rgba(32, 21, 38, .22); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-link { color: inherit; padding: 0; min-height: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.spot-admin { display: inline; margin: 0; }

/* On a phone the testimony page has its own top bar (back, logo, share), so the site header would repeat the logo. */
@media (max-width: 719px) { .page-testimony .site-header { display: none; } }

/* Instagram-style like: an outline heart that fills purple with a small pop */
.like-form { margin: 0; }
.action-btn.like .ico-heart { width: 24px; height: 24px; transition: transform .15s; }
.action-btn.like .count { font-size: 15px; }
.action-btn.like:hover { background: transparent; color: var(--ink); }
.action-btn.like:active .ico-heart { transform: scale(.85); }
.action-btn.like.liked, .action-btn.like.liked:hover { color: var(--primary); }  /* the brand purple */
.action-btn.like.liked .count { color: var(--ink); }
.action-btn.like.pop .ico-heart { animation: like-pop .45s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes like-pop { 0% { transform: scale(.7); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .action-btn.like.pop .ico-heart { animation: none; } }

/* =====================================================================================================================
   design v8: Dawn (purple and apricot). Cream page, apricot warmth, mountain skies, rounder shapes.
   Skies by time of day: dawn (healing, answered prayer, restoration), rose (salvation, family, deliverance),
   dusk (protection, guidance), noon (breakthrough, provision). Text on a picture sits on the plum fade or the light sky.
   ===================================================================================================================== */
:root {
  --primary: #6A4A82; --primary-dark: #3B2849; --primary-pale: #EFE4F5;
  --peach: #F3C9A0; --apricot: #E9A47F; --lavender: #E3D4EF; --mauve: #9C7FB4; --plum: #3B2849; --night: #1F1527;
  --page: #FBF6F2; --footer: #1F1527; --alt: #FBF6F2; --soft: #F6ECE5;
  --ink: #1F1527; --ink-2: #4A3F52; --muted: #7A6E80; --line: #EADFDA; --line-2: #DDD0CB;
  --font: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { background: var(--page); color: var(--ink); }
.sc-dawn { --sky: linear-gradient(180deg, #F5D2AB 0%, #EDAE86 100%); }
.sc-rose { --sky: linear-gradient(180deg, #F2C6BA 0%, #E3A2A2 100%); }
.sc-dusk { --sky: linear-gradient(180deg, #DDCBEA 0%, #B9A1CF 100%); }
.sc-noon { --sky: linear-gradient(180deg, #F9E5C5 0%, #F3C9A0 100%); }

/* header and wordmark */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.brand-name { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; color: var(--primary); }
.now { background: linear-gradient(135deg, var(--peach), var(--apricot)); color: var(--plum); font-weight: 700; }
.nav a { border-radius: 999px; }
.nav a[aria-current] { background: #FBE6D6; color: var(--ink); }
.btn { border-radius: 999px; }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn.dark { background: var(--night); border-color: var(--night); color: #fff; }
.btn.dark:hover { background: var(--plum); border-color: var(--plum); color: #fff; }
.signin { border-radius: 999px; }
details.menu summary { border-radius: 999px; padding-left: 5px; }
.avatar-dot { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 600 13px var(--font);
  background: linear-gradient(135deg, var(--peach), var(--apricot)); color: var(--plum); }
.chip, input, select, textarea { border-radius: 14px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=search], textarea, select { background: #fff; border-color: var(--line-2); }

/* footer: a mountain ridge, then night */
.site-footer { position: relative; margin-top: 96px; background: var(--night); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -59px; height: 60px; background: url(footer-ridge.svg) bottom / 100% 100% no-repeat; pointer-events: none; }
.foot-col h2 { color: var(--apricot); }
.site-footer .now { background: linear-gradient(135deg, var(--peach), var(--apricot)); color: var(--plum); }
.foot-base { border-top-color: rgba(255, 255, 255, .12); }

/* the picture behind text cards, spotlight and banners: sky and three ridges */
.t-textcard, .cc-banner, .channel-banner, .t-hero, .spotlight.no-photo { background: var(--sky); }
.t-textcard::before, .cc-banner::before, .channel-banner::before, .t-hero:not(:has(.t-hero-img))::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; background: url(ridge.svg) center bottom / cover no-repeat; pointer-events: none; }

/* testimony text cards */
.t-textcard { position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; width: 100%; height: 100%; padding: 14px 16px; color: var(--night); isolation: isolate; overflow: hidden; container-type: inline-size; }
.t-textcard::before { height: 58%; z-index: -1; }
.tc-label { color: rgba(31, 21, 39, .72); font: 500 11px var(--mono); letter-spacing: .6px; }
.tc-quote { color: var(--night); font: 700 clamp(17px, 6cqw, 27px)/1.18 var(--font); letter-spacing: -.4px; max-width: 94%; }
.tc-brand { margin-top: auto; color: #fff; font: 400 20px var(--font); }
.tc-wm { font-family: 'DM Serif Display', Georgia, serif; font-size: 19px; letter-spacing: -.2px; color: #fff; }
.tc-brand .now { font-size: 8px; padding: 3px 7px; margin-left: 6px; }
.tc-water, .tc-mark { display: none; }
.t-photo-wrap { position: relative; display: block; width: 100%; height: 100%; }
.t-photo-wrap::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(31, 21, 39, .6)); }
.tc-on-photo { position: absolute; left: 16px; bottom: 12px; z-index: 1; margin: 0; }

/* the feed */
.page { background: transparent; }
.feed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px 22px; }
.t-card { display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; border-radius: 0; background: transparent; height: auto; }
.t-card:hover { background: transparent; }
.t-card:hover h3 { text-decoration: none; }
.t-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9.4; border-radius: 22px; overflow: hidden; background: var(--lavender); }
.t-thumb img { width: 100%; height: 100%; object-fit: cover; }
.t-body { gap: 6px; }
.t-card .t-meta { font: 400 11px var(--mono); letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.t-card .t-meta strong { font-weight: 500; color: var(--ink-2); }
.t-card h3 { color: var(--primary); font: 700 21px/1.18 var(--font); letter-spacing: -.4px; }
.t-card .meta { color: var(--muted); font-size: 14px; }
.t-card .t-caption { display: none; }
.t-foot { margin-top: 2px; }
.t-like { padding: 7px 12px 7px 6px; margin-left: -6px; border-radius: 999px; }
.t-card .read-more { margin-left: auto; font: 600 15px var(--font); color: var(--primary); }
.t-card:hover .read-more { text-decoration: none; }
@media (min-width: 720px) {
  .feed { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 24px; }
  .t-thumb { aspect-ratio: 3 / 2; }
  .t-card .t-caption { display: -webkit-box; font-size: 14px; color: var(--ink-2); }
}
.feed.boxed .t-card { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; gap: 6px; }
.feed.boxed .t-thumb { display: none; }
.feed.boxed .t-caption { display: -webkit-box; color: var(--ink-2); }
.feed.boxed h3 { font-size: 19px; }

/* "Your turn" card */
.cta-card { grid-column: 1 / -1; position: relative; border-radius: 22px; padding: 22px 22px 24px; background: linear-gradient(135deg, var(--peach) 0%, #EFB8A0 55%, #D9B7DC 100%); color: var(--night); }
.cta-card small { display: block; font: 500 11px var(--mono); letter-spacing: .8px; text-transform: uppercase; color: rgba(31, 21, 39, .7); }
.cta-card h3 { margin: 8px 0 6px; font: 800 25px/1.12 var(--font); letter-spacing: -.5px; color: var(--night); }
.cta-card p { margin: 0 0 16px; font-size: 16px; color: rgba(31, 21, 39, .82); }
.cta-wide { display: none; }
@media (min-width: 720px) { .cta-phone { display: none; } .cta-wide { display: block; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; } .cta-wide small { width: 100%; margin-bottom: -14px; } .cta-wide h3 { margin: 0; } .cta-wide p { flex: 1; margin: 0; } .cta-wide .btn { margin-left: auto; } }

/* spotlight */
.spotlight { border-radius: 24px; min-height: 480px; background: #3B2849; }
.spotlight.no-photo::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72%; background: url(ridge.svg) center bottom / cover no-repeat; opacity: .6; z-index: -1; }
.spotlight::after { background: linear-gradient(180deg, rgba(31, 21, 39, 0) 28%, rgba(31, 21, 39, .86) 70%, #1F1527 100%); }
.spot-tag { border-radius: 999px; background: #fff; font: 500 12px var(--mono); }
.spot-tag svg { color: var(--apricot); }
.spot-meta { color: var(--peach); }
.spot-meta a { color: var(--peach); }
.spotlight h2 { font: 800 clamp(32px, 9vw, 52px)/1.04 var(--font); letter-spacing: -1.2px; }
.spot-actions .btn { border-radius: 999px; }
.spot-manage { position: absolute; top: 14px; right: 14px; z-index: 2; }
.spot-manage summary { list-style: none; cursor: pointer; height: 30px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; background: rgba(31, 21, 39, .45); color: #fff; font: 500 12px var(--font); backdrop-filter: blur(6px); }
.spot-manage summary::-webkit-details-marker { display: none; }
.spot-manage form { position: absolute; right: 0; top: 36px; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 10px 28px rgba(31, 21, 39, .25); }
.spot-manage button { border: 0; background: none; padding: 10px 14px; font: 500 14px var(--font); color: var(--ink); cursor: pointer; white-space: nowrap; border-radius: 8px; }
.spot-manage button:hover { background: var(--soft); }

/* this week */
.stats-wrap { padding-top: 14px; }
.stat-line { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; }
.stat-line p { margin: 0; font-size: 16px; line-height: 1.35; color: var(--ink); }
.stat-line small { display: block; font: 400 11px var(--mono); letter-spacing: .8px; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.stat-line strong { color: var(--primary); font-weight: 700; }
.stat-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--peach), #EDB4A2); color: var(--plum); }
.stat-ico.lav { background: linear-gradient(135deg, var(--lavender), #CDB7E0); }
.stat-ico .ico-heart { width: 18px; height: 18px; }
.stat-cards { display: none; }
@media (min-width: 720px) {
  .stat-line { display: none; }
  .stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .stat { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px 18px; }
  .stat .stat-ico { grid-row: 1 / 3; width: 44px; height: 44px; }
  .stat b { font: 700 24px/1 var(--font); color: var(--primary); letter-spacing: -.4px; }
  .stat small { font: 400 11px var(--mono); letter-spacing: .7px; text-transform: uppercase; color: var(--muted); }
}

/* category chips and sidebar */
.cat-strip a { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; padding: 0 16px; }
.cat-strip a svg { color: var(--apricot); }
.cat-strip a[aria-current] { background: var(--primary); border-color: var(--primary); color: #fff; }
.cat-strip a[aria-current] svg { color: var(--peach); }
.side-link { display: flex; align-items: center; gap: 10px; border-radius: 14px; }
.side-link svg { color: var(--apricot); flex: none; }
.side-link .dot { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--peach), var(--apricot)); flex: none; }
.side-link[aria-current] { background: #FBE3D3; color: var(--ink); font-weight: 600; }
.section-head h2 { color: var(--primary); font-weight: 700; letter-spacing: -.4px; }

/* testimony page */
.t-hero { position: relative; height: 250px; overflow: hidden; background: var(--sky); }
.t-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(180deg, rgba(251, 246, 242, 0), var(--page)); pointer-events: none; }
.t-hero .t-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-hero::before { height: 60%; }
.t-hero .app-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; background: transparent; border: 0; padding: 10px 12px; }
.t-hero .icon-btn { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .82); color: var(--night); backdrop-filter: blur(6px); }
.t-hero .app-brand { background: rgba(255, 255, 255, .82); border-radius: 999px; padding: 6px 12px 6px 14px; backdrop-filter: blur(6px); }
.t-hero .app-brand .brand-name { font-size: 21px; }
@media (min-width: 720px) { .t-hero { height: 280px; max-width: 1080px; margin: 18px auto 0; border-radius: 28px; } .t-hero::after { display: none; } .t-hero + .page { margin-top: -30px; } }
.article { position: relative; margin-top: -34px; }
.article h1 { font: 800 clamp(34px, 9vw, 46px)/1.04 var(--font); letter-spacing: -1.1px; color: var(--primary); }
.t-top .chip { border-radius: 999px; }
.chip.chan { background: var(--primary); }
.chip.cat { background: #fff; border: 1px solid var(--line); color: var(--ink); font-family: var(--mono); }
.avatar { background: linear-gradient(135deg, var(--peach), #EDB4A2); color: var(--plum); font-weight: 600; }
.read-time { display: block; font: 400 12px var(--mono); letter-spacing: .6px; color: var(--muted); margin-top: 2px; }
.pull { position: relative; margin: 6px 0; padding: 14px 18px 16px; border-radius: 20px; background: linear-gradient(135deg, #F8EAF0, #F6E6DA); font: 700 22px/1.25 var(--font); letter-spacing: -.3px; color: var(--night); }
.pull .qm { position: absolute; top: -6px; left: 14px; font: 800 54px/1 var(--font); color: var(--apricot); }
.pull .qm + * { margin-left: 0; }
.pull { padding-top: 26px; }
.actions { border-color: var(--line); }
.actions .action-row { align-items: center; }
.blessed { margin-left: auto; font: 400 13px var(--mono); color: var(--muted); letter-spacing: .2px; }
.action-btn { color: var(--ink); }
.action-btn.like.liked, .action-btn.like.liked:hover { color: var(--primary); }
.next-pill { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 4px; min-height: 52px; border: 1px solid var(--lavender); border-radius: 999px; color: var(--primary); font: 600 17px var(--font); text-decoration: none; background: transparent; }
.next-pill:hover { background: var(--primary-pale); color: var(--primary); }
.related h2 { color: var(--primary); }

/* channels */
.channel-grid { gap: 16px; }
.channel-card { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.cc-top { position: relative; display: block; }
.cc-banner { position: relative; display: block; width: 100%; height: 104px; overflow: hidden; }
.cc-banner::before { height: 100%; }
.cc-banner svg { display: none; }
.cc-logo { position: absolute; left: 18px; bottom: -26px; z-index: 2; width: 54px; height: 54px; border-radius: 16px; background: #fff; color: var(--primary); box-shadow: 0 4px 14px rgba(31, 21, 39, .18); border: 3px solid #fff; display: flex; align-items: center; justify-content: center; font: 700 17px var(--font); overflow: hidden; }
.cc-body { padding-top: 38px; }
.cc-body h2 { color: var(--primary); }
.channel-cta { border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.channel-banner { position: relative; height: 116px; overflow: hidden; }
.channel-banner::before { height: 100%; }
.channel-hero { background: transparent; border: 0; padding-top: 0; }
.channel-top .logo-tile { margin-top: -34px; position: relative; z-index: 2; border-radius: 18px; box-shadow: 0 4px 14px rgba(31, 21, 39, .16); }
.channel-hero h1 { color: var(--primary); font-weight: 800; letter-spacing: -.8px; }
.verified { color: var(--ink-2); }

/* forms, church dashboard, pre-check */
.seg-tabs { background: #F6E9DF; border-radius: 999px; }
.seg-tabs [aria-current] { border-radius: 999px; }
.choice.row span.pill, .seg label span { border-radius: 999px; }
.verdict { border-radius: 14px; }
.verdict.v-approve { background: #FDEBDD; color: #6B3E1F; }
.card { border-radius: 20px; border-color: var(--line); }
.precheck .switch[aria-checked=true], .switch.on { background: var(--primary); }
.share-note, .hint { color: var(--muted); }

/* the share sheet */
.sheet { border-radius: 26px 26px 0 0; }
.sheet-grip { background: var(--peach); }
.sheet-x { background: #FBE6D6; color: var(--primary); }
.sh i { background: #F6ECE5; }
.sh:hover i { background: #FBE3D3; }
.sh.primary i { background: var(--primary); }
.link-preview { border-radius: 18px; background: #fff; }
.cc-top { display: block; }
.menu > summary { white-space: nowrap; }
.menu > summary .caret, .user-menu > summary svg { flex: none; }
@media (max-width: 640px) { .user-menu > summary { max-width: 150px; overflow: hidden; text-overflow: ellipsis; } }

/* =====================================================================================================================
   design v9: the revamp. Cool lavender page, dark plum cards in Fraunces, Rejoice, a floating tab bar, light and dark.
   ===================================================================================================================== */
:root {
  --page: #F2EFF6; --surface: #FFFFFF; --surface-2: #ECE6F3; --alt: #F2EFF6; --soft: #ECE6F3;
  --ink: #1F1527; --ink-2: #4A3F52; --muted: #766A82; --line: #E4DCEC; --line-2: #D6CBE0;
  --accent-text: #6A4A82; --primary: #6A4A82; --primary-pale: #ECE4F4;
  --grad: linear-gradient(100deg, #6A4A82 0%, #B47E94 62%, #F0B98F 100%);
  --card-grad: linear-gradient(180deg, #4A3162 0%, #2A1A3A 100%);
  --rj-bg: #ECE6F3; --rj-on-bg: #FBDDC4; --rj-on-ink: #5E3417;
  --shadow: 0 1px 2px rgba(31, 21, 39, .05), 0 10px 30px rgba(74, 49, 98, .08);
  --serif: Fraunces, 'DM Serif Display', Georgia, serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #130D1B; --surface: #1E1629; --surface-2: #2B2139; --alt: #130D1B; --soft: #2B2139;
  --ink: #F4EEF9; --ink-2: #D4C9DF; --muted: #A99BB8; --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .17);
  --accent-text: #D2BAEA; --primary: #7C5A98; --primary-pale: #2B2139;
  --card-grad: linear-gradient(180deg, #55386F 0%, #2C1B3D 100%);
  --rj-bg: #2B2139; --rj-on-bg: #5A3A2B; --rj-on-ink: #FFD9BC;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
}
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
:root[data-theme="dark"] :focus-visible { outline-color: #D2BAEA; }
@view-transition { navigation: auto; }
body { background: var(--page); color: var(--ink); }
.btn.peach { background: linear-gradient(135deg, #F7CFA8, #EDA880); border-color: transparent; color: #3B2316; font-weight: 700; }
.btn.peach:hover { filter: brightness(1.04); color: #3B2316; }

/* header: wordmark, pill nav, round icon buttons, a gradient hairline */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 0; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); opacity: .75; }
.brand-name { color: var(--accent-text); }
.nav { background: var(--surface-2); border-radius: 999px; padding: 4px; gap: 2px; }
.nav a { border-radius: 999px; padding: 7px 16px; font-weight: 600; color: var(--ink-2); }
.nav a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(31, 21, 39, .1); }
.icon-pill { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--ink-2); cursor: pointer; text-decoration: none; }
.icon-pill:hover { color: var(--ink); }
.icon-pill .badge, .tab .badge { position: absolute; top: -2px; right: -2px; }
.share-cta { background: var(--grad); border-color: transparent; color: #fff; font-weight: 700; gap: 7px; }
.share-cta:hover { filter: brightness(1.06); background: var(--grad); color: #fff; }
.header-actions { gap: 10px; }
details.menu summary { gap: 8px; background: var(--surface-2); padding: 4px 12px 4px 4px; border-radius: 999px; border: 0; font-weight: 600; color: var(--ink); }
.menu .pop { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.menu .pop a, .menu .pop button { color: var(--ink); }
.menu .pop a:hover, .menu .pop button:hover { background: var(--surface-2); }
.avatar-dot { background: linear-gradient(135deg, #D9B3A8, #A78AC0); color: #fff; }
.signin { background: transparent; border: 1px solid var(--line-2); color: var(--ink); }

/* phones: a quiet header, and a floating tab bar */
.tabbar { display: none; }
@media (max-width: 719px) {
  .nav, .header-actions .signin, .header-actions .share-cta, .header-actions .menu-link { display: none; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 96px; }  /* the dark footer runs to the bottom of the screen; the tab bar floats over its end */
  .tabbar { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 8px 12px;
    border-radius: 999px; background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(31, 21, 39, .2); transition: padding .25s, left .25s, right .25s; }
  .tab { position: relative; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); text-decoration: none; flex: none; border: 0; padding: 0; background: none; }
  .tab[aria-current] { background: var(--surface-2); color: var(--accent-text); }
  .tab-share { width: auto; padding: 0 22px; gap: 8px; background: var(--grad); color: #fff; font: 700 17px var(--font); transition: width .25s, padding .25s; }
  .tab-share span { overflow: hidden; max-width: 60px; transition: max-width .25s, opacity .2s; }
  .tabbar.reading { left: 50%; right: auto; transform: translateX(-50%); width: auto; padding: 6px 10px; }
  .tabbar.reading .tab-share { padding: 0; width: 46px; }
  .tabbar.reading .tab-share span { max-width: 0; opacity: 0; }
  .tab-you { padding: 0; }
  .tab-you > summary { padding: 0; background: none; width: 46px; height: 46px; justify-content: center; }
  .tab-you .menu-name, .tab-you .caret { display: none; }
  .tab-you .avatar-dot { width: 36px; height: 36px; font-size: 16px; }
  .tabbar .pop { position: absolute; bottom: 58px; top: auto; right: 0; min-width: 210px; }
  .site-header .wrap { justify-content: space-between; }
  .page-testimony .tabbar { display: none; }
}
@media (min-width: 720px) { .header-actions .menu .caret { opacity: .6; } }

/* text cards: dark plum with a serif quote */
.t-textcard, .t-photo-wrap { border-radius: 22px; }
.t-textcard { background: var(--card-grad); color: #fff; padding: 18px 20px 22px; justify-content: flex-start; gap: 10px; min-height: 180px; }
.t-textcard::before, .t-textcard::after { display: none; }
.tc-label { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .72); font: 500 11px var(--mono); letter-spacing: 1px; text-transform: uppercase; }
.tc-quote { color: #fff; font: 600 clamp(22px, 7cqw, 30px)/1.16 var(--serif); letter-spacing: -.2px; max-width: 100%; text-wrap: balance; }
.tc-brand, .tc-on-photo { display: none; }
.t-photo-wrap::after { height: 80%; background: linear-gradient(180deg, rgba(28, 16, 40, 0), rgba(28, 16, 40, .88)); }
.t-photo-text { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; }

/* the feed */
.t-card { background: var(--surface); border-radius: 30px; padding: 9px 9px 16px; gap: 12px; box-shadow: var(--shadow); border: 0; }
.t-thumb { border-radius: 22px; aspect-ratio: auto; min-height: 0; background: var(--card-grad); }
.t-thumb .t-textcard { min-height: 168px; }
.t-thumb .t-photo-wrap { min-height: 250px; }
.t-thumb img.t-photo { width: 100%; height: 100%; min-height: 250px; object-fit: cover; }
.t-body { padding: 0 12px; gap: 5px; }
.t-card h3 { color: var(--ink); font: 700 23px/1.15 var(--serif); letter-spacing: -.3px; }
.t-card h3 a { color: inherit; }
.t-card .meta { font-size: 14px; color: var(--muted); }
.t-card .t-caption { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.t-card .t-meta { color: var(--muted); }
.t-card .t-meta strong { color: var(--accent-text); font-weight: 500; }
.t-foot { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.t-card .read-more { margin-left: auto; font: 700 16px var(--font); color: var(--accent-text); }
.rejoice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px; border: 0; background: var(--rj-bg); color: var(--ink); font: 700 15px var(--font); cursor: pointer; text-decoration: none; position: relative; transition: background .2s, color .2s; }
.rejoice:hover { filter: brightness(.97); color: var(--ink); }
.rejoice.on { background: var(--rj-on-bg); color: var(--rj-on-ink); }
.rejoice[disabled] { opacity: .7; }
.rejoice.swell { animation: rj-swell .4s cubic-bezier(.2, .9, .3, 1.35); }
@keyframes rj-swell { 0% { transform: scale(1); } 45% { transform: scale(1.1); } 100% { transform: scale(1); } }
.rj-rise { position: absolute; left: 50%; top: -2px; line-height: 0; pointer-events: none; animation: rj-rise .8s ease-out forwards; }
@keyframes rj-rise { 0% { transform: translate(var(--dx), 0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(var(--dx), -34px); opacity: 0; } }
.rj-toast { position: fixed; left: 50%; bottom: 112px; z-index: 60; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; margin: 0; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; background: #2A1A3A; color: #fff; font: 500 14px var(--font); box-shadow: 0 10px 28px rgba(0, 0, 0, .3); transition: opacity .2s, transform .2s; }
.rj-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 720px) { .rj-toast { bottom: 28px; } }
.t-share { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--rj-bg); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.t-share:hover { color: var(--ink); filter: brightness(.97); }
@media (prefers-reduced-motion: reduce) { .rejoice.swell, .rj-rise, .skeleton-card i { animation: none; } * { scroll-behavior: auto; } .tabbar, .tab-share, .tab-share span { transition: none; } }
@media (min-width: 720px) { .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; } }
.feed.boxed .t-card { padding: 16px 18px; }

/* skeleton cards while more load */
.skeleton-card { display: block; text-align: left; background: var(--surface); border-radius: 26px; padding: 9px 9px 16px; box-shadow: var(--shadow); }
.skeleton-card i { display: block; border-radius: 14px; background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface) 50%, var(--surface-2) 70%); background-size: 220% 100%; animation: sk-move 1.4s linear infinite; }
.skeleton-card .sk-pic { height: 150px; border-radius: 20px; margin-bottom: 14px; }
.skeleton-card .sk-line { height: 12px; margin: 8px 12px; }
.skeleton-card .sk-line.short { width: 55%; }
@keyframes sk-move { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* chips and the category list */
.cat-strip a { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.cat-strip a[aria-current] { background: var(--primary); border-color: var(--primary); color: #fff; }
.side-link { color: var(--ink-2); }
.side-link[aria-current] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(31, 21, 39, .08); }
.section-head h2 { color: var(--ink); font: 800 clamp(26px, 6vw, 34px) var(--font); letter-spacing: -.8px; }
.aside-h { color: var(--muted); }

/* spotlight and the "your turn" card */
.spot-grid { display: grid; gap: 14px; }
.spot-side { display: flex; flex-direction: column; gap: 14px; }
.spot-side .cta-side { display: none; }
@media (min-width: 900px) { .spot-grid { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); } .spot-side .cta-side { display: flex; flex: 1; } }
.spotlight { border-radius: 30px; min-height: 420px; background: linear-gradient(180deg, #BBA2CB 0%, #6A4C85 42%, #251533 100%); }
.spotlight.no-photo::before { display: none; }
.spotlight::after { background: linear-gradient(180deg, rgba(28, 16, 40, 0) 20%, rgba(28, 16, 40, .8) 62%, #1C1028 100%); }
.spotlight h2 { font: 700 clamp(30px, 8vw, 46px)/1.06 var(--serif); letter-spacing: -.5px; }
.spot-tag { background: rgba(255, 255, 255, .92); color: #1F1527; }
.spot-actions .btn.white { background: #fff; color: #1F1527; }
.cta-card { background: linear-gradient(180deg, #4A3162 0%, #2A1A3A 100%); color: #fff; border-radius: 30px; padding: 24px; }
.cta-card small { color: rgba(255, 255, 255, .7); }
.cta-card h3 { color: #fff; font: 700 clamp(26px, 7vw, 32px)/1.12 var(--serif); letter-spacing: -.3px; }
.cta-card p { color: rgba(255, 255, 255, .82); }
.cta-card .btn { gap: 8px; }
.cta-wide { display: none !important; }
.cta-side { height: 100%; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 720px) { .cta-phone { display: none; } }

/* the testimony page */
.t-hero { height: auto; max-width: 760px; margin: 0 auto; padding: 0 14px; background: none; border-radius: 0; overflow: visible; }
.t-hero::before, .t-hero::after { display: none !important; }
.t-hero .app-bar { position: static; display: flex; align-items: center; justify-content: space-between; padding: 12px 0; background: none; }
.t-hero .icon-btn { background: var(--surface-2); color: var(--ink); backdrop-filter: none; }
.t-hero .app-brand { display: none; }
.t-hero-text { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 26px; border-radius: 28px; background: var(--card-grad); color: #fff; min-height: 150px; justify-content: flex-end; }
.t-hero-text .tc-quote { font-size: clamp(28px, 8vw, 40px); }
.t-hero.has-photo .t-hero-text { min-height: 300px; }
.t-hero-text .t-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.t-hero.has-photo .t-hero-text::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 16, 40, .1), rgba(28, 16, 40, .88)); }
@media (min-width: 720px) { .t-hero + .page { margin-top: 0; } }
.article { margin-top: 0; max-width: 760px; }
.article h1 { color: var(--ink); font: 700 clamp(30px, 7vw, 42px)/1.1 var(--serif); letter-spacing: -.5px; }
.chip.cat { background: var(--surface); border-color: var(--line); color: var(--ink); }
.chip.chan { background: var(--primary-pale); color: var(--accent-text); border: 0; }
.chip.chan svg { stroke: currentColor; }
.avatar { background: linear-gradient(135deg, #D9B3A8, #A78AC0); color: #fff; }
.body-text p { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.actions { background: transparent; border-color: var(--line); }
.blessed { color: var(--muted); }
.rejoice.big { background: var(--grad); color: #fff; padding: 0 24px 0 18px; min-height: 52px; font-size: 16px; }
.rejoice.big.on { background: var(--rj-on-bg); color: var(--rj-on-ink); }
.action-btn.share-btn { width: 52px; height: 52px; border-radius: 50%; background: var(--rj-bg); display: inline-flex; align-items: center; justify-content: center; border: 0; color: var(--ink-2); }
@media (max-width: 719px) {
  .page-testimony .site-footer { padding-bottom: 120px; }
  .page-testimony .actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; padding: 12px 16px 18px;
    background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .page-testimony .actions .action-row { gap: 10px; }
  .page-testimony .rejoice.big { flex: 1; justify-content: center; box-shadow: 0 8px 24px rgba(74, 49, 98, .3); }
  .page-testimony .blessed { display: none; }
}
.next-pill { border-color: var(--line-2); color: var(--accent-text); background: transparent; }
.related h2 { color: var(--ink); font-family: var(--serif); }

/* channels */
.channel-card { background: var(--surface); border: 0; border-radius: 28px; box-shadow: var(--shadow); }
.bn-apricot { background: linear-gradient(135deg, #F4CDA6, #E9A47F); }
.bn-lavender { background: linear-gradient(135deg, #E4D6F1, #B79CD6); }
.bn-sage { background: linear-gradient(135deg, #D2E8DC, #8FC0A9); }
.bn-rose { background: linear-gradient(135deg, #F7D0DA, #E39BB0); }
.cc-banner::before, .channel-banner::before { display: none; }
.cc-banner { height: 76px; }
.cc-logo { background: var(--surface); border-color: var(--surface); color: var(--accent-text); border-radius: 20px; }
.cc-body h2, .channel-hero h1 { color: var(--ink); font-weight: 800; }
.channel-banner { height: 150px; }
.channel-cta { background: var(--card-grad); color: #fff; border: 0; border-radius: 28px; }
.channel-cta h2 { color: #fff; }
.channel-cta p { color: rgba(255, 255, 255, .82); }
.channel-cta .btn { background: linear-gradient(135deg, #F7CFA8, #EDA880); color: #3B2316; border-color: transparent; }
.verified { color: var(--accent-text); }

/* cards, forms and the footer */
.card { background: var(--surface); border-color: var(--line); border-radius: 22px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=search], textarea, select { background: var(--surface); color: var(--ink); border-color: var(--line-2); border-radius: 16px; }
::placeholder { color: var(--muted); }
.seg-tabs { background: var(--surface-2); }
.seg-tabs [aria-current] { background: var(--surface); color: var(--ink); }
.page-title, .page h1 { color: var(--ink); }
.site-footer { margin-top: 56px; background: #1B1226; }
.site-footer::before { display: none; }
.sheet, .link-preview { background: var(--surface); color: var(--ink); }
.sheet-x { background: var(--surface-2); color: var(--ink); }
.sh i { background: var(--surface-2); color: var(--ink); }
.flash { border-radius: 14px; }
:root[data-theme="dark"] .t-card, :root[data-theme="dark"] .channel-card, :root[data-theme="dark"] .card { border: 1px solid var(--line); }
:root[data-theme="dark"] .btn.ghost { color: var(--ink); border-color: var(--line-2); }
:root[data-theme="dark"] .chip { background: var(--surface-2); color: var(--ink-2); border-color: var(--line); }
:root[data-theme="dark"] .verdict { background: var(--surface-2); color: var(--ink); }
:root[data-theme="dark"] .rejoice.big { color: #fff; }
:root[data-theme="dark"] .rejoice.big.on { color: var(--rj-on-ink); }
.t-hero { padding: 0 16px; }
@media (min-width: 720px) { .t-hero { padding: 0; } }

/* dark theme: the surfaces that older rules painted white */
:root[data-theme="dark"] .app-bar, :root[data-theme="dark"] .form-bar { background: var(--page); border-bottom-color: var(--line); color: var(--ink); }
:root[data-theme="dark"] .choice.box span.pill, :root[data-theme="dark"] .opt, :root[data-theme="dark"] .logo-tile, :root[data-theme="dark"] .stat,
:root[data-theme="dark"] .request-box form, :root[data-theme="dark"] .pop-panel, :root[data-theme="dark"] .cookie-bar, :root[data-theme="dark"] .drop:hover,
:root[data-theme="dark"] .spot-manage form, :root[data-theme="dark"] .reactions button, :root[data-theme="dark"] .reactions a { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
:root[data-theme="dark"] .choice.row input:checked + span.pill, :root[data-theme="dark"] .seg-tabs a[aria-current], :root[data-theme="dark"] .tabs a[aria-current] { background: var(--surface-2); color: var(--ink); box-shadow: none; }
:root[data-theme="dark"] .choice.box input:checked + span.pill { background: var(--surface-2); border-color: var(--accent-text); }
:root[data-theme="dark"] .choice.box span.pill small, :root[data-theme="dark"] .hint { color: var(--muted); }
:root[data-theme="dark"] .btn.ghost, :root[data-theme="dark"] .btn.white, :root[data-theme="dark"] .btn.sky, :root[data-theme="dark"] .btn.danger, :root[data-theme="dark"] .btn.google { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
:root[data-theme="dark"] .btn.danger { color: #FF9C8F; }
:root[data-theme="dark"] .spotlight .btn.white { background: #fff; color: #1F1527; }
:root[data-theme="dark"] .tabs a:hover { background: var(--surface-2); }
:root[data-theme="dark"] .switch { background: #4A4058; }
:root[data-theme="dark"] .switch[aria-checked=true], :root[data-theme="dark"] .switch.on { background: var(--primary); }
:root[data-theme="dark"] .v-reject { background: rgba(255, 120, 100, .14); color: #FFB4A8; }
:root[data-theme="dark"] .v-unsure { background: rgba(255, 190, 90, .14); color: #FFD48F; }
:root[data-theme="dark"] .v-approve { background: rgba(110, 200, 150, .14); color: #A8E6C3; }
:root[data-theme="dark"] .chip.cat, :root[data-theme="dark"] .chip.alt { background: var(--surface-2); color: var(--ink-2); }
:root[data-theme="dark"] .chip.ok { background: rgba(110, 200, 150, .16); color: #A8E6C3; border-color: transparent; }
:root[data-theme="dark"] .chip.warn { background: rgba(255, 190, 90, .16); color: #FFD48F; border-color: transparent; }
:root[data-theme="dark"] .chip.err { background: rgba(255, 120, 100, .16); color: #FFB4A8; border-color: transparent; }
:root[data-theme="dark"] .note { background: var(--surface-2); color: var(--ink-2); }
:root[data-theme="dark"] a { --link: #D2BAEA; }
:root[data-theme="dark"] .page a:not(.btn):not(.chip):not(.t-link):not(.side-link):not(.tab):not(.bubble) { color: var(--accent-text); }
:root[data-theme="dark"] .page-title, :root[data-theme="dark"] .page h1, :root[data-theme="dark"] .page h2, :root[data-theme="dark"] .page h3 { color: var(--ink); }
:root[data-theme="dark"] .t-card h3 a, :root[data-theme="dark"] .article h1 { color: var(--ink); }

/* the three-part guide and the timeline it renders */
.guide { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); }
.guide-t { font: 600 14px var(--font); color: var(--ink); }
.guide-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.guide-chips button { min-height: 36px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 14px var(--font); cursor: pointer; }
.guide-chips button:hover { border-color: var(--primary); }
.story { position: relative; display: flex; flex-direction: column; gap: 6px; padding-left: 30px; }
.story::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--line-2), #E9A47F 60%, var(--ink)); border-radius: 2px; }
.story-part { position: relative; padding: 4px 0 10px; }
.story-part::before { content: ""; position: absolute; left: -29px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--page); border: 2px solid var(--line-2); box-sizing: border-box; }
.story-part.part-the-turn::before { background: #E9A47F; border-color: #F6D5BC; }
.story-part.part-after::before { background: var(--ink); border-color: var(--line-2); }
.story-label { margin: 0 0 6px; font: 700 13px var(--font); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.part-the-turn .story-label { color: #B3693A; }
.part-after .story-label { color: var(--accent-text); }
.story-part p { margin: 0 0 12px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.story-part.part-after p:first-of-type { color: var(--ink); font-weight: 600; font-size: 19px; line-height: 1.55; }

/* verse of the day */
.verse-card { background: var(--surface); border-radius: 28px; padding: 20px 22px; box-shadow: var(--shadow); }
.verse-card small { display: block; font: 500 11px var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.verse-card blockquote { margin: 10px 0 12px; font: italic 500 clamp(21px, 5.6vw, 26px)/1.28 var(--serif); color: var(--ink); text-wrap: balance; }
.verse-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.verse-foot cite { font: 600 12px var(--mono); letter-spacing: .8px; text-transform: uppercase; font-style: normal; color: #B3693A; }
.verse-share { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--rj-bg); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.verse-share.copied { background: var(--rj-on-bg); color: var(--rj-on-ink); }

/* review tiles and the review promise */
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 14px; }
.tile { background: var(--surface); border-radius: 20px; padding: 14px 16px; box-shadow: var(--shadow); }
.tile b { display: block; font: 800 28px/1 var(--font); letter-spacing: -.5px; color: var(--ink); }
.tile small { font: 500 13px var(--font); color: var(--muted); }
.promise { margin: 0 0 14px; padding: 12px 16px; border-radius: 16px; background: var(--surface); color: var(--ink-2); font-size: 14px; box-shadow: var(--shadow); }

/* the You page */
.you-head { display: flex; gap: 18px; align-items: center; margin: 6px 0 14px; }
.you-avatar { flex: none; width: 92px; height: 92px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, #6A4A82, #F0B98F); display: inline-flex; }
.you-avatar span { flex: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #D9B3A8, #A78AC0); color: #fff; font: 700 38px var(--serif); border: 3px solid var(--page); }
.you-who h1 { margin: 0 0 4px; font: 700 clamp(28px, 7vw, 36px)/1.05 var(--serif); letter-spacing: -.4px; color: var(--ink); }
.you-bio { margin: 0 0 8px; color: var(--ink-2); font-size: 16px; line-height: 1.4; }
.you-bio.muted { color: var(--muted); }
.you-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.you-h { margin: 22px 0 4px; font: 700 clamp(26px, 6vw, 32px)/1.1 var(--serif); color: var(--ink); }
.you-sub { margin: 0 0 14px; color: var(--ink-2); }
.you-sub em { font-family: var(--serif); color: var(--ink); }
.bubbles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bubble { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; aspect-ratio: 1 / 1.08; padding: 14px 12px; color: #2A1A3A; text-decoration: none; overflow: hidden; box-shadow: var(--shadow); border-radius: 58% 42% 55% 45% / 52% 48% 52% 48%; }
.bubble:nth-child(2n) { border-radius: 46% 54% 44% 56% / 54% 46% 58% 42%; }
.bubble:nth-child(3n) { border-radius: 54% 46% 60% 40% / 46% 56% 44% 54%; }
.b-year { font: 700 12px var(--mono); opacity: .75; }
.b-title { font: 800 15px/1.15 var(--font); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bubble .lock { position: absolute; top: 14px; right: 18px; opacity: .8; }
.b0 { background: linear-gradient(145deg, #FBDDBC, #F2B99A); } .b1 { background: linear-gradient(145deg, #E6D6F3, #C6A9E3); }
.b2 { background: linear-gradient(145deg, #F7CBB8, #E59F82); } .b3 { background: linear-gradient(145deg, #FBE6CF, #F6D2B2); }
.b4 { background: linear-gradient(145deg, #8E6BAA, #5A3D72); color: #fff; } .b5 { background: linear-gradient(145deg, #F1E1F3, #DBBFE3); }
.bubble.add { background: transparent; border: 2px dashed var(--line-2); box-shadow: none; align-items: center; justify-content: center; text-align: center; color: var(--accent-text); }
.bubble.add .plus { font: 400 28px/1 var(--font); }
.you-note { margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); color: var(--ink-2); font-size: 14px; }
@media (min-width: 720px) { .bubbles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
:root[data-theme="dark"] .bubble.add { color: var(--accent-text); }
a.bubble.b4 { color: #fff; }

/* the account menu carries the unread count now that the bell is gone */
details.menu summary { position: relative; }
.tab-you > summary .badge { position: absolute; top: 0; right: 0; }
.b-status { align-self: flex-start; margin-bottom: auto; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .72); color: #2A1A3A; font: 700 11px var(--font); letter-spacing: .2px; }
.bubble.b4 .b-status { background: rgba(255, 255, 255, .22); color: #fff; }
.b-status.live { background: rgba(60, 140, 90, .18); color: #1D5A36; }
.b-status.warn { background: rgba(214, 140, 40, .22); color: #7A4B00; }
.b-status.bad { background: rgba(200, 70, 50, .18); color: #7A271A; }
:root[data-theme="dark"] .b-status { color: #2A1A3A; }

/* tab bar icons: the active one sits in a soft circle with a small gradient underline; the account is a ringed initial */
@media (max-width: 719px) {
  .tab { color: var(--ink); }
  .tab svg { stroke-width: 1.8; }
  .tab[aria-current] { background: var(--surface-2); color: var(--accent-text); }
  .tab[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--grad); }
  .tab-you > summary { position: relative; width: 46px; height: 46px; }
  .tab-you .avatar-dot { width: 34px; height: 34px; font: 700 15px var(--font); color: #fff; background: linear-gradient(135deg, #D9B3A8, #A78AC0); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px #D9A98F; }
  .tab-you[open] .avatar-dot { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--primary); }
}
@media (max-width: 719px) {
  .tab.tab-share { color: #fff; }
  .tabbar details.tab-you > summary { background: none; padding: 0; }
}
@media (max-width: 719px) {
  .tab.tab-share { border-radius: 999px; height: 50px; padding: 0 26px; }
  .tabbar.reading .tab.tab-share { width: 50px; height: 50px; padding: 0; }
}

/* the profile icon is a plain link now */
a.menu-link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 4px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font: 600 14px var(--font); text-decoration: none; position: relative; }
a.menu-link[aria-current] { box-shadow: inset 0 0 0 2px var(--primary); }
a.tab-you { position: relative; }
a.tab-you .menu-name { display: none; }
a.tab-you .badge { position: absolute; top: 0; right: 0; }
.you-tools { margin: 26px 0 0; }
.you-tools .you-h { margin-top: 0; }
.you-links { display: flex; flex-wrap: wrap; gap: 10px; }
.you-links a, .you-signout { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 15px var(--font); text-decoration: none; cursor: pointer; }
.you-links form { margin: 0; }
.you-signout { color: #B3402E; }
:root[data-theme="dark"] .you-signout { color: #FF9C8F; }
:root[data-theme="dark"] .page a.menu-link { color: var(--ink); }
@media (max-width: 719px) {
  .tabbar.reading .tab.tab-share { gap: 0; justify-content: center; }  /* the hidden label's gap no longer pushes the plus off-centre */
}

/* the footer sits at the bottom of the screen even on short pages */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
#main { flex: 1 0 auto; }
.site-footer { flex: none; }

/* the register button on the Channels page */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.page-head .page-sub { margin-bottom: 14px; }
.register-btn { gap: 8px; margin-bottom: 14px; }

/* phones: a compact first screen, so the feed shows without scrolling; the verse stays right under the spotlight */
@media (max-width: 719px) {
  .spot-wrap { padding-top: 10px; }
  .spot-grid { gap: 10px; }
  .spotlight { min-height: 300px; border-radius: 26px; }
  .spot-body { padding: 16px 18px 16px; gap: 6px; }
  .spotlight h2 { font-size: 27px; line-height: 1.08; }
  .spot-excerpt { font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .spot-foot { margin-top: 2px; gap: 8px; }
  .spot-actions .spot-ghost { display: none; }  /* the Share pill in the tab bar already does this */
  .spot-actions .btn { min-height: 40px; padding: 0 16px; }
  .verse-card { padding: 14px 18px; border-radius: 24px; }
  .verse-card blockquote { font-size: 20px; line-height: 1.25; margin: 6px 0 8px; }
  .verse-share { width: 36px; height: 36px; }
  .section-head { margin-top: 4px; }
}
@media (max-width: 719px) {
  .section-head { flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
  .section-head h2 { font-size: 22px; letter-spacing: -.5px; }
  .section-head .mobile-only { font-size: 14px; white-space: nowrap; }
}

/* the home page's frame while the testimonies are on their way */
#spot-slot { min-width: 0; }
.sk-spot { position: relative; min-height: 300px; border-radius: 26px; overflow: hidden; background: var(--card-grad); }
.sk-spot .sk-shine { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .12) 50%, transparent 70%); background-size: 220% 100%; animation: sk-move 1.4s linear infinite; }
@media (min-width: 720px) { .sk-spot { min-height: 520px; } }
@media (prefers-reduced-motion: reduce) { .sk-spot .sk-shine { animation: none; } }
.spotlight.no-photo { background: linear-gradient(180deg, #BBA2CB 0%, #6A4C85 42%, #251533 100%); }  /* a spotlight without a photo (the old sky colour no longer exists) */

/* =====================================================================================================================
   polish: spacing rhythm, calmer type sizes, a little depth
   ===================================================================================================================== */
:root { --space-section: 40px; --radius-card: 28px; }
body { background-image: radial-gradient(900px 380px at 50% -120px, color-mix(in srgb, var(--primary) 9%, transparent), transparent); background-repeat: no-repeat; }

/* the spotlight row: both columns are the same height, so nothing floats in empty space */
.spot-wrap { padding-top: 22px; }
.spot-grid { align-items: stretch; }
#spot-slot { display: flex; flex-direction: column; }
#spot-slot > .spotlight { flex: 1; }
.spot-side { gap: 14px; }
@media (min-width: 900px) {
  .spot-grid { grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 20px; }
  .spotlight { min-height: 400px; }
  .spot-side .cta-side { flex: 1; }
}
.spotlight h2 { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.4px; }
.spot-excerpt { font-size: 16px; line-height: 1.5; max-width: 52ch; }
.spot-body { padding: 26px 30px 26px; gap: 8px; }

/* the verse: a quiet card with a calm quote */
.verse-card { position: relative; padding: 20px 22px 16px; border-radius: var(--radius-card); overflow: hidden; }
.verse-card::before { content: "“"; position: absolute; top: -10px; right: 16px; font: 700 96px/1 var(--serif); color: var(--apricot); opacity: .22; pointer-events: none; }
.verse-card small { letter-spacing: 1.2px; }
.verse-card blockquote { margin: 8px 0 12px; font: italic 500 19px/1.5 var(--serif); color: var(--ink); text-wrap: pretty; }
.verse-foot cite { font-size: 11.5px; letter-spacing: 1px; }
.verse-share { width: 34px; height: 34px; }

/* the "your turn" card */
.cta-card { padding: 22px 24px 24px; border-radius: var(--radius-card); overflow: hidden; }
.cta-card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 185, 143, .20), transparent 70%); pointer-events: none; }
.cta-card h3 { font-size: 24px; line-height: 1.15; margin: 8px 0 8px; }
.cta-card p { font-size: 15px; line-height: 1.5; margin: 0 0 18px; }
.cta-card .btn { position: relative; z-index: 1; }

/* sections and the feed */
.layout { margin-top: 6px; }
.section-head { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.5px; }
.page { padding-top: 28px; }
.feed { gap: 22px; }
@media (min-width: 720px) { .feed { gap: 26px; } }
.t-card { border-radius: var(--radius-card); transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .t-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(31, 21, 39, .06), 0 18px 40px rgba(74, 49, 98, .16); } }
.t-card h3 { font-size: 21px; line-height: 1.2; }
.t-card .t-caption { font-size: 14.5px; }
.tc-quote { font-size: clamp(19px, 5.2cqw, 25px); line-height: 1.22; }
.t-thumb .t-textcard { min-height: 160px; }
.t-body { gap: 6px; padding: 0 12px; }

/* the testimony page */
.article h1 { font-size: clamp(26px, 5.4vw, 36px); line-height: 1.12; }
.t-hero-text .tc-quote { font-size: clamp(24px, 5.6vw, 34px); line-height: 1.2; }
.body-text p, .story-part p { font-size: 17px; line-height: 1.7; }
.story-part.part-after p:first-of-type { font-size: 18px; }
.related h2 { font-size: 22px; }

/* phones */
@media (max-width: 719px) {
  .spot-wrap { padding-top: 12px; }
  .spot-grid { gap: 12px; }
  .spotlight { min-height: 300px; border-radius: 24px; }
  .spot-body { padding: 16px 18px; gap: 6px; }
  .spotlight h2 { font-size: 24px; }
  .spot-excerpt { font-size: 15px; }
  .verse-card { padding: 16px 18px 14px; border-radius: 24px; }
  .verse-card blockquote { font-size: 17.5px; line-height: 1.45; margin: 6px 0 10px; }
  .verse-card::before { font-size: 80px; top: -8px; }
  .page { padding-top: 22px; }
  .section-head h2 { font-size: 22px; }
  .tc-quote { font-size: clamp(19px, 5.6cqw, 23px); }
  .t-card h3 { font-size: 20px; }
  .cta-card { padding: 20px 20px 22px; }
  .cta-card h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .t-card { transition: none; } }

/* serif headlines: lighter and a little looser so long titles stay clear, and they break evenly */
.t-card h3, .article h1, .spotlight h2, .cta-card h3, .you-who h1, .related h2, .you-h { font-weight: 600; letter-spacing: 0; font-variation-settings: "WONK" 0, "SOFT" 0; text-wrap: balance; }
.t-card h3 { line-height: 1.28; font-size: 20px; }
.article h1 { line-height: 1.2; }
.spotlight h2 { line-height: 1.15; }
.tc-quote, .t-hero-text .tc-quote { text-wrap: pretty; letter-spacing: 0; line-height: 1.28; }
@media (max-width: 719px) { .t-card h3 { font-size: 19px; } }

/* the testimony body reads the same whether it is plain paragraphs or the Before / The turn / After timeline */
.body-text, .story-part { font: 400 17px/1.7 var(--font); color: var(--ink-2); }
.body-text { gap: 0; }
.body-text p, .story-part p { margin: 0 0 16px; font: inherit; color: inherit; text-align: left; text-wrap: pretty; }
.body-text p:last-child, .story-part p:last-child { margin-bottom: 0; }
.story-part.part-after p:first-of-type { font: inherit; color: var(--ink); }  /* a touch darker, never bigger or bolder */
.story-part { padding: 4px 0 18px; }
.story-part:last-child { padding-bottom: 0; }
@media (max-width: 719px) { .body-text, .story-part { font-size: 17px; line-height: 1.7; } }
