/*! ps.lv main.css: tokens from Figma PS.LV-V3 (01 Dizaina sistēma). Structure follows dizainsweb wp-izstrade C2. */

/* Layout concept: one 1480 px column, left-aligned editorial headings with a short intro on the right,
   light sections alternating with deep-green "UZDO" bands; dot texture as the recurring material. */
:root {
  /* colour (Figma variables) */
  --c-ink: #10231b;            /* color-text, surface-dark, logo dark */
  --c-ink-raised: #1b3327;     /* surface-dark-raised */
  --c-accent: #54af3a;         /* logo green */
  --c-accent-strong: #2a7a2c;
  --c-accent-btn: #388526;     /* button green: white text 4.6:1 */
  --c-accent-soft: #e6f3e0;
  --c-accent-mid: #cfe8c5;
  --c-accent-faint: #f2f8ee;
  --c-accent-on-dark: #9fd18b;
  --c-bg: #ffffff;
  --c-surface: #f6f7f4;
  --c-surface-alt: #eef1eb;
  --c-border: #e3e7df;
  --c-border-strong: #d2d8cd;
  --c-border-dark: #2a3f33;
  --c-muted: #4a5b51;
  --c-subtle: #66756b;
  --c-on-dark: #ffffff;
  --c-on-dark-muted: #b9c7bd;
  --c-on-dark-subtle: #8fa396;
  --c-warning: #d9822b;
  --c-warning-text: #a8582a;
  --c-warning-soft: #fbefe4;
  --c-error: #c2402a;
  --c-error-soft: #fbe9e4;
  --c-sos: #dc2626;
  --c-sos-dot: #ef4444;
  --c-sos-hover: #b42318;
  --c-laravel: #ff2d20;
  --c-tag-blue: #3b6ea8;
  --c-tag-plum: #9a4f6a;
  --c-focus: #2a7a2c;

  /* type */
  --font-head: "Gelasio", "Gelasio Fallback", "Gelasio Fallback 2", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", "Instrument Sans Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fs-display: clamp(2.5rem, 1.6rem + 2.6vw, 4rem);     /* 64 */
  --fs-h2: clamp(2.125rem, 1.45rem + 2vw, 3.625rem);     /* 58 */
  --fs-h3: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);        /* 36 */
  --fs-h4: clamp(1.375rem, 1.2rem + .5vw, 1.75rem);      /* 28 */
  --fs-quote: clamp(1.5rem, 1.15rem + 1vw, 2.125rem);    /* 34 */
  --fs-stat: clamp(2.5rem, 2rem + 1.4vw, 3.25rem);       /* 52 */
  --fs-body-lg: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);/* 19 */
  --fs-body: 1.0625rem;                                  /* 17 */
  --fs-small: .9375rem;                                  /* 15 */
  --fs-label: .8125rem;                                  /* 13 */
  --fs-label-sm: .75rem;                                 /* 12 */

  /* space, radius, shadow */
  --container: 1480px;
  --gutter: 16px;
  --section: 64px;
  --r-xs: 6px; --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --sh-card: 0 1px 2px rgb(16 35 27 / .05), 0 8px 24px -8px rgb(16 35 27 / .08);
  --sh-float: 0 2px 6px rgb(16 35 27 / .06), 0 24px 48px -12px rgb(16 35 27 / .16);
  --sh-app: 0 40px 80px -20px rgb(0 0 0 / .25);
  --dots-light: radial-gradient(circle at 1px 1px, rgb(16 35 27 / .13) 1px, transparent 1.3px);
  --dots-dark: radial-gradient(circle at 1px 1px, rgb(255 255 255 / .075) 1px, transparent 1.3px);

  /* C2.1 base */
  --header-h: 64px;
  --header-bg: #ffffff;
  --menu-bg: #ffffff;
  --btn-hover: var(--c-ink);
  --z-header: 100; --z-menu: 200; --z-modal: 300; --z-cookie: 400; --z-toast: 450;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  color-scheme: light;
}
@media (min-width: 700px) { :root { --gutter: 32px; --section: 84px; } }
@media (min-width: 1200px) { :root { --header-h: 88px; --gutter: 48px; --section: 100px; } }

/* metric fallbacks so font swap does not shift the layout (C2.5) */
@font-face { font-family: "Gelasio Fallback"; src: local("Georgia"); size-adjust: 100%; ascent-override: 92.8%; descent-override: 34.2%; line-gap-override: 0%; }
@font-face { font-family: "Gelasio Fallback 2"; src: local("Liberation Serif"), local("Times New Roman"); size-adjust: 111.1%; ascent-override: 83.5%; descent-override: 30.8%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 100.7%; ascent-override: 96.3%; descent-override: 24.8%; line-gap-override: 0%; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip; background: var(--c-bg); color: var(--c-ink);
  font: 400 var(--fs-body)/1.59 var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
img, video { max-width: 100%; height: auto; display: block; }
svg, iframe { max-width: 100%; }
:where(svg[aria-hidden="true"]) { width: 1.25em; height: 1.25em; flex: none; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(h1, h2, h3, h4) { text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
:where(p, li, td, dd, figcaption, blockquote) { overflow-wrap: break-word; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
input, select, textarea { font: inherit; font-size: max(1rem, 16px); color: inherit; }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; border-radius: 4px; }
html.preload *, html.preload *::before, html.preload *::after { transition: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap {
  width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section); position: relative; }
.section--surface { background: var(--c-surface); }
.section--dark { background: var(--c-ink); color: var(--c-on-dark); }
.section--tight-top { padding-top: 0; }
.dots { position: relative; isolation: isolate; }
.dots::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--dots-light); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .55) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .55) 55%, transparent 100%);
}
.section--dark.dots::before, .dots--dark::before { background-image: var(--dots-dark); -webkit-mask-image: none; mask-image: none; }
.dots--fade-x::before { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 30%, transparent 75%); }

.head { display: grid; gap: 20px 40px; margin-bottom: clamp(36px, 4vw, 64px); align-items: end; }
.head__intro { max-width: 34rem; color: var(--c-muted); }
.section--dark .head__intro { color: var(--c-on-dark-muted); }
@media (min-width: 1000px) {
  .head { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
  .head__intro { padding-bottom: 6px; }
}
.eyebrow { display: block; font-size: var(--fs-label); font-weight: 500; letter-spacing: .02em; color: var(--c-accent-strong); margin-bottom: 14px; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--c-accent-on-dark); }

/* ---------- type ---------- */
.display, .h2, .h3, .h4, .quote { font-family: var(--font-head); font-weight: 400; }
.display { font-size: var(--fs-display); line-height: 1.125; letter-spacing: -.031em; }
.h2 { font-size: var(--fs-h2); line-height: 1.14; letter-spacing: -.026em; }
.h3 { font-size: var(--fs-h3); line-height: 1.22; letter-spacing: -.028em; }
.h4 { font-size: var(--fs-h4); line-height: 1.29; letter-spacing: -.018em; }
.h5 { font-size: 1.25rem; line-height: 1.4; font-weight: 600; letter-spacing: -.025em; }
.lead { font-size: var(--fs-body-lg); line-height: 1.58; color: var(--c-muted); }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-small); line-height: 1.47; }
.label { font-size: var(--fs-label); line-height: 1.23; font-weight: 500; letter-spacing: .02em; }
.nums { font-variant-numeric: tabular-nums; }
.section--dark .lead, .section--dark .muted { color: var(--c-on-dark-muted); }

/* ---------- buttons (C2.6: hover changes colour and shadow only) ---------- */
.btn {
  --b-bg: var(--c-accent-btn); --b-fg: #fff; --b-bd: transparent; --b-hbg: var(--c-ink); --b-hfg: #fff; --b-hbd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 56px; padding: 0 28px; border-radius: var(--r-pill); border: 1.5px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg); font-size: 1rem; font-weight: 500; line-height: 1.2; text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .16s var(--ease-out);
  -webkit-user-select: none; user-select: none;
}
.btn > span { position: relative; top: -1px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--m { min-height: 46px; padding: 0 22px; font-size: .9375rem; }
.btn--dark { --b-bg: var(--c-ink); --b-fg: #fff; --b-hbg: var(--c-accent-btn); --b-hfg: #fff; }
.btn--outline { --b-bg: transparent; --b-fg: var(--c-ink); --b-bd: var(--c-ink); --b-hbg: var(--c-ink); --b-hfg: #fff; --b-hbd: var(--c-ink); }
.btn--light { --b-bg: #fff; --b-fg: var(--c-ink); --b-hbg: var(--c-accent-btn); --b-hfg: #fff; }
.btn--outline-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgb(255 255 255 / .55); --b-hbg: #fff; --b-hfg: var(--c-ink); --b-hbd: #fff; }
.btn--sos { --b-bg: var(--c-sos); --b-fg: #fff; --b-hbg: var(--c-sos-hover); --b-hfg: #fff; }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--b-hbg); color: var(--b-hfg); border-color: var(--b-hbd); box-shadow: 0 8px 20px -8px rgb(16 35 27 / .35); }
}
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* text link with green line and arrow.
   On hover a thin line in the text colour sweeps over the green line and the arrow moves a little. */
.link {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 0 7px; font-weight: 500; font-size: 1rem; line-height: 1.2;
  background:
    linear-gradient(currentColor, currentColor) left bottom / 0% 2px no-repeat,
    linear-gradient(var(--c-accent), var(--c-accent)) left bottom / 100% 2px no-repeat;
  transition: background-size .45s var(--ease-out), color .25s ease;
}
.link svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { background-size: 100% 2px, 100% 2px; }
  .link:hover svg { transform: translateX(4px); }
}
.link--plain { background-size: 0% 2px, 0% 2px; }
@media (hover: hover) and (pointer: fine) { .link--plain:hover { background-size: 0% 2px, 100% 2px; } }
.on-dark .link, .section--dark .link, .site-footer .link { color: #fff; }

/* ---------- small UI parts ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px 0 10px; border-radius: var(--r-pill);
  font-size: var(--fs-label); font-weight: 500; line-height: 1; white-space: nowrap; background: var(--c-surface-alt); color: var(--c-muted);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.chip--doing { background: var(--c-accent-soft); color: var(--c-accent-strong); }
.chip--doing::before { background: var(--c-accent); opacity: 1; }
.chip--wait { background: var(--c-warning-soft); color: var(--c-warning-text); }
.chip--wait::before { background: var(--c-warning); opacity: 1; }
.chip--done { background: var(--c-ink); color: #fff; }
.chip--done::before { background: var(--c-accent); opacity: 1; }
.chip--urgent { background: var(--c-error-soft); color: var(--c-error); }
.chip--urgent::before { background: var(--c-sos-dot); opacity: 1; }
.chip--sm { height: 22px; font-size: var(--fs-label-sm); padding: 0 9px 0 8px; }
.chip--plain::before { display: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--c-border-strong); font-size: var(--fs-label); font-weight: 500; color: var(--c-ink); background: #fff; white-space: nowrap; }
.tag--status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.section--dark .tag, .on-dark .tag { background: transparent; border-color: var(--c-border-dark); color: var(--c-on-dark-muted); }
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--c-accent); }
.check-list--sm { gap: 10px; font-size: var(--fs-small); }
.check-list--sm svg { width: 15px; height: 15px; margin-top: 3px; }
.ico { width: 20px; height: 20px; flex: none; }
.picto { width: 64px; height: 64px; flex: none; }
.picto svg { width: 100%; height: 100%; overflow: visible; }

.sos-dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--c-sos-dot); }
.sos-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--c-sos-dot); opacity: .35; animation: sos-pulse 1.6s ease-out infinite; }
@keyframes sos-pulse { 0% { transform: scale(.4); opacity: .55; } 80%, 100% { transform: scale(1.35); opacity: 0; } }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--c-subtle); margin-bottom: clamp(28px, 3vw, 44px); }
.breadcrumbs svg { width: 14px; height: 14px; }
.breadcrumbs a { transition: color .18s ease; }
@media (hover: hover) and (pointer: fine) { .breadcrumbs a:hover { color: var(--c-ink); } }
.breadcrumbs [aria-current] { color: var(--c-ink); }

.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: var(--fs-small); color: var(--c-muted); }
.trust li { display: inline-flex; align-items: center; gap: 10px; }
.trust li + li::before { content: ""; width: 1px; height: 18px; background: var(--c-border-strong); margin-right: 6px; }
.trust svg { width: 20px; height: 20px; }

.card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); box-shadow: var(--sh-card); }

.proto-note { display: inline-flex; gap: 8px; align-items: flex-start; font-size: var(--fs-label); color: var(--c-warning-text); background: var(--c-warning-soft); border-radius: var(--r-sm); padding: 8px 12px; }
.tbd { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-pill); font-size: var(--fs-label-sm); font-weight: 500; color: var(--c-warning-text); background: var(--c-warning-soft); border: 1px solid #f0c9a4; }

/* reveal (C2.1; never used in the first screen) */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease-out), transform .7s var(--ease-out); }
.js [data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: .07s; }
.js [data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: .14s; }
.js [data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: .21s; }
.js [data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: .28s; }
.js [data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: .35s; }
.js [data-reveal-stagger].is-visible > *:nth-child(n+7) { transition-delay: .42s; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: calc(var(--z-header) + 1); background: var(--header-bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-header); height: var(--header-h); background: var(--header-bg); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
html.is-scrolled .site-header { border-bottom-color: var(--c-border); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 128px; height: auto; }
@media (min-width: 1200px) { .brand img { width: 150px; } }
.lang { position: relative; flex: none; }
.lang__btn { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 8px; border-radius: var(--r-sm); font-size: var(--fs-label); font-weight: 500; letter-spacing: .03em; transition: background-color .18s ease; }
.lang__btn svg { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
.lang__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .lang__btn:hover { background: var(--c-surface); } }
.lang__menu { position: absolute; left: 0; top: calc(100% + 6px); min-width: 170px; padding: 6px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--c-border); box-shadow: var(--sh-float); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .2s var(--ease-out), visibility 0s linear .2s; z-index: 5; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .2s var(--ease-out), visibility 0s; }
.lang__menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); font-size: var(--fs-small); transition: background-color .15s ease; }
.lang__menu a[aria-current] { font-weight: 600; }
.lang__menu a[aria-current]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }
@media (hover: hover) and (pointer: fine) { .lang__menu a:hover { background: var(--c-surface); } }

.nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sos-link { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); font-weight: 500; font-size: 1rem; transition: background-color .18s ease, color .18s ease; }
.sos-link .sos-dot { width: 6px; height: 6px; }
@media (hover: hover) and (pointer: fine) { .sos-link:hover { background: var(--c-error-soft); color: var(--c-sos-hover); } }
.header-cta { display: none; }
.header-cta svg { width: 18px; height: 18px; }
.menu-toggle { width: 44px; height: 44px; border-radius: var(--r-sm); display: inline-grid; place-items: center; margin-right: -8px; }
.menu-toggle span { position: relative; display: block; width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: background-color .2s ease; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform .25s var(--ease-out); }
.menu-toggle span::before { transform: translateY(-7px); }
.menu-toggle span::after { transform: translateY(7px); }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
.sos-mini { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--r-pill); background: var(--c-error-soft); color: var(--c-sos-hover); font-size: var(--fs-label); font-weight: 600; }
.sos-mini .sos-dot { width: 6px; height: 6px; }

@media (min-width: 1200px) {
  .nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
  .nav > a, .nav__drop > button { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; font-weight: 500; font-size: 1rem; border-radius: var(--r-sm); }
  .nav > a::after, .nav__drop > button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
  .nav > a[aria-current]::after, .nav__drop.is-current > button::after { transform: scaleX(1); }
  .nav__drop > button svg { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
  .nav__drop > button[aria-expanded="true"] svg { transform: rotate(180deg); }
  @media (hover: hover) and (pointer: fine) { .nav > a:hover::after, .nav__drop > button:hover::after { transform: scaleX(1); } }
  .header-actions { margin-left: 0; }
  .sos-link, .header-cta { display: inline-flex; }
  .menu-toggle, .sos-mini { display: none; }
}
@media (min-width: 1200px) and (max-width: 1359px) { .nav > a, .nav__drop > button { padding: 0 10px; } .nav > a::after, .nav__drop > button::after { left: 10px; right: 10px; } .sos-link { padding: 0 8px; } }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 12px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease, transform .25s var(--ease-out), visibility 0s linear .25s; pointer-events: none; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .25s var(--ease-out), visibility 0s; pointer-events: auto; }
.mega__panel { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-border); box-shadow: var(--sh-float); }
.mega__label { font-size: var(--fs-label); color: var(--c-subtle); padding: 4px 16px 12px; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.mega__item { display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r-md); transition: background-color .18s ease; }
.mega__item .picto { width: 40px; height: 40px; }
.mega__item b { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.mega__item small { display: block; font-size: var(--fs-label); color: var(--c-subtle); margin-top: 2px; }
.mega__item > svg { width: 16px; height: 16px; color: var(--c-accent-strong); opacity: .7; transition: transform .2s var(--ease-out), opacity .2s ease; }
@media (hover: hover) and (pointer: fine) { .mega__item:hover { background: var(--c-surface); } .mega__item:hover > svg { opacity: 1; transform: translate(2px, -2px); } }
.mega__all { align-self: center; justify-self: start; margin: 8px 16px; }
.mega__side { display: grid; gap: 12px; align-content: start; }
.mega__conf { padding: 24px; border-radius: var(--r-md); background: var(--c-ink); color: #fff; display: grid; gap: 10px; }
.mega__conf .eyebrow { margin: 0; }
.mega__conf p { color: var(--c-on-dark-muted); font-size: var(--fs-small); }
.mega__conf .btn { justify-self: start; margin-top: 18px; }
.mega__sos { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--r-md); background: var(--c-error-soft); }
.mega__sos b { font-weight: 500; display: block; }
.mega__sos small { font-size: var(--fs-label); color: var(--c-muted); }
.mega__sos > svg { width: 16px; height: 16px; color: var(--c-sos); }

/* mobile menu (outside header, C2.1/C2.7) */
.mobile-menu { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: var(--z-menu); background: var(--menu-bg); overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transition: opacity .2s var(--ease-out), visibility 0s linear .2s; }
html.menu-open .mobile-menu { visibility: visible; opacity: 1; transition: opacity .2s var(--ease-out), visibility 0s; }
html.menu-open { overflow: hidden; }
.mobile-menu__inner { padding-block: 16px calc(32px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 24px; }
.mobile-menu nav > a, .mm-group > button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; border-bottom: 1px solid var(--c-border); font-family: var(--font-head); font-size: 1.5rem; text-align: left; }
.mobile-menu nav > a svg { width: 20px; height: 20px; color: var(--c-accent-strong); }
.mm-group > button svg { width: 22px; height: 22px; transition: transform .25s var(--ease-out); }
.mm-group > button[aria-expanded="true"] svg { transform: rotate(45deg); }
.mm-sub { display: grid; gap: 2px; padding: 8px 0 12px; }
.mm-sub[hidden] { display: none !important; }
.mm-sub a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 1rem; }
.mm-sub a small { color: var(--c-subtle); font-size: var(--fs-label); white-space: nowrap; }
.mobile-menu .mm-actions { display: grid; gap: 10px; }
.mobile-menu .mm-lang { display: flex; gap: 8px; }
.mobile-menu .mm-lang a { height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--c-border-strong); display: inline-flex; align-items: center; font-size: var(--fs-small); font-weight: 500; }
.mobile-menu .mm-lang a[aria-current] { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
@media (min-width: 1200px) { .mobile-menu { display: none; } }

/* ---------- page hero (subpages) ---------- */
.page-hero { padding-block: clamp(20px, 3vw, 48px) clamp(56px, 6vw, 96px); }
.page-hero__row { display: grid; gap: 48px; align-items: center; }
.page-hero__text { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.page-hero__text .lead { max-width: 40rem; }
.page-hero__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.page-hero__visual { position: relative; min-width: 0; }
@media (min-width: 1000px) {
  .page-hero__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .page-hero__row--wide-text { grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr); }
}
.price-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: var(--r-pill); border: 1px solid var(--c-border); background: #fff; font-size: var(--fs-label); color: var(--c-muted); }
.price-pill b { background: var(--c-accent); color: var(--c-ink); border-radius: var(--r-pill); padding: 4px 10px; font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { background: var(--c-ink); color: #fff; padding-block: var(--section) calc(28px + env(safe-area-inset-bottom, 0px)); }
.f-cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .f-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.f-card { display: flex; flex-direction: column; gap: 10px; padding: 28px 30px 30px; border-radius: var(--r-lg); background: var(--c-ink-raised); border: 1px solid var(--c-border-dark); min-height: 230px; }
.f-card__top { display: flex; align-items: center; gap: 10px; font-size: var(--fs-label); color: var(--c-on-dark-muted); }
.f-card h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.f-card p { color: var(--c-on-dark-muted); font-size: var(--fs-small); }
.f-card .link { margin-top: auto; align-self: flex-start; font-size: var(--fs-small); }
.f-card .logo-uzdo { width: 76px; height: auto; }
.news-form { margin-top: auto; display: grid; gap: 10px; }
.news-field { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: var(--r-pill); background: rgb(0 0 0 / .18); border: 1px solid var(--c-border-dark); transition: border-color .18s ease; }
.news-field:focus-within { border-color: var(--c-accent); }
.news-field.is-error { border-color: var(--c-sos-dot); }
.news-field input { flex: 1; min-width: 0; height: 44px; background: transparent; border: 0; color: #fff; outline: none; }
.news-field input::placeholder { color: var(--c-on-dark-subtle); }
.news-form small { font-size: var(--fs-label-sm); color: var(--c-on-dark-subtle); }
.news-form small.is-error { color: #ffb4a6; }
.news-done { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); background: rgb(84 175 58 / .14); border: 1px solid rgb(84 175 58 / .35); }
.news-done i { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--c-accent); display: grid; place-items: center; color: var(--c-ink); }
.news-done i svg { width: 16px; height: 16px; }
.news-done b { display: block; font-weight: 600; font-size: var(--fs-small); }
.news-done span { font-size: var(--fs-label); color: var(--c-on-dark-muted); }

.f-main { display: grid; gap: 40px; padding-block: 64px 48px; }
@media (min-width: 1200px) { .f-main { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 72px; } }
.f-brand { display: grid; gap: 22px; justify-items: start; align-content: start; }
.f-brand img { width: 170px; height: auto; }
.f-brand p { color: var(--c-on-dark-muted); max-width: 26rem; }
/* brand above the columns: hairline under it; from 700px the button moves to the right of the text */
@media (max-width: 1199.98px) { .f-brand { padding-bottom: 32px; border-bottom: 1px dashed var(--c-border-dark); } }
@media (min-width: 700px) and (max-width: 1199.98px) {
  .f-brand { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
  .f-brand > img { grid-column: 1 / -1; }
  .f-brand > p { grid-column: 1; max-width: 36rem; }
  .f-brand > .btn { grid-column: 2; grid-row: 2; align-self: end; }
}
.f-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
/* auto, not minmax(0, auto): a column never gets narrower than its longest word */
@media (min-width: 700px) { .f-cols { grid-template-columns: repeat(3, auto); justify-content: space-between; } }
.f-col { display: grid; gap: 28px; align-content: start; }
.f-cols h3 { font-size: 1.0625rem; font-weight: 500; color: var(--c-accent); margin-bottom: 14px; }
.f-cols h3, .f-cols li, .f-cols a:not([href^="mailto:"]) { overflow-wrap: normal; }
.f-cols ul { display: grid; gap: 10px; }
.f-cols a, .f-cols li { color: #fff; transition: color .18s ease; font-size: var(--fs-small); }
.f-phone { white-space: nowrap; }
@media (min-width: 700px) { .f-cols a, .f-cols li { font-size: 1rem; } }
@media (hover: hover) and (pointer: fine) { .f-cols a:hover { color: var(--c-accent-on-dark); } }
.f-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px dashed var(--c-border-dark); font-size: var(--fs-label); color: var(--c-on-dark-subtle); }
.f-bottom__right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.laravel-badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--c-border-dark); color: var(--c-on-dark-muted); font-size: var(--fs-label); }
.laravel-badge img { width: 16px; height: 16px; }
.soc { width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid var(--c-border-dark); display: inline-grid; place-items: center; transition: background-color .18s ease, border-color .18s ease; }
.soc svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .soc:hover { background: var(--c-ink-raised); border-color: var(--c-on-dark-subtle); } }
.f-lang { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--c-border-dark); color: var(--c-on-dark-muted); }
.f-lang a[aria-current] { color: #fff; }
.f-cookie { color: var(--c-on-dark-subtle); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 700px) { .form-row--2 { grid-template-columns: 1fr 1fr; gap: 20px; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field > .field__label { font-size: var(--fs-small); font-weight: 500; }
.field input, .field textarea {
  width: 100%; height: 56px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid var(--c-border-strong); background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease; outline: none;
}
.field textarea { height: auto; min-height: 140px; padding: 16px 18px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8a968e; }
@media (hover: hover) and (pointer: fine) { .field input:hover, .field textarea:hover { border-color: #b7c0b1; } }
.field input:focus, .field textarea:focus { border-color: var(--c-accent-strong); box-shadow: 0 0 0 3px rgb(84 175 58 / .18); }
.field.is-error input, .field.is-error textarea { border-color: var(--c-error); box-shadow: 0 0 0 3px rgb(194 64 42 / .1); }
.field__err { display: none; font-size: var(--fs-label); color: var(--c-error); }
.field.is-error .field__err { display: block; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--c-border-strong); font-size: var(--fs-label); font-weight: 500; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; background: #fff; }
.choice label svg { width: 14px; height: 14px; display: none; }
@media (hover: hover) and (pointer: fine) { .choice label:hover { border-color: var(--c-ink); } }
.choice input:checked + label { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.choice input:checked + label svg { display: block; color: var(--c-accent); }
.choice input:focus-visible + label { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); color: var(--c-muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; border: 1.5px solid var(--c-border-strong); background: #fff center / 14px no-repeat; transition: background-color .15s ease, border-color .15s ease; cursor: pointer; }
.check input:checked { background-color: var(--c-accent); border-color: var(--c-accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310231b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.5 17 19 7.5'/%3E%3C/svg%3E"); }
.check.is-error input { border-color: var(--c-error); }
.check a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: var(--fs-small); color: var(--c-muted); }
.form-alert { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--c-error-soft); color: var(--c-ink); }
.form-alert svg { width: 22px; height: 22px; flex: none; color: var(--c-error); }
.form-alert b { display: block; font-weight: 600; }
.form-alert span { font-size: var(--fs-small); color: var(--c-muted); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* sent state card */
.sent { display: grid; gap: 24px; }
.sent__head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.sent__ok { width: 48px; height: 48px; border-radius: 50%; background: var(--c-accent); display: grid; place-items: center; color: #fff; }
.sent__ok svg { width: 22px; height: 22px; }
.sent__head p { font-size: var(--fs-small); color: var(--c-muted); margin-top: 4px; }
.timeline { display: grid; border-top: 1px solid var(--c-border); }
.timeline li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.timeline b { display: block; font-weight: 500; font-size: var(--fs-small); }
.timeline small { font-size: var(--fs-label); color: var(--c-subtle); }

/* ---------- toast + modal + cookie ---------- */
.toast-zone { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: var(--z-toast); display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 16px; border-radius: var(--r-md); background: var(--c-ink); color: #fff; box-shadow: var(--sh-float); pointer-events: auto; animation: toast-in .35s var(--ease-out); }
.toast i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: var(--c-ink); }
.toast i svg { width: 16px; height: 16px; }
.toast b { display: block; font-weight: 600; font-size: var(--fs-small); }
.toast span { font-size: var(--fs-label); color: var(--c-on-dark-muted); }
.toast button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--c-on-dark-muted); }
.toast button svg { width: 16px; height: 16px; }
.toast.is-out { opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 16px; background: rgb(16 35 27 / .55); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; overflow-y: auto; }
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s; }
.modal__box { position: relative; width: min(640px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--sh-app); transform: translateY(12px) scale(.98); transition: transform .35s var(--ease-out); }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; right: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--c-surface); display: grid; place-items: center; transition: background-color .15s ease; }
.modal__close svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .modal__close:hover { background: var(--c-surface-alt); } }
.modal h2 { padding-right: 48px; }

.cookie { position: fixed; z-index: var(--z-cookie); left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(520px, calc(100% - 32px)); padding: 26px 28px; border-radius: var(--r-lg); background: var(--c-ink); color: #fff; box-shadow: var(--sh-app); display: grid; gap: 12px; transform: translateY(24px); opacity: 0; visibility: hidden; transition: transform .45s var(--ease-out), opacity .3s ease, visibility 0s linear .45s; }
.cookie.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .45s var(--ease-out), opacity .3s ease, visibility 0s; }
.cookie h2 { font-size: 1.25rem; font-weight: 600; }
.cookie p { font-size: var(--fs-small); color: var(--c-on-dark-muted); }
.cookie .cookie__policy { color: var(--c-accent-on-dark); text-decoration: underline; text-underline-offset: 3px; font-size: var(--fs-small); justify-self: start; }
.cookie__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 6px; }
.cookie__btns .link { font-size: var(--fs-small); color: #fff; }
.switch-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); background: var(--c-surface); }
.switch-row b { font-weight: 600; }
.switch-row small { font-size: var(--fs-label-sm); color: var(--c-subtle); margin-left: 8px; }
.switch-row p, .switch-row__d { display: block; font-size: var(--fs-small); color: var(--c-muted); margin-top: 4px; }
.switch { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 99px; background: var(--c-border-strong); position: relative; cursor: pointer; transition: background-color .2s ease; margin: 0; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .2); transition: transform .25s var(--ease-out); }
.switch:checked { background: var(--c-accent); }
.switch:checked::after { transform: translateX(20px); }
.switch:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- accordion (FAQ) ---------- */
.acc { border-top: 1px dashed var(--c-border-strong); }
.acc__item { border-bottom: 1px dashed var(--c-border-strong); }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 22px 0; text-align: left; font-weight: 500; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); letter-spacing: -.01em; }
.acc__q i { position: relative; width: 16px; height: 16px; flex: none; }
.acc__q i::before, .acc__q i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; /* whole pixels, so every minus is 2 px */ background: currentColor; transition: transform .3s var(--ease-out); }
.acc__q i::after { transform: rotate(90deg); }
.acc__q[aria-expanded="true"] i::after { transform: none; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.acc__a > div { overflow: hidden; }
.acc__a p { padding-bottom: 22px; color: var(--c-muted); max-width: 52rem; }


/* =================================================================== sections */
.nowrap { white-space: nowrap; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.av { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; background: var(--c-surface-alt); }
.av--client { display: inline-grid; place-items: center; color: var(--c-subtle); box-shadow: inset 0 0 0 1px var(--c-border); }
.av--client svg { width: 68%; height: 68%; }
.ini { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 10px; font-weight: 600; letter-spacing: .02em; color: #fff; flex: none; }
.ini--plum { background: var(--c-tag-plum); }
.ini--green { background: var(--c-accent); color: var(--c-ink); border-radius: 8px; }
.ps { display: inline-grid; place-items: center; height: 16px; padding: 0 5px; border-radius: 4px; background: var(--c-accent-soft); color: var(--c-accent-strong); font-size: 10px; font-weight: 600; }
.head--link { grid-template-columns: minmax(0, 1fr) auto !important; align-items: end; }
.head__link { grid-column: 2; justify-self: start; }
@media (max-width: 999px) { .head__link { grid-column: 1; } }

/* ---------- home hero ---------- */
.hero-home { padding-block: clamp(28px, 4vw, 64px) clamp(56px, 6vw, 72px); }
.hero-home__text { display: grid; justify-items: center; text-align: center; gap: 24px; max-width: 1000px; margin-inline: auto; }
.news-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--c-border); box-shadow: var(--sh-card); font-size: var(--fs-small); font-weight: 500; transition: border-color .18s ease, box-shadow .18s ease; max-width: 100%; }
.news-pill b { background: var(--c-accent); border-radius: var(--r-pill); padding: 4px 10px 5px; font-size: var(--fs-label-sm); font-weight: 500; }
.news-pill svg { width: 18px; height: 18px; flex: none; }
.news-pill span { min-width: 0; }
@media (hover: hover) and (pointer: fine) { .news-pill:hover { border-color: var(--c-accent); box-shadow: var(--sh-float); } }
.hero-home__lead { max-width: 640px; font-size: 1.0625rem; color: var(--c-muted); }
.hero-home__btns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; }
.trust--center { justify-content: center; }
@media (max-width: 699px) { .trust--center { flex-direction: column; align-items: center; gap: 8px; } .trust--center li + li::before { display: none; } }

.stage { position: relative; display: grid; gap: 24px; margin-top: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) { .stage { grid-template-columns: minmax(0, 900fr) minmax(0, 556fr); height: clamp(480px, 38vw, 560px); } }
.stage__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--c-surface-alt); aspect-ratio: 4 / 3.4; }
@media (min-width: 900px) { .stage__photo { aspect-ratio: auto; } }
.stage__photo > picture, .stage__photo > picture img { width: 100%; height: 100%; }
.stage__photo > picture img { object-fit: cover; object-position: 55% 50%; animation: hero-zoom 14s var(--ease-out) both; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.float-card { position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-float); }
.task-card { left: 4.4%; top: 6%; width: min(330px, 78%); padding: 18px 20px; display: grid; gap: 12px; }
.task-card__top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--c-subtle); }
.task-card b { font-weight: 600; font-size: .9375rem; letter-spacing: -.01em; }
.task-card__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--c-subtle); }
.task-card__meta .chip { margin-left: auto; }
.float-pill { position: absolute; right: 4%; top: 7%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--sh-float); font-size: 13px; }
.float-pill svg { width: 18px; height: 18px; }
.float-pill b { font-weight: 600; }
.msg-card { left: 4.4%; bottom: 5%; width: min(430px, 82%); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; font-size: 13px; }
.msg-card .av { width: 32px; height: 32px; }
.msg-card__who { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 4px; }
.msg-card__who time { font-weight: 400; color: var(--c-subtle); font-size: 11px; }
.stage__uzdo { position: relative; border-radius: var(--r-xl); background: var(--c-ink); color: #fff; padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.stage__uzdo-top { display: flex; justify-content: space-between; align-items: center; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--c-on-dark-muted); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 0 rgb(84 175 58 / .6); animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgb(84 175 58 / .55); } 70%, 100% { box-shadow: 0 0 0 7px rgb(84 175 58 / 0); } }
.stage__uzdo .h3 { max-width: 15ch; }
.mini-tasks { background: #fff; color: var(--c-ink); border-radius: var(--r-md); padding: 6px; display: grid; }
.mini-tasks li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px 12px; border-radius: var(--r-sm); font-size: 13px; }
.mini-tasks li + li { border-top: 1px solid var(--c-border); }
.mini-tasks li.is-wait { background: var(--c-warning-soft); border-top-color: transparent; }
.mini-tasks li.is-wait + li { border-top-color: transparent; }
.mini-tasks .id { font-size: 10px; color: var(--c-subtle); }
.mini-tasks .t { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip--bare { background: transparent; }
.stage__uzdo-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--c-on-dark-muted); }
.uptime { position: absolute; width: 236px; padding: 22px 24px 20px; border-radius: var(--r-lg); background: var(--c-accent); color: var(--c-ink); box-shadow: var(--sh-float); display: grid; gap: 4px; right: 6%; bottom: -28px; z-index: 2; }
@media (min-width: 900px) { .uptime { left: calc(46.35% ); top: 57%; right: auto; bottom: auto; } }
.uptime__site { font-size: 12px; font-weight: 500; }
.uptime__l { font-size: 12px; opacity: .8; margin-top: 6px; }
.uptime__v { font-family: var(--font-head); font-weight: 400; font-size: 2.875rem; line-height: 1.1; letter-spacing: -.03em; }
.uptime__bars { display: flex; align-items: flex-end; gap: 4px; height: 28px; margin-top: 6px; }
.uptime__bars i { width: 11px; height: calc(var(--h) * 1px); background: var(--c-ink); border-radius: 2px; transform-origin: bottom; animation: bar-in .9s var(--ease-out) both; }
.uptime__bars i:nth-child(2n) { animation-delay: .05s; } .uptime__bars i:nth-child(3n) { animation-delay: .1s; } .uptime__bars i:nth-child(5n) { animation-delay: .15s; }
@keyframes bar-in { from { transform: scaleY(.3); } }
.fl-1 { animation: bob 7s ease-in-out infinite; }
.fl-2 { animation: bob 8s ease-in-out -2s infinite; }
.fl-3 { animation: bob 9s ease-in-out -4s infinite; }
.fl-4 { animation: bob2 8s ease-in-out -1s infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
@keyframes bob2 { 50% { transform: translateY(5px); } }
@media (max-width: 899px) {
  .float-pill { display: none; }
  .stage__photo { order: 1; }
  .uptime { order: 2; position: relative; right: auto; top: auto; bottom: auto; justify-self: end; margin: -96px 14px 0 0; width: 210px; padding: 16px 18px; }
  .stage__uzdo { order: 3; margin-top: -8px; }
  .uptime__v { font-size: 2.25rem; }
  .uptime__bars i { width: 9px; }
  .msg-card { bottom: 4%; width: min(300px, 64%); padding: 12px 14px; }
  .msg-card .av { display: none; }
  .stage__uzdo .h3 { font-size: 1.625rem; }
}
@media (max-width: 520px) {
  .task-card { padding: 14px; gap: 8px; width: 74%; }
  .task-card__meta span:nth-child(2) { display: none; }
  .msg-card { display: none; }
  .stage__uzdo-foot { flex-direction: column; align-items: flex-start; }
  .smc-top small { display: none; }
}

/* ---------- clients ---------- */
.clients { padding-block: 24px clamp(56px, 6vw, 100px); }
.clients__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; }
@media (min-width: 900px) { .clients__row { grid-template-columns: auto minmax(0, 1fr); gap: 56px; } }
.clients__label { font-size: var(--fs-small); color: var(--c-muted); white-space: nowrap; }
.clients__marquee ul { display: flex; align-items: center; }
.clients__marquee li { flex: none; padding-inline: 28px; }
.clients__marquee img { height: 34px; width: auto; opacity: .85; transition: opacity .2s ease; }
@media (hover: hover) and (pointer: fine) { .clients__marquee li:hover img { opacity: 1; } }

/* ---------- services ---------- */
.svc-sec { overflow: hidden; overflow: clip; } /* clip keeps .svc-intro sticky */
.svc-sec__dots { position: absolute; left: 0; bottom: 0; width: 100%; height: 75%; pointer-events: none; background-image: var(--dots-light); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse 45% 55% at 12% 90%, #000 0%, transparent 70%), radial-gradient(ellipse 25% 35% at 96% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 45% 55% at 12% 90%, #000 0%, transparent 70%), radial-gradient(ellipse 25% 35% at 96% 40%, #000 0%, transparent 70%); }
.svc-grid { position: relative; display: grid; gap: 40px; }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 80px; } .svc-intro { position: sticky; top: calc(var(--header-h) + 64px); align-self: start; } }
@media (min-width: 1000px) and (max-height: 760px) { .svc-intro { top: calc(var(--header-h) + 32px); } }
.svc-intro { display: grid; gap: 24px; align-content: start; }
.svc-intro .muted { font-size: var(--fs-small); }
.sos-card { margin-top: 8px; padding: 30px 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-border); display: grid; gap: 18px; }
.sos-card__top { display: flex; align-items: center; gap: 14px; }
.picto--48 { width: 48px; height: 48px; }
.sos-card .muted { font-size: var(--fs-small); }
.sos-card__act { display: grid; justify-items: start; gap: 12px; }
.svc-list { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); }
.svc-list li + li { border-top: 1px dashed var(--c-border); }
.svc-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 18px; align-items: center; gap: 12px 28px; padding: 30px 32px; transition: background-color .25s ease; }
.svc-row__txt { display: grid; gap: 8px; min-width: 0; }
.svc-row__d { font-size: var(--fs-small); color: var(--c-muted); max-width: 32rem; }
.svc-row__price { text-align: right; display: grid; gap: 2px; }
.svc-row__price b { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.svc-row__price small { font-size: var(--fs-label); color: var(--c-subtle); max-width: 9rem; justify-self: end; text-wrap: balance; }
.svc-row__arr { width: 18px; height: 18px; color: var(--c-ink); opacity: .6; transition: transform .25s var(--ease-out), opacity .2s ease; }
@media (hover: hover) and (pointer: fine) { .svc-row:hover { background: var(--c-accent-faint); } .svc-row:hover .svc-row__arr { opacity: 1; transform: translate(3px, -3px); color: var(--c-accent-strong); } }
@media (max-width: 699px) {
  .svc-row { grid-template-columns: 48px minmax(0, 1fr) 16px; padding: 22px 18px; gap: 6px 14px; align-items: start; }
  .svc-row .picto { width: 48px; height: 48px; }
  .svc-row__price { grid-column: 2; grid-row: 2; text-align: left; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
  .svc-row__arr { grid-column: 3; grid-row: 1; }
  .sos-card { padding: 24px; }
}

/* pictogram motion (Figma anim- layers) */
[data-picto] svg * { transform-box: fill-box; transform-origin: center; }
:where(a, button, li):hover > [data-picto] .anim-bloks, :where(a, button, li):hover > * > [data-picto] .anim-bloks { animation: p-pop .5s var(--ease-out); }
.anim-vilnis-1 { animation: ripple 2.2s ease-out infinite; }
.anim-vilnis-2 { animation: ripple 2.2s ease-out .5s infinite; }
@keyframes ripple { 0% { opacity: 1; transform: scale(.92); } 70% { opacity: .25; transform: scale(1.04); } 100% { opacity: 1; transform: scale(.92); } }
@media (hover: hover) and (pointer: fine) {
  .svc-row:hover .anim-bloks, .mega__item:hover .anim-bloks { animation: p-pop .5s var(--ease-out); }
  .svc-row:hover [class^="anim-rinda"], .mega__item:hover [class^="anim-rinda"] { animation: p-slide .6s var(--ease-out) both; }
  .svc-row:hover .anim-rinda-2 { animation-delay: .06s; } .svc-row:hover .anim-rinda-3 { animation-delay: .12s; }
  .svc-row:hover .anim-paka, .mega__item:hover .anim-paka { animation: p-hop .6s var(--ease-out); }
  .svc-row:hover .anim-dati, .mega__item:hover .anim-dati { animation: p-travel 1s var(--ease-in-out); }
  .svc-row:hover [class^="anim-ekrans"], .mega__item:hover [class^="anim-ekrans"] { animation: p-pop .6s var(--ease-out); }
  .svc-row:hover .anim-poga { animation: p-pop .4s var(--ease-out) .2s; }
  .svc-row:hover .anim-modulis, .mega__item:hover .anim-modulis { animation: p-move .8s var(--ease-in-out) both; }
  .svc-row:hover .anim-pulss, .mega__item:hover .anim-pulss { stroke-dasharray: 80; animation: p-draw 1s var(--ease-out); }
  .svc-row:hover [class^="anim-led"], .mega__item:hover [class^="anim-led"] { animation: p-blink .9s steps(2) 2; }
  .svc-row:hover .anim-led-2 { animation-delay: .15s; } .svc-row:hover .anim-led-3 { animation-delay: .3s; }
}
[data-picto-host]:hover .anim-plus, [data-picto-host]:hover .anim-zimogs, [data-picto-host]:hover .anim-zime, [data-picto-host]:hover .anim-burbulis-2 { animation: p-pop .5s var(--ease-out); }
[data-picto-host]:hover .anim-statuss { animation: p-move .7s var(--ease-in-out); }
[data-picto-host]:hover [class^="anim-punkts-"] { animation: p-hop .5s var(--ease-out); }
[data-picto-host]:hover .anim-punkts-2 { animation-delay: .1s; } [data-picto-host]:hover .anim-punkts-3 { animation-delay: .2s; }
[data-picto-host]:hover .anim-paraksts { stroke-dasharray: 40; animation: p-draw .9s var(--ease-out); }
[data-picto-host]:hover .anim-akcents, [data-picto-host]:hover .anim-akcents_2 { animation: p-pop .5s var(--ease-out); }
@keyframes p-pop { 40% { transform: scale(1.18); } }
@keyframes p-slide { from { transform: translateX(-6px); opacity: .2; } }
@keyframes p-hop { 40% { transform: translateY(-4px); } }
@keyframes p-travel { 50% { transform: translate(6px, 8px); } }
@keyframes p-move { 50% { transform: translateX(5px); } }
@keyframes p-draw { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }
@keyframes p-blink { 50% { opacity: .2; } }

/* ---------- UZDO section ---------- */
.uzdo-sec { overflow: hidden; }
.uzdo-badge { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.uzdo-badge img { width: 92px; height: auto; }
.uzdo-badge span { background: #fff; color: var(--c-accent-strong); border-radius: var(--r-pill); padding: 6px 12px; font-size: var(--fs-label); font-weight: 500; }
.uzdo-intro__cols { display: grid; gap: 32px; }
@media (min-width: 1000px) { .uzdo-intro__cols { grid-template-columns: minmax(0, 760px) minmax(0, 560px); justify-content: space-between; } }
.uzdo-intro .dim { color: var(--c-on-dark-subtle); }
.uzdo-intro__txt { display: grid; gap: 22px; align-content: start; color: var(--c-on-dark-muted); font-size: var(--fs-body-lg); padding-top: 8px; }
.uzdo-intro__txt p:first-child { color: #fff; }
.status-path { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.status-path i { width: 28px; height: 2px; background: var(--c-border-dark); border-radius: 2px; position: relative; overflow: hidden; }
.status-path i::after { content: ""; position: absolute; inset: 0; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.status-path i.is-lit::after { transform: scaleX(1); }
.status-path .chip { transition: transform .35s var(--ease-out), box-shadow .35s ease; }
.status-path .chip.is-cur { transform: translateY(-2px); box-shadow: 0 0 0 3px rgb(84 175 58 / .35); }
.chip--ondark { background: transparent; color: #fff; }
.chip--ondark::before { background: var(--c-accent); opacity: 1; }

.uzdo-stage { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.ghost { display: none; }
.phone { width: min(300px, 82vw); margin-inline: auto; border-radius: 40px; background: #0b1611; padding: 10px; box-shadow: var(--sh-app); border: 1px solid var(--c-border-dark); }
.phone__screen { background: #fff; color: var(--c-ink); border-radius: 31px; padding: 22px 16px 26px; display: grid; gap: 4px; }
.phone__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.phone small { font-size: 11px; color: var(--c-subtle); }
.phone__title { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; }
.phone__tabs { display: flex; gap: 6px; margin: 10px 0 12px; font-size: 12px; }
.phone__tabs span { padding: 5px 10px; border-radius: 8px; color: var(--c-muted); }
.phone__tabs .is-on { background: var(--c-accent-soft); color: var(--c-accent-strong); font-weight: 500; }
.phone ul { display: grid; gap: 10px; }
.phone li { display: grid; gap: 4px; justify-items: start; padding: 12px; border-radius: 14px; background: var(--c-surface); font-size: 13px; }
.phone li .id { font-size: 10px; color: var(--c-subtle); }
.phone li b { font-weight: 500; }
.app { display: none; }
@media (min-width: 1100px) {
  .uzdo-stage { padding-top: 70px; padding-bottom: 20px; }
  .app { display: block; position: relative; z-index: 2; border-radius: var(--r-lg); overflow: hidden; background: #fff; color: var(--c-ink); box-shadow: var(--sh-app); font-size: 13px; }
  .phone { position: absolute; right: -150px; top: 190px; width: 312px; z-index: 1; opacity: .9; }
  .ghost { display: block; position: absolute; z-index: 0; border-radius: var(--r-md); background: rgb(255 255 255 / .9); color: var(--c-ink); padding: 22px; opacity: .32; font-size: 13px; }
  .ghost--hello { left: -150px; top: 0; width: 640px; height: 440px; padding: 28px; }
  .ghost--time { right: -110px; top: 0; width: 440px; }
  .gh-h { font-size: 1.25rem; font-weight: 600; margin: 18px 0 4px; display: flex; justify-content: space-between; align-items: center; }
  .ghost--time .gh-h { margin-top: 0; font-size: 1rem; }
  .gh-proj { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
  .gh-proj span { display: grid; gap: 4px; padding: 14px; background: var(--c-surface); border-radius: 12px; font-weight: 500; }
  .gh-proj i { width: 14px; height: 14px; border-radius: 4px; }
  .gh-proj small { font-weight: 400; color: var(--c-subtle); }
  .ghost dl { display: grid; gap: 12px; margin-top: 16px; }
  .ghost dl div { display: flex; justify-content: space-between; }
  .ghost dd { margin: 0; color: var(--c-subtle); }
}
@media (min-width: 1100px) and (max-width: 1599px) { .phone { right: -40px; } .ghost--hello { left: -40px; } .ghost--time { right: -20px; } }
.app__bar { display: grid; grid-template-columns: 1fr minmax(0, 440px) 1fr; align-items: center; gap: 16px; height: 56px; padding: 0 20px; background: var(--c-ink); color: #fff; }
.app__brand { display: flex; align-items: center; gap: 14px; }
.app__new { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border-radius: 7px; background: var(--c-accent-strong); font-size: 12px; font-weight: 500; }
.app__new svg { width: 13px; height: 13px; }
.app__search { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border-radius: 9px; background: rgb(255 255 255 / .06); color: var(--c-on-dark-subtle); font-size: 12px; }
.app__search svg { width: 15px; height: 15px; }
.app__search span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app__search kbd { font: inherit; font-size: 11px; }
.app__user { justify-self: end; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.app__out { color: var(--c-on-dark-subtle); }
.app__body { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 700px; }
.app__side { background: var(--c-ink); color: #fff; padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; }
.app__co { display: flex; align-items: center; gap: 10px; padding: 8px 6px 14px; }
.app__co .ini { width: 32px; height: 32px; font-size: 12px; }
.app__co b { display: block; font-size: 14px; }
.app__co small { font-size: 11px; color: var(--c-on-dark-subtle); }
.app__nav { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 8px; color: #e3ebe5; }
.app__nav svg { width: 16px; height: 16px; }
.app__nav i { width: 14px; height: 14px; border-radius: 4px; }
.app__nav.is-on { background: rgb(255 255 255 / .07); }
.app__grp { font-size: 11px; color: var(--c-on-dark-subtle); padding: 14px 10px 4px; }
.app__side-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 6px; font-size: 11px; color: var(--c-on-dark-subtle); }
.app__phead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--c-border); }
.app__ptitle { display: flex; align-items: center; gap: 14px; }
.app__pico { width: 40px; height: 40px; border-radius: 10px; background: var(--c-tag-blue); color: #fff; display: grid; place-items: center; }
.app__pico svg { width: 18px; height: 18px; }
.app__ptitle small { display: block; font-size: 11px; color: var(--c-subtle); }
.app__ptitle b { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.app__pact { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--c-muted); }
.app__resp { display: inline-flex; align-items: center; gap: 8px; }
.app__bell { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--c-border); display: grid; place-items: center; }
.app__bell svg { width: 16px; height: 16px; }
.app__add { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 9px; background: var(--c-accent-strong); color: #fff; font-weight: 500; }
.app__add svg { width: 15px; height: 15px; }
.app__tabs { display: flex; gap: 6px; padding: 12px 28px; border-bottom: 1px solid var(--c-border); }
.app__tabs span { padding: 6px 12px; border-radius: 8px; color: var(--c-muted); }
.app__tabs b { font-weight: 400; margin-left: 4px; }
.app__tabs .is-on { background: var(--c-accent-soft); color: var(--c-accent-strong); }
.app__split { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); }
.app__list { border-right: 1px solid var(--c-border); }
.app__cols { display: grid; grid-template-columns: 76px 1fr 120px; padding: 10px 28px; font-size: 11px; color: var(--c-subtle); border-bottom: 1px solid var(--c-border); }
.app__list li { position: relative; display: grid; grid-template-columns: 76px 1fr auto 22px; align-items: center; gap: 12px; padding: 0 28px; height: 55px; border-bottom: 1px solid var(--c-border); }
.app__list li.is-sel { background: var(--c-accent-faint); }
.app__list li.is-sel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c-accent); }
.app__list .id { font-size: 11px; color: var(--c-subtle); }
.app__list .t { font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app__list .av { width: 22px; height: 22px; }
.app__addrow { display: flex; align-items: center; gap: 8px; padding: 14px 28px 14px 104px; color: var(--c-accent-strong); font-weight: 500; }
.app__addrow svg { width: 14px; height: 14px; }
.app__detail { padding: 24px 32px; display: grid; gap: 14px; align-content: start; }
.app__dtop { display: flex; align-items: center; gap: 10px; }
.app__done { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--c-border-strong); font-weight: 500; }
.app__done svg { width: 14px; height: 14px; }
.app__dtop .id, .app__dstat span:last-child { font-size: 11px; color: var(--c-subtle); }
.app__dstat { display: flex; align-items: center; gap: 10px; }
.app__dtitle { font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.app__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.app__meta span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--c-border); font-size: 12px; color: var(--c-muted); }
.app__meta svg { width: 14px; height: 14px; }
.app__h { font-weight: 600; font-size: 14px; margin-top: 6px; }
.app__h small { color: var(--c-subtle); font-weight: 400; margin-left: 4px; }
.app__txt { color: var(--c-muted); }
.app__msg { display: flex; gap: 12px; }
.app__msg .ini, .app__msg .av { width: 32px; height: 32px; }
.app__msg p:first-child { display: flex; align-items: center; gap: 6px; }
.app__msg time { font-size: 11px; color: var(--c-subtle); }
.app__att { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; height: 30px; padding: 0 10px; border-radius: 8px; background: var(--c-surface); font-size: 12px; }
.app__att svg { width: 14px; height: 14px; }
.app__comment { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--c-border-strong); color: var(--c-subtle); margin-top: 8px; }
.app__comment span { flex: 1; }
.app__comment svg { width: 16px; height: 16px; }
.app__comment svg:last-child { color: var(--c-accent-strong); }
.app__comment.is-typing span { color: var(--c-ink); }
.app__comment.is-typing span::after { content: ""; display: inline-block; width: 1px; height: 1em; background: var(--c-ink); margin-left: 2px; vertical-align: -2px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.uzdo-steps { display: grid; gap: 28px; margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) { .uzdo-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.uzdo-steps li { display: flex; gap: 20px; align-items: flex-start; }
.uzdo-steps h3 { margin-bottom: 8px; }
.uzdo-steps p { color: var(--c-on-dark-muted); }

/* ---------- PS Labs cards ---------- */
.labs-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .labs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.labs-c { display: grid; gap: 24px; align-content: start; }
.labs-c__demo { position: relative; aspect-ratio: 477 / 440; border-radius: var(--r-xl); overflow: hidden; }
.labs-c__info { display: grid; gap: 14px; justify-items: start; }
.labs-c__info .muted { font-size: var(--fs-small); }

/* dock demo */
.dock-demo { position: absolute; inset: 0; background: #163b26; color: #fff; overflow: hidden; container-type: inline-size; }
.dock-demo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dock-demo__bar { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 30px; display: flex; justify-content: space-between; align-items: center; padding: 0 14px; background: rgb(8 22 14 / .82); font-size: 12px; }
.dock-demo__bar > span:first-child { display: flex; gap: 14px; }
.dock-demo__bar b { font-weight: 600; transition: opacity .25s ease; }
.dock-demo__tip { position: absolute; z-index: 2; left: 50%; bottom: 102px; transform: translateX(-50%); background: rgb(8 18 12 / .92); padding: 7px 10px; border-radius: 6px; font-size: 12px; white-space: nowrap; transition: left .25s var(--ease-out), opacity .2s ease; }
.dock { position: absolute; z-index: 2; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 6px; padding: 8px 10px; border-radius: 18px; background: rgb(10 26 17 / .72); border: 1px solid rgb(255 255 255 / .12); }
.dock li { position: relative; width: 40px; height: 40px; transition: width .2s var(--ease-out), height .2s var(--ease-out), margin .2s var(--ease-out); }
.dock li span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 22%; background: var(--c); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .25); }
.dock li svg { width: 46%; height: 46%; }
.dock li.is-active::after, .dock li.is-open::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff; opacity: .8; }
.dock li.is-active { width: 54px; height: 54px; }
@media (hover: hover) and (pointer: fine) {
  .dock:hover li { width: 40px; height: 40px; }
  .dock li:hover { width: 58px !important; height: 58px !important; }
  .dock li:has(+ li:hover), .dock li:hover + li { width: 48px !important; height: 48px !important; }
}
.dock-demo--big .dock li { width: 52px; height: 52px; }
.dock-demo--big .dock li.is-active { width: 70px; height: 70px; }
@media (hover: hover) and (pointer: fine) { .dock-demo--big .dock:hover li { width: 52px; height: 52px; } .dock-demo--big .dock li:hover { width: 76px !important; height: 76px !important; } .dock-demo--big .dock li:has(+ li:hover), .dock-demo--big .dock li:hover + li { width: 62px !important; height: 62px !important; } }
.dock-demo--big .dock-demo__bar { height: 34px; font-size: 14px; padding: 0 18px; }
.dock-demo--big .dock-demo__tip { bottom: 128px; font-size: 14px; }
@container (max-width: 380px) { .dock li { width: 30px; height: 30px; } .dock li.is-active { width: 40px; height: 40px; } .dock { gap: 4px; padding: 6px 8px; } .dock-demo__tip { bottom: 82px; } }

/* video demo */
.video-demo { position: absolute; inset: 0; background: var(--c-surface-alt); display: grid; grid-template-columns: 1fr auto 1.1fr; align-items: center; gap: 4%; padding: 8%; }
.vd-left { display: grid; gap: 10px; }
.vd-video { position: relative; aspect-ratio: 168 / 236; border-radius: 14px; background: var(--c-ink); overflow: hidden; }
.vd-rec { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #fff; }
.vd-rec i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-sos-dot); animation: p-blink 1.2s steps(2) infinite; }
.vd-book { position: absolute; left: 12%; right: 12%; top: 26%; height: 40%; display: flex; justify-content: center; transform: rotate(-2deg); }
.vd-book > i { width: 48%; background: #fff; border-radius: 2px; display: grid; align-content: center; gap: 6%; padding: 10%; animation: page-flip 3.2s var(--ease-in-out) infinite; transform-origin: right center; }
.vd-book > i:last-child { animation: none; transform-origin: left center; }
.vd-book b { height: 3px; background: var(--c-ink); border-radius: 2px; }
.vd-book b:nth-child(3n) { width: 65%; }
@keyframes page-flip { 0%, 60% { transform: none; } 75% { transform: scaleX(.2); } 90%, 100% { transform: none; } }
.vd-prog { position: absolute; left: 10px; right: 10px; bottom: 14px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .2); overflow: hidden; }
.vd-prog i { position: absolute; inset: 0; background: var(--c-accent); transform-origin: left; animation: vd-prog 6s linear infinite; }
@keyframes vd-prog { from { transform: scaleX(.05); } to { transform: scaleX(1); } }
.vd-frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.vd-frames i { aspect-ratio: 46 / 34; border-radius: 4px; background: #d9ded4; border: 1.5px solid transparent; }
.vd-frames i.is-on { border-color: var(--c-accent); background: #fff; }
.video-demo small { font-size: 9px; color: var(--c-subtle); }
.vd-arrow { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--sh-card); }
.vd-arrow svg { width: 16px; height: 16px; }
.vd-right { display: grid; gap: 10px; justify-items: start; }
.vd-page { background: #fff; border-radius: 6px; padding: 12%; box-shadow: var(--sh-float); display: grid; gap: 8px; width: 100%; }
.vd-page__h { font-family: var(--font-head); font-size: clamp(.875rem, 1.1vw, 1rem); }
.vd-page__t { font-family: var(--font-head); font-size: clamp(.5625rem, .7vw, .6875rem); line-height: 1.45; color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.vd-page small { font-size: 9px; }
.vd-pages { height: 26px; font-size: 11px; }
.vd-pages svg { width: 13px; height: 13px; }

/* prototype demo */
.proto-demo { position: absolute; inset: 0; background: var(--c-accent); overflow: hidden; }
.pd-scr { position: absolute; top: 18%; width: 33%; aspect-ratio: 150 / 200; background: #fff; border-radius: 12px; padding: 4.2% 3.5%; display: grid; align-content: start; gap: 6%; box-shadow: 0 18px 30px -12px rgb(16 35 27 / .35); transition: transform .6s var(--ease-out); }
.pd-scr b { font-family: var(--font-head); font-weight: 400; font-size: clamp(.75rem, 1vw, .9375rem); }
.pd-dots { display: flex; gap: 3px; } .pd-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--c-border-strong); }
.pd-scr > i { height: 5px; background: var(--c-ink); border-radius: 3px; }
.pd-scr .l2 { width: 75%; } .pd-scr .l3 { width: 85%; }
.pd-scr .box { height: auto; aspect-ratio: 3 / 1.3; background: var(--c-accent-soft); border-radius: 6px; }
.pd-btn { justify-self: stretch; text-align: center; font-size: 9px; padding: 5px; border-radius: 99px; background: var(--c-surface-alt); }
.pd-btn.is-dark { background: var(--c-ink); color: #fff; }
.pd-1 { left: 9%; transform: rotate(-8deg) translateY(8%); }
.pd-3 { right: 9%; transform: rotate(8deg) translateY(8%); }
.pd-2 { left: 33.5%; top: 14%; z-index: 2; }
@media (hover: hover) and (pointer: fine) { .labs-c--proto:hover .pd-1 { transform: rotate(-11deg) translate(-8%, 6%); } .labs-c--proto:hover .pd-3 { transform: rotate(11deg) translate(8%, 6%); } .labs-c--proto:hover .pd-2 { transform: translateY(-3%); } }
.pd-cursor { position: absolute; z-index: 3; left: 56%; top: 64%; width: 22px; height: 22px; color: var(--c-ink); animation: cursor 4s var(--ease-in-out) infinite; }
.pd-cursor svg { width: 100%; height: 100%; }
@keyframes cursor { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-30px, -36px); } 50% { transform: translate(-30px, -36px) scale(.85); } 60% { transform: translate(-30px, -36px); } }
.pd-pill { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 7px 14px; border-radius: 99px; background: var(--c-ink); color: #fff; font-size: 12px; }
.pd-pill svg { width: 14px; height: 14px; color: var(--c-accent); }

/* ---------- works viewer ---------- */
.wv { display: grid; gap: 24px; }
@media (min-width: 1000px) { .wv { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 32px; } }
.wv-list { display: grid; gap: 4px; align-content: start; }
.wv-item { position: relative; width: 100%; text-align: left; display: grid; gap: 6px; padding: 22px 26px; border-radius: var(--r-lg); border: 1px solid transparent; transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden; }
.wv-item__top { display: flex; justify-content: space-between; font-size: var(--fs-small); color: var(--c-subtle); }
.wv-n { color: var(--c-accent-strong); }
.wv-item__t { font-family: var(--font-head); font-size: var(--fs-h4); line-height: 1.3; color: var(--c-subtle); transition: color .3s ease; }
.wv-item__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.wv-item__more > span { overflow: hidden; display: grid; gap: 14px; }
.wv-item__d { font-size: var(--fs-small); color: var(--c-muted); padding-top: 6px; }
.wv-item__bar { position: absolute; left: 26px; right: 26px; bottom: 0; height: 2px; background: var(--c-border); opacity: 0; }
.wv-item__bar i { position: absolute; inset: 0; background: var(--c-accent); transform: scaleX(0); transform-origin: left; }
.wv-item.is-on { background: #fff; border-color: var(--c-border); box-shadow: var(--sh-float); }
.wv-item.is-on .wv-item__t { color: var(--c-ink); }
.wv-item.is-on .wv-item__more { grid-template-rows: 1fr; }
.wv-item.is-on .wv-item__bar { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .wv-item:not(.is-on):hover { background: var(--c-surface); } .wv-item:not(.is-on):hover .wv-item__t { color: var(--c-ink); } }
.wv-stage { position: relative; border-radius: var(--r-xl); background: var(--c-ink); overflow: hidden; min-height: 280px; aspect-ratio: 840 / 566; }
.wv-shots { position: absolute; inset: 9% 6% 14% 6%; }
.wv-shot { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .5s ease, transform .7s var(--ease-out); pointer-events: none; }
.wv-shot.is-on { opacity: 1; transform: none; pointer-events: auto; }
.browser { position: absolute; left: 0; top: 0; width: 84%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--sh-app); }
.browser__bar { display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 12px; background: #f1f3ef; }
.browser__dots { display: flex; gap: 5px; } .browser__dots i { width: 8px; height: 8px; border-radius: 50%; background: #d6dbd2; }
.browser__url { flex: 1; display: flex; align-items: center; gap: 6px; height: 20px; padding: 0 10px; border-radius: 6px; background: #fff; font-size: 11px; color: var(--c-muted); }
.browser__url svg { width: 11px; height: 11px; }
.browser img { width: 100%; height: auto; aspect-ratio: 1400 / 788; object-fit: cover; object-position: top; }
.wv-phone { position: absolute; right: 0; bottom: -8%; width: 23%; aspect-ratio: 196 / 400; border-radius: 22px; padding: 6px; background: #0b1611; border: 1px solid var(--c-border-dark); box-shadow: var(--sh-app); }
.wv-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; }
.wv-open { position: absolute; z-index: 2; right: 5%; top: 6%; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 99px; background: rgb(255 255 255 / .1); color: #fff; font-size: var(--fs-small); font-weight: 500; transition: background-color .2s ease, color .2s ease; }
.wv-open svg { width: 15px; height: 15px; color: var(--c-accent); }
@media (hover: hover) and (pointer: fine) { .wv-open:hover { background: #fff; color: var(--c-ink); } }
.wv-count { position: absolute; left: 6%; bottom: 6%; display: flex; align-items: center; gap: 12px; color: var(--c-on-dark-muted); font-size: var(--fs-label); }
.wv-dashes { display: flex; gap: 6px; } .wv-dashes i { width: 14px; height: 3px; border-radius: 3px; background: var(--c-on-dark-subtle); transition: width .3s var(--ease-out), background-color .3s ease; } .wv-dashes i.is-on { width: 36px; background: var(--c-accent); }
@media (min-width: 1000px) { .wv-stage { aspect-ratio: auto; min-height: 540px; } }
@media (max-width: 999px) {
  .wv { display: flex; flex-direction: column-reverse; }
  .wv-stage { aspect-ratio: 4 / 3; }
  .wv-shots { inset: 18% 5% 16% 5%; }
  .wv-open { top: 4%; right: 4%; height: 36px; font-size: var(--fs-label); }
  .wv-item { padding: 18px 20px; }
  .wv-item__bar { left: 20px; right: 20px; }
}

/* ---------- cooperation ---------- */
.coop-list { display: grid; gap: 16px; }
@media (min-width: 700px) { .coop-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .coop-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.coop-list > li { display: flex; }
.coop { position: relative; width: 100%; text-align: left; display: flex; flex-direction: column; gap: 14px; padding: 46px 24px 26px; border-radius: var(--r-lg); background: var(--c-surface); transition: background-color .4s ease, color .4s ease; isolation: isolate; overflow: visible; }
.coop__line { position: absolute; left: 0; right: 0; top: -22px; height: 2px; background: var(--c-border); }
.coop__line::before { content: ""; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-border-strong); transition: background-color .3s ease, box-shadow .3s ease; }
.coop__line i { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: var(--c-accent); transform: scaleX(0); transform-origin: left; }
.coop-list { margin-top: 22px; }
.coop.is-on .coop__line::before { background: var(--c-accent); box-shadow: 0 0 0 5px var(--c-accent-soft); }
.coop__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.coop__tile { width: 72px; height: 72px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--c-border); display: grid; place-items: center; }
.coop__tile .picto { width: 52px; height: 52px; }
.coop__n { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--c-border-strong); transition: color .4s ease; }
.coop__d { font-size: var(--fs-small); color: var(--c-muted); transition: color .4s ease; flex: 1; }
.coop__fact { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--c-border); font-size: var(--fs-label); font-weight: 500; transition: background-color .4s ease, color .4s ease, border-color .4s ease; }
.coop__fact svg { width: 14px; height: 14px; color: var(--c-accent-strong); }
.coop.is-on { background: var(--c-ink); color: #fff; }
.coop.is-on .coop__n { color: var(--c-accent); }
.coop.is-on .coop__d { color: var(--c-on-dark-muted); }
.coop.is-on .coop__fact { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-ink); }
.coop.is-on .coop__fact svg { color: var(--c-ink); }
@media (hover: hover) and (pointer: fine) { .coop:not(.is-on):hover { background: var(--c-surface-alt); } }

.bill { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 32px; padding: clamp(28px, 4vw, 60px); border-radius: var(--r-xl); background: var(--c-surface); align-items: center; }
.bill::before { -webkit-mask-image: none; mask-image: none; opacity: .7; border-radius: inherit; }
@media (min-width: 1000px) { .bill { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; } }
.bill__l { display: grid; gap: 20px; justify-items: start; }
.bill__l .eyebrow { margin: 0; }
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: auto; padding: 4px; border-radius: 99px; background: #fff; border: 1px solid var(--c-border); }
.seg button { position: relative; z-index: 1; height: 42px; padding: 0 18px; border-radius: 99px; font-size: var(--fs-small); font-weight: 500; transition: color .3s ease; white-space: nowrap; }
.seg button[aria-selected="true"] { color: #fff; }
.seg > i { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: var(--w, 120px); border-radius: 99px; background: var(--c-ink); transform: translateX(var(--x, 0)); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }
.bill__panes, .bill__r { display: grid; }
.bill__pane, .bill__card { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s ease, transform .5s var(--ease-out), visibility 0s linear .35s; display: grid; gap: 20px; }
.bill__pane.is-on, .bill__card.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease .05s, transform .5s var(--ease-out) .05s, visibility 0s; }
.bill .lead { font-size: var(--fs-body-lg); max-width: 34rem; }
.est { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-float); display: grid; gap: 14px; }
.est__head { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px dashed var(--c-border); }
.est__ico { width: 36px; height: 36px; }
.est__head b { display: block; font-size: var(--fs-small); font-weight: 600; }
.est__head small { font-size: var(--fs-label-sm); color: var(--c-subtle); }
.est__rows { display: grid; gap: 12px; font-size: var(--fs-label); }
.est__rows li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; }
.est__rows li svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent-strong); }
.est__rows small { color: var(--c-subtle); font-size: var(--fs-label-sm); }
.est__rows--time li { grid-template-columns: 1fr auto 70px; }
.est__rows--time b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.est__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--c-ink); color: #fff; }
.est__foot small { display: block; font-size: 10px; color: var(--c-on-dark-subtle); }
.est__foot b { font-weight: 600; font-size: var(--fs-small); }
.est__foot--sum { grid-template-columns: 1fr auto; align-items: center; }
.chip--light { background: var(--c-accent); color: var(--c-ink); }
.chip--light::before { background: var(--c-ink); }
@media (max-width: 520px) { .est { padding: 18px; } .est__foot { grid-template-columns: 1fr 1fr; } .est__rows--time li { grid-template-columns: 1fr auto; } .est__rows--time .chip { display: none; } }

/* ---------- testimonials ---------- */
.ts { display: grid; gap: 22px; }
.ts-panel { position: relative; border-radius: var(--r-xl); background: var(--c-ink); color: #fff; padding: clamp(28px, 4.4vw, 64px); overflow: hidden; }
.ts-slides { display: grid; }
.ts-slide { grid-area: 1 / 1; display: grid; gap: 32px; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.ts-slide.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease .1s, visibility 0s; }
@media (min-width: 1000px) { .ts-slide { grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; } .ts-who { border-left: 1px dashed var(--c-border-dark); padding-left: 40px; } }
.ts-q { display: grid; gap: 28px; align-content: space-between; }
.ts-q__top { display: flex; align-items: center; gap: 18px; }
.ts-mark { font-family: var(--font-head); font-size: 5.5rem; line-height: .55; height: .5em; color: var(--c-accent); }
.ts-tag { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--c-accent); }
.ts-tag svg { width: 20px; height: 20px; }
.ts-q blockquote { font-family: var(--font-head); font-size: var(--fs-quote); line-height: 1.35; letter-spacing: -.015em; max-width: 30ch; }
@media (min-width: 1000px) { .ts-q blockquote { max-width: 34ch; } }
.ts-q em { font-style: normal; color: var(--c-accent); }
.ts-slide.is-on .ts-q em { background: linear-gradient(rgb(84 175 58 / .16), rgb(84 175 58 / .16)) left 92% / 0 30% no-repeat; animation: hl 1.2s var(--ease-out) .5s forwards; }
@keyframes hl { to { background-size: 100% 30%; } }
.ts-who { display: grid; gap: 4px; justify-items: start; align-content: start; }
.ts-av { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid var(--c-accent); margin-bottom: 18px; }
.ts-who b { font-weight: 600; font-size: 1.125rem; }
.ts-who > span:not(.tag) { font-size: var(--fs-small); color: var(--c-on-dark-muted); margin-bottom: 12px; }
.ts-ctrl { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 36px; }
@media (min-width: 1000px) { .ts-ctrl { position: absolute; right: clamp(28px, 4.4vw, 64px); bottom: clamp(28px, 4.4vw, 64px); width: 280px; margin: 0; display: grid; justify-items: start; padding-left: 40px; box-sizing: content-box; } }
.ts-progress { display: flex; align-items: center; gap: 14px; font-size: var(--fs-label); color: var(--c-on-dark-muted); }
.ts-bars { display: flex; gap: 4px; }
.ts-bars i { position: relative; width: 12px; height: 2px; background: var(--c-border-dark); border-radius: 2px; overflow: hidden; }
.ts-bars i.is-done { background: var(--c-accent); }
.ts-bars i.is-on { width: 28px; }
.ts-bars i.is-on::after { content: ""; position: absolute; inset: 0; background: var(--c-accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.ts-next { color: #fff; font-size: var(--fs-small); }
.ts-people { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ts-p { display: flex; align-items: center; gap: 10px; border-radius: 99px; padding: 4px; transition: background-color .3s ease, box-shadow .3s ease, padding .3s var(--ease-out); }
.ts-p img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; filter: grayscale(1); opacity: .8; transition: filter .3s ease, opacity .3s ease; }
.ts-p span { display: none; text-align: left; padding-right: 14px; }
.ts-p b { display: block; font-weight: 500; font-size: var(--fs-small); }
.ts-p small { font-size: var(--fs-label); color: var(--c-subtle); }
.ts-p.is-on { background: #fff; box-shadow: var(--sh-float); }
.ts-p.is-on img { filter: none; opacity: 1; }
.ts-p.is-on span { display: block; }
@media (hover: hover) and (pointer: fine) { .ts-p:not(.is-on):hover img { filter: none; opacity: 1; } }
@media (max-width: 699px) { .ts-p img { width: 40px; height: 40px; } .ts-people { gap: 6px; } .ts-av { width: 72px; height: 72px; margin-bottom: 10px; } }

/* ---------- about bento ---------- */
.bento { display: grid; gap: 20px; }
@media (min-width: 1100px) { .bento { grid-template-columns: minmax(0, 480fr) minmax(0, 436fr) minmax(0, 516fr); gap: 24px; } }
@media (min-width: 700px) and (max-width: 1099px) { .bento { grid-template-columns: 1fr 1fr; } .bento__pr { grid-column: 1 / -1; } }
.bento__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #0d0f12; aspect-ratio: 480 / 640; }
.bento__photo > img { width: 100%; height: 100%; object-fit: cover; }
.bento__loc { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 99px; background: #fff; font-size: var(--fs-label); font-weight: 500; }
.bento__loc svg { width: 16px; height: 16px; }
.bento__name { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--r-md); background: #fff; }
.bento__name b { display: block; font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.bento__name small { display: block; margin-top: 2px; font-size: var(--fs-small); line-height: 1.35; color: var(--c-muted); }
.bento__name img { width: 76px; height: auto; }
.bento__mid { display: grid; gap: 20px; grid-template-rows: 1.37fr 1fr; }
.bento__quote { border-radius: var(--r-xl); background: var(--c-accent); padding: 36px 34px; display: grid; align-content: space-between; gap: 32px; }
.bento__quote .ts-mark { color: var(--c-ink); }
.bento__quote p { font-family: var(--font-head); font-size: clamp(1.375rem, 1.2rem + .5vw, 1.75rem); line-height: 1.3; letter-spacing: -.015em; }
.bento__quote cite { font-style: normal; font-size: var(--fs-small); display: block; margin-top: 16px; }
.bento__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.fact { border-radius: var(--r-xl); background: var(--c-surface); padding: 28px; display: grid; align-content: space-between; gap: 40px; min-height: 200px; }
.fact i { width: 24px; height: 2px; background: var(--c-accent); }
.fact b { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-stat); line-height: 1.1; letter-spacing: -.03em; display: block; }
.fact span { font-size: var(--fs-small); color: var(--c-muted); }
.bento__pr { border-radius: var(--r-xl); background: var(--c-surface); padding: 36px 32px; display: grid; gap: 8px; align-content: start; }
.bento__pr ul { display: grid; margin-bottom: 28px; }
.bento__pr li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 16px 0; }
.bento__pr li + li { border-top: 1px dashed var(--c-border-strong); }
.pr-tile { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--c-border); display: grid; place-items: center; }
.pr-tile svg { width: 26px; height: 26px; }
.bento__pr b { display: block; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; }
.bento__pr small { display: block; font-size: var(--fs-small); color: var(--c-muted); }
.bento__pr .btn { justify-self: start; }
/* 1100-1439: the middle column was too narrow for two facts, they pushed into the principles card */
@media (min-width: 1100px) and (max-width: 1439.98px) {
  .bento { grid-template-columns: minmax(0, 30fr) minmax(0, 34fr) minmax(0, 36fr); }
  .fact { padding: 24px 22px; }
  .fact b { font-size: clamp(2.25rem, 1rem + 1.75vw, 3rem); }
}
/* desktop: the photo fills the row height instead of leaving a gap under it */
@media (min-width: 1100px) { .bento__photo { aspect-ratio: auto; min-height: 420px; } .bento__photo > img { position: absolute; inset: 0; } }
@media (min-width: 1100px) and (max-width: 1279.98px) { .bento__name img { display: none; } }
/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 120px; } .faq-intro { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq-intro { display: grid; gap: 24px; align-content: start; }

/* ---------- contacts ---------- */
.contact-panel { display: grid; gap: 40px; padding: clamp(24px, 5vw, 72px); border-radius: var(--r-xl); background: #e9f3e4; overflow: hidden; }
.contact-panel::before { -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
@media (min-width: 1100px) { .contact-panel { grid-template-columns: minmax(0, 520px) minmax(0, 736px); justify-content: space-between; gap: 64px; } }
.contact-intro { display: grid; gap: 24px; align-content: start; }
.contact-dl { display: grid; margin-top: 8px; border-top: 1px dashed #c9d8c2; }
.contact-dl div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px dashed #c9d8c2; align-items: baseline; }
.contact-dl dt { font-size: var(--fs-small); color: var(--c-muted); }
.contact-dl dd { margin: 0; font-weight: 500; font-size: 1.0625rem; }
@media (max-width: 520px) { .contact-dl div { grid-template-columns: 1fr; gap: 2px; } }
.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3vw, 40px); box-shadow: var(--sh-card); }
.sos-mini-card { background: #fff; border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; margin-top: 8px; }
.smc-top { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--c-sos); }
.smc-top b { font-weight: 500; }
.smc-top i { flex: 1; height: 1px; background: var(--c-border); }
.smc-top small { color: var(--c-subtle); font-size: var(--fs-label); }
.smc-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 8px; }
.smc-steps li { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; font-size: var(--fs-label); font-weight: 500; }
.smc-steps li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.smc-steps li + li { margin-left: 22px; position: relative; }
.smc-steps li + li::after { content: ""; position: absolute; left: -22px; top: 50%; width: 16px; border-top: 1px dashed var(--c-border-strong); }
.smc-steps .r { background: var(--c-error-soft); color: var(--c-sos); }
.smc-steps .g { background: var(--c-accent-soft); color: var(--c-accent-strong); }
.smc-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.smc-act > span { display: grid; font-size: var(--fs-small); font-weight: 500; }
.smc-act small { font-size: var(--fs-label); color: var(--c-subtle); font-weight: 400; }

/* ---------- service pages ---------- */
.price-band { display: grid; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--c-accent-faint); border: 1px solid var(--c-accent-mid); }
@media (min-width: 1000px) { .price-band { grid-template-columns: minmax(0, 300px) minmax(0, 1fr) auto; gap: 56px; } }
.price-band__p { display: grid; gap: 4px; }
.price-band__p .eyebrow { margin: 0 0 4px; }
.price-band__p small { font-size: var(--fs-small); color: var(--c-muted); }
.price-band__act { display: grid; justify-items: center; gap: 12px; }
@media (max-width: 999px) { .price-band__act { justify-items: start; } }
.price-band [data-m="magnet"] { padding: 0 28px; }

.inc { display: grid; border-top: 1px solid var(--c-border); }
.inc li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--c-border); }
@media (min-width: 900px) { .inc--2 { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
@media (min-width: 900px) { .inc--3 { grid-template-columns: repeat(3, 1fr); column-gap: 24px; } }
.inc__tick { width: 28px; height: 28px; border-radius: 8px; background: var(--c-accent-soft); color: var(--c-accent-strong); display: grid; place-items: center; }
.inc__tick svg { width: 15px; height: 15px; }
.inc b { display: block; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; margin-bottom: 4px; }
.inc small { display: block; font-size: var(--fs-small); color: var(--c-muted); }

.proc-list { display: grid; gap: 16px; }
@media (min-width: 700px) { .proc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .proc-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.proc { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border-radius: var(--r-lg); background: var(--c-ink-raised); border: 1px solid var(--c-border-dark); transition: border-color .3s ease, background-color .3s ease; }
@media (hover: hover) and (pointer: fine) { .proc:hover { border-color: rgb(84 175 58 / .5); } }
.proc__top { display: flex; justify-content: space-between; align-items: center; }
.proc__top small { font-size: var(--fs-label); color: var(--c-on-dark-subtle); }
.proc__n { font-family: var(--font-head); font-size: 1.875rem; color: var(--c-accent-on-dark); line-height: 1; }
.proc p { font-size: var(--fs-small); color: var(--c-on-dark-muted); flex: 1; }
.proc__res { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgb(0 0 0 / .25); font-size: var(--fs-label); }
.proc__res svg { width: 14px; height: 14px; color: var(--c-accent); }
@media (max-width: 699px) {
  .proc-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: none; }
  .proc-list::-webkit-scrollbar { display: none; }
  .proc { flex: 0 0 82%; scroll-snap-align: start; }
}

/* hero visuals of service pages */
.hv { position: relative; padding: 0 0 40px; }
.ui-card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--c-border); box-shadow: var(--sh-float); padding: 24px; position: relative; }
.ui-card--dark { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.ui-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ui-h b { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.ui-h small { display: block; font-size: var(--fs-label); color: var(--c-subtle); margin-top: 2px; }
.ui-card--dark .ui-h small { color: var(--c-on-dark-subtle); }
.ui-rows { display: grid; margin-top: 16px; border-top: 1px solid var(--c-border); }
.ui-card--dark .ui-rows { border-color: var(--c-border-dark); }
.ui-rows > li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--c-border); font-size: var(--fs-small); }
.ui-card--dark .ui-rows > li { border-color: var(--c-border-dark); }
.ui-rows small { display: block; font-size: var(--fs-label); color: var(--c-subtle); }
.ui-card--dark .ui-rows small { color: var(--c-on-dark-subtle); }
.ui-float { position: absolute; z-index: 2; border-radius: var(--r-md); box-shadow: var(--sh-float); }
.toast-demo { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; background: var(--c-ink); color: #fff; width: min(330px, 80%); }
.toast-demo i { width: 30px; height: 30px; border-radius: 50%; background: var(--c-accent); display: grid; place-items: center; color: #fff; }
.toast-demo i svg { width: 15px; height: 15px; }
.toast-demo b { display: block; font-size: var(--fs-small); font-weight: 600; }
.toast-demo span { font-size: var(--fs-label); color: var(--c-on-dark-muted); }
.toast-demo > svg { width: 14px; height: 14px; color: var(--c-on-dark-subtle); }
@media (max-width: 999px) { .hv { padding-bottom: 56px; } }

/* WordPress editor visual */
.ed { padding: 0; overflow: hidden; }
.ed__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px; background: var(--c-surface); border-bottom: 1px solid var(--c-border); font-size: var(--fs-label); color: var(--c-muted); }
.ed__bar span:last-child { margin-left: auto; }
.ed__body { display: grid; gap: 14px; padding: 20px; }
.ed__f { display: grid; gap: 6px; font-size: var(--fs-label-sm); color: var(--c-muted); }
.ed__f > span { border: 1px solid var(--c-border-strong); border-radius: var(--r-sm); padding: 12px 14px; color: var(--c-ink); font-size: var(--fs-small); }
.ed__f.is-focus > span { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgb(84 175 58 / .15); }
.ed__img { display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-sm); background: var(--c-surface); font-size: var(--fs-small); }
.ed__img i { height: 56px; border-radius: 6px; background: linear-gradient(135deg, var(--c-accent-mid), var(--c-accent-soft)); }
.ed__img small { display: block; font-size: var(--fs-label-sm); color: var(--c-subtle); }
.ed__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: var(--fs-label); color: var(--c-subtle); }
.typing::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px; background: var(--c-ink); vertical-align: -2px; animation: caret 1s steps(2) infinite; }
.hv-wp .ui-float.top { right: -8px; top: -24px; padding: 14px 16px; background: #fff; display: grid; gap: 6px; font-size: var(--fs-label); width: 220px; }
.hv-wp .ui-float.top b { font-size: var(--fs-small); }
.hv-wp .toast-demo { left: -24px; bottom: 0; }
@media (max-width: 699px) { .hv-wp .ui-float.top { display: none; } .hv-wp .toast-demo { left: 8px; } }

/* order (woo) */
.order-items { display: grid; gap: 0; margin-top: 16px; }
.order-items li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--c-border); font-size: var(--fs-small); }
.order-items li i { width: 36px; height: 36px; border-radius: 8px; background: var(--c-accent-soft); }
.order-items li i.g { background: var(--c-surface-alt); }
.order-items small { display: block; font-size: var(--fs-label-sm); color: var(--c-subtle); }
.order-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--c-surface); font-size: var(--fs-label); color: var(--c-muted); }
.order-total b { font-size: 1.375rem; font-weight: 600; color: var(--c-ink); letter-spacing: -.02em; }
.order-flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.order-flags span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; background: var(--c-accent-faint); color: var(--c-accent-strong); font-size: var(--fs-label-sm); font-weight: 500; opacity: 0; transform: translateY(4px); }
.order-flags span svg { width: 12px; height: 12px; }
.is-played .order-flags span { animation: flag-in .5s var(--ease-out) forwards; }
.is-played .order-flags span:nth-child(2) { animation-delay: .6s; }
.is-played .order-flags span:nth-child(3) { animation-delay: 1.2s; }
@keyframes flag-in { to { opacity: 1; transform: none; } }
.hv-woo .toast-demo { left: -24px; bottom: 0; }
@media (max-width: 699px) { .hv-woo .toast-demo { left: 8px; } }

/* IT system */
.role-seg { display: inline-flex; padding: 3px; border-radius: 99px; background: rgb(255 255 255 / .07); font-size: var(--fs-label-sm); }
.role-seg span { padding: 5px 10px; border-radius: 99px; color: var(--c-on-dark-muted); }
.role-seg .is-on { background: var(--c-accent); color: var(--c-ink); font-weight: 500; }
.ui-rows .srv { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; }
.srv .id { font-size: var(--fs-label-sm); color: var(--c-on-dark-subtle); }
.hv-it .ui-float { left: -24px; bottom: 0; padding: 16px 18px; background: #fff; width: 240px; display: grid; gap: 6px; font-size: var(--fs-label); color: var(--c-subtle); }
.hv-it .ui-float b { font-size: var(--fs-small); color: var(--c-ink); }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 6px; }
.spark i { flex: 1; height: calc(var(--h) * 1%); border-radius: 2px; background: var(--c-accent-mid); }
.spark i:nth-last-child(-n+3) { background: var(--c-accent); }
@media (max-width: 699px) { .hv-it .ui-float { left: 8px; } .role-seg { display: none; } }

/* AI prototype */
.hv-ai .proto-demo { position: relative; inset: auto; aspect-ratio: 560 / 420; border-radius: var(--r-xl); }
.hv-ai .ui-float { left: -24px; bottom: 0; background: #fff; padding: 16px 18px; width: 220px; font-size: var(--fs-label); }
.tl { display: grid; gap: 10px; margin-top: 8px; }
.tl li { display: grid; grid-template-columns: 8px 1fr; gap: 10px; align-items: start; }
.tl li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); margin-top: 5px; }
.tl b { display: block; font-weight: 500; font-size: var(--fs-small); }
.tl small { color: var(--c-subtle); }
@media (max-width: 699px) { .hv-ai .ui-float { left: 8px; } }

/* audit */
.hv-audit .ui-float { left: -24px; bottom: 0; background: var(--c-ink); color: #fff; padding: 14px 18px; display: grid; gap: 6px; font-size: var(--fs-label); }
.hv-audit .ui-float small { color: var(--c-on-dark-subtle); }
.risk { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: 16px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--c-surface); }
.risk b { font-family: var(--font-head); font-weight: 400; font-size: 2.5rem; line-height: 1; }
.risk span { font-size: var(--fs-small); font-weight: 500; }
.risk small { display: block; font-size: var(--fs-label); color: var(--c-subtle); font-weight: 400; }
@media (max-width: 699px) { .hv-audit .ui-float { left: 8px; } }

/* uptime overview (maintenance) */
.ov-big { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 16px; margin-top: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--c-border-dark); }
.ov-big small { display: block; font-size: var(--fs-label); color: var(--c-on-dark-subtle); }
.ov-big b { font-family: var(--font-head); font-weight: 400; font-size: 3rem; line-height: 1; letter-spacing: -.03em; }
.ov-bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; justify-content: flex-end; }
.ov-bars i { width: 5px; height: 26px; border-radius: 2px; background: var(--c-accent); }
.ov-bars i.w { background: var(--c-warning); height: 12px; }
.hv-mnt .ui-float { left: -24px; bottom: 0; background: #fff; padding: 16px 18px; width: 230px; display: grid; gap: 4px; font-size: var(--fs-label); }
.hv-mnt .ui-float small { color: var(--c-warning-text); }
.hv-mnt .ui-float b { font-size: var(--fs-small); }
.hv-mnt .ui-float div { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
@media (max-width: 699px) {
  .hv-mnt { padding-bottom: 0 !important; }
  .hv-mnt .ui-float { position: relative; left: auto; bottom: auto; right: auto; top: auto; margin: -36px 12px 0 auto; width: min(270px, 86%); }
  .hv-mnt .ui-card { padding-bottom: 52px; }
  .ov-big { gap: 12px; } .ov-big b { font-size: 2.5rem; } .ov-bars { overflow: hidden; }
}
.hv-mnt .ui-float div span { white-space: nowrap; }

/* backups (hosting) */
.bk-lbl { font-size: var(--fs-label); font-weight: 500; margin: 18px 0 10px; }
.bk-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.bk-row span { display: grid; gap: 4px; justify-items: center; font-size: 10px; color: var(--c-subtle); }
.bk-row span i { width: 100%; height: 34px; border-radius: 6px; background: var(--c-surface); display: grid; align-content: center; gap: 3px; padding: 0 5px; }
.bk-row span i b { height: 4px; border-radius: 2px; background: var(--c-accent); transform-origin: left; }
.is-played .bk-row span i b { animation: bk-in .5s var(--ease-out) both; }
@keyframes bk-in { from { transform: scaleX(0); } }
.bk-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--c-surface); font-size: var(--fs-small); }
.bk-foot small { display: block; font-size: var(--fs-label); color: var(--c-subtle); }
.hv-host .ui-float { left: -24px; bottom: 0; background: var(--c-ink); color: #fff; padding: 14px 18px; display: grid; gap: 6px; font-size: var(--fs-label); }
.hv-host .ui-float small { color: var(--c-on-dark-subtle); }
@media (max-width: 699px) { .hv-host .ui-float { left: 8px; } }

/* NO -> UZ */
.nouz { display: grid; border-radius: var(--r-xl); overflow: hidden; }
@media (min-width: 900px) { .nouz { grid-template-columns: 1fr 1fr; } }
.nouz__side { position: relative; padding: clamp(28px, 4vw, 56px); display: grid; gap: 16px; align-content: start; }
.nouz__no { background: var(--c-surface-alt); }
.nouz__uz { background: var(--c-ink); color: #fff; }
.nouz__k { justify-self: start; display: inline-grid; place-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font-size: var(--fs-label-sm); font-weight: 600; background: var(--c-ink); color: #fff; }
.nouz__uz .nouz__k { background: var(--c-accent); color: var(--c-ink); }
.nouz__no .h3 { color: var(--c-muted); }
.nouz ul { display: grid; gap: 12px; font-size: var(--fs-small); }
.nouz li { display: flex; gap: 10px; align-items: center; }
.nouz li svg { width: 15px; height: 15px; flex: none; }
.nouz__no li svg { color: var(--c-error); }
.nouz__uz li svg { color: var(--c-accent); }
.nouz__uz li { color: var(--c-on-dark-muted); }
.js .nouz[data-nouz] .nouz__uz { clip-path: inset(100% 0 0 0); }
.js .nouz[data-nouz] .nouz__no li { opacity: .35; }
.js .nouz[data-nouz] .nouz__uz li { opacity: 0; transform: translateY(8px); }
.js .nouz[data-nouz].is-played .nouz__uz { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-in-out) 1.4s; }
.js .nouz[data-nouz].is-played .nouz__no li { opacity: 1; transition: opacity .4s ease; }
.js .nouz[data-nouz].is-played .nouz__no li:nth-child(2) { transition-delay: .35s; }
.js .nouz[data-nouz].is-played .nouz__no li:nth-child(3) { transition-delay: .7s; }
.js .nouz[data-nouz].is-played .nouz__uz li { opacity: 1; transform: none; transition: opacity .5s ease, transform .6s var(--ease-out); }
.js .nouz[data-nouz].is-played .nouz__uz li:nth-child(1) { transition-delay: 2.3s; }
.js .nouz[data-nouz].is-played .nouz__uz li:nth-child(2) { transition-delay: 2.45s; }
.js .nouz[data-nouz].is-played .nouz__uz li:nth-child(3) { transition-delay: 2.6s; }

/* plans */
.plans { display: grid; gap: 20px; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1fr; gap: 24px; } }
.plan { border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--c-border); display: grid; gap: 8px; align-content: start; }
.plan--dark { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.plan__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 8px; }
.plan__price b { font-family: var(--font-head); font-weight: 400; font-size: clamp(2.75rem, 2rem + 2vw, 3.75rem); line-height: 1; letter-spacing: -.03em; }
.plan__price span { font-size: var(--fs-small); color: var(--c-muted); }
.plan--dark .plan__price span { color: var(--c-on-dark-muted); }
.plan dl { display: grid; border-top: 1px solid var(--c-border); margin-bottom: 24px; }
.plan--dark dl { border-color: var(--c-border-dark); }
.plan dl div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--c-border); font-size: var(--fs-small); }
.plan--dark dl div { border-color: var(--c-border-dark); }
.plan dt { color: var(--c-muted); }
.plan--dark dt { color: var(--c-on-dark-muted); }
.plan dd { margin: 0; font-weight: 500; text-align: right; }
.plan .btn { justify-self: start; }

/* services overview */
.cfg-teaser { background: var(--c-ink); color: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; box-shadow: var(--sh-app); }
.cfg-teaser__top { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-label); color: var(--c-accent-on-dark); }
.cfg-teaser__top span:last-child { color: var(--c-on-dark-subtle); font-size: var(--fs-label-sm); }
.cfg-teaser__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cfg-teaser__steps i { height: 3px; border-radius: 3px; background: var(--c-border-dark); }
.cfg-teaser__steps i.on { background: var(--c-accent); }
.cfg-teaser .choice label { background: transparent; color: #fff; border-color: transparent; }
.cfg-teaser .choice input:checked + label { background: transparent; color: #fff; border-color: transparent; }
.cfg-teaser .choice input:not(:checked) + label { background: #fff; color: var(--c-ink); }
.cfg-teaser__sum { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--c-ink-raised); }
.cfg-teaser__sum small { display: block; font-size: var(--fs-label); color: var(--c-on-dark-subtle); }
.cfg-teaser__sum b { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.375rem, 1rem + 1vw, 1.75rem); white-space: nowrap; }

.dev-rows { display: grid; border-top: 1px solid var(--c-border); }
.dev-row { display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr) auto auto; gap: 16px 32px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--c-border); }
.dev-row__t { display: grid; gap: 8px; }
.dev-row__t p { color: var(--c-muted); font-size: var(--fs-small); }
.dev-row__price { text-align: right; }
.dev-row__price b { display: block; font-family: var(--font-head); font-weight: 400; font-size: clamp(1.875rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.1; white-space: nowrap; }
.dev-row__price small { font-size: var(--fs-label); color: var(--c-subtle); }
@media (max-width: 999px) { .dev-row { grid-template-columns: 56px 1fr; } .dev-row .picto { width: 56px; height: 56px; } .dev-row .check-list, .dev-row__price, .dev-row .btn { grid-column: 2; } .dev-row__price { text-align: left; } .dev-row .btn { justify-self: start; } }

.panels-wrap { height: clamp(380px, 32vw, 460px); }
[data-m="panels"] { height: 100%; gap: 12px; --m-r: var(--r-lg); }
[data-m-panel] { border-radius: var(--r-lg); background: var(--c-ink-raised); border: 1px solid var(--c-border-dark); color: #fff; text-align: left; padding: 0; }
[data-m-panel].is-on { background: var(--c-accent); color: var(--c-ink); border-color: var(--c-accent); }
.pnl { position: absolute; inset: 0; padding: clamp(24px, 2.6vw, 36px); display: grid; grid-template-rows: auto 1fr auto; gap: 18px; }
.pnl__k { font-family: var(--font-head); font-size: 1.375rem; color: var(--c-accent-on-dark); white-space: nowrap; transition: opacity .3s ease; }
[data-m-panel].is-on .pnl__k { opacity: 0; }
[data-m-panel] [data-m-vert] { font-family: var(--font-head); font-size: 1.5rem; }
.pnl__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; height: 100%; }
.pnl__body > span:first-child { display: grid; gap: 14px; align-content: space-between; height: 100%; max-width: 30rem; }
.pnl__price { text-align: right; }
.pnl__price small { display: block; font-size: var(--fs-small); }
.pnl__price b { display: block; font-family: var(--font-head); font-weight: 400; font-size: clamp(2.5rem, 2rem + 2vw, 4rem); line-height: 1; letter-spacing: -.03em; }
.pnl__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
@media (max-width: 699px) {
  .panels-wrap { height: auto; }
  [data-m="panels"], [data-m="panels"].m-abs { display: grid !important; height: auto; }
  [data-m="panels"].m-abs [data-m-panel] { position: relative !important; width: auto !important; transform: none !important; clip-path: none !important; }
  [data-m-panel] { min-height: 0; }
  .pnl { position: relative; inset: auto; }
  [data-m-panel] [data-m-body] { opacity: 1 !important; transform: none !important; }
  [data-m-panel] [data-m-vert] { display: none; }
  [data-m-panel]:not(.is-on) { background: var(--c-ink-raised); color: #fff; }
  .pnl__body { grid-template-columns: 1fr; }
  .pnl__price { text-align: left; }
  .pnl__k { display: none; }
}
.quick { display: grid; gap: 20px; }
@media (min-width: 900px) { .quick { grid-template-columns: 1fr 1fr; gap: 24px; } }
.quick-c { position: relative; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.quick-c--ai { background: var(--c-accent-faint); }
.quick-c--sos { background: var(--c-error-soft); }
.quick-c--sos .eyebrow { color: var(--c-sos); }
.quick-c .picto { position: absolute; right: clamp(24px, 3vw, 40px); top: clamp(24px, 3vw, 40px); }
.quick-c .h3 { padding-right: 72px; }
.quick-c p.muted { max-width: 32rem; font-size: var(--fs-small); }
.quick-c .btn-row { margin-top: 10px; }
.factors { display: grid; gap: 24px; border-top: 1px solid var(--c-border-strong); padding-top: 28px; margin-bottom: clamp(32px, 4vw, 48px); }
@media (min-width: 700px) { .factors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .factors { grid-template-columns: repeat(4, 1fr); } }
.factors b { display: block; font-weight: 600; font-size: 1.0625rem; margin-bottom: 8px; }
.factors p { font-size: var(--fs-small); color: var(--c-muted); }

/* ---------- SOS page ---------- */
.sos-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 99px; background: var(--c-error-soft); color: var(--c-sos); font-size: var(--fs-label); font-weight: 500; }
.sos-badge .sos-dot { width: 6px; height: 6px; }
.sos-call { display: flex; align-items: center; gap: 16px; }
.sos-call__ico { width: 52px; height: 52px; border-radius: 50%; background: var(--c-sos); color: #fff; display: grid; place-items: center; flex: none; }
.sos-call__ico svg { width: 22px; height: 22px; }
.sos-call small { display: block; font-size: var(--fs-small); color: var(--c-muted); }
.sos-call a { font-family: var(--font-head); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1.2; white-space: nowrap; }
.sos-steps { display: grid; border-top: 1px solid var(--c-border); width: 100%; }
.sos-steps li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.sos-steps li > span:first-child { width: 24px; height: 24px; border-radius: 50%; background: var(--c-error-soft); color: var(--c-sos); font-size: var(--fs-label-sm); display: grid; place-items: center; font-weight: 600; }
.sos-steps b { display: block; font-weight: 500; }
.sos-steps small { font-size: var(--fs-small); color: var(--c-muted); }
.sos-form .card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.sos-form .card-h .tag { background: var(--c-surface); border-color: var(--c-border); }
.sos-sent__big { padding: 20px 22px; border-radius: var(--r-md); background: var(--c-error-soft); display: grid; gap: 6px; }
.sos-sent__big small { font-size: var(--fs-label); color: var(--c-muted); }
.sos-sent__big b { font-family: var(--font-head); font-weight: 400; font-size: 1.875rem; line-height: 1.15; }
.ask { text-align: center; padding-block: clamp(64px, 7vw, 100px); }
.ask [data-m="letters"] { font-family: var(--font-head); font-size: var(--fs-h2); line-height: 1.25; letter-spacing: -.02em; display: inline-block; }
.ask [data-m="letters"] .m-line + .m-line { color: var(--c-accent-on-dark); }
.ask [data-m-bar] { background: rgb(84 175 58 / .3); height: 18px; margin-top: -9px; border-radius: 4px; }
.ask p.muted { max-width: 34rem; margin: 24px auto 0; font-size: var(--fs-small); color: var(--c-on-dark-muted); }
.ask a { color: inherit; }
.probs { display: grid; gap: 40px; }
@media (min-width: 1000px) { .probs { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 80px; } }
.probs ul { display: grid; border-top: 1px solid var(--c-border); }
@media (min-width: 700px) { .probs ul { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.probs li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--c-border); }
.probs li svg { width: 20px; height: 20px; color: var(--c-sos); }
.probs li b { display: block; font-weight: 600; font-size: 1.0625rem; margin-bottom: 4px; }
.probs li small { font-size: var(--fs-small); color: var(--c-muted); }
.price-box { border-radius: var(--r-lg); background: var(--c-surface); padding: 24px; display: grid; gap: 4px; align-content: start; }
.price-box dl { display: grid; margin: 6px 0 16px; }
.price-box dl div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--c-border); font-size: var(--fs-small); }
.price-box dt { color: var(--c-muted); }
.price-box dd { margin: 0; font-weight: 500; text-align: right; }
.price-box p { font-size: var(--fs-small); color: var(--c-muted); }
.price-box .link { justify-self: start; margin-top: 6px; font-size: var(--fs-small); }

/* ---------- configurator ---------- */
.cfg-sec { background: var(--c-surface); }
.cfg-head { display: grid; gap: 16px; margin-bottom: 32px; }
@media (min-width: 1000px) { .cfg-head { grid-template-columns: 1fr auto; align-items: end; } }
.cfg-save { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--c-muted); }
.cfg-save svg { width: 16px; height: 16px; }
.stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 32px; }
.stepper li { position: relative; display: flex; align-items: center; gap: 12px; padding-right: 16px; min-width: 0; }
.stepper li:not(:last-child)::after { content: ""; flex: 1; height: 2px; background: var(--c-border-strong); border-radius: 2px; min-width: 16px; transition: background-color .4s ease; }
.stepper li.is-done:not(:last-child)::after { background: var(--c-accent); }
.stepper .n { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1.5px solid var(--c-border-strong); background: #fff; display: grid; place-items: center; font-size: var(--fs-label); font-weight: 600; transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.stepper .n svg { width: 14px; height: 14px; display: none; }
.stepper li.is-done .n svg { display: block; }
.stepper li.is-done .n b { display: none; }
.stepper li.is-cur .n { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.stepper li.is-done .n { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.stepper b { display: block; font-weight: 500; font-size: var(--fs-small); white-space: nowrap; }
.stepper small { display: block; font-size: var(--fs-label-sm); color: var(--c-subtle); white-space: nowrap; }
@media (max-width: 999px) { .stepper { display: flex; } .stepper li { flex: 1 1 0; min-width: 52px; gap: 8px; padding-right: 8px; } .stepper li:last-child { flex: 0 0 auto; min-width: 0; padding-right: 0; } .stepper li::after { min-width: 12px !important; } .stepper li.is-cur { flex: 0 0 auto; } .stepper li > span:not(.n) { display: none; } .stepper li.is-cur > span:not(.n) { display: block; } }
@media (max-width: 520px) { .stepper li.is-cur > span:not(.n) small { display: none; } .stepper li { min-width: 48px; gap: 6px; padding-right: 6px; } .stepper .n { width: 30px; height: 30px; } .stepper li.is-cur b { font-size: .875rem; } }
.cfg { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1100px) { .cfg { grid-template-columns: minmax(0, 1fr) 320px; } }
.cfg-card { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--c-border); padding: clamp(22px, 3vw, 36px); display: grid; gap: 24px; }
.cfg-step { display: grid; gap: 22px; }
.cfg-step[hidden] { display: none; }
.cfg-step > p.muted { margin-top: -10px; }
.types { display: grid; gap: 12px; }
@media (min-width: 600px) { .types { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .types { grid-template-columns: repeat(3, 1fr); } }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types label { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: var(--r-md); border: 1.5px solid var(--c-border); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; min-height: 150px; }
.types label .picto { width: 44px; height: 44px; margin-bottom: 4px; }
.types label b { font-weight: 600; font-size: 1.0625rem; }
.types label small { font-size: var(--fs-label); color: var(--c-muted); }
.types label::after { content: ""; position: absolute; right: 18px; top: 18px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--c-border-strong); transition: border .2s ease; }
@media (hover: hover) and (pointer: fine) { .types label:hover { border-color: var(--c-border-strong); } }
.types input:checked + label { border-color: var(--c-accent); background: var(--c-accent-faint); }
.types input:checked + label::after { border: 5px solid var(--c-accent); }
.types input:focus-visible + label { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.types.is-error label { border-color: #eab2a7; }
.cfg-group { display: grid; gap: 10px; }
.cfg-group > span { font-size: var(--fs-small); font-weight: 500; }
.radio-rows { display: grid; }
.radio-rows > div { display: grid; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--c-border); align-items: center; }
@media (min-width: 800px) { .radio-rows > div { grid-template-columns: 220px 1fr; } }
.radio-rows b { font-weight: 600; }
.radio-set { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.radio-set input { position: absolute; opacity: 0; pointer-events: none; }
.radio-set label { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--c-border); font-size: var(--fs-small); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.radio-set label::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid var(--c-border-strong); transition: border .2s ease; }
.radio-set input:checked + label { border-color: var(--c-accent); background: var(--c-accent-faint); }
.radio-set input:checked + label::before { border: 5px solid var(--c-accent); }
.radio-set input:focus-visible + label { outline: 2px solid var(--c-focus); outline-offset: 2px; }
@media (max-width: 520px) { .radio-set { grid-template-columns: 1fr; } }
.cfg-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; border-top: 1px solid var(--c-border); }
.cfg-nav .small { color: var(--c-subtle); }
.sum { background: var(--c-ink); color: #fff; border-radius: var(--r-xl); padding: 26px 24px; display: grid; gap: 14px; }
@media (min-width: 1100px) { .sum { position: sticky; top: calc(var(--header-h) + 24px); } }
.sum__top { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-label); color: var(--c-accent-on-dark); }
.sum dl { display: grid; }
.sum dl div { padding: 12px 0; border-bottom: 1px solid var(--c-border-dark); }
.sum dt { font-size: var(--fs-label-sm); color: var(--c-on-dark-subtle); }
.sum dd { margin: 2px 0 0; font-size: var(--fs-small); }
.sum dd.is-empty { color: var(--c-on-dark-muted); }
.sum__price { border-radius: var(--r-md); background: var(--c-accent); color: var(--c-ink); padding: 16px 18px; display: grid; gap: 4px; }
.sum__price small { font-size: var(--fs-label-sm); }
.sum__price b { font-family: var(--font-head); font-weight: 400; font-size: 1.75rem; line-height: 1.15; transition: opacity .2s ease; }
.sum__price b.is-flash { animation: flash .5s var(--ease-out); }
@keyframes flash { 40% { transform: scale(1.04); } }
.sum__price span { font-size: var(--fs-label); }
.sum > p { font-size: var(--fs-label); color: var(--c-on-dark-subtle); }
.cfg-result { display: grid; gap: 24px; }
.cfg-result__price { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--c-accent-faint); border: 1px solid var(--c-accent-mid); }
@media (min-width: 700px) { .cfg-result__price { grid-template-columns: 1fr auto; align-items: end; } }
.cfg-result__price small { display: block; font-size: var(--fs-small); color: var(--c-muted); }
.cfg-result__price b { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); line-height: 1.15; }
.nlist { display: grid; gap: 14px; }
.nlist li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.nlist li > span { width: 26px; height: 26px; border-radius: 50%; background: var(--c-surface-alt); display: grid; place-items: center; font-size: var(--fs-label-sm); font-weight: 600; }
.nlist b { display: block; font-weight: 500; }
.nlist small { font-size: var(--fs-small); color: var(--c-muted); }

/* ---------- UZDO page ---------- */
.uzdo-hero { padding-block: clamp(28px, 4vw, 56px) var(--section); }
.morph-sec .morph { position: relative; height: clamp(440px, calc(100vh - 160px), 620px); border-radius: var(--r-xl); background: var(--c-surface); overflow: hidden; }
.morph-sec .morph::before { content: ""; position: absolute; inset: 0; background-image: var(--dots-light); background-size: 18px 18px; opacity: .6; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%); }
.morph [data-m-head] { position: absolute; left: 32px; top: 28px; font-size: var(--fs-small); color: var(--c-muted); }
.morph [data-m-wrap] { width: min(530px, 80%); aspect-ratio: 530 / 260; }
.morph [data-m-card] { background: #fff; border-radius: 18px; padding: 20px 22px; display: grid; gap: 10px; align-content: start; }
.morph [data-m-dot] { background: var(--c-ink); }
.mc-h { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--c-border); }
.mc-h .k { width: 28px; height: 28px; border-radius: 8px; background: var(--c-accent-soft); color: var(--c-accent-strong); display: grid; place-items: center; font-weight: 600; font-size: 13px; }
.mc-h b { display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; }
.mc-h small { font-size: 11px; color: var(--c-subtle); }
.mc-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; font-size: 11.5px; }
.mc-grid div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--c-border); }
.mc-grid dt { color: var(--c-muted); } .mc-grid dd { margin: 0; font-weight: 500; text-align: right; }
.mc-line { width: 100%; height: 26px; }
.mc-line path { fill: none; stroke: var(--c-accent); stroke-width: 2; }
.morph [data-m-badge] { right: -16%; bottom: -26%; width: 24%; aspect-ratio: 1; background: var(--c-ink); border-radius: 16px; color: #fff; display: grid; align-content: center; justify-items: center; gap: 8px; }
.morph [data-m-badge] .chips { display: flex; gap: 4px; }
.morph [data-m-chip] { font-size: 9px; padding: 3px 6px; border-radius: 5px; background: rgb(255 255 255 / .1); }
.morph [data-m-badge] b { font-size: 12px; font-weight: 600; }
.morph [data-m-pop] { position: absolute; right: 10px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); }
.morph [data-m-time] { position: absolute; left: 32px; bottom: 26px; display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--c-subtle); font-variant-numeric: tabular-nums; }
.morph [data-m-time] .track { width: 120px; height: 2px; background: var(--c-border-strong); position: relative; overflow: hidden; }
.morph [data-m-fill] { position: absolute; inset: 0; background: var(--c-accent); transform: scaleX(0); transform-origin: left; }
@media (max-width: 699px) { .morph [data-m-wrap] { width: 86%; aspect-ratio: auto; height: 300px; } .mc-grid { grid-template-columns: 1fr; } .mc-grid div:nth-child(n+5) { display: none; } .morph [data-m-badge] { right: -4%; bottom: -18%; width: 34%; } }

.feat { display: grid; gap: 20px; }
.feat-row { display: grid; gap: 28px; align-items: center; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--c-border); }
@media (min-width: 1000px) { .feat-row { grid-template-columns: 1fr 1fr; gap: 64px; } .feat-row--rev > :first-child { order: 2; } }
.feat-row .muted { max-width: 30rem; margin-top: 14px; }
.approve { border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 20px; display: grid; }
.approve > small { font-size: var(--fs-label); color: var(--c-warning-text); padding-bottom: 12px; border-bottom: 1px solid var(--c-border); }
.approve li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.approve li:last-child { border-bottom: 0; padding-bottom: 0; }
.approve b { display: block; font-size: var(--fs-small); font-weight: 600; }
.approve small { font-size: var(--fs-label-sm); color: var(--c-subtle); }
.approve .acts { display: flex; gap: 8px; }
.approve .acts .btn { min-height: 38px; padding: 0 16px; font-size: var(--fs-label); }
.approve li.is-ok .acts { display: none; }
.approve li .ok { display: none; }
.approve li.is-ok .ok { display: inline-flex; }
@media (max-width: 520px) { .approve li { grid-template-columns: 1fr; } }
.thread { border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 14px; font-size: var(--fs-label); }
.thread__h { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-weight: 600; font-size: var(--fs-small); }
.thread .app__msg .ini { background: var(--c-tag-plum); }
.thread .ini--dark { background: var(--c-ink); }
.mini-feats { display: grid; gap: 28px; margin-top: 20px; }
@media (min-width: 700px) { .mini-feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .mini-feats { grid-template-columns: repeat(4, 1fr); } }
.mini-feats li { border-top: 1px solid var(--c-border-strong); padding-top: 24px; display: grid; gap: 8px; }
.mini-feats svg { width: 20px; height: 20px; color: var(--c-accent-strong); margin-bottom: 8px; }
.mini-feats b { font-weight: 600; font-size: 1.0625rem; }
.mini-feats p { font-size: var(--fs-small); color: var(--c-muted); }
.two-opt { display: grid; gap: 20px; }
@media (min-width: 900px) { .two-opt { grid-template-columns: 1fr 1fr; gap: 24px; } }
.opt { border-radius: var(--r-xl); padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 16px; align-content: start; background: var(--c-surface); }
.opt--dark { background: var(--c-ink); color: #fff; }
.opt .eyebrow { margin: 0; }
.opt .check-list { margin: 6px 0 20px; color: var(--c-muted); font-size: var(--fs-small); }
.opt--dark .check-list { color: var(--c-on-dark-muted); }

/* ---------- PS Labs pages ---------- */
.stages { display: grid; border-top: 1px solid var(--c-border); }
.stages li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-border); align-items: start; }
.stages b { display: block; font-weight: 500; font-size: var(--fs-small); }
.stages small { font-size: var(--fs-label); color: var(--c-muted); }
.testers { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .testers { grid-template-columns: 1fr minmax(0, 460px); gap: 80px; } }
.testers .lead { color: var(--c-on-dark-muted); margin-top: 16px; }
.testers-form { background: #fff; color: var(--c-ink); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; }
.inline-field { display: flex; gap: 8px; }
.inline-field input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--c-border-strong); outline: none; }
.inline-field input:focus { border-color: var(--c-accent-strong); box-shadow: 0 0 0 3px rgb(84 175 58 / .18); }
@media (max-width: 520px) { .inline-field { flex-direction: column; } }
.labs-hero .page-hero__visual { aspect-ratio: 560 / 480; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.demo-stage { position: relative; border-radius: var(--r-xl); background: var(--c-ink-raised); border: 1px solid var(--c-border-dark); padding: clamp(16px, 3vw, 24px); display: grid; place-items: center; }
.demo-stage .demo-frame { position: relative; width: min(560px, 100%); aspect-ratio: 560 / 520; border-radius: var(--r-lg); overflow: hidden; }
.demo-play { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 6px; border-radius: 99px; background: #fff; color: var(--c-ink); font-size: var(--fs-label); font-weight: 500; z-index: 3; }
.demo-play i { width: 28px; height: 28px; border-radius: 50%; background: var(--c-accent); display: grid; place-items: center; }
.demo-play i svg { width: 12px; height: 12px; }
@media (max-width: 699px) { .demo-play { position: relative; left: auto; bottom: auto; margin-top: 16px; } }
.num-cols { display: grid; gap: 28px; }
@media (min-width: 900px) { .num-cols { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.num-cols li { border-top: 1px solid var(--c-border-strong); padding-top: 24px; display: grid; gap: 10px; }
.num-cols .n { font-family: var(--font-head); font-size: 1.5rem; color: var(--c-accent); }
.num-cols p { font-size: var(--fs-small); color: var(--c-muted); }
.cta-green { border-radius: var(--r-xl); background: var(--c-accent); padding: clamp(28px, 4vw, 48px); display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-green { grid-template-columns: 1fr auto; } }
.cta-green p { max-width: 34rem; margin-top: 12px; }
.video-demo--big { position: relative; inset: auto; aspect-ratio: 560 / 480; border-radius: var(--r-xl); }

/* ---------- works page ---------- */
.filter { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 99px; background: var(--c-surface); border: 1px solid var(--c-border); }
.filter button { height: 40px; padding: 0 16px; border-radius: 99px; font-size: var(--fs-small); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: background-color .2s ease, color .2s ease; }
.filter button small { font-size: var(--fs-label-sm); color: var(--c-subtle); }
.filter button[aria-pressed="true"] { background: var(--c-ink); color: #fff; }
.filter button[aria-pressed="true"] small { color: var(--c-accent-on-dark); }
@media (hover: hover) and (pointer: fine) { .filter button[aria-pressed="false"]:hover { background: #fff; } }
@media (max-width: 699px) { .filter { border-radius: var(--r-md); } }
.works { display: grid; gap: 48px 24px; }
@media (min-width: 900px) { .works { grid-template-columns: 1fr 1fr; } }
.work { display: grid; gap: 18px; align-content: start; transition: opacity .3s ease; }
.work[hidden] { display: none; }
.work__shot { position: relative; border-radius: var(--r-xl); background: var(--c-surface-alt); aspect-ratio: 16 / 10.2; overflow: hidden; display: grid; place-items: center; }
.work__shot .browser { position: relative; width: 78%; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .work:hover .work__shot .browser { transform: translateY(-6px); } }
.work__meta { display: flex; justify-content: space-between; font-size: var(--fs-small); color: var(--c-subtle); }
.work__meta span:first-child { color: var(--c-accent-strong); }
.work .muted { font-size: var(--fs-small); }
.work .link { justify-self: start; }
.work--feature { grid-column: 1 / -1; }
.work--feature .work__shot { aspect-ratio: auto; background: var(--c-ink); display: grid; grid-template-columns: 1fr; padding: clamp(24px, 4vw, 56px); gap: 32px; place-items: stretch; }
@media (min-width: 1000px) { .work--feature .work__shot { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; } }
.work--feature .browser { width: 100%; }
.work--feature .feat-shot { position: relative; padding-right: 9%; }
.work--feature .wv-phone { right: 0; bottom: -10%; width: 24%; }
.work--feature .feat-info { color: #fff; display: grid; gap: 14px; justify-items: start; }
.work--feature .feat-info .muted { color: var(--c-on-dark-muted); }
.work--feature .work__meta { width: 100%; color: var(--c-on-dark-subtle); }
.work--feature .work__meta span:first-child { color: var(--c-accent-on-dark); }

/* ---------- about page ---------- */
.stat-list { display: grid; border-top: 1px solid var(--c-border); align-self: start; }
.stat-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--c-border); }
.stat-list b { font-family: var(--font-head); font-weight: 400; font-size: 1.875rem; line-height: 1; }
.stat-list span { font-size: var(--fs-small); color: var(--c-muted); text-align: right; }
.manifest-sec { padding-block: clamp(80px, 9vw, 140px); }
.manifest { font-family: var(--font-head); font-size: clamp(1.75rem, 1.2rem + 2vw, 3.25rem); line-height: 1.22; letter-spacing: -.02em; max-width: 26ch; }
.manifest .hl, .manifest em { font-style: normal; color: var(--c-accent-on-dark); }
.sig { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-size: var(--fs-small); color: var(--c-on-dark-muted); }
.sig img { width: 70px; height: auto; }
.office { display: grid; gap: 20px; }
@media (min-width: 1000px) { .office { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; } }
.map { position: relative; border-radius: var(--r-xl); background: var(--c-ink); overflow: hidden; min-height: 320px; display: grid; place-items: center; }
.map::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgb(255 255 255 / .12) 1px, transparent 1.3px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 40% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 40% 40%, #000, transparent 75%); }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }
.map__pin { position: relative; display: grid; justify-items: center; gap: 10px; }
.map__pin i { width: 46px; height: 46px; border-radius: 50%; background: var(--c-accent); display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 0 rgb(84 175 58 / .5); animation: live 2.4s ease-out infinite; }
.map__pin i svg { width: 20px; height: 20px; }
.map__pin span { background: #fff; color: var(--c-ink); border-radius: var(--r-sm); padding: 10px 14px; text-align: center; font-size: var(--fs-small); font-weight: 600; }
.map__pin small { display: block; font-weight: 400; font-size: var(--fs-label-sm); color: var(--c-subtle); }
.req { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--c-border); padding: clamp(24px, 3vw, 32px); }
.req dl { display: grid; margin-top: 16px; }
.req dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--c-border); font-size: var(--fs-small); }
.req dt { color: var(--c-muted); }
.req dd { margin: 0; font-weight: 500; text-align: right; }

/* ---------- contacts page ---------- */
.c-cards { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 700px) { .c-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .c-cards { grid-template-columns: repeat(4, 1fr); } }
.c-card { border-radius: var(--r-lg); background: var(--c-surface); padding: 24px; display: grid; gap: 6px; align-content: start; transition: background-color .2s ease; }
.c-card i { width: 32px; height: 32px; border-radius: 8px; background: #fff; display: grid; place-items: center; color: var(--c-accent-strong); margin-bottom: 18px; }
.c-card i svg { width: 16px; height: 16px; }
.c-card small { font-size: var(--fs-label); color: var(--c-subtle); }
.c-card b { font-family: var(--font-head); font-weight: 400; font-size: 1.5rem; line-height: 1.25; overflow-wrap: anywhere; }
.c-card--sos { background: var(--c-error-soft); }
.c-card--sos i { background: var(--c-sos); color: #fff; }
.c-card--sos small:first-of-type { color: var(--c-sos); }
@media (hover: hover) and (pointer: fine) { a.c-card:hover { background: var(--c-surface-alt); } a.c-card--sos:hover { background: #f8ddd6; } }

/* ---------- FAQ page ---------- */
.search { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 99px; border: 1px solid var(--c-border-strong); background: #fff; max-width: 560px; transition: border-color .2s ease, box-shadow .2s ease; }
.search:focus-within { border-color: var(--c-accent-strong); box-shadow: 0 0 0 3px rgb(84 175 58 / .15); }
.search svg { width: 18px; height: 18px; color: var(--c-subtle); flex: none; }
.search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: none; background: transparent; }
.faq-page { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-page { grid-template-columns: 280px minmax(0, 1fr); gap: 64px; } .faq-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.faq-aside { display: grid; gap: 20px; align-content: start; }
.cats { display: grid; gap: 2px; }
.cats button { display: flex; justify-content: space-between; align-items: center; height: 40px; padding: 0 14px; border-radius: var(--r-sm); font-size: var(--fs-small); text-align: left; transition: background-color .2s ease, color .2s ease; }
.cats button small { font-size: var(--fs-label-sm); color: var(--c-subtle); }
.cats button[aria-pressed="true"] { background: var(--c-ink); color: #fff; }
.cats button[aria-pressed="true"] small { color: var(--c-accent-on-dark); }
@media (hover: hover) and (pointer: fine) { .cats button[aria-pressed="false"]:hover { background: var(--c-surface); } }
@media (max-width: 999px) { .cats { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; } .cats button { flex: none; border: 1px solid var(--c-border); border-radius: 99px; gap: 8px; } }
.ask-box { border-radius: var(--r-lg); background: var(--c-accent-faint); padding: 22px; display: grid; gap: 10px; justify-items: start; }
.ask-box b { font-weight: 600; font-size: 1.0625rem; }
.ask-box p { font-size: var(--fs-label); color: var(--c-muted); }
@media (max-width: 999px) { .ask-box { display: none; } }
.faq-groups { display: grid; gap: 48px; }
.faq-group[hidden] { display: none; }
.faq-group__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.faq-group__h small { font-size: var(--fs-label); color: var(--c-subtle); }
.acc__item[hidden] { display: none; }
.empty { display: grid; gap: 16px; justify-items: start; padding: 32px; border-radius: var(--r-xl); background: var(--c-surface); }
.empty[hidden] { display: none; }
.empty .chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--fs-small); color: var(--c-muted); }
.empty .chips button { height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--c-border-strong); background: #fff; font-size: var(--fs-label); }
mark { background: var(--c-accent-mid); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- legal ---------- */
.legal { display: grid; gap: 32px; }
@media (min-width: 1000px) { .legal { grid-template-columns: 280px minmax(0, 720px); gap: 64px; } .toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.toc p { font-size: var(--fs-label); color: var(--c-subtle); margin-bottom: 12px; }
.toc ol { display: grid; border-left: 1px solid var(--c-border); }
.toc a { display: block; padding: 8px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: var(--fs-small); color: var(--c-muted); transition: color .2s ease, border-color .2s ease; }
.toc a.is-on { border-left-color: var(--c-accent); color: var(--c-ink); font-weight: 500; }
@media (max-width: 999px) { .toc { display: none; } }
.prose { display: grid; gap: 14px; }
.prose h2 { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h4); margin-top: 28px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--c-muted); }
.prose ul { display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 18px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.prose a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.table-scroll { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.prose th { font-weight: 500; color: var(--c-subtle); font-size: var(--fs-label); }
.prose td:first-child { font-weight: 500; color: var(--c-ink); }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: var(--fs-small); color: var(--c-muted); }

/* ---------- 404 ---------- */
.e404 { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .e404 { grid-template-columns: 1fr minmax(0, 500px); gap: 80px; } }
.e404__num { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: clamp(7rem, 5rem + 8vw, 11rem); line-height: .9; letter-spacing: -.04em; }
.e404__o { width: .82em; height: .82em; border-radius: 50%; background: var(--c-accent); display: grid; place-items: center; animation: o-look 4s var(--ease-in-out) infinite; }
.e404__o svg { width: 32%; height: 32%; }
@keyframes o-look { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg) translateX(-4px); } 60% { transform: rotate(10deg) translateX(4px); } }
.e404 .text { display: grid; gap: 24px; justify-items: start; }
.e404 .search { width: 100%; }
.e404-card .ui-card--dark { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.e404-links { background: #fff; border: 1px solid var(--c-border); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.e404-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--c-border); transition: background-color .2s ease; }
.e404-links a:last-child { border-bottom: 0; }
.e404-links b { display: block; font-weight: 500; font-size: var(--fs-small); }
.e404-links small { font-size: var(--fs-label); color: var(--c-subtle); }
.e404-links svg { width: 16px; height: 16px; color: var(--c-accent-strong); }
@media (hover: hover) and (pointer: fine) { .e404-links a:hover { background: var(--c-surface); } }

@media (prefers-reduced-motion: reduce) {
  .fl-1, .fl-2, .fl-3, .fl-4, .stage__photo > picture img, .pd-cursor, .vd-book > i, .vd-prog i, .e404__o, .anim-vilnis-1, .anim-vilnis-2 { animation: none !important; }
}

.btn[data-m="magnet"] { display: inline-flex; }
.btn [data-m-inner] { display: inline-flex; align-items: center; gap: .55em; }
.btn [data-m-text] { position: relative; top: -1px; }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
@media (max-width: 1199px) { .mega { display: none; } }
.f-cards { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .f-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-form { grid-template-columns: minmax(0, 1fr); }
.news-field input { width: 100%; }
/* overflow guards */
.page-hero__row { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .page-hero__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .page-hero__row--wide-text { grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr); } }
.choice, .types, .radio-set { position: relative; }
.choice input, .types input, .radio-set input { left: 0; top: 0; width: 1px; height: 1px; margin: 0; }
.ov-big { grid-template-columns: auto minmax(0, 1fr); }
.ov-bars { min-width: 0; }
.ov-bars i { flex: 1 1 0; max-width: 5px; min-width: 2px; }
.cfg-teaser { grid-template-columns: minmax(0, 1fr); }
.cfg-teaser__sum { flex-wrap: wrap; }
@media (max-width: 520px) { .cfg-teaser__sum b { white-space: normal; } }

.pnl__k { display: none; }
[data-m-panel] .link { color: var(--c-ink) !important; }
.pnl__body { align-items: stretch; }
.pnl__price { align-self: end; }
.pnl .h3 { display: block; }
.page-hero .display { font-size: clamp(2.25rem, 1.55rem + 2.1vw, 3.5rem); }
@media (min-width: 1000px) { .page-hero__row { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.hv { padding-bottom: 56px; }
.price-band-sec { padding-top: var(--section) !important; }
.cfg-sec .display, .uzdo-hero .display { font-size: var(--fs-display); }

.page-hero__row--top { align-items: start; }
.section--dark .breadcrumbs [aria-current], .section--dark .breadcrumbs a { color: var(--c-on-dark-muted); }
.section--dark .breadcrumbs [aria-current] { color: #fff; }
@media (min-width: 700px) { .hv.hv-mnt { padding-bottom: 120px; } .hv-mnt .ui-float { bottom: 0; } }
.e404 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .e404 { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); } }
.e404 .text { min-width: 0; } .e404 .search { min-width: 0; } .e404 .search input { min-width: 0; flex: 1 1 auto; }

/* ==========================================================================
   Refinements and mobile layout
   ========================================================================== */

/* UZDO task path as a two-row flowchart (Uzdots → Darām ↓ Gaida jūs ← Gatavs) */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); grid-template-rows: auto 30px auto; margin-top: 36px; max-width: 600px; }
.flow > :nth-child(1) { grid-area: 1 / 1; }
.flow > :nth-child(2) { grid-area: 1 / 2; }
.flow > :nth-child(3) { grid-area: 1 / 3; }
.flow > :nth-child(4) { grid-area: 2 / 3; }
.flow > :nth-child(5) { grid-area: 3 / 3; }
.flow > :nth-child(6) { grid-area: 3 / 2; }
.flow > :nth-child(7) { grid-area: 3 / 1; }
.flow__node { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px 18px; border-radius: var(--r-md); background: rgb(255 255 255 / .045); border: 1px solid var(--c-border-dark); transition: border-color .35s ease, background-color .35s ease, box-shadow .35s ease; }
.flow__n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: .9375rem; font-weight: 600; background: rgb(255 255 255 / .1); color: #fff; }
.flow__node--doing .flow__n { background: var(--c-accent); color: var(--c-ink); }
.flow__node--wait .flow__n { background: var(--c-warning); color: var(--c-ink); }
.flow__node--done .flow__n { background: #fff; color: var(--c-ink); }
.flow__txt { min-width: 0; }
.flow__txt b { display: block; font-size: 1.1875rem; line-height: 1.2; font-weight: 600; color: #fff; }
.flow__txt small { display: block; margin-top: 3px; font-size: var(--fs-label); line-height: 1.3; color: var(--c-on-dark-subtle); }
.flow__node.is-cur { border-color: var(--c-accent); background: rgb(84 175 58 / .12); box-shadow: 0 0 0 4px rgb(84 175 58 / .14); }
.flow__link { position: relative; color: var(--c-border-dark); transition: color .4s ease; }
.flow__link i { position: absolute; border-radius: 2px; background: currentColor; overflow: hidden; }
.flow__link i::after { content: ""; position: absolute; inset: 0; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.flow__link::after { content: ""; position: absolute; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.flow__link--r i, .flow__link--l i { left: 8px; right: 8px; top: 50%; height: 2px; margin-top: -1px; }
.flow__link--r::after { right: 8px; top: 50%; transform: translateY(-50%) rotate(45deg); }
.flow__link--l i::after { transform-origin: right; }
.flow__link--l::after { left: 8px; top: 50%; transform: translateY(-50%) rotate(-135deg); }
.flow__link--d i { top: 4px; bottom: 4px; left: 50%; width: 2px; margin-left: -1px; }
.flow__link--d i::after { transform: scaleY(0); transform-origin: top; }
.flow__link--d::after { bottom: 4px; left: 50%; transform: translateX(-50%) rotate(135deg); }
.flow__link.is-lit { color: var(--c-accent); }
.flow__link.is-lit i::after { transform: none; }
@media (max-width: 699.98px) {
  .flow { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); grid-template-rows: auto 26px auto; margin-top: 28px; }
  .flow__node { gap: 10px; padding: 12px; }
  .flow__n { width: 30px; height: 30px; font-size: .875rem; }
  .flow__txt b { font-size: 1.0625rem; }
  .flow__txt small { font-size: var(--fs-label-sm); }
  .flow__link--r i, .flow__link--l i { left: 5px; right: 5px; }
  .flow__link--r::after { right: 5px; } .flow__link--l::after { left: 5px; }
}

/* short call to action instead of the contact form (the form lives only on the contact page) */
.cta-band { display: grid; gap: 28px; padding: clamp(28px, 5vw, 72px); border-radius: var(--r-xl); background: #e9f3e4; overflow: hidden; align-items: end; }
.cta-band::before { -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
.cta-band__txt p { margin-top: 16px; max-width: 36rem; color: var(--c-muted); font-size: var(--fs-body-lg); }
.cta-band__act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
@media (min-width: 1000px) { .cta-band { grid-template-columns: minmax(0, 780px) auto; justify-content: space-between; gap: 48px; } .cta-band__act { padding-bottom: 6px; } }

/* footer badge with two logos */
.laravel-badge { height: auto; min-height: 32px; flex-wrap: wrap; row-gap: 4px; padding-block: 5px; }

/* ---------- mobile and touch: nothing waits, nothing sits on top of content ---------- */
@media (max-width: 999.98px), (hover: none) {
  .js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1; transform: none; transition: none; }
}

/* works: swipeable cards below 1000 px (the list + stage viewer stays on desktop) */
.wcar { display: none; }
@media (max-width: 999.98px) {
  .wv { display: none !important; }
  .wcar { display: block; margin-inline: calc(-1 * var(--gutter)); }
  .wcar__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 10px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .wcar__track::-webkit-scrollbar { display: none; }
  .wcard { flex: 0 0 min(86%, 520px); scroll-snap-align: start; display: grid; align-content: start; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-card); }
  .wcard__stage { position: relative; display: block; aspect-ratio: 4 / 3.1; background-color: var(--c-ink); overflow: hidden; }
  .wcard__stage .browser { position: absolute; left: 7%; top: 11%; width: 74%; }
  .wcard__stage .wv-phone { right: 6%; bottom: -16%; width: 28%; border-radius: 18px; padding: 5px; }
  .wcard__stage .wv-phone img { border-radius: 14px; }
  .wcard__body { display: grid; gap: 12px; padding: 20px 20px 24px; justify-items: start; }
  .wcard__meta { display: flex; justify-content: space-between; width: 100%; font-size: var(--fs-small); color: var(--c-subtle); }
  .wcard__meta span:first-child { color: var(--c-accent-strong); font-weight: 500; }
  .wcard__body p { font-size: var(--fs-small); color: var(--c-muted); }
  .wcard__body .link { margin-top: 4px; }
  .wcar__nav { display: flex; align-items: center; gap: 16px; padding: 14px var(--gutter) 0; }
  .wcar__count { font-size: var(--fs-small); color: var(--c-subtle); white-space: nowrap; }
  .wcar__count b { color: var(--c-ink); font-weight: 600; }
  .wcar__dots { display: flex; gap: 6px; flex: 1; }
  .wcar__dots i { width: 14px; height: 3px; border-radius: 3px; background: var(--c-border-strong); transition: width .3s var(--ease-out), background-color .3s ease; }
  .wcar__dots i.is-on { width: 32px; background: var(--c-accent); }
  .wcar__btns { display: flex; gap: 8px; }
  .wcar__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-border-strong); background: #fff; display: grid; place-items: center; transition: opacity .2s ease; }
  .wcar__btn svg { width: 18px; height: 18px; }
  .wcar__btn[disabled] { opacity: .35; }
}

/* works page: dark stage with browser + phone on small screens */
.work__phone { display: none; }
@media (max-width: 899.98px) {
  .works { gap: 40px; }
  .work:not(.work--feature) .work__shot { aspect-ratio: 4 / 3.1; background-color: var(--c-ink); background-image: var(--dots-dark); background-size: 22px 22px; place-items: start; }
  .work:not(.work--feature) .work__shot .browser { position: absolute; left: 7%; top: 11%; width: 74%; }
  .work__phone { display: block; right: 6%; bottom: -16%; width: 28%; border-radius: 18px; padding: 5px; }
  .work__phone img { border-radius: 14px; }
  .work--feature .work__shot { padding: 24px 20px 28px; gap: 40px; }
}

/* how we work: on phones and tablets all four steps are plain cards, no progress line above them */
@media (max-width: 1099.98px) {
  .coop-list { margin-top: 0; }
  .coop__line { display: none; }
  .coop, .coop.is-on { background: var(--c-surface); color: var(--c-ink); padding-top: 24px; cursor: default; }
  .coop__n, .coop.is-on .coop__n { color: var(--c-accent-strong); }
  .coop.is-on .coop__d { color: var(--c-muted); }
  .coop.is-on .coop__fact { background: #fff; border-color: var(--c-border); color: var(--c-ink); }
  .coop.is-on .coop__fact svg { color: var(--c-accent-strong); }
}

/* testimonials: swipe, no running progress bar on touch screens */
@media (max-width: 999.98px), (hover: none) {
  .ts-bars i.is-on::after { transform: none; }
  .ts-panel { touch-action: pan-y; }
}

/* UZDO page: the site card scene is shown finished on phones */
@media (max-width: 767.98px) {
  .morph [data-m-head], .morph [data-m-time] { display: none; }
  .morph-sec .morph { height: 470px; }
}

/* phones: floating notes of the service demos sit under the demo, not on top of it */
@media (max-width: 699.98px) {
  .hv { padding-bottom: 8px; }
  .hv .ui-float:not(.top) { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 14px 0 0 auto; width: min(320px, 92%); }
  .trust li + li::before { display: none; }
  .trust { gap: 10px 18px; }
}

/* contact page on phones: the cards above already show e-mail, phone and SOS, so the form follows the heading directly */
@media (max-width: 1099.98px) {
  .contact-intro .contact-dl, .contact-intro .sos-mini-card { display: none; }
  .contact-panel { gap: 28px; }
}

/* on dark backgrounds the green button turns white on hover */
.site-footer .btn:not(.btn--dark):not(.btn--light):not(.btn--outline):not(.btn--outline-light):not(.btn--sos),
.section--dark .btn:not(.btn--dark):not(.btn--light):not(.btn--outline):not(.btn--outline-light):not(.btn--sos),
.on-dark .btn:not(.btn--dark):not(.btn--light):not(.btn--outline):not(.btn--outline-light):not(.btn--sos),
.cookie .btn:not(.btn--dark):not(.btn--light):not(.btn--outline):not(.btn--outline-light):not(.btn--sos),
.mega__conf .btn:not(.btn--dark):not(.btn--light):not(.btn--outline):not(.btn--outline-light):not(.btn--sos),
.dots--dark .btn:not(.btn--dark):not(.btn--light):not(.btn--outline):not(.btn--outline-light):not(.btn--sos) {
  --b-hbg: #fff; --b-hfg: var(--c-ink);
}
.testers-form .btn { --b-hbg: var(--c-ink) !important; --b-hfg: #fff !important; }

/* buttons that sit on a dark surface (class set by main.js): hover is light, dark buttons get an outline so they never merge */
.btn.is-ondark:not(.btn--dark):not(.btn--light):not(.btn--outline):not(.btn--outline-light):not(.btn--sos) { --b-hbg: #fff; --b-hfg: var(--c-ink); }
.btn--dark.is-ondark { --b-bg: transparent; --b-fg: #fff; --b-bd: rgb(255 255 255 / .45); --b-hbg: #fff; --b-hfg: var(--c-ink); --b-hbd: #fff; }
.btn--outline.is-ondark { --b-fg: #fff; --b-bd: rgb(255 255 255 / .55); --b-hbg: #fff; --b-hfg: var(--c-ink); --b-hbd: #fff; }

/* ======================================================================
   Phones: tighter vertical rhythm, compact cards, a one-line news pill,
   layout guards for 360-430 px.
   ====================================================================== */

/* news pill: green label with white text everywhere */
.news-pill b { background: var(--c-accent-btn); color: #fff; }
.news-pill .np-short { display: none; }

/* sections that end the page on dark: the footer continues the band behind a hairline instead of a second empty band */
main:has(> section.section--dark:last-of-type) + .site-footer { padding-top: 0; }
main:has(> section.section--dark:last-of-type) + .site-footer > .wrap { border-top: 1px solid var(--c-border-dark); padding-top: var(--section); }

@media (max-width: 699.98px) {
  :root { --section: 44px; }

  /* headings and their intros */
  .head { margin-bottom: 28px; gap: 14px; }
  .head--link { grid-template-columns: minmax(0, 1fr) !important; gap: 14px; }
  .head--link > .link, .head--link > a:last-child { justify-self: start; }
  .breadcrumbs { margin-bottom: 20px; }
  .page-hero { padding-block: 12px 44px; }

  /* home hero: one-line pill, calmer spacing */
  .hero-home { padding-block: 18px 40px; }
  .hero-home__text { gap: 20px; }
  .news-pill { gap: 8px; padding: 4px 12px 4px 4px; font-size: .8125rem; line-height: 1.25; box-shadow: 0 1px 2px rgb(16 35 27 / .05); white-space: nowrap; }
  .news-pill b { padding: 4px 9px; font-size: .6875rem; letter-spacing: .01em; }
  .news-pill svg { width: 16px; height: 16px; }
  .news-pill .np-long { display: none; }
  .news-pill .np-short { display: inline; }
  .stage { margin-top: 32px; gap: 16px; }
  .clients { padding-block: 8px 36px; }

  /* blocks that kept desktop-sized gaps */
  .uzdo-stage, .uzdo-steps { margin-top: 36px; }
  .manifest-sec { padding-block: 56px; }
  .ask { padding-block: 48px; }
  .bill { margin-top: 28px; }
  .f-main { padding-block: 40px 32px; }
  .f-card { min-height: 0; padding: 24px 22px; }
  .f-brand > .btn { justify-self: stretch; }
  .f-bottom { flex-direction: column; align-items: flex-start; }

  /* about bento: rows follow their content (fr rows stretched the green quote) */
  .bento__mid { grid-template-rows: auto; gap: 16px; }
  .bento { gap: 16px; }
  .bento__quote { padding: 26px 24px; gap: 18px; align-content: start; }
  .bento__quote cite { margin-top: 4px; }
  .bento__facts { gap: 12px; }
  .fact { min-height: 0; padding: 20px 20px 22px; gap: 14px; }
  .bento__pr { padding: 26px 22px; }
  .bento__pr ul { margin-bottom: 20px; }
  .bento__pr li { padding: 13px 0; }

  /* works page: the counter sits under the heading, left aligned */
  .works-stat > div { align-items: flex-start !important; }
  .works-stat span { text-align: left; }

  /* UZDO page: the site card scene without the empty band above it */
  .morph-sec .morph { height: 420px; }
  .morph [data-m-wrap] { top: 47%; width: 90%; }

  /* contact cards: icon on the left, two lines of text, about half the height */
  .c-cards { gap: 10px; margin-top: 28px; }
  .c-card { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px 18px; align-items: center; }
  .c-card i { grid-row: 1 / span 3; align-self: start; width: 40px; height: 40px; border-radius: 10px; margin: 2px 0 0; }
  .c-card i svg { width: 18px; height: 18px; }
  .c-card b { font-size: 1.25rem; }

  /* how we work: smaller tiles, the step card is about a third shorter */
  .coop, .coop.is-on { padding: 22px 20px; gap: 10px; }
  .coop__top { margin-bottom: 4px; align-items: center; }
  .coop__tile { width: 56px; height: 56px; border-radius: 14px; }
  .coop__tile .picto { width: 40px; height: 40px; }
  .coop__n { font-size: 1.75rem; }

  /* contact panel: the white form card uses the panel width instead of a second inset */
  .contact-panel { padding: 26px 22px 12px; gap: 24px; }
  .contact-panel .form-card { margin-inline: -10px; padding: 22px 18px; border-radius: var(--r-lg); }

  /* about page: the hero already lists 2010 and 100+, so the bento does not repeat them on phones */
  .page-about .bento__facts { display: none; }

  /* configurator: project types as compact rows */
  .types label { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; min-height: 0; padding: 16px 48px 16px 16px; }
  .types label .picto { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 2px 0 0; }
  .types label::after { top: 50%; margin-top: -9px; }
}

/* estimate card header: the status chip moves under the title instead of squeezing it */
@media (max-width: 520px) {
  .est__head { grid-template-columns: 36px minmax(0, 1fr); row-gap: 8px; }
  .est__head > .chip { grid-column: 2; justify-self: start; }
  .est__head small { display: block; }
  /* stacked e-mail + button: the input kept flex: 1 and collapsed to text height */
  .inline-field input { flex: none; }
  .inline-field .btn { width: 100%; }
}

/* macOS Dock demo: the big variant fits a phone-wide window, the menu bar drops items that do not fit */
@container (max-width: 520px) {
  .dock-demo--big .dock li { width: 36px; height: 36px; }
  .dock-demo--big .dock li.is-active { width: 48px; height: 48px; }
  .dock-demo--big .dock { gap: 5px; padding: 7px 9px; bottom: 16px; }
  .dock-demo--big .dock-demo__bar { height: 30px; font-size: 12px; padding: 0 12px; }
  .dock-demo--big .dock-demo__tip { bottom: 92px; font-size: 12px; }
}
@container (max-width: 420px) {
  .dock-demo__bar > span:first-child > span:nth-of-type(n+2) { display: none; }
}

/* ======================================================================
   Green surfaces, 90/70 px rhythm between blocks, quote card,
   policy popup, phone hero.
   ====================================================================== */

/* light panels read as white on many monitors: they use the CTA band green (#e9f3e4) */
:root { --c-surface: #e9f3e4; --c-surface-alt: #dcebd3; --c-border: #dfe6da; }
.chip--doing { background: #d8edcf; }
.price-pill b { background: var(--c-accent-btn); color: #fff; }
.contact-panel, .cta-band { background: var(--c-surface); }

/* rhythm: 90 px between main blocks on desktop, 80 px on tablets, 70 px on phones.
   Two neighbouring blocks with the same background share one gap instead of two paddings. */
:root { --gap-block: 70px; }
@media (min-width: 700px) { :root { --section: 80px; --gap-block: 80px; } }
@media (min-width: 1200px) { :root { --section: 90px; --gap-block: 90px; } }
@media (max-width: 699.98px) { :root { --section: 48px; } }
.section:not(.section--surface):not(.section--dark):not(.cfg-sec) + .section:not(.section--surface):not(.section--dark):not(.section--tight-top):not(.cfg-sec),
.section--surface + .section--surface,
.section--dark + .section--dark { padding-top: max(0px, calc(var(--gap-block) - var(--section))); }
.page-hero { padding-bottom: var(--section); }
.page-hero + .section:not(.section--surface):not(.section--dark):not(.section--tight-top) { padding-top: max(0px, calc(var(--gap-block) - var(--section))); }
.clients { padding-bottom: var(--section); }
.section:not(.section--surface):not(.section--dark) + .clients { padding-top: max(0px, calc(var(--gap-block) - var(--section))); }
.manifest-sec { padding-block: var(--section) !important; }
@media (max-width: 699.98px) {
  .page-hero { padding-bottom: var(--section); }
  .clients { padding-bottom: var(--section); }
  .manifest-sec, .ask { padding-block: var(--section); }
}

/* about bento quote: mark, text and name sit together in the middle of the card */
.bento__quote { align-content: center; gap: 18px; }
.bento__quote .ts-mark { height: .42em; }
.bento__quote cite { margin-top: 6px; }
@media (max-width: 699.98px) { .bento__quote { gap: 14px; } .bento__quote cite { margin-top: 2px; } }

/* works: categories only, no 01-05 numbers */
.wv-item__top { justify-content: flex-start; }
.work__meta span:first-child, .work--feature .work__meta span:first-child, .wcard__meta span:first-child { color: inherit; font-weight: inherit; }

/* privacy policy popup */
.modal--policy .modal__box { width: min(760px, 100%); display: grid; gap: 10px; padding-bottom: 0; }
.modal--policy .eyebrow { margin: 0; }
.modal--policy .h3 { padding-right: 48px; margin-bottom: 8px; }
.policy-body { font-size: var(--fs-small); color: var(--c-muted); }
.policy-body h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--c-ink); margin-top: 14px; }
.policy-body ul { padding-left: 1.1em; list-style: disc; display: grid; gap: 4px; }
.policy-foot { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 18px calc(-1 * clamp(24px, 4vw, 40px)) 0; padding: 18px clamp(24px, 4vw, 40px) calc(18px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--c-border); }

/* phone hero: the photo stays clear; the task card becomes a small status pill
   and the uptime card sits on the seam between the photo and the UZDO panel */
@media (max-width: 899px) {
  .stage__photo { aspect-ratio: 4 / 3.3; }
  .stage__photo > picture img { object-position: 50% 42%; }
  .task-card { display: none; }
  .float-pill { display: inline-flex; top: 14px; right: 14px; bottom: auto; left: auto; padding: 7px 12px; font-size: 12px; gap: 7px; }
  .float-pill svg { width: 16px; height: 16px; }
  .uptime { order: 2; position: relative; justify-self: stretch; width: auto; margin: -30px 18px -30px; padding: 12px 18px; z-index: 3;
    grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 16px; row-gap: 0; align-items: center; border-radius: var(--r-md); }
  .uptime__site { grid-column: 1; grid-row: 1; }
  .uptime__l { grid-column: 1; grid-row: 2; margin-top: 0; }
  .uptime__v { grid-column: 2; grid-row: 1 / span 2; font-size: 1.875rem; }
  .uptime__bars { display: none; }
  .stage__uzdo { order: 3; margin-top: 0; padding-top: 52px; }
}
@media (max-width: 520px) { .float-pill .fp-long { display: none; } }
.price-band { background: var(--c-surface); border-color: transparent; }

/* ======================================================================
   CMS migration sections
   ====================================================================== */
.picto--56 { width: 56px; height: 56px; }
.mig-trust li + li::before { display: none; }
.mig-trust { gap: 10px 22px; }
.mig-trust svg { width: 18px; height: 18px; color: var(--c-accent-strong); }

/* hero: an old admin screen behind, the WordPress + ACF editor in front */
.mig-hv { position: relative; min-height: 470px; }
.mig-hv__old { position: absolute; left: 0; top: 8px; width: 68%; border-radius: 6px; background: #ececec; border: 1px solid #c9c9c9; box-shadow: var(--sh-card); transform: rotate(-3deg); font-family: Verdana, Tahoma, sans-serif; color: #333; filter: grayscale(1); opacity: .9; overflow: hidden; }
.old-bar { height: 26px; display: flex; align-items: center; padding: 0 10px; background: #d9d9d9; border-bottom: 1px solid #c4c4c4; font-size: 10px; color: #666; }
.old-body { padding: 12px 14px 16px; display: grid; gap: 5px; font-size: 10.5px; }
.old-h { font-weight: 700; font-size: 12px; } .old-h u, .old-body u { color: #2a4fbd; font-weight: 400; }
.old-lang { margin-top: 6px; font-weight: 700; border-bottom: 1px solid #cfcfcf; padding-bottom: 3px; }
.old-row { display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: center; }
.old-row i { font-style: normal; background: #fff; border: 1px solid #bdbdbd; padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.old-row--t i { height: 38px; white-space: normal; }
.mig-hv__new { position: absolute; right: 0; top: 64px; width: 66%; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-app); padding: 22px; display: grid; gap: 16px; z-index: 1; }
.wp-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--c-border); }
.wp-h__t small { display: block; font-size: 11px; color: var(--c-subtle); } .wp-h__t b { font-weight: 600; font-size: .9375rem; }
.wp-tabs { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--c-surface); font-size: 11px; font-weight: 600; } .wp-tabs i { font-style: normal; padding: 4px 9px; border-radius: 99px; color: var(--c-muted); } .wp-tabs i.on { background: var(--c-ink); color: #fff; }
.wp-f { display: grid; gap: 7px; } .wp-f > label { font-size: 11px; font-weight: 600; color: var(--c-muted); }
.wp-in { display: flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--c-border-strong); font-size: 13px; }
.caret { display: inline-block; width: 1.5px; height: 16px; margin-left: 2px; background: var(--c-accent-strong); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.wp-blocks { display: grid; gap: 6px; }
.wp-blocks li, .n-blocks li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--c-surface); font-size: 12.5px; }
.wp-blocks svg, .n-blocks svg { width: 14px; height: 14px; color: var(--c-subtle); }
.wp-blocks b, .n-blocks b { font-weight: 500; } .wp-blocks small, .n-blocks small { color: var(--c-subtle); font-size: 11px; }
.wp-blocks li.is-new { background: #fff; outline: 1.5px solid var(--c-accent); box-shadow: var(--sh-card); animation: blk-in 6s var(--ease-out) infinite; }
@keyframes blk-in { 0%, 12% { transform: translateY(-6px); opacity: 0; } 22%, 100% { transform: none; opacity: 1; } }
.wp-add, .n-add { font-size: 12px; color: var(--c-accent-strong); font-weight: 500; }
.wp-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 4px; }
.wp-btn, .n-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 8px; background: #2271b1; color: #fff; font-size: 12px; font-weight: 600; }
.mig-hv__move { position: absolute; left: 0; bottom: 24px; z-index: 2; width: 200px; padding: 16px 18px; border-radius: var(--r-md); background: var(--c-ink); color: #fff; display: grid; gap: 4px; box-shadow: var(--sh-float); }
.mig-hv__move small { font-size: 11px; color: var(--c-on-dark-subtle); } .mig-hv__move b { font-weight: 600; font-size: .9375rem; }
.mig-bar { height: 5px; border-radius: 9px; background: rgb(255 255 255 / .14); overflow: hidden; margin-top: 6px; }
.mig-bar i { display: block; height: 100%; width: 100%; background: var(--c-accent); transform-origin: left; animation: bar-fill 2.4s var(--ease-out) .4s both; }
@keyframes bar-fill { from { transform: scaleX(.05); } }
@media (max-width: 999px) { .mig-hv { min-height: 440px; max-width: 620px; } }
@media (max-width: 560px) {
  .mig-hv { min-height: 0; display: grid; gap: 0; }
  .mig-hv__old { position: relative; width: 82%; top: 0; }
  .mig-hv__new { position: relative; width: 92%; top: auto; margin: -64px 0 0 auto; padding: 18px; gap: 12px; }
  .mig-hv__move { position: relative; left: auto; bottom: auto; width: auto; margin: -22px 28px 0 12px; }
}

/* pains: the client's own words on the left, our answer on the right */
.pains { display: grid; border-top: 1px solid var(--c-border); }
.pain { display: grid; gap: 10px 48px; padding: 26px 0; border-bottom: 1px solid var(--c-border); align-items: baseline; }
@media (min-width: 900px) { .pain { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 30px 0; } }
.pain__q { font-family: var(--font-head); font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -.015em; }
.pain__a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; color: var(--c-muted); }
.pain__ic { width: 28px; height: 28px; border-radius: 50%; background: var(--c-surface); color: var(--c-accent-strong); display: grid; place-items: center; transform: translateY(-2px); }
.pain__ic svg { width: 15px; height: 15px; }

/* before / after slider; the UI is drawn in em so it scales with the frame */
.ba { border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: var(--sh-app); }
.ba__bar { position: relative; display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; background: #f1f3ef; border-bottom: 1px solid var(--c-border); font-size: var(--fs-label); }
.ba__tag { padding: 4px 10px; border-radius: 99px; font-weight: 500; }
.ba__tag--old { background: #ececec; color: #555; } .ba__tag--new { margin-left: auto; background: var(--c-accent-btn); color: #fff; }
.ba__stage { --pos: 50%; position: relative; aspect-ratio: 16 / 7.6; container-type: inline-size; overflow: hidden; user-select: none; -webkit-user-select: none; }
.ba__ui { position: absolute; inset: 0; font-size: calc(100cqw / 70); display: grid; }
.ba__clip { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 1; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--c-ink); z-index: 2; pointer-events: none; }
.ba__handle i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--c-ink); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px rgb(255 255 255 / .6), var(--sh-float); transition: transform .2s var(--ease-out); }
.ba__handle svg { width: 20px; height: 20px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.ba__range:focus-visible + .ba__handle i, .ba.is-focus .ba__handle i { outline: 2px solid var(--c-focus); outline-offset: 4px; }
.ba.is-drag .ba__handle i { transform: scale(1.08); }

/* old CMS: cramped, grey, every language in one long form */
.ba__ui--old { grid-template-columns: 13.5em minmax(0, 1fr); background: #f3f3f3; font-family: Verdana, Tahoma, sans-serif; color: #222; font-size: calc(100cqw / 92); }
.o-side { padding: 1.4em 1.4em; border-right: .25em solid #dcdcdc; background: #f7f7f7; font-size: .95em; }
.o-sec { font-weight: 700; margin: 1.1em 0 .6em; } .o-sec:first-child { margin-top: 0; } .o-sec u { font-weight: 400; color: #2a4fbd; margin-left: .4em; }
.o-side li { padding: .22em 0; color: #555; } .o-side li.on { color: #000; font-weight: 700; }
.o-main { padding: 1.4em 1.8em; display: grid; align-content: start; gap: .55em; overflow: hidden; }
.o-h { font-weight: 700; } .o-lang { font-weight: 700; margin-top: .7em; padding-bottom: .3em; border-bottom: 1px solid #cdcdcd; }
.o-row { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 1em; align-items: start; }
.o-row span { color: #555; padding-top: .3em; }
.o-row i { font-style: normal; display: block; background: #fff; border: 1px solid #bcbcbc; padding: .3em .6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-row--t > div { display: grid; }
.o-tb { background: #e6e6e6 !important; border-bottom: 0 !important; font-size: .9em; }
.o-ta { height: 3.6em; white-space: normal !important; color: #444; }
.o-save { margin-top: .6em; display: flex; gap: 1em; align-items: center; } .o-save span { border: 1px solid #888; background: #e2e2e2; padding: .25em 1em; } .o-save u { color: #2a4fbd; }

/* new: WordPress admin with ACF field groups */
.ba__ui--new { grid-template-columns: 11em minmax(0, 1fr); background: #f0f0f1; color: #1d2327; font-family: var(--font-body); }
.n-side { background: #1d2327; color: #c3c4c7; padding: 1.2em 0; font-size: .82em; }
.n-logo { display: grid; place-items: center; width: 2.2em; height: 2.2em; margin: 0 0 1.2em 1.3em; border-radius: 50%; border: .14em solid #c3c4c7; font-family: Georgia, serif; font-weight: 700; }
.n-side li { padding: .62em 1.6em; } .n-side li.on { background: #2271b1; color: #fff; }
.n-main { padding: 1.4em 1.8em; display: grid; align-content: start; gap: 1.1em; min-width: 0; }
.n-top { display: flex; justify-content: space-between; align-items: center; }
.n-top small { display: block; font-size: .72em; color: #646970; } .n-top b { font-size: 1.15em; font-weight: 600; }
.n-tabs { display: inline-flex; padding: .2em; border-radius: 99em; background: #fff; border: 1px solid #dcdcde; font-size: .72em; font-weight: 600; } .n-tabs i { font-style: normal; padding: .35em .9em; border-radius: 99em; color: #646970; } .n-tabs i.on { background: var(--c-ink); color: #fff; }
.n-grid { display: grid; grid-template-columns: minmax(0, 1fr) 14em; gap: 1.1em; align-items: start; }
.n-card { background: #fff; border: 1px solid #dcdcde; border-radius: .5em; padding: 1em 1.1em; display: grid; gap: .8em; }
.n-card__h { font-size: .8em; font-weight: 600; padding-bottom: .6em; border-bottom: 1px solid #f0f0f1; }
.n-f { display: grid; gap: .35em; } .n-f label { font-size: .7em; font-weight: 600; color: #50575e; }
.n-f--2 { grid-template-columns: 1fr 1fr; gap: .8em; } .n-f--2 > div { display: grid; gap: .35em; }
.n-in { display: flex; align-items: center; height: 2.3em; padding: 0 .8em; border: 1px solid #8c8f94; border-radius: .3em; font-size: .78em; }
.n-in--sel::after { content: ""; margin-left: auto; width: .45em; height: .45em; border-right: 1.5px solid #50575e; border-bottom: 1.5px solid #50575e; transform: rotate(45deg) translateY(-.15em); }
.n-blocks { display: grid; gap: .4em; }
.n-blocks li { font-size: .74em; padding: .7em .9em; border-radius: .5em; background: #f6f7f7; border: 1px solid #e2e4e7; grid-template-columns: 1.1em minmax(0, 1fr) auto; }
.n-blocks svg { width: 1.1em; height: 1.1em; }
.n-add { font-size: .74em; color: #2271b1; }
.n-side2 { display: grid; gap: 1.1em; }
.n-st { display: flex; align-items: center; gap: .5em; font-size: .74em; color: #50575e; } .n-st i { width: .55em; height: .55em; border-radius: 50%; background: var(--c-accent); }
.n-btn { justify-self: start; height: 2.3em; font-size: .74em; padding: 0 1.1em; border-radius: .3em; }
.n-img { display: block; aspect-ratio: 4 / 3; border-radius: .35em; background: linear-gradient(135deg, #e8c27a, #c98a3a 55%, #8a5a23); }
.ba-notes { display: grid; gap: 10px; margin-top: 28px; max-width: 760px; }
.ba-notes b { font-weight: 600; color: var(--c-ink); }
@container (max-width: 640px) {
  .ba__ui { font-size: calc(100cqw / 30); }
  .ba__ui--old { grid-template-columns: minmax(0, 1fr); font-size: calc(100cqw / 34); }
  .o-side { display: none; }
  .ba__ui--new { grid-template-columns: minmax(0, 1fr); }
  .n-side, .n-side2 { display: none; }
  .n-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) { .ba__stage { aspect-ratio: 4 / 4.6; } .ba__bar { gap: 8px; padding: 0 12px; } .ba__bar .browser__dots { display: none; } .ba__tag { font-size: 11px; padding: 3px 8px; } }

/* why WordPress + ACF */
.why3 { display: grid; gap: 20px; }
@media (min-width: 900px) { .why3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.why { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: var(--c-surface); }
.why .picto { margin-bottom: 10px; }
.why p { color: var(--c-muted); }
[data-picto-host]:hover .anim-atslega, [data-picto-host]:hover .anim-lauks-2 { animation: p-pop .5s var(--ease-out); }
[data-picto-host]:hover .anim-kursors { animation: p-blink .8s steps(2) 2; }
[data-picto-host]:hover .anim-jauns { animation: p-pop .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .svc-row:hover .anim-lauks-1, .mega__item:hover .anim-lauks-1 { animation: p-slide .5s var(--ease-out) both; }
  .svc-row:hover .anim-lauks-2, .mega__item:hover .anim-lauks-2 { animation: p-slide .5s var(--ease-out) .08s both; }
  .svc-row:hover .anim-bulta, .mega__item:hover .anim-bulta { stroke-dasharray: 40; animation: p-draw .8s var(--ease-out); }
}

/* design: keep it or redesign in the same project */
.mig-design__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .mig-design__grid { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 72px; } }
.mig-design__l { display: grid; gap: 22px; align-content: start; }
.mig-design__l .eyebrow { margin: 0; }
.mig-design__l .lead { color: var(--c-on-dark-muted); }
.mig-design__l .bill__pane p { color: var(--c-on-dark-muted); }
.mig-design__l .check-list { color: #fff; } .mig-design__l .check-list svg { color: var(--c-accent); width: 20px; height: 20px; flex: none; }
.seg--dark { background: rgb(255 255 255 / .06); border-color: var(--c-border-dark); justify-self: start; }
.seg--dark button { color: var(--c-on-dark-muted); } .seg--dark button[aria-selected="true"] { color: var(--c-ink); } .seg--dark > i { background: #fff; }
.dz-browser { border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-app); }
.dz-browser .browser__bar { height: 34px; }
.dz-stage { display: grid; aspect-ratio: 16 / 10.5; container-type: inline-size; }
.dz { position: relative; overflow: hidden; font-size: calc(100cqw / 48); gap: 0 !important; align-content: start; }
.dz-note { position: absolute; left: 1.4em; bottom: 1.4em; display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border-radius: 99em; background: var(--c-ink); color: #fff; font-family: var(--font-body); font-size: .9em; font-weight: 500; box-shadow: var(--sh-float); }
.dz-note svg { width: 1.2em; height: 1.2em; color: var(--c-accent); }

/* what we move + example report */
.mig-move__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1100px) { .mig-move__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 72px; } }
.head--stack { grid-template-columns: minmax(0, 1fr) !important; }
.mig-log { border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-float); border: 1px solid var(--c-border); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 18px; }
.mig-log__h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mig-log__h b { display: block; font-weight: 600; } .mig-log__h small { font-size: var(--fs-label); color: var(--c-subtle); }
.mig-log__rows { display: grid; gap: 14px; }
.mig-log__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; font-size: var(--fs-small); }
.mig-log__rows b { font-weight: 600; }
.mig-log__rows i { grid-column: 1 / -1; height: 6px; border-radius: 9px; background: var(--c-surface); position: relative; overflow: hidden; }
.mig-log__rows i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--c-accent); border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
.mig-log.is-in .mig-log__rows i::after, html:not(.js) .mig-log__rows i::after { transform: none; }
.mig-log__rows li:nth-child(2) i::after { transition-delay: .1s; } .mig-log__rows li:nth-child(3) i::after { transition-delay: .2s; } .mig-log__rows li:nth-child(4) i::after { transition-delay: .3s; } .mig-log__rows li:nth-child(5) i::after { transition-delay: .4s; } .mig-log__rows li:nth-child(6) i::after { transition-delay: .5s; }
.mig-log__f { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); background: var(--c-surface); font-size: var(--fs-small); }
.mig-log__f svg { width: 18px; height: 18px; color: var(--c-accent-strong); flex: none; }

/* evaluation form */
.contact-intro .eyebrow { margin-bottom: 0; }
.mig-get { display: grid; gap: 14px; margin-top: 8px; }
.mig-get li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.mig-get svg { width: 22px; height: 22px; color: var(--c-accent-strong); }
.mig-get b { display: block; font-weight: 600; } .mig-get small { color: var(--c-muted); font-size: var(--fs-small); }

/* home: migration promo */
.mig-promo { position: relative; display: grid; gap: 32px; padding: clamp(28px, 4.4vw, 64px); border-radius: var(--r-xl); background: var(--c-ink); color: #fff; overflow: hidden; align-items: center; }
@media (min-width: 1000px) { .mig-promo { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; } }
.mig-promo .eyebrow { color: var(--c-accent-on-dark); }
.mig-promo p { color: var(--c-on-dark-muted); margin-top: 16px; max-width: 34rem; font-size: var(--fs-body-lg); }
.mig-promo .btn-row { margin-top: 28px; }
.mig-promo__vis { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.mp-card { border-radius: var(--r-md); padding: 16px; display: grid; gap: 8px; font-size: 12px; }
.mp-card--old { background: #e9e9e9; color: #333; font-family: Verdana, Tahoma, sans-serif; font-size: 10.5px; transform: rotate(-2deg); filter: grayscale(1); }
.mp-card--old p { font-weight: 700; } .mp-card--old i { font-style: normal; display: block; background: #fff; border: 1px solid #bdbdbd; padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-card--new { background: #fff; color: var(--c-ink); box-shadow: var(--sh-float); }
.mp-card--new p { font-weight: 600; font-size: 13px; }
.mp-card--new span { display: flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--c-border-strong); }
.mp-card--new span.g { background: var(--c-surface); border-color: transparent; }
.mp-arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent); color: var(--c-ink); display: grid; place-items: center; }
.mp-arrow svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .mig-promo__vis { grid-template-columns: minmax(0, 1fr); } .mp-arrow { justify-self: center; transform: rotate(90deg); } }
.link--ondark, .mig-promo .link { color: #fff; }
.mig-promo .h2 { color: #fff; max-width: 15ch; }
.mig-promo .btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.new-tag { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 8px; padding: 3px 9px; border-radius: 99px; background: var(--c-accent-btn); color: #fff; font-family: var(--font-body); font-size: .6875rem; font-weight: 600; letter-spacing: .01em; transform: translateY(-2px); }
.mig-promo .mp-card p { color: inherit; margin: 0; max-width: none; font-size: inherit; }
.mig-promo .mp-card--new p { font-size: 13px; }
.page-hero[style*="padding-bottom:0"] + .section { padding-top: var(--gap-block) !important; }
.policy-body ul { list-style: none; padding-left: 0; }
@media (max-width: 1199px) { .dz-stage { aspect-ratio: 4 / 3.6; } }

/* mega menu with a dark green blurred scrim; smaller mobile menu headings */
.mega-scrim { position: fixed; inset: 0; z-index: calc(var(--z-header) - 1); background: rgba(10, 30, 21, .58); -webkit-backdrop-filter: blur(8px) saturate(120%); backdrop-filter: blur(8px) saturate(120%); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
html.mega-open .mega-scrim { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s; }
@media (max-width: 1199px) { .mega-scrim { display: none; } }
html.mega-open .site-header { border-bottom-color: transparent; }
.mobile-menu nav > a, .mm-group > button { font-size: 1.125rem; min-height: 50px; }
.mobile-menu nav > a svg { width: 18px; height: 18px; }
.mm-group > button svg { width: 20px; height: 20px; }
.mm-sub { padding: 4px 0 10px; }
.mm-sub a { padding: 8px 0; font-size: .9375rem; }



/* process steps and Labs columns: icons instead of 01-04 */
.proc__ic { width: 44px; height: 44px; border-radius: 12px; background: rgb(84 175 58 / .14); color: var(--c-accent-on-dark); display: grid; place-items: center; flex: none; }
.proc__ic svg { width: 22px; height: 22px; }
.num-cols .n--ic { width: 44px; height: 44px; border-radius: 12px; background: var(--c-accent-soft); color: var(--c-accent-strong); display: grid; place-items: center; }
.num-cols .n--ic svg { width: 22px; height: 22px; }

/* clients strip between two coloured sections: same space above and below */
.section--surface + .clients, .section--dark + .clients { padding-top: var(--section); }

/* phones: quote marks get room from the top edge; tag sits under the mark, close to the quote */
@media (max-width: 699.98px) {
  .ts-q { gap: 14px; align-content: start; }
  .ts-q__top { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 22px; }
  .ts-mark { font-size: 4.5rem; }
  .bento__quote .ts-mark { margin-top: 20px; }
  .bento__quote { gap: 12px; }
}

/* client messages (CMS migration) */
.msgs { columns: 1; column-gap: 20px; }
@media (min-width: 740px) { .msgs { columns: 2; } }
@media (min-width: 1140px) { .msgs { columns: 3; } }
.msg { break-inside: avoid; display: block; margin-bottom: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--c-border); box-shadow: 0 1px 2px rgb(16 35 27 / .04), 0 14px 34px -18px rgb(16 35 27 / .22); overflow: hidden; font-size: .9375rem; line-height: 1.5; }
.msg__ch { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: var(--fs-label); color: var(--c-muted); border-bottom: 1px solid var(--c-border); }
.msg__ch svg { width: 16px; height: 16px; color: var(--c-accent-strong); flex: none; }
.msg__ch b { font-weight: 600; color: var(--c-ink); }
.msg__ch time { margin-left: auto; color: var(--c-subtle); white-space: nowrap; }
.msg__ans { border-radius: 14px; background: var(--c-surface); padding: 12px 14px; }
.msg__ans-h { font-size: var(--fs-label); font-weight: 600; color: var(--c-accent-strong); margin-bottom: 4px; }
.msg__ans p:not(.msg__ans-h) { color: var(--c-ink); }
.msgs__note { margin-top: 4px; }

.mail { padding: 16px 18px 18px; display: grid; gap: 10px; }
.mail__from { display: flex; align-items: center; gap: 10px; }
.mail__av, .wa__av, .sms__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .875rem; flex: none; }
.mail__av { background: #e4ecf7; color: #2b4a77; }
.mail__from b { display: block; font-weight: 600; font-size: .875rem; } .mail__from small { display: block; font-size: var(--fs-label-sm); color: var(--c-subtle); }
.mail__subj { font-weight: 600; font-size: 1rem; letter-spacing: -.01em; }
.mail__txt { color: var(--c-muted); }
.mail__re { margin-top: 4px; border-left: 3px solid var(--c-accent); border-radius: 0 12px 12px 0; background: var(--c-surface); padding: 10px 14px 12px; }
.mail__re-h { display: flex; align-items: center; gap: 6px; font-size: var(--fs-label); margin-bottom: 4px; }
.mail__re-h svg { width: 14px; height: 14px; color: var(--c-accent-strong); } .mail__re-h b { font-weight: 600; } .mail__re-h small { margin-left: auto; color: var(--c-subtle); }

.wa__head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f0f2f5; }
.wa__av { background: #c9d6cf; color: #2e4a3d; }
.wa__head b { display: block; font-weight: 600; font-size: .875rem; } .wa__head small { display: block; font-size: var(--fs-label-sm); color: #667781; }
.wa__chat { display: grid; gap: 8px; padding: 14px 12px 16px; background-color: #efeae2; background-image: radial-gradient(rgb(0 0 0 / .045) 1px, transparent 1.2px); background-size: 14px 14px; }
.bub { position: relative; max-width: 88%; padding: 7px 10px 6px; border-radius: 10px; font-size: .875rem; line-height: 1.45; box-shadow: 0 1px .5px rgb(11 20 26 / .13); }
.bub time { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 6px 0 -3px 10px; font-size: .6875rem; color: #667781; }
.bub time svg { width: 16px; height: 11px; color: #53bdeb; }
.bub--in { justify-self: start; background: #fff; border-top-left-radius: 0; }
.bub--out { justify-self: end; background: #d9fdd3; border-top-right-radius: 0; }
.bub--in::before, .bub--out::before { content: ""; position: absolute; top: 0; width: 8px; height: 10px; }
.bub--in::before { left: -7px; background: linear-gradient(225deg, #fff 50%, transparent 50%); }
.bub--out::before { right: -7px; background: linear-gradient(135deg, #d9fdd3 50%, transparent 50%); }

.msg--voice { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.msg--voice .msg__ch { color: var(--c-on-dark-muted); border-color: var(--c-border-dark); } .msg--voice .msg__ch b { color: #fff; } .msg--voice .msg__ch svg { color: var(--c-accent); } .msg--voice .msg__ch time { color: var(--c-on-dark-subtle); }
.vm { padding: 16px 18px 18px; display: grid; gap: 14px; }
.vm__player { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 99px; background: rgb(255 255 255 / .07); }
.vm__play { width: 34px; height: 34px; border-radius: 50%; background: var(--c-accent); color: var(--c-ink); display: grid; place-items: center; flex: none; }
.vm__play svg { width: 15px; height: 15px; margin-left: 2px; }
.vm__wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 28px; min-width: 0; overflow: hidden; }
.vm__wave i { flex: 1; min-width: 2px; max-width: 4px; height: calc(var(--h) * 100%); border-radius: 2px; background: rgb(255 255 255 / .38); }
.vm__wave i:nth-child(-n+7) { background: var(--c-accent); }
.vm__t { font-size: var(--fs-label); color: var(--c-on-dark-muted); font-variant-numeric: tabular-nums; }
.vm__txt { font-family: var(--font-head); font-size: 1.0625rem; line-height: 1.4; }
.vm__txt small { display: block; font-family: var(--font-body); font-size: var(--fs-label-sm); color: var(--c-on-dark-subtle); margin-bottom: 4px; letter-spacing: .02em; }
.msg--voice .msg__ans { background: rgb(255 255 255 / .07); }
.msg--voice .msg__ans-h { color: var(--c-accent); } .msg--voice .msg__ans p:not(.msg__ans-h) { color: #fff; }

.sms { display: grid; gap: 8px; padding: 14px 14px 12px; }
.sms__head { display: grid; justify-items: center; gap: 4px; padding-bottom: 6px; font-size: var(--fs-label); }
.sms__head b { font-weight: 600; }
.sms__av { width: 40px; height: 40px; background: linear-gradient(#a6adb7, #858c96); color: #fff; }
.sms__day { text-align: center; font-size: var(--fs-label-sm); color: var(--c-subtle); }
.bub--grey, .bub--green { box-shadow: none; border-radius: 18px; padding: 8px 13px; max-width: 86%; }
.bub--grey { justify-self: start; background: #e9e9eb; color: #111; border-bottom-left-radius: 5px; }
.bub--green { justify-self: end; background: #34c759; color: #fff; border-bottom-right-radius: 5px; }
.sms__st { justify-self: end; font-size: .6875rem; color: var(--c-subtle); margin-top: -2px; }

.frm { padding: 16px 18px 18px; display: grid; gap: 14px; }
.frm__f { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.frm__f div { min-width: 0; } .frm__wide { grid-column: 1 / -1; }
.frm__f dt { font-size: var(--fs-label-sm); color: var(--c-subtle); margin-bottom: 2px; }
.frm__f dd { font-size: .875rem; font-weight: 500; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--c-border); background: #fbfcfa; }
.frm__wide dd { font-weight: 400; }

/* design switcher: an old 2011 site against a modern one */
.dz-url [data-pane] { display: none; } .dz-url [data-pane].is-on { display: inline; }
.dz-browser .browser__url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz--old { background: #c9c3b6; background-image: repeating-linear-gradient(45deg, rgb(255 255 255 / .12) 0 2px, transparent 2px 6px); font-family: Verdana, Tahoma, Geneva, sans-serif; color: #333; padding: 1.1em 0 0; }
.dzo-page { width: 86%; margin: 0 auto; background: #fff; border: 1px solid #9c9282; box-shadow: 0 0 .6em rgb(0 0 0 / .25); font-size: .72em; line-height: 1.35; }
.dzo-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2em 1.4em; background: linear-gradient(#8a5a2e, #5b3716); border-bottom: .25em solid #d79a2b; color: #fff; }
.dzo-logo b { display: block; font-family: "Times New Roman", Times, serif; font-style: italic; font-size: 2.6em; line-height: 1; text-shadow: .06em .06em 0 #2b1806; letter-spacing: .01em; }
.dzo-logo small { display: block; font-size: .95em; color: #f3d9a4; margin-top: .3em; }
.dzo-flags { display: flex; gap: .3em; } .dzo-flags i { font-style: normal; font-size: .85em; padding: .1em .35em; border: 1px solid #c79a6a; color: #f3d9a4; } .dzo-flags i.on { background: #d79a2b; color: #fff; border-color: #d79a2b; }
.dzo-nav { display: flex; background: linear-gradient(#f4f4f4, #d6d6d6); border-bottom: 1px solid #a9a9a9; }
.dzo-nav li { padding: .55em 1.1em; font-size: .95em; font-weight: 700; color: #5b3716; text-transform: uppercase; border-right: 1px solid #b9b9b9; letter-spacing: .02em; }
.dzo-nav li.on { background: linear-gradient(#e7a838, #c47f12); color: #fff; }
.dzo-body { display: grid; grid-template-columns: 30% 1fr; gap: 1.2em; padding: 1.2em 1.4em; }
.dzo-box { background: #5b3716; color: #fff; font-weight: 700; padding: .3em .6em; margin-bottom: .5em; font-size: .95em; }
.dzo-news { font-size: .9em; padding: 0 .3em .7em; margin-bottom: .6em; border-bottom: 1px dotted #b5a58c; color: #444; }
.dzo-news b { display: block; color: #a0522d; font-size: .95em; }
.dzo-h { font-family: "Times New Roman", Times, serif; font-size: 1.75em; color: #5b3716; margin-bottom: .5em; line-height: 1.1; }
.dzo-img { float: left; width: 42%; height: auto; margin: .2em 1em .6em 0; border: .35em solid #fff; outline: 1px solid #a99; box-shadow: .15em .15em .3em rgb(0 0 0 / .35); filter: saturate(.75) contrast(.92) sepia(.15); }
.dzo-p { font-size: .95em; text-align: justify; color: #444; }
.dzo-more { margin-top: .6em; color: #0033cc; text-decoration: underline; font-size: .95em; }
.dzo-foot { clear: both; text-align: center; font-size: .8em; color: #777; padding: .7em; border-top: 1px solid #ddd; background: #f2f2f2; }
.dzo-foot b { font-family: "Courier New", monospace; color: #fff; background: #222; padding: 0 .3em; letter-spacing: .1em; }

.dz--new { background: #f6f3ec; color: #171511; font-family: var(--font-body); }
.dzn-hero { position: relative; height: 62%; min-height: 0; overflow: hidden; color: #fff; isolation: isolate; }
.dzn-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.dzn-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 9 7 / .78) 0%, rgb(10 9 7 / .35) 50%, transparent 75%); }
.dzn-top { display: flex; align-items: center; gap: 1.6em; padding: 1.1em 1.8em; font-size: .82em; }
.dzn-top b { font-family: var(--font-head); font-weight: 400; font-size: 1.6em; margin-right: auto; letter-spacing: -.02em; }
.dzn-top span { color: rgb(255 255 255 / .82); }
.dzn-top i { font-style: normal; padding: .45em 1.1em; border-radius: 99em; background: #f6f3ec; color: #171511; font-weight: 600; }
.dzn-copy { padding: 1.2em 1.8em 0; display: grid; gap: .6em; justify-items: start; }
.dzn-copy small { font-size: .78em; letter-spacing: .14em; text-transform: uppercase; color: #e9c27a; }
.dzn-h { font-family: var(--font-head); font-size: 2.6em; line-height: 1.02; letter-spacing: -.03em; }
.dzn-btns { display: flex; align-items: center; gap: 1.2em; margin-top: .4em; font-size: .82em; }
.dzn-btn { padding: .65em 1.3em; border-radius: 99em; background: #e9b44c; color: #171511; font-weight: 600; }
.dzn-link { color: #fff; font-weight: 500; border-bottom: 1px solid rgb(255 255 255 / .5); }
.dzn-row { padding: 1em 1.8em 1.2em; }
.dzn-row__h { display: flex; justify-content: space-between; align-items: baseline; font-size: .82em; margin-bottom: .7em; }
.dzn-row__h b { font-family: var(--font-head); font-weight: 400; font-size: 1.35em; } .dzn-row__h span { color: #7a6f5f; }
.dzn-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9em; }
.dzn-cards span { display: grid; grid-template-columns: 2.6em 1fr; grid-template-rows: auto auto; column-gap: .6em; align-items: center; padding: .45em; border-radius: .8em; background: #fff; box-shadow: 0 .1em .4em rgb(23 21 17 / .08); font-size: .8em; }
.dzn-cards img { grid-row: 1 / 3; width: 2.6em; height: 2.6em; border-radius: .5em; object-fit: cover; }
.dzn-cards b { font-weight: 600; line-height: 1.2; } .dzn-cards em { font-style: normal; color: #7a6f5f; line-height: 1.2; }
.dz-note { left: auto; right: 1.2em; bottom: 1.2em; }
.dz--new .dz-note { bottom: auto; top: 4.2em; }
@container (max-width: 560px) {
  .dz { font-size: calc(100cqw / 30); }
  .dzo-page { width: 92%; font-size: .66em; }
  .dzo-nav li { padding: .5em .7em; } .dzo-nav li:nth-child(n+4) { display: none; }
  .dzo-body { grid-template-columns: 1fr; } .dzo-side { display: none; }
  .dzo-flags { display: none; }
  .dzn-top span { display: none; }
  .dzn-hero { height: 64%; }
  .dzn-h { font-size: 2.2em; }
  .dzn-cards { grid-template-columns: 1fr 1fr; } .dzn-cards span:nth-child(3) { display: none; }
  .dz-note { right: .8em; bottom: .8em; font-size: .78em; }
  .dz--new .dz-note { top: auto; bottom: .8em; }
}
.dz--new { grid-template-rows: minmax(0, 1fr) auto; align-content: stretch !important; }
.dzn-hero { height: auto; }
.dzn-hero .dz-note { top: auto; right: 1.2em; bottom: 1.2em; }
.dzn-copy { padding-top: 2.4em; }
.dzn-cards span { grid-template-columns: 3.4em 1fr; } .dzn-cards img { width: 3.4em; height: 3.4em; }
@container (max-width: 560px) { .dzn-copy { padding-top: 1.2em; } .dzn-hero .dz-note { top: auto; bottom: .8em; right: .8em; } }
.dzn-top span { text-shadow: 0 1px 8px rgb(0 0 0 / .7); }
.fb { display: grid; gap: 6px; padding: 12px 14px 12px; }
.fb__head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--c-border); }
.fb__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f3c7a0, #d98b5f); color: #fff; font-weight: 600; font-size: .875rem; flex: none; }
.fb__av--s { width: 14px; height: 14px; font-size: 0; }
.fb__head b { display: block; font-weight: 600; font-size: .875rem; } .fb__head small { display: block; font-size: var(--fs-label-sm); color: var(--c-subtle); }
.bub--fbin, .bub--fbout { box-shadow: none; border-radius: 18px; padding: 8px 13px; max-width: 86%; }
.bub--fbin { justify-self: start; background: #f0f0f0; color: #050505; }
.bub--fbout { justify-self: end; background: linear-gradient(160deg, #0a7cff, #7a5cff); color: #fff; }
.fb__seen { justify-self: end; }
@media (max-width: 739.98px) {
  .msgs { columns: auto; display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .msgs::-webkit-scrollbar { display: none; }
  .msg { flex: 0 0 86%; margin: 0; scroll-snap-align: start; }
}

/* phones: smaller headings so none runs to four or five lines; hero lines flow as one sentence */
@media (max-width: 699.98px) {
  :root { --fs-h2: clamp(1.75rem, 1.3rem + 2.4vw, 2.125rem); --fs-display: clamp(2rem, 1.4rem + 2.8vw, 2.5rem); }
  .page-hero .display, .cfg-sec .display, .uzdo-hero .display { font-size: var(--fs-display); }
  [data-m="hero-words"] .m-line { display: inline; }
  [data-m="hero-words"] .m-line + .m-line::before { content: " "; }
}
@media (max-width: 699.98px) { .ts-mark { height: .3em; } .ts-q__top { padding-top: 26px; gap: 4px; } }

/* panels are div[role=button] because they contain links */
[data-m-panel] { display: block; cursor: pointer; }
[data-m-panel]:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }


/* Sadarbības soļi: neaktīvās kartītes baltas ar kontūru, lai atšķiras no norēķinu paneļa un atsauksmju fona */
.coop:not(.is-on) { background: #fff; box-shadow: inset 0 0 0 1px var(--c-border-strong); }
@media (hover: hover) and (pointer: fine) { .coop:not(.is-on):hover { background: var(--c-accent-faint); } }
@media (max-width: 1099.98px) {
  .coop, .coop.is-on { background: #fff; box-shadow: inset 0 0 0 1px var(--c-border-strong); }
}
/* Norēķinu panelis: dziļāks zaļais tonis nekā atsauksmju sekcijai */
.bill { background: var(--c-surface-alt); }
.bill .seg { background: #fff; }

/* Teksts uz logo zaļā (#54af3a) balts: tumšais bija grūti salasāms. Fona tonis nemainās. */
.cta-green, .cta-green .h2, .cta-green p { color: #fff; }
.cta-green p { font-weight: 500; }
.bento__quote, .bento__quote p, .bento__quote cite, .bento__quote .ts-mark { color: #fff; }
.uptime { color: #fff; }
.uptime__l { opacity: .9; }
.uptime__bars i { background: #fff; }
.sum__price { color: #fff; }
[data-m-panel].is-on { color: #fff; }
[data-m-panel].is-on .link { color: #fff !important; }
[data-m-panel].is-on .h3, [data-m-panel].is-on .pnl__price, [data-m-panel].is-on .pnl__price small { color: #fff; }

/* Redizaina makets: galvene uz gaišas joslas, lai nesaplūst ar foto */
.dzn-top { position: relative; z-index: 1; background: #f6f3ec; color: #171511; box-shadow: 0 1px 0 rgb(23 21 17 / .08); }
.dzn-top span { color: #3d362c; text-shadow: none; }
.dzn-top i { background: #171511; color: #f6f3ec; }
.dzn-bg { object-position: 70% 62%; }

/* Vecās CMS makets (izdomāts): galva ar cilnēm, forma tabulā */
.ba__ui--old { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); background: #fff; font-family: Tahoma, Verdana, sans-serif; color: #222; }
.o-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .7em 1.4em; background: linear-gradient(#4f6f9f, #2f4d7a); color: #fff; font-size: 1.05em; }
.o-head b { font-family: Georgia, "Times New Roman", serif; font-size: 1.35em; font-style: italic; letter-spacing: .01em; }
.o-head b small { font-family: Tahoma, Verdana, sans-serif; font-style: normal; font-size: .55em; opacity: .75; margin-left: .3em; }
.o-head span { font-size: .9em; color: #dbe4f2; } .o-head u { color: #fff; }
.o-tabs { display: flex; gap: .25em; padding: .5em 1.4em 0; background: #dfe5ee; border-bottom: 1px solid #a9b6c8; overflow: hidden; white-space: nowrap; }
.o-tabs span { padding: .45em 1.1em; border: 1px solid #a9b6c8; border-bottom: 0; background: #eef1f6; color: #2f4d7a; font-size: .95em; }
.o-tabs span.on { background: #fff; color: #111; font-weight: 700; margin-bottom: -1px; padding-bottom: calc(.45em + 1px); }
.o-main { padding: 1.1em 1.4em; display: grid; align-content: start; gap: .8em; overflow: hidden; }
.o-crumbs { font-size: .92em; color: #555; } .o-crumbs u { color: #1f4fa8; } .o-crumbs b { color: #111; }
.o-tbl { border: 1px solid #c3ccd8; }
.o-r { display: grid; grid-template-columns: 10em minmax(0, 1fr); align-items: center; }
.o-r:nth-child(even) { background: #f3f5f8; }
.o-r + .o-r { border-top: 1px solid #dde3ea; }
.o-r > span { padding: .45em .8em; color: #333; font-weight: 700; font-size: .92em; border-right: 1px solid #dde3ea; align-self: stretch; display: flex; align-items: center; background: #e9edf3; }
.o-r i { font-style: normal; display: block; margin: .35em .7em; background: #fff; border: 1px solid #9aa6b5; box-shadow: inset 1px 1px 2px rgb(0 0 0 / .12); padding: .25em .5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-r .o-sel { width: 12em; position: relative; padding-right: 1.6em; } .o-r .o-sel::after { content: "\25BE"; position: absolute; right: .4em; color: #444; }
.o-r .o-num { width: 6em; text-align: right; }
.o-r--t > div { display: grid; padding: .35em .7em; } .o-r--t > div i { margin: 0; }
.o-r .o-tb { background: #e4e8ee !important; border-bottom: 0; box-shadow: none; font-size: .9em; color: #333; }
.o-r .o-ta { height: 4.2em; white-space: normal; color: #444; }
.o-file { margin: .35em .7em; display: flex; align-items: center; gap: .6em; color: #555; font-size: .92em; }
.o-file span, .o-save span { border: 1px solid #7d8796; background: linear-gradient(#fafafa, #dcdfe4); padding: .2em .9em; color: #111; border-radius: 2px; }
.o-save { display: flex; align-items: center; gap: .7em; } .o-save small { margin-left: auto; color: #777; font-size: .85em; }
@container (max-width: 640px) {
  .o-head span { display: none; }
  .o-tabs span:nth-child(n+5) { display: none; }
  .o-r { grid-template-columns: 9.4em minmax(0, 1fr); }
  .o-r > span { white-space: nowrap; font-size: .85em; padding: .45em .6em; }
  .o-save small { display: none; }
}
/* hero: tā pati izdomātā CMS mazāk */
.old-tabs { display: flex; gap: 3px; padding: 6px 10px 0; background: #dedede; border-bottom: 1px solid #b5b5b5; font-size: 9.5px; }
.old-tabs span { padding: 3px 8px; border: 1px solid #b5b5b5; border-bottom: 0; background: #ececec; color: #444; }
.old-tabs span.on { background: #fff; font-weight: 700; color: #111; margin-bottom: -1px; }
.old-body { background: #fff; }
.old-row { grid-template-columns: 82px 1fr; }
.old-row span { font-weight: 700; color: #444; }
.old-sel::after { content: " \25BE"; float: right; }
.old-save { display: flex; gap: 6px; margin-top: 6px; } .old-save span { border: 1px solid #888; background: linear-gradient(#fafafa, #dcdcdc); padding: 2px 10px; font-size: 10px; }
