/* ==========================================================================
   beat.css: the shared design system for the AdminBeat product sites
   (BIZBEAT at biz.adminbeat.com, CLINICBEAT at med.adminbeat.com).
   One stylesheet; each product sets its colours on <html data-product="...">.
   ========================================================================== */

:root {
  --font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Mulish', 'Segoe UI', system-ui, sans-serif;
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --ink: #0b1520;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow: 0 12px 32px rgba(15, 23, 42, .10);
  --shadow-lg: 0 40px 80px rgba(2, 20, 35, .28);
  --wa: #25d366;
  /* product colours (overridden below) */
  --brand: #023047;       /* deep brand colour (navbar, hero) */
  --brand-deep: #011824;  /* darkest shade for gradients */
  --accent: #ffb703;      /* the "BIZ"/"CLINIC" word on dark */
  --accent-ink: #fb8500;  /* the same word on light */
  --hi: #219ebc;          /* secondary highlight */
  --hi-soft: #e6f4f9;
  --on-accent: #1b1300;
}

html[data-product="biz"] {
  --brand: #023047;
  --brand-deep: #01131d;
  --accent: #ffb703;
  --accent-ink: #e07400;
  --hi: #219ebc;
  --hi-soft: #e7f5fa;
  --on-accent: #1d1400;
}

html[data-product="med"] {
  --brand: #0c3b46;
  --brand-deep: #061e24;
  --accent: #ff5a5f;
  --accent-ink: #dc3545;
  --hi: #2ec4b0;
  --hi-soft: #e5f8f5;
  --on-accent: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 3px solid var(--hi); outline-offset: 2px; border-radius: 4px; }

/* ---------- wordmark ---------- */
.wordmark { font-family: var(--font-head); font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.wordmark .wm-a { color: var(--accent); }
.wordmark .wm-b { color: #fff; }
.on-light .wordmark .wm-a, .wordmark.on-light .wm-a { color: var(--accent-ink); }
.on-light .wordmark .wm-b, .wordmark.on-light .wm-b { color: var(--brand); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 38px; height: 38px; }
.brand .wordmark { font-size: 23px; }
.brand small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 600; color: rgba(255,255,255,.7); letter-spacing: .04em; margin-top: -3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-accent:hover { box-shadow: 0 14px 30px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 16px; }

/* ---------- offer ribbon ---------- */
.ribbon {
  background: linear-gradient(90deg, var(--accent-ink), var(--accent));
  color: var(--on-accent); font-size: 14px; font-weight: 700;
}
html[data-product="biz"] .ribbon { color: #1d1400; }
.ribbon .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; text-align: center; }
.ribbon a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ribbon .ic { width: 18px; height: 18px; }

/* ---------- navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--brand-deep) 92%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav .container { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,.82); font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 8px; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.07); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-signin { color: #fff; font-weight: 700; font-size: 15px; padding: 10px 14px; display: inline-flex; gap: 8px; align-items: center; }
.nav-signin .ic { width: 18px; height: 18px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle .ic { width: 28px; height: 28px; }
.mnav { display: none; }
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .mnav { display: block; position: fixed; inset: 0; z-index: 80; background: var(--brand-deep); padding: 20px 24px 40px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .mnav.open { transform: none; }
  .mnav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
  .mnav-close { background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }
  .mnav-close .ic { width: 28px; height: 28px; }
  .mnav a.ml { display: block; color: #fff; font-family: var(--font-head); font-size: 22px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .mnav .btn { width: 100%; margin-top: 14px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, color-mix(in srgb, var(--hi) 30%, transparent), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 70%);
  padding: 84px 0 0;
}
.hero::before { /* fine grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 85%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; padding-bottom: 72px; }
.page-hero .hero-grid { padding-bottom: 0; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--accent); }
.hero-lead { font-size: 19px; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  font-size: 14px; font-weight: 700; color: rgba(255,255,255,.9);
}
.hero-eyebrow b { background: var(--accent); color: var(--on-accent); padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: 15px; color: rgba(255,255,255,.78); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--hi); width: 18px; height: 18px; }
.hero-visual { position: relative; min-height: 460px; }
.hero-pulse { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; pointer-events: none; opacity: .75; z-index: 0; }
.hero .container { z-index: 1; }
.hero-pulse path { stroke: var(--accent); stroke-width: 2.5; fill: none; stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: pulse-draw 4.5s ease-out .3s forwards; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 70%, transparent)); }
@keyframes pulse-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-pulse path { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 960px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { min-height: 0; }
}

/* ---------- device mockups ---------- */
.devices { position: relative; padding: 10px 0 70px; }
.laptop { position: relative; width: 100%; max-width: 640px; margin-left: auto; }
.laptop-screen {
  position: relative; background: #0b0f14; border-radius: 16px 16px 6px 6px; padding: 14px 14px 18px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.08);
}
.laptop-screen::before { content: ""; position: absolute; top: 6px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #1f2937; }
.laptop-base {
  height: 16px; margin: 0 -7%; border-radius: 0 0 18px 18px;
  background: linear-gradient(#d6dbe1, #9aa3ad); box-shadow: 0 18px 30px -12px rgba(0,0,0,.5);
  position: relative;
}
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 7px; margin-left: -9%; border-radius: 0 0 10px 10px; background: #8a939d; }
.phone {
  position: absolute; left: -2%; bottom: 8px; width: 31%; max-width: 205px;
  background: #0b0f14; border-radius: 34px; padding: 9px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.1);
}
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 30%; height: 16px; margin-left: -15%; border-radius: 10px; background: #0b0f14; z-index: 2; }
.screen { position: relative; overflow: hidden; background: #f1f5f9; }
.laptop .screen { aspect-ratio: 16 / 10; border-radius: 4px; }
.phone .screen { aspect-ratio: 9 / 19.5; border-radius: 26px; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 14px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow); font-size: 14px; font-weight: 700; z-index: 3;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.float-chip .chip-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--hi-soft); color: var(--hi); }
.float-chip .chip-ic .ic { width: 20px; height: 20px; }
.float-chip.c1 { right: -10px; top: 14%; }
.float-chip.c2 { right: 6%; bottom: 22px; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }
@media (max-width: 560px) { .float-chip.c1 { right: 0; top: -6px; } .float-chip { font-size: 12px; padding: 8px 11px; } .float-chip .chip-ic { width: 28px; height: 28px; } }

/* placeholder skeleton shown until a screenshot or image exists */
.ph { position: relative; background: linear-gradient(135deg, var(--hi-soft), #eef2f7); }
.ph.missing img { display: none; }
.ph.missing::after {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12px;
  font: 600 13px/1.4 var(--font-body); color: var(--muted);
  background:
    linear-gradient(var(--line), var(--line)) 12% 18% / 34% 7px no-repeat,
    linear-gradient(var(--line), var(--line)) 12% 30% / 60% 7px no-repeat,
    linear-gradient(color-mix(in srgb, var(--hi) 25%, #fff), color-mix(in srgb, var(--hi) 25%, #fff)) 12% 72% / 18% 32% no-repeat,
    linear-gradient(color-mix(in srgb, var(--accent) 30%, #fff), color-mix(in srgb, var(--accent) 30%, #fff)) 36% 72% / 18% 46% no-repeat,
    linear-gradient(color-mix(in srgb, var(--hi) 40%, #fff), color-mix(in srgb, var(--hi) 40%, #fff)) 60% 72% / 18% 22% no-repeat;
}

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: linear-gradient(160deg, var(--brand), var(--brand-deep)); color: rgba(255,255,255,.82); }
.section.dark h2, .section.dark h3 { color: #fff; }
.sec-head { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.sec-head p { font-size: 18px; color: var(--muted); }
.section.dark .sec-head p { color: rgba(255,255,255,.72); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 14px;
}
.section.dark .eyebrow { color: var(--accent); }
@media (max-width: 760px) { .section { padding: 68px 0; } .sec-head { margin-bottom: 38px; } }

/* trust strip */
.trust { background: var(--brand-deep); color: rgba(255,255,255,.85); border-top: 1px solid rgba(255,255,255,.06); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.trust-item .ic { width: 26px; height: 26px; color: var(--accent); }
@media (max-width: 860px) { .trust .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust .container { grid-template-columns: 1fr; } }

/* cards */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card h3 { margin-top: 18px; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--hi-soft); color: var(--hi);
}
.icon-box .ic { width: 26px; height: 26px; }
.icon-box.warm { background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--accent-ink); }
.card a.more { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; font-weight: 700; color: var(--brand); font-size: 15px; }
.card a.more .ic { width: 16px; height: 16px; transition: transform .2s; }
.card a.more:hover .ic { transform: translateX(3px); }

/* problem -> solution */
.prob { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.prob .bad { font-size: 15px; color: #b42318; font-weight: 700; display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.prob .bad .ic { width: 18px; height: 18px; }
.prob .good { color: var(--ink); font-weight: 600; font-size: 16px; }

/* tabs (industries) */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.tab .ic { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.tab .soon { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 22%, #fff); color: var(--accent-ink); }
.tab[aria-selected="true"] .soon { background: var(--accent); color: var(--on-accent); }
.panel { display: none; }
.panel.active { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.panel h3 { font-size: 28px; }
.panel ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.panel li { display: flex; gap: 10px; align-items: flex-start; }
.panel li .ic { color: var(--hi); width: 22px; height: 22px; margin-top: 2px; }
.badge-soon { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 20%, #fff); color: var(--accent-ink); margin-bottom: 12px; }
.badge-live { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #dcfce7; color: #166534; margin-bottom: 12px; }
@media (max-width: 860px) { .panel.active { grid-template-columns: 1fr; gap: 26px; } }

/* image frames */
.frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.frame .ph { aspect-ratio: 4 / 3; }
.frame.wide .ph { aspect-ratio: 16 / 10; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.wide img { object-position: top left; }
.browser { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.browser-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser-bar i:nth-child(1) { background: #f87171; } .browser-bar i:nth-child(2) { background: #fbbf24; } .browser-bar i:nth-child(3) { background: #34d399; }
.browser-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: #fff; border-radius: 6px; padding: 3px 10px; flex: 1; max-width: 300px; }
.browser .screen { aspect-ratio: 16 / 10; }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.rev > :first-child { order: 2; }
.split h2 { font-size: clamp(26px, 3vw, 36px); }
.split .lead { font-size: 18px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { color: var(--hi); width: 22px; height: 22px; margin-top: 2px; flex: none; }
.section.dark .checks .ic { color: var(--accent); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 30px; } .split.rev > :first-child { order: 0; } .split + .split { margin-top: 64px; } }

/* example box (worked numbers) */
.example { border-radius: var(--radius); border: 1px dashed color-mix(in srgb, var(--hi) 55%, #fff); background: var(--hi-soft); padding: 22px 24px; margin-top: 22px; }
.example h4 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--hi); margin-bottom: 10px; }
.example table { width: 100%; border-collapse: collapse; font-size: 15px; }
.example td { padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--hi) 18%, #fff); }
.example td:last-child { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.example tr:last-child td { border-bottom: 0; color: var(--ink); font-weight: 800; }

/* timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.t-step { position: relative; text-align: left; }
.t-dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--accent); color: var(--brand); margin-bottom: 16px; box-shadow: 0 0 0 6px var(--bg-soft); }
.section.dark .t-dot { background: var(--brand-deep); color: var(--accent); box-shadow: 0 0 0 6px var(--brand); }
.t-dot .ic { width: 24px; height: 24px; }
.t-time { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.section.dark .t-time { color: var(--accent); }
.t-step h3 { font-size: 18px; margin: 4px 0 6px; }
.t-step p { font-size: 15px; margin: 0; }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .timeline { grid-template-columns: 1fr; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 12px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat b { display: block; font-family: var(--font-head); font-size: 42px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat span { font-size: 15px; color: rgba(255,255,255,.78); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* persona cards */
.persona { display: flex; gap: 16px; align-items: flex-start; }
.persona .icon-box { flex: none; }
.persona h3 { margin: 0 0 4px; font-size: 18px; }

/* offer band */
.offer {
  position: relative; overflow: hidden; border-radius: 24px; padding: 54px;
  background:
    radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%),
    linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: rgba(255,255,255,.86); display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center;
}
.offer h2 { color: #fff; }
.offer h2 .hl { color: var(--accent); }
.offer-tag { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-accent); background: var(--accent); padding: 7px 13px; border-radius: 999px; margin-bottom: 16px; }
.offer-tag .ic { width: 16px; height: 16px; }
.freebies { display: grid; gap: 12px; margin: 22px 0 28px; list-style: none; padding: 0; }
.freebies li { display: flex; text-align: left; gap: 14px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px 16px; color: #fff; font-weight: 600; }
.freebies .ic { width: 24px; height: 24px; color: var(--accent); }
.offer-fine { font-size: 13px; color: rgba(255,255,255,.6); margin: 14px 0 0; }
.offer-thumbs { position: relative; height: 330px; }
.offer-thumbs .frame { position: absolute; width: 66%; border: 4px solid rgba(255,255,255,.9); }
.offer-thumbs .frame:nth-child(1) { left: 0; top: 0; transform: rotate(-4deg); }
.offer-thumbs .frame:nth-child(2) { right: 0; top: 50px; transform: rotate(3deg); z-index: 2; }
.offer-thumbs .frame:nth-child(3) { left: 14%; bottom: 0; transform: rotate(-1deg); z-index: 3; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; padding: 34px 24px; } .offer-thumbs { height: 260px; } }

/* app download band */
.appband { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.qr { background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); text-align: center; color: var(--ink); font-size: 13px; font-weight: 700; }
.qr svg { width: 168px; height: 168px; margin: 0 auto 8px; }
@media (max-width: 760px) { .appband { grid-template-columns: 1fr; } .qr { justify-self: start; } }

/* blog cards */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .ph { aspect-ratio: 16 / 9; }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 13px; font-weight: 700; color: var(--accent-ink); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.post-card h3 { font-size: 20px; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.post-card .more { margin-top: auto; font-weight: 700; color: var(--brand); display: inline-flex; gap: 6px; align-items: center; font-size: 15px; }
.post-card .more .ic { width: 16px; height: 16px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 20px; height: 20px; color: var(--hi); transition: transform .2s; flex: none; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* CTA band */
.cta {
  border-radius: 24px; padding: 60px 40px; text-align: center; color: rgba(255,255,255,.82);
  background: radial-gradient(500px 240px at 50% 0%, color-mix(in srgb, var(--hi) 35%, transparent), transparent 70%), linear-gradient(135deg, var(--brand), var(--brand-deep));
}
.cta h2 { color: #fff; }
.cta p { font-size: 18px; max-width: 620px; margin: 0 auto 28px; }
.cta .hero-actions { justify-content: center; margin: 0; }

/* page hero (inner pages) */
.page-hero { padding: 72px 0 64px; }
.page-hero .hero-lead { margin-bottom: 0; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); }
.crumbs { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.crumbs a:hover { color: #fff; }

/* feature catalogue (features page) */
.fnav { position: sticky; top: 72px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.fnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: thin; }
.fnav a { white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--muted); padding: 8px 12px; border-radius: 8px; }
.fnav a:hover { color: var(--brand); background: var(--bg-soft); }
.feature-block { scroll-margin-top: 140px; }
.feature-block .split { align-items: start; }
.mini-list { columns: 2; column-gap: 28px; list-style: none; padding: 0; margin: 16px 0 0; }
.mini-list li { break-inside: avoid; display: flex; gap: 8px; margin-bottom: 9px; font-size: 15px; }
.mini-list .ic { width: 18px; height: 18px; color: var(--hi); margin-top: 3px; flex: none; }
.why { margin-top: 18px; padding: 16px 18px; border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 9%, #fff); border-radius: 0 10px 10px 0; color: var(--ink); font-weight: 600; font-size: 16px; }
@media (max-width: 560px) { .mini-list { columns: 1; } }

/* steps (install) */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 70px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.steps b { color: var(--ink); }

/* video */
.video-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16 / 9; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }

/* article (blog post) */
.article { max-width: 760px; margin: 0 auto; }
.article-head { text-align: center; max-width: 820px; margin: 0 auto; }
.article-head .post-meta { color: var(--accent); }
.article-cover { max-width: 1000px; margin: -70px auto 50px; position: relative; z-index: 2; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font-size: 28px; margin-top: 1.8em; }
.article h3 { font-size: 21px; margin-top: 1.5em; }
.article p, .article li { font-size: 18px; line-height: 1.75; color: #2c3a4b; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--bg-soft); border-radius: 0 12px 12px 0; }
.article blockquote p { margin: 0; color: var(--ink); font-weight: 600; }
.article table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; }
.article th, .article td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.article th { background: var(--bg-soft); font-family: var(--font-head); font-size: 14px; color: var(--ink); }
.article td.num, .article th.num { text-align: right; font-variant-numeric: tabular-nums; }
.article strong { color: var(--ink); }
.article .callout { margin: 2em 0; padding: 24px; border-radius: 14px; background: var(--hi-soft); }
.article .callout p { margin: 0; }
.article-cta { margin: 56px 0 0; }
.author { display: flex; gap: 14px; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.author img { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); padding: 6px; }
.author b { color: var(--ink); display: block; }

/* footer */
.footer { background: var(--brand-deep); color: rgba(255,255,255,.7); padding: 70px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .brand { margin-bottom: 16px; }
.footer-family { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-family a { border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.social { display: flex; gap: 10px; }
.social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.social a:hover { background: var(--accent); color: var(--on-accent); }
.social .ic { width: 17px; height: 17px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
}
.wa-float .ic { width: 30px; height: 30px; }

/* install-app banner (Android) */
.appbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); border-radius: 18px; padding: 12px 12px 12px 14px; box-shadow: 0 18px 50px rgba(2, 20, 35, .35);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2);
}
.appbar.show { transform: none; }
.appbar img { width: 46px; height: 46px; border-radius: 12px; background: var(--brand); padding: 7px; flex: none; }
.appbar-text { flex: 1; min-width: 0; line-height: 1.3; }
.appbar-text b { display: block; font-family: var(--font-head); font-size: 15px; }
.appbar-text span { font-size: 13px; color: var(--muted); }
.appbar .btn { padding: 11px 16px; font-size: 14px; }
.appbar-x { background: none; border: 0; color: var(--muted); padding: 6px; cursor: pointer; flex: none; }
.appbar-x .ic { width: 20px; height: 20px; }
body.has-appbar .wa-float { bottom: 96px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf b { font-family: var(--font-head); font-size: 110px; line-height: 1; color: var(--accent); }

/* utilities */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 28px; }
.mt-3 { margin-top: 44px; }
.muted { color: var(--muted); }
.lead { font-size: 19px; }

/* small-screen safety */
.split > *, .hero-grid > *, .panel > *, .appband > *, .offer > * { min-width: 0; }
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .btn-lg { padding: 16px 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stat b { font-size: 34px; }
  .example td { font-size: 14px; }
}
@media (max-width: 640px) {
  .article table { display: block; overflow-x: auto; white-space: nowrap; font-size: 14px; }
  .article th, .article td { padding: 8px 8px; }
}
.rib-short { display: none; }
@media (max-width: 760px) { .rib-long { display: none; } .rib-short { display: inline; } .ribbon { font-size: 13px; } }
