/* ==========================================================================
   Week Planner — landing page
   No framework, no build step. Edit the tokens below to rebrand.
   ========================================================================== */

/* ---------- Tokens: light ---------- */
:root {
  --brand: #4B7EFF;
  --brand-ink: #2B5BD7;
  --brand-soft: #EEF3FF;
  --accent: #14B8A6;

  --bg: #FFFFFF;
  --bg-alt: #F6F8FC;
  --surface: #FFFFFF;
  --border: #E3E8F0;
  --text: #11181C;
  --text-soft: #4A5663;
  --text-mute: #687076;

  --shadow-sm: 0 1px 2px rgb(16 24 40 / .06), 0 1px 3px rgb(16 24 40 / .06);
  --shadow-md: 0 8px 24px rgb(16 24 40 / .08);
  --shadow-lg: 0 24px 60px rgb(16 24 40 / .14);

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1140px;
  --sp: clamp(3.5rem, 7vw, 6.5rem);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

/* ---------- Tokens: dark ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #7DA0FF;
    --brand-ink: #A9C0FF;
    --brand-soft: #18213A;
    --bg: #0E1116;
    --bg-alt: #12161D;
    --surface: #161B23;
    --border: #262D38;
    --text: #ECEDEE;
    --text-soft: #B6BDC7;
    --text-mute: #8B939F;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
    --shadow-md: 0 8px 24px rgb(0 0 0 / .45);
    --shadow-lg: 0 24px 60px rgb(0 0 0 / .55);
  }
}
:root[data-theme="dark"] {
  --brand: #7DA0FF;
  --brand-ink: #A9C0FF;
  --brand-soft: #18213A;
  --bg: #0E1116;
  --bg-alt: #12161D;
  --surface: #161B23;
  --border: #262D38;
  --text: #ECEDEE;
  --text-soft: #B6BDC7;
  --text-mute: #8B939F;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
  --shadow-md: 0 8px 24px rgb(0 0 0 / .45);
  --shadow-lg: 0 24px 60px rgb(0 0 0 / .55);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.175rem; letter-spacing: -.01em; }
p  { margin: 0 0 1rem; }

a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--brand); }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 760px); }

.muted { color: var(--text-mute); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit; font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.0625rem; }
.btn-sm { padding: .5rem 1rem; font-size: .9375rem; }

.btn-primary { --btn-bg: var(--brand); --btn-fg: #fff; }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  border-color: var(--border); background: var(--surface);
}
.btn-invert { --btn-bg: #fff; --btn-fg: #1B2A5B; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text);
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }

/* Language switch — stays visible at every width, including mobile. */
.lang-switch {
  display: inline-grid; place-items: center;
  min-width: 40px; height: 40px; padding: 0 .6rem;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text-soft);
  font-size: .8125rem; font-weight: 700; letter-spacing: .04em;
  text-decoration: none;
}
.lang-switch:hover { border-color: var(--brand); color: var(--brand); }

/* Theme toggle icon swap */
#theme-toggle .moon { display: none; }
:root[data-theme="dark"] #theme-toggle .sun { display: none; }
:root[data-theme="dark"] #theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) #theme-toggle .moon { display: block; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em;
  color: var(--text); text-decoration: none;
}
.nav { margin-left: auto; }
.nav ul {
  display: flex; gap: 1.4rem;
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  color: var(--text-soft); text-decoration: none; font-size: .9375rem; font-weight: 500;
}
.nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; }
.bars, .bars::before, .bars::after {
  display: block; width: 17px; height: 2px; border-radius: 2px;
  background: currentColor; content: ""; position: relative;
}
.bars::before { position: absolute; top: -6px; }
.bars::after  { position: absolute; top: 6px; }

@media (max-width: 900px) {
  .nav {
    position: absolute; inset: 68px 0 auto 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: .5rem 0 1rem;
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
  .nav a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-toggle { display: inline-grid; }
  .header-actions .btn-sm { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(70rem 40rem at 82% -10%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%),
    radial-gradient(50rem 30rem at 0% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 55%);
  overflow: hidden;
}
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.05fr .95fr; align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .09em;
  font-size: .75rem; font-weight: 700; color: var(--brand-ink);
  margin: 0 0 .9rem;
}
.grad {
  background: linear-gradient(100deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--text-soft); max-width: 40ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.25rem; }
.cta-row-center { justify-content: center; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.chips li {
  font-size: .8125rem; font-weight: 600; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border);
  padding: .35rem .75rem; border-radius: 999px;
}
.chips li::before { content: "✓ "; color: var(--accent); }

/* Phone frame — works with any 9:19.5 screenshot */
.phone {
  position: relative;
  border-radius: 38px;
  background: linear-gradient(160deg, #2A3140, #10141B);
  padding: 9px;
  box-shadow: var(--shadow-lg);
}
.phone img {
  border-radius: 30px;
  width: 100%;
  background: var(--bg-alt);
}
.hero-media { position: relative; display: grid; place-items: center; }
.hero-media .phone { width: min(78%, 300px); }
.hero-media .phone-back {
  position: absolute; right: 0; bottom: 6%;
  width: min(52%, 200px);
  transform: rotate(6deg);
  opacity: .96;
  z-index: -1;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .lede { max-width: none; }
  .hero-media .phone { width: min(62%, 260px); }
  .hero-media .phone-back { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: var(--sp) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section-head { max-width: 44rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-sub { color: var(--text-soft); font-size: 1.0625rem; margin: 0; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.card p { color: var(--text-soft); margin-bottom: .75rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 1rem;
  border-radius: 12px; background: var(--brand-soft);
  font-size: 1.35rem; line-height: 1;
}
.problem .fix { color: var(--text); font-size: .9375rem; padding-top: .75rem; border-top: 1px dashed var(--border); }
.features h3 { margin-bottom: .45rem; }
.personas h3 { color: var(--brand-ink); }

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  counter-reset: step;
}
.step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  flex: none; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 700;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--text-soft); margin: 0; }

/* ---------- Split feature sections ---------- */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.1fr .9fr; align-items: center;
}
.split-reverse .split-media { order: -1; }
.split-media { margin: 0; display: grid; place-items: center; }
.split-media .phone { width: min(76%, 300px); }
.split-copy p { color: var(--text-soft); }

.ticks { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .9rem; }
.ticks li {
  position: relative; padding-left: 1.85rem;
  color: var(--text-soft); font-size: 1rem;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45rem;
  width: 1.15rem; height: 1.15rem; border-radius: 999px;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B7EFF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .75rem no-repeat;
}
.ticks strong { color: var(--text); }
.benefit {
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.15rem;
  font-size: .9875rem;
  color: var(--text) !important;
  margin: 0;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media .phone { width: min(62%, 260px); }
}

/* ---------- Gallery ---------- */
.gallery {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.gallery .phone { width: 100%; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0 1.25rem;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.0625rem; }
.faq summary::after {
  content: ""; flex: none;
  width: .65rem; height: .65rem;
  border-right: 2px solid var(--text-mute); border-bottom: 2px solid var(--text-mute);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { color: var(--text-soft); margin: 0 0 1.15rem; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: var(--sp) 0;
  background: linear-gradient(120deg, #3A6BF0, #4B7EFF 45%, #14B8A6);
  color: #fff;
}
.cta-inner { text-align: center; max-width: 42rem; margin-inline: auto; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgb(255 255 255 / .9); font-size: 1.0625rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: clamp(2.5rem, 5vw, 4rem) 0 1.75rem; }
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr;
}
.footer-blurb { color: var(--text-soft); font-size: .9375rem; max-width: 34ch; margin-top: .9rem; }
.footer-head { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); margin: .35rem 0 .9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-links a { color: var(--text-soft); text-decoration: none; font-size: .9375rem; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: .8125rem; color: var(--text-mute);
}
.footer-bottom p { margin: 0; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Scroll reveal ----------
   Only hidden when JS is running, so the page is never blank without it. */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
.js .reveal.static { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .cta-band, .nav, .hero-media, .gallery { display: none; }
  body { color: #000; background: #fff; }
}

/* ==========================================================================
   Blog — listing, article, and in-article CTA
   ========================================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: .4rem;
  list-style: none; margin: 0 0 1.5rem; padding: 0;
  font-size: .8125rem; color: var(--text-mute);
}
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--border); }
.breadcrumb a { color: var(--text-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] {
  max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Blog index ---------- */
.blog-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  background:
    radial-gradient(60rem 30rem at 80% -20%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 60%);
}
.blog-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: .5rem; }
.blog-hero .lede { max-width: 58ch; }

.featured-post {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.featured-post:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.featured-post > a {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center; text-decoration: none; color: inherit;
}
.featured-post figure { margin: 0; }
.featured-post img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.featured-post > a > div { padding: clamp(1.25rem, 3vw, 2rem); padding-left: 0; }
.featured-post h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .6rem; }
.featured-post p { color: var(--text-soft); }
@media (max-width: 800px) {
  .featured-post > a { grid-template-columns: 1fr; gap: 0; }
  .featured-post > a > div { padding: 1.5rem; }
}

.related-head { font-size: 1.25rem; margin-bottom: 1.25rem; }

.post-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
}
.post-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.post-card > a { display: block; text-decoration: none; color: inherit; height: 100%; }
.post-card img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-card h3 { margin: .35rem 1.25rem .5rem; font-size: 1.0625rem; }
.post-card p {
  margin: 0 1.25rem .9rem; color: var(--text-soft); font-size: .9375rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-meta {
  display: block; margin: 0 1.25rem 1.25rem;
  font-size: .8125rem; color: var(--text-mute);
}
.post-card .tags { margin: 1rem 1.25rem 0; }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.tag {
  font-size: .6875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--brand-ink); background: var(--brand-soft);
  padding: .25rem .55rem; border-radius: 999px;
}

/* ---------- Article ---------- */
.post { padding: clamp(2rem, 5vw, 3.5rem) 0 0; }
.post-header { margin-bottom: 2rem; }
.post-header h1 { font-size: clamp(1.9rem, 4.2vw, 2.85rem); margin-bottom: .75rem; }
.post-standfirst {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-soft);
  margin-bottom: 1rem;
}
.post-meta {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  font-size: .875rem; color: var(--text-mute); margin-bottom: 1rem;
}
.post-cover { margin: 0 0 2rem; }
.post-cover img {
  width: 100%; aspect-ratio: 1200 / 630; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}

/* ---------- Table of contents ---------- */
.toc {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem;
}
.toc h2 {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-mute); margin-bottom: .75rem;
}
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; }
.toc a { color: var(--text-soft); text-decoration: none; font-size: .9375rem; }
.toc a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Prose ---------- */
.prose { font-size: 1.09375rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-top: 2.75rem; margin-bottom: .25rem;
  scroll-margin-top: 5.5rem;
}
.prose h3 {
  font-size: 1.15rem; margin-top: 2rem; margin-bottom: .25rem;
  scroll-margin-top: 5.5rem;
}
.prose p { color: var(--text-soft); }
.prose strong { color: var(--text); font-weight: 650; }
.prose ul, .prose ol { color: var(--text-soft); padding-left: 1.4rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand-ink); text-decoration: underline; }
.prose blockquote {
  margin: 1.75rem 0; padding: .25rem 0 .25rem 1.25rem;
  border-left: 3px solid var(--brand);
  color: var(--text); font-style: italic;
}
.prose blockquote p { color: var(--text); margin: 0; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 5px; padding: .1em .35em;
}
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ---------- In-article CTA ---------- */
.post-cta {
  display: grid; gap: 1.25rem;
  margin: 2.75rem 0;
  padding: 1.75rem;
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border));
  border-radius: var(--radius-lg);
}
.post-cta h3 { margin-bottom: .4rem; font-size: 1.15rem; }
.post-cta p { margin: 0; color: var(--text-soft); font-size: .9875rem; }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 720px) {
  .post-cta { grid-template-columns: 1.4fr auto; align-items: center; }
  .post-cta-actions { flex-direction: column; align-items: stretch; }
}

/* The post's closing CTA band needs breathing room after the prose. */
.post + .cta-band { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ==========================================================================
   Play Store listing strip
   The store creatives already carry their own headline and background, so
   they are shown as whole cards rather than inside the .phone frame.
   ========================================================================== */
.store-strip {
  list-style: none; margin: 0; padding: 0 0 .75rem;
  display: grid; gap: 1.25rem;
  grid-auto-flow: column;
  grid-auto-columns: minmax(13rem, 15rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.store-strip li { scroll-snap-align: start; }
.store-strip img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--bg-alt);
}

/* Below the fold on narrow screens the strip is the only horizontal scroller
   on the page, so give it a visible edge fade rather than a hidden overflow. */
@media (max-width: 720px) {
  .store-strip { grid-auto-columns: minmax(11rem, 12rem); }
}
