@font-face { font-family:Manrope; font-style:normal; font-weight:600; font-display:swap; src:url('../assets/fonts/Manrope-SemiBold.ttf') format('truetype'); }
@font-face { font-family:Manrope; font-style:normal; font-weight:700; font-display:swap; src:url('../assets/fonts/Manrope-Bold.ttf') format('truetype'); }
@font-face { font-family:'IBM Plex Sans'; font-style:normal; font-weight:400; font-display:swap; src:url('../assets/fonts/IBMPlexSans-Regular.ttf') format('truetype'); }
@font-face { font-family:'IBM Plex Sans'; font-style:normal; font-weight:600; font-display:swap; src:url('../assets/fonts/IBMPlexSans-SemiBold.ttf') format('truetype'); }
:root {
  color-scheme:dark; --bg:#17120F; --surface:#241C18; --line:#3A302A;
  --text:#F4EFEA; --muted:#B7A9A0; --accent:#C7A27A;
  --border:var(--line); --muted-2:var(--muted); --transition:180ms cubic-bezier(.2,0,.2,1);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:96px; background:var(--bg); }
body { margin:0; background:var(--bg); color:var(--text); font-family:'IBM Plex Sans','Segoe UI',sans-serif; font-size:16px; line-height:1.6; }
body.modal-open { overflow:hidden; }
main,footer { position:relative; z-index:1; }
.data-background { opacity:.5; position:fixed; inset:0; overflow:hidden; pointer-events:none; z-index:0; color:var(--accent); }
.data-background > svg { width:100%; height:100%; display:block; }
.data-plane { animation:data-plane-drift 38s ease-in-out infinite alternate; }
.data-grid { fill:none; stroke:currentColor; stroke-width:.65; opacity:.13; }
.data-grid .data-grid-major { stroke-width:1.1; }
.data-reference-lines { fill:currentColor; stroke:currentColor; stroke-width:.65; opacity:.22; }
.data-background text { stroke:none; fill:currentColor; font:13px 'IBM Plex Sans',sans-serif; letter-spacing:.5px; }
.data-node-ring { fill:none; stroke-width:1; }
.data-node-band { animation:data-band-breathe 17s ease-in-out infinite; animation-delay:var(--phase); }
.data-columns { fill:var(--accent); }
.data-column { opacity:.16; transform-box:fill-box; transform-origin:center bottom; animation:data-column-rise 13s ease-in-out infinite alternate; animation-delay:var(--phase); }
@keyframes data-column-rise { 0%,15% { transform:scaleY(.58); opacity:.1; } 75%,100% { transform:scaleY(1); opacity:.2; } }
.data-candles { fill:currentColor; stroke:currentColor; stroke-width:1; opacity:.25; transform-box:fill-box; transform-origin:center bottom; animation:data-bars-breathe 14s ease-in-out infinite alternate; }
.data-candle-hollow { fill:var(--bg); }
.data-series-base { fill:none; stroke:currentColor; stroke-width:1; opacity:.18; }
.data-series-trace { fill:none; stroke:currentColor; stroke-width:1.8; stroke-dasharray:1; animation:data-trace 18s linear infinite; }
.data-series-nodes { fill:currentColor; opacity:.38; }
.data-series-point { animation:data-band-breathe 16s ease-in-out infinite; animation-delay:var(--phase); }
@keyframes data-plane-drift { from { transform:translate(-14px,8px); } to { transform:translate(14px,-8px); } }
@keyframes data-band-breathe { 0%,100% { opacity:.2; } 25%,65% { opacity:1; } }
@keyframes data-bars-breathe { from { transform:scaleY(.92); opacity:.18; } to { transform:scaleY(1); opacity:.3; } }
@keyframes data-trace { 0% { stroke-dashoffset:1; opacity:0; } 8% { opacity:.48; } 72%,86% { stroke-dashoffset:0; opacity:.48; } 100% { stroke-dashoffset:0; opacity:0; } }
.background-paused .data-background *,.page-hidden .data-background * { animation-play-state:paused !important; }
.background-toggle { border:0; border-bottom:1px dashed var(--line); background:transparent; color:var(--muted); padding:6px 0; font-size:12px; white-space:nowrap; }
.background-toggle:hover { color:var(--text); }
@media(max-width:900px) {
  .data-background { opacity:.38; }
  .data-plane,.data-candles,.data-series-point { animation:none; }
  .data-column:nth-child(even) { animation:none; }
}
[hidden] { display:none !important; }
button,input,select,textarea { font:inherit; color:inherit; }
button,a,input,select,textarea,summary { -webkit-tap-highlight-color:transparent; }
button,a,summary { touch-action:manipulation; }
button { cursor:pointer; }
button:disabled { cursor:default; opacity:.4; }
a { color:inherit; text-decoration:none; }
p { margin:0 0 18px; }
h1,h2,h3,h4 { font-family:Manrope,'Segoe UI',sans-serif; font-weight:650; line-height:1.14; margin:0; letter-spacing:0; }
h1 { font-size:clamp(40px,4.55vw,58px); }
h2 { font-size:clamp(30px,3.5vw,46px); }
h3 { font-size:24px; }
img { max-width:100%; }
:focus-visible { outline:2px solid var(--accent); outline-offset:5px; }
::selection { background:var(--accent); color:var(--bg); }
.container { width:min(1120px,calc(100% - 48px)); margin-inline:auto; }
.section { padding:88px 0; }
.section-tight { padding:56px 0; }
.section-kicker,.eyebrow { display:block; color:var(--muted); font-size:14px; margin-bottom:16px; }
.section-kicker::before { content:''; display:inline-block; width:16px; height:1px; background:var(--accent); margin:0 10px 4px 0; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:36px; }
.section-head > p { max-width:380px; color:var(--muted); margin:0; }
.section-head .faq-intro { max-width:620px; margin:18px 0 0; color:var(--muted); }
.button { min-height:48px; display:inline-flex; gap:16px; justify-content:center; align-items:center; padding:12px 20px; border:1px solid var(--line); border-radius:6px; background:transparent; font-weight:600; line-height:1.3; transition:background var(--transition),transform 120ms ease,border-color var(--transition); }
.button:hover { border-color:var(--accent); background:var(--surface); }
.button:active { transform:translateY(1px); }
.button--primary { color:var(--bg); background:var(--accent); border-color:var(--accent); }
.button--primary:hover { background:var(--text); border-color:var(--text); }
.button--small { min-height:40px; padding:10px 16px; font-size:14px; }
.glass-card { background:var(--surface); border:1px solid var(--line); border-radius:8px; }
.site-header { position:sticky; top:0; z-index:20; background:var(--bg); border-bottom:1px solid var(--line); }
.header-inner { padding:16px 0; }
.portfolio-header__row { display:flex; align-items:center; gap:16px; }
.portfolio-header__row .background-toggle { flex-shrink:0; min-height:40px; }
.brand { display:inline-flex; align-items:center; gap:10px; font-weight:650; white-space:nowrap; }
.brand-mark { width:32px; height:32px; display:grid; place-items:center; background:var(--accent); color:var(--bg); border-radius:6px; }
.desktop-nav { display:flex; gap:22px; margin-left:auto; font-size:14px; color:var(--muted); }
.desktop-nav a { position:relative; }
.desktop-nav a:hover,.desktop-nav a[aria-current] { color:var(--text); }
.desktop-nav a[aria-current]::after { content:''; position:absolute; bottom:-25px; height:2px; background:var(--accent); inset-inline:0; }
.menu-toggle { display:none; width:44px; height:44px; border:1px solid var(--line); border-radius:6px; background:var(--surface); }
.menu-toggle span { display:block; width:18px; height:1px; margin:5px auto; background:var(--text); }
.mobile-nav { padding:16px 24px; border-top:1px solid var(--line); }
.mobile-nav a { display:block; padding:12px 0; }
.hero { padding-top:48px; padding-bottom:64px; }
.hero-grid { display:grid; gap:32px; }
.hero-copy { display:grid; grid-template-columns:1.5fr 1fr; gap:0 64px; }
.hero-copy .eyebrow { grid-column:1/-1; }
.hero-copy h1 { grid-column:1; grid-row:2/4; }
.hero-copy h1 span { display:block; color:var(--accent); }
.hero-lead { grid-column:2; color:var(--muted); margin:0; padding-top:6px; max-width:440px; }
.hero-actions { grid-column:2; display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; align-items:start; }
.hero-stage { border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--surface); }
.showcase-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; border-bottom:1px solid var(--line); }
.showcase-tabs { display:flex; gap:4px; }
.showcase-tabs button { border:1px solid transparent; border-radius:6px; background:transparent; padding:10px 16px; color:var(--muted); transition:background var(--transition),color var(--transition); }
.showcase-tabs button[aria-pressed=true] { background:var(--accent); color:var(--bg); }
.showcase-note { color:var(--muted); font-size:13px; }
.showcase-screen { display:block; aspect-ratio:2080 / 1171; background:var(--bg); padding:16px; }
.showcase-screen img { width:100%; height:100%; display:block; object-fit:contain; border-radius:4px; }
.showcase-screen { overflow:hidden; }
.showcase-caption { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:18px 24px; border-top:1px solid var(--line); }
.showcase-caption p { margin:0; color:var(--muted); font-size:14px; }
.showcase-caption strong { display:block; font-size:18px; color:var(--text); font-weight:600; }
.showcase-caption a { color:var(--accent); font-weight:600; white-space:nowrap; }
.solutions-layout { display:grid; grid-template-columns:1fr 1.3fr; gap:72px; border-top:1px solid var(--line); padding-top:48px; }
.solutions-intro p { color:var(--muted); margin-top:18px; }
.solution-row { padding:24px 0; border-bottom:1px solid var(--line); display:flex; gap:24px; align-items:start; }
.solution-row > span { color:var(--accent); padding-top:4px; }
.solution-row p { color:var(--muted); margin-bottom:10px; }
.solution-row a { display:inline-block; margin-top:12px; color:var(--accent); font-size:14px; }
#cases { background:rgba(36,28,24,.35); }
.cases-grid { display:grid; gap:48px; }
.demo-shelf { min-width:0; }
.demo-shelf__head,.demo-shelf__controls { display:flex; align-items:center; gap:12px; }
.demo-shelf__head { justify-content:space-between; margin-bottom:18px; }
.demo-shelf__count { font-size:13px; color:var(--muted); margin-right:8px; white-space:nowrap; }
.demo-shelf__nav { width:44px; height:44px; border:1px solid var(--line); border-radius:6px; background:var(--bg); font-size:20px; }
.demo-shelf__nav:hover:enabled { border-color:var(--accent); }
.demo-track { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 24px)/2); gap:24px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; padding:5px 2px 16px; scrollbar-width:thin; scrollbar-color:var(--accent) var(--surface); }
.case-card { min-width:0; scroll-snap-align:start; background:var(--bg); overflow:hidden; cursor:pointer; transition:border-color var(--transition); }
.case-card:hover { border-color:var(--accent); }
.case-preview { aspect-ratio:16 / 10; padding:16px; background:var(--bg); border-bottom:1px solid var(--line); }
.case-preview__image { display:block; width:100%; height:100%; object-fit:contain; object-position:center; border-radius:4px; }
.case-body { padding:16px 20px; }
.case-title-row { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:6px 12px; }
.case-body h3 { min-width:0; font-size:22px; line-height:1.3; }
.case-body p { color:var(--muted); font-size:15px; line-height:1.45; margin:8px 0; }
.case-metrics,.chip-row { display:flex; flex-wrap:wrap; gap:8px; font-size:12px; color:var(--muted); }
.case-metrics span,.chip-row span { border:1px solid var(--line); border-radius:6px; padding:5px 8px; }
.case-metrics { gap:4px 12px; line-height:1.5; }
.case-metrics span { border:0; border-radius:0; padding:0; }
.case-action { display:inline-block; flex-shrink:0; color:var(--accent); font-size:14px; line-height:1.5; font-weight:600; white-space:nowrap; }
.demo-shelf__hint { color:var(--muted); font-size:13px; margin:8px 0 0; }
.services-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.service-card { padding:32px; display:flex; flex-direction:column; }
.service-price strong { display:block; font-size:42px; font-weight:650; line-height:1.3; }
.service-price span { color:var(--muted); font-size:13px; }
.service-scope { margin:24px 0 8px; font-weight:600; }
.service-card > p,.feature-list { color:var(--muted); }
.feature-list { list-style:none; padding:0; margin:12px 0 28px; }
.feature-list li { border-top:1px solid var(--line); padding:9px 0; font-size:14px; }
.service-card .button { margin-top:auto; }
#static-report-price { margin:20px 0 0; }
#calculator { border-top:1px solid var(--line); }
.calc-layout { display:block; }
.calc-intro { display:grid; grid-template-columns:1.3fr 1fr; gap:0 56px; margin-bottom:40px; }
.calc-intro .section-kicker { grid-column:1/-1; }
.calc-intro h2 { grid-column:1; grid-row:2/4; }
.calc-intro > p { grid-column:2; color:var(--muted); margin:0; }
.calc-note { grid-column:2; font-size:13px; color:var(--muted); margin-top:16px; }
.calc-note p { margin:0; }
.calculator { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:40px; align-items:start; border:0; background:transparent; }
.estimate-controls { min-width:0; }
.calc-group { border:0; border-bottom:1px solid var(--line); padding:0 0 28px; margin:0 0 28px; min-width:0; }
.calc-group legend { margin:0 0 16px; padding:0; font-size:18px; font-weight:600; }
.estimate-options { display:grid; gap:10px; }
.option-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.calc-option { position:relative; }
.calc-option input { position:absolute; opacity:0; width:1px; height:1px; }
.calc-option label { display:flex; align-items:center; gap:12px; border:1px solid var(--line); padding:16px; border-radius:6px; cursor:pointer; min-height:56px; background:var(--surface); transition:border-color 120ms ease,background 120ms ease; }
.calc-option label small { display:block; color:var(--muted); font-size:13px; margin-top:4px; }
.calc-option label::before { content:''; flex-shrink:0; width:16px; height:16px; border:1px solid var(--muted); border-radius:50%; }
.calc-option input[type=checkbox] + label::before { border-radius:3px; }
.calc-option input:checked + label { border-color:var(--accent); background:var(--bg); }
.calc-option input:checked + label::before { background:var(--accent); border-color:var(--accent); box-shadow:inset 0 0 0 3px var(--bg); }
.calc-option input:focus-visible + label { outline:2px solid var(--accent); outline-offset:3px; }
.field { display:flex; flex-direction:column; gap:9px; min-width:0; }
.field > span { font-size:14px; }
.field input,.field select,.field textarea { width:100%; background:var(--bg); border:1px solid var(--line); border-radius:6px; padding:14px; min-height:50px; }
.field select option { background:var(--bg); color:var(--text); }
.field textarea { min-height:160px; resize:vertical; }
.field input::placeholder,.field textarea::placeholder { color:var(--muted); opacity:.8; }
.estimate-hint { color:var(--muted); font-size:13px; line-height:1.6; }
#estimate-data-hint,#estimate-refresh-hint { margin:8px 0 0; }
.estimate-result { position:sticky; top:96px; padding:24px; background:var(--surface); border:1px solid var(--line); border-radius:8px; min-width:0; }
.estimate-result > strong { display:block; font-size:42px; line-height:1.15; font-weight:650; font-variant-numeric:tabular-nums; }
#estimate-total-label { margin-bottom:10px; }
#estimate-package { margin:14px 0; font-size:15px; }
#estimate-adjustments { margin-bottom:12px; }
#estimate-price-change { margin:10px 0 0; color:var(--accent); font-size:14px; min-height:22px; }
.estimate-breakdown { margin:16px 0 22px; }
.estimate-breakdown > div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); font-size:13px; }
.estimate-breakdown dt { color:var(--muted); }
.estimate-breakdown dd { margin:0; white-space:nowrap; font-weight:600; }
.estimate-breakdown .line-changed { animation:line-change 650ms ease-out; }
@keyframes line-change { from { background:var(--line); } to { background:transparent; } }
.estimate-pending { padding:14px; border:1px solid var(--accent); border-radius:6px; margin-bottom:16px; }
.estimate-pending p { margin:10px 0 0; font-size:13px; }
.estimate-result h3 { font-size:16px; margin:18px 0 8px; }
.estimate-result ul { padding-left:18px; font-size:13px; color:var(--muted); }
.estimate-result details { font-size:13px; padding:12px 0; border-top:1px solid var(--line); }
.estimate-result summary { cursor:pointer; }
.estimate-result .button { width:100%; font-size:14px; }
#estimate-action-status:empty,#estimate-adjustments:empty { display:none; }
.estimate-mobile-bar { display:none; }
.workflow-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.workflow-step { border:0; border-top:1px solid var(--line); background:transparent; border-radius:0; padding-top:24px; }
.workflow-step > span { display:block; font-size:40px; color:var(--accent); margin-bottom:24px; }
.workflow-step h3 { font-size:20px; }
.workflow-step p { color:var(--muted); margin:12px 0 0; font-size:14px; }
.reviews-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.review-card { padding:24px; }
.review-card p { color:var(--muted); }
.review-author { display:flex; align-items:center; gap:12px; margin:28px 0 16px; }
.review-author strong,.review-author span { display:block; font-size:14px; }
.review-author span { color:var(--muted); font-size:12px; }
.avatar { display:none; }
.review-link { color:var(--accent); font-size:14px; }
.guarantees-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.guarantee-card { border:0; border-top:1px solid var(--line); background:transparent; padding:24px 0; }
.guarantee-icon { color:var(--accent); font-size:24px; margin-bottom:16px; }
.guarantee-card h3 { font-size:20px; }
.guarantee-card p { color:var(--muted); margin:12px 0 0; font-size:14px; }
.faq-layout { display:grid; grid-template-columns:1fr 1.6fr; gap:64px; }
.faq-item { border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; }
.faq-question { width:100%; border:0; background:transparent; text-align:left; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 0; font-weight:600; }
.faq-question b { font-size:22px; color:var(--accent); transition:transform 180ms ease; }
.faq-answer { display:none; color:var(--muted); padding-bottom:20px; }
.faq-answer p { margin:0; }
.faq-item.is-open .faq-answer { display:block; }
.faq-item.is-open .faq-question b { transform:rotate(45deg); }
#contact { background:rgba(36,28,24,.35); border-top:1px solid var(--line); }
.contact-layout { display:grid; grid-template-columns:1fr 1.3fr; gap:64px; }
.contact-copy > p { color:var(--muted); margin-top:24px; }
.copy-link { width:100%; display:flex; flex-wrap:wrap; gap:10px; padding:16px 0; border:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:transparent; text-align:left; margin-top:32px; }
.copy-link span,.copy-link em { color:var(--muted); font-size:13px; font-style:normal; }
.copy-link em { margin-left:auto; }
.contact-form { padding:28px; background:var(--bg); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.contact-form > .field,.contact-form > .form-row { margin-bottom:20px; }
.field-error { color:var(--accent); font-size:13px; }
.has-error input { border-color:var(--accent); }
.field-meta,.counter { text-align:right; color:var(--muted); font-size:12px; }
.form-status,.form-note,.form-hint { font-size:13px; color:var(--muted); margin-top:16px; }
.contact-form > .button { width:100%; }
.contact-consent { display:flex; align-items:flex-start; gap:10px; font-size:13px; line-height:1.5; margin:20px 0; }
.contact-consent input { flex:0 0 18px; width:18px; height:18px; margin:2px 0 0; accent-color:var(--accent); }
.contact-direct { display:inline-block; margin-top:16px; color:var(--accent); font-size:14px; }
.contact-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.estimate-attachment { padding:14px; border:1px solid var(--accent); border-radius:6px; font-size:14px; }
#edit-estimate { color:var(--accent); display:inline-block; margin-bottom:20px; text-decoration:underline; text-underline-offset:4px; }
.site-footer { padding:48px 0 24px; }
.footer-grid { display:flex; gap:48px; justify-content:space-between; }
.footer-grid p,.footer-bottom { font-size:13px; color:var(--muted); }
.footer-grid p { margin-top:16px; }
.footer-links { display:flex; gap:16px; flex-wrap:wrap; }
.footer-bottom { display:flex; justify-content:space-between; gap:24px; border-top:1px solid var(--line); padding-top:24px; margin-top:32px; }
.case-dialog { width:min(820px,calc(100% - 24px)); padding:0; border:1px solid var(--line); border-radius:10px; color:var(--text); background:var(--surface); max-height:calc(100dvh - 24px); }
.case-dialog::backdrop { background:rgba(23,18,15,.85); }
.case-dialog-card { display:grid; grid-template-columns:.95fr 1.05fr; align-items:center; gap:24px; border:0; padding:44px 24px 24px; position:relative; }
.dialog-close { position:absolute; top:8px; right:8px; width:40px; height:40px; border:1px solid var(--line); border-radius:6px; background:var(--bg); font-size:24px; }
.dialog-preview { aspect-ratio:16/10; min-width:0; }
.dialog-preview img { display:block; width:100%; height:100%; object-fit:contain; }
.dialog-content { min-width:0; font-size:14px; }
.dialog-content h2 { font-size:28px; margin-bottom:12px; }
.dialog-content > p { color:var(--muted); }
.dialog-content .button { margin-top:20px; }
.dialog-metrics { display:flex; gap:16px; margin:18px 0; }
.dialog-metrics strong,.dialog-metrics span { display:block; font-size:13px; }
.dialog-metrics span { color:var(--muted); }
.noscript-grid { display:grid; gap:16px; }
.noscript-card,.noscript-note { padding:24px; }

/* Frosted reading surfaces stay inside the shared content grid. */
:is(.hero-copy,.solutions-layout,.section-head,.calc-intro,.estimate-controls,.workflow-grid,.faq-layout,.contact-copy) { position:relative; isolation:isolate; min-width:0; padding:24px; }
:is(.hero-copy,.solutions-layout,.section-head,.calc-intro,.estimate-controls,.workflow-grid,.faq-layout,.contact-copy)::before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; border:1px solid rgba(183,169,160,.18); border-radius:8px; background:rgba(36,28,24,.78); }
.hero-lead,.solutions-intro p,.solution-row p,.section-head > p,.section-head .faq-intro,.calc-intro > p,.workflow-step p,.faq-intro,.faq-answer,.contact-copy > p { color:var(--text); }
.demo-shelf__hint,#static-report-price { color:var(--text); background:rgba(36,28,24,.78); padding:10px 12px; border-radius:6px; }
@media(max-width:900px) {
  :is(.hero-copy,.solutions-layout,.section-head,.calc-intro,.estimate-controls,.workflow-grid,.faq-layout,.contact-copy) { padding:16px; }
}
@supports ((backdrop-filter:blur(10px)) or (-webkit-backdrop-filter:blur(10px))) {
  :is(.hero-copy,.solutions-layout,.section-head,.calc-intro,.estimate-controls,.workflow-grid,.faq-layout,.contact-copy)::before,.demo-shelf__hint,#static-report-price { background:rgba(36,28,24,.4); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
}
@media(max-width:420px) {
  .hero-copy h1 { font-size:32px; }
  .estimate-controls .option-grid { grid-template-columns:1fr; }
}
@media(max-width:1000px) {
  .desktop-nav { gap:12px; }.header-cta { display:none; }
  .hero-copy { gap:0 32px; }.calculator { grid-template-columns:minmax(0,1fr) 330px; gap:24px; }
  .workflow-grid { grid-template-columns:1fr 1fr; }
}
@media(max-width:900px) {
  .desktop-nav { display:none; }.menu-toggle { display:block; margin-left:auto; }
  .portfolio-header__row { gap:10px; }
  .portfolio-header__row .background-toggle { width:40px; height:40px; margin:0; padding:0; font-size:0; border:1px solid var(--line); border-radius:6px; }
  .portfolio-header__row .background-toggle::before { content:''; display:block; width:10px; height:14px; margin:auto; border-left:3px solid var(--muted); border-right:3px solid var(--muted); }
  .portfolio-header__row .background-toggle[aria-pressed=true]::before { width:0; height:0; border:7px solid transparent; border-right:0; border-left:11px solid var(--muted); }
  .hero-copy { grid-template-columns:1fr; }.hero-copy h1,.hero-lead,.hero-actions { grid-column:1; grid-row:auto; }.hero-lead { margin-top:24px; max-width:640px; }
  .calc-intro { display:block; }.calc-intro > p { margin-top:18px; }.calc-note { max-width:620px; }
  .calculator { grid-template-columns:1fr; }.estimate-result { position:static; }
  .estimate-mobile-bar.is-visible { display:flex; position:fixed; z-index:25; inset-inline:0; bottom:0; align-items:center; justify-content:space-between; gap:16px; padding:12px 24px max(12px,env(safe-area-inset-bottom)); background:var(--surface); border-top:1px solid var(--accent); }
  .estimate-mobile-bar span { display:block; font-size:12px; color:var(--muted); }.estimate-mobile-bar strong { font-size:22px; font-variant-numeric:tabular-nums; }
  body.has-estimate-bar { padding-bottom:88px; }
  .solutions-layout,.faq-layout { gap:32px; }.contact-layout { gap:32px; }
  .reviews-grid,.guarantees-grid { grid-template-columns:1fr; }
}
@media(max-width:600px) {
  .container { width:calc(100% - 32px); }.section { padding:56px 0; }.hero { padding-top:28px; }
  .header-inner { padding:10px 0; } h1 { font-size:40px; } h2 { font-size:32px; }
  .hero-actions .button { flex:1; padding:12px; font-size:14px; }
  .showcase-toolbar { padding:10px; flex-wrap:wrap; }.background-toggle { margin-left:auto; }.showcase-tabs { width:100%; flex-shrink:0; }.showcase-tabs button { flex:1; padding:10px; font-size:14px; }.showcase-note { display:none; }
  .showcase-screen { padding:6px; }.showcase-caption { padding:16px; flex-wrap:wrap; gap:12px; }.showcase-caption strong { font-size:16px; }
  .solutions-layout,.services-grid,.contact-layout,.faq-layout { grid-template-columns:1fr; gap:32px; }
  .section-head { display:block; }.section-head > p { margin-top:20px; }
  .demo-track { grid-auto-columns:90%; gap:16px; }.demo-shelf__head h3 { font-size:22px; }.demo-shelf__controls { gap:6px; }.demo-shelf__nav { width:36px; height:40px; }.demo-shelf__count { margin:0; font-size:12px; }
  .case-preview { padding:8px; }.case-body { padding:12px; }.case-body h3 { font-size:18px; }
  .case-body p { font-size:14px; line-height:1.4; margin:6px 0; }
  .demo-shelf__head { gap:8px; }
  .demo-shelf__head h3 { font-size:20px; }
  .demo-shelf__hint { font-size:12px; line-height:1.45; padding:8px 10px; }
  .service-card { padding:24px; }.service-price strong { font-size:36px; }
  .calc-option label { padding:14px; }.estimate-result { padding:20px; }.estimate-result > strong { font-size:36px; }
  .estimate-mobile-bar.is-visible { padding-inline:16px; }.estimate-mobile-bar .button { min-height:42px; padding:10px 16px; }
  .workflow-grid { gap:24px 16px; }.workflow-step > span { font-size:30px; margin-bottom:16px; }.workflow-step h3 { font-size:18px; }
  .contact-form { padding:20px; }.form-row { grid-template-columns:1fr; }.footer-grid { flex-direction:column; gap:24px; }.footer-bottom { display:block; }.footer-bottom span { display:block; }
  .case-dialog-card { grid-template-columns:1fr; gap:16px; padding:48px 20px 20px; }.dialog-preview { height:min(22dvh,150px); }.dialog-content h2 { font-size:24px; }.dialog-content { font-size:13px; }.dialog-content .section-kicker { margin-bottom:8px; }
}
@media(max-width:360px) {
  .option-grid { grid-template-columns:1fr; }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .button:hover { transform:translateY(-2px); }
  .button:active { transform:translateY(0); }
  .case-card { transition:transform 220ms ease,border-color 180ms ease,box-shadow 220ms ease; }
  .case-card:hover { transform:translateY(-4px); box-shadow:0 14px 34px rgba(0,0,0,.24); }
  .case-card:active { transform:translateY(-1px); }
  .case-action { transition:transform 220ms ease; }
  .case-card:hover .case-action { transform:translateX(3px); }
}
.case-dialog[open] { animation:dialog-enter 360ms cubic-bezier(.2,.7,.2,1); }
.faq-item.is-open .faq-answer { animation:answer-enter 360ms ease-out; }
@keyframes dialog-enter { from { opacity:0; transform:translateY(20px) scale(.97); } to { opacity:1; transform:none; } }
@keyframes answer-enter { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
@media(max-width:600px) and (max-height:740px) {
  .case-dialog-card { padding:40px 14px 14px; gap:8px; }
  .dialog-preview { height:48px; aspect-ratio:auto; }
  .dialog-content { font-size:12px; line-height:1.4; }
  .dialog-content h2 { font-size:20px; margin-bottom:6px; }
  .dialog-content > p { margin:0; }
  .dialog-content .section-kicker { font-size:11px; margin-bottom:6px; }
  .dialog-metrics { margin:10px 0; gap:10px; }
  .dialog-metrics strong,.dialog-metrics span { font-size:11px; }
  .dialog-content .chip-row { gap:4px; font-size:10px; }
  .dialog-content .chip-row span { padding:3px 5px; }
  .dialog-content .button { margin-top:10px; min-height:40px; padding:10px 14px; font-size:13px; }
  .dialog-close { top:6px; right:6px; }
}
@media(prefers-reduced-motion:reduce) {
  .data-background,.background-toggle { display:none !important; }
  html { scroll-behavior:auto; } *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}









