/* ManaMurah website: one stylesheet, mobile first. Colours match the app (green + deep teal, white cards). */

:root {
  --green: #1aa84a;
  --green-dark: #137333;
  --teal: #0b5a52;
  --tint: #f0faf4;
  --ink: #12211a;
  --muted: #52645a;
  --page: #f3f5f4;
  --card: #ffffff;
  --line: #e1e8e4;
  --blue: #1a73e8;
  --danger: #c5221f;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(18, 33, 26, 0.06), 0 8px 24px rgba(18, 33, 26, 0.08);
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--card);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ── header ─────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { background: var(--tint); }
.nav a[aria-current='page'] { color: var(--green-dark); background: var(--tint); }
.nav .btn { margin-left: 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 16px 16px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 6px 0 0; text-align: center; }
}

/* ── buttons & store badges ─────────────────────────── */
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--green-dark); }
.btn.ghost { background: transparent; color: var(--green-dark); border: 2px solid var(--green); }
.btn.ghost:hover { background: var(--tint); }
.btn.light { background: #fff; color: var(--green-dark); }
.btn.light:hover { background: var(--tint); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 168px; background: #0d1412; color: #fff; text-decoration: none; border-radius: 12px; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, 0.3); line-height: 1.15; }
.store small { font-size: 0.7rem; opacity: 0.85; }
.store strong { font-size: 1.15rem; }
.store:hover { background: #000; }
.soon { font-size: 0.85rem; opacity: 0.85; margin: 0; }

/* ── hero ───────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, var(--green-dark), var(--teal)); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; gap: 32px; align-items: center; padding-block: 56px 48px; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; padding-block: 72px; } }
.hero p.lead { font-size: 1.15rem; max-width: 34em; opacity: 0.95; }
.hero .tag { display: inline-block; background: rgba(255, 255, 255, 0.16); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: 0.85rem; margin-bottom: 16px; }
.hero a { color: #fff; }
.hero-art { display: flex; justify-content: center; gap: 16px; }

/* ── phone mock-ups (pure HTML/CSS, no screenshots needed) ─────────────── */
.phone { width: 230px; border-radius: 30px; background: #0d1412; padding: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); flex: none; }
.phone.small { transform: translateY(28px); width: 200px; }
.screen { background: var(--page); border-radius: 23px; overflow: hidden; min-height: 400px; color: var(--ink); font-size: 11px; line-height: 1.3; }
.phone.small .screen { min-height: 250px; }
.s-head { background: linear-gradient(120deg, #1fbe54, #149e90); color: #fff; padding: 16px 12px 10px; font-weight: 800; font-size: 14px; text-align: center; }
.s-search { background: #fff; color: #7a8a82; border-radius: 999px; padding: 6px 10px; margin: 8px 8px 0; font-weight: 500; }
.s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 6px 3px; }
.s-tile { background: #fff; padding: 6px; }
.s-img { height: 62px; border-radius: 6px; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: rgba(255, 255, 255, 0.9); margin-bottom: 5px; }
.s-name { font-weight: 600; }
.s-meta { color: #70757a; font-size: 10px; }
.s-price { font-weight: 800; font-size: 15px; margin-top: 2px; }
.s-price small { font-size: 9px; }
.s-sale { display: inline-block; background: #fce8e6; color: var(--danger); font-weight: 800; font-size: 8px; padding: 1px 5px; border-radius: 3px; margin-left: 4px; }
.s-row { background: #fff; padding: 8px 10px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #eee; }
.s-row .grow { flex: 1; }
.s-check { width: 14px; height: 14px; border-radius: 4px; border: 2px solid #9aa0a6; flex: none; }
.s-check.on { background: var(--green); border-color: var(--green); }
.s-store { background: var(--tint); font-weight: 800; padding: 6px 10px; display: flex; justify-content: space-between; }
.s-tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; padding: 8px; }
.s-stat { background: var(--tint); border-radius: 8px; padding: 6px; }
.s-stat b { display: block; font-size: 15px; }
.s-bars { display: flex; align-items: flex-end; gap: 2px; height: 60px; padding: 0 8px; margin: 6px 0; }
.s-bars i { flex: 1; background: var(--green); border-radius: 3px 3px 0 0; display: block; }
.k1 { background: #e07a3f; } .k2 { background: #3f8fe0; } .k3 { background: #8e5fd0; } .k4 { background: #d04f7a; } .k5 { background: #3fb08a; } .k6 { background: #c9a227; }

/* ── sections ───────────────────────────────────────── */
section { padding-block: 64px; }
.alt { background: var(--page); }
.kicker { color: var(--green-dark); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin-bottom: 8px; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }
.sub { color: var(--muted); max-width: 40em; font-size: 1.05rem; }
.grid { display: grid; gap: 18px; margin-top: 32px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.alt .card { border-color: transparent; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--green-dark); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.step { position: relative; }
.step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.flip .art { order: -1; } }
.art { display: flex; justify-content: center; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.checks li { padding: 6px 0 6px 30px; position: relative; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.band { background: linear-gradient(135deg, var(--green-dark), var(--teal)); color: #fff; }
.band .sub, .band p { color: rgba(255, 255, 255, 0.92); }
.band .kicker { color: #b8f0cb; }
.badge-pill { display: inline-block; background: #e8f0fe; color: #1a56b8; font-weight: 800; font-size: 0.8rem; border-radius: 999px; padding: 2px 10px; }

/* tables (plans) */
.table-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--tint); font-weight: 800; }
tr:last-child td { border-bottom: 0; }

/* faq */
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
details p { color: var(--muted); }

/* page title strip */
.page-title { background: linear-gradient(135deg, var(--green-dark), var(--teal)); color: #fff; padding-block: 48px; }
.page-title p { max-width: 38em; opacity: 0.95; margin: 0; font-size: 1.1rem; }

/* legal pages */
.legal { max-width: 760px; padding-block: 48px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.4em; }
.notice { background: #fff8e1; border: 1px solid #f2d97a; border-radius: 12px; padding: 12px 16px; font-size: 0.95rem; }

/* footer */
.site-footer { background: #0d1412; color: #c9d3ce; padding-block: 48px 28px; font-size: 0.95rem; }
.site-footer a { color: #e6f4ec; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.foot-grid h3 { color: #fff; font-size: 0.95rem; margin-bottom: 10px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 6px; }
.fine { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 32px; padding-top: 20px; font-size: 0.85rem; color: #93a39b; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
