@font-face {
  font-family: "Inter";
  src: url("fonts/Inter/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* calm cream shell, matching the app (manifest bg #f4efe6 / shell #f2ede4) */
  --paper: #f4efe6;
  --cream: #ece4d4;
  --surface: #ffffff;
  --app-screen: #f7f8fa; /* the app's actual in-app background */
  --ink: #1c241a;
  --muted: #5f6a59;
  --green: #4a6741;
  --green-dark: #3a5233;
  --forest: #22301d;
  --matcha: #6fae62;
  --line: #ddd4c2;
  --radius: 20px;
  --shell-max: 1120px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: Georgia, "Times New Roman", serif; /* app voice: dialogue + question text */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 36px);
}

.shell-narrow { max-width: 760px; }

h1, h2, h3, h4 {
  line-height: 1.06;
  margin: 0 0 0.4em;
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--ink);
}

h1 { font-size: clamp(2.7rem, 7vw, 4.8rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

a { color: var(--green); }

.section-lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.15s var(--ease-out), background 0.15s var(--ease-out);
  white-space: nowrap;
}

.btn .arrow { transition: transform 0.15s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-lg { padding: 15px 30px; font-size: 1.08rem; }

.btn-dark {
  background: var(--forest);
  color: #fff;
}
.btn-dark:hover { transform: translateY(-1px); background: var(--green-dark); }

/* ---------- App Store badge ---------- */
/* When the app ships: change <span class="appstore-badge is-soon"> to
   <a class="appstore-badge" href="https://apps.apple.com/..."> and swap the
   small text to "Download on the". */

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  border-radius: 14px;
  padding: 11px 22px 12px 18px;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.15s var(--ease-out), opacity 0.15s var(--ease-out);
}

a.appstore-badge:hover { transform: translateY(-1px); }

.apple-logo { width: 26px; height: 32px; display: block; }
.apple-logo-lg { width: 30px; height: 37px; margin: 0 auto; color: var(--ink); }

.appstore-badge .as-logo { display: flex; align-items: center; }

.appstore-badge .as-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.appstore-badge .as-text small {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.01em;
}

.appstore-badge .as-text strong {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.appstore-badge.is-soon { cursor: default; }

.notify-link {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 10px;
}

.notify-link:hover { color: var(--ink); }

/* ---------- Waitlist form ---------- */

.waitlist-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  margin-top: 16px;
}

.hero .waitlist-form { margin: 18px auto 0; }
.hero .waitlist-status { text-align: center; }

.hero-cred {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* trust section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 44px);
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; max-width: 420px; } }

.trust-icon {
  display: block;
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.trust-item h3 { margin-bottom: 6px; }

.trust-item p { color: var(--muted); margin: 0; }

/* why section */
.why-section p { color: var(--muted); font-size: 1.08rem; max-width: 42em; }

.why-section .why-highlight {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
}

.waitlist-form input[type="email"]:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

.waitlist-form button { border: 0; cursor: pointer; font: inherit; }
.waitlist-form button:disabled { opacity: 0.6; cursor: wait; }

.waitlist-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.waitlist-status {
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  min-height: 1.4em;
}

.waitlist-status[data-kind="ok"] { color: var(--green); font-weight: 650; }
.waitlist-status[data-kind="error"] { color: #b04a4a; }

.waitlist-privacy {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 520px) {
  .waitlist-form { flex-direction: column; }
}

/* ---------- Header ---------- */

/* transparent at the top of the page so it melts into the hero; the frosted
   background + hairline only appear once you scroll (site.js toggles the class) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 239, 230, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(244, 239, 230, 0.9);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(221, 212, 194, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand img { border-radius: 10px; }

.site-nav { display: flex; gap: 24px; margin-left: auto; }

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.97rem;
}
.site-nav a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .site-nav { display: none; }
  .header-inner { justify-content: space-between; }
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding-top: clamp(52px, 8vw, 96px);
  overflow: hidden;
}

.hero-appicon {
  width: clamp(120px, 16vw, 176px);
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 12px 28px rgba(28, 36, 26, 0.2));
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-kicker img { border-radius: 6px; }

.hero h1 { margin-bottom: 18px; }

.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-note { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- Hero device fan ---------- */

.hero-devices {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: clamp(32px, 4.5vw, 52px) auto 0;
  padding: 0 12px;
  max-width: 1160px;
}

/* Ember & Momo carry the hero (screens return once the app UI is final) */
.hero-duo {
  height: clamp(320px, 42vw, 520px);
  width: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.16));
}

/* ---------- Phone mockup ---------- */

.phone {
  width: clamp(210px, 24vw, 270px);
  background: #17201a;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 30px 70px rgba(28, 36, 26, 0.28);
  flex-shrink: 0;
}

.phone-screen {
  position: relative;
  border-radius: 31px;
  overflow: hidden;
  background: var(--app-screen);
  aspect-ratio: 9 / 19;
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* real app screenshots: let the image set the height */
.phone-screen.has-shot { aspect-ratio: auto; display: block; }
.phone-screen.has-shot img { width: 100%; height: auto; display: block; }

.phone-main { z-index: 2; }

.phone-side {
  width: clamp(180px, 20vw, 235px);
  opacity: 0.98;
}

.phone-left { transform: rotate(-7deg); z-index: 1; }
.phone-right { transform: rotate(7deg); z-index: 1; }

@media (max-width: 860px) {
  .phone-side { display: none; }
  .hero-devices { gap: 0; }
}

/* mini status bar */
.mini-status {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px 6px;
  font-size: 10px;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.mini-status.light { color: rgba(255, 255, 255, 0.9); }

/* path screen */
.screen-path .path-hero {
  margin: 6px 10px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  aspect-ratio: 3 / 2.1;
  position: relative;
}

.path-stage-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
}

.path-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 12px;
  flex: 1;
}

.path-step {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.path-step .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  background: var(--cream);
  color: var(--muted);
  flex-shrink: 0;
}

.path-step.done { color: var(--ink); }
.path-step.done .dot { background: var(--matcha); color: #fff; }
.path-step.current { border-color: var(--green); color: var(--ink); box-shadow: 0 0 0 1px var(--green); }
.path-step.current .dot { background: var(--green); color: #fff; }

.mini-nav {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--line);
  padding: 10px 6px 14px;
  font-size: 9.5px;
  font-weight: 650;
  color: var(--muted);
}

.mini-nav .on { color: var(--green); }

/* question screen */
.screen-question { padding-bottom: 12px; }

.q-progress {
  padding: 6px 16px 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}

.q-bar {
  margin-top: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--cream);
  overflow: hidden;
}

.q-bar i { display: block; height: 100%; background: var(--matcha); border-radius: 999px; }

/* question text is serif in the app (.question-text uses Georgia) */
.q-passage, .q-prompt, .q-coach p { font-family: var(--font-serif); }
.path-stage-chip { font-family: var(--font-serif); font-style: italic; }

.q-passage {
  margin: 10px 16px 6px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink);
}

.q-prompt {
  margin: 0 16px 8px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--muted);
}

/* choices mirror the app's .dp-choice: white pill, letter circle,
   selected = dark charcoal, correct/incorrect tint the letter */
.q-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 6px;
  padding: 7px 12px;
  border: 1px solid #ddd8d0;
  border-radius: 18px;
  background: #ffffff;
  font-size: 10.5px;
  line-height: 1.35;
  color: #1a1a1a;
}

.q-letter {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: #f0ede8;
  color: #5a5550;
  font-family: "Inter", sans-serif;
  font-size: 8.5px;
  font-weight: 800;
  font-style: normal;
}

.q-choice.selected {
  border-color: #3a352f;
  background: #3a352f;
  color: #ffffff;
}

.q-choice.selected .q-letter {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.q-choice.right { border-color: #3f9d6b; }
.q-choice.right .q-letter { background: #3f9d6b; color: #fff; }

.q-choice.wrong { border-color: #c0473f; }
.q-choice.wrong .q-letter { background: #c0473f; color: #fff; }

.q-coach {
  margin: auto 12px 6px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: var(--cream);
  border-radius: 14px;
  padding: 8px 10px;
}

.q-coach img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
}

.q-coach p {
  margin: 0;
  font-size: 10.5px;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}

/* nook screen */
.screen-nook {
  aspect-ratio: 9 / 19.5;
}

.nook-bg-img {
  width: 100%;
  display: block;
  filter: brightness(1.18) saturate(1.05);
}

/* star-points pill, matching the app's format */
.nook-points {
  position: absolute;
  top: 4%;
  left: 7%;
  background: linear-gradient(180deg, #fdf3cf, #f3dc8e);
  color: #6f5713;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.nook-cta {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  background: #b0672f;
  color: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* items sitting on the shelf rows */
.nook-float {
  position: absolute;
  width: 19%;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.35));
}

.nf-owl     { left: 13%;  top: 21%; }
.nf-plant   { right: 13%; top: 20%; }
.nf-tea     { left: 43%;  top: 35%; width: 15%; }
.nf-journal { right: 14%; top: 34%; }
.nf-cat     { left: 14%;  top: 52%; width: 22%; }

/* ---------- Icon marquee ---------- */

.marquee {
  margin-top: clamp(-26px, -2vw, -16px);
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  gap: clamp(28px, 4vw, 48px);
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
}

.marquee-track img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-alt { background: var(--cream); }
.section-head { margin-bottom: clamp(30px, 5vw, 48px); }
.section-head.center { text-align: center; }
.section-head.center .section-lede { margin: 0 auto; }

/* ---------- Feature rows ---------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding: clamp(34px, 5vw, 56px) 0;
}

.feature + .feature { border-top: 1px solid var(--line); }

.feature-flip .feature-copy { order: 2; }
.feature-flip .feature-visual { order: 1; }

.feature .num {
  display: block;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--matcha);
  line-height: 1;
  margin-bottom: 14px;
}

.feature-copy p { color: var(--muted); font-size: 1.05rem; max-width: 34em; }

.feature-visual { display: flex; justify-content: center; }

/* art cards: app-world illustrations standing in while screens are finalized */
.art-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(42, 61, 33, 0.14);
  max-width: 480px;
}

.art-card img { display: block; width: 100%; }

.art-card.art-nook {
  position: relative;
  max-width: 330px;
}

@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 30px; }
  .feature-flip .feature-copy { order: 1; }
  .feature-flip .feature-visual { order: 2; }
}

/* companions visual */
.companions-visual { gap: clamp(16px, 3vw, 36px); align-items: flex-end; }

.companions-visual figure { margin: 0; text-align: center; }

.companions-visual img,
.companions-visual video {
  height: clamp(200px, 24vw, 280px);
  width: auto;
  margin: 0 auto 10px;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.14));
}

/* Momo is a bit shorter than Ember — match the proportion in the hero duo photo */
.companions-visual figure:last-child img,
.companions-visual figure:last-child video {
  height: clamp(170px, 20.4vw, 238px);
}

.companions-visual figcaption {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 24em;
  margin: 0 auto;
}

.companions-visual figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 4px;
}


/* ---------- Download ---------- */

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}

.download-grid.single { grid-template-columns: 1fr; max-width: 460px; }

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

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px 30px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.download-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(28, 36, 26, 0.1); }

.download-card.is-primary {
  border-color: var(--forest);
  box-shadow: 0 0 0 1px var(--forest);
}

.download-card.is-primary:hover { transform: none; }

.download-icon { font-size: 2rem; line-height: 1; margin-bottom: 8px; }

.download-card p { color: var(--muted); margin-top: 0; }

.download-card .btn { margin-top: 10px; }

/* ---------- FAQ ---------- */

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--green);
}

details[open] summary::after { content: "\2212"; }

details p { color: var(--muted); margin-bottom: 4px; }

/* ---------- Footer (light, Notability-style) ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 64px) 0 28px;
  background: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

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

.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { border-radius: 10px; }
.footer-brand strong { color: var(--ink); font-size: 1.05rem; letter-spacing: -0.01em; }
.footer-brand p { margin: 4px 0 0; font-size: 0.92rem; color: var(--muted); }

.footer-col h4 {
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 0.97rem;
}

.footer-col a:hover { color: var(--ink); }

.footer-base { padding-top: 22px; font-size: 0.88rem; color: var(--muted); }
.footer-base p { margin: 0 0 6px; }
.footer-fineprint { font-size: 0.8rem; }

/* ---------- Motion ---------- */

.float-slow   { animation: bob 5s ease-in-out infinite; }
.float-slower { animation: bob 7s ease-in-out infinite 1.2s; }

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-slow, .float-slower { animation: none; }
  .marquee-track { animation: none; }
}

/* ---------- Blog ---------- */

.post-list { display: grid; gap: 16px; margin-top: 24px; }

.post-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(42, 61, 33, 0.1); }
.post-card h2 { font-size: 1.35rem; margin: 4px 0 8px; }
.post-card p { color: var(--muted); margin: 0 0 6px; }
.post-card .post-more { color: var(--green); font-weight: 650; }

.post-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--matcha);
  font-weight: 700;
  margin: 0 0 6px;
}
.post-tag a { color: var(--muted); text-decoration: none; text-transform: none; letter-spacing: 0; font-weight: 550; }

.post-body { max-width: 720px; padding-top: clamp(28px, 5vw, 48px); padding-bottom: 64px; }
.post-body h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin-bottom: 8px; }
.post-body h2 { font-size: 1.3rem; margin-top: 2em; }
.post-body p, .post-body li { color: var(--muted); font-size: 1.04rem; }
.post-body li { margin-bottom: 10px; }
.post-byline { font-size: 0.9rem; color: var(--text-muted, #898781); margin-bottom: 28px; }

.ex {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  display: block;
  margin: 10px 0;
  color: var(--ink) !important;
}
.ex.bad { border-left: 3px solid #c25e5e; }
.ex.good { border-left: 3px solid var(--matcha); }
li .ex { margin: 8px 0 4px; }

.ember-note {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  background: var(--cream);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 30px 0;
}
.ember-note img {
  height: 130px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
}
.ember-note p {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink) !important;
}
@media (max-width: 520px) {
  .ember-note img { height: 100px; }
}

details.check { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
details.check summary { font-weight: 600; cursor: pointer; color: var(--ink); }
details.check p { margin: 10px 0 2px; }

.post-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 40px;
  text-align: center;
}
.post-cta h2 { margin-top: 0; }
.post-cta .btn { margin-top: 8px; }

/* ---------- Legal pages ---------- */

.legal-body { padding: clamp(36px, 6vw, 64px) 0; }
.legal-body h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.legal-body h2 { font-size: 1.25rem; margin-top: 2em; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-updated { font-size: 0.9rem; }

/* legacy class used on legal pages */
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); background: var(--green-dark); }
