/* ============================================================
   Remindfulness — remindfulnessapp.com
   Design tokens: silvery app-world base, three edition washes,
   Abril Fatface display verbs, Jost body.
   ============================================================ */

:root {
  --silver: #f2f3f5;
  --silver-deep: #e4e6ea;
  --ink: #2b2e33;
  --ink-soft: #5a5f66;
  --white: #ffffff;
  --cyan: #45c6c0;
  --cyan-tint: #e2f8f8;
  --purple: #b493d9;
  --purple-tint: #f2eafa;
  --peach: #e89a70;
  --peach-tint: #ffeee6;
  --max: 1060px;
  --radius: 18px;
  --display: "Stack Sans Notch", "Jost", sans-serif;
  --body: "Jost", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(120% 90% at 50% -10%, #ffffff 0%, var(--silver) 55%, var(--silver-deep) 100%)
    fixed var(--silver);
}

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

a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
header.site {
  padding: 18px 0;
}
header.site .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
}
.wordmark {
  font-family: var(--body); font-weight: 500; letter-spacing: 0.22em;
  text-transform: lowercase; font-size: 1.02rem; text-decoration: none;
  display: flex; align-items: center; gap: 12px;
}
.wordmark span { color: var(--ink-soft); }
.logo-head { height: 40px; width: auto; }
.logo-word { height: 22px; width: auto; }
nav.main { margin-left: auto; }
nav.main ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; }
nav.main a {
  text-decoration: none; font-size: 0.92rem; letter-spacing: 0.06em;
  color: var(--ink-soft); padding: 4px 0;
}
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--ink); }
nav.main a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero { padding: 46px 0 56px; text-align: center; }
.hero-lockup { max-width: 300px; margin: 0 auto 30px; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 50px rgba(43,46,51,0.16); }
.hero h1 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.3rem, 6.5vw, 4.2rem); line-height: 1.04;
  letter-spacing: 0.02em;
}
.hero .sub {
  max-width: 620px; margin: 22px auto 0; font-size: 1.14rem; color: var(--ink-soft);
}
.credit {
  margin-top: 26px; font-size: 0.86rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
}
.credit b { color: #e5518d; font-weight: 600; letter-spacing: 0.22em; }

.fade-in { animation: rise 0.9s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- announcement ---------- */
.announce {
  background: var(--white); border-radius: var(--radius);
  padding: 22px 28px; margin: 10px auto 0; max-width: 780px;
  box-shadow: 0 8px 30px rgba(43, 46, 51, 0.07);
  text-align: center; font-size: 0.99rem;
}
.announce strong { font-weight: 500; }

/* ---------- edition panels ---------- */
.editions { padding: 70px 0 30px; }
.editions h2, .quotes h2 {
  text-align: center; font-family: var(--body); font-weight: 400;
  font-size: 1.05rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 40px;
}
.panel-grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.panel {
  border-radius: var(--radius); overflow: hidden; background: var(--white);
  box-shadow: 0 10px 34px rgba(43, 46, 51, 0.08);
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.panel:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(43, 46, 51, 0.12); }
.panel .verb-band { padding: 40px 26px 30px; text-align: center; }
.panel.classic .verb-band { background: var(--cyan); }
.panel.recovery .verb-band { background: var(--purple); }
.panel.twinflame .verb-band { background: var(--peach); }
.panel .verb {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 2.2rem); line-height: 1.06; color: #ffffff;
}



.panel .verb-sub { margin-top: 6px; color: #ffffff; font-size: 1rem; font-weight: 400; }
.panel .shot { aspect-ratio: 1320 / 1500; overflow: hidden; }
.panel .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.panel .body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.panel .body p { font-size: 0.97rem; }
.panel .langs { font-size: 0.85rem; letter-spacing: 0.06em; color: var(--ink-soft); }
.panel .cta-row { margin-top: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.badge img { height: 44px; width: auto; }
.textlink {
  font-size: 0.93rem; letter-spacing: 0.04em; color: var(--ink);
  text-decoration: underline; text-underline-offset: 4px;
}
.textlink:focus-visible, .badge:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.new-flag {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.2em;
  font-weight: 500; padding: 3px 10px; border-radius: 999px;
  background: #ffffff; color: #e06a38; margin-bottom: 12px;
}

/* ---------- quotes ---------- */
.quotes { padding: 60px 0 20px; }
.quote-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.quote {
  background: var(--white); border-radius: var(--radius); padding: 34px 32px;
  box-shadow: 0 8px 30px rgba(43, 46, 51, 0.07); font-size: 1.02rem;
}
.quote p { font-style: italic; }
.quote .who { margin-top: 18px; font-style: normal; font-size: 0.9rem; color: var(--ink-soft); letter-spacing: 0.04em; }

/* ---------- book + newsletter ---------- */
.duo { padding: 60px 0; display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--white); border-radius: var(--radius); padding: 36px 32px;
  box-shadow: 0 8px 30px rgba(43, 46, 51, 0.07);
}
.card h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin-bottom: 14px; }
.card p { font-size: 0.98rem; color: var(--ink-soft); }
.card .slot { margin-top: 20px; }

/* ---------- edition page hero ---------- */
.ed-hero { padding: 70px 0 56px; text-align: center; }
body.classic .ed-hero h1, body.recovery .ed-hero h1, body.twinflame .ed-hero h1, body.classic .ed-hero .sub, body.recovery .ed-hero .sub, body.twinflame .ed-hero .sub, body.classic .ed-hero .eyebrow, body.recovery .ed-hero .eyebrow, body.twinflame .ed-hero .eyebrow { text-shadow: 0 1px 14px rgba(0,0,0,0.18); }
.ed-hero .hero-shot { margin-bottom: -30px; }
.ed-hero .eyebrow { font-size: 0.85rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }
.ed-hero h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 3.6rem); margin-top: 14px; line-height: 1.05; color: #0f9d9d; }
body.classic .ed-hero h1, body.recovery .ed-hero h1, body.twinflame .ed-hero h1 { color: #ffffff; }
.ed-hero .sub { max-width: 560px; margin: 18px auto 0; font-size: 1.12rem; color: var(--ink-soft); }



body.classic .ed-hero { background: var(--cyan) url('../assets/classic-banner.jpg') left center/cover no-repeat; } body.classic .ed-hero .eyebrow, body.classic .ed-hero .sub { color: #ffffff; }
body.recovery .ed-hero { background: var(--purple) url('../assets/recovery-banner.jpg') left center/cover no-repeat; } body.recovery .ed-hero .eyebrow, body.recovery .ed-hero .sub { color: #ffffff; }
body.twinflame .ed-hero { background: var(--peach) url('../assets/twinflame-banner.jpg') left center/cover no-repeat; } body.twinflame .ed-hero .eyebrow, body.twinflame .ed-hero .sub { color: #ffffff; }

.prose { max-width: 700px; margin: 0 auto; padding: 38px 22px 30px; }
.prose p { margin-bottom: 20px; }
.prose h2 { font-family: var(--body); font-weight: 500; font-size: 1.02rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 44px 0 16px; }
.prose .symbolism {
  font-style: italic; color: var(--ink-soft); font-size: 0.99rem;
  border-left: 3px solid var(--silver-deep); padding-left: 20px;
}
body.classic .prose .symbolism { border-color: var(--cyan); }
body.recovery .prose .symbolism { border-color: var(--purple); }
body.twinflame .prose .symbolism { border-color: var(--peach); }

.sounds { columns: 2; gap: 30px; list-style: none; font-size: 0.97rem; }
.sounds li { padding: 3px 0; break-inside: avoid; }
@media (min-width: 640px) { .sounds { columns: 3; } }

.center-cta { text-align: center; padding: 30px 0 70px; }
.center-cta .badge img { height: 52px; margin: 0 auto; }
.hero-shot { max-width: 420px; margin: 40px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 48px rgba(43,46,51,0.16); }

/* ---------- faq ---------- */
.faq-list { max-width: 720px; margin: 0 auto; padding: 0 22px 60px; }
.faq-list details {
  background: var(--white); border-radius: var(--radius); margin-bottom: 14px;
  box-shadow: 0 6px 24px rgba(43, 46, 51, 0.06); overflow: hidden;
}
.faq-list summary {
  cursor: pointer; padding: 20px 26px; font-weight: 400; font-size: 1.02rem;
  list-style: none; position: relative; padding-right: 52px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%;
  transform: translateY(-52%); font-size: 1.4rem; color: var(--ink-soft);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .a { padding: 0 26px 22px; color: var(--ink-soft); font-size: 0.98rem; }
.faq-list .a p { margin-bottom: 12px; }
.faq-list summary:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }

/* ---------- footer ---------- */
footer.site {
  margin-top: 40px; padding: 46px 0 60px; background: var(--ink); color: #c9cdd3;
  font-size: 0.9rem;
}
footer.site .wrap { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
footer.site h4 { font-weight: 500; font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: #ffffff; margin-bottom: 12px; }
footer.site a { color: #e6e8eb; text-decoration: underline; text-underline-offset: 3px; }
footer.site p { margin-bottom: 6px; }
footer.site .fine { grid-column: 1 / -1; border-top: 1px solid #43474e; padding-top: 22px; color: #9aa0a8; }


/* ---------- decorative objects (from the apps) ---------- */
.deco { position: absolute; pointer-events: none; user-select: none; z-index: 3; }
.verb-band { position: relative; overflow: visible; }
.card-deco { width: clamp(64px, 9vw, 96px); }
.panel.classic .card-deco { top: -18px; left: -14px; transform: rotate(-12deg); }
.panel.recovery .card-deco { top: -16px; right: -12px; transform: rotate(8deg); }
.panel.twinflame .card-deco { bottom: -20px; right: -10px; transform: rotate(-8deg); }
.ed-hero { position: relative; overflow: visible; z-index: 2; }
.hero-deco { width: clamp(90px, 16vw, 190px); }
.classic .hero-deco { top: 20px; right: 3vw; transform: rotate(6deg); width: clamp(140px, 24vw, 300px); }
.recovery .hero-deco { bottom: -14px; right: 4vw; width: clamp(140px, 24vw, 300px); }
.twinflame .hero-deco { top: 0; right: 2.5vw; width: clamp(90px, 12vw, 175px); }
.center-cta { position: relative; }
.cta-deco { width: clamp(90px, 15vw, 180px); }
.classic .cta-deco { left: 4vw; bottom: -8px; transform: rotate(-6deg); }
.recovery .cta-deco { right: 4vw; bottom: -10px; }
.twinflame .cta-deco { right: 3vw; bottom: -16px; transform: rotate(6deg); }


/* ---------- home cards as full panels ---------- */
.panel .feature { position: relative; }
.panel .feature img { width: 100%; height: auto; display: block; }
.new-burst {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  width: 74px; height: 74px; display: flex; align-items: center; justify-content: center;
  background: #bfe3ea; color: #2b2e33;
  font-family: var(--display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em;
  border-radius: 50%;
  clip-path: polygon(50% 0%, 59% 9%, 71% 4%, 76% 15%, 89% 14%, 89% 27%, 100% 32%, 95% 44%, 100% 55%, 91% 63%, 93% 76%, 80% 78%, 76% 90%, 63% 87%, 55% 97%, 45% 90%, 33% 95%, 27% 84%, 14% 84%, 15% 71%, 4% 65%, 9% 53%, 2% 43%, 12% 35%, 10% 22%, 23% 21%, 26% 9%, 39% 11%);
}


/* ---------- testimonial photos ---------- */
.quote { display: flex; align-items: flex-end; gap: 16px; overflow: visible; }
.quote .qtext { flex: 1; min-width: 0; }
.quote-photo {
  flex-shrink: 0;
  width: clamp(104px, 12vw, 150px); height: auto;
  margin: 0 -46px -54px 0;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(43, 46, 51, 0.22);
  transform: rotate(2deg);
}
.quote:last-child .quote-photo { transform: rotate(-2deg); }
.quotes { padding-bottom: 76px; }
@media (max-width: 640px) {
  .quote-photo { width: 100px; margin: 0 -14px -40px 0; }
}


/* ---------- BirdSend form, restyled to the site ---------- */
.bs-form-one { max-width: none; padding: 0; border: none; background: transparent; font-family: var(--body); }
.bs-form-one .bs-input {
  width: 100%; height: 48px; padding: 10px 16px; margin-bottom: 10px;
  font-family: var(--body); font-size: 0.98rem; font-weight: 300; color: var(--ink);
  background: #ffffff; border: 1px solid var(--silver-deep); border-radius: 12px;
}
.bs-form-one .bs-input::placeholder { color: #a7abb2; font-style: normal; }
.bs-form-one .bs-input:focus { outline: none; border-color: var(--cyan); }
.bs-form-one .bs-btn {
  width: 100%; height: 50px; margin-top: 6px; border: none; border-radius: 12px;
  background: var(--ink); color: #ffffff; cursor: pointer;
  font-family: var(--display); font-weight: 700; letter-spacing: 0.08em; font-size: 0.95rem;
  transition: background 0.2s ease;
}
.bs-form-one .bs-btn:hover, .bs-form-one .bs-btn:focus { background: #0f9d9d; outline: none; }
#bs-message { margin-top: 12px; font-size: 0.92rem; color: var(--ink-soft); text-align: center; }


/* ---------- thoughts (essays) ---------- */
.thoughts { max-width: 720px; }
.thoughts .toc { background: var(--white); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 40px; box-shadow: 0 8px 30px rgba(43,46,51,0.07); }
.thoughts .toc ol { list-style: none; counter-reset: t; }
.thoughts .toc li { counter-increment: t; padding: 7px 0; display: flex; align-items: baseline; gap: 10px; }
.thoughts .toc li::before { content: counter(t, decimal-leading-zero); font-family: var(--display); font-weight: 700; font-size: 0.85rem; color: #0f9d9d; }
.thoughts .toc a { text-decoration: none; color: var(--ink); }
.thoughts .toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.thoughts .toc span { margin-left: auto; font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.06em; }
.thoughts h2 { font-family: var(--display); font-weight: 700; font-size: 1.5rem; text-transform: none; letter-spacing: 0; margin: 60px 0 4px; }
.thoughts .post-date { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; }
.thoughts hr { border: none; border-top: 1px solid var(--silver-deep); margin: 50px 0; }
.post-comments { background: var(--white); border-radius: var(--radius); padding: 22px 26px; margin-top: 30px; font-size: 0.95rem; box-shadow: 0 6px 22px rgba(43,46,51,0.06); }
.post-comments .comments-label { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.post-comments p { margin-bottom: 12px; }
