/* Indirimbo Zikundwa landing — warm parchment "Cantica" hymnal theme. */
:root {
  --bg: #f3ead9;
  --bg2: #efe4cf;
  --paper: #fffaf0;
  --ink: #2c241d;
  --ink-soft: #4a3f34;
  --ink-dim: #7c6f5e;
  --accent: #a23a26;       /* terracotta / brick — the reader label red */
  --accent-deep: #7c2c20;
  --accent-2: #6e2230;     /* burgundy book spine */
  --gold: #b07a2c;
  --line: rgba(44, 36, 29, 0.13);
  --line-soft: rgba(44, 36, 29, 0.08);
  --card: #fff9ee;
  --card-hi: #fffdf6;
  --radius: 18px;
  --max: 1080px;
  --serif: "Playfair Display", Georgia, serif;
  --read: "Spectral", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
b { color: var(--ink); font-weight: 650; }
code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85em; background: rgba(162, 58, 38, 0.1);
  padding: 1px 6px; border-radius: 6px; color: var(--accent-deep);
}

/* Subtle paper texture + warm light */
.paper-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 82% -8%, rgba(162, 58, 38, 0.10), transparent 70%),
    radial-gradient(46% 38% at 8% 4%, rgba(176, 122, 44, 0.10), transparent 70%),
    radial-gradient(70% 55% at 50% 112%, rgba(110, 34, 48, 0.07), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

.kicker {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  text-transform: uppercase; letter-spacing: 3px; font-size: 12px;
  color: var(--accent); text-align: center; margin-bottom: 10px;
}

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 13px clamp(16px, 5vw, 40px);
  max-width: var(--max); margin: 0 auto;
  backdrop-filter: blur(12px);
  background: rgba(243, 234, 217, 0.72);
  border-bottom: 1px solid var(--line-soft);
}
.nav-brand { display: flex; align-items: center; gap: 11px; }
.nav-logo { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 3px 10px rgba(31, 92, 68, 0.3); }
.brand-word { font-family: var(--serif); font-weight: 800; font-size: 18px; letter-spacing: -0.3px; color: var(--accent-2); }
.brand-word span { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); font-size: 14.5px; }
.nav-links a { color: var(--ink-dim); transition: color .15s; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff !important;
  padding: 8px 17px; border-radius: 10px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(162, 58, 38, 0.32);
}
.nav-links a.nav-cta:hover { filter: brightness(1.06); color: #fff !important; }

/* ===== HERO ===== */
.hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center;
  padding: clamp(36px, 7vw, 80px) clamp(16px, 5vw, 40px) 56px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 22px;
  font-weight: 500;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #1f5c44; box-shadow: 0 0 10px rgba(31, 92, 68, 0.6); }
.hero h1 { font-family: var(--serif); font-size: clamp(40px, 6.4vw, 70px); line-height: 1.0; letter-spacing: -1.2px; font-weight: 800; color: var(--ink); }
.grad { color: var(--accent); font-style: italic; font-weight: 700; }
.lede { color: var(--ink-soft); font-size: clamp(15.5px, 1.6vw, 18.5px); margin: 22px 0 30px; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 13px; font-weight: 650; font-size: 15px;
  transition: transform .12s, filter .15s, background .15s; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; box-shadow: 0 8px 24px rgba(162, 58, 38, 0.34); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-sub { font-size: 11px; font-weight: 500; opacity: 0.88; margin-top: 2px; }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--card-hi); }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; font-size: 13.5px; color: var(--ink-dim); }

.hero-shot { position: relative; }
.hero-shot img {
  width: 100%; max-width: 320px; display: block; margin: 0 auto;
  border-radius: 30px; border: 1px solid var(--line);
  box-shadow: 0 34px 70px rgba(74, 50, 32, 0.28), 0 4px 14px rgba(74, 50, 32, 0.12);
}
.hero-shot::after {
  content: ""; position: absolute; inset: -10% -4% -4%; z-index: -1; border-radius: 40px;
  background: radial-gradient(58% 50% at 50% 30%, rgba(162, 58, 38, 0.18), transparent 70%); filter: blur(22px);
}

/* ===== STRIP ===== */
.strip {
  max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px,5vw,40px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.strip-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 16px; text-align: center;
}
.strip-item b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 800; color: var(--accent-2); letter-spacing: -0.5px; }
.strip-item span { font-size: 12.5px; color: var(--ink-dim); }

/* ===== SECTIONS ===== */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 100px) clamp(16px,5vw,40px) 0; }
.section-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.8px; font-weight: 800; text-align: center; color: var(--ink); line-height: 1.08; }
.section-sub { text-align: center; color: var(--ink-dim); margin: 14px auto 0; max-width: 34em; font-size: 16px; }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .15s, border-color .15s, background .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(162, 58, 38, 0.4); background: var(--card-hi); box-shadow: 0 16px 34px rgba(74, 50, 32, 0.1); }
.card-ic { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.card p { color: var(--ink-soft); font-size: 14.5px; }

/* Showcase */
.showcase {
  max-width: var(--max); margin: 0 auto; padding: clamp(56px,8vw,100px) clamp(16px,5vw,40px) 0;
  display: grid; grid-template-columns: 1fr 0.82fr; gap: 52px; align-items: center;
}
.showcase.reverse .show-text { order: 2; }
.show-text .kicker { text-align: left; }
.show-text h2 { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.6px; font-weight: 800; margin-bottom: 16px; color: var(--ink); line-height: 1.1; }
.show-text p { color: var(--ink-soft); font-size: 16px; margin-bottom: 14px; }
.show-shot img {
  width: 100%; max-width: 310px; display: block; margin: 0 auto;
  border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 28px 60px rgba(74, 50, 32, 0.24);
}

/* Collections book row */
.book-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.book {
  position: relative; display: inline-flex; align-items: flex-end;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 86%, #000), var(--c));
  color: #f6ecd8; font-family: var(--serif); font-weight: 600; font-size: 14px;
  padding: 16px 18px 14px; border-radius: 4px 8px 8px 4px;
  box-shadow: 0 8px 18px rgba(74, 50, 32, 0.22), inset 3px 0 0 rgba(255,255,255,0.18), inset -1px 0 0 rgba(0,0,0,0.25);
  min-width: 116px; letter-spacing: 0.2px; transition: transform .15s;
}
.book:hover { transform: translateY(-4px) rotate(-1deg); }
.collections-note { text-align: center; color: var(--ink-dim); font-size: 14.5px; max-width: 44em; margin: 30px auto 0; }
.collections-note a, .show-text a, .dl-note a, .faq a, .foot-by a { color: var(--accent-deep); font-weight: 600; }
.collections-note a:hover { text-decoration: underline; }

/* How / offline */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.how-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.how-num { font-family: var(--serif); font-size: 24px; font-weight: 800; letter-spacing: -0.3px; color: var(--accent); margin-bottom: 8px; }
.how-item p { color: var(--ink-soft); font-size: 13.8px; }

/* Download */
.download { max-width: var(--max); margin: 0 auto; padding: clamp(56px,8vw,100px) clamp(16px,5vw,40px); }
.dl-card {
  text-align: center; background: linear-gradient(165deg, rgba(162, 58, 38, 0.12), rgba(255, 250, 240, 0.7));
  border: 1px solid rgba(162, 58, 38, 0.28); border-radius: 28px; padding: clamp(34px,6vw,60px);
}
.dl-icon { width: 84px; height: 84px; border-radius: 20px; margin-bottom: 18px; box-shadow: 0 14px 36px rgba(31, 92, 68, 0.35); }
.dl-card h2 { font-family: var(--serif); font-size: clamp(28px,4vw,38px); letter-spacing: -0.6px; font-weight: 800; color: var(--ink); }
.dl-card > p { color: var(--ink-dim); margin: 8px 0 30px; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 720px; margin: 0 auto; }
.dl-platform {
  display: flex; flex-direction: column; gap: 4px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px 16px;
  transition: transform .14s, border-color .14s, box-shadow .14s;
}
.dl-platform:hover { transform: translateY(-3px); border-color: rgba(162, 58, 38, 0.45); box-shadow: 0 14px 30px rgba(74, 50, 32, 0.12); }
.dl-os { font-size: 14px; color: var(--ink-dim); font-weight: 500; }
.dl-platform b { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.dl-state {
  margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
  color: var(--gold); background: rgba(176, 122, 44, 0.12); padding: 3px 10px; border-radius: 999px;
}
.dl-state.ready { color: #1f5c44; background: rgba(31, 92, 68, 0.13); }
.dl-note { font-size: 13.5px; color: var(--ink-dim); max-width: 44em; margin: 28px auto 0; line-height: 1.7; }
.dl-alt { display: inline-block; margin-top: 14px; color: var(--accent-deep); font-size: 14px; font-weight: 600; }
.dl-alt:hover { text-decoration: underline; }

/* Gallery */
.gallery-sec { padding-bottom: 10px; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr);
  gap: 18px; margin-top: 44px; overflow-x: auto; padding: 6px 2px 20px;
  scroll-snap-type: x mandatory;
}
.gallery img {
  width: 100%; border-radius: 22px; border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(74, 50, 32, 0.18); scroll-snap-align: center;
}

/* FAQ */
.faq { max-width: 760px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; transition: background .15s;
}
.faq details[open] { background: var(--card-hi); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; position: relative; padding-right: 28px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 24px; color: var(--accent); transition: transform .2s; font-weight: 400; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-soft); font-size: 14.8px; padding: 0 0 18px; }

/* Footer */
.footer { max-width: var(--max); margin: 90px auto 0; padding: 64px clamp(16px,5vw,40px) 48px; text-align: center; border-top: 1px solid var(--line); }
.foot-brand { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.foot-brand img { width: 26px; height: 26px; border-radius: 7px; }
.foot-by { color: var(--ink-dim); font-size: 14px; }
.foot-fine { color: rgba(124, 111, 94, 0.85); font-size: 12.5px; margin-top: 10px; max-width: 40em; margin-left: auto; margin-right: auto; }

/* ===== Legal pages (privacy / terms) ===== */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 72px) clamp(16px, 5vw, 40px) 20px; }
.legal-head { text-align: center; margin-bottom: 40px; }
.legal-head h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -0.6px; color: var(--ink); }
.legal-updated { color: var(--ink-dim); font-size: 13.5px; margin-top: 10px; }
.legal-tldr {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 18px 22px; margin: 0 auto 36px; color: var(--ink-soft); font-size: 15px;
}
.legal-tldr b { color: var(--ink); }
.legal article h2 {
  font-family: var(--serif); font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; color: var(--ink);
  margin: 38px 0 12px; letter-spacing: -0.3px;
}
.legal article h2:first-child { margin-top: 0; }
.legal article p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 14px; }
.legal article ul { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 16px; padding-left: 22px; }
.legal article li { margin-bottom: 8px; }
.legal article a { color: var(--accent-deep); font-weight: 600; }
.legal article a:hover { text-decoration: underline; }
.legal-back {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  color: var(--accent-deep); font-weight: 600; font-size: 14.5px;
}
.legal-back:hover { text-decoration: underline; }
.foot-legal { margin-top: 12px; font-size: 13px; }
.foot-legal a { color: var(--ink-dim); font-weight: 500; }
.foot-legal a:hover { color: var(--ink); }
.foot-sep { color: var(--line); margin: 0 8px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-shot { order: -1; }
  .showcase { grid-template-columns: 1fr; text-align: center; }
  .showcase.reverse .show-text { order: 0; }
  .show-text .kicker { text-align: center; }
  .show-shot { order: -1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .dl-grid { grid-template-columns: 1fr; max-width: 360px; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-auto-columns: minmax(200px, 78%); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
