/* Heldwell's marketing page (getheldwell.com, and /about on the app's own address). One file, nothing from anyone
   else: system fonts, no images but the app's own mark, every "phone" below is drawn with the rules in this file.
   The page is sent with style-src 'self' and no 'unsafe-inline' (server/features/landing.js), so nothing here or
   in the page may rely on a style attribute. One accent: the app's green (public/app.css --accent). */
:root {
  --paper: #FBFAF6; --band: #F3F1EA; --surface: #FFFFFF; --ink: #16181A; --soft: #4A4D52; --line: #DEDBD1;
  --accent: #2B6658; --accent-ink: #FFFFFF; --accent-soft: #E1EEE9;
  --deep: #1F4D42; --deep-ink: #1F4D42; --second: #1F4D42;
  --frame: #23262A; --screen: #FFFFFF; --bubble: #ECEBE7; --slate: #686D75;
  --ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141517; --band: #1A1B1E; --surface: #1F2023; --ink: #F1F2F4; --soft: #B9BBC1; --line: #34363B;
    --accent: #6CC2AC; --accent-ink: #06211B; --accent-soft: #1D3831;
    --deep: #173A32; --deep-ink: #173A32; --second: #6CC2AC;
    --frame: #3B3D43; --screen: #0E0F10; --bubble: #2A2B2F; --slate: #5A5E66;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 1.1875rem/1.6 var(--ui);            /* 19px at the browser's usual size; it grows with her own setting */
  overflow-wrap: break-word; -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 16px; }

.lp-wrap { max-width: 1120px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.lp-narrow { max-width: 800px; }
.lp-skip { position: absolute; left: -999px; top: 12px; padding: 10px 16px; background: var(--surface); border-radius: 10px; font-weight: 700; }
.lp-skip:focus { left: 12px; z-index: 2; }

/* ── the top row ── */
.lp-top { padding-block: calc(14px + env(safe-area-inset-top, 0px)) 6px; }
.lp-top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; color: var(--ink); text-decoration: none; font: 700 1.5rem/1 var(--serif); letter-spacing: -0.01em; }
.lp-brand img { border-radius: 22%; }

/* ── the one thing to do ── */
.lp-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 34px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 1.3125rem; line-height: 1.2; text-decoration: none; text-align: center;
}
.lp-cta:hover { filter: brightness(1.08); }
.lp-cta--small { min-height: 48px; padding: 0 22px; font-size: 1.0625rem; }
.lp-cta--light { background: #FFFFFF; color: var(--deep-ink); }
.lp-for { margin-top: 26px; font-weight: 700; }                 /* who the button is for, said right at it */
.lp-actions { margin-top: 10px; }
.lp-quiet { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--soft); max-width: 34em; }
.lp-quiet b { color: var(--ink); }
.lp-quiet p + p { margin-top: 6px; }
.lp-quiet a { font-weight: 700; display: inline-block; padding-block: 6px; }
@media (max-width: 479px) {
  .lp-top .lp-cta--small { display: none; }       /* the same button is the first thing under the headline */
  .lp-actions .lp-cta { display: flex; }
}

/* ── the headline ── */
.lp-hero { padding-block: 26px 64px; }
.lp-hero-grid { display: grid; gap: 48px; align-items: center; }
h1 {
  font: 700 clamp(2.25rem, 1.45rem + 3.4vw, 3.5rem)/1.1 var(--serif);
  letter-spacing: -0.015em; text-wrap: balance;
}
.lp-h1-second { margin-top: 14px; font: 600 clamp(1.4rem, 1.1rem + 1.4vw, 2rem)/1.28 var(--serif); color: var(--second); text-wrap: balance; }
.lp-lead { margin-top: 22px; font-size: 1.1em; color: var(--soft); max-width: 34em; }
@media (min-width: 940px) {
  .lp-hero { padding-block: 48px 96px; }
  .lp-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 64px; }
}

.lp-hero-fig { display: grid; gap: 16px; }
.lp-drawn { max-width: 22em; margin-inline: auto; text-align: center; color: var(--soft); font-size: 0.9em; }

/* ── sections ── */
.lp-section, .lp-band { padding-block: 48px; }
.lp-band { background: var(--band); }
.lp-band--tight { padding-block: 44px; }
.lp-h2-small { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2rem); }
@media (min-width: 768px) {
  body { font-size: 1.25rem; }
  .lp-section, .lp-band { padding-block: 92px; }
  .lp-band--tight { padding-block: 64px; }
}
.lp-eyebrow { margin-bottom: 10px; font-size: 1rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
h2 { font: 700 clamp(1.85rem, 1.4rem + 1.9vw, 2.625rem)/1.16 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-size: 1.2em; line-height: 1.25; }
.lp-intro { margin-top: 16px; font-size: 1.08em; color: var(--soft); max-width: 40em; }
.lp-after { margin-top: 28px; color: var(--soft); }

/* ── the drawn phones ── */
.lp-phone {
  width: min(100%, 344px); margin-inline: auto; padding: 10px; border-radius: 46px; background: var(--frame);
  box-shadow: 0 34px 60px -34px rgba(20, 30, 26, 0.5); display: flex;
}
.lp-screen {
  flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 36px;
  background: var(--screen); color: var(--ink); font-size: 16px; line-height: 1.36; text-align: left;
}
.lp-screen p, .lp-mini p { margin: 0; }
.lp-bar { display: grid; grid-template-columns: 34px 1fr minmax(34px, auto); align-items: center; gap: 6px; padding: 16px 12px 10px; }
.lp-bar-back { width: 32px; height: 32px; border-radius: 50%; background: var(--bubble); position: relative; }
.lp-bar-back::before { content: ""; position: absolute; left: 13px; top: 11px; width: 9px; height: 9px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); }
.lp-bar-name { text-align: center; font-weight: 700; font-size: 16px; line-height: 1.2; }
.lp-bar-name small { display: block; margin-top: 2px; font-weight: 400; font-size: 14px; color: var(--soft); }
.lp-bar-word { text-align: right; font-weight: 700; font-size: 15px; color: var(--accent); white-space: nowrap; }

.lp-thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 11px; padding: 8px 12px 12px; }
.lp-row { display: flex; align-items: flex-end; gap: 8px; }
.lp-row--me { justify-content: flex-end; }
.lp-row--under .lp-av { margin-bottom: 25px; }   /* beside the bubble, not beside the line under it */
.lp-av { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 700; }
.lp-said { min-width: 0; max-width: 82%; }
.lp-who { display: block; margin: 0 0 3px 13px; font-size: 14px; color: var(--soft); }
.lp-b { display: inline-block; padding: 9px 13px; border-radius: 19px; background: var(--bubble); }
.lp-b--me { max-width: 78%; background: var(--accent); color: var(--accent-ink); }
.lp-under { display: block; margin: 5px 0 0 13px; font-size: 14px; color: var(--soft); }
.lp-under--flush { margin: 0; }

.lp-req { padding: 10px 13px 12px; border-radius: 19px; background: var(--accent-soft); }
.lp-req-tag { display: block; margin-bottom: 3px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent); }
p.lp-req-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px;
  border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent); font-weight: 700; font-size: 15px; white-space: nowrap;
}
.lp-btn--on { background: var(--accent); color: var(--accent-ink); }
.lp-btn--soft { background: var(--accent-soft); border-color: transparent; }

.lp-compose { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 8px 12px 16px; }
.lp-box { display: flex; align-items: center; width: 100%; min-height: 42px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 22px; color: var(--soft); }
.lp-box--typed { align-items: flex-end; justify-content: space-between; gap: 10px; padding-right: 7px; color: var(--ink); }
.lp-send { flex: none; padding: 5px 13px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px; }

/* the ordinary group text: no accent anywhere, and the request sliding off the top */
.lp-phone--text .lp-av { background: var(--bubble); color: var(--soft); }
.lp-phone--text .lp-b--me { background: var(--slate); color: #FFFFFF; }
.lp-thread--lost { justify-content: flex-start; padding-top: 0; }
.lp-row--gone {
  height: 46px; overflow: hidden; opacity: 0.75;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 70%); mask-image: linear-gradient(to bottom, transparent 0, #000 70%);
}

/* the Prayer page */
p.lp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 12px 6px; padding: 4px; border-radius: 14px; background: var(--bubble); }
.lp-tab { display: flex; align-items: center; justify-content: center; min-height: 34px; border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--soft); }
.lp-tab--on { background: var(--screen); color: var(--ink); }
.lp-list { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 6px 12px 12px; }
.lp-card { padding: 12px 14px 14px; border-radius: 19px; background: var(--accent-soft); }
.lp-card-who { display: block; margin-bottom: 3px; font-weight: 700; }
.lp-card-who small { margin-left: 6px; font-weight: 400; font-size: 14px; color: var(--soft); }
.lp-card .lp-under { margin: 8px 0 0; }
p.lp-update { margin-top: 9px; padding-left: 10px; border-left: 3px solid var(--accent); }
.lp-update b { display: block; font-size: 14px; color: var(--accent); }

/* ── the problem: two phones, side by side ── */
.lp-pair { display: grid; gap: 44px; margin-top: 40px; }
.lp-fig { display: grid; gap: 20px; align-content: start; }
.lp-fig figcaption { max-width: 30em; margin-inline: auto; color: var(--soft); font-size: 0.97em; }
.lp-fig figcaption b { display: block; color: var(--ink); }
@media (min-width: 760px) {
  .lp-pair { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 24px 40px; }
  .lp-fig { grid-row: span 2; grid-template-rows: subgrid; }
}

/* ── what it does ── */
.lp-feats { display: grid; gap: 60px; margin-top: 44px; }
.lp-feat { display: grid; gap: 24px; align-items: center; }
.lp-feat-words p { margin-top: 10px; color: var(--soft); max-width: 32em; }
@media (min-width: 860px) {
  .lp-feats { gap: 84px; margin-top: 64px; }
  .lp-feat { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 72px; }
  .lp-feat:nth-child(even) { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); }
  .lp-feat:nth-child(even) .lp-feat-words { order: 2; }
}
.lp-mini {
  width: min(100%, 372px); margin-inline: auto; padding: 20px 16px; border: 2px solid var(--line); border-radius: 30px;
  background: var(--screen); color: var(--ink); font-size: 16px; line-height: 1.36; text-align: left;
  box-shadow: 0 26px 44px -34px rgba(20, 30, 26, 0.45);
}
.lp-mini-in { display: flex; flex-direction: column; gap: 14px; }
.lp-mini .lp-compose { padding: 0; }
.lp-mini .lp-said { max-width: 88%; }

.lp-story { margin: 12px 0 0 4px; border-left: 2px solid var(--accent); }
.lp-story li { position: relative; padding: 0 0 10px 14px; }
.lp-story li:last-child { padding-bottom: 0; }
.lp-story li::before { content: ""; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.lp-story b { display: block; font-size: 14px; color: var(--soft); }
.lp-story-done { font-weight: 700; }
.lp-story-done b { color: var(--accent); }

.lp-event { display: flex; align-items: center; gap: 14px; }
.lp-date { flex: none; width: 64px; height: 64px; border-radius: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 23px; line-height: 1; }
.lp-date small { margin-bottom: 3px; font-size: 14px; letter-spacing: 0.04em; }
.lp-event-what { color: var(--soft); }
.lp-event-what b { display: block; font-size: 17px; color: var(--ink); }
/* the three answers as the app sets them out: two on a line, the third on the line under them */
.lp-rsvp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lp-rsvp .lp-btn { min-height: 42px; }
.lp-rsvp .lp-btn:last-child { grid-column: 1 / -1; }

.lp-invite { padding: 10px 14px; border-radius: 14px; background: var(--bubble); }
.lp-invite b { display: block; color: var(--accent); }
.lp-invite small { display: block; font-size: 14px; color: var(--soft); }
.lp-people li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 14px; }
.lp-people small { margin-left: auto; font-size: 14px; color: var(--soft); }
.lp-people .lp-btn { margin-left: auto; }
.lp-people-on { background: var(--accent-soft); }
.lp-people-on .lp-av { background: var(--screen); }

/* what else there is, in words (no drawing: these are not why a group text user comes) */
.lp-also-h { margin-top: 68px; }
.lp-also { display: grid; gap: 14px; margin-top: 18px; max-width: 46em; color: var(--soft); }
.lp-also b { color: var(--ink); }
.lp-card--flat .lp-under { font-weight: 700; color: var(--accent); }

/* ── not here yet ── */
.lp-plain { display: grid; gap: 14px; margin-top: 30px; }
.lp-plain li { padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }

/* ── trust ── */
.lp-promises { display: grid; gap: 30px 56px; margin-top: 40px; }
@media (min-width: 760px) { .lp-promises { grid-template-columns: 1fr 1fr; } }
.lp-promises li { position: relative; padding-left: 46px; }
.lp-promises li::before { content: ""; position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); }
.lp-promises li::after { content: ""; position: absolute; left: 11px; top: 8px; width: 8px; height: 14px; border-right: 3px solid var(--accent-ink); border-bottom: 3px solid var(--accent-ink); transform: rotate(45deg); }
.lp-promises p { margin-top: 5px; color: var(--soft); }
.lp-promises--four { margin-top: 28px; }
@media (min-width: 1100px) { .lp-promises--four { grid-template-columns: repeat(4, 1fr); gap: 30px 36px; } }
.lp-band--tight .lp-after { margin-top: 22px; }
.lp-band--tight .lp-after a { font-weight: 700; display: inline-block; padding-block: 6px; }

/* ── have an invite? ── */
.lp-steps { display: grid; gap: 16px; margin-top: 28px; counter-reset: step; }
.lp-steps li { position: relative; min-height: 42px; padding: 5px 0 0 58px; counter-increment: step; }
.lp-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; }

/* ── questions ── */
.lp-qa { margin-top: 30px; }
.lp-qa > div { padding-block: 24px; border-top: 1px solid var(--line); }
.lp-qa > div:last-child { padding-bottom: 0; }
.lp-qa dt { font-weight: 700; font-size: 1.15em; line-height: 1.3; }
.lp-qa dd { margin-top: 8px; color: var(--soft); }

/* ── the close ── */
.lp-close { padding-block: 76px; background: var(--deep); color: #FFFFFF; text-align: center; }
.lp-close .lp-intro { margin-inline: auto; color: #E3EEEA; }
.lp-close .lp-actions { margin-top: 30px; }
.lp-close :focus-visible { outline-color: #FFFFFF; }
.lp-quiet--light { margin-inline: auto; border-top-color: rgba(255, 255, 255, 0.28); color: #E3EEEA; }
.lp-quiet--light a { color: #FFFFFF; }
@media (min-width: 768px) { .lp-close { padding-block: 104px; } }

/* ── the foot ── */
.lp-foot { padding-block: 34px calc(44px + env(safe-area-inset-bottom, 0px)); }
.lp-foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; }
.lp-brand--foot { font-size: 1.25rem; gap: 10px; }
.lp-foot-links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.lp-foot-links a { display: inline-flex; align-items: center; min-height: 48px; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.lp-foot-fine { flex-basis: 100%; color: var(--soft); font-size: 0.9em; }
