/* talkwithleah.app — one small stylesheet, no framework. Colors match the PDF. */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #F4EEE4;
  --paper: #FBF8F3;
  --sage: #4B5A45;
  --sage-soft: #E4E9DD;
  --clay: #A8664E;        /* large text and accents only (3.9:1 on cream) */
  --clay-deep: #8E5440;   /* small clay text (5.2:1 on cream) */
  --ink: #2E2A26;
  --muted: #6B635B;
  --line: #E3DACB;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --wrap: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: var(--sage); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
em, .accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--clay); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.top { padding: 1.1rem 0 .25rem; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; font-weight: 500;
  color: var(--ink); text-decoration: none; letter-spacing: -.01em;
}
.brand:hover { color: var(--sage); }
.top-link { font-size: .9375rem; font-weight: 500; }

/* Type */
h1, h2, h3 { text-wrap: balance; font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.15rem, 8.4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; text-wrap: pretty; }
.eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage); margin: 0 0 .75rem;
}
.lede { font-size: 1.1875rem; color: var(--ink); margin: 1rem 0 0; }
.small { font-size: .875rem; color: var(--muted); }

/* Photo */
.avatar {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--paper);
  box-shadow: 0 10px 30px -12px rgba(46, 42, 38, .35);
  background: var(--sage-soft);
}
.avatar.lg { width: 152px; height: 152px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.375rem; padding: .85rem 1.6rem;
  border: 0; border-radius: 999px;
  background: var(--sage); color: var(--paper);
  font: 600 1.0625rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: #3E4B39; color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--sage); border: 1.5px solid var(--sage); }
.btn.ghost:hover { background: var(--sage-soft); color: var(--ink); }

/* Hero (home + free) */
.hero { padding-top: 1.75rem; padding-bottom: 2.25rem; text-align: center; }
.hero .avatar { margin: 0 auto 1.4rem; }
.hero .btn { margin-top: 1.6rem; }

/* Signup card */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.25rem;
  box-shadow: 0 12px 34px -22px rgba(46, 42, 38, .45);
}
.signup { margin-top: 1.75rem; text-align: left; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .4rem; }
.field input {
  width: 100%; min-height: 3.375rem; padding: .8rem 1rem;
  font: 400 1.0625rem/1.3 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid #CFC5B5; border-radius: 12px;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #8F867C; }
.field input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(75, 90, 69, .22); }
.field input[aria-invalid="true"] { border-color: var(--clay-deep); }
.signup .btn { margin-top: .9rem; }
.fine { text-align: center; margin: .8rem 0 0; font-size: .875rem; color: var(--muted); }
.error { color: var(--clay-deep); font-size: .9375rem; font-weight: 500; margin: .6rem 0 0; }
.error:empty { display: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.thanks { text-align: center; }
.hero .thanks { margin-top: 1.75rem; }
.hero .thanks:first-child { margin-top: 0; }
.thanks h2 { margin-bottom: .5rem; }
.thanks .btn { margin: 1rem 0 .4rem; }
[hidden] { display: none !important; }

/* Example cards */
.section { padding-top: 2.25rem; padding-bottom: 2.25rem; }
.section-head { text-align: center; margin-bottom: 1.4rem; }
.examples { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.example { padding: 1.2rem 1.2rem 1.25rem; }
.example .tag { font-size: .8125rem; font-weight: 600; color: var(--sage); letter-spacing: .02em; margin: 0 0 .7rem; }
.pair { margin: 0; }
.pair dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pair dd { margin: .2rem 0 0; }
.pair .no dt { color: var(--muted); }
.pair .no dd { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(107, 99, 91, .55); }
.pair .yes { margin-top: .85rem; padding-top: .85rem; border-top: 1px dashed var(--line); }
.pair .yes dt { color: var(--clay-deep); }
.pair .yes dd { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.4; color: var(--ink); }

/* Story */
.story { background: var(--sage-soft); border-radius: var(--radius); padding: 1.6rem 1.35rem; }
.story h2 { margin-bottom: 1rem; }
.story p:last-child { margin-bottom: 0; }
.story .pull { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.35; color: var(--sage); }

.cta-band { text-align: center; }
.cta-band p { margin: .6rem 0 1.2rem; }

.social { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.social a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.1rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  text-decoration: none; font-weight: 500; color: var(--ink);
}
.social a:hover { border-color: var(--sage); color: var(--sage); }

/* Long-form (legal) */
.prose { padding-top: 1.5rem; padding-bottom: 2.5rem; }
.prose h1 { font-size: clamp(2rem, 7vw, 2.5rem); margin-bottom: .4rem; }
.prose h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .35rem; }
.prose .updated { color: var(--muted); font-size: .9375rem; margin-bottom: 1.5rem; }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; }

/* Footer */
.foot { padding: 2rem 0 2.5rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.foot p { font-size: .875rem; color: var(--muted); margin: 0 0 .75rem; text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.1rem; margin-bottom: .9rem; font-size: .9375rem; }
.foot nav a { color: var(--ink); text-decoration: none; padding: .35rem 0; }
.foot nav a:hover { color: var(--sage); text-decoration: underline; }

@media (min-width: 720px) {
  .examples.three { max-width: 34rem; margin: 0 auto; }
  .hero { padding-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

.center { text-align: center; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.6rem; }
.btn-row .btn { margin-top: 0; }
.note > :last-child { margin-bottom: 0; }
.note ul { margin-top: .4rem; }
p.note { margin-bottom: 1.25rem; }
cite { font-style: italic; }
