/* 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; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 16px; }

/* ── phone mock-ups (pure HTML/CSS; they copy the real app: green header band, flat white tiles, tab bar) ── */
.phone { width: 236px; 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: 204px; }
.screen { background: #f3f5f4; border-radius: 23px; overflow: hidden; min-height: 430px; display: flex; flex-direction: column; color: #202124; font-size: 11px; line-height: 1.3; }
.phone.small .screen { min-height: 340px; }
.ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* header band: status bar + title or search pill */
.s-head { background: linear-gradient(100deg, #1aa84a, #0f8a6e); color: #fff; padding: 7px 9px 9px; }
.s-status { display: flex; justify-content: space-between; font-size: 8.5px; font-weight: 700; opacity: 0.95; margin-bottom: 6px; }
.s-title { text-align: center; font-weight: 800; font-size: 14px; padding: 2px 0 1px; position: relative; }
.s-title .s-pill { position: absolute; right: 0; top: 1px; }
.s-title .s-gear { position: absolute; left: 0; top: 0; }
.s-pill { background: #fff; color: #137333; border-radius: 999px; padding: 2px 8px; font-size: 9px; font-weight: 700; }
.s-search { background: #fff; color: #8a948f; border-radius: 999px; padding: 6px 10px; display: flex; align-items: center; gap: 6px; font-weight: 500; }
.s-search .ico { width: 13px; height: 13px; }

/* filter bar */
.s-filter { background: #fff; border-bottom: 1px solid #eceef0; padding: 6px 7px; display: flex; align-items: center; gap: 5px; font-size: 9.5px; }
.s-chip { border: 1px solid #dadce0; border-radius: 999px; padding: 2px 8px; color: #3c4043; font-weight: 600; white-space: nowrap; }
.s-views { margin-left: auto; display: flex; gap: 3px; color: #70757a; }
.s-views i { width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 3px; display: block; }
.s-views i.on { color: #137333; background: #f0faf4; }

/* flat product tiles */
.s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding-top: 2px; }
.s-tile { background: #fff; }
.s-img { aspect-ratio: 1.1; background: #f0faf4; display: grid; place-items: center; font-size: 36px; font-weight: 800; color: rgba(26, 168, 74, 0.35); }
.s-body { padding: 6px 7px 8px; }
.s-name { font-weight: 500; font-size: 11px; color: #202124; line-height: 1.35; }
.s-meta { color: #70757a; font-size: 9.5px; margin-top: 1px; }
.s-price { color: #202124; margin-top: 4px; display: flex; align-items: center; white-space: nowrap; }
.s-price span { font-size: 8.5px; font-weight: 700; }
.s-price b { font-size: 16px; font-weight: 800; margin-inline: 1px; }
.s-price em { font-size: 10px; font-weight: 700; font-style: normal; }
.s-sale { margin-left: 6px; font-style: normal; background: #fce8e6; color: #c5221f; font-weight: 800; font-size: 8px; padding: 1px 5px; border-radius: 3px; letter-spacing: 0.03em; }
.s-count { color: #9aa0a6; font-size: 9px; margin-top: 3px; }

/* shopping list */
.s-store { background: #fff; border-bottom: 1px solid #eceef0; margin-top: 2px; padding: 7px 9px; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 11px; }
.s-red { color: #c5221f; }
.s-row { background: #fff; padding: 6px 9px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid #f1f3f4; font-size: 10.5px; }
.s-row .grow { flex: 1; min-width: 0; }
.s-row .grow b { font-weight: 700; }
.s-row .grow span { color: #70757a; }
.s-row .s-p { font-weight: 800; white-space: nowrap; }
.s-row .s-x { color: #c5221f; }
.s-check { width: 14px; height: 14px; border-radius: 4px; border: 2px solid #9aa0a6; flex: none; display: grid; place-items: center; }
.s-check.on { background: #1aa84a; border-color: #1aa84a; }
.s-check.on::after { content: ''; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-1px, -1px); display: block; }
.s-sum { margin-top: auto; background: #fff; border-top: 1px solid #eceef0; padding: 7px 9px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 10.5px; }
.s-sum strong { font-size: 17px; font-weight: 800; color: #c5221f; }

/* business dashboard */
.s-branch { background: #fff; border-bottom: 1px solid #eceef0; padding: 7px 9px; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 11px; }
.s-seg { display: flex; margin: 6px 8px 0; background: #e8ebe9; border-radius: 9px; padding: 2px; font-size: 9.5px; font-weight: 700; text-align: center; }
.s-seg span { flex: 1; padding: 4px 0; border-radius: 7px; color: #5f6368; }
.s-seg span.on { background: #fff; color: #137333; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
.s-tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px; margin-top: 6px; }
.s-stat { background: #fff; padding: 7px 8px; color: #70757a; font-size: 9px; }
.s-stat b { display: block; font-size: 17px; font-weight: 800; color: #202124; }
.s-chart { background: #fff; margin-top: 2px; padding: 8px 9px 6px; }
.s-chart small { color: #70757a; font-size: 9px; font-weight: 700; }
.s-bars { display: flex; align-items: flex-end; gap: 3px; height: 62px; margin-top: 5px; border-bottom: 1px solid #dadce0; background: repeating-linear-gradient(to top, transparent 0, transparent 14px, #eceef0 14px, #eceef0 15px); }
.s-bars i { flex: 1; background: #1aa84a; border-radius: 2px 2px 0 0; display: block; }
.s-tag { font-weight: 800; font-size: 9.5px; }
.s-tag.blue { color: #1a73e8; } .s-tag.green { color: #1aa84a; } .s-tag.grey { color: #9aa0a6; }

/* bottom tab bar, like the app's */
.s-tabs { margin-top: auto; background: #fff; border-top: 1px solid #e6e8e7; display: flex; padding: 5px 0 6px; }
.s-tabs div { flex: 1; text-align: center; color: #6b7280; font-size: 7.5px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.s-tabs div.on { color: #137333; }
.s-tabs .ico { width: 17px; height: 17px; }

/* ── 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; } }
.s-row.done .grow b, .s-row.done .grow span { color: #9aa0a6; text-decoration: line-through; }

/* product detail screen (hero) */
.phone.offset { transform: translateY(28px); }
.screen.cut { height: 520px; }
.s-back { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 11px; padding-top: 1px; }
.s-flag { background: #fff; color: #c5221f; border-radius: 999px; padding: 2px 8px; font-size: 9px; font-weight: 700; }
.s-photo { height: 74px; background: #f0faf4; display: grid; place-items: center; font-size: 40px; font-weight: 800; color: rgba(26, 168, 74, 0.35); position: relative; }
.s-photo span { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); font-size: 8.5px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, 0.45); border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.s-pd { background: #fff; padding: 9px 10px 10px; margin-bottom: 4px; }
.s-pname { font-weight: 700; font-size: 14px; line-height: 1.25; }
.s-pname span { font-weight: 400; font-size: 11px; color: #70757a; }
.s-barcode { color: #9aa0a6; font-size: 9px; margin-top: 3px; }
.s-pill-out { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #1a73e8; color: #1a73e8; border-radius: 999px; padding: 2px 9px; font-size: 9.5px; font-weight: 600; margin-top: 5px; }
.s-pill-out .ico { width: 11px; height: 11px; }
.s-cheap { display: flex; align-items: baseline; gap: 6px; margin-top: 5px; }
.s-cheap > span:last-child { color: #70757a; font-size: 10px; }
.s-small { color: #70757a; font-size: 9.5px; margin-top: 1px; }
.s-section { font-weight: 700; font-size: 13px; padding: 4px 10px 6px; }
.s-pp { white-space: nowrap; color: #202124; }
.s-pp span { font-size: 8.5px; font-weight: 700; }
.s-pp b { font-size: 16px; font-weight: 800; margin-inline: 1px; }
.s-pp em { font-size: 10px; font-weight: 700; font-style: normal; }
.s-pp.s-lg b { font-size: 24px; } .s-pp.s-lg span { font-size: 11px; } .s-pp.s-lg em { font-size: 14px; }
.s-pp.s-red, .s-pp.s-red span { color: #c5221f; }
.s-prow { background: #fff; margin: 0 5px 5px; border-radius: 9px; border: 1.5px solid transparent; padding: 8px; display: flex; gap: 7px; align-items: flex-start; }
.s-prow.best { border-color: #1aa84a; }
.s-logo { width: 24px; height: 24px; border-radius: 50%; background: #f1f3f4; color: #70757a; font-weight: 700; font-size: 12px; display: grid; place-items: center; flex: none; }
.s-logo.best { background: #1aa84a; color: #fff; }
.s-pinfo { flex: 1; min-width: 0; }
.s-chain { font-weight: 600; font-size: 10.5px; line-height: 1.25; }
.s-save { display: inline-block; margin-top: 5px; border: 1px solid #eceef0; border-radius: 999px; padding: 2px 7px; font-size: 8.5px; font-weight: 600; color: #70757a; }
.s-save.on { background: #e6f4ea; border-color: #1aa84a; color: #1aa84a; }
.s-pright { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.s-best { font-size: 8px; font-weight: 700; color: #1aa84a; letter-spacing: 0.05em; }
.s-salelabel { font-size: 8px; font-weight: 700; color: #c5221f; letter-spacing: 0.05em; }
.s-report { color: #c5221f; font-size: 7.5px; margin-top: 3px; }
.s-badge { margin-top: 4px; border-radius: 9px; padding: 1px 6px; font-size: 8px; font-weight: 600; background: #e6f4ea; color: #1aa84a; white-space: nowrap; }
.s-badge.biz { background: #e8f0fe; color: #1a73e8; }
.s-badge.unv { background: #f1f3f4; color: #70757a; }
.s-votes { display: flex; gap: 3px; margin-top: 5px; font-size: 8.5px; font-weight: 600; }
.s-votes span { border: 1px solid #eceef0; border-radius: 999px; padding: 1px 5px; }

/* card icons and step numbers sit on the same line as the heading (the text below spans the full width) */
.card:has(> .icon), .card.step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
}
.card:has(> .icon) > .icon { width: 40px; height: 40px; font-size: 20px; margin-bottom: 0; }
.card.step > .n { width: 36px; height: 36px; margin-bottom: 0; }
.card:has(> .icon) > h3, .card.step > h3 { margin: 0; }
.card:has(> .icon) > :not(.icon):not(h3), .card.step > :not(.n):not(h3) { grid-column: 1 / -1; margin-top: 10px; }

/* plans table: the Verified and Pro columns are centred, in the middle of each row */
.plans td, .plans th { vertical-align: middle; }
.plans th:not(:first-child), .plans td:not(:first-child) { text-align: center; }
