/* Shared building blocks for the three newsletter directions.
   Sits on top of outliers-base.css (a copy of liamottley.com/join/styles.css)
   so every variant keeps the Outliers type, palette, form and profile step. */

:root{--card:#fff;--soft:#f3f1ed;--accent-soft:#fff1eb;--ink-2:#2b2b2b;--mono:'IBM Plex Mono',ui-monospace,monospace}

/* Brand: a small mark beside the lowercase wordmark. */
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand svg{width:38px;height:38px;flex-shrink:0}
.brand .wordmark{font-size:30px}
.footer-brand{display:flex;align-items:center;gap:10px}
.footer-brand svg{width:26px;height:26px}

/* Balanced headline wrapping, so no single word dangles on its own line. */
h1,.section-title,.cta-inner h2,.letter h2{text-wrap:balance}

/* Sections */
.section{max-width:1140px;margin:0 auto;padding:76px 40px;border-top:1px solid var(--line)}
.section.flush{border-top:0}
.kicker{display:flex;gap:14px;align-items:baseline;margin:0 0 22px;font-size:12px;letter-spacing:1.4px;font-weight:600;line-height:1.5}
.kicker .n{color:var(--accent);white-space:nowrap}
.section-title{font-family:var(--display);font-size:clamp(32px,4vw,46px);font-weight:600;line-height:1.14;letter-spacing:-1.6px;margin:0 0 18px;max-width:760px}
.section-title span{color:var(--accent)}
.section-lede{font-size:18px;line-height:1.7;color:#555;max-width:640px;margin:0 0 44px}

/* Proof row: real, measured numbers only. */
.proof{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 40px;margin:34px auto 0;padding:0;list-style:none}
.proof li{display:flex;flex-direction:column;align-items:center;gap:2px}
.proof strong{font-family:var(--display);font-size:26px;font-weight:700;letter-spacing:-.8px;line-height:1.2}
.proof span{font-size:12px;color:var(--muted);letter-spacing:.2px}

/* Two readers, one letter. */
.readers{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.reader{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:32px 30px 30px}
.reader-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.reader-icon{width:46px;height:46px;border-radius:11px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}
.reader-icon svg{width:24px;height:24px}
.reader h3{font-family:var(--display);font-size:22px;font-weight:600;letter-spacing:-.5px;margin:0}
.reader p{font-size:16px;line-height:1.7;color:#555;margin:0 0 18px}
.reader ul{margin:0;padding:0;list-style:none;display:grid;gap:11px}
.reader li{display:flex;gap:11px;font-size:15px;line-height:1.55}
.reader li::before{content:"";flex-shrink:0;width:7px;height:7px;margin-top:8px;border-radius:50%;background:var(--accent)}

/* Photos */
.photo{margin:0}
.photo img{display:block;width:100%;height:auto;border-radius:6px;background:#e6ded2}
.photo figcaption{display:flex;justify-content:space-between;gap:14px;margin-top:12px;font-size:11px;line-height:1.6;color:var(--muted)}
.photo figcaption span:first-child{color:var(--ink);font-weight:600}

/* FAQ */
.faq{max-width:780px}
.faq details{border-bottom:1px solid var(--line)}
.faq details:first-of-type{border-top:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 2px;font-family:var(--display);font-size:19px;font-weight:600;letter-spacing:-.3px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-family:var(--sans);font-weight:400;font-size:26px;line-height:1;color:var(--accent);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{margin:0 0 22px;font-size:16px;line-height:1.75;color:#555;max-width:640px}
.faq summary:focus-visible{outline:3px solid var(--ink);outline-offset:4px}

/* Closing call to action */
.cta-band{max-width:1140px;margin:0 auto 64px;padding:0 40px}
.cta-inner{background:var(--ink);color:#fafafa;border-radius:14px;padding:64px 56px;display:flex;align-items:center;justify-content:space-between;gap:40px;position:relative;overflow:hidden}
.cta-inner h2{font-family:var(--display);font-size:clamp(32px,4vw,48px);font-weight:600;letter-spacing:-1.8px;line-height:1.1;margin:0 0 12px}
.cta-inner h2 span{color:#ff7a4d}
.cta-inner p{margin:0;color:#b9b9b6;font-size:17px;line-height:1.6;max-width:520px}
.cta-button{display:inline-flex;align-items:center;gap:18px;flex-shrink:0;min-height:56px;padding:15px 28px;border-radius:4px;background:var(--accent);color:#fff;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .15s}
.cta-button:hover{background:#ae310d}
.cta-button span{font-size:20px;line-height:1}

.lab-note{max-width:1140px;margin:0 auto;padding:0 40px 40px;font-size:12px;line-height:1.6;color:var(--muted)}

@media(max-width:900px){.readers{grid-template-columns:1fr}}
@media(max-width:700px){
  .brand .wordmark{font-size:25px}.brand svg{width:32px;height:32px}.brand{gap:10px}
  .section{padding:52px 24px}
  .section-title{letter-spacing:-1px}
  .section-lede{font-size:16px;margin-bottom:32px}
  .proof{gap:16px 26px}.proof strong{font-size:22px}
  .reader{padding:26px 22px 24px}
  .faq summary{font-size:17px;padding:19px 2px}
  .cta-band{padding:0 16px;margin-bottom:40px}
  .cta-inner{flex-direction:column;align-items:flex-start;padding:44px 26px;gap:28px}
  .cta-button{width:100%;justify-content:center}
  .lab-note{padding:0 24px 32px}
}
@media(prefers-reduced-motion:reduce){.faq summary::after{transition:none}}
