/* Impande : site styles
 * Tokens in :root; one breakpoint at 720px; no JS, no fonts.
 * Additions for v1.2: daily-reading banner, language preference banner,
 * header language switcher, language-switch instant-feedback state.
 */
:root {
  --clay: #B8410E;
  --clay-deep: #8E2F08;
  --ink: #1A0F0A;
  --ink-soft: #3D2A1E;
  --paper: #FAF5EC;
  --paper-deep: #F1E9D8;
  --amber: #D4922C;
  --slate: #2A3D4E;
  --wa: #25D366;
  --wa-deep: #128C7E;
  --max: 980px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--clay); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--clay) 30%, transparent); }
a:hover { border-bottom-color: var(--clay); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand-link { border-bottom: 0; display: inline-flex; align-items: center; gap: 12px; }
.brand-link img { width: 44px; height: 44px; }
.brand-word { font-size: 20px; font-weight: 600; letter-spacing: 0.18em; color: var(--ink); }
nav.primary { display: none; gap: 22px; }
nav.primary a { color: var(--ink-soft); border-bottom: 0; font-size: 15px; }
nav.primary a:hover { color: var(--clay); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  background: transparent; color: var(--ink-soft);
  padding: 6px 10px; border-radius: 999px;
  font-size: 14px; font-family: inherit;
}
.lang-switch:hover { color: var(--clay); border-color: var(--clay); }
.lang-switch select {
  background: transparent; color: inherit; border: 0; font: inherit;
  padding: 0 4px 0 0; cursor: pointer;
}
.lang-switch select:focus { outline: none; }
.lang-switch:focus-within { border-color: var(--clay); }

/* Daily reading : top of page, ceremonial tone */
.daily-reading {
  background: color-mix(in srgb, var(--paper-deep) 100%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.daily-reading .container {
  padding-top: 22px; padding-bottom: 22px;
  display: grid; grid-template-columns: 1fr; gap: 8px;
}
.dr-eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay); font-weight: 600;
}
.dr-proverb {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px; line-height: 1.35; color: var(--ink);
  font-style: italic; margin: 0;
}
.dr-meta {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline;
  font-size: 14px; color: var(--ink-soft);
}
.dr-lang {
  letter-spacing: 0.06em; font-weight: 600; color: var(--clay);
}
.dr-source-toggle {
  background: none; border: 0; color: var(--ink-soft);
  cursor: pointer; padding: 0; font: inherit;
  border-bottom: 1px dashed color-mix(in srgb, var(--ink) 24%, transparent);
}
.dr-source-toggle:hover { color: var(--clay); }
.dr-source {
  margin-top: 8px; font-size: 13px; color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  display: none;
}
.dr-source.is-open { display: block; }
.dr-interpretation {
  font-size: 15px; color: var(--ink-soft); margin: 4px 0 0 0;
}

/* v1.3 : the daily affirmation card */
.dr-date {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px; font-weight: 600; color: var(--clay);
  margin: 2px 0 4px 0;
}
.dr-section { margin-top: 14px; }
.dr-section-label {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600; margin: 0 0 5px 0;
}
.dr-section-body {
  font-size: 16px; line-height: 1.65; color: var(--ink);
  margin: 0; max-width: 68ch;
}
.dr-sage-meaning {
  font-size: 15px; line-height: 1.6; color: var(--ink-soft);
  margin: 10px 0 0 0; max-width: 68ch;
}
.dr-safety {
  margin-top: 16px; font-size: 12.5px; color: var(--ink-soft);
  font-style: italic;
}

/* Preference banner : first visit only */
.pref-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  background: var(--ink); color: var(--paper);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(26,15,10,0.25);
  display: none;
}
.pref-banner.is-open { display: block; }
.pref-banner .container {
  padding-top: 18px; padding-bottom: 18px;
  display: grid; gap: 14px;
}
.pref-title {
  font-size: 18px; font-weight: 700; margin: 0;
}
.pref-body {
  font-size: 14px; color: color-mix(in srgb, var(--paper) 80%, transparent); margin: 0;
}
.pref-actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.pref-lang-group {
  display: inline-flex; flex-wrap: wrap; gap: 6px;
}
.pref-lang-pill {
  background: transparent; color: var(--paper);
  border: 1px solid color-mix(in srgb, var(--paper) 30%, transparent);
  border-radius: 999px;
  padding: 8px 14px; font-size: 14px; font-family: inherit; cursor: pointer;
}
.pref-lang-pill:hover { border-color: var(--paper); }
.pref-lang-pill[aria-pressed="true"] {
  background: var(--clay); border-color: var(--clay); color: var(--paper);
}
.pref-skip {
  background: transparent; border: 0; color: color-mix(in srgb, var(--paper) 70%, transparent);
  cursor: pointer; padding: 8px 4px; font: inherit; border-bottom: 1px solid transparent;
}
.pref-skip:hover { color: var(--paper); border-bottom-color: var(--paper); }

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  overflow: hidden;
}
.hero-eyebrow {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay); margin: 0 0 14px; font-weight: 600;
}
.hero h1 {
  font-size: 38px; line-height: 1.1; margin: 0 0 14px;
  letter-spacing: -0.02em; color: var(--ink); font-weight: 800;
}
.hero h1 em {
  font-style: normal; color: var(--clay);
}
.hero .lead { font-size: 18px; max-width: 60ch; margin: 0 0 24px; color: var(--ink-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px; border-radius: 999px;
  font-weight: 600; font-size: 16px; border: 1px solid transparent;
  text-decoration: none;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #fff; border-bottom-color: var(--wa); }
.btn-wa:hover { background: var(--wa-deep); border-color: var(--wa-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-deep); }
.hero-meta { color: var(--ink-soft); font-size: 14px; max-width: 60ch; }
.hero-meta strong { color: var(--ink); }

/* Language strip */
.lang-strip { background: var(--ink); color: var(--paper); }
.lang-strip .container {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.lang-strip .eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber); font-weight: 600; margin-right: 8px;
}
.lang-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 0; }
.lang-list li {
  font-size: 15px; font-weight: 500;
  opacity: 0; transform: translateY(4px); transition: opacity .4s ease, transform .4s ease;
}
.lang-list li.is-in { opacity: 1; transform: none; }
.lang-list li.is-priority {
  color: var(--amber); font-weight: 700;
}

/* Tiers */
#tiers { padding: 64px 0 56px; }
#tiers h2 {
  font-size: 28px; line-height: 1.15; margin: 0 0 8px;
  letter-spacing: -0.02em; font-weight: 800;
}
#tiers .lede { font-size: 17px; max-width: 60ch; color: var(--ink-soft); margin: 0 0 28px; }
.tiers {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px;
}
.tier {
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 16px;
  padding: 24px;
  background: color-mix(in srgb, var(--paper) 70%, #fff 30%);
  display: flex; flex-direction: column; gap: 12px;
}
.tier.featured {
  border-color: var(--clay); border-width: 2px;
  background: color-mix(in srgb, var(--paper) 92%, var(--amber) 8%);
}
.tier .name {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clay); font-weight: 700; margin: 0;
}
.tier h3 { font-size: 20px; margin: 0; font-weight: 700; }
.tier .isi { color: var(--ink-soft); margin: 0; font-size: 15px; }
.tier .price { font-weight: 700; }
.tier .price .num { font-size: 30px; color: var(--ink); }
.tier .price .per { color: var(--ink-soft); font-size: 14px; font-weight: 500; margin-left: 4px; }
.tier ul { margin: 0 0 4px; padding-left: 20px; color: var(--ink-soft); font-size: 15px; }
.tier ul li { margin-bottom: 6px; }
.tier-cta { margin-top: auto; }
.tier-cta .btn { width: 100%; }
.featured .badge {
  display: inline-block; background: var(--clay); color: var(--paper);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 999px; margin-left: 8px;
}
.footnote { font-size: 13px; color: var(--ink-soft); margin-top: 24px; max-width: 70ch; }

/* Steps */
#how { padding: 56px 0; }
#how h2 {
  font-size: 28px; line-height: 1.15; margin: 0 0 8px;
  letter-spacing: -0.02em; font-weight: 800;
}
#how .lede { color: var(--ink-soft); max-width: 60ch; margin: 0 0 22px; }
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; }
.step h3 { font-size: 18px; margin: 0 0 6px; font-weight: 700; }
.step p { color: var(--ink-soft); margin: 0; }

/* Split section (why Zulu / honesty) */
.split { display: grid; gap: 28px; grid-template-columns: 1fr; }
.bullets { list-style: none; margin: 0; padding: 0; }
.bullets li {
  padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
.bullets li:last-child { border-bottom: 0; }
.bullets strong { color: var(--clay); }

/* CTA panel */
.cta-panel {
  background: var(--ink); color: var(--paper);
  padding: 56px 0; text-align: center;
}
.cta-panel h2 {
  font-size: 26px; margin: 0 0 10px;
  color: var(--paper); font-weight: 700; letter-spacing: -0.01em;
}
.cta-panel p { color: color-mix(in srgb, var(--paper) 80%, transparent); margin: 0 0 18px; }
.cta-panel .num { margin-top: 12px; font-size: 14px; }

/* Page header (non-home pages) */
.page-header {
  padding: 40px 0 24px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}
.page-header h1 {
  font-size: 32px; line-height: 1.15; margin: 0 0 10px;
  font-weight: 800; letter-spacing: -0.02em;
}
.page-header p { color: var(--ink-soft); max-width: 60ch; margin: 0; }

/* Contact cards */
.contact-grid {
  display: grid; gap: 16px; grid-template-columns: 1fr;
  padding-top: 36px;
}
.contact-card {
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 14px; padding: 22px; background: var(--paper);
}
.contact-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.contact-card p { color: var(--ink-soft); margin: 0 0 12px; font-size: 15px; }

/* Footer */
.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  padding: 28px 0; font-size: 14px; color: var(--ink-soft);
}
.site-footer .container {
  display: grid; gap: 14px; grid-template-columns: 1fr; align-items: center;
}
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); border-bottom-color: transparent; }
.site-footer a:hover { color: var(--clay); }
.site-footer .legal { margin: 8px 0 0; max-width: 70ch; }

/* Responsive */
@media (min-width: 720px) {
  .hero h1 { font-size: 48px; }
  #tiers h2, #how h2 { font-size: 34px; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  nav.primary { display: inline-flex; align-items: center; }
  .site-footer .container { grid-template-columns: 1fr auto 1fr; }
  .dr-proverb { font-size: 26px; }
  .pref-banner .container { grid-template-columns: 1fr auto; align-items: center; }
}
