/* ============================================================
   GroupKith — "The Weave"
   A sleek, premium redesign built as one piece of handwoven cloth.
   Coral weft thread is the signature; everything else stays quiet.
   Plain CSS + inline SVG. Light, warm, AA. No framework.
   ============================================================ */

:root {
  /* Dyed threads + cloth */
  --coral: #E76F45;          /* weft thread, large accents, graphics */
  --coral-action: #C75024;   /* filled buttons / small coral text (AA) */
  --coral-action-h: #AE421B; /* button hover */
  --coral-text: #B8471F;     /* small coral text on linen (AA on both grounds) */
  --ink: #2A1E17;            /* headings — warm near-black */
  --taupe: #5B4E45;          /* body copy (AA on linen) */
  --linen: #FBF7F2;          /* page ground — undyed cloth */
  --linen-2: #F5EEE4;        /* alt band — oatmeal-washed linen */
  --oatmeal: #EAE0D6;        /* warp threads / hairlines */
  --line: #E3D8CA;           /* slightly stronger hairline */
  --sage: #5E8B7E;           /* Prayer thread (graphics) */
  --sage-700: #3F6357;       /* sage small text (AA) */
  --ochre: #C5872F;          /* Events thread (graphics) */
  --ochre-700: #8A5A1C;      /* ochre small text (AA) */
  --clay: #5A2A1C;           /* the one deep hearth band */
  --cream: #FBF5EC;          /* warm white on the deep band */

  --r: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(42, 30, 23, .05);
  --shadow: 0 16px 38px -20px rgba(42, 30, 23, .20);
  --shadow-lg: 0 34px 80px -30px rgba(42, 30, 23, .30);
  --shadow-coral: 0 14px 28px -12px rgba(199, 80, 36, .42);

  --maxw: 1140px;
  --gutter: clamp(20px, 4vw, 44px);
  --rail-x: max(16px, calc(50% - 570px + var(--gutter) - 16px));

  --f-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:where([id]) { scroll-margin-top: 92px; }

body {
  margin: 0;
  background: var(--linen);
  color: var(--taupe);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.028em;
  line-height: 1.06;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 1.2rem + 5.6vw, 5rem); line-height: 1.0; letter-spacing: -0.038em; }
h2 { font-size: clamp(2.05rem, 1.2rem + 3.2vw, 3.3rem); letter-spacing: -0.032em; }
h3 { font-size: 1.28rem; letter-spacing: -0.012em; line-height: 1.25; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }

a { color: var(--coral-text); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--coral-action-h); }

/* Woven underline for keywords / inline links — coral stroke with one over/under dip */
.woven {
  color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='8'%3E%3Cpath d='M0 6 Q11 6 16 4 T28 4 Q33 6 44 6' fill='none' stroke='%23E76F45' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 22px 7px;
  padding-bottom: 3px;
}

/* ---- Mono loom-marking eyebrow + knot node ---- */
.mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--coral-text);
  margin: 0 0 18px;
}
.mark::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--linen);
  flex-shrink: 0;
}
.section--alt .mark::before { box-shadow: 0 0 0 4px var(--linen-2); }
.section--deep .mark { color: #E9C4A8; }
.section--deep .mark::before { background: var(--coral); box-shadow: 0 0 0 4px var(--clay); }

/* ---- Layout ---- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.lead { font-size: clamp(1.12rem, 1rem + 0.6vw, 1.35rem); line-height: 1.55; color: var(--taupe); max-width: 36ch; }
.measure { max-width: 62ch; }

/* ---- The signature spine: a continuous coral thread down the left rail ----
   Each contiguous section paints a 2px segment at the same x, so they read as
   one unbroken thread. Knots live on the .mark eyebrows. Dye changes per module. */
.section { position: relative; padding: clamp(72px, 10vw, 132px) 0; }
.section::before {
  content: "";
  position: absolute;
  left: var(--rail-x);
  top: 0; bottom: 0;
  width: 2px;
  background: var(--coral);
  opacity: 0.42;
  z-index: 0;
}
.section--alt { background: var(--linen-2); }
.section--events::before { background: var(--ochre); opacity: 0.6; }
.section--prayer::before { background: var(--sage); opacity: 0.6; }
.section--deep::before { background: var(--coral); opacity: 0.85; }
.section > .container { z-index: 1; }
.section--first::before { top: 64px; }           /* thread is "born" just below the nav */
.section--last::before { bottom: auto; height: 92px; } /* tie-off near the end */

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled { background: rgba(251, 247, 242, 0.88); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 1.24rem; letter-spacing: -0.03em; }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand small { display: block; font-family: var(--f-mono); font-size: 0.56rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--coral-action); margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: clamp(6px, 1.6vw, 22px); }
.nav__links a:not(.btn) { color: var(--taupe); font-weight: 500; font-size: 0.95rem; padding: 6px 2px; position: relative; }
.nav__links .btn { padding: 9px 18px; font-size: 0.92rem; box-shadow: none; }
.nav__links .btn--primary { color: #fff; }
.nav__links .btn--primary:hover { box-shadow: 0 8px 18px -8px rgba(199, 80, 36, .55); }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links a:not(.btn).is-active { color: var(--ink); }
.nav__links a:not(.btn).is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='8'%3E%3Cpath d='M0 6 Q11 6 16 4 T28 4 Q33 6 44 6' fill='none' stroke='%23E76F45' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 100% / 22px 7px;
}
.nav__toggle { display: none; background: var(--linen); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; box-shadow: var(--shadow-sm); }
.nav__toggle svg { width: 20px; height: 20px; color: var(--ink); }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--linen); padding: 14px var(--gutter) 22px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }
  .nav__links a:not(.btn) { padding: 11px 6px; font-size: 1rem; }
  .nav[data-open="true"] .nav__links { transform: none; opacity: 1; pointer-events: auto; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 24px; border-radius: var(--r); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.btn--primary { background: var(--coral-action); color: #fff; box-shadow: var(--shadow-coral); }
.btn--primary:hover { background: var(--coral-action-h); color: #fff; transform: translateY(-1px); box-shadow: 0 18px 34px -12px rgba(199,80,36,.5); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--coral); color: var(--ink); transform: translateY(-1px); }
.btn--store { background: var(--ink); color: #fff; border-radius: var(--r); padding: 11px 20px; gap: 12px; box-shadow: var(--shadow-sm); }
.btn--store:hover { background: #3a2a20; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--store .glyph { font-size: 26px; line-height: 1; }
.btn--store .lbl { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.12; }
.btn--store .lbl small { font-size: 0.66rem; opacity: 0.82; font-weight: 500; }
.btn--store .lbl strong { color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 6px 0 0.5em; }
.hero h1 .dyed { color: var(--coral); }
.hero__sub { margin-top: 22px; }
.hero__panel { position: relative; }
.hero__panel svg { width: 100%; height: auto; overflow: visible; }
.hero__note { margin-top: 22px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--taupe); }
.hero__note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(94,139,126,.16); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: 2; max-width: 540px; }
}

/* Concrete product "moments" floating over the woven cloth — grounds the value prop */
.hero__cloth { position: relative; z-index: 0; }
.moment {
  position: absolute; z-index: 3;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 14px;
}
.moment::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: -3px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='8'%3E%3Cpath d='M0 6 Q11 6 16 4 T28 4 Q33 6 44 6' fill='none' stroke='%23E76F45' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0 / 22px 7px;
  opacity: 0.6;
}
.m-chat { top: 1%; left: -7%; width: min(252px, 64%); }
.m-event { bottom: 16%; right: -7%; }
.m-prayer { bottom: -3%; left: 9%; }
.m-head { display: flex; align-items: center; gap: 8px; }
.m-av { width: 27px; height: 27px; border-radius: 8px; background: linear-gradient(135deg, #E76F45, #C75024); color: #fff; font-weight: 700; font-size: 0.74rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.m-name { font-family: var(--f-display); font-weight: 700; font-size: 0.82rem; color: var(--ink); }
.m-time { font-family: var(--f-mono); font-size: 0.6rem; color: var(--taupe); opacity: 0.7; margin-left: auto; }
.m-text { margin-top: 6px; font-size: 0.82rem; color: var(--taupe); line-height: 1.4; }
.m-react { margin-top: 9px; display: inline-flex; gap: 6px; }
.m-react span { background: var(--linen-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; font-size: 0.66rem; color: var(--coral-text); font-weight: 600; }
.m-event { display: flex; gap: 11px; align-items: center; }
.m-date { width: 42px; height: 47px; border-radius: 10px; background: var(--linen-2); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.m-date small { font-family: var(--f-mono); font-size: 0.56rem; letter-spacing: 0.08em; color: var(--coral-text); }
.m-date b { font-family: var(--f-display); font-size: 1.1rem; color: var(--ink); line-height: 1; }
.m-ev-name { font-family: var(--f-display); font-weight: 700; font-size: 0.86rem; color: var(--ink); }
.m-ev-sub { font-size: 0.72rem; color: var(--taupe); margin-top: 1px; }
.m-rsvp { margin-top: 4px; font-size: 0.72rem; font-weight: 600; color: var(--sage-700); }
.m-prayer { display: flex; gap: 10px; align-items: center; }
.m-ico { width: 31px; height: 31px; border-radius: 9px; background: #E6F0EB; border: 1px solid #CFE2DA; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.m-prayer b { font-family: var(--f-display); font-size: 0.84rem; color: var(--ink); display: block; line-height: 1.1; }
.m-prayer small { font-size: 0.7rem; color: var(--taupe); }
@media (max-width: 900px) {
  .moment { box-shadow: var(--shadow); }
  .m-chat { left: 0; top: 0; }
  .m-event { right: 0; }
  .m-prayer { left: 3%; }
}
@media (max-width: 540px) {
  .m-prayer { display: none; }
  .m-chat { width: 66%; }
  .m-event { bottom: 10%; }
}

/* Hero: woven cloth removed — the moment cards shown as a clean stack */
.hero__stack { display: flex; flex-direction: column; gap: 16px; max-width: 384px; margin: 0 auto; }
.hero__stack .moment { position: static; width: auto; box-shadow: var(--shadow-lg); }
.hero__stack .m-chat { align-self: stretch; }
.hero__stack .m-event { align-self: flex-end; width: 84%; }
.hero__stack .m-prayer { align-self: flex-start; display: flex; width: 78%; }

/* Hero: real app screenshot in a warm device frame */
.hero__panel { position: relative; }
.hero__panel::before {
  content: ""; position: absolute; inset: 4% 2% 2% 2%; z-index: 0;
  background: radial-gradient(52% 46% at 50% 42%, rgba(231, 111, 69, .22), transparent 72%);
  filter: blur(30px); pointer-events: none;
}
.hero__device {
  position: relative; z-index: 1;
  width: 296px; max-width: 100%; margin: 0 auto;
  border-radius: 44px; padding: 10px;
  background: linear-gradient(155deg, #2c2218, #15100b);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .06);
}
.hero__device img { width: 100%; height: auto; display: block; border-radius: 34px; }

/* ============================================================
   Generic two-column "loom" section (text + woven figure)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.split--reverse > .fig { order: -1; }
.split .fig svg { width: 100%; height: auto; overflow: visible; }
.split h2 { margin-top: 10px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse > .fig { order: 0; }
}

/* checklist with woven coral tick */
.checks { list-style: none; padding: 0; margin: 22px 0 0; }
.checks li { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; color: var(--taupe); }
.checks li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C75024' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 18px;
}

/* ============================================================
   Modules — three woven swatches with thread toggles
   ============================================================ */
.weft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 52px); }
.swatch {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.swatch:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.swatch--events { border-color: #EBD7B4; }
.swatch--polls  { border-color: #F4CBB6; }
.swatch--prayer { border-color: #CFE2DA; }
.swatch__weave { width: 100%; min-height: 86px; border-radius: 10px; overflow: hidden; margin-bottom: 16px; background: var(--linen-2); border: 1px solid var(--line); display: flex; align-items: center; padding: 12px 13px; }
.mini { width: 100%; font-size: 0.78rem; }
.mini--event { display: flex; align-items: center; gap: 10px; }
.mini-date { width: 40px; height: 44px; border-radius: 9px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.mini-date small { font-family: var(--f-mono); font-size: 0.52rem; letter-spacing: 0.06em; color: var(--ochre-700); }
.mini-date b { font-family: var(--f-display); font-size: 1.02rem; color: var(--ink); line-height: 1; }
.mini--event .mt b { font-family: var(--f-display); font-size: 0.85rem; color: var(--ink); display: block; }
.mini--event .mt small { color: var(--taupe); font-size: 0.72rem; }
.mini--poll .mini-q { font-family: var(--f-display); font-weight: 700; font-size: 0.8rem; color: var(--ink); margin-bottom: 8px; }
.mini-bar { position: relative; height: 19px; border-radius: 6px; background: #fff; border: 1px solid var(--line); margin-bottom: 5px; overflow: hidden; display: flex; align-items: center; }
.mini-bar span { position: absolute; left: 0; top: 0; bottom: 0; background: #F6D0BD; }
.mini-bar i { position: relative; font-style: normal; font-size: 0.66rem; color: var(--ink); padding-left: 8px; font-weight: 600; }
.mini--prayer { display: flex; align-items: center; gap: 10px; }
.mini-ico { width: 33px; height: 33px; border-radius: 9px; background: #E6F0EB; border: 1px solid #CFE2DA; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.mini--prayer .mt b { font-family: var(--f-display); font-size: 0.84rem; color: var(--ink); display: block; }
.mini--prayer .mt small { color: var(--taupe); font-size: 0.72rem; }
.swatch__toggle { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.swatch__toggle .pip { width: 30px; height: 16px; border-radius: 999px; position: relative; background: var(--coral); transition: background .2s ease; }
.swatch__toggle .pip::after { content: ""; position: absolute; top: 2px; left: 16px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .25s ease; }
.swatch--events .swatch__toggle .pip { background: var(--ochre); }
.swatch--prayer .swatch__toggle { color: var(--sage-700); }
.swatch--prayer .swatch__toggle .pip { background: var(--oatmeal); }
.swatch--prayer .swatch__toggle .pip::after { left: 2px; }
.swatch--events .swatch__toggle { color: var(--ochre-700); }
.swatch--polls  .swatch__toggle { color: var(--coral-text); }
.swatch h3 { margin: 0 0 6px; }
.swatch p { margin: 0; font-size: 0.96rem; }
@media (max-width: 820px) { .weft-grid { grid-template-columns: 1fr; max-width: 460px; } }

/* ============================================================
   Comparison — a normal group chat vs GroupKith (threaded mocks)
   ============================================================ */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(10px, 2.2vw, 26px); align-items: center; margin-top: clamp(32px, 5vw, 52px); }
.vs-shot { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vs-shot .hero__device { width: 296px; }
.vs-shot .vs-label { margin: 0; }
.vs-shot .vs-tag { margin-top: 0; justify-content: center; text-align: center; }
.vs-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.vs-card--old { background: #FAF8F5; }
.vs-card::before {
  content: ""; position: absolute; left: 16px; right: 16px; top: -3px; height: 6px;
  background-repeat: repeat-x; background-position: 0 0; background-size: 22px 7px;
}
.vs-card--gk::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='8'%3E%3Cpath d='M0 6 Q11 6 16 4 T28 4 Q33 6 44 6' fill='none' stroke='%23E76F45' stroke-width='2'/%3E%3C/svg%3E"); opacity: .75; }
.vs-card--old::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='8'%3E%3Cpath d='M0 5 l7 -1 m5 3 l7 -2 m4 1 l8 0 m5 1 l7 -1' fill='none' stroke='%23C2B2A0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); opacity: .85; }
.vs-label { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe); margin-bottom: 13px; }
.vs-label .d { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex-shrink: 0; }
.vs-label .d--mute { background: #B9ADA3; }
.vs-feed { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.vs-msg { background: var(--linen-2); border-radius: 11px; padding: 7px 11px; font-size: 0.78rem; color: var(--taupe); max-width: 92%; line-height: 1.35; }
.vs-msg b { color: var(--ink); font-weight: 600; }
.vs-msg--key { background: #FBE4D9; border: 1px solid #F6D0BD; color: var(--ink); }
.vs-msg--me { align-self: flex-end; background: #EFE8DE; }
.vs-pray { background: linear-gradient(180deg, #fff, #FBE4D9); border: 1px solid #F6D0BD; border-radius: 12px; padding: 11px 12px; }
.vs-chip { display: inline-block; font-family: var(--f-mono); font-size: 0.54rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-text); background: #fff; border: 1px solid #F6D0BD; border-radius: 999px; padding: 2px 8px; }
.vs-pray-t { font-family: var(--f-display); font-weight: 700; font-size: 0.9rem; color: var(--ink); margin-top: 8px; }
.vs-pray-b { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 0.7rem; color: var(--taupe); }
.vs-praybtn { background: var(--coral-action); color: #fff; font-weight: 600; border-radius: 999px; padding: 3px 11px; font-size: 0.7rem; }
.vs-ev { display: flex; align-items: center; gap: 11px; margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; }
.vs-ev-date { width: 40px; height: 44px; border-radius: 9px; background: var(--linen-2); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.vs-ev-date small { font-family: var(--f-mono); font-size: 0.52rem; color: var(--ochre-700); }
.vs-ev-date b { font-family: var(--f-display); font-size: 1rem; color: var(--ink); line-height: 1; }
.vs-ev > div b { font-family: var(--f-display); font-size: 0.84rem; color: var(--ink); display: block; }
.vs-ev > div small { font-size: 0.72rem; color: var(--taupe); }
.vs-tag { margin-top: 15px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 600; }
.vs-tag svg { width: 17px; height: 17px; flex-shrink: 0; }
.vs-tag--bad { color: var(--taupe); }
.vs-tag--good { color: var(--sage-700); }
.vs-mid { display: flex; align-items: center; justify-content: center; color: var(--coral); }
.vs-mid svg { width: 40px; height: 40px; }
/* "bottom nav" contrast: one endless stream vs separate tabs */
.vs-onetab { margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.05em; text-transform: uppercase; color: #A89A8E; }
.vs-onetab svg { width: 15px; height: 15px; flex-shrink: 0; }
.vs-tabs { margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.vs-tabs span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--f-mono); font-size: 0.54rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--taupe); }
.vs-tabs svg { width: 19px; height: 19px; }
.vs-tabs .on { color: var(--coral-text); font-weight: 700; }
@media (max-width: 760px) {
  .vs { grid-template-columns: 1fr; }
  .vs-mid svg { transform: rotate(90deg); }
}

/* ============================================================
   Calm group chat (the "quiet home" figure)
   ============================================================ */
.chat { position: relative; max-width: 420px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.chat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='8'%3E%3Cpath d='M0 6 Q11 6 16 4 T28 4 Q33 6 44 6' fill='none' stroke='%23E76F45' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0 / 22px 7px; opacity: .8; z-index: 2; }
.chat__head { display: flex; align-items: center; gap: 11px; padding: 16px 18px 14px; border-bottom: 1px solid var(--line); background: var(--linen); }
.chat__av { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--coral), var(--coral-action)); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; flex-shrink: 0; }
.chat__head b { font-family: var(--f-display); font-size: 1rem; color: var(--ink); display: block; line-height: 1.1; }
.chat__head small { font-size: 0.73rem; color: var(--taupe); }
.chat__day { text-align: center; font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe); padding: 14px 0 2px; }
.chat__feed { padding: 6px 16px 18px; display: flex; flex-direction: column; gap: 11px; }
.cmsg { display: flex; gap: 9px; align-items: flex-end; }
.cmsg__av { width: 26px; height: 26px; border-radius: 8px; color: #fff; font-weight: 700; font-size: 0.64rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cmsg__b { background: var(--linen-2); border-radius: 14px; border-bottom-left-radius: 4px; padding: 8px 12px; font-size: 0.82rem; color: var(--taupe); max-width: 82%; line-height: 1.4; }
.cmsg__b b { color: var(--ink); font-weight: 600; display: block; font-size: 0.71rem; margin-bottom: 1px; }
.cmsg__re { display: flex; gap: 5px; margin-top: 7px; }
.cmsg__re span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; font-size: 0.64rem; color: var(--coral-text); font-weight: 600; }
.cmsg--me { flex-direction: row-reverse; }
.cmsg--me .cmsg__b { background: #FBE4D9; border: 1px solid #F6D0BD; color: var(--ink); border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }

/* ============================================================
   Selvedge (trust) — assurance row
   ============================================================ */
.assure { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe); }
.assure span { display: inline-flex; align-items: center; gap: 10px; }
.assure span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

/* ============================================================
   Deep hearth band
   ============================================================ */
.section--deep {
  background:
    radial-gradient(900px 420px at 18% -20%, rgba(231,111,69,.28), transparent 62%),
    linear-gradient(165deg, #67331F 0%, var(--clay) 70%);
  color: var(--cream);
}
.section--deep h2 { color: #fff; }
.section--deep p { color: rgba(251,245,236,.86); }
.hearth { max-width: 720px; }
.hearth .lead { color: rgba(251,245,236,.9); max-width: 48ch; }
.hearth__line { margin-top: 26px; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: #E9C4A8; }
.hearth-grid { display: grid; grid-template-columns: 1fr minmax(280px, 384px); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .hearth-grid { grid-template-columns: 1fr; } .hearth { max-width: none; } }

/* --- Info cards: concrete Privacy & Pricing visuals (not threads) --- */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px; max-width: 408px; margin: 0 auto; }
.ic-head { display: flex; align-items: center; gap: 12px; }
.ic-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--linen-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--coral-text); flex-shrink: 0; }
.ic-ico svg { width: 22px; height: 22px; }
.ic-head b { font-family: var(--f-display); font-size: 1rem; color: var(--ink); display: block; line-height: 1.15; }
.ic-head small { font-size: 0.74rem; color: var(--taupe); }
.ic-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; background: var(--linen-2); border: 1px solid var(--line); border-radius: 11px; padding: 8px 8px 8px 13px; }
.ic-url { font-family: var(--f-mono); font-size: 0.76rem; color: var(--taupe); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ic-btn { font-weight: 600; font-size: 0.76rem; color: #fff; background: var(--coral-action); border-radius: 8px; padding: 6px 13px; flex-shrink: 0; }
.ic-note { margin: 14px 0 0; font-size: 0.84rem; color: var(--taupe); line-height: 1.5; }
.ic-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: 0.76rem; color: var(--sage-700); font-weight: 600; }
.ic-foot svg { width: 16px; height: 16px; flex-shrink: 0; }
.price-card { text-align: left; }
.pc-for { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-text); }
.pc-amt { display: flex; align-items: baseline; gap: 8px; margin: 9px 0 2px; }
.pc-amt b { font-family: var(--f-display); font-weight: 800; font-size: 3.1rem; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.pc-amt span { font-size: 0.95rem; color: var(--taupe); }
.pc-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 9px; }
.pc-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--taupe); }
.pc-list li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F6357' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 16px; }
.pc-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--taupe); line-height: 1.5; }

/* ============================================================
   Gather — three advancing swatches + kith tag
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(36px, 5vw, 52px); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.step__weave { height: 56px; margin-bottom: 16px; }
.step__weave svg { width: 100%; height: 100%; }
.step .num { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--coral-text); }
.step h3 { margin: 8px 0 6px; font-size: 1.14rem; }
.step p { margin: 0; font-size: 0.95rem; }
.kith-tag {
  margin-top: 30px; display: inline-flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  background: var(--linen-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 18px; box-shadow: var(--shadow-sm);
}
.kith-tag b { font-family: var(--f-display); color: var(--ink); font-size: 1.05rem; }
.kith-tag .ipa { font-family: var(--f-mono); font-size: 0.8rem; color: var(--coral-text); }
.kith-tag span { color: var(--taupe); font-size: 0.96rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; max-width: 460px; } }

/* ============================================================
   Final CTA
   ============================================================ */
.final { text-align: center; }
.final h2 { margin-top: 12px; }
.final .lead { margin: 0 auto; max-width: 40ch; }
.final .cta-row { justify-content: center; margin-top: 28px; }
.final__cloth { margin: 0 auto clamp(24px,4vw,40px); max-width: 280px; }

/* ============================================================
   Footer
   ============================================================ */
.foot { background: var(--linen-2); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 34px; position: relative; }
.foot::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='8'%3E%3Cpath d='M0 6 Q11 6 16 4 T28 4 Q33 6 44 6' fill='none' stroke='%23E76F45' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0 / 22px 7px; opacity: .5; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font-family: var(--f-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--taupe); margin: 0 0 14px; font-weight: 400; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.foot ul a { color: var(--taupe); }
.foot ul a:hover { color: var(--ink); }
.foot__brand { max-width: 300px; }
.foot__brand p { color: var(--taupe); font-size: 0.94rem; margin-top: 12px; }
.foot__bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.86rem; color: var(--taupe); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ============================================================
   Skip link, focus, motion
   ============================================================ */
.skip-link { position: absolute; left: 16px; top: -56px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .18s ease; }
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 2px solid var(--coral-action); outline-offset: 2px; border-radius: 3px; }

/* Draw-in: threads draw themselves via stroke-dashoffset when .in-view is set.
   Gated behind .js (set by an inline head script) so JS-off shows everything. */
.js .draw path, .js .draw line, .js .draw polyline, .js .draw circle { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); transition: stroke-dashoffset .7s ease; }
.js .draw.in-view path, .js .draw.in-view line, .js .draw.in-view polyline, .js .draw.in-view circle { stroke-dashoffset: 0; }
.js .rise { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.js .rise.in-view { opacity: 1; transform: none; }
.rise-2 { transition-delay: .08s; } .rise-3 { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .draw path, .draw line, .draw polyline, .draw circle { stroke-dashoffset: 0 !important; }
  .rise { opacity: 1 !important; transform: none !important; }
}

/* Fine warm grain for tactile depth */
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ============================================================
   Subpage components (features / churches / support / legal)
   Fresh, Weave-token versions so the whole site is cohesive.
   ============================================================ */
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Mono eyebrow — matches the homepage .mark */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 0.72rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.16em; color: var(--coral-text); margin: 0 0 16px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); flex-shrink: 0; }

/* Subpage hero */
.page-hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(900px 440px at 82% -25%, rgba(231,111,69,.12), transparent 60%), linear-gradient(180deg, #FBEFE7, transparent 88%); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; }
.page-hero p { max-width: 60ch; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.2rem); color: var(--taupe); }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(264px, 1fr)); gap: 20px; margin-top: clamp(36px, 5vw, 52px); }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 9px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #F6D0BD; }
.feature-card .icon { width: 46px; height: 46px; border-radius: 13px; background: #FBE4D9; border: 1px solid #F6D0BD; color: var(--coral-text); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.feature-card h3 { margin: 0; color: var(--ink); font-size: 1.1rem; }
.feature-card p { margin: 0; color: var(--taupe); font-size: 0.95rem; }
.opt-badge { display: inline-block; margin-left: 8px; font-family: var(--f-mono); font-size: 0.56rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--taupe); background: var(--linen-2); border: 1px solid var(--line); padding: 2px 7px; border-radius: 999px; vertical-align: middle; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; color: var(--taupe); }
.checklist li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C75024' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 16px; }

/* FAQ accordion */
.faq { display: grid; gap: 12px; margin-top: clamp(28px, 4vw, 40px); max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 2px 10px; box-shadow: var(--shadow-sm); transition: border-color .18s ease, box-shadow .18s ease; }
.faq details[open] { border-color: #F6D0BD; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 18px 12px; font-weight: 600; font-size: 1.02rem; color: var(--ink); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 400; line-height: 1; color: var(--coral-text); background: #FBE4D9; border-radius: 50%; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 12px 18px; color: var(--taupe); }
.faq .a p:last-child { margin-bottom: 0; }

/* Tiles (audience grid) */
.tile { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 44px); }
.tile > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tile > div:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #F6D0BD; }
.tile strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 5px; }
.tile span { color: var(--taupe); font-size: 0.93rem; line-height: 1.55; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #B5451F 0%, #97391A 100%); color: #fff; border-radius: 32px; padding: clamp(44px, 6vw, 80px); text-align: center; margin: 0 var(--gutter); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 320px at 18% -10%, rgba(255,255,255,.22), transparent 60%); pointer-events: none; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 26px; }
.cta-band .hero__ctas, .cta-band .cta-row { justify-content: center; }
.cta-band .btn--primary { background: #fff; color: var(--coral-text); }
.cta-band .btn--primary:hover { background: var(--linen); color: var(--coral-text); }
.cta-band .btn--store { background: rgba(0,0,0,.28); }
.cta-band .btn--store:hover { background: rgba(0,0,0,.45); }
.cta-band .eyebrow { color: #fff; }
.cta-band .eyebrow::before { background: #fff; }

/* Prose (legal / support long-form) */
.prose { max-width: 72ch; margin: 0 auto; }
.prose h1 { margin-bottom: 8px; }
.prose .updated { color: var(--taupe); font-family: var(--f-mono); font-size: 0.78rem; margin-bottom: 36px; }
.prose h2 { margin-top: 52px; font-size: clamp(1.4rem, 1rem + 1.4vw, 1.7rem); }
.prose h3 { margin-top: 30px; font-size: 1.16rem; color: var(--ink); }
.prose p, .prose li { color: var(--taupe); line-height: 1.72; }
.prose a { color: var(--coral-text); border-bottom: 1px solid #F6D0BD; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul li, .prose ol li { margin: 8px 0; }
.prose strong { color: var(--ink); }
.prose code { background: var(--linen-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-family: var(--f-mono); font-size: 0.92em; }
