/* Branding and common controls */
.brand{flex-direction:column;align-items:flex-start;gap:2px;flex-shrink:0;min-width:142px}.brand-logo{display:block;width:142px;height:47px;max-width:none;object-fit:contain}.brand>span:last-child{line-height:1.4}.brand strong{font-size:.76rem;font-weight:500}.brand small{display:none}.site-footer .brand-logo{width:172px;height:57px}.site-footer .brand strong{font-size:1rem}.site-footer .brand small{display:block;font-size:.8rem;margin-top:5px}.header-inner{gap:18px}.header-actions{gap:13px}.theme-picker{display:none;position:relative;flex-shrink:0;line-height:1}.js .theme-picker{display:block}.theme-picker summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:42px;height:42px;border:1px solid var(--border);border-radius:12px;background:var(--paper);color:var(--ink)}.theme-picker summary::-webkit-details-marker{display:none}.theme-picker summary:hover{border-color:var(--green)}.theme-moon{display:none}.theme-options{position:absolute;inset-inline-end:0;top:calc(100% + 12px);width:215px;z-index:80;padding:8px;border:1px solid var(--border);border-radius:14px;background:var(--paper);box-shadow:0 16px 40px #001a1722}.theme-options button{font:inherit;font-size:.9rem;display:flex;justify-content:space-between;gap:12px;width:100%;padding:13px 14px;border:0;background:transparent;color:var(--ink);border-radius:8px;text-align:start;cursor:pointer}.theme-options button:hover{background:var(--mint)}.theme-options button span{visibility:hidden;color:var(--green)}.theme-options button[aria-pressed=true]{background:var(--mint);font-weight:700}.theme-options button[aria-pressed=true] span{visibility:visible}.theme-picker[open] summary{outline:2px solid var(--green);outline-offset:2px}.back-top{position:fixed;inset-inline-end:24px;bottom:25px;z-index:40;width:46px;height:46px;border:1px solid var(--border);border-radius:14px;background:var(--paper);color:var(--green);box-shadow:0 5px 22px #001a1720;cursor:pointer}.back-top .icon{width:22px;height:22px}.content-search{display:grid;gap:9px;margin-block:24px;text-align:start}.content-search label{font-size:.95rem;font-weight:700}.content-search input{width:100%;padding:13px 17px;font:inherit;font-size:1rem;color:var(--ink);background:var(--paper);border:1px solid var(--border);border-radius:12px}.search-empty{padding:20px;background:var(--mint);border:1px dashed var(--border);border-radius:12px;color:var(--muted);font-size:.95rem}.matrix-search{max-width:580px;margin-inline:auto}.matrix-search input{margin:0}.hero-secondary{white-space:normal}.brand,.nav-links a,.button,.theme-picker summary{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid var(--green);outline-offset:4px}.hero-actions{flex-wrap:wrap}.hero-actions .button{white-space:normal}.header-actions .button{white-space:nowrap}.header-actions .login-link{white-space:nowrap}
/* The dark palette is separate from the brand button color. */
html[data-theme=dark]{--paper:var(--night-bg,#0c1916);--ink:var(--night-text,#eef7f2);--muted:#b0c4b9;--mint:#1b332b;--border:#355046;--green:var(--night-link,#79dbb2);color-scheme:dark}
html[data-theme=dark] .yazd-sms{--mint:#1b332b}
[data-theme=dark] .site-header{background:#0e201bec;border-color:var(--border)}
[data-theme=dark] .brand-logo{background:#f7fcf9;border-radius:8px;padding:3px 5px;box-sizing:content-box}
[data-theme=dark] .hero,[data-theme=dark] .page-hero{background:radial-gradient(ellipse at 16% 30%,#1b3d30 0%,var(--paper) 70%);border-color:var(--border)}
[data-theme=dark] :is(.plans-section,.soft-section,.faq-section,.integrations-section,.site-footer){background:#10221c;border-color:var(--border)}
[data-theme=dark] :is(.service-card,.price-card,.calculator-card,.plugin-card,.api-resource-card,.integration-node,.step-marker,.sample-controls,.float-card,.guide-aside,.contact-bottom,.contact-detail-card){background:var(--night-surface,#142923);border-color:var(--border);box-shadow:none}
[data-theme=dark] .price-card.featured{background:linear-gradient(165deg,#214739,var(--night-surface,#142923) 55%);border-color:var(--green)}
[data-theme=dark] :is(.phone-app,.phone-reply,.guide-body,.plugin-search input,.calculator-card input,.calculator-card textarea,.nav-links .sub-menu){background:#142a22;color:var(--ink);border-color:var(--border)}
[data-theme=dark] .phone-mockup{background:#10241d;border-color:#315043;box-shadow:0 25px 70px #0005}
[data-theme=dark] :is(.phone-status,.phone-app strong){color:var(--ink)}
[data-theme=dark] .sms-bubble{background:#264d3c;color:#edf8f1}
[data-theme=dark] .sms-bubble b{color:var(--green)}
[data-theme=dark] :is(.avatar,.status-icon,.guide-icon,.matrix-yes,.calculator-title>span,.estimate,.hero-benefits .icon){background:#234735;color:var(--green)}
[data-theme=dark] :is(.hero-benefits,.usecases-strip span,.price-card li,.check-list li,.comparison-table td,.calculator-card label,.calculation-tip,.entry-content p,.post-preview p){color:#c2d5c9}
[data-theme=dark] :is(.hero-footnote,.phone-day,.phone-app small,.message-meta,.sample-button,.price-term,.muted,.text-counter,.guide-article small,.footer-bottom,.plan-summary>div,.breadcrumbs,.plugin-tag){color:#a8bfb2}
[data-theme=dark] .usecases-strip{background:var(--paper)}
[data-theme=dark] .orbit-one{background:radial-gradient(circle,#1e4935 0%,#153626 54%,transparent 55%)}
[data-theme=dark] .orbit-two,[data-theme=dark] .page-emblem:before,[data-theme=dark] .page-emblem:after{border-color:#355c48}
[data-theme=dark] .button:not(.button-outline):not(.button-orange),[data-theme=dark] .plan-badge,[data-theme=dark] .page-emblem>span,[data-theme=dark] .integration-center{background:var(--brand-primary,#14805d);border-color:var(--brand-primary,#14805d);color:#fff}
[data-theme=dark] .button:not(.button-outline):not(.button-orange):hover{background:#176d50;border-color:#72c69e}
[data-theme=dark] .button-outline{color:var(--green);border-color:#51715f;background:transparent}
[data-theme=dark] .button-outline:hover{background:#234735;border-color:var(--green)}
[data-theme=dark] .button-orange{color:#16392b}
[data-theme=dark] .feature-icon.green{background:#244632;color:#93e3af}
[data-theme=dark] .feature-icon.orange,[data-theme=dark] .connection-icon{background:#3d3222;color:#f4ca83}
[data-theme=dark] .feature-icon.blue{background:#213746;color:#a8d4ed}
[data-theme=dark] .feature-icon.purple{background:#332a43;color:#d5baf1}
[data-theme=dark] .sample-button.active{color:var(--green);background:#214632}
[data-theme=dark] .text-link:hover{color:#b1f6d2;border-color:#b1f6d2}
[data-theme=dark] .node-wp{color:#a3cbe6}[data-theme=dark] .node-woo{color:#d5baf1}[data-theme=dark] .node-api{color:#f4ca83}
[data-theme=dark] .table-scroll,[data-theme=dark] .comparison-table th,[data-theme=dark] .comparison-table td,[data-theme=dark] .guide-article,[data-theme=dark] .guide-body,[data-theme=dark] .api-card{border-color:var(--border)}
[data-theme=dark] .comparison-table tbody th,[data-theme=dark] .business-matrix tbody tr:nth-child(even) td{background:#173026}
[data-theme=dark] .comparison-table tbody tr:nth-child(odd) td{background:var(--night-surface,#142923)}
[data-theme=dark] :is(.api-note,.tariff-conditions){background:#302b1d;color:#e0d2ac;border-color:#665634}
[data-theme=dark] .tariff-conditions .check-list li{color:#e0d2ac}
[data-theme=dark] .plugin-filters button{background:#142a22;color:#bdd4c5;border-color:var(--border)}
[data-theme=dark] .plugin-filters button.active{background:#234735;color:#a8ebc5;border-color:var(--green)}
[data-theme=dark] .footer-grid>div>a:not(.brand):not(.button){color:#c0d6c7}
[data-theme=dark] .theme-sun{display:none}[data-theme=dark] .theme-moon{display:block}
[data-theme=dark] .calc-error{color:#ffaaa1}[data-theme=dark] .skip-link{background:var(--paper);color:var(--ink)}
@media(max-width:1100px){.header-inner{gap:13px}.header-actions{gap:10px}.brand-logo{width:125px;height:42px}.brand{min-width:130px}.nav-links{gap:14px}.header-actions .button{padding-inline:15px}.theme-picker summary{width:38px;height:38px}}
@media(max-width:900px){.site-header nav{background:var(--paper);border-color:var(--border)}.header-inner{gap:13px}.brand{margin-inline-end:auto}.theme-picker{order:0}.header-actions{order:1}.menu-toggle{order:2}.brand-logo{width:138px;height:46px}.brand{min-width:140px}.theme-options{inset-inline-end:0}.brand strong{font-size:.72rem}}
@media(max-width:640px){.header-inner{gap:10px;height:80px}.brand{min-width:121px}.brand-logo{width:121px;height:40px}.brand strong{font-size:.68rem}.header-actions{display:flex;gap:8px}.header-actions .login-link{display:none}.header-actions .button{font-size:.8rem;min-height:38px;padding:7px 10px}.theme-picker summary{width:36px;height:36px;border-radius:10px}.menu-toggle{width:36px;height:36px;padding:6px}.back-top{inset-inline-end:16px;bottom:16px;width:42px;height:42px}.hero h1{font-size:2.35rem}.hero-actions .button{font-size:.9rem;min-height:46px}.hero-actions{gap:12px}.theme-options{width:195px}.content-search input{font-size:1rem}.hero-description,.service-card>p,.api-card p,.plugin-card p,.guide-body p,.contact-detail-card p{font-size:1rem}.nav-links{font-size:1rem}}
@media(max-width:360px){.header-actions .button{padding-inline:7px;font-size:.72rem}.header-inner{gap:7px}.brand{min-width:110px}.brand-logo{width:110px;height:37px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.back-top{transition:none}}
