/* Ploti for Business (ploti.co.ke/business). Builds on the main site's styles.css: same brand, type, header, buttons
   and footer. Pills and panels follow the web app's colours so the site looks like the product. */

.biz-brand { align-items: center; gap: 10px; text-decoration: none; }
.biz-brand .biz-link-tag { font-weight: 500; }

/* ---- Opening ---- */
.bz-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); }
.bz-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.bz-hero-copy h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; margin-top: 18px; }
.bz-eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; background: #DCE8DE; color: var(--title); font-size: 14px; font-weight: 500; }
.bz-eyebrow svg, .bz-points svg { width: 16px; height: 16px; color: var(--field); flex: none; }
.bz-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--ink-2); }
.bz-points li { display: inline-flex; gap: 8px; align-items: center; }

.bz-project { background: #14211A; border-radius: 26px; padding: 22px; color: #fff; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 60px rgba(20, 33, 26, 0.25); }
.bz-project-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bz-project-head b { display: block; font: 600 20px var(--font-display); }
.bz-project-head span { font-size: 13px; color: #C9D6CC; }
.bz-live { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #DCE8DE; }
.bz-plotgrid { background: #22332A; border-radius: 16px; padding: 14px; display: grid; grid-template-columns: repeat(22, minmax(0, 1fr)); gap: 3px; min-height: 160px; }
.bz-plotgrid i { display: block; aspect-ratio: 1 / 1.6; border-radius: 2px; }
.bz-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: #C9D6CC; }
.bz-legend span { display: inline-flex; gap: 6px; align-items: center; }
.bz-legend i { width: 10px; height: 10px; border-radius: 3px; }
.bz-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bz-stats div { background: #22332A; border-radius: 14px; padding: 12px 14px; }
.bz-stats b { display: block; font: 600 clamp(20px, 2.2vw, 26px) var(--font-display); }
.bz-stats span { font-size: 13px; color: #C9D6CC; }
.bz-paybill { padding: 10px 12px; border-radius: 12px; background: rgba(232, 163, 90, 0.14); font-size: 13px; color: #F6D9B5; }
.bz-sample { font-size: 12px; color: #9FB2A5; }

/* ---- What changes ---- */
.bz-problems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-bottom: clamp(56px, 7vw, 88px); }
.bz-problem { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.bz-problem h3 { font-weight: 500; font-size: 20px; }
.bz-problem p { font-size: 15px; color: var(--muted); }
.bz-nomore { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px 4px 5px; border-radius: 999px; background: #F5DDE1; color: #7A1A2A; font-size: 13px; font-weight: 500; }
.bz-nomore > span { width: 18px; height: 18px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.bz-nomore svg { width: 9px; height: 9px; color: #fff; }

/* ---- Bands ---- */
.bz-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(64px, 8vw, 104px) 0; }
.bz-band .section-head h2 { max-width: 24ch; }

/* ---- Feature tabs ---- */
.bz-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.bz-tabs button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #C3CCC1; background: var(--surface); color: var(--ink-2); font: 500 15px var(--font-body); cursor: pointer; }
.bz-tabs button:hover { border-color: var(--title); }
.bz-tabs button[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bz-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.bz-panel + .bz-panel { margin-top: 56px; }
.js .bz-panel + .bz-panel { margin-top: 0; }
.bz-panel[hidden] { display: none; }
.bz-panel-copy h3 { font-size: clamp(26px, 2.8vw, 32px); line-height: 1.12; }
.bz-panel-copy > p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.bz-ticks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bz-ticks li { position: relative; padding-left: 36px; color: var(--ink-2); }
.bz-ticks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.bz-ticks b { font-weight: 500; color: var(--ink); }
.bz-rows { background: var(--ground); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.bz-rows > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.bz-rows > div > span { display: flex; flex-direction: column; min-width: 0; }
.bz-rows b { font-weight: 500; }
.bz-rows small { font-size: 13px; color: var(--muted); }
.bz-rows em { font-style: normal; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.bz-rows > p { font-size: 12px; color: var(--muted); }
.t-good { background: #DCE8DE; color: #0F4A2C; }
.t-warn { background: #FBF1E7; color: #7E3C0B; }
.t-bad { background: #F5DDE1; color: #7A1A2A; }
.t-info { background: #DDE8F2; color: #1E4E7C; }
.t-plain { background: #F3F5F1; color: #33433A; }

/* ---- Smart layout ---- */
.bz-dark { background: #14211A; color: #fff; padding: clamp(72px, 9vw, 112px) 0; }
.bz-dark h2 { color: #fff; max-width: 18ch; }
.bz-smart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.bz-tag { display: inline-block; margin-bottom: 18px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #E8A35A; color: #14211A; }
.bz-dashes { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: #DCE8DE; }
.bz-dashes li { position: relative; padding-left: 22px; }
.bz-dashes li::before { content: ''; position: absolute; left: 0; top: 12px; width: 12px; height: 2px; background: var(--beacon); }
.bz-fee { margin-top: 24px; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); font-size: 15px; }
.bz-fee svg { width: 22px; height: 22px; flex: none; fill: none; stroke: #E8A35A; stroke-width: 2; stroke-linecap: round; }
.bz-fee b { font-weight: 600; }
.bz-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bz-layout { background: #22332A; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bz-layout > span { font-size: 13px; color: #C9D6CC; }
.bz-layout.is-smart { box-shadow: inset 0 0 0 2px #E8A35A; }
.bz-layout.is-smart > span, .bz-layout.is-smart b { color: #F6D9B5; }
.bz-layout p { color: #C9D6CC; }
.bz-layout b { font: 600 34px var(--font-display); color: #fff; }
.bz-minigrid { aspect-ratio: 1 / 1; border-radius: 12px; background: #1A2A21; padding: 10px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.bz-minigrid i { display: block; aspect-ratio: 1 / 1; border-radius: 2px; }
.bz-small { grid-column: 1 / -1; font-size: 12px; color: #9FB2A5; }

/* ---- Buyers ---- */
.bz-buyers { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(72px, 9vw, 112px); }
.bz-phone { width: min(300px, 100%); margin: 0 auto; border-radius: 36px; background: #14211A; padding: 12px; box-shadow: 0 24px 48px rgba(20, 33, 26, 0.25); }
.bz-phone-screen { border-radius: 26px; background: #fff; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.bz-phone-mark { color: var(--title); width: 64px; height: 31px; }
.bz-myplot { border-radius: 16px; background: #F1F7F2; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.bz-myplot small { font-size: 13px; color: var(--muted); }
.bz-myplot b { font: 600 24px var(--font-display); }
.bz-bar { display: block; height: 8px; border-radius: 999px; background: #DCE8DE; overflow: hidden; }
.bz-bar span { display: block; height: 100%; background: var(--field); }
.bz-sms { border-radius: 14px; background: var(--ground); padding: 12px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.bz-sms b { font-weight: 500; color: var(--ink); }
.bz-verified { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--title); }
.bz-verified svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.bz-cards { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bz-cards div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.bz-cards b { display: block; font-weight: 500; }
.bz-cards span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---- Steps ---- */
.bz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bz-steps li { background: #F1F7F2; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.bz-steps li > span { width: 36px; height: 36px; border-radius: 50%; background: var(--field); color: #fff; display: grid; place-items: center; font-weight: 600; }
.bz-steps b { font-weight: 500; font-size: 18px; }
.bz-steps p { font-size: 15px; color: var(--ink-2); }

/* ---- Pricing ---- */
.bz-pricing { padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(72px, 9vw, 112px); }
.bz-pricing-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(28px, 4vw, 44px); }
.bz-pricing-head .section-head { margin-bottom: 0; }
.bz-switches { display: flex; gap: 10px; flex-wrap: wrap; }
.bz-seg { display: flex; gap: 3px; padding: 4px; background: #DDE3DB; border-radius: 12px; }
.bz-seg button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: 500 14px var(--font-body); cursor: pointer; }
.bz-seg button[aria-pressed='true'] { background: #fff; color: var(--title); box-shadow: 0 1px 3px rgba(20, 33, 26, 0.15); }
.bz-save { margin-left: 4px; font-size: 11px; padding: 1px 6px; border-radius: 999px; background: var(--field); color: #fff; }
.bz-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.bz-plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.bz-plan.is-featured { border: 2px solid var(--field); padding: 23px; box-shadow: 0 16px 40px rgba(29, 107, 67, 0.14); }
.bz-plan-tag { position: absolute; top: -13px; left: 22px; padding: 3px 12px; border-radius: 999px; background: var(--field); color: #fff; font-size: 12px; font-weight: 500; }
.bz-plan h3 { font-size: 24px; }
.bz-plan > .muted { margin-top: -10px; font-size: 14px; line-height: 1.55; min-height: 3.1em; }
.bz-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; color: var(--muted); }
.bz-price span { font-weight: 500; color: var(--ink-2); }
.bz-price b { font: 600 44px/1 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.bz-price-note { margin-top: -12px; font-size: 13px; color: var(--muted); }
.bz-limits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bz-limits div { background: #F3F5F1; border-radius: 12px; padding: 10px 12px; }
.bz-limits b { display: block; font: 600 20px var(--font-display); }
.bz-limits span { font-size: 12px; color: var(--muted); }
.bz-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.bz-feats li { display: flex; gap: 10px; align-items: center; }
.bz-feats li i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 11px; font-style: normal; }
.bz-feats li.on i { background: var(--field); color: #fff; }
.bz-feats li.off { color: #7A877F; }
.bz-feats li.off i { background: #F3F5F1; color: #7A877F; }
.bz-plan .btn { margin-top: auto; }
.bz-payg { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 16px 20px; border-radius: 16px; border: 1px dashed #C3CCC1; font-size: 14px; color: var(--ink-2); }
.bz-payg b { font-weight: 500; color: var(--ink); }

/* ---- Trust ---- */
.bz-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bz-trust > div { border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.bz-trust svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: #F1F7F2; fill: none; stroke: var(--field); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bz-trust b { font-weight: 500; font-size: 17px; }
.bz-trust p { font-size: 15px; color: var(--muted); }

/* ---- Questions ---- */
.bz-faq { max-width: 900px; padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(56px, 7vw, 88px); }
.bz-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.bz-faq summary { min-height: 56px; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 20px; font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.bz-faq summary::-webkit-details-marker { display: none; }
.bz-faq summary::after { content: ''; position: static; margin: 0; background: none; border-radius: 0; width: 10px; height: 10px; border-right: 2.4px solid var(--muted); border-bottom: 2.4px solid var(--muted); transform: rotate(45deg) translateY(-3px); flex: none; transition: transform 0.2s; }
.bz-faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); background: none; }
.bz-faq details p { padding: 0 20px 18px; color: var(--ink-2); }

/* ---- Start ---- */
.bz-final { padding-bottom: clamp(56px, 7vw, 88px); }
.bz-final-card { background: var(--field); border-radius: 28px; padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px); color: #fff; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.bz-final-card > div:first-child { flex: 1 1 420px; }
.bz-final-card h2 { color: #fff; }
.bz-final-card p { margin-top: 12px; font-size: 17px; color: #DCE8DE; }
.bz-final-card .cta-row { margin-top: 0; }
.bz-btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.bz-btn-outline:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* ---- Smaller screens ---- */
@media (max-width: 1024px) {
  .bz-hero-grid, .bz-smart, .bz-buyers, .bz-panel { grid-template-columns: minmax(0, 1fr); }
  .bz-problems, .bz-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bz-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bz-plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 640px) {
  .bz-problems, .bz-steps, .bz-trust, .bz-cards { grid-template-columns: minmax(0, 1fr); }
  .bz-plotgrid { grid-template-columns: repeat(16, minmax(0, 1fr)); }
  .bz-stats { grid-template-columns: minmax(0, 1fr); }
  .bz-compare { grid-template-columns: minmax(0, 1fr); }
  .bz-tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; }
  .bz-tabs button { flex: none; }
}

/* ---- Book a demo ---- */
.bz-demo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(56px, 7vw, 88px); }
.bz-demo h1 { font-size: clamp(34px, 4.2vw, 50px); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.bz-contact { margin-top: 26px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.bz-contact b { font-weight: 500; }
.bz-form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.bz-form h2 { font-size: 26px; max-width: none; }
.bz-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bz-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.bz-field .opt { font-weight: 400; color: var(--muted); }
.bz-field input, .bz-field textarea { min-height: 48px; padding: 0 14px; border: 1px solid #C3CCC1; border-radius: 12px; font: 400 16px var(--font-body); color: var(--ink); background: #fff; }
.bz-field textarea { min-height: 96px; padding: 12px 14px; resize: vertical; }
.bz-field input:focus, .bz-field textarea:focus { outline: 3px solid #9CC7AE; outline-offset: 1px; border-color: var(--field); }
.bz-field input[aria-invalid='true'] { border-color: var(--red); }
.bz-chips { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.bz-chips legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.bz-chip { position: relative; }
.bz-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bz-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #C3CCC1; background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.bz-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.bz-chip input:focus-visible + span { outline: 3px solid #E9A85A; outline-offset: 2px; }
.bz-form-error { padding: 10px 12px; border-radius: 10px; background: #F5DDE1; color: #7A1A2A; font-size: 14px; }
.bz-form .btn { min-height: 52px; }
.bz-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bz-done { align-items: flex-start; }
.bz-done-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--field); display: grid; place-items: center; color: #fff; }
.bz-done-mark svg { width: 24px; height: 24px; }
@media (max-width: 1024px) { .bz-demo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .bz-fields { grid-template-columns: minmax(0, 1fr); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
