/* mukhtaser.sa shared structure. Each concept file (c1–c4.css) sets the tokens and its own layout on top.
   Rules from the owner: one green (#1D8052, the م of the logo), IBM Plex Sans Arabic for every script,
   no decorative gradients or grid patterns, headings never grey, Arabic first (RTL). */
:root {
  --bg: #FFFFFF; --bg2: #F4F8F6; --card: #FFFFFF; --line: #DDE7E2; --text: #0E1A14; --muted: #4A5A52;
  --accent: #1D8052; --accent-fg: #1D8052; --accent-ink: #FFFFFF; --accent-soft: #E3F1EA;
  --deep: #092812; --on-deep: #FFFFFF; --on-deep-muted: #B9CDC2; --deep-line: #1E4430;
  --hdr-bg: rgba(255,255,255,.92);
  --font: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --r: 12px; --r-lg: 20px; --wrap: 1200px;
  --gl: max(20px, env(safe-area-inset-left, 0px)); --gr: max(20px, env(safe-area-inset-right, 0px));
  --h1: clamp(2.3rem, 5.4vw, 4.4rem); --h2: clamp(1.7rem, 3.4vw, 2.6rem);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.75; overflow-x: hidden; }
:lang(en) body, body:lang(en) { line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--accent-fg); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; color: var(--text); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.ph { display: inline-block; padding: 0 .4em; border: 1.5px dashed #C98A00; border-radius: 6px; background: #FFF6E0; color: #6B4500; font-size: .92em; line-height: 1.6; }
svg { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; }
.riyal { font-family: "Mukhtaser Saudi Riyal", var(--font); font-weight: 400; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .55em 1.3em; border-radius: 10px; border: 1.5px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #17693F; }
.btn-line { border-color: var(--line); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--accent); }
.btn-sm { min-height: 40px; padding: .35em 1em; font-size: .94rem; }
.btn-lg { min-height: 54px; padding: .7em 1.6em; font-size: 1.05rem; }
.lnk { background: none; border: 0; padding: 0; color: var(--accent-fg); cursor: pointer; text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: .4em; }
.lnk-arrow { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; text-decoration: none; }
[dir="rtl"] .lnk-arrow svg, [dir="rtl"] .go svg, [dir="rtl"] .versus .arrow svg { transform: scaleX(-1); }
.eyebrow { color: var(--accent-fg); font-weight: 600; font-size: .95rem; margin-bottom: .7rem; }
.eyebrow a { text-decoration: none; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 62ch; }
.fine { color: var(--muted); font-size: .88rem; }
.hl { color: var(--accent-fg); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: .05em .6em; border-radius: 99px; background: var(--accent-soft); color: var(--accent-fg); vertical-align: .15em; }

/* Header */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--hdr-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41; background: var(--bg); }
.hdr-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { display: block; height: 40px; width: auto; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:hover { color: var(--accent-fg); }
.nav .nav-login { display: none; }
.hdr-act { display: flex; align-items: center; gap: 14px; }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.langs a { padding: .2em .65em; font-size: .85rem; text-decoration: none; color: var(--muted); font-weight: 600; }
.langs a[aria-current] { background: var(--accent); color: var(--accent-ink); }
.login { color: var(--text); text-decoration: none; font-weight: 500; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); cursor: pointer; place-items: center; }
@media (max-width: 1060px) {
  .nav { position: absolute; inset-inline: 0; top: 100%; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gr) 16px var(--gl); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .7em 0; border-bottom: 1px solid var(--line); }
  .nav .nav-login { display: block; }
  .menu-btn { display: grid; }
  .login { display: none; }
  .hdr-act { margin-inline-start: auto; }
}
@media (max-width: 520px) { .hdr-act .btn-sm { display: none; } .brand img { height: 34px; } .hdr-in { gap: 12px; } }

/* Sections */
.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec.alt { background: var(--bg2); }
.sec-head { margin-bottom: 44px; max-width: 760px; }
.sec-head h2 { font-size: var(--h2); font-weight: 700; letter-spacing: -.01em; }
.sec-head .lead { margin-top: 14px; }

/* Search */
.search { display: grid; gap: 10px; }
.search-label { font-weight: 600; }
.search-row { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 6px; padding-inline-start: 14px; }
.search-row:focus-within { border-color: var(--accent); }
.search-row input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.search-row input::placeholder { letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--muted); }
.search-ic { color: var(--accent-fg); }
.search.bad .search-row { animation: shake .4s; border-color: #C0392B; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.search-hint { font-size: .86rem; color: var(--muted); }
.roll { border: 1px dashed var(--accent); background: var(--accent-soft); color: var(--accent-fg); border-radius: 7px; padding: 0 .5em; font-weight: 700; letter-spacing: .08em; cursor: pointer; }

/* Sample profile card */
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: 0 24px 48px -32px rgba(9,40,18,.35); position: relative; }
.pcard-sample { position: absolute; top: -11px; inset-inline-end: 16px; font-size: .74rem; background: var(--text); color: var(--bg); padding: .05em .7em; border-radius: 99px; }
.pcard-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.pcard-logo { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1.3rem; flex: none; }
.pcard h3 { font-size: 1.08rem; }
.pcard-top p { font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pcard .ok { color: var(--accent-fg); font-weight: 600; display: inline-flex; gap: 3px; align-items: center; }
.pcard dl { margin: 0; display: grid; gap: 2px; }
.pcard dl > div { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); min-width: 0; }
.pcard dt { font-size: .84rem; color: var(--muted); }
.pcard dd { margin: 0; font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; text-align: end; }
.cp { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--accent-fg); cursor: pointer; display: grid; place-items: center; }
.cp .done { display: none; }
.cp.ok .done { display: block; } .cp.ok svg:first-child { display: none; }

/* Trust badges */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.badges li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.badges svg { width: 34px; height: 34px; color: var(--accent-fg); }
.badges b { display: block; font-size: .95rem; line-height: 1.4; }
.badges span { font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) { .badges { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .badges { grid-template-columns: 1fr; } }

/* Audiences */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; align-content: start; }
.aud-card > svg { width: 40px; height: 40px; color: var(--accent-fg); }
.aud-card h3 { font-size: 1.25rem; }
.aud-card p { color: var(--muted); }
@media (max-width: 860px) { .aud { grid-template-columns: 1fr; } }

/* Pains */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pains li { display: grid; grid-template-columns: auto 1fr; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.pains li > svg { width: 30px; height: 30px; color: var(--accent-fg); }
.pains h3 { font-size: 1.08rem; margin-bottom: 6px; }
.pains p { color: var(--muted); font-size: .95rem; }
.pains .fix { color: var(--text); margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.pains .fix svg { color: var(--accent-fg); }
@media (max-width: 960px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pains { grid-template-columns: 1fr; } }

/* How */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.how li { display: grid; gap: 8px; align-content: start; }
.how-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1.15rem; }
.how h3 { font-size: 1.2rem; margin-top: 6px; }
.how p { color: var(--muted); }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } }

/* Features */
.feat-sub { font-size: 1.05rem; color: var(--accent-fg); margin: 8px 0 18px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
.feat-grid li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; align-content: start; }
.feat-grid li > svg { width: 30px; height: 30px; color: var(--accent-fg); }
.feat-grid h4 { font-size: 1.05rem; }
.feat-grid p { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }

/* Numbers */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nums li { display: grid; }
.nums b { font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 300; line-height: 1; color: var(--accent-fg); font-variant-numeric: tabular-nums; }
.nums .u { font-weight: 600; font-size: 1.1rem; margin-top: 6px; }
.nums .l { color: var(--muted); font-size: .92rem; }
@media (max-width: 820px) { .nums { grid-template-columns: 1fr 1fr; } }

/* Integrations */
.integ-pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.integ-pts li { display: flex; gap: 12px; }
.integ-pts svg { width: 30px; height: 30px; color: var(--accent-fg); }
.integ-pts b { display: block; } .integ-pts span { color: var(--muted); font-size: .92rem; }
.integ-names { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.integ-names li { border: 1px solid var(--line); border-radius: 99px; padding: .25em 1em; font-weight: 600; font-size: .92rem; background: var(--card); }
@media (max-width: 760px) { .integ-pts { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 16px; align-content: start; }
.plan.hot { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.plan h3 { font-size: 1.4rem; }
.plan-tag { color: var(--muted); font-size: .92rem; }
.plan.hot .plan-tag { color: var(--accent-fg); font-weight: 600; }
.price { font-size: 2.3rem; font-weight: 700; line-height: 1.1; display: grid; }
.price .sub { font-size: .88rem; font-weight: 400; color: var(--muted); margin-top: 6px; }
.plan ul { display: grid; gap: 8px; }
.plan li { display: flex; gap: 8px; font-size: .96rem; }
.plan li svg { color: var(--accent-fg); margin-top: .3em; }
.plan .btn { margin-top: auto; }
.addon { border: 1.5px dashed var(--accent); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--accent-soft); }
.addon h3 { font-size: 1.1rem; }
.addon p { font-size: .94rem; color: var(--muted); }
.addon ul { display: flex; flex-wrap: wrap; gap: 6px; }
.addon li { background: var(--card); border-radius: 99px; padding: .1em .8em; font-size: .86rem; font-weight: 600; }
.vat-note { margin-top: 18px; color: var(--muted); font-size: .9rem; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr 1fr; } .addon { grid-column: 1 / -1; } }
@media (max-width: 640px) { .pricing { grid-template-columns: 1fr; } }

/* Trust center */
.tc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.tc-docs { display: grid; gap: 14px; }
.tc-docs a { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); text-decoration: none; color: var(--text); }
.tc-docs a:hover { border-color: var(--accent); }
.tc-docs a > svg { width: 30px; height: 30px; color: var(--accent-fg); }
.tc-docs h3 { font-size: 1.08rem; }
.tc-docs p { color: var(--muted); font-size: .92rem; }
.tc-docs .go { color: var(--accent-fg); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.tc-facts { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.tc-facts > div { padding: 16px 20px; border-top: 1px solid var(--line); }
.tc-facts > div:first-child { border-top: 0; }
.tc-facts dt { font-size: .84rem; color: var(--muted); }
.tc-facts dd { margin: 2px 0 0; font-weight: 600; }
.mini { width: 1.3em; height: 1.3em; }
@media (max-width: 860px) { .tc { grid-template-columns: 1fr; } .tc-docs a { grid-template-columns: auto 1fr; } .tc-docs .go { grid-column: 2; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--accent-fg); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 0; } }

/* Contact + newsletter */
.contact-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; gap: 0; } }
.contact { display: grid; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.contact label { display: grid; gap: 6px; font-weight: 500; font-size: .94rem; min-width: 0; }
.contact input, .contact select, .contact textarea, .news input { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: .6em .8em; background: var(--bg); }
.contact input:focus, .contact select:focus, .contact textarea:focus, .news input:focus { border-color: var(--accent); outline: none; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .f2 { grid-template-columns: 1fr; } }
.notice { display: flex; gap: 8px; font-size: .86rem; color: var(--muted); background: var(--bg2); border-radius: 10px; padding: 10px 12px; }
.notice svg { color: var(--accent-fg); margin-top: .25em; }
.contact .check { display: flex; grid-template-columns: none; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.contact .check input { width: 20px; height: 20px; flex: none; margin-top: .25em; accent-color: var(--accent); }
.contact .btn { justify-self: start; }
.sent { color: var(--accent-fg); font-weight: 600; font-size: .92rem; }
.news { margin-top: 40px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px 32px; align-items: center; border-top: 1px solid var(--line); padding-top: 32px; }
.news h3 { font-size: 1.3rem; }
.news p { color: var(--muted); }
.news-row { display: flex; gap: 8px; }
.news .fine { grid-column: 1 / -1; }
@media (max-width: 760px) { .news { grid-template-columns: 1fr; } }

/* Final CTA */
.final { padding-block: 88px; text-align: center; }
.final h2 { font-size: var(--h2); }
.final-act { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* Footer */
.ftr { background: var(--deep); color: var(--on-deep); padding-block: 64px 32px; }
.ftr h3 { color: var(--on-deep); font-size: 1rem; margin-bottom: 14px; }
.ftr a { color: var(--on-deep-muted); text-decoration: none; }
.ftr a:hover { color: var(--on-deep); }
.ftr-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--deep-line); }
.ftr-brand p { color: var(--on-deep-muted); font-size: .94rem; margin-top: 14px; max-width: 36ch; }
.ftr-brand .tagline { color: var(--on-deep); font-weight: 600; }
.ftr-brand img { height: 46px; width: auto; }
.ftr-col { display: grid; gap: 10px; align-content: start; font-size: .94rem; }
.ftr-col span { color: var(--on-deep-muted); }
.ftr-col b { color: var(--on-deep); }
.socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--deep-line); display: grid; place-items: center; }
.ftr-legal { padding-top: 24px; display: grid; gap: 8px; font-size: .86rem; color: var(--on-deep-muted); }
.ftr-legal b { color: var(--on-deep); font-weight: 600; }
.ftr .ph { background: transparent; color: #F5C76A; border-color: #8A6A20; }
.ftr .copy { margin-top: 8px; }
.ftr [data-ck] { cursor: pointer; }
@media (max-width: 900px) { .ftr-top { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr-top { grid-template-columns: 1fr; } }

/* Cookie banner: green mark, equal-weight choices */
.ck-banner { position: fixed; z-index: 60; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); inset-inline-start: max(16px, env(safe-area-inset-left, 0px)); width: min(440px, calc(100vw - 32px)); background: #FFFFFF; color: #0E1A14; border: 1.5px solid #1D8052; border-radius: 18px; padding: 20px; box-shadow: 0 24px 60px -20px rgba(9,40,18,.45); display: grid; gap: 12px; font-size: .92rem; line-height: 1.6; }
.ck-head { display: flex; align-items: center; gap: 10px; }
.ck-head h2 { font-size: 1.08rem; color: #0E1A14; }
.ck-mark { width: 36px; height: 36px; flex: none; }
.ck-banner a, .ck-dialog a { color: #1D8052; font-weight: 600; }
.ck-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ck-btn { min-height: 44px; border-radius: 10px; font-weight: 600; cursor: pointer; padding: .4em .8em; font-size: .92rem; }
.ck-solid { background: #1D8052; color: #FFFFFF; border: 1.5px solid #1D8052; }
.ck-solid:hover { background: #17693F; }
.ck-line { grid-column: 1 / -1; background: #FFFFFF; color: #1D8052; border: 1.5px solid #1D8052; }
.ck-modal { position: fixed; inset: 0; z-index: 70; background: rgba(9,20,14,.55); display: grid; place-items: center; padding: 16px; }
.ck-dialog { background: #FFFFFF; color: #0E1A14; border-radius: 20px; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; display: grid; gap: 14px; font-size: .94rem; }
.ck-dialog > p { color: #4A5A52; }
.ck-x { margin-inline-start: auto; width: 38px; height: 38px; border-radius: 10px; border: 1px solid #DDE7E2; background: #FFFFFF; cursor: pointer; display: grid; place-items: center; color: #0E1A14; }
.ck-cats { display: grid; gap: 10px; }
.ck-cats li { display: flex; gap: 14px; justify-content: space-between; align-items: center; border: 1px solid #DDE7E2; border-radius: 12px; padding: 14px; }
.ck-cats b { color: #0E1A14; }
.ck-cats p { color: #4A5A52; font-size: .86rem; }
.ck-always { font-size: .8rem; font-weight: 600; color: #1D8052; white-space: nowrap; }
.sw { position: relative; flex: none; width: 50px; height: 28px; cursor: pointer; }
.sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sw span:first-of-type { position: absolute; inset: 0; background: #C9D6CF; border-radius: 99px; transition: background .2s; }
.sw span:first-of-type::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; transition: inset-inline-start .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.sw input:checked + span { background: #1D8052; }
.sw input:checked + span::after { inset-inline-start: 25px; }
.sw input:focus-visible + span { outline: 3px solid #1D8052; outline-offset: 2px; }
.ck-dialog .ck-btns { grid-template-columns: 1fr 1fr; }
.ck-dialog .ck-btns .ck-solid:first-child { grid-column: 1 / -1; }
.ck-policy { font-size: .88rem; }
.ck-fab { position: fixed; z-index: 55; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); inset-inline-start: max(16px, env(safe-area-inset-left, 0px)); width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid #1D8052; background: #FFFFFF; box-shadow: 0 10px 24px -10px rgba(9,40,18,.5); cursor: pointer; display: grid; place-items: center; padding: 0; }
.ck-fab svg { width: 32px; height: 32px; }
.ck-toast { position: fixed; z-index: 80; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); background: #092812; color: #FFFFFF; padding: 10px 18px; border-radius: 99px; font-size: .9rem; display: flex; gap: 8px; align-items: center; }

/* Legal pages */
.lg-hero { padding-block: 56px 36px; border-bottom: 1px solid var(--line); }
.lg-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.lg-hero .lead { margin-top: 12px; }
.lg-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; }
.lg-meta dt { font-size: .8rem; color: var(--muted); }
.lg-meta dd { margin: 0; font-weight: 600; }
.lg-draft { margin-top: 18px; display: inline-flex; gap: 8px; align-items: center; font-size: .86rem; background: #FFF6E0; color: #6B4500; border: 1px solid #F0D9A8; padding: .3em .9em; border-radius: 99px; }
.lg-layout { display: grid; grid-template-columns: 280px 1fr; gap: 56px; padding-block: 44px 88px; }
.lg-side { position: sticky; top: 96px; align-self: start; display: grid; gap: 26px; font-size: .92rem; max-height: calc(100vh - 120px); overflow: auto; }
.lg-side-h { font-weight: 700; margin-bottom: 8px; color: var(--text); }
.lg-side ol { display: grid; gap: 2px; counter-reset: t; }
.lg-side ol a { display: block; padding: 4px 10px; border-inline-start: 2px solid var(--line); color: var(--muted); text-decoration: none; }
.lg-side ol a:hover { color: var(--accent-fg); border-color: var(--accent); }
.lg-other { display: grid; gap: 8px; }
.lg-other a { text-decoration: none; }
.lg-body { min-width: 0; max-width: 780px; }
.lg-sum { background: var(--accent-soft); border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 36px; }
.lg-sum ul { display: grid; gap: 10px; }
.lg-sum li { display: flex; gap: 10px; font-weight: 500; }
.lg-sum svg { color: var(--accent-fg); margin-top: .3em; }
.lg-sec { padding-top: 8px; margin-bottom: 34px; }
.lg-sec h2 { font-size: 1.45rem; display: flex; gap: 12px; align-items: baseline; margin-bottom: 14px; }
.lg-n { font-size: .9rem; color: var(--accent-fg); font-weight: 700; min-width: 1.6em; }
.lg-sec h3 { font-size: 1.1rem; margin: 20px 0 8px; }
.lg-sec p { margin-bottom: 10px; }
.lg-sec ul { display: grid; gap: 6px; margin-bottom: 12px; }
.lg-sec ul li { position: relative; padding-inline-start: 20px; }
.lg-sec ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tbl { overflow-x: auto; margin: 6px 0 16px; border: 1px solid var(--line); border-radius: var(--r); }
.tbl table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.tbl th, .tbl td { text-align: start; padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--bg2); border-top: 0; font-weight: 600; white-space: nowrap; }
.lg-lang { color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 900px) { .lg-layout { grid-template-columns: 1fr; gap: 24px; } .lg-side { position: static; max-height: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
/* Grid and flex children that hold text must be allowed to shrink at phone width */
.hero-in > *, .hero-result > *, .chap-body > *, .hero-grid > *, .hero-foot > *, .ba > *, .split > *, .contact-wrap > *, .tc > *, .search, .search-row > * { min-width: 0; }
.badges .n { white-space: nowrap; color: var(--text); font-weight: 600; }
.search, .hero-side, .chap-body, .pcard dl { grid-template-columns: minmax(0, 1fr); }

/* Preview-only bar (not in the release build) */
.pv-bar { background: #111; color: #ddd; font: 500 13px/1.4 var(--font); display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 7px var(--gr) 7px var(--gl); flex-wrap: wrap; }
.pv-bar a { color: #fff; text-decoration: none; }
.pv-bar nav { display: flex; gap: 4px; }
.pv-bar nav a { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; border: 1px solid #444; }
.pv-bar nav a[aria-current] { background: #1D8052; border-color: #1D8052; }
