/* Shared styles for the Rate My Opener / Prelude blogs. Same tokens
   as the landing pages so the whole domain reads as one design. */
:root {
  --bg: #FFFFFF;
  --blush: #FDF1F2;
  --blush-2: #FBE4E6;
  --ink: #26181A;
  --ink-2: #6E5D60;
  --rose: #DE666C;
  --rose-deep: #C24B52;
  --green: #4C9A57;
  --card: #FFFFFF;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Inter", -apple-system, sans-serif;
  background:
    radial-gradient(60rem 40rem at 110% -10%, var(--blush-2) 0%, transparent 60%),
    var(--bg);
  color: var(--ink);
  line-height: 1.7;
}
main { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; }
header.site { display: flex; align-items: center; gap: 12px; padding: 28px 0 8px; }
header.site img { width: 40px; height: 40px; border-radius: 10px; }
header.site .name { font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
header.site nav { margin-left: auto; display: flex; gap: 20px; }
header.site nav a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }

article h1, .listing h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.5rem); font-weight: 800;
  line-height: 1.2; letter-spacing: -0.02em; margin: 36px 0 10px;
  text-wrap: balance;
}
.byline { color: var(--ink-2); font-size: 0.9rem; margin-bottom: 32px; }
article h2 { font-size: 1.4rem; font-weight: 800; margin: 40px 0 12px; letter-spacing: -0.01em; }
article h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; }
article p { margin: 0 0 18px; color: #453538; }
article ul, article ol { margin: 0 0 18px 24px; color: #453538; }
article li { margin-bottom: 8px; }
article b, article strong { color: var(--ink); }
article a { color: var(--rose-deep); }
blockquote {
  border-left: 4px solid var(--rose); background: var(--blush);
  padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 0 0 18px;
  color: var(--ink-2);
}

/* Scored opener examples, styled like the app's lesson chat:
   your opener as a sent bubble, the score as a chip, the coach's
   verdict as a received bubble with her portrait. */
.ex {
  background: var(--card); border-radius: 18px; padding: 20px;
  box-shadow: 0 10px 30px rgba(222, 102, 108, 0.10); margin: 0 0 18px;
}
.ex .sent {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff; border-radius: 18px 18px 4px 18px; padding: 11px 16px;
  width: fit-content; max-width: 82%; margin: 0 0 10px auto;
  font-size: 0.98rem; line-height: 1.5;
}
.ex .chip {
  display: block; font-weight: 800; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 12px; border-radius: 999px;
  width: fit-content; margin: 0 0 10px auto;
}
.ex .chip.good { color: var(--green); background: #E7F3E8; }
.ex .chip.bad { color: var(--rose-deep); background: var(--blush-2); }
.ex .coach-row { display: flex; gap: 10px; align-items: flex-end; margin-right: 12%; }
.ex .coach-row img {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  object-position: 50% 12%; flex: none;
  border: 2px solid var(--blush-2);
}
.ex .coach {
  background: var(--blush); color: #453538;
  border-radius: 18px 18px 18px 4px; padding: 11px 16px;
  font-size: 0.95rem; line-height: 1.5; margin: 0;
}
.ex .recv {
  background: #F3EDEE; color: var(--ink);
  border-radius: 18px 18px 18px 4px; padding: 11px 16px;
  width: fit-content; max-width: 82%; margin: 0 auto 10px 0;
  font-size: 0.98rem; line-height: 1.5;
}

.cta-box {
  background: var(--card); border-radius: 18px; padding: 28px 30px;
  box-shadow: 0 10px 30px rgba(222, 102, 108, 0.10); margin: 40px 0;
  text-align: center;
}
.cta-box p { margin-bottom: 16px; }
.cta-box img { height: 52px; }
.cta-box a.btn {
  display: inline-block; background: var(--rose); color: #fff;
  font-weight: 700; padding: 14px 28px; border-radius: 999px;
  text-decoration: none;
}
.cta-box a.btn:hover { background: var(--rose-deep); }

.disclaimer { font-size: 0.82rem; color: var(--ink-2); border-top: 1px solid var(--blush-2); padding-top: 16px; margin-top: 48px; }

/* Keep-reading links at the end of posts */
.keep-reading { margin-top: 44px; }
.keep-reading h2 { font-size: 1.15rem; margin: 0 0 12px; }
.keep-reading a { display: block; color: var(--rose-deep); font-weight: 600; margin-bottom: 10px; text-decoration: none; }
.keep-reading a:hover { text-decoration: underline; }

/* Blog index cards */
.post-card {
  display: block; background: var(--card); border-radius: 18px;
  padding: 26px 28px; margin-bottom: 20px; text-decoration: none;
  box-shadow: 0 8px 24px rgba(222, 102, 108, 0.07);
}
.post-card h2 { color: var(--ink); font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.post-card p { color: var(--ink-2); font-size: 0.95rem; }
.post-card .date { font-size: 0.8rem; color: var(--rose); font-weight: 600; }

footer.site {
  border-top: 1px solid var(--blush-2); padding: 24px 0 0; margin-top: 48px;
  display: flex; gap: 20px; flex-wrap: wrap; color: var(--ink-2); font-size: 0.88rem;
}
footer.site a { color: var(--ink-2); }
footer.site .spacer { flex: 1; }
