/* ─── LFL Trusted Communities — pilot landing page ───────────────────
   Mobile-first. Most visitors arrive from a link forwarded on WhatsApp,
   so the page is built to be read on a phone in one thumb-scroll: hero,
   a short prose passage, three questions, the waitlist.

   Tokens (paper, navy ink, forest green, Instrument Serif / Geist /
   JetBrains Mono) all come from styles.css so this is recognisably the
   same practice. Nothing here overrides a shared class — everything is
   namespaced .tc-* under .page-tc.

   Deliberately image-free: type, rules and whitespace only. Photography
   of any kind on a page like this reads as a dating service. */

.page-tc {
  --tc-max: 660px;          /* reading measure — the whole page sits in it */
  background: var(--paper);
  color: var(--ink);
}
.page-tc .container { max-width: calc(var(--tc-max) + 64px); }
@media (max-width: 720px) { .page-tc .container { padding: 0 22px; } }

/* ─── Header ─────────────────────────────────────────────────────── */
.tc-head {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.tc-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tc-head .brand-logo { height: 22px; width: auto; display: block; }
.tc-head-link {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); text-decoration: none; white-space: nowrap;
}
.tc-head-link:hover { color: var(--green-deep); }

/* ─── Shared type ────────────────────────────────────────────────── */
.tc-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-3);
}
.tc-kicker i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); display: block; flex: none;
}
.tc-h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 7.5vw, 40px); line-height: 1.08;
  letter-spacing: -0.018em; color: var(--ink-deep);
  margin: 0; text-wrap: balance;
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.tc-hero { padding: clamp(44px, 11vw, 84px) 0 clamp(38px, 9vw, 64px); }
.tc-h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 13.5vw, 92px);
  line-height: 0.98; letter-spacing: -0.022em;
  color: var(--ink-deep);
  margin: 20px 0 0; text-wrap: balance;
}
.tc-lede {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(23px, 6vw, 34px); line-height: 1.2;
  letter-spacing: -0.012em; color: var(--green-deep);
  margin: 16px 0 0; max-width: 20ch; text-wrap: balance;
}
.tc-strap {
  margin: 24px 0 0; max-width: 34ch;
  font-size: clamp(16px, 4.2vw, 18px); line-height: 1.5;
  color: var(--ink-2);
}

/* CTA — full width on a phone, intrinsic from tablet up */
.tc-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 30px; padding: 17px 28px; min-height: 52px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--green); color: #fff; text-decoration: none;
  font-family: var(--mono); font-weight: 500; font-size: 12.5px;
  letter-spacing: 0.11em; text-transform: uppercase;
  box-shadow: 0 1px 2px oklch(0.45 0.10 140 / 0.18);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}
.tc-cta:hover { background: var(--green-deep); box-shadow: 0 10px 22px -8px var(--green); transform: translateY(-1px); }
.tc-cta:disabled { opacity: 0.6; cursor: default; transform: none; }
@media (max-width: 560px) { .tc-cta { display: flex; width: 100%; } }

/* Facts a visitor should absorb in the first few seconds. Set as one
   quiet line rather than a row of pills — pills read as a feature list. */
.tc-marks {
  list-style: none; margin: 30px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--rule-soft);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0;
  font-family: var(--mono); font-size: 11px; line-height: 1.7;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.tc-marks li:not(:last-child)::after {
  content: "·"; margin: 0 9px; color: var(--ink-4);
}

/* ─── Prose ──────────────────────────────────────────────────────── */
.tc-body {
  padding: clamp(34px, 8vw, 56px) 0;
  border-top: 1px solid var(--rule-soft);
}
.tc-p {
  margin: 0; max-width: 40ch;
  font-size: clamp(17px, 4.4vw, 19px); line-height: 1.62;
  color: var(--ink-2); text-wrap: pretty;
}
.tc-p + .tc-p { margin-top: 22px; }
.tc-p b { color: var(--ink-deep); font-weight: 500; }

/* ─── The three questions ────────────────────────────────────────── */
.tc-questions {
  padding: clamp(30px, 7vw, 48px) 0 clamp(34px, 8vw, 56px);
  list-style: none; margin: 0;
}
.tc-questions li {
  display: grid; grid-template-columns: 34px 1fr; gap: 4px;
  padding: 22px 0;
  border-top: 1px solid var(--rule-soft);
}
.tc-questions li:last-child { border-bottom: 1px solid var(--rule-soft); }
.tc-q-n {
  font-family: var(--mono); font-size: 11px; line-height: 1.9;
  letter-spacing: 0.08em; color: var(--green-deep);
}
.tc-q {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 5.2vw, 25px); line-height: 1.26;
  letter-spacing: -0.012em; color: var(--ink-deep);
  margin: 0; text-wrap: pretty;
}
@media (max-width: 420px) {
  .tc-questions li { grid-template-columns: 1fr; gap: 8px; }
  .tc-q-n { line-height: 1; }
}

/* ─── Close ──────────────────────────────────────────────────────── */
.tc-close { padding: 0 0 clamp(44px, 10vw, 72px); }
.tc-guarantee {
  margin: 26px 0 0; max-width: 26ch;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(21px, 5.4vw, 28px); line-height: 1.24;
  letter-spacing: -0.012em; color: var(--ink-deep);
  text-wrap: balance;
}
.tc-shape {
  margin: 30px 0 0;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.9;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.tc-limited {
  margin: 22px 0 0;
  font-size: clamp(16px, 4.2vw, 18px); line-height: 1.5;
  color: var(--ink-2);
}
.tc-limited b { color: var(--ink-deep); font-weight: 500; }

/* ─── Facilitator ────────────────────────────────────────────────── */
.tc-fac {
  padding: clamp(30px, 7vw, 44px) 0 clamp(34px, 8vw, 50px);
  border-top: 1px solid var(--rule-soft);
}
.tc-fac-h {
  margin: 0 0 20px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(21px, 5vw, 25px); line-height: 1.2;
  letter-spacing: -0.014em; color: var(--ink-deep);
}
/* Photo and identity share a row; the sentence and the link run the full
   width beneath, which keeps the block short on a phone. */
.tc-fac-grid {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 16px;
  align-items: center;
}
.tc-fac-photo {
  width: 64px; height: 64px;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 1px oklch(0.30 0.12 265 / 0.09);
}
.tc-fac-photo img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
}
.tc-fac-name {
  margin: 0;
  font-size: 17px; font-weight: 500; letter-spacing: -0.005em;
  color: var(--ink-deep);
}
.tc-fac-role {
  margin: 3px 0 0;
  font-family: var(--mono); font-size: 10.5px; line-height: 1.5;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
/* Too long for one line beside the photo on a phone, and a wrap leaves the
   separator stranded — so stack the two credentials and drop it. */
.tc-fac-role span { display: block; }
.tc-fac-role .sep { display: none; }
@media (min-width: 560px) {
  .tc-fac-role span { display: inline; }
  .tc-fac-role .sep { display: inline; }
}
.tc-fac-bio {
  grid-column: 1 / -1;
  margin: 18px 0 0; max-width: 46ch;
  font-size: clamp(15.5px, 4vw, 16.5px); line-height: 1.6; color: var(--ink-2);
  text-wrap: pretty;
}
.tc-fac-link {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 14px;
  font-size: 15px; color: var(--green-deep); text-decoration: none;
  border-bottom: 1px solid oklch(0.48 0.105 140 / 0.35);
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}
.tc-fac-link:hover { border-bottom-color: var(--green-deep); }
@media (min-width: 560px) { .tc-fac-grid { grid-template-columns: 72px 1fr; } .tc-fac-photo { width: 72px; height: 72px; } }

/* ─── Waitlist ───────────────────────────────────────────────────── */
.tc-waitlist {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  padding: clamp(44px, 10vw, 76px) 0 clamp(48px, 11vw, 80px);
  scroll-margin-top: 12px;
}
.tc-waitlist-intro { margin: 0 0 30px; }
.tc-waitlist-intro .tc-h2 { margin-top: 14px; }
.tc-waitlist-intro p {
  margin: 16px 0 0; max-width: 42ch;
  font-size: clamp(16px, 4.2vw, 17.5px); line-height: 1.6; color: var(--ink-2);
}

/* What it costs is the question that stalls someone with their details
   half-typed, so it is answered before the first field rather than in the
   fine print under the button. Set a tier down from the intro so it reads
   as reassurance, not more preamble. */
.tc-waitlist-intro .tc-reassure {
  margin-top: 14px; max-width: 46ch;
  font-size: 14.5px; line-height: 1.6; color: var(--ink-3);
}

.tc-form { display: grid; gap: 14px; }
.tc-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .tc-row { grid-template-columns: 1fr 1fr; gap: 18px; } }

.tc-field { display: grid; gap: 6px; }
.tc-field label {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
/* Set in lower case without the label's tracking, so it reads as an aside
   rather than a second label. */
.tc-field label .opt {
  margin-left: 6px;
  letter-spacing: 0.02em; text-transform: none;
  color: var(--ink-4);
}

/* The one open question is asked in plain sentence case — a tracked mono
   caption would make a personal question read like a database field. */
.tc-field label.q {
  font-family: inherit; font-size: 15.5px; line-height: 1.4;
  letter-spacing: 0; text-transform: none; color: var(--ink-deep);
}

/* Helper text sits under the label rather than in the placeholder, so it
   is still there once the field has been filled in. */
.tc-field .help {
  margin-top: -2px;
  font-size: 13px; line-height: 1.4; color: var(--ink-4);
}
.tc-field-open .help { margin-top: 2px; }

/* Quietly marks where the questions change subject. A serif line, not a
   numbered step — this is a conversation, not a multi-part application. */
.tc-form-h {
  margin: 16px 0 -2px;
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; line-height: 1.2; letter-spacing: -0.012em;
  color: var(--ink-deep);
}
.tc-field input,
.tc-field select,
.tc-field textarea {
  font: inherit;
  font-size: 16px;              /* 16px keeps iOS from zooming the page */
  line-height: 1.45;
  color: var(--ink-deep);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tc-field textarea { min-height: 74px; resize: vertical; }
.tc-field select {
  /* chevron drawn inline so the control matches the text inputs */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='M3 4.5 6 8l3-3.5' stroke='%235a6a8b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.tc-field input:focus,
.tc-field select:focus,
.tc-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px oklch(0.48 0.105 140 / 0.14);
}
.tc-field .hint { font-size: 13px; line-height: 1.45; color: var(--ink-4); }

.tc-submit { margin-top: 8px; }
.tc-fine {
  margin: 12px 0 0;
  font-size: 13px; line-height: 1.5; color: var(--ink-3);
}

.tc-privacy {
  margin: 16px 0 0;
  font-size: 13px; line-height: 1.55; color: var(--ink-4);
}
.tc-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Thank you */
.tc-thanks { display: none; }
.tc-thanks.on { display: block; }
.tc-form-wrap.off { display: none; }
.tc-thanks p {
  margin: 18px 0 0; max-width: 40ch;
  font-size: clamp(16px, 4.2vw, 18px); line-height: 1.6; color: var(--ink-2);
}
.tc-thanks .tc-note {
  margin-top: 22px; padding: 14px 16px;
  border: 1px solid var(--rule); border-radius: 10px;
  background: var(--paper);
  font-size: 14.5px; color: var(--ink-2);
}
.tc-thanks .tc-note[hidden] { display: none; }

/* ─── Footer ─────────────────────────────────────────────────────── */
.tc-foot {
  border-top: 1px solid var(--rule-soft);
  padding: 26px 0 34px;
}
.tc-foot .container {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4);
}
.tc-foot a { color: inherit; text-decoration: none; }
.tc-foot a:hover { color: var(--green-deep); }
