/* Faceyoga Wellness by Murcino — site styles.
   Values follow App.Website/_design/*.dc.html one to one; colours are App.UI/lib/core/theme/app_theme.dart. */

/* ---------- Fonts (self-hosted, SIL OFL; see /fonts/OFL.txt) ---------- */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/montserrat-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: 'Montserrat'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/montserrat-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: 'Montserrat Alternates'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/montserrat-alternates-500-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: 'Montserrat Alternates'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/montserrat-alternates-500-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: 'Montserrat Alternates'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/montserrat-alternates-600-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: 'Montserrat Alternates'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/montserrat-alternates-600-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: 'Montserrat Alternates'; font-style: italic; font-weight: 500; font-display: swap;
  src: url(/fonts/montserrat-alternates-500i-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: 'Montserrat Alternates'; font-style: italic; font-weight: 500; font-display: swap;
  src: url(/fonts/montserrat-alternates-500i-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; }

/* ---------- Tokens (AppTheme) ---------- */
:root {
  --olive: #4A4D34;          /* primaryOlive */
  --surface: #FFFDF8;        /* surfaceBeige */
  --cream: #F5F0E6;          /* backgroundCream */
  --text: #2B2621;           /* textDark */
  --muted: #67625A;          /* textMuted */
  --sage: #E4E8D8;           /* sage */
  --apricot: #E0864F;        /* apricot */
  --apricot-text: #9A4A1C;   /* apricotText */
  --apricot-soft: #F8E2D2;   /* apricotSoft */
  --line: #E6DFD1;           /* line */

  --font-display: 'Montserrat Alternates', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --shadow-pop: 0 16px 32px -20px rgba(43, 38, 33, 0.45);
  --focus: 0 0 0 3px var(--cream), 0 0 0 5px var(--apricot-text);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
picture { display: contents; }
/* Long compound words (de: "Datenschutzerklärung") must not push headings past narrow screens. */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
a { color: var(--olive); }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--apricot-text); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--olive); color: var(--surface); padding: 12px 20px; border-radius: 999px;
  font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
}
.skip-link:focus { top: 16px; color: var(--surface); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 88px; padding-bottom: 88px; }

.kicker { font-size: 13px; font-weight: 600; color: var(--apricot-text); letter-spacing: 0.08em; text-transform: uppercase; }
.h1 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.02em; }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.center { text-align: center; }
.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 600px; }

/* ---------- Header ---------- */
.site-header {
  padding-top: 24px; padding-bottom: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo { width: 44px; height: 44px; }
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.1; }
.brand-sub { font-weight: 500; font-size: 13px; color: var(--muted); }

.dnav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.dnav > a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.btn-pill {
  text-decoration: none; background: var(--olive); color: var(--surface);
  padding: 12px 20px; border-radius: 999px; display: inline-flex; align-items: center; min-height: 44px;
}
.btn-pill:hover { color: var(--surface); }

.lang-menu { position: relative; }
.lang-menu > summary {
  list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer;
  min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: 14px; font-weight: 600; color: var(--olive);
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:hover { color: var(--text); }
.lang-list {
  position: absolute; right: 0; top: 52px; z-index: 5; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; padding: 8px;
  display: flex; flex-direction: column; min-width: 160px; box-shadow: var(--shadow-pop);
}
.lang-option { text-decoration: none; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: flex; align-items: center; }
.lang-option.is-current { background: var(--sage); font-weight: 600; }
.lang-option:hover { background: var(--cream); }
.lang-option.is-current:hover { background: var(--sage); }

.icon-btn {
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--text);
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; flex: none;
}
.burger { display: none; }

/* Below 820px the desktop menu becomes the burger (only when JS can open the menu). */
@media (max-width: 820px) {
  .js .dnav { display: none; }
  .js .burger { display: flex; }
}

/* ---------- Off-canvas menu ---------- */
@keyframes fyIn { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes fyOut { from { transform: none; } to { transform: translateX(-100%); } }
.offcanvas {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: 50;
  background: var(--cream); display: flex; flex-direction: column; gap: 32px;
  padding: 24px 20px 32px; overflow-y: auto; overscroll-behavior: contain;
  animation: fyIn .32s cubic-bezier(.2, .8, .2, 1);
}
.offcanvas.is-closing { animation: fyOut .24s cubic-bezier(.4, 0, 1, 1) forwards; }
@media (prefers-reduced-motion: reduce) { .offcanvas, .offcanvas.is-closing { animation: none; } }
.offcanvas-top { display: flex; align-items: center; justify-content: space-between; }
.mnav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mnav a {
  text-decoration: none; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 28px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.mnav a span { color: var(--apricot-text); }
.mlang { display: flex; flex-direction: column; gap: 12px; }
.mlang-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mlang-list { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; }
.lang-chip {
  text-decoration: none; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); display: flex; align-items: center;
}
.lang-chip.is-current { background: var(--olive); border-color: var(--olive); color: var(--surface); }
.offcanvas-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.btn-block {
  text-decoration: none; background: var(--olive); color: var(--surface); font-weight: 600; font-size: 17px;
  min-height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
}
.btn-block:hover { color: var(--surface); }
.offcanvas-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.offcanvas-links > span { display: flex; gap: 16px; }
.offcanvas-links a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Home: hero ---------- */
.hero { padding-top: 56px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.badge {
  align-self: flex-start; background: var(--apricot-soft); color: var(--apricot-text);
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; letter-spacing: 0.02em;
}
.hero-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 6vw, 68px); line-height: 1.05; letter-spacing: -0.02em; }
.hero-title em { font-weight: 500; color: var(--apricot-text); }
.hero-lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.hero-note { margin: 0; font-size: 14px; color: var(--muted); }
.hero-visual { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; position: relative; }
.phone {
  width: 300px; max-width: 100%; aspect-ratio: 9 / 19; background: var(--surface);
  border: 10px solid var(--text); border-radius: 44px; box-shadow: 0 30px 60px -30px rgba(43, 38, 33, 0.45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 24px; text-align: center;
}
.phone img { width: 96px; height: 96px; opacity: 0.9; }
.hero-card {
  position: absolute; left: 0; bottom: 48px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 12px 30px -18px rgba(43, 38, 33, 0.4);
}
.hero-card-text { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.hero-card-text b { font-weight: 600; }
.hero-card-text span { color: var(--muted); }
/* Mobile: a smaller, centred phone (220 × ~460) so the features start sooner; the card overlaps its lower edge. */
@media (max-width: 820px) {
  .hero { padding-top: 32px; padding-bottom: 56px; gap: 32px; }
  .hero-visual { padding-bottom: 40px; }
  .phone { width: 220px; border-width: 8px; border-radius: 34px; }
  .hero-card {
    left: 0; right: 0; bottom: 0; margin-inline: auto;
    width: max-content; max-width: 100%;
  }
}

.icon-tile { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.icon-tile.lg { width: 48px; height: 48px; border-radius: 14px; }
.icon-tile.sage { background: var(--sage); }
.icon-tile.apricot { background: var(--apricot-soft); }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; scroll-margin-top: 24px; }
.store-btn {
  display: flex; align-items: center; gap: 10px; background: var(--text); color: var(--surface);
  text-decoration: none; padding: 12px 20px; border-radius: 14px; min-height: 44px;
}
.store-btn:hover { color: var(--surface); }
.store-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-kicker { font-size: 11px; opacity: 0.8; }
.store-name { font-size: 16px; font-weight: 600; }
.store-btn.is-soon { cursor: default; }

/* ---------- Home: features ---------- */
.band-surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features { display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature { background: var(--cream); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.feature h3 { margin: 0; font-size: 19px; font-weight: 600; }
.feature p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Home: journal preview ---------- */
.journal-preview { display: flex; flex-direction: column; gap: 40px; }
.journal-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.journal-head > div { display: flex; flex-direction: column; gap: 12px; }
.link-strong { font-weight: 600; font-size: 15px; min-height: 44px; display: flex; align-items: center; }

/* ---------- Article cards (home, journal, keep reading) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 28px; }
.post-grid--home { gap: 28px; }
.post-card { text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 14px; }
.post-card:hover { color: var(--text); }
.post-card--home { gap: 16px; }
.post-card--compact { gap: 12px; }
.post-cover { display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; }
.post-cover img, .featured-cover img, .article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tone-apricot { background: var(--apricot-soft); }
.tone-sage { background: var(--sage); }
.tone-line { background: var(--line); }
.post-meta { font-size: 12px; font-weight: 600; color: var(--apricot-text); letter-spacing: 0.06em; text-transform: uppercase; }
.post-title { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.35; }
.post-card--home .post-title { font-size: 21px; }
.post-excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card:hover .post-title, .featured:hover .featured-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Journal ---------- */
.journal-hero { padding-top: 48px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip {
  font-size: 14px; font-weight: 600; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  text-decoration: none; display: inline-flex; align-items: center;
}
.chip:hover { color: var(--text); border-color: var(--olive); }
.chip.is-current { background: var(--olive); border-color: var(--olive); color: var(--surface); }
.featured-wrap { padding-top: 24px; padding-bottom: 24px; }
.featured {
  text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 28px; overflow: hidden; display: flex; flex-wrap: wrap;
}
.featured:hover { color: var(--text); }
.featured-cover { flex: 1 1 480px; min-height: 340px; background: var(--apricot-soft); display: block; }
.featured-body { flex: 1 1 380px; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 1.2; }
.featured-excerpt { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.featured-more { font-weight: 600; color: var(--olive); }
.journal-list { padding-top: 40px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 48px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; }
.page-num, .page-step {
  height: 44px; min-width: 44px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none;
  display: flex; align-items: center; justify-content: center;
}
.page-step { padding: 0 18px; }
.page-num.is-current { background: var(--olive); border-color: var(--olive); color: var(--surface); }
.page-gap { height: 44px; display: flex; align-items: center; color: var(--muted); }
.empty-state { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 8px; }
.empty-state p { margin: 0; color: var(--muted); line-height: 1.6; }
.h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.25; }

/* ---------- Article ---------- */
.article-head { max-width: 760px; margin: 0 auto; padding: 40px 32px 0; display: flex; flex-direction: column; gap: 20px; }
.breadcrumb { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }
.article-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 5vw, 50px); line-height: 1.12; letter-spacing: -0.02em; }
.article-lead { margin: 0; font-size: 20px; line-height: 1.55; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); padding-bottom: 8px; }
.article-author { display: flex; align-items: center; gap: 10px; }
.article-author img { width: 32px; height: 32px; border-radius: 999px; background: var(--surface); }
.article-author b { color: var(--text); font-weight: 600; }
.article-cover-wrap { max-width: 1040px; margin: 0 auto; padding: 16px 32px 0; }
.article-cover { aspect-ratio: 16 / 8; border-radius: 28px; overflow: hidden; }
.article-body { max-width: 760px; margin: 0 auto; padding: 48px 32px 24px; font-size: 18px; line-height: 1.75; display: flex; flex-direction: column; gap: 22px; }
.prose { display: flex; flex-direction: column; gap: 22px; overflow-wrap: anywhere; }
.prose > * { margin: 0; }
.prose h2 { margin: 16px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.25; }
.prose h3, .prose h4 { margin: 8px 0 0; font-weight: 600; font-size: 21px; line-height: 1.35; }
.prose ol, .prose ul { padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.prose blockquote {
  margin: 8px 0; padding: 24px 28px; background: var(--apricot-soft); border-radius: 20px;
  font-family: var(--font-display); font-style: italic; font-size: 21px; line-height: 1.5; color: var(--apricot-text);
}
.prose blockquote p { margin: 0; }
.prose img { border-radius: 20px; }
.prose figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.prose figcaption { font-size: 14px; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); width: 100%; }
.video-card {
  display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--surface); text-decoration: none; color: var(--text);
}
.video-card-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0 !important; }
.video-card-label { padding: 14px 20px; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.video-card-label::before { content: "▶"; color: var(--apricot-text); font-size: 13px; }
.app-box {
  margin-top: 16px; background: var(--olive); color: var(--surface); border-radius: 24px; padding: 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
}
.app-box img { width: 56px; height: 56px; background: var(--surface); border-radius: 16px; padding: 6px; }
.app-box-copy { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; line-height: 1.5; }
.app-box-copy b { font-size: 18px; font-weight: 600; }
.app-box-copy span { font-size: 15px; color: var(--sage); }
.app-box-btn {
  background: var(--apricot); color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: 999px; min-height: 44px; display: flex; align-items: center;
}
.app-box-btn:hover { color: var(--text); }
.app-box :focus-visible { outline-color: var(--surface); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); padding-top: 8px; }
.share-btn {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--olive);
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.share-btn:hover { color: var(--text); }
.keep-reading { background: var(--surface); border-top: 1px solid var(--line); margin-top: 48px; }
.keep-reading-inner { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.keep-reading-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 32px; }
.keep-reading .post-grid { gap: 28px; }

/* ---------- Home: FAQ ---------- */
#faq, #top, #download { scroll-margin-top: 16px; }
.band-sage { background: var(--sage); }
.faq { display: flex; flex-direction: column; gap: 28px; }
.faq-item { background: var(--surface); border-radius: 18px; padding: 20px 24px; }
.faq-item summary { font-size: 17px; font-weight: 600; cursor: pointer; min-height: 28px;
  /* Hit area covers the card padding (44px+ target) without changing the layout. */
  margin: -20px -24px; padding: 20px 24px; border-radius: 18px; }
.faq-item p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Home: CTA ---------- */
.cta {
  background: var(--olive); color: var(--surface); border-radius: 32px; padding: 56px 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-copy { display: flex; flex-direction: column; gap: 10px; flex: 1 1 420px; }
.cta-copy h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.5vw, 38px); line-height: 1.15; }
.cta-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--sage); }
.cta-btn {
  background: var(--apricot); color: var(--text); text-decoration: none; font-weight: 600;
  padding: 16px 26px; border-radius: 999px; min-height: 44px; display: flex; align-items: center;
}
.cta-btn:hover { color: var(--text); }
.cta :focus-visible { outline-color: var(--surface); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 32px; height: 32px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Notices (404 / error) ---------- */
.notice { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-height: 50vh; }

/* ---------- Legal (Privacy / Terms) ---------- */
.legal-head { padding-top: 48px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 20px; }
.legal-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 5vw, 50px); line-height: 1.1; letter-spacing: -0.02em; }
.legal-updated { margin: 0; font-size: 15px; color: var(--muted); }
.legal-fallback { margin: 0; font-size: 15px; color: var(--muted); }
.legal-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px; align-self: flex-start;
}
.legal-tab {
  font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 22px; border-radius: 999px;
  color: var(--text); text-decoration: none; display: inline-flex; align-items: center;
}
.legal-tab:hover { color: var(--text); background: var(--cream); }
.legal-tab.is-current { background: var(--olive); color: var(--surface); }
.legal-body { padding-top: 24px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.legal-toc {
  flex: 1 1 240px; max-width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px;
}
.legal-toc b { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 4px 8px 10px; }
.legal-toc a { text-decoration: none; padding: 8px; border-radius: 10px; line-height: 1.4; min-height: 44px; display: flex; align-items: center; }
.legal-toc a:hover { background: var(--cream); }
.legal-sections { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 36px; }
.legal-content { display: flex; flex-direction: column; gap: 36px; }
.legal-section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 16px; font-size: 16px; line-height: 1.75; color: var(--text); overflow-wrap: anywhere; }
.legal-section h2 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; }
.legal-section p, .legal-section ul { margin: 0; }
.legal-section ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-contact { background: var(--sage); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.6; }
.legal-contact b { font-weight: 600; font-size: 17px; }
.legal-contact span { color: var(--text); }
