/* Shared controls and estimator, using the existing studio palette. */
:root{--panel:#1c1823;--panel-raised:#26202f;--control-border:#655174;--on-accent:#20142d}
.theme-toggle{flex-shrink:0;color:var(--ink);min-width:44px;width:44px;height:44px}
.theme-toggle .theme-moon{display:none}
html[data-theme=light] .theme-toggle .theme-sun{display:none}
html[data-theme=light] .theme-toggle .theme-moon{display:block}
.header{gap:16px}.header nav{gap:22px}.language-switch{margin-left:0}
.email-contact{display:flex;align-items:center;justify-content:space-between;min-height:50px;border-top:1px solid var(--line);margin-top:12px;padding-top:12px;color:var(--accent);font-size:16px}
.telegram-handle{font-size:clamp(17px,1.8vw,23px);letter-spacing:-.5px}.email-contact svg{width:18px}
.calculator-section{border-top:1px solid var(--line);scroll-margin-top:24px}
.calculator-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,1fr);gap:32px;align-items:start}
.calculator-form{padding:0;min-width:0}.calculator-hint{color:var(--muted);font-size:13px;margin:0 0 24px;max-width:600px}
.calculator-group{margin:0 0 22px;border:1px solid var(--line);border-radius:12px;padding:16px;min-width:0}
.calculator-group legend{padding:0 8px;font-size:15px;font-weight:700}
.calculator-option{display:flex;align-items:center;gap:12px;position:relative;min-height:88px;border:1px solid var(--line);border-radius:8px;padding:15px;margin:10px 0 0;background:var(--panel);font-weight:400;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
.calculator-option:has(input:checked){border-color:var(--accent);background:var(--soft);box-shadow:inset 3px 0 0 var(--accent)}
.calculator-option:hover{border-color:var(--accent)}
.calculator-option input,.calculator-none input{width:18px;height:18px;margin:0;flex-shrink:0;accent-color:var(--accent)}
input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.calculator-option-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.calculator-option-copy strong{font-size:14px;font-weight:600;line-height:1.45}.calculator-option-copy small{font-size:12px;font-weight:400;color:var(--muted);line-height:1.5}
.calculator-option-price{font-size:13px;color:var(--accent);font-weight:600;white-space:nowrap}
.calculator-none{display:flex;align-items:center;gap:10px;min-height:44px;font-size:12px;color:var(--muted);font-weight:400;cursor:pointer;margin:0}
.calculator-summary{position:sticky;top:24px;padding:30px;border:1px solid var(--control-border);border-radius:14px;background:var(--panel)}
.calculator-summary>.eyebrow{color:var(--accent);font-size:11px}.calculator-empty{color:var(--muted);font-size:14px;line-height:1.8;padding:20px 0;margin:0}
.calculator-selected{list-style:none;margin:22px 0 0;padding:0}.calculator-selected li{display:flex;justify-content:space-between;align-items:start;gap:16px;font-size:13px;padding:12px 0;border-bottom:1px solid var(--line)}.calculator-selected li>span:last-child{white-space:nowrap;color:var(--muted)}
.calculator-total{padding:25px 0;border-bottom:1px solid var(--line);margin-bottom:24px}.calculator-total>span{font-size:12px;color:var(--muted)}.calculator-total p{font-size:clamp(30px,3vw,43px);line-height:1.25;letter-spacing:-1.5px;margin:10px 0;font-weight:600}.calculator-total small{font-size:12px;color:var(--muted)}
.calculator-summary .button{width:100%;font-size:12px;gap:12px;min-height:56px}.calculator-summary .button[aria-disabled=true]{background:var(--panel-raised);color:var(--muted);border-color:var(--line);cursor:default;transform:none;box-shadow:none}
.calculator-summary .button:not([href]){pointer-events:none}
.calculator-send-note,.calculator-disclaimer{font-size:12px;color:var(--muted);line-height:1.75;margin:16px 0 0}.calculator-disclaimer{border-top:1px solid var(--line);padding-top:18px}.calculator-reset{font-size:13px;color:var(--accent);text-decoration:underline;text-underline-offset:4px;padding:0 10px;min-height:44px}.calculator-shortcut{justify-content:flex-start;margin-top:25px}
/* Light theme: all major surfaces, content, illustrations and controls. */
html[data-theme=light]{color-scheme:light;--bg:#f7f6fb;--ink:#24202d;--muted:#62596d;--line:#d9d2e2;--accent:#6841bd;--accent-hover:#543197;--soft:#eee6fa;--white:#fff;--panel:#fff;--panel-raised:#f0ebf6;--control-border:#b6a6c9;--on-accent:#fff}
html[data-theme=light] .primary{background:var(--accent);color:#fff}html[data-theme=light] .primary:hover{background:var(--accent-hover)}
html[data-theme=light] .product-card:hover,html[data-theme=light] .journey-grid article:hover{background:#fff;border-color:#9b82b9;box-shadow:0 12px 35px #35204412}
html[data-theme=light] .round-arrow{color:var(--accent)}html[data-theme=light] .product-card:hover .round-arrow{color:#fff}
html[data-theme=light] .experience-copy>p,html[data-theme=light] .demo-chat p{color:#51445f}
html[data-theme=light] .ghost{background:#fff8;border-color:#b6a6c9}html[data-theme=light] .ghost:hover{background:var(--soft)}
html[data-theme=light] .demo-console{background:linear-gradient(145deg,#fff,#f0eaf9 85%);border-color:#b6a6c9;box-shadow:0 25px 70px #5d3d8114}
html[data-theme=light] .console-header,html[data-theme=light] .console-footer{border-color:var(--line)}
html[data-theme=light] .console-mark,html[data-theme=light] .demo-badge,html[data-theme=light] .chat-label{color:#65477f}
html[data-theme=light] .demo-badge{border-color:#b6a6c9}html[data-theme=light] .demo-chat{background:#fff8;border-color:#cbbdd9}
html[data-theme=light] .demo-options button{background:#fff;color:#57416d;border-color:#b6a6c9}html[data-theme=light] .demo-options button:hover,html[data-theme=light] .demo-options button[aria-pressed=true]{background:#e7dbf5;border-color:var(--accent);color:#452d60}
html[data-theme=light] .console-footer button,html[data-theme=light] .demo-disclaimer{color:#675576}
html[data-theme=light] .ai-sphere>svg{color:#8250ba;filter:drop-shadow(0 0 15px #9968cd66)}html[data-theme=light] .ai-sphere::before{background:radial-gradient(ellipse at top left,#c3a1e755,#eee4f655)}
html[data-theme=light] .finder-section{background:radial-gradient(ellipse at 90% 40%,#d4bbf044,transparent 65%),#f0ebf6;border-color:var(--line)}
html[data-theme=light] .finder-box,html[data-theme=light] .telegram-panel,html[data-theme=light] .journey-grid article,html[data-theme=light] .before-after article,html[data-theme=light] dialog,html[data-theme=light] .pricing-card{background:#fff;border-color:var(--line)}
html[data-theme=light] .finder-option{background:#f8f5fc;border-color:#cbbdd9;color:#35253f}html[data-theme=light] .finder-option:hover{background:#eae0f5;border-color:var(--accent)}
html[data-theme=light] .finder-progress,html[data-theme=light] .quiet-button,html[data-theme=light] .finder-result-copy,html[data-theme=light] .before-after p,html[data-theme=light] .journey-grid article>span{color:#6c537d}
html[data-theme=light] .progress-line{background:#dbcee7}html[data-theme=light] .before-after article:nth-child(2),html[data-theme=light] .service-question,html[data-theme=light] .dialog-benefit{background:#eee6f8;border-color:#cbbdd9}
html[data-theme=light] .mobile-menu{background:#fff;border-color:#cbbdd9;box-shadow:0 15px 50px #35204422}html[data-theme=light] .mobile-menu a{border-color:var(--line)}
html[data-theme=light] .language-switch{border-color:#b6a6c9}html[data-theme=light] .language-switch a{color:#665176}html[data-theme=light] .language-switch a[aria-current=true]{background:var(--accent);color:#fff}html[data-theme=light] .language-switch a:hover{background:#e7dbf5;color:#452d60}html[data-theme=light] .language-switch a[aria-current=true]:hover{background:var(--accent-hover);color:#fff}
html[data-theme=light] .filter-chip[aria-pressed=true]{color:#fff}html[data-theme=light] .icon-button:hover{background:#eae0f5}
html[data-theme=light] .card-description .card-price{color:#6841a4;border-color:#b6a6c9;background:#f1eafb}html[data-theme=light] .dialog-price{background:#f1eafb;border-color:#b6a6c9}
html[data-theme=light] .pricing-card>.eyebrow,html[data-theme=light] .pricing-card ul{color:#665176}html[data-theme=light] .price-value{color:var(--ink)}
html[data-theme=light] .approach{background:#eee8f5}html[data-theme=light] .approach .eyebrow,html[data-theme=light] .steps p,html[data-theme=light] .approach-heading>p{color:var(--muted)}
html[data-theme=light] .bot-art{background:#eee7f8}html[data-theme=light] .incoming{background:#fff;color:#5d4b70}html[data-theme=light] .reply{background:var(--accent);color:#fff}
html[data-theme=light] .automation-art{background:#ebe7f1}html[data-theme=light] .workflow>span:not(.connector){background:#fff;color:#544263;border-color:#cbbdd9}html[data-theme=light] .workflow .workflow-ai{background:var(--accent)!important;color:#fff;border-color:var(--accent)!important}
html[data-theme=light] .content-art,html[data-theme=light] .website-art{background:#eae3f3}html[data-theme=light] .content-sheet{background:#fff;color:#3d2c50}html[data-theme=light] .sheet-label{color:#756083}html[data-theme=light] .sheet-line{background:#c7b4d5}html[data-theme=light] .content-tag{background:var(--accent);color:#fff}
html[data-theme=light] .training-art{background:#e9e5ee}html[data-theme=light] .training-line{color:#675773;border-color:#cbbdd9}html[data-theme=light] .training-line.active{background:#d8cce6;color:#3b294a}
html[data-theme=light] .mini-browser{background:#fff;border-color:#b6a6c9}html[data-theme=light] .browser-toolbar{background:#e6dcf0;border-color:#cbbdd9}html[data-theme=light] .browser-title{color:#3b294a}html[data-theme=light] .browser-toolbar>span,html[data-theme=light] .website-caption{color:#735b84}
html[data-theme=light] .browser-button{background:var(--accent);color:#fff}html[data-theme=light] .browser-nav>b{background:var(--accent)}html[data-theme=light] .browser-lines{background:#b6a6c9}
html[data-theme=light] .skip{background:var(--accent);color:#fff}
@media(max-width:1100px){.header nav{gap:16px}.header{gap:12px}}
@media(max-width:700px){.header{gap:8px;flex-wrap:wrap;height:auto;min-height:80px;padding-top:14px;padding-bottom:14px;justify-content:flex-start}.header .brand{margin-right:auto;font-size:18px;gap:7px}.header .brand svg{width:23px;height:23px}.language-switch a{min-width:34px;min-height:44px}.language-switch{margin-left:0}.theme-toggle{margin-left:0}.header .menu-toggle{margin-left:0}.calculator-layout{grid-template-columns:1fr;gap:24px}.calculator-summary{position:static;padding:24px}.calculator-group{padding:12px}.calculator-option{padding:13px;gap:10px;flex-wrap:wrap}.calculator-option-copy{flex-basis:calc(100% - 30px)}.calculator-option-price{padding-left:28px;font-size:13px}.calculator-option-copy strong{font-size:14px}.calculator-option-copy small{font-size:12px}.calculator-total p{font-size:37px}.calculator-section h2{font-size:37px}.calculator-selected li{font-size:12px}.calculator-summary .button{font-size:13px}.telegram-handle{font-size:20px}.mobile-menu{top:82px}}
@media(max-width:380px){.header .brand,html[lang=en] .header .brand{font-size:16px;gap:5px}.header .brand svg{width:19px;height:19px}.header{gap:6px}.language-switch{padding:1px}.language-switch a{min-width:28px}.theme-toggle,.header .menu-toggle{min-width:44px;width:44px}.calculator-selected li{flex-wrap:wrap;gap:4px}.calculator-total p{font-size:32px}}
/* Explicit card surfaces prevent dark-only rules from leaking into light mode. */
html[data-theme=light] .product-card{background:#fff;color:var(--ink);border-color:var(--line)}
html[data-theme=light] .product-card .card-title,html[data-theme=light] .product-card .card-footer>span:last-child{color:var(--ink)}
html[data-theme=light] .product-card .card-description,html[data-theme=light] .product-card .card-top .eyebrow,html[data-theme=light] .product-card .card-footer{color:var(--muted)}
html[data-theme=light] .product-card:hover{background:#f1ebf9;border-color:#9b82b9}
html[data-theme=light] .workflow .workflow-ai,html[data-theme=light] .workflow .workflow-ai svg{color:#fff}
/* A compact visitor-controlled analytics notice. */
.privacy-link{border:0;background:none;color:var(--muted);text-decoration:underline;text-underline-offset:4px;font-size:12px;padding:8px 0;min-height:44px;cursor:pointer}.privacy-link:hover{color:var(--accent)}
.privacy-banner{position:fixed;z-index:15;bottom:20px;left:50%;transform:translateX(-50%);width:min(850px,calc(100% - 32px));border:1px solid var(--control-border);background:var(--panel);border-radius:12px;box-shadow:0 16px 60px #0004;padding:20px 24px;display:flex;gap:24px;align-items:center}.privacy-banner[hidden]{display:none}.privacy-banner>p{font-size:13px;line-height:1.7;margin:0;flex:1}.privacy-banner .privacy-link{color:var(--accent);min-height:32px;padding:0}.privacy-actions{display:flex;gap:10px;flex-wrap:wrap}.privacy-actions .button{font-size:12px;min-height:44px;padding:12px 15px;justify-content:center;white-space:nowrap;gap:10px}#privacy-dialog p{font-size:13px;line-height:1.8;color:var(--muted)}#privacy-dialog .privacy-actions{margin-top:20px}#privacy-dialog .privacy-docs{font-size:13px;color:var(--accent);text-decoration:underline}#privacy-status{font-weight:600}
@media(max-width:700px){.privacy-banner{padding:16px;bottom:12px;display:block}.privacy-banner .privacy-actions{margin-top:12px}.privacy-banner .privacy-actions .button{flex:1}.privacy-banner>p{font-size:12px}.privacy-actions .button{white-space:normal}.privacy-banner:has(~ dialog[open]){visibility:hidden}}
.price-basis{padding-top:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}.market-rate{font-size:11px;line-height:1.7;margin:0;color:var(--muted);max-width:850px}

.finder-option>span:last-child{color:inherit}.finder-option:hover>span:last-child{transform:none}

/* Single, prominent Telegram action in the contact panel. */
.telegram-panel .telegram-handle{display:inline-flex;justify-content:center;gap:12px;min-height:54px;width:auto;max-width:100%;margin-top:22px;padding:15px 22px;border:1px solid transparent;border-radius:var(--radius);font-size:16px;font-weight:600;line-height:1.4;letter-spacing:0;background:var(--accent);color:#20182e}
.telegram-panel .telegram-handle:hover{background:var(--accent-hover);color:#20182e}
html[data-theme=light] .telegram-panel .telegram-handle,html[data-theme=light] .telegram-panel .telegram-handle:hover{color:#fff}


/* A shared decorative brand icon, including dynamically created contact links. */
a[href^="https://t.me/"],#calculator-telegram{display:inline-flex;align-items:center;gap:10px}
a[href^="https://t.me/"].button,#calculator-telegram{justify-content:center}
a[href^="https://t.me/"]::before,#calculator-telegram::before{content:"";display:inline-block;width:20px;height:20px;flex:0 0 20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21.4%203.3%2018%2020c-.2%201-1.1%201.3-1.9.7l-5.2-3.9-2.5%202.4c-.3.3-.5.5-1%20.5l.4-5.3%209.7-8.8c.4-.4-.1-.6-.6-.3L5%2012.9%200%2011.3c-1.1-.4-1.1-1.1.2-1.6L20%202c.9-.3%201.7.2%201.4%201.3Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21.4%203.3%2018%2020c-.2%201-1.1%201.3-1.9.7l-5.2-3.9-2.5%202.4c-.3.3-.5.5-1%20.5l.4-5.3%209.7-8.8c.4-.4-.1-.6-.6-.3L5%2012.9%200%2011.3c-1.1-.4-1.1-1.1.2-1.6L20%202c.9-.3%201.7.2%201.4%201.3Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat}
