/* letters.css — dedicated styles for /letters newsletter landing page.
 *
 * Inherits color tokens + base typography from tokens.css, site.css, page.css.
 * Adds only the structural layout specific to the letters page.
 *
 * Page sections (in DOM order):
 *   .letters-page                — outer <article> wrapper
 *   .letters-hero                — first viewport, with form
 *   .letters-what                — "What you will read about" grid (4 days)
 *   .letters-what-grid           — 2x2 grid container
 *   .letters-what-item           — single day block
 *   .letters-voice               — voice rules list
 *   .letters-preview             — sample-letter excerpts
 *   .letters-excerpt             — single excerpt blockquote
 *   .letters-trust               — "what we will never do" list
 *   .letters-foot                — final CTA section with form
 *   .letters-foot-sub            — small subtext above the foot form
 */

.letters-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 24px 96px;
  color: var(--ink-1);
}

/* HERO */

.letters-hero {
  margin: 0 0 80px 0;
  padding: 0;
}

.letters-hero .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 24px 0;
}

.letters-hero h1 {
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink-1);
  margin: 0 0 24px 0;
  max-width: 14ch;
}

.letters-hero .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 0 40px 0;
}

/* The hero form gets large prominent styling */
.letters-hero .subscribe-form-hero {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 0 12px 0;
}

.letters-hero .subscribe-form-hero input[type="email"] {
  flex: 1;
  font-size: 16px;
  padding: 14px 16px;
  background: var(--bg-elev);
  color: var(--ink-1);
  border: 1px solid var(--ink-4);
  border-radius: 8px;
  font-family: inherit;
}

.letters-hero .subscribe-form-hero input[type="email"]::placeholder {
  color: var(--ink-3);
}

.letters-hero .subscribe-form-hero button {
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  background: var(--ink-1);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 120ms ease;
}

.letters-hero .subscribe-form-hero button:hover {
  opacity: 0.85;
}

.letters-hero .subscribe-privacy,
.letters-hero .subscribe-coming-soon-hero {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 56ch;
  margin: 0;
}

/* WHAT (the 4 day blocks) */

.letters-what {
  margin: 0 0 80px 0;
}

.letters-what h2 {
  font-family: var(--serif, Georgia, serif);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 32px 0;
  color: var(--ink-1);
  letter-spacing: -0.01em;
}

.letters-what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}

@media (max-width: 700px) {
  .letters-what-grid {
    grid-template-columns: 1fr;
  }
}

.letters-what-item {
  padding: 24px;
  background: var(--bg-elev);
  border-radius: 12px;
  border: 1px solid var(--ink-4);
}

.letters-what-item .eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 8px 0;
}

.letters-what-item h3 {
  font-family: var(--serif, Georgia, serif);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--ink-1);
  letter-spacing: -0.005em;
}

.letters-what-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* VOICE rules + TRUST list */

.letters-voice,
.letters-trust {
  margin: 0 0 80px 0;
}

.letters-voice h2,
.letters-trust h2 {
  font-family: var(--serif, Georgia, serif);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 24px 0;
  color: var(--ink-1);
  letter-spacing: -0.01em;
}

.letters-voice ul,
.letters-trust ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.letters-voice li,
.letters-trust li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  padding-left: 24px;
  position: relative;
}

.letters-voice li::before,
.letters-trust li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--ink-3);
  font-weight: 600;
}

.letters-voice li strong,
.letters-trust li strong {
  color: var(--ink-1);
  font-weight: 600;
}

/* PREVIEW excerpts */

.letters-preview {
  margin: 0 0 80px 0;
}

.letters-preview h2 {
  font-family: var(--serif, Georgia, serif);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 32px 0;
  color: var(--ink-1);
  letter-spacing: -0.01em;
}

.letters-excerpt {
  border-left: 3px solid var(--ink-3);
  padding: 4px 0 4px 24px;
  margin: 0 0 32px 0;
  font-family: var(--serif, Georgia, serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-1);
}

.letters-excerpt .eyebrow {
  font-family: var(--sans, system-ui, sans-serif);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 10px 0;
}

.letters-excerpt p {
  margin: 0;
}

/* FOOT final CTA */

.letters-foot {
  margin: 0;
  padding: 48px 0 0 0;
  border-top: 1px solid var(--ink-4);
}

.letters-foot h2 {
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px 0;
  color: var(--ink-1);
  letter-spacing: -0.015em;
}

.letters-foot-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 32px 0;
}

.letters-foot .subscribe-form-hero {
  max-width: 560px;
}

/* PDF lead-magnet section — separate signup, sits below the curriculum.
 * For people who want the guide but aren't ready for daily emails.
 */

.letters-pdf-section {
  margin: 0 0 80px 0;
  padding: 40px;
  background: var(--bg-elev);
  border-radius: 16px;
  border: 1px solid var(--ink-4);
}

.letters-pdf-section h2 {
  font-family: var(--serif, Georgia, serif);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.letters-pdf-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 24px 0;
  max-width: 56ch;
}

.letters-pdf-section .subscribe-form-pdf {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 0 12px 0;
}

.letters-pdf-section .subscribe-form-pdf input[type="email"] {
  flex: 1;
  font-size: 16px;
  padding: 14px 16px;
  background: var(--bg);
  color: var(--ink-1);
  border: 1px solid var(--ink-4);
  border-radius: 8px;
  font-family: inherit;
}

.letters-pdf-section .subscribe-form-pdf input[type="email"]::placeholder {
  color: var(--ink-3);
}

.letters-pdf-section .subscribe-form-pdf button {
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  background: var(--ink-1);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 120ms ease;
}

.letters-pdf-section .subscribe-form-pdf button:hover {
  opacity: 0.85;
}

.letters-pdf-section .subscribe-privacy {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}
