/* CheckBook case study — built on the Inturp design system.
   Tokens, header, footer, buttons, eyebrow and section rhythm mirror inturp.com so the two feel like one site. */

:root{
  --radius:.5rem;
  --background:oklch(95.37% .0107 100.8);
  --foreground:oklch(8% 0 0);
  --card:oklch(95.37% .0107 100.8);
  --secondary:oklch(92% .011 100.8);
  --muted-foreground:oklch(44% .006 100.8);
  --border:oklch(86% .011 100.8);
  --input:oklch(86% .011 100.8);
  --site-width:1240px;
  --header-height:88px;
  --motion-ease:cubic-bezier(.2,.75,.25,1);
  /* in-app palette (Al Ameer brand, used only inside the product showcase) */
  --app-bg:#14181a;
  --app-fg:#eef2ec;
  --app-muted:#98a39b;
  --app-line:oklch(100% 0 0/.1);
  --accent:#7F9569;
  --deep:#14181a;
  --on-deep:#eef2ec;
  --on-deep-muted:oklch(70% 0 0);
  --ok:#0F9D75; --warn:#D9770A; --bad:#C23A55;
  color-scheme:light;
}
.dark{
  --background:oklch(8% 0 0);
  --foreground:oklch(100% 0 0);
  --card:oklch(10% 0 0);
  --secondary:oklch(15% 0 0);
  --muted-foreground:oklch(65% 0 0);
  --border:oklch(100% 0 0/.1);
  --input:oklch(100% 0 0/.15);
  --deep:#1b2023;
  color-scheme:dark;
}
@media (width<=1100px){:root{--header-height:76px}}
@media (width<=899px){:root{--header-height:70px}}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-height) + 16px);-webkit-text-size-adjust:100%}
body{font-family:Inter,"IBM Plex Sans Arabic",ui-sans-serif,system-ui,sans-serif;background:var(--background);color:var(--foreground);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
ul,ol{list-style:none}
h1,h2,h3,h4{font-size:inherit;font-weight:inherit}
[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3{letter-spacing:0!important;line-height:1.45!important}
:focus-visible{outline:2px solid var(--foreground);outline-offset:3px;border-radius:6px}
::selection{background:var(--foreground);color:var(--background)}
html[lang=ar] .en{display:none!important}
html[lang=en] .ar{display:none!important}
.latin{direction:ltr;unicode-bidi:isolate}
.section-padding{padding-inline:clamp(20px,5vw,72px)}
.section-space{padding-block:clamp(72px,9vw,132px)}
.section-space>div,.inner{max-width:var(--site-width);margin-inline:auto}
.skip-link{z-index:100;background:var(--foreground);color:var(--background);border-radius:8px;padding:12px 18px;position:fixed;inset-block-start:12px;inset-inline-start:16px;transform:translateY(-160%)}
.skip-link:focus{transform:none}

/* ───────── header (identical to inturp.com) ───────── */
.site-header{z-index:50;position:fixed;inset:0 0 auto;background:color-mix(in srgb,var(--background) 92%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid var(--border);direction:ltr}
.site-nav{max-width:calc(var(--site-width) + 80px);height:var(--header-height);align-items:center;gap:36px;margin-inline:auto;padding-inline:40px;display:flex}
.brand-link{color:var(--foreground);flex:none;align-items:center;gap:10px;text-decoration:none;display:inline-flex}
.brand-link>img{object-fit:contain;width:42px;height:42px}
.dark .brand-link>img,.dark .product-dropdown img.mono{filter:invert(1)}
.brand-link>span{letter-spacing:-.06em;direction:ltr;unicode-bidi:isolate;font-family:Inter,sans-serif;font-size:26px;font-weight:600}
.brand-dot{opacity:.4}
.desktop-nav{align-items:center;gap:32px;margin-inline-start:auto;display:flex}
.nav-link{color:var(--muted-foreground);align-items:center;gap:6px;min-height:44px;font-size:14px;font-weight:500;transition:color .2s;display:inline-flex}
.nav-link:hover,.nav-link.active{color:var(--foreground)}
[dir=rtl] .nav-link,[dir=rtl] .nav-contact{font-family:"IBM Plex Sans Arabic",Inter,sans-serif}
.nav-contact{background:var(--foreground);color:var(--background);border:1px solid var(--foreground);border-radius:100px;justify-content:center;align-items:center;gap:12px;min-height:44px;padding:10px 20px;font-size:14px;transition:background .2s,color .2s;display:inline-flex}
.nav-contact:hover{color:var(--foreground);background:0 0}
.nav-end,.nav-preferences{align-items:center;gap:8px;display:flex}
.language-control,.icon-control{min-width:44px;height:44px;color:var(--foreground);border-radius:50%;justify-content:center;align-items:center;transition:background .2s;display:inline-flex}
.language-control{font-size:13px;font-weight:500}
.language-control:hover,.icon-control:hover{background:var(--secondary)}
.icon-control svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.icon-control .sun{display:none}.dark .icon-control .sun{display:block}.dark .icon-control .moon{display:none}
.mobile-toggle{display:none}
.mobile-toggle svg{width:22px;height:22px}
.mobile-toggle .x{display:none}.mobile-toggle[aria-expanded=true] .x{display:block}.mobile-toggle[aria-expanded=true] .bars{display:none}
.product-menu{position:relative}
.product-menu svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.product-menu [aria-expanded=true] svg{transform:rotate(180deg)}
.product-dropdown{background:var(--background);border:1px solid var(--border);width:320px;animation:menu-in .2s var(--motion-ease);border-radius:16px;padding:10px;position:absolute;inset-block-start:calc(100% + 14px);inset-inline-start:-24px;box-shadow:0 18px 40px #00000012}
.product-dropdown[hidden]{display:none}
.product-dropdown a{border-radius:9px;align-items:center;gap:12px;padding:14px;display:flex}
.product-dropdown a:hover,.product-dropdown a.active{background:var(--secondary)}
.product-dropdown img{object-fit:contain;width:32px;height:32px;border-radius:7px}
.product-dropdown span{font-size:14px;font-weight:500;line-height:1.3;text-align:start}
.product-dropdown small{color:var(--muted-foreground);margin-top:3px;font-size:11px;font-weight:400;display:block}
.product-dropdown a>svg{flex:none;margin-inline-start:auto;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.arr{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.mobile-panel{display:none}
@keyframes menu-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (width<=1100px){.site-nav{gap:24px;padding-inline:28px}.desktop-nav{gap:22px}}
@media (width<=899px){
  .site-nav{gap:12px;padding-inline:24px}
  .desktop-nav{display:none}
  .nav-end{margin-inline-start:auto}
  .mobile-toggle{display:inline-flex}
  .brand-link>img{width:36px;height:36px}
  .brand-link>span{font-size:24px}
  .mobile-panel{border-top:1px solid var(--border);max-height:calc(100dvh - var(--header-height));animation:menu-in .2s var(--motion-ease);flex-direction:column;padding:12px 24px 24px;display:flex;overflow-y:auto}
  .mobile-panel[hidden]{display:none}
  .mobile-panel a{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding-block:18px;font-size:18px;display:flex;direction:inherit}
  .mobile-panel a svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
}
@media (width<=540px){.site-nav{padding-inline:18px}.brand-link{gap:6px}.brand-link>img{width:30px;height:30px}.brand-link>span{font-size:23px}.nav-end,.nav-preferences{gap:0}}

/* ───────── shared bits ───────── */
.eyebrow{letter-spacing:.12em;color:var(--muted-foreground);align-items:center;gap:10px;font-size:11px;text-transform:uppercase;display:inline-flex}
[dir=rtl] .eyebrow{letter-spacing:0;font-size:13px;text-transform:none}
.status-dot{width:6px;height:6px;box-shadow:0 0 0 4px color-mix(in srgb,var(--foreground) 6%,transparent);background:currentColor;border-radius:50%;flex:none;display:inline-block}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:14px 26px;border-radius:9999px;border:1px solid var(--foreground);font-size:14px;font-weight:500;line-height:1;transition:background .2s,color .2s,border-color .2s;white-space:nowrap}
.btn-solid{background:var(--foreground);color:var(--background)}
.btn-solid:hover{background:transparent;color:var(--foreground)}
.btn-outline{background:transparent;color:var(--foreground);border-color:var(--input)}
.btn-outline:hover{border-color:var(--foreground)}
.btn svg.st{width:18px;height:18px;fill:currentColor;flex:none}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}
.sec-head{max-width:760px;margin-bottom:56px}
.sec-head h2{letter-spacing:-.035em;font-size:clamp(28px,3.3vw,44px);line-height:1.25;font-weight:600;margin:20px 0 18px}
.sec-head p{color:var(--muted-foreground);font-size:17px;line-height:1.85}
.bordered{border-top:1px solid var(--border)}
.alt{background:var(--secondary);border-block:1px solid var(--border)}
[data-reveal]{opacity:0;transform:translateY(18px);transition:opacity .7s var(--motion-ease),transform .7s var(--motion-ease)}
[data-reveal].in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){[data-reveal]{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}}

/* ───────── hero (same rhythm as the Inturp product pages) ───────── */
.product-intro{position:relative;isolation:isolate;padding-top:calc(var(--header-height) + clamp(64px,8vw,112px));padding-bottom:clamp(64px,8vw,104px);border-bottom:1px solid var(--border)}
.product-intro:before{content:"";z-index:-1;opacity:.32;background-image:radial-gradient(var(--muted-foreground) .6px,transparent .6px);background-size:24px 24px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#0000,#000 60%,#0000);mask-image:linear-gradient(#0000,#000 60%,#0000)}
.product-page-grid{max-width:var(--site-width);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:72px;margin-inline:auto}
.crumbs{display:flex;gap:10px;align-items:center;font-size:12.5px;color:var(--muted-foreground);margin-bottom:34px;direction:inherit}
.crumbs a:hover{color:var(--foreground)}
.crumbs [aria-current]{color:var(--foreground)}
.product-page-copy{max-width:700px}
.product-page-copy h1{letter-spacing:-.045em;font-size:clamp(34px,4.5vw,60px);line-height:1.15;font-weight:500;margin:26px 0 24px;text-wrap:balance}
.product-page-copy h1 em{font-style:normal;color:var(--muted-foreground)}
.product-page-copy .lead{font-size:17px;line-height:1.9;color:var(--muted-foreground);max-width:36em}
.meta-row{display:flex;gap:18px 40px;margin-top:44px;padding-top:26px;border-top:1px solid var(--border);flex-wrap:wrap}
.meta-row div{font-size:12px;color:var(--muted-foreground);line-height:1.5}
.meta-row b{display:block;color:var(--foreground);font-weight:500;font-size:14.5px;margin-top:2px}

/* phone frame */
.phone{position:relative;width:min(100%,270px);aspect-ratio:520/1130;border-radius:40px;padding:8px;background:#161616;box-shadow:0 0 0 1px #2c2c2c,0 40px 70px -30px rgba(0,0,0,.55),0 10px 24px -10px rgba(0,0,0,.4)}
.phone::after{content:"";position:absolute;top:15px;left:50%;transform:translateX(-50%);width:28%;height:14px;border-radius:99px;background:#050505;z-index:2}
.phone .scr{position:relative;width:100%;height:100%;border-radius:32px;overflow:hidden;background:#0b0b0b}
.phone img{width:100%;height:100%;object-fit:cover}
.hero-art{position:relative;height:620px}
.hero-art .phone{position:absolute;top:50%;left:50%;width:min(58%,252px)}
.hero-art .p1{transform:translate(calc(-50% - 74px),calc(-50% + 26px)) rotate(-5deg);z-index:1}
.hero-art .p2{transform:translate(calc(-50% + 74px),calc(-50% - 22px)) rotate(4deg);z-index:2}
.hero-badge{position:absolute;z-index:3;bottom:18px;inset-inline-start:0;display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:14px;background:var(--background);border:1px solid var(--border);box-shadow:0 18px 40px -22px rgba(0,0,0,.4)}
.hero-badge img{width:42px;height:42px;border-radius:10px}
.hero-badge small{display:block;font-size:12px;color:var(--muted-foreground);line-height:1.3}
.hero-badge b{font-size:14px;font-weight:600;line-height:1.3;display:block}

/* ───────── stats ───────── */
.stats .inner{display:grid;grid-template-columns:repeat(4,1fr)}
.stats{border-bottom:1px solid var(--border)}
.stat{padding:38px 0 36px;padding-inline-end:24px}
.stat+.stat{padding-inline-start:32px;border-inline-start:1px solid var(--border)}
.stat b{display:block;font-size:clamp(38px,4.6vw,58px);font-weight:500;letter-spacing:-.05em;line-height:1}
.stat span{display:block;margin-top:10px;font-size:14px;color:var(--muted-foreground);line-height:1.6}

/* ───────── brief (same layout as home-about) ───────── */
.brief{display:grid;grid-template-columns:1fr 1.1fr;gap:16px 80px}
.brief h2{letter-spacing:-.035em;font-size:clamp(28px,3.3vw,44px);line-height:1.25;font-weight:600;margin-top:20px}
.brief .cols{display:grid;grid-template-columns:1fr 1fr;gap:36px}
.brief h3{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted-foreground);font-weight:500;margin-bottom:12px}
[dir=rtl] .brief h3{letter-spacing:0;font-size:13px;text-transform:none}
.brief p{font-size:16px;line-height:1.9}
.brief p+p{margin-top:14px;color:var(--muted-foreground)}

/* ───────── app tour (dark showcase, Al Ameer's own look) ───────── */
.tour{background:var(--app-bg);color:var(--app-fg)}
.tour .eyebrow,.tour .sec-head p{color:var(--app-muted)}
.tour .status-dot{color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 14%,transparent)}
.tour-grid{display:grid;grid-template-columns:1fr 340px;gap:72px;align-items:center}
.steps{display:grid;border-top:1px solid var(--app-line)}
.step{display:grid;grid-template-columns:44px 1fr;gap:6px 14px;text-align:start;padding:22px 4px;border-bottom:1px solid var(--app-line);color:var(--app-muted);transition:color .25s;width:100%;align-items:start}
.step:hover,.step.on{color:var(--app-fg)}
.step .n{font-size:13px;letter-spacing:.08em;padding-top:5px}
.step h3{font-size:clamp(20px,2.2vw,26px);font-weight:500;letter-spacing:-.02em;color:inherit}
.step p{grid-column:2;font-size:15px;line-height:1.8;max-height:0;overflow:hidden;opacity:0;transition:max-height .45s var(--motion-ease),opacity .3s,margin .3s;color:var(--app-muted)}
.step.on .n{color:var(--accent)}
.step.on p{max-height:150px;opacity:1;margin-top:6px}
.tour-phone{display:grid;place-items:center}
.tour-phone .phone{width:100%;max-width:300px;background:#1b1b1b;box-shadow:0 0 0 1px #333,0 50px 80px -30px rgba(0,0,0,.9),0 0 90px -20px rgba(127,149,105,.22)}
.tour-phone .scr img{position:absolute;inset:0;opacity:0;transition:opacity .45s}
.tour-phone .scr img.on{opacity:1}
.tour-dots{display:flex;gap:8px;justify-content:center;margin-top:26px}
.tour-dots button{width:26px;height:3px;border-radius:2px;background:var(--app-line);transition:background .25s,width .25s}
.tour-dots button.on{background:var(--accent);width:44px}

/* ───────── features ───────── */
.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--border);border-inline-start:1px solid var(--border)}
.feat{padding:34px 30px 36px;border-bottom:1px solid var(--border);border-inline-end:1px solid var(--border);transition:background .25s}
.feat:hover{background:var(--secondary)}
.feat .ico{width:38px;height:38px;border:1px solid var(--border);border-radius:10px;display:grid;place-items:center;margin-bottom:22px}
.feat .ico svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.feat h3{font-size:18px;font-weight:600;margin-bottom:8px;letter-spacing:-.01em}
.feat p{font-size:15px;color:var(--muted-foreground);line-height:1.75}

/* ───────── admin ───────── */
.admin-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(32px,5vw,80px);align-items:start}
.admin h2{letter-spacing:-.035em;font-size:clamp(28px,3vw,40px);line-height:1.3;font-weight:600;margin:20px 0 18px}
.admin .lead{color:var(--muted-foreground);font-size:16px;line-height:1.85}
.checks li{display:grid;grid-template-columns:28px 1fr;gap:10px;padding:18px 0;border-bottom:1px solid var(--border);align-items:start}
.checks li:first-child{border-top:1px solid var(--border)}
.checks svg{width:20px;height:20px;margin-top:4px;fill:none;stroke:var(--foreground);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.checks b{display:block;font-weight:600;font-size:16px}
.checks span{color:var(--muted-foreground);font-size:15px;line-height:1.75;display:block}

/* ───────── branches ───────── */
.country{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid var(--border)}
.country h3{font-size:22px;font-weight:600;letter-spacing:-.02em}
.country small{font-size:13px;color:var(--muted-foreground)}
.b-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:48px}
.b-card{border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--background);transition:transform .3s var(--motion-ease),border-color .2s}
.b-card:hover{transform:translateY(-3px);border-color:var(--foreground)}
.b-card figure{aspect-ratio:4/3;overflow:hidden;background:var(--secondary)}
.b-card img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--motion-ease)}
.b-card:hover img{transform:scale(1.04)}
.b-card .tx{padding:18px 20px 22px}
.b-card h4{font-size:17px;font-weight:600;line-height:1.4}
.b-card p{font-size:14px;color:var(--muted-foreground);line-height:1.7;margin-top:4px}
.tag{display:inline-block;margin-top:12px;font-size:12px;padding:3px 11px;border:1px solid var(--border);border-radius:99px;color:var(--muted-foreground)}
.tag.main{background:var(--foreground);color:var(--background);border-color:var(--foreground)}

/* ───────── stack ───────── */
.stack-row{display:flex;flex-wrap:wrap;gap:10px}
.chip{font-size:13.5px;padding:9px 16px;border:1px solid var(--border);border-radius:99px;direction:ltr}
.stack-note{margin-top:24px;color:var(--muted-foreground);max-width:44em;font-size:16px;line-height:1.85}

/* ───────── get app + contact ───────── */
.get{background:var(--app-bg);color:var(--app-fg);text-align:center}
.get img.ic{width:84px;height:84px;border-radius:20px;margin:0 auto 26px;box-shadow:0 0 0 1px #2e2e2e}
.get h2{letter-spacing:-.035em;font-size:clamp(28px,3.6vw,44px);font-weight:600;margin-bottom:12px}
.get p{color:var(--app-muted);margin-bottom:30px}
.get .cta-row{justify-content:center;margin-top:0}
.get .btn-solid{background:var(--app-fg);color:var(--app-bg);border-color:var(--app-fg)}
.get .btn-solid:hover{background:transparent;color:var(--app-fg)}
.get .btn-outline{color:var(--app-fg);border-color:oklch(100% 0 0/.25)}
.get .btn-outline:hover{border-color:var(--app-fg)}
.contact .inner{display:grid;grid-template-columns:1fr auto;gap:48px;align-items:end}
.contact h2{letter-spacing:-.06em;font-size:clamp(40px,6.4vw,76px);font-weight:500;line-height:1.1;margin:22px 0 22px}
.contact p{color:var(--muted-foreground);max-width:34em;font-size:17px;line-height:1.85}
.contact .links{display:grid;gap:4px;direction:ltr;text-align:start}
.contact .links a{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:500;padding:14px 0;border-bottom:1px solid var(--border);transition:border-color .2s}
.contact .links a:hover{border-color:var(--foreground)}
.contact .links svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* ───────── footer (identical to inturp.com) ───────── */
.site-footer{border-top:1px solid var(--border);padding-block:32px}
.footer-inner{max-width:var(--site-width);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;margin-inline:auto;display:flex}
.site-footer .brand-link img{width:28px;height:28px}
.dark .site-footer .brand-link img{filter:invert(1)}
.site-footer .brand-link>span{font-size:21px}
.footer-links{flex-wrap:wrap;gap:20px;font-size:12px;display:flex}
.footer-links a{padding-block:8px;display:inline-flex;align-items:center;gap:8px;transition:color .2s}
.footer-links a:hover{color:var(--muted-foreground)}
.footer-links svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.site-footer p{color:var(--muted-foreground);font-size:11px}
.site-footer .note{flex-basis:100%;max-width:62em;line-height:1.7}
@media (width<=540px){.footer-inner{flex-direction:column;align-items:flex-start;gap:16px}.footer-links{gap:16px}}

/* ───────── legal pages (same document design as the Vet Charted pages) ───────── */
.legal-hero{padding-top:calc(var(--header-height) + clamp(48px,6vw,88px));padding-bottom:56px;border-bottom:1px solid var(--border)}
.legal-hero h1{font-size:clamp(2.2rem,4.2vw,3.5rem);font-weight:500;letter-spacing:-.045em;line-height:1.2}
.legal-hero p{margin-top:16px;color:var(--muted-foreground);font-size:1.15rem;max-width:40em;line-height:1.9}
.legal-hero .meta{margin-top:26px;font-size:15px;color:var(--muted-foreground);display:flex;flex-wrap:wrap;gap:8px 28px}
.legal-hero .meta b{color:var(--foreground);font-weight:600}
.doc-wrap{display:grid;grid-template-columns:260px minmax(0,1fr);gap:64px;padding-block:64px 110px;align-items:start}
.toc{position:sticky;top:calc(var(--header-height) + 24px);font-size:15px;display:block}
.toc b{display:block;color:var(--foreground);margin-bottom:12px;font-size:15.5px;font-weight:600}
.toc ol{border-inline-start:1px solid var(--border)}
.toc a{display:block;position:relative;padding:7px 0;padding-inline-start:18px;color:var(--muted-foreground);line-height:1.5;transition:color .2s;border:0}
.toc a:hover{color:var(--foreground)}
.toc a.on{color:var(--foreground);font-weight:600;background:none}
.toc a.on::before{content:"";position:absolute;inset-inline-start:-1.5px;top:6px;bottom:6px;width:3px;background:var(--foreground);border-radius:2px}
.doc{max-width:760px;min-width:0}
.doc section{padding-block:8px 6px;margin:0;border:0}
.doc section+section{margin-top:44px;padding-top:44px;border-top:1px solid var(--border)}
.doc h2{display:flex;align-items:baseline;gap:14px;font-size:1.65rem;font-weight:600;letter-spacing:-.03em;margin-bottom:16px}
.doc h2 .n{font-weight:500;font-size:1rem;color:var(--muted-foreground);min-width:1.6em}
.doc p{color:color-mix(in srgb,var(--foreground) 82%,var(--background));margin-bottom:14px;font-size:1.06rem;line-height:1.95}
.doc strong,.doc b{color:var(--foreground);font-weight:600}
.doc ul.list{margin:8px 0 16px;display:flex;flex-direction:column;gap:10px}
.doc ul.list li{position:relative;padding-inline-start:22px;color:color-mix(in srgb,var(--foreground) 82%,var(--background));line-height:1.85;font-size:1.04rem}
.doc ul.list li::before{content:"";position:absolute;inset-inline-start:2px;top:.95em;width:6px;height:1px;background:var(--foreground)}
.doc a.lnk{font-weight:500;border-bottom:1px solid var(--muted-foreground);transition:border-color .2s}
.doc a.lnk:hover{border-color:var(--foreground)}
.note{padding:16px 20px;margin:20px 0;border-radius:12px;line-height:1.85;font-size:1.02rem;border-inline-start:4px solid var(--foreground);background:var(--secondary);color:var(--foreground)}
.tbl-wrap{overflow-x:auto;margin:14px 0 20px;border:1px solid var(--border);border-radius:12px;background:var(--background)}
.tbl{width:100%;border-collapse:collapse;font-size:.98rem;min-width:620px}
.tbl th,.tbl td{padding:14px 18px;text-align:start;vertical-align:top;border-bottom:1px solid var(--border);line-height:1.75}
.tbl tr:last-child td{border-bottom:0}
.tbl thead th{background:var(--secondary);color:var(--foreground);font-size:.9rem;font-weight:700}
.tbl td:first-child{font-weight:600;color:var(--foreground);width:28%}
.contact-card{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;margin-top:22px;padding:24px 26px;border-radius:14px;background:var(--deep);color:var(--on-deep)}
.contact-card b{font-size:1.1rem;font-weight:600;color:var(--on-deep)}
.contact-card p{color:var(--on-deep-muted);margin:6px 0 0;font-size:1rem}
.contact-card a.lnk{color:var(--on-deep);border-bottom:1px solid var(--on-deep-muted)}
.contact-card a.btn{background:var(--on-deep);color:var(--deep);border-color:var(--on-deep)}
.contact-card a.btn:hover{background:transparent;color:var(--on-deep)}
.steps-l{counter-reset:s;display:flex;flex-direction:column;gap:12px;margin:12px 0}
.steps-l li{counter-increment:s;position:relative;padding-inline-start:46px;line-height:1.85;color:color-mix(in srgb,var(--foreground) 82%,var(--background))}
.steps-l li::before{content:counter(s);position:absolute;inset-inline-start:0;top:1px;width:30px;height:30px;border-radius:50%;background:var(--foreground);color:var(--background);display:grid;place-items:center;font-size:.9rem;font-weight:600}
.steps-l b{display:block;color:var(--foreground)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:16px 0}
.box{border-radius:12px;padding:22px 24px;border:1px solid var(--border);background:var(--background)}
.box h3{margin:0 0 10px;font-size:1.1rem;font-weight:600}
.box.del{border-top:4px solid var(--bad)}.box.del h3{color:var(--bad)}
.box.keep{border-top:4px solid var(--ok)}.box.keep h3{color:var(--ok)}
.formcard{background:var(--background);border:1px solid var(--border);border-radius:14px;padding:28px;margin-top:16px;display:grid;gap:18px}
.formcard label{display:grid;gap:6px;font-size:.97rem;font-weight:600}
.formcard input,.formcard select{font:inherit;font-size:1rem;color:var(--foreground);background:var(--background);border:1px solid var(--input);border-radius:10px;padding:13px 14px;width:100%;transition:border-color .2s,box-shadow .2s}
.formcard input:hover,.formcard select:hover{border-color:var(--muted-foreground)}
.formcard input:focus,.formcard select:focus{outline:0;border-color:var(--foreground);box-shadow:0 0 0 3px color-mix(in srgb,var(--foreground) 12%,transparent)}
.formcard .btn{justify-self:start}
.form-note{font-size:.86rem!important;line-height:1.8;color:var(--muted-foreground)!important;margin:0!important}
#delErr{color:var(--bad)!important}
.btn-light{background:var(--on-deep);color:var(--deep);border-color:var(--on-deep)}
.btn-light:hover{background:transparent;color:var(--on-deep)}

/* ───────── responsive ───────── */
@media (width<=1100px){
  .product-page-grid,.admin-grid,.tour-grid,.contact .inner{grid-template-columns:1fr}
  .product-page-grid{gap:48px}
  .hero-art{height:560px}
  .tour-grid{gap:44px}.tour-phone{order:-1}
  .brief{grid-template-columns:1fr;gap:24px;max-width:700px}
  .stats .inner{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(3){padding-inline-start:0;border-inline-start:0}
  .stat:nth-child(n+3){border-top:1px solid var(--border)}
  .feat-grid{grid-template-columns:repeat(2,1fr)}
  .doc-wrap{grid-template-columns:minmax(0,1fr);gap:28px;padding-block:44px 80px}
  .toc{position:static}
  .toc ol{display:flex;flex-wrap:wrap;gap:4px 18px;border:0}
  .toc a{padding:4px 0}
  .toc a.on::before{display:none}
}
@media (width<=640px){
  .feat-grid,.b-grid,.brief .cols{grid-template-columns:1fr}
  .hero-art{height:440px;margin-top:8px}
  .hero-art .phone{width:176px;border-radius:30px;padding:6px}
  .hero-art .phone .scr{border-radius:24px}
  .hero-art .phone::after{top:11px;height:10px}
  .hero-art .p1{transform:translate(calc(-50% - 58px),calc(-50% + 22px)) rotate(-5deg)}
  .hero-art .p2{transform:translate(calc(-50% + 58px),calc(-50% - 18px)) rotate(4deg)}
  .hero-badge{inset-inline-start:50%;transform:translateX(-50%);bottom:0;width:max-content;max-width:94%}
  [dir=rtl] .hero-badge{transform:translateX(50%)}
  .stat{padding-inline-end:12px}.stat+.stat{padding-inline-start:20px}
  .feat{padding:26px 22px}
  .cta-row .btn{flex:1 1 100%}
  .two{grid-template-columns:1fr}
}


/* ───────── CheckBook specifics ───────── */
.hero-badge img,.get img.ic{background:#fdfbf9}
.state-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.state{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border:1px solid var(--border);border-radius:99px;font-size:13.5px;color:var(--muted-foreground);background:var(--background)}
.state i{width:8px;height:8px;border-radius:50%;background:var(--muted-foreground)}
.state.due i{background:#d4a24c}.state.not i{background:#6e9aae}.state.cashed i{background:#5fae8a}.state.ret i{background:#d4685d}
.tour-phone .phone{box-shadow:0 0 0 1px #333,0 50px 80px -30px rgba(0,0,0,.9),0 0 90px -20px rgba(127,149,105,.22)}

/* ───────── FAQ ───────── */
.faq-items{border-top:1px solid var(--border);max-width:820px}
.faq-items details{border-bottom:1px solid var(--border);padding:1.25rem 0}
.faq-items summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;font-weight:600;font-size:1.05rem;list-style:none}
.faq-items summary::-webkit-details-marker{display:none}
.faq-items summary span[aria-hidden]{font-size:1.5rem;font-weight:400;transition:transform .2s;color:var(--muted-foreground)}
.faq-items details[open] summary span[aria-hidden]{transform:rotate(45deg)}
.faq-items p{color:var(--muted-foreground);margin-top:1rem;line-height:1.85;max-width:44em}
