/* slim.css — Distraction-free chrome for opt-in landing, subscribe, and thank-you pages.
   Source: design/od-blog-optin, od-blog-subscribe, od-blog-thankyou renders.
   Loaded on template-optin.php, template-subscribe.php, template-thankyou.php.
   These templates bypass get_header()/get_footer() and build their own minimal chrome. */

/* ─── Reset + base (these templates don't use main.css's nav/footer) ─ */
.pg-slim body {
  background: #F1ECE0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── Slim header ────────────────────────────────────────────────── */
.slim-header {
  background: #F1ECE0;
  border-bottom: 1px solid var(--hairline);
  padding: 0.75rem 1.5rem;
  text-align: center;
}
.slim-header img {
  width: 160px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* ─── Slim footer ────────────────────────────────────────────────── */
.slim-footer {
  background: var(--dark);
  color: var(--on-dark-muted);
  padding: 1.25rem 1.5rem;
  margin-top: auto;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.slim-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.slim-footer a {
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.slim-footer a:hover { color: var(--on-dark); }

/* ─── Shared form block ──────────────────────────────────────────── */
.slim-form-block { max-width: 30rem; }
.slim-form-block .row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.slim-form-block input[type="email"] {
  width: 100%;
  background: #FBF9F3;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-body);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.slim-form-block input[type="email"]::placeholder { color: var(--ink-light); }
.slim-form-block input[type="email"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(236,124,42,0.25);
}
.slim-form-block button {
  width: 100%;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease;
}
.slim-form-block button:hover { background: var(--brand-hover); }
/* The WP form (.pg-optin-form) has no .row wrapper, so the .row gap above
   never applies — space the button off the email field directly. */
.slim-form-block .pg-optin-form button { margin-top: 0.6rem; }
.slim-form-block button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(236,124,42,0.25);
}
.slim-privacy {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin: 0.85rem 0 0;
  line-height: 1.5;
}

/* Teacher credit */
.slim-teacher {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
}
.slim-teacher-face {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 44px;
  box-shadow: 0 1px 4px rgba(27,25,22,0.14);
}
.slim-teacher-text { line-height: 1.3; }
.slim-teacher-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-heading);
}
.slim-teacher-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* ─── Opt-in landing: hero grid ─────────────────────────────────── */
.optin-page-hero {
  background: #F1ECE0;
}
.optin-page-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 1.5rem 3.25rem;
}
.optin-page-copy { text-align: left; }
/* No magnet visual (e.g. a guide magnet without cover art yet): single, centered column. */
.optin-page-grid--solo { grid-template-columns: 1fr; max-width: 640px; }
.optin-page-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 0.9rem;
}
.optin-page-copy h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-heading);
  margin: 0 0 1rem;
  text-wrap: balance;
}
.optin-page-copy .optin-page-subhead {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  max-width: 30rem;
}

/* Video card (magnet visual) */
.optin-page-visual { display: flex; justify-content: center; }
.video-magnet-card {
  width: 100%;
  max-width: 420px;
  background: var(--dark);
  border-radius: 18px;
  padding: 0.75rem;
  box-shadow: 0 24px 48px rgba(27,25,22,0.22);
}
.video-magnet-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #211e1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-magnet-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-magnet-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.30));
}
.video-magnet-play {
  position: relative;
  z-index: 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}
.video-magnet-play svg { width: 26px; height: 26px; margin-left: 3px; fill: #fff; }
.video-magnet-badge {
  position: absolute;
  top: 0.7rem; left: 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: rgba(236,124,42,0.92);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  z-index: 2;
}
/* Guide magnets (PDF cheat-sheet/guide) — cover image instead of a video card. */
.guide-magnet-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: var(--dark);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 24px 48px rgba(27,25,22,0.22);
}
.guide-magnet-cover {
  display: block;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.guide-magnet-badge {
  position: absolute;
  top: 1.4rem; left: 1.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: rgba(236,124,42,0.92);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  z-index: 2;
}
.video-magnet-list {
  list-style: none;
  margin: 0.5rem 0 0.25rem;
  padding: 0.25rem 0.4rem;
  counter-reset: vid;
}
.video-magnet-list li {
  counter-increment: vid;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.4rem;
  color: var(--on-dark-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.video-magnet-list li:last-child { border-bottom: none; }
.video-magnet-list li::before {
  content: counter(vid);
  flex: 0 0 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--on-dark);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Opt-in landing: the case ──────────────────────────────────── */
.optin-page-case {
  max-width: 620px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 0;
}
.optin-page-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-body);
}
.optin-page-lead p { margin: 0 0 1.1rem; }
.optin-page-lead strong { font-weight: 600; color: var(--ink-heading); }
.slim-bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2.5rem;
}
.slim-bullets li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  line-height: 1.5;
  color: var(--ink-body);
}
.slim-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65rem;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EC7C2A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.slim-testimonial {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.slim-testimonial blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--ink-heading);
  margin: 0 0 0.75rem;
}
.slim-testimonial cite {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.slim-repeat-form {
  max-width: 480px;
  margin: 3.5rem auto 5rem;
  background: #FBF9F3;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.slim-repeat-form h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--ink-heading);
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

/* ─── Subscribe page ─────────────────────────────────────────────── */
.subscribe-hero {
  max-width: 560px;
  margin: 0 auto;
  padding: 3.75rem 1.5rem 1rem;
  text-align: center;
}
.subscribe-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 0.9rem;
}
.subscribe-hero h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.95rem, 4.2vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink-heading);
  margin: 0 0 1rem;
  text-wrap: balance;
}
.subscribe-hero .subscribe-subhead {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0 auto 2rem;
  max-width: 30rem;
}
.subscribe-hero .slim-form-block { margin: 0 auto; }
.slim-teacher.center { justify-content: center; }
.slim-teacher.center .slim-teacher-text { text-align: left; }

.subscribe-what {
  max-width: 540px;
  margin: 3.25rem auto 0;
  padding: 0 1.5rem;
}
.subscribe-what-head {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  font-weight: 600;
  margin: 0 0 1.25rem;
}
.subscribe-bullets {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 26rem;
}
.subscribe-bullets li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  line-height: 1.5;
  color: var(--ink-body);
}
.subscribe-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6rem;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EC7C2A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.subscribe-forward {
  text-align: center;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--ink-muted);
  font-size: 1.0625rem;
  line-height: 1.5;
  margin: 2.25rem auto 0;
  max-width: 28rem;
  padding: 0 1.5rem;
}

/* ─── Thank-you page ─────────────────────────────────────────────── */
.thankyou-hero {
  max-width: 600px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 1rem;
  text-align: center;
}
.thankyou-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #E4EDE6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.thankyou-check svg {
  width: 30px; height: 30px;
  stroke: #2F6A4A;
}
.thankyou-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #2F6A4A;
  font-weight: 700;
  margin: 0 0 0.85rem;
}
.thankyou-hero h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink-heading);
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
.thankyou-hero p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 auto;
  max-width: 30rem;
}

/* While you're here cross-promo */
.thankyou-more {
  max-width: 760px;
  margin: 3.5rem auto 0;
  padding: 0 1.5rem;
}
.thankyou-more-head {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  font-weight: 600;
  margin: 0 0 1.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--hairline);
}
.thankyou-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.thankyou-more-card {
  display: block;
  text-decoration: none;
  background: #FBF9F3;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 1.15rem 1.2rem;
  transition: border-color 150ms ease, transform 150ms ease;
}
.thankyou-more-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.thankyou-more-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.thankyou-more-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--ink-heading);
  margin: 0;
}

/* ─── Sticky CTA (optin landing) ────────────────────────────────── */
.slim-sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--dark);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 -4px 16px rgba(27,25,22,0.18);
  transform: translateY(110%);
  transition: transform 220ms ease;
  text-decoration: none;
}
.slim-sticky-cta.show { transform: none; }
.slim-sticky-cta__text { font-size: 0.95rem; font-weight: 500; }
.slim-sticky-cta__btn {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.25rem;
  border-radius: 12px;
  white-space: nowrap;
  transition: background 150ms ease;
}
.slim-sticky-cta:hover .slim-sticky-cta__btn { background: var(--brand-hover); }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .optin-page-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2.25rem 1.25rem 2.5rem; }
  .video-magnet-card { max-width: 360px; }
  .optin-page-case { padding-top: 3rem; }
  .slim-sticky-cta__text { display: none; }
  .slim-sticky-cta { padding: 0.6rem 1rem; }
  .slim-sticky-cta__btn { flex: 1; text-align: center; }
}
@media (max-width: 640px) {
  .subscribe-hero { padding: 3rem 1.25rem 1rem; }
  .thankyou-hero { padding: 3.25rem 1.25rem 1rem; }
  .thankyou-more-grid { grid-template-columns: 1fr; }
}
