/*
Theme Name: Captainz
Theme URI: https://captainzsa.com
Author: Captainz
Description: Captainz marketing + blog theme. RTL-first Arabic, Almarai, from the 2026-08-02 design handoff.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: captainz
*/

@font-face{font-family:"Almarai";src:url("assets/fonts/almarai-300.woff2") format("woff2");font-weight:300;font-display:swap}
@font-face{font-family:"Almarai";src:url("assets/fonts/almarai-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Almarai";src:url("assets/fonts/almarai-700.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Almarai";src:url("assets/fonts/almarai-800.woff2") format("woff2");font-weight:800;font-display:swap}

/* ---------- tokens (verbatim from the handoff) ---------- */
:root{
  --brand:#E84140; --brand-d:#C64444; --brand-soft:#FFF1F1; --brand-line:#FFC1C1;
  --ink:#1D1D1D; --body:#292927; --muted:#686868; --muted-2:#838383;
  --faint:#B5B5B5; --faint-2:#DCDCDC; --rule:#F0F0F0; --rule-2:#E9E9E9;
  --surface:#F6F7F9; --white:#FFFFFF;
  --r-sm:8px; --r-md:14px; --r-pill:999px;
  --maxw:1200px; --readw:760px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Almarai",system-ui,sans-serif;background:var(--white);
  color:var(--ink);-webkit-font-smoothing:antialiased;line-height:1.6}
a{color:var(--brand);text-decoration:none}
a:hover{color:var(--brand-d)}
img{display:block;max-width:100%}
button{font-family:inherit;cursor:pointer}
.cz-wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
[data-reveal]{transition:opacity .7s cubic-bezier(.19,1,.22,1),transform .7s cubic-bezier(.19,1,.22,1)}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* ---------- header ---------- */
.cz-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.94);
  backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--rule)}
.cz-header .cz-wrap{display:flex;align-items:center;gap:28px;padding-block:14px}
.cz-logo{display:flex;align-items:center;gap:9px;flex-shrink:0}
.cz-logo .cz-helmet{height:34px;width:auto}
.cz-logo .cz-wordmark{height:19px;width:auto}
.cz-logo-tag{font-size:14px;font-weight:700;color:var(--muted-2);
  border-inline-start:1px solid var(--rule-2);padding-inline-start:9px;margin-inline-start:2px}
.cz-nav{display:flex;align-items:center;gap:26px;margin-inline-start:8px;flex:1}
.cz-nav a{font-size:14px;font-weight:400;color:var(--body)}
.cz-nav a:hover{color:var(--brand)}
.cz-nav a[aria-current="page"]{color:var(--brand);font-weight:700}
.cz-cta{margin-inline-start:auto;background:var(--brand);color:var(--white);font-size:14px;
  font-weight:700;padding:11px 20px;border-radius:var(--r-sm);flex-shrink:0}
.cz-cta:hover{background:var(--brand-d);color:var(--white)}

/* ---------- blog archive ---------- */
.cz-blog-hero{background:var(--white);padding:64px 0 40px}
.cz-eyebrow{margin:0 0 12px;font-size:13px;font-weight:700;color:var(--brand)}
.cz-blog-hero h1{margin:0 0 16px;font-size:52px;line-height:1.25;font-weight:800;color:var(--ink);
  letter-spacing:-.5px;max-width:700px;text-wrap:balance}
.cz-blog-hero p{margin:0;font-size:17px;line-height:1.85;color:var(--muted);max-width:560px;text-wrap:pretty}

.cz-featured-sec{background:var(--white);padding:0 0 56px}
.cz-featured{display:grid;grid-template-columns:1.15fr 1fr;gap:40px;align-items:center;
  border:1px solid var(--rule);border-radius:var(--r-md);padding:14px;color:inherit}
.cz-featured:hover{border-color:var(--brand-line);color:inherit}
.cz-featured .cz-media{width:100%;aspect-ratio:16/10;border-radius:10px;overflow:hidden;background:var(--surface)}
.cz-featured .cz-media img{width:100%;height:100%;object-fit:cover}
.cz-featured-body{padding:14px 22px 14px 8px}
.cz-badge-row{display:flex;align-items:center;gap:10px;margin-bottom:18px;flex-wrap:wrap}
.cz-badge{font-size:11px;font-weight:700;color:var(--brand);background:var(--brand-soft);
  border-radius:var(--r-pill);padding:6px 12px}
.cz-meta{font-size:12px;font-weight:400;color:var(--faint)}
.cz-featured h2{margin:0 0 14px;font-size:30px;line-height:1.45;font-weight:800;color:var(--ink);text-wrap:balance}
.cz-featured p{margin:0 0 20px;font-size:15px;line-height:1.9;color:var(--muted);text-wrap:pretty}
.cz-readmore{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--brand)}

.cz-latest{background:var(--surface);padding:72px 0}
.cz-latest > .cz-wrap > h2{margin:0 0 32px;font-size:24px;font-weight:800;color:var(--ink)}
.cz-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.cz-card{background:var(--white);border:1px solid var(--rule);border-radius:var(--r-md);
  overflow:hidden;color:inherit;display:flex;flex-direction:column}
.cz-card:hover{border-color:var(--brand-line);color:inherit}
.cz-card .cz-media{width:100%;aspect-ratio:16/9;overflow:hidden;background:var(--surface)}
.cz-card .cz-media img{width:100%;height:100%;object-fit:cover}
.cz-cbody{padding:22px 22px 26px;display:flex;flex-direction:column;flex:1}
.cz-cbody .cz-meta{margin-bottom:12px}
.cz-card h3{margin:0 0 10px;font-size:18px;line-height:1.6;font-weight:800;color:var(--ink)}
.cz-card p{margin:0;font-size:14px;line-height:1.85;color:var(--muted-2)}

/* branded placeholder when a post has no featured image */
.cz-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;
  background:var(--surface)}
.cz-ph img{width:56px;height:auto;opacity:.35}

/* pagination — keeps the /ar/blog/page/N/ URL shape */
.cz-pagination{margin-top:32px;display:flex;justify-content:center}
.cz-pagination ul{list-style:none;display:flex;gap:8px;padding:0;margin:0;flex-wrap:wrap;justify-content:center}
.cz-pagination a,.cz-pagination span{display:inline-block;background:var(--white);
  border:1px solid var(--faint-2);color:var(--ink);font-size:14px;font-weight:700;
  padding:11px 18px;border-radius:var(--r-sm)}
.cz-pagination a:hover{border-color:var(--ink);color:var(--ink)}
.cz-pagination .current{background:var(--brand);border-color:var(--brand);color:var(--white)}

/* ---------- red CTA band ---------- */
.cz-band{background:var(--brand);padding:64px 0;position:relative;overflow:hidden}
.cz-band .cz-band-mark{position:absolute;inset-inline-end:-60px;bottom:-90px;width:320px;opacity:.08}
.cz-band-inner{position:relative;max-width:720px;margin:0 auto;padding:0 24px;text-align:center}
.cz-band h2{margin:0 0 14px;font-size:34px;line-height:1.4;font-weight:800;color:var(--white);text-wrap:balance}
.cz-band p{margin:0 auto 28px;font-size:16px;line-height:1.8;color:rgba(255,255,255,.9);max-width:420px}
.cz-band-btn{display:inline-block;background:var(--white);color:var(--ink);font-size:15px;
  font-weight:700;padding:15px 30px;border-radius:var(--r-sm)}
.cz-band-btn:hover{background:#F5F5F5;color:var(--ink)}

/* ---------- article ---------- */
.cz-crumbs{display:flex;align-items:center;gap:8px;margin-bottom:28px;font-size:13px;
  color:var(--faint);flex-wrap:wrap}
.cz-crumbs a{color:var(--muted-2)}
.cz-crumbs a:hover{color:var(--brand)}
.cz-article-head{max-width:var(--readw)}
.cz-article-head h1{margin:0 0 20px;font-size:46px;line-height:1.32;font-weight:800;
  color:var(--ink);letter-spacing:-.4px;text-wrap:balance}
.cz-lede{margin:0 0 24px;font-size:19px;line-height:1.85;color:var(--muted);text-wrap:pretty}
.cz-article-meta{display:flex;align-items:center;gap:16px;padding-bottom:28px;
  border-bottom:1px solid var(--rule);flex-wrap:wrap}
.cz-article-meta span{font-size:13px;color:var(--muted-2)}
.cz-dot{width:4px;height:4px;border-radius:var(--r-pill);background:var(--faint-2)}
.cz-readtime{display:inline-flex;align-items:center;gap:7px}
.cz-cover{width:100%;aspect-ratio:21/9;border-radius:var(--r-md);overflow:hidden;background:var(--surface)}
.cz-cover img{width:100%;height:100%;object-fit:cover}

.cz-article-layout{display:grid;grid-template-columns:minmax(0,var(--readw)) 1fr;gap:64px;
  align-items:start;padding:48px 24px 72px;max-width:var(--maxw);margin:0 auto}
.cz-article-body{min-width:0}
.cz-article-body h2{margin:0 0 16px;font-size:28px;line-height:1.5;font-weight:800;
  color:var(--ink);scroll-margin-top:110px}
.cz-article-body h3{margin:0 0 12px;font-size:21px;line-height:1.55;font-weight:800;color:var(--ink)}
.cz-article-body p{margin:0 0 20px;font-size:17px;line-height:2;color:var(--body);text-wrap:pretty}
.cz-article-body ul,.cz-article-body ol{margin:0 0 24px;padding-inline-start:22px;
  font-size:17px;line-height:2;color:var(--body)}
.cz-article-body li{margin-bottom:8px}
.cz-article-body img{border-radius:var(--r-md);margin:8px 0 24px}
.cz-article-body blockquote{background:var(--brand-soft);border:1px solid var(--brand-line);
  border-radius:var(--r-md);padding:24px 26px;margin:0 0 36px}
.cz-article-body blockquote p{margin:0;font-size:16px;line-height:1.95;color:var(--body)}
.cz-article-body table{width:100%;border-collapse:collapse;border:1px solid var(--rule);
  border-radius:var(--r-md);overflow:hidden;margin-bottom:36px}
.cz-article-body th{background:var(--surface);font-size:13px;font-weight:800;
  color:var(--body);padding:14px 20px;text-align:start}
.cz-article-body td{font-size:15px;color:var(--body);padding:16px 20px;border-top:1px solid var(--rule)}
.cz-article-body a{text-decoration:underline;text-underline-offset:3px}

/* inline dark CTA card inside articles */
.cz-inline-cta{background:var(--ink);border-radius:var(--r-md);padding:34px 32px;
  margin:0 0 36px;position:relative;overflow:hidden}
.cz-inline-cta .cz-band-mark{position:absolute;inset-inline-end:-40px;bottom:-60px;width:200px;opacity:.06}
.cz-inline-cta-inner{position:relative}
.cz-inline-cta h3{margin:0 0 10px;font-size:22px;line-height:1.5;font-weight:800;color:var(--white)}
.cz-inline-cta p{margin:0 0 22px;font-size:15px;line-height:1.9;color:rgba(255,255,255,.8);max-width:420px}
.cz-inline-cta a{display:inline-block;background:var(--brand);color:var(--white);font-size:14px;
  font-weight:700;padding:13px 24px;border-radius:var(--r-sm);text-decoration:none}
.cz-inline-cta a:hover{background:var(--brand-d);color:var(--white)}

/* sticky table of contents */
.cz-toc{position:sticky;top:110px}
.cz-toc-title{margin:0 0 16px;font-size:12px;font-weight:700;color:var(--faint);letter-spacing:.5px}
.cz-toc nav{display:flex;flex-direction:column;gap:2px;border-inline-start:1px solid var(--rule)}
.cz-toc a{padding:9px 16px;font-size:14px;line-height:1.6;font-weight:400;color:var(--muted-2);
  border-inline-start:2px solid transparent;margin-inline-start:-1px}
.cz-toc a:hover{color:var(--ink)}
.cz-toc a.is-active{color:var(--brand);font-weight:700;border-inline-start-color:var(--brand)}

.cz-related{background:var(--surface);padding:72px 0}
.cz-related h2{margin:0 0 32px;font-size:24px;font-weight:800;color:var(--ink)}
.cz-related-more{margin-top:32px;display:flex;justify-content:center}
.cz-ghost-btn{border:1px solid var(--faint-2);color:var(--ink);font-size:14px;font-weight:700;
  padding:13px 28px;border-radius:var(--r-sm);background:var(--white)}
.cz-ghost-btn:hover{border-color:var(--ink);color:var(--ink)}

/* ---------- footer ---------- */
.cz-footer{background:var(--white);padding:56px 0 28px}
.cz-fgrid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:40px;padding-bottom:40px;
  border-bottom:1px solid var(--rule)}
.cz-fbrand{display:flex;align-items:center;gap:9px;margin-bottom:16px}
.cz-fbrand .cz-helmet{height:32px;width:auto}
.cz-fbrand .cz-wordmark{height:18px;width:auto}
.cz-footer p.cz-ftag{margin:0;font-size:14px;line-height:1.9;color:var(--muted-2);max-width:340px}
.cz-footer h4{margin:0 0 16px;font-size:14px;font-weight:800;color:var(--ink)}
.cz-fcol-links{display:flex;flex-direction:column;gap:11px}
.cz-fcol-links a{font-size:14px;color:var(--muted-2)}
.cz-fcol-links a:hover{color:var(--brand)}
.cz-legal{display:flex;flex-direction:column;gap:12px}
.cz-legal-label{margin:0 0 3px;font-size:11px;color:var(--faint)}
.cz-legal-value{margin:0;font-size:14px;font-weight:700;color:var(--body)}
.cz-legal a{font-size:13px;font-weight:700;color:var(--brand)}
.cz-legal a:hover{color:var(--brand-d)}
.cz-copy{margin:22px 0 0;font-size:13px;color:var(--faint)}

/* ---------- responsive (breakpoints verbatim from the handoff) ---------- */
@media (max-width:1024px){
  .cz-article-layout{grid-template-columns:1fr;gap:0}
  .cz-toc{display:none}
  .cz-featured{grid-template-columns:1fr;gap:24px}
  .cz-featured-body{padding:0 14px 14px}
  .cz-grid,.cz-fgrid{grid-template-columns:repeat(2,1fr)}
  .cz-blog-hero h1{font-size:40px}
  .cz-article-head h1{font-size:36px}
  .cz-header .cz-wrap{flex-wrap:wrap;gap:14px}
  .cz-nav{order:3;flex:0 0 100%;width:100%;overflow-x:auto;gap:8px;margin:0;
    padding:2px 0 4px;scrollbar-width:none}
  .cz-nav::-webkit-scrollbar{display:none}
  .cz-nav a{flex:0 0 auto;background:var(--surface);border-radius:var(--r-pill);
    padding:8px 14px;font-size:13px;font-weight:700;white-space:nowrap}
}
@media (max-width:640px){
  .cz-grid,.cz-fgrid{grid-template-columns:1fr}
  .cz-blog-hero h1{font-size:32px}
  .cz-article-head h1{font-size:28px}
  .cz-latest,.cz-related{padding-top:48px;padding-bottom:48px}
  .cz-band h2{font-size:26px}
  .cz-article-layout{padding-inline:20px}
}

/* ==========================================================================
   Marketing pages (Phase B2) — Business / Franchise / Home
   ========================================================================== */

.cz-sec{padding:88px 0;background:var(--white)}
.cz-sec--surface{background:var(--surface)}
.cz-sec--tight{padding:64px 0}
.cz-h2{margin:0 0 14px;font-size:36px;line-height:1.35;font-weight:800;color:var(--ink);
  letter-spacing:-.3px;text-wrap:balance;max-width:760px}
.cz-sub{margin:0 0 40px;font-size:17px;line-height:1.85;color:var(--muted);max-width:640px;text-wrap:pretty}
.cz-nowrap{white-space:nowrap}
.cz-note{margin:16px 0 0;font-size:13px;color:var(--muted-2)}
.cz-note--boxed{margin-top:28px;background:var(--surface);border:1px solid var(--rule);
  border-radius:var(--r-md);padding:18px 22px;font-size:15px;line-height:1.9;color:var(--body)}

/* buttons */
.cz-btn{display:inline-flex;align-items:center;justify-content:center;font-size:15px;
  font-weight:700;padding:14px 26px;border-radius:var(--r-sm);border:1px solid transparent}
.cz-btn--brand{background:var(--brand);color:var(--white)}
.cz-btn--brand:hover{background:var(--brand-d);color:var(--white)}
.cz-btn--ghost{background:var(--white);border-color:var(--faint-2);color:var(--ink)}
.cz-btn--ghost:hover{border-color:var(--ink);color:var(--ink)}
.cz-btn--full{width:100%;margin-top:8px}
.cz-btn-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}

/* hero */
.cz-hero{background:var(--white);padding:72px 0 80px}
.cz-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.cz-hero h1{margin:0 0 20px;font-size:52px;line-height:1.24;font-weight:800;color:var(--ink);
  letter-spacing:-.6px;text-wrap:balance}
.cz-hero .cz-lede{margin:0;font-size:18px;line-height:1.9;color:var(--muted);max-width:560px}
.cz-hero-media{width:100%}

/* image slots */
.cz-slot{display:block;width:100%;border-radius:var(--r-md);overflow:hidden;background:var(--surface)}
.cz-slot img{width:100%;height:100%;object-fit:cover}
.cz-slot--empty{display:flex;align-items:center;justify-content:center;
  border:1px dashed var(--faint-2)}
.cz-slot-label{font-size:13px;font-weight:700;color:var(--faint);text-align:center;padding:0 24px}

/* grids */
.cz-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.cz-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cz-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}

/* offer cards */
.cz-offer{background:var(--white);border:1px solid var(--rule);border-radius:var(--r-md);padding:32px 30px;
  display:flex;flex-direction:column}
.cz-offer h3{margin:16px 0 12px;font-size:24px;line-height:1.45;font-weight:800;color:var(--ink)}
.cz-offer > p{margin:0 0 22px;font-size:15px;line-height:1.9;color:var(--muted)}
.cz-offer .cz-btn{margin-top:auto;align-self:flex-start}
.cz-ticks{list-style:none;margin:0 0 26px;padding:0;display:flex;flex-direction:column;gap:12px}
.cz-ticks li{display:flex;align-items:flex-start;gap:10px;font-size:15px;line-height:1.8;color:var(--body)}
.cz-tick{color:var(--brand);flex-shrink:0;margin-top:5px}

/* feature + step cards */
.cz-feature{background:var(--white);border:1px solid var(--rule);border-radius:var(--r-md);padding:26px 24px}
.cz-feature h3{margin:0 0 8px;font-size:17px;line-height:1.5;font-weight:800;color:var(--ink)}
.cz-feature p{margin:0;font-size:14px;line-height:1.85;color:var(--muted-2)}
.cz-step{background:var(--white);border:1px solid var(--rule);border-radius:var(--r-md);padding:26px 24px}
.cz-step-num{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;
  border-radius:var(--r-pill);background:var(--brand-soft);color:var(--brand);
  font-size:15px;font-weight:800;margin-bottom:14px}
.cz-step h3{margin:0 0 8px;font-size:17px;line-height:1.5;font-weight:800;color:var(--ink)}
.cz-step p{margin:0;font-size:14px;line-height:1.85;color:var(--muted-2)}

/* partners */
.cz-partners-title{margin:0 0 26px;font-size:13px;font-weight:700;color:var(--faint);text-align:center}
.cz-partners{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;align-items:center}
.cz-partner-slot{display:block;height:56px;border-radius:10px;background:var(--surface);
  border:1px dashed var(--faint-2)}
.cz-partners img{max-height:52px;width:auto;margin:0 auto;object-fit:contain}

/* quote / lead form */
.cz-quote-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:32px;align-items:start}
.cz-quote-aside{display:flex;flex-direction:column;gap:12px}
.cz-contact-row{display:flex;flex-direction:column;gap:4px;background:var(--white);
  border:1px solid var(--rule);border-radius:var(--r-md);padding:18px 20px;color:inherit}
.cz-contact-row:hover{border-color:var(--brand-line);color:inherit}
.cz-contact-label{font-size:12px;color:var(--faint)}
.cz-contact-value{font-size:16px;font-weight:700;color:var(--ink)}
.cz-form-card{background:var(--white);border:1px solid var(--rule);border-radius:var(--r-md);padding:30px 28px}
.cz-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cz-form label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:700;color:var(--body)}
.cz-form .cz-col-2{grid-column:1 / -1}
.cz-req{color:var(--brand)}
.cz-form input,.cz-form select,.cz-form textarea{font-family:inherit;font-size:15px;font-weight:400;
  color:var(--ink);background:var(--white);border:1px solid var(--faint-2);border-radius:var(--r-sm);
  padding:12px 14px;width:100%}
.cz-form input:focus,.cz-form select:focus,.cz-form textarea:focus{outline:none;
  border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.cz-form textarea{resize:vertical;min-height:96px}
.cz-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cz-notice{margin:0 0 20px;border-radius:var(--r-sm);padding:14px 16px;font-size:14px;font-weight:700}
.cz-notice--ok{background:#EDF9F0;border:1px solid #A9DFB8;color:#1E6B34}
.cz-notice--err{background:var(--brand-soft);border:1px solid var(--brand-line);color:#8E2A2A}

/* FAQ */
.cz-faq{display:flex;flex-direction:column;gap:10px;max-width:900px}
.cz-faq-item{background:var(--white);border:1px solid var(--rule);border-radius:var(--r-md);
  padding:0 24px;overflow:hidden}
.cz-faq-item[open]{border-color:var(--brand-line)}
.cz-faq-item summary{display:flex;align-items:center;gap:14px;padding:22px 0;cursor:pointer;
  list-style:none;font-size:17px;font-weight:800;color:var(--ink)}
.cz-faq-item summary::-webkit-details-marker{display:none}
.cz-faq-num{font-size:13px;font-weight:800;color:var(--brand);flex-shrink:0}
.cz-faq-q{flex:1}
.cz-faq-item p{margin:0;padding:0 0 24px;font-size:15px;line-height:1.95;color:var(--muted);
  max-width:70ch}

@media (max-width:1024px){
  .cz-hero-grid{grid-template-columns:1fr;gap:36px}
  .cz-hero h1{font-size:40px}
  .cz-h2{font-size:30px}
  .cz-grid-4{grid-template-columns:repeat(2,1fr)}
  .cz-quote-grid{grid-template-columns:1fr}
  .cz-partners{grid-template-columns:repeat(3,1fr)}
  .cz-sec{padding:64px 0}
}
@media (max-width:640px){
  .cz-hero h1{font-size:32px}
  .cz-h2{font-size:26px}
  .cz-grid-2,.cz-grid-4,.cz-grid-3,.cz-form-grid{grid-template-columns:1fr}
  .cz-partners{grid-template-columns:repeat(2,1fr)}
  .cz-sec{padding:48px 0}
  .cz-form-card{padding:22px 18px}
}

/* ---------- franchise: 5-step roadmap, split cards, calculator ---------- */
.cz-grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}

.cz-split{border-radius:var(--r-md);padding:30px 28px}
.cz-split h3{margin:0 0 20px;font-size:20px;font-weight:800}
.cz-split .cz-ticks{margin-bottom:0}
.cz-split--brand{background:var(--brand-soft);border:1px solid var(--brand-line)}
.cz-split--brand h3{color:var(--brand)}
.cz-split--ink{background:var(--surface);border:1px solid var(--rule)}
.cz-split--ink h3{color:var(--ink)}
.cz-split--ink .cz-tick{color:var(--ink)}

.cz-calc{display:grid;grid-template-columns:.8fr 1.2fr;gap:24px;align-items:start}
.cz-calc-inputs,.cz-calc-out{background:var(--white);border:1px solid var(--rule);
  border-radius:var(--r-md);padding:30px 28px}
.cz-calc h3{margin:0 0 24px;font-size:18px;font-weight:800;color:var(--ink)}
.cz-calc-field{margin-bottom:22px}
.cz-calc-field label{display:block;margin-bottom:10px;font-size:14px;font-weight:700;color:var(--body)}
.cz-stepper{display:flex;align-items:center;gap:8px}
.cz-stepper button{width:42px;height:42px;border:1px solid var(--faint-2);background:var(--white);
  border-radius:var(--r-sm);font-size:20px;font-weight:700;color:var(--ink);line-height:1}
.cz-stepper button:hover{border-color:var(--brand);color:var(--brand)}
.cz-stepper input{flex:1;min-width:0;text-align:center;font-family:inherit;font-size:17px;
  font-weight:800;color:var(--ink);border:1px solid var(--faint-2);border-radius:var(--r-sm);
  padding:10px;background:var(--white)}
.cz-stepper input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.cz-stepper input::-webkit-outer-spin-button,
.cz-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.cz-stepper input[type=number]{-moz-appearance:textfield;appearance:textfield}

.cz-toggle{display:flex;align-items:flex-start;gap:12px;margin:26px 0 22px;cursor:pointer}
.cz-toggle input{position:absolute;opacity:0;width:0;height:0}
.cz-toggle-ui{flex-shrink:0;width:44px;height:26px;border-radius:var(--r-pill);
  background:var(--faint-2);position:relative;transition:background .18s;margin-top:2px}
.cz-toggle-ui::after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:20px;height:20px;
  border-radius:var(--r-pill);background:var(--white);transition:transform .18s}
.cz-toggle input:checked + .cz-toggle-ui{background:var(--brand)}
.cz-toggle input:checked + .cz-toggle-ui::after{transform:translateX(-18px)}
.cz-toggle input:focus-visible + .cz-toggle-ui{box-shadow:0 0 0 3px var(--brand-soft)}
.cz-toggle strong{display:block;font-size:14px;font-weight:700;color:var(--body)}
.cz-toggle em{display:block;margin-top:3px;font-size:12px;font-style:normal;color:var(--muted-2);line-height:1.7}

.cz-calc-assump{border-top:1px solid var(--rule);padding-top:20px}
.cz-calc-assump-title{margin:0 0 12px;font-size:13px;font-weight:700;color:var(--muted-2)}
.cz-calc-rates{display:flex;gap:10px;flex-wrap:wrap}
.cz-rate{font-size:13px;font-weight:700;color:var(--muted-2);background:var(--surface);
  border:1px solid var(--rule);border-radius:var(--r-pill);padding:8px 14px}
.cz-rate b{color:var(--ink)}
.cz-rate.is-on{background:var(--brand-soft);border-color:var(--brand-line);color:var(--brand)}
.cz-rate.is-on b{color:var(--brand)}

.cz-calc-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;
  border-bottom:1px solid var(--rule);font-size:15px;color:var(--muted)}
.cz-calc-row b{font-size:17px;font-weight:800;color:var(--ink)}
.cz-calc-total{display:flex;align-items:center;justify-content:space-between;gap:16px;
  background:var(--brand-soft);border:1px solid var(--brand-line);border-radius:var(--r-md);
  padding:22px 24px;margin:20px 0 18px;flex-wrap:wrap}
.cz-calc-total > span{font-size:15px;font-weight:700;color:var(--body)}
.cz-calc-total strong{display:flex;align-items:baseline;gap:8px}
.cz-calc-total b{font-size:36px;font-weight:800;color:var(--brand);line-height:1}
.cz-calc-total em{font-size:15px;font-style:normal;font-weight:700;color:var(--brand)}
.cz-calc-formula{margin:0 0 10px;font-size:13px;font-weight:700;color:var(--body)}
.cz-calc-disclaimer{margin:0 0 20px;font-size:12px;line-height:1.85;color:var(--muted-2)}
.cz-contact-value--sm{font-size:14px;font-weight:400;line-height:1.8;color:var(--muted)}

@media (max-width:1024px){
  .cz-grid-5{grid-template-columns:repeat(3,1fr)}
  .cz-calc{grid-template-columns:1fr}
}
@media (max-width:640px){
  .cz-grid-5{grid-template-columns:1fr}
  .cz-calc-total b{font-size:30px}
  .cz-calc-inputs,.cz-calc-out{padding:22px 18px}
}

/* ---------- home ---------- */
.cz-props{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cz-props li{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:700;color:var(--body)}

.cz-badges{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.cz-store{display:flex;flex-direction:column;gap:1px;background:var(--ink);color:var(--white);
  border-radius:var(--r-sm);padding:10px 20px;min-width:150px}
.cz-store:hover{background:#000;color:var(--white)}
.cz-store-sm{font-size:11px;font-weight:400;opacity:.8}
.cz-store-lg{font-size:15px;font-weight:800}
.cz-store--soon{display:inline-flex;align-items:center;background:var(--surface);color:var(--muted-2);
  border:1px dashed var(--faint-2);border-radius:var(--r-sm);padding:14px 20px;font-size:14px;font-weight:700}
.cz-badges--dark .cz-store{background:var(--white);color:var(--ink)}
.cz-badges--dark .cz-store:hover{background:#F5F5F5;color:var(--ink)}
.cz-badges--dark{justify-content:center}

.cz-service{background:var(--white);border:1px solid var(--rule);border-radius:var(--r-md);padding:26px 24px}
.cz-service-num{display:block;font-size:12px;font-weight:800;color:var(--brand);margin-bottom:14px}
.cz-service h3{margin:0 0 8px;font-size:18px;line-height:1.5;font-weight:800;color:var(--ink)}
.cz-service p{margin:0;font-size:14px;line-height:1.85;color:var(--muted-2)}

.cz-more-card{margin-top:16px;background:var(--ink);border-radius:var(--r-md);padding:28px 30px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.cz-more-card h3{margin:0 0 6px;font-size:20px;font-weight:800;color:var(--white)}
.cz-more-card p{margin:0;font-size:14px;line-height:1.85;color:rgba(255,255,255,.78)}

.cz-app-grid{display:grid;grid-template-columns:1fr .8fr;gap:56px;align-items:center}
.cz-app-grid .cz-sub{margin-bottom:24px}
.cz-app-grid .cz-ticks{margin-bottom:0}

/* stylised app preview */
.cz-phone{background:var(--ink);border-radius:34px;padding:12px;max-width:320px;margin-inline:auto;
  box-shadow:0 24px 60px rgba(29,29,29,.18)}
.cz-phone-inner{background:var(--white);border-radius:26px;padding:18px 16px 12px;
  display:flex;flex-direction:column;gap:12px}
.cz-phone-status{font-size:12px;font-weight:800;color:var(--ink)}
.cz-phone-greet{display:flex;align-items:baseline;gap:6px}
.cz-phone-hi{font-size:13px;color:var(--muted-2)}
.cz-phone-greet strong{font-size:18px;font-weight:800;color:var(--ink)}
.cz-phone-loc{background:var(--surface);border-radius:10px;padding:10px 12px;display:flex;
  flex-direction:column;gap:2px}
.cz-phone-label{font-size:11px;color:var(--faint)}
.cz-phone-loc strong{font-size:13px;font-weight:700;color:var(--body)}
.cz-phone-row{display:flex;align-items:center;justify-content:space-between;font-size:13px;
  font-weight:800;color:var(--ink)}
.cz-phone-row em{font-size:11px;font-style:normal;font-weight:700;color:var(--brand)}
.cz-phone-item{display:flex;align-items:center;justify-content:space-between;gap:10px;
  border:1px solid var(--rule);border-radius:10px;padding:10px 12px}
.cz-phone-item strong{display:block;font-size:13px;font-weight:800;color:var(--ink)}
.cz-phone-item span{display:block;font-size:11px;color:var(--muted-2);margin-top:2px}
.cz-phone-price{display:flex;align-items:baseline;gap:3px}
.cz-phone-price b{font-size:16px;font-weight:800;color:var(--brand)}
.cz-phone-price i{font-size:10px;font-style:normal;color:var(--brand)}
.cz-phone-cta{display:block;text-align:center;background:var(--brand);color:var(--white);
  border-radius:10px;padding:11px;font-size:13px;font-weight:800}
.cz-phone-tabs{display:flex;justify-content:space-between;border-top:1px solid var(--rule);
  padding-top:9px;font-size:10px;color:var(--faint)}
.cz-phone-tabs span:first-child{color:var(--brand);font-weight:800}

.cz-aud{background:var(--white);border:1px solid var(--rule);border-radius:var(--r-md);
  padding:30px 28px;display:flex;flex-direction:column}
.cz-aud h3{margin:16px 0 10px;font-size:20px;line-height:1.5;font-weight:800;color:var(--ink)}
.cz-aud > p{margin:0 0 20px;font-size:14px;line-height:1.9;color:var(--muted)}
.cz-aud .cz-btn{margin-top:auto;align-self:flex-start}
.cz-band-eyebrow{margin:0 0 10px;font-size:13px;font-weight:700;color:rgba(255,255,255,.85)}

@media (max-width:1024px){
  .cz-app-grid{grid-template-columns:1fr;gap:40px}
  .cz-grid-3{grid-template-columns:1fr}
}
@media (max-width:640px){
  .cz-props{grid-template-columns:1fr}
  .cz-more-card{flex-direction:column;align-items:flex-start}
}

/* language switcher */
.cz-lang{display:flex;align-items:center;margin-inline-start:auto}
.cz-lang ul{list-style:none;margin:0;padding:0;display:flex;gap:6px}
.cz-lang a{display:inline-block;font-size:13px;font-weight:800;color:var(--muted-2);
  border:1px solid var(--rule-2);border-radius:var(--r-sm);padding:8px 12px;text-transform:uppercase}
.cz-lang a:hover{color:var(--brand);border-color:var(--brand-line)}
.cz-header .cz-lang + .cz-cta{margin-inline-start:10px}
html[dir="ltr"] .cz-note,html[dir="ltr"] .cz-lede{text-align:start}
