/* BiodiComply SA - explainer page (about.html), shown on www.biodicomply.co.za. Fonts are served from this site. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/fonts/plus-jakarta-sans-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: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/fonts/plus-jakarta-sans-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; }

:root {
  --green: #2f6b3a; --green-dark: #1f4a28; --green-deep: #153820; --green-soft: #e7f1e9;
  --bg: #f5f8f5; --card: #ffffff; --text: #1c261f; --muted: #55645a; --border: #dde4de;
  --amber: #a15a0a; --amber-soft: #fdf1e0; --red: #b3261e; --red-soft: #fdecea;
  --r: 14px; --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
a { color: var(--green); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--green-dark); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* top bar */
.topbar { background: var(--green-deep); color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; background: #fff; padding: 2px; }
.topnav { display: none; gap: 22px; }
.topnav a { color: #dcebdf; text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.topnav a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 860px) { .topnav { display: flex; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-wa { background: #25d366; color: #073b1c; }
.btn-wa:hover { background: #1fbd5b; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-solid { background: var(--green); color: #fff; }
.btn-solid:hover { background: var(--green-dark); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* hero */
.hero { background: linear-gradient(160deg, var(--green-deep) 0%, var(--green-dark) 55%, #2c6a3a 100%); color: #fff; padding: 44px 0 56px; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #bfe3c8; margin-bottom: 10px; }
.hero h1 { margin: 0 0 14px; font-size: clamp(2rem, 5.2vw, 3.1rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
.hero p.lead { margin: 0 0 24px; font-size: 1.08rem; color: #e4f0e7; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin: 16px 0 0; font-size: 0.9rem; color: #bfe3c8; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } .hero { padding: 64px 0 76px; } }

/* chat mock */
.phone { background: #0b1f14; border-radius: 28px; padding: 12px; max-width: 380px; margin: 0 auto; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.chat { background: #efe9df; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; color: #1b1b1b; min-height: 340px; }
.chat-head { display: flex; align-items: center; gap: 10px; margin: -14px -14px 4px; padding: 12px 14px; background: #075e54; color: #fff; border-radius: 18px 18px 0 0; font-weight: 700; }
.chat-head img { width: 32px; height: 32px; border-radius: 50%; background: #fff; padding: 2px; }
.chat-head small { display: block; font-weight: 500; opacity: 0.85; font-size: 0.75rem; }
.bubble { max-width: 88%; padding: 9px 12px; border-radius: 12px; box-shadow: 0 1px 1px rgba(0,0,0,0.12); line-height: 1.45; }
.bubble.me { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }
.bubble.bot { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.bubble b { font-weight: 700; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--red-soft); color: var(--red); margin: 2px 0 4px; }
.example-label { text-align: center; color: #9fc3aa; font-size: 0.78rem; margin: 10px 0 0; }

/* sections */
section { padding: 60px 0; }
section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3.6vw, 2.1rem); line-height: 1.2; letter-spacing: -0.015em; font-weight: 800; color: var(--green-deep); }
.sub { margin: 0 0 30px; color: var(--muted); max-width: 40em; font-size: 1.05rem; }
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 800; color: var(--green-deep); }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 12px; font-weight: 800; }
.card .ico svg { width: 22px; height: 22px; }
.step { position: relative; padding-top: 6px; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; }

/* pricing */
table.price { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
table.price th, table.price td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: 0.98rem; }
table.price th { background: var(--green-soft); color: var(--green-deep); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
table.price tr:last-child td { border-bottom: 0; }
table.price td.num, table.price th.num { text-align: right; white-space: nowrap; }
.packs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.pack { flex: 1 1 200px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 16px 18px; }
.pack b { display: block; font-size: 1.2rem; color: var(--green-deep); }
.pack span { color: var(--muted); font-size: 0.92rem; }
.pack.best { border: 2px solid var(--green); }

/* notice */
.notice { background: var(--amber-soft); border: 1px solid #ecd2a6; border-radius: var(--r); padding: 22px; }
.notice h2 { color: #6b3a05; font-size: 1.35rem; }
.notice ul { margin: 10px 0 0; padding-left: 20px; color: #4a3a22; }
.notice li { margin-bottom: 6px; }

/* faq */
details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 15px 0; font-weight: 700; color: var(--green-deep); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green); }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* cta band */
.band { background: var(--green-deep); color: #fff; text-align: center; padding: 56px 0; }
.band h2 { color: #fff; }
.band p { color: #cfe5d5; margin: 0 auto 24px; max-width: 34em; }
.band .cta { justify-content: center; }

/* footer (same as the app) */
.site-footer { background: #17331f; color: #d6e6d9; padding: 40px 0 0; font-size: 0.92rem; }
.footer-inner { display: grid; gap: 28px; max-width: var(--max); margin: 0 auto; padding: 0 20px 30px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.5fr 1fr 0.8fr 1.3fr; gap: 32px; } }
.footer-title { font-weight: 800; color: #fff; margin: 0 0 8px; }
.footer-col p { margin: 0 0 8px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 6px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 16px 20px; text-align: center; font-size: 0.85rem; color: #a9c4af; }
.footer-bottom p { margin: 2px 0; }
:focus-visible { outline: 3px solid #7cc58d; outline-offset: 2px; }

@media (max-width: 560px) {
  section { padding: 44px 0; }
  table.price th, table.price td { padding: 10px 8px; font-size: 0.92rem; }
  table.price th { font-size: 0.74rem; letter-spacing: 0.02em; }
  .band { padding: 44px 0; }
  .cta .btn { flex: 1 1 100%; }
}
html, body { overflow-x: hidden; }
