/* Design This Life: warm editorial journal. Teal from the logo, cream paper, one clay accent. */

/* Self-hosted fonts (SIL Open Font License), from Google Fonts. Latin loads by default; latin-ext only if a page needs it. */
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/young-serif-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/young-serif-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/atkinson-hyperlegible-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/atkinson-hyperlegible-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/atkinson-hyperlegible-400-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/atkinson-hyperlegible-400-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/atkinson-hyperlegible-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/atkinson-hyperlegible-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #fbf7f0;
  --paper-2: #f3ece0;
  --card: #ffffff;
  --line: #e4d9c8;
  --ink: #22302f;
  --ink-soft: #4a5756;
  --teal: #0e6e6c;
  --teal-deep: #0a4b4a;
  --teal-mist: #e3f0ee;
  --clay: #b3502c;
  --clay-deep: #8f3f22;
  --display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --body: 'Atkinson Hyperlegible', 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(34, 48, 47, 0.06), 0 8px 24px rgba(34, 48, 47, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.1875rem; /* 19px */
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 14px; z-index: 10; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--clay); color: #fff;
  font: 700 1.0625rem/1 var(--body);
  border: 0; border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--clay-deep); transform: translateY(-1px); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn-light { background: #fff; color: var(--teal-deep); }
.btn-light:hover { background: var(--teal-mist); }
.btn-outline { background: transparent; color: var(--teal-deep); border: 2px solid var(--teal); min-height: 46px; }
.btn-outline:hover { background: var(--teal-mist); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { width: 128px; }
.desktop-nav { display: none; align-items: center; gap: 18px; }
.desktop-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 0.875rem; white-space: nowrap; }
.desktop-nav a:not(.btn):hover { color: var(--teal); text-decoration: underline; text-underline-offset: 6px; }
.mobile-nav summary {
  list-style: none; cursor: pointer; font-weight: 700; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav {
  position: absolute; left: 16px; right: 16px; top: 72px;
  display: grid; gap: 4px; padding: 14px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.mobile-nav nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px 8px; font-size: 1.0625rem; }
.mobile-nav nav .btn { margin-top: 8px; }
/* The full menu (8 links + button) needs about 1150px with the logo; narrower screens use the Menu button. */
@media (min-width: 1220px) {
  .desktop-nav { display: flex; }
  .mobile-nav { display: none; }
  .logo img { width: 150px; }
}

/* Hero */
.hero { padding: 48px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.eyebrow { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.875rem; color: var(--teal); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.125rem, 4.2vw, 3.25rem); max-width: 19ch; }
.hero h1 em { font-style: normal; color: var(--teal); }
.lede { font-size: 1.1875rem; color: var(--ink-soft); max-width: 36em; }
.hero-form {
  margin-top: 22px; padding: 24px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 560px;
}
.form-title { font-size: 1.5rem; margin-bottom: 4px; }
.form-sub { color: var(--ink-soft); font-size: 1.0625rem; }

/* Opt-in form */
.optin { display: grid; gap: 14px; }
.optin-fields { display: grid; gap: 12px; }
.optin label { display: grid; gap: 4px; font-size: 0.9375rem; font-weight: 700; }
.optin input {
  min-height: 52px; padding: 0 14px; font: inherit; font-size: 1.0625rem;
  color: var(--ink); background: #fff; border: 1.5px solid #b9ab95; border-radius: 10px;
}
.optin .btn { width: 100%; }
.optin-fine { font-size: 0.875rem; color: var(--ink-soft); margin: 0; }
.optin-dark label { color: #fff; }
.optin-dark .optin-fine { color: #d5e7e4; }
.optin-error { margin: 0; font-size: 0.9375rem; font-weight: 700; color: var(--clay-deep); }
.optin-dark .optin-error { color: #ffd9c9; }
.optin[hidden], .optin-thanks[hidden], .optin-error[hidden] { display: none; }
.optin-thanks { background: var(--teal-mist); color: var(--ink); border-radius: var(--radius); padding: 18px 20px; text-align: left; }
.optin-thanks p, .closer .optin-thanks p { margin: 0; color: var(--ink); font-size: 1rem; }
.optin-thanks-title, .closer .optin-thanks .optin-thanks-title { font-family: var(--display); font-size: 1.25rem; color: var(--teal-deep); margin-bottom: 6px !important; }
@media (min-width: 560px) {
  .optin-fields { grid-template-columns: 1fr 1.4fr; }
  .hero-form .optin-fields { grid-template-columns: 1fr 1fr; }
}
.hero-form .optin .btn { width: auto; min-width: 220px; justify-self: center; }
.hero-form .optin-fine { text-align: center; }

/* Game Plan preview card */
.plan-stage { display: flex; justify-content: center; padding: 8px; }
.plan-card {
  width: min(420px, 100%); background: #fffdf8; border: 1px solid var(--line);
  border-radius: 6px; padding: 30px 30px 22px; transform: rotate(2deg);
  box-shadow: 0 2px 4px rgba(34, 48, 47, 0.06), 0 24px 48px rgba(34, 48, 47, 0.16);
}
.plan-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-bottom: 6px; border-bottom: 1.5px solid var(--teal);
}
.plan-kicker { font-family: var(--display); font-size: 1.75rem; line-height: 1; color: var(--teal-deep); }
.bird { width: 62px; height: auto; margin-bottom: 4px; }
.plan-list { list-style: none; margin: 0; padding: 0; }
.plan-list li { display: grid; grid-template-columns: 48px 1fr 22px; align-items: center; gap: 10px; height: 48px; font-size: 1rem; border-bottom: 1px solid #eee4d3; }
.day { font-weight: 700; color: var(--clay); font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.tick { width: 20px; height: 20px; border: 2px solid var(--teal); border-radius: 50%; }
.plan-list li:nth-child(-n+2) .tick { background: var(--teal); box-shadow: inset 0 0 0 3px #fffdf8; }
.plan-foot { margin: 14px 0 0; font-size: 0.8125rem; color: var(--ink-soft); text-align: right; }
@media (min-width: 980px) {
  .hero { padding: 44px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
}

/* Load-in motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.7s ease both; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
  .plan-card { animation: settle 0.9s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .plan-list li:nth-child(-n+2) .tick { animation: pop 0.35s ease both; }
  .plan-list li:nth-child(1) .tick { animation-delay: 1.1s; }
  .plan-list li:nth-child(2) .tick { animation-delay: 1.35s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { opacity: 0; transform: rotate(6deg) translateY(30px); } }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--paper-2); }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 28px; }

/* Doors */
.doors { display: grid; gap: 20px; }
.door {
  display: block; padding: 28px; background: var(--card); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.door h3 { font-size: 1.625rem; margin-top: 16px; }
.door p { color: var(--ink-soft); }
.door-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--teal-mist); }
.door-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--teal-deep); stroke-width: 2; stroke-linecap: round; }
.door-link { font-weight: 700; color: var(--teal); }
@media (min-width: 760px) { .doors { grid-template-columns: repeat(3, 1fr); } }

/* New here band */
.newhere { background: var(--teal-deep); color: #fff; padding: 48px 0; }
.newhere h2 { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.25rem); }
.newhere p { color: #d5e7e4; margin: 0; max-width: 36em; }
.newhere-row { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .newhere-row { grid-template-columns: 1fr auto; } }

/* Helen */
.helen { display: grid; gap: 36px; align-items: center; }
.helen-photo {
  width: min(320px, 80%); aspect-ratio: 1; border-radius: 50%; margin-inline: auto;
  display: grid; place-items: center; background: var(--teal-mist);
  border: 2px dashed var(--teal); color: var(--teal-deep); font-weight: 700;
}
.helen-copy { max-width: 38em; margin-inline: auto; }
.text-link { font-weight: 700; }

/* Books */
.books { display: grid; gap: 24px; }
.book {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start;
  padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.book img { border-radius: 4px; box-shadow: 0 6px 16px rgba(34, 48, 47, 0.2); }
.book h3 { font-size: 1.5rem; }
.book p { color: var(--ink-soft); }
.price { font-weight: 700; color: var(--ink) !important; font-size: 1rem; }
@media (min-width: 760px) { .books { grid-template-columns: 1fr 1fr; } .book { grid-template-columns: 140px 1fr; } }

/* Posts */
.posts { display: grid; gap: 24px; }
.post { display: block; color: var(--ink); text-decoration: none; }
.post img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.post-cat { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay); }
.post h3 { font-size: 1.5rem; margin-top: 6px; }
.post p { color: var(--ink-soft); font-size: 1.0625rem; }
.post:hover h3 { color: var(--teal); text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(3, 1fr); } }

/* Closer */
.closer { background: var(--teal); color: #fff; padding: 72px 0; }
.closer-inner { max-width: 680px; text-align: center; }
.closer h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.75rem); }
.closer p { color: #e3f0ee; font-size: 1.25rem; }
.closer .optin { text-align: left; margin-top: 24px; }
.closer .optin-fine { text-align: center; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.375rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--teal); font-size: 1.75rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: 1rem; }
.footer-grid { display: grid; gap: 28px; }
.footer-grid nav { display: grid; gap: 8px; align-content: start; }
.footer-grid a { color: var(--ink); }
.footer-logo { width: 140px; margin-bottom: 12px; }
.footer-fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.9375rem; }
.footer-fine p { margin: 0 0 6px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* Phone: compact Game Plan card */
@media (max-width: 559px) {
  .plan-card { padding: 22px 18px 16px; transform: rotate(1deg); }
  .plan-kicker { font-size: 1.375rem; }
  .plan-list li { grid-template-columns: 40px 1fr 20px; font-size: 0.9375rem; line-height: 1.25; }
}
@media (max-width: 559px) {
  .book { grid-template-columns: 92px 1fr; gap: 16px; padding: 18px; }
  .book h3 { font-size: 1.3125rem; }
  .book .btn { white-space: nowrap; padding: 0 18px; }
}

/* Inner pages */
.narrow { max-width: 820px; }
.page-hero { padding: 56px 0 36px; }
.page-hero h1 { font-size: clamp(2.125rem, 4.4vw, 3.25rem); max-width: 20ch; }
.eyebrow a { color: inherit; }
.section-flush-top { padding-top: 8px; }
.inline-optin {
  display: grid; gap: 18px; padding: 26px; margin-bottom: 40px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.closer-alt { margin: 22px 0 0; font-size: 1.0625rem; }
.closer-alt a { color: #fff; font-weight: 700; }

/* Start Here days */
.days { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.day-card {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  padding: 22px; background: var(--card); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.day-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.day-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal-mist); color: var(--teal-deep); font-family: var(--display); font-size: 1.5rem;
}
.day-body { display: grid; gap: 4px; }
.day-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay); }
.day-title { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; }
.day-line { color: var(--ink-soft); font-size: 1.0625rem; }
.day-card:hover .day-title { color: var(--teal); }

/* About */
.about-hero { display: grid; gap: 36px; align-items: center; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.625rem, 3vw, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* Legal pages */
.draft-banner { max-width: 720px; margin-bottom: 32px; padding: 14px 18px; background: #fff4e5; border: 1px solid #e8c48a; border-radius: var(--radius); color: #5c3a00; font-size: 1rem; }

/* Topic hubs */
.hub-count { margin-top: 48px; font-size: 1.375rem; }

/* Blog post */
.post-meta { color: var(--ink-soft); font-size: 1.0625rem; margin-top: 12px; }
.post-hero { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; }
.post-body { max-width: 720px; }
.post-body h3 { font-size: clamp(1.375rem, 2.4vw, 1.625rem); margin-top: 1.5em; }
.post-body h4 { font-size: 1.1875rem; margin-top: 1.3em; }
.post-body p, .post-body ul, .post-body ol { margin-bottom: 1.1em; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body a { color: var(--teal); text-underline-offset: 3px; }
.post-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 8px 0; }
.post-body blockquote { margin: 1.4em 0; padding: 18px 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
.post-body iframe, .post-body video { max-width: 100%; border: 0; }
.post-body iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.post-body audio { width: 100%; }
.post-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.post-body td { vertical-align: top; padding: 8px 12px; }
.wellness-note { max-width: 720px; margin-top: 40px; padding: 16px 20px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-soft); font-size: 1rem; }

/* Shop + product */
.book-title { font-size: 1.5rem; }
.product { display: grid; gap: 36px; align-items: start; }
.product-cover { width: min(300px, 70%); border-radius: 6px; box-shadow: 0 10px 30px rgba(34, 48, 47, 0.22); }
.product-body { max-width: 680px; }
.buy-box {
  display: grid; gap: 14px; justify-items: start; padding: 22px; margin: 8px 0 32px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.buy-price { margin: 0; font-family: var(--display); font-size: 2rem; line-height: 1; }
.buy-price span { display: block; margin-top: 6px; font-family: var(--body); font-size: 1rem; color: var(--ink-soft); }
.sub-title { font-size: 1.625rem; margin-top: 8px; }
.checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.checks li::before {
  content: ''; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.cross { margin: 0; text-align: center; }
@media (min-width: 860px) { .product { grid-template-columns: 320px 1fr; gap: 56px; } .product-cover { width: 100%; } }

/* Contact */
.contact-form { display: grid; gap: 16px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-form label { display: grid; gap: 4px; font-size: 0.9375rem; font-weight: 700; }
.contact-form input, .contact-form textarea {
  min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1.0625rem;
  color: var(--ink); background: #fff; border: 1.5px solid #b9ab95; border-radius: 10px;
}
.contact-form .btn { justify-self: start; }
.contact-note { margin-top: 18px; color: var(--ink-soft); }
@media (min-width: 560px) { .contact-form .optin-fields { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) {
  .product-cover { width: 170px; }
  .day-card { grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; }
  .day-num { width: 40px; height: 40px; font-size: 1.25rem; }
  .day-title { font-size: 1.3125rem; }
}

/* Cookie choice (Google Analytics). Small, bottom of the screen, never covers the page on first load. */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20;
  max-width: 640px; margin-inline: auto; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; gap: 12px; font-size: 0.9375rem;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; color: var(--ink); }
.consent a { color: var(--teal); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; text-align: left; }
.site-footer .link-button { color: inherit; }

/* Contact form: spam trap, error line and the thank-you box shown after sending */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-error { margin: 0; padding: 12px 14px; border: 1px solid var(--clay); border-radius: 10px; background: var(--card); color: var(--clay-deep); font-weight: 700; }
.contact-form[hidden], .form-error[hidden], .contact-thanks[hidden] { display: none; }
.contact-thanks { display: grid; gap: 14px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-thanks h2 { margin: 0; font-size: 1.6rem; }
.contact-thanks p { margin: 0; }
.contact-thanks:focus { outline: none; }

/* Bonus workbooks on a product page */
.bonus-box { background: var(--teal-mist); border-radius: var(--radius); padding: 4px 20px 8px; margin: 8px 0 4px; }
.bonus-box .sub-title { margin-top: 16px; }

/* eBook thank-you page */
.download-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.download-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.download-item > div { min-width: 0; }
.download-title { margin: 0; font-family: var(--display); font-size: 1.125rem; color: var(--teal-deep); }
.download-meta { margin: 2px 0 0; font-size: 0.9375rem; color: var(--ink-soft); }
.download-help { margin-top: 28px; }

/* YouTube: a click-to-play box, so nothing loads from YouTube until a reader presses play */
.yt-facade, .post-body a.yt-facade { position: relative; display: grid; place-items: center; align-content: center; gap: 12px; width: 100%; aspect-ratio: 16 / 9; margin: 1.5em 0;
  border-radius: var(--radius); background: var(--teal-deep); color: #fff; text-decoration: none; text-align: center; }
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { transform: scale(1.06); }
.yt-play { width: 72px; height: 72px; border-radius: 50%; background: var(--clay); display: grid; place-items: center; transition: transform 0.15s ease; }
.yt-play::before { content: ""; margin-left: 6px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.yt-label, .post-body a.yt-facade .yt-label { font-weight: 700; font-size: 1.0625rem; color: #fff; }
.yt-note { display: block; font-weight: 400; font-size: 0.875rem; color: #d5e7e4; }
.yt-frame { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); margin: 1.5em 0; display: block; }