/* =====================================================================
   Intras v3 - avalehe kavand
   Palett drebbu.com-i järgi: jahe paberhall, sügav tumesinine, türkiis, mündipastell.
   Kiri: Nunito Sans (muutuv, 200-1000). Maketid kasutavad --brand värvi (valgemärgistus).
   ===================================================================== */

@font-face {
  font-family: 'Nunito Sans'; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url(../assets/fonts/nunito-sans-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans'; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url(../assets/fonts/nunito-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* IBM Plex Mono (OFL): sildid, kellaajad, numbrid */
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --r: 16px;
  --r-lg: 22px;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --teal-rgb: 1, 123, 128;
  --hi-rgb: 80, 206, 201;
  --bg-rgb: 245, 247, 248;
  --bg: #f5f7f8;
  --white: #fff;
  --ink: #101b24;
  --ink-2: #4f5b65;
  --ink-3: #687077;                                   /* väike hall tekst: vähemalt 4,5:1 valgel, --bg ja --mint taustal */
  --ink-4: #a7afb5;                                   /* ainult jooned, ikoonid ja kaunistused, mitte tekst */
  --line: #e1e5e6;                                    /* ainult kaunistavad jooned ja eraldajad */
  --line-2: #eceff0;
  --line-ui: #7a838b;                                 /* sisestusvälja piirjoon: vähemalt 3:1 valgel ja kõigi teemade heledal taustal */
  --teal: #017b80;
  --teal-d: #00666b;
  --teal-hi: #50cec9;
  --mint: #e8f8f7;
  --mint-2: #cdeeec;
  --navy: #101b24;
  --navy-d: #0b141b;
  --red: #d23b33;
  --amber: #e7a73a;
  --green: #2f9563;
  --brand: #017b80;                                   /* kliendi värv makettides */
  --brand-t: color-mix(in srgb, var(--brand) 12%, #fff);
  --brand-t2: color-mix(in srgb, var(--brand) 22%, #fff);
  --sh-1: 0 1px 2px rgba(16, 27, 36, .06), 0 1px 1px rgba(16, 27, 36, .03);
  --sh-2: 0 1px 2px rgba(16, 27, 36, .05), 0 10px 24px -10px rgba(16, 27, 36, .16);
  --sh-3: 0 1px 2px rgba(16, 27, 36, .05), 0 22px 44px -18px rgba(16, 27, 36, .22), 0 60px 120px -48px rgba(16, 27, 36, .30);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1240px;
  /* külgveeris; viewport-fit=cover: telefon rõhtpaigutuses, sisu ei lähe kaamera väljalõike alla (safe-area). Kõik, mis kasutab
     --gut-i (.wrap, täislaiuses kerimisread), arvestab sellega ise */
  --gut: max(clamp(20px, 4vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --sec: clamp(88px, 10vw, 148px);
  --font: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------------- alus ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16.5px/1.6 var(--font); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }             /* telefoninumber ei murdu kahele reale */
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 850; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
input, button, textarea { font-family: inherit; }
code { font: 700 .92em/1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; background: rgba(var(--teal-rgb), .09); color: var(--teal-d); padding: .2em .45em; border-radius: 6px; }
::selection { background: var(--mint-2); color: var(--ink); }
/* fookusrõngas: --focus annab tumedale pinnale heledama tooni (jalus, IntrasBuildi joonised), vaikimisi teema --teal */
:focus-visible { outline: 2.5px solid var(--focus, var(--teal)); outline-offset: 3px; border-radius: 6px; }
.foot { --focus: var(--teal-hi); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 800; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.nojs-list { display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }

/* ---------------- tüpograafia ---------------- */
.h1 { font-weight: 820; font-size: clamp(44px, 5.7vw, 84px); line-height: .98; letter-spacing: -.04em; }
.h2 { font-weight: 820; font-size: clamp(34px, 4.3vw, 60px); line-height: 1.03; letter-spacing: -.034em; text-wrap: balance; }
.h2 .t, .h1 .t { color: var(--teal); }
.h2 .t { display: block; }
/* suur pealkiri: pikk liitsõna (hambaraviprogrammi, telefonijärjekorrata) murdub 320-360 px telefonil, muidu venitaks see lehte
   laiemaks; sõna murdub ainult siis, kui see üksi reale ei mahu, nii et laiemal ekraanil midagi ei muutu */
.h1, .h2 { overflow-wrap: break-word; }
/* telefonis poolitab brauser ainult pikad liitsõnad (vähemalt 12 tähte, lang="et"); lühemaid sõnu ei poolitata.
   Kus eesti poolitussõnastikku pole, murrab sõna overflow-wrap nagu enne. */
@media (max-width: 400px) { .h1, .h2 { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 5 5; } }
.lead { font-size: clamp(17px, 1.28vw, 19px); line-height: 1.62; color: var(--ink-2); text-wrap: pretty; max-width: 36em; }
.lead a { color: var(--teal); font-weight: 750; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 12.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.eyebrow::before { content: ''; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(var(--teal-rgb), .13); }
/* sektsiooni silt: teema toon 10% tumedamana, et väike kiri jääks vähemalt 4,5:1 ka varjus või toonitud taustal (nt poe kaardi vari telefonis) */
.label { font: 500 12.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal); color: color-mix(in srgb, var(--teal) 90%, #000); margin-bottom: 20px; }
.label b { font-weight: 500; color: var(--ink-3); }
.label--hi b { color: rgba(255, 255, 255, .5); }
/* filmiterake tumedatel pindadel */
.grain { position: relative; }
.grain::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.label--hi { color: var(--teal-hi); }
.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; }
.head { margin-bottom: clamp(40px, 5vw, 64px); }
.head .lead { margin-top: 22px; }
.head--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; }
.head--split .lead { margin: 0 0 6px; }
.head--center { text-align: center; }
.head--center .lead { margin-inline: auto; }

/* ---------------- nupud ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font: 750 15.5px/1 var(--font); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s, transform .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .i-up { transform: translate(2px, -2px); }
.btn:hover .i-arr { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 18px -8px rgba(var(--teal-rgb), .6); }
.btn--teal:hover { background: var(--teal-d); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.btn--ghost:hover { border-color: #c8d0d3; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn--lg { height: 56px; padding: 0 26px; font-size: 16.5px; border-radius: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15.5px; color: var(--ink); text-decoration: none; }
.link-arrow svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateY(2px); }
.link-arrow:hover .i-arr { transform: translateX(3px); }

/* ---------------- ilmumine kerimisel ---------------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0ms); }
.js .rv.is-in { opacity: 1; transform: none; }
/* rida peidab üles tõusva teksti; ülemine täidis jätab ruumi täppidele (Ü, Õ) */
.ln { display: block; overflow: hidden; padding: .16em 0 .07em; margin: -.16em 0 -.07em; }
.js .rv--up { display: inline-block; transform: translateY(132%); opacity: 1; transition: transform 1.1s var(--ease); transition-delay: var(--rd, 0ms); }
.js .rv--up.is-in { transform: none; }

/* =====================================================================
   NAVIGATSIOON
   ===================================================================== */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; }
/* ilma JS-ita (või kui skript ei lae) ei saa menüü kerimisel tausta: siis on riba kogu aeg kinnine, muidu jääks tekst sisu peale */
.nav.is-solid, .no-js .nav { background: rgba(var(--bg-rgb), .84); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 1px 0 rgba(16, 27, 36, .07); }
.nav__in { height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 900 21px/1 var(--font); letter-spacing: -.035em; }
.brand__mark { width: 30px; height: 30px; color: var(--teal); flex: none; }
.brand--light { color: #fff; }
.brand--light .brand__mark { color: var(--teal-hi); }
.nav__links { display: flex; gap: 2px; margin-inline: auto; }
.nav__links a { position: relative; padding: 9px 13px; border-radius: 10px; font: 700 15px/1 var(--font); color: var(--ink); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.nav__links a:hover { background: rgba(16, 27, 36, .05); }
.nav__links a[aria-current] { color: var(--teal); }
.nav__links a[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--teal); }
.nav__cta { display: flex; gap: 10px; }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav.is-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }
.nav__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.nav__bar i { display: block; height: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); }
.mnav { background: var(--bg); border-top: 1px solid var(--line); padding: 8px var(--gut) 24px; display: flex; flex-direction: column; max-height: calc(100svh - 76px); overflow: auto; }
.mnav[hidden] { display: none; }
.mnav > a { padding: 15px 0; border-bottom: 1px solid var(--line); font: 800 20px/1.2 var(--font); letter-spacing: -.02em; text-decoration: none; }
.mnav__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }

/* =====================================================================
   AVAVAADE
   ===================================================================== */
.hero { position: relative; padding: 124px 0 28px; overflow: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 52px; align-items: center; min-height: min(700px, calc(100svh - 150px)); }
.hero__copy { position: relative; z-index: 2; padding: 24px 0 36px; }
.hero__title { margin-top: 24px; }
.hero__lead { margin-top: 26px; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: 14.5px; font-weight: 650; line-height: 1.4; color: var(--ink-3); }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts svg { width: 16px; height: 16px; flex: none; color: var(--teal); }
.hero__note { display: flex; align-items: flex-start; gap: 8px; margin-top: 20px; max-width: 34em; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); font-weight: 600; }
.hero__note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--teal); }

/* lava: päris foto + Intrase kaart + telefon + silt */
.hero__stage { position: relative; height: 630px; }
.ph { position: relative; margin: 0; overflow: hidden; background: #dfe7e8; }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.03); }
.ph::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(16, 27, 36, 0) 55%, rgba(16, 27, 36, .16)); }
/* foto on üleval täiskujus (inimesed jäävad näha), kaart ja telefon ripuvad selle alumise serva peal */
.hero__photo { position: absolute; left: 6%; top: 0; width: 94%; aspect-ratio: 1100 / 720; border-radius: 30px; box-shadow: var(--sh-3); }
.hero__photo img { object-position: 50% 60%; transition: transform 1.2s var(--ease); }
.hcard { position: absolute; z-index: 3; left: 0; top: 47%; width: 50%; max-width: 312px; font-size: clamp(12.5px, 1.05vw, 15px); }
.hcard__in { background: #fff; border-radius: 1.25em; padding: 1.05em 1.15em .65em; box-shadow: 0 0 0 1px rgba(16, 27, 36, .06), var(--sh-3); transition: transform .9s var(--ease); }
.hcard__hi small { display: block; font-size: .78em; font-weight: 700; color: var(--ink-3); }
.hcard__hi b { display: block; margin: .1em 0 .2em; font-size: 1.3em; font-weight: 850; letter-spacing: -.025em; line-height: 1.15; }
.hcard__hi > span { display: block; min-height: 2.7em; font-size: .84em; line-height: 1.35; color: var(--ink-2); }
.hcard h6, .hcard__h { display: flex; justify-content: space-between; align-items: baseline; margin: .75em 0 .15em; padding-top: .8em; border-top: 1px solid var(--line-2); font: 500 .68em/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hcard h6 small, .hcard__h small { font-size: 1em; color: var(--brand); font-variant-numeric: tabular-nums; }

/* jagatud makettide osad (päeva seade, ajakava) */
.win__dots { display: flex; gap: .45em; }
.win__dots i { width: .68em; height: .68em; border-radius: 50%; background: #dfe4e6; }
.rail { position: relative; display: flex; flex-direction: column; align-items: center; gap: .5em; padding: .95em 0; background: #f7f9fa; border-right: 1px solid var(--line-2); }
.rail__logo { width: 2.35em; height: 2.35em; margin-bottom: .35em; display: grid; place-items: center; border-radius: .72em; background: var(--brand); color: #fff; font-weight: 900; font-size: 1.04em; transition: background-color .5s; }
.rail i { position: relative; z-index: 1; width: 2.35em; height: 2.35em; display: grid; place-items: center; border-radius: .7em; color: var(--ink-3); transition: color .35s, background-color .35s; }
.rail i svg { width: 1.3em; height: 1.3em; }
.rail i.on { color: var(--brand); background: var(--brand-t); }
.rail i em { position: absolute; top: .1em; right: .05em; min-width: 1.15em; height: 1.15em; padding: 0 .25em; border-radius: 99px; background: var(--red); color: #fff; font: 800 .62em/1.15em var(--font); font-style: normal; text-align: center; box-shadow: 0 0 0 .18em #f7f9fa; }
.rail__end { margin-top: auto; }
.rail__ind { position: absolute; z-index: 0; left: 50%; top: calc(.95em + 2.35em + .35em + .5em); width: 2.35em; height: 2.35em; margin-left: -1.175em; border-radius: .7em; background: var(--brand-t); transform: translateY(calc(var(--i, 0) * 2.85em)); transition: transform .6s var(--ease), background-color .5s; }
.rail--dev i.on { background: transparent; }
/* avatari valged initsiaalid vähemalt 4,5:1: heledam toon (nt merevaik #cf8a1d) tumedamaks, toon jääb samaks (vanem brauser: värv nagu andmetes) */
.av { display: inline-grid; place-items: center; width: 2em; height: 2em; flex: none; border-radius: 50%; background: var(--c, var(--teal)); background: oklch(from var(--c, var(--teal)) min(l, .55) c h); color: #fff; font: 800 .74em/1 var(--font); font-style: normal; letter-spacing: .01em; }
.avs { display: flex; align-items: center; }
.avs .av { box-shadow: 0 0 0 .16em #fff; margin-right: -.42em; }
.todo li { display: flex; align-items: center; gap: .6em; padding: .55em 0; border-top: 1px solid var(--line-2); font-size: .86em; font-weight: 650; }
.todo li:first-child { border-top: 0; }
.todo li i { position: relative; width: 1.2em; height: 1.2em; flex: none; border-radius: .38em; border: 1.5px solid #c5cdd1; transition: background-color .3s, border-color .3s; }
.todo li i::after { content: ''; position: absolute; left: .34em; top: .12em; width: .3em; height: .58em; border: solid #fff; border-width: 0 .15em .15em 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--ease) .05s; }
.todo li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; transition: color .35s; }
.todo li span::after { content: ''; position: absolute; left: 0; top: 54%; height: 1.5px; width: 0; background: var(--ink-3); transition: width .45s var(--ease); }
.todo li em { font-style: normal; font-size: .82em; font-weight: 800; color: var(--ink-3); padding: .2em .5em; border-radius: .4em; background: #f2f5f6; }
.todo li em.av { padding: 0; width: 1.75em; height: 1.75em; font-size: .78em; background: var(--c); background: oklch(from var(--c) min(l, .55) c h); color: #fff; }
.todo li.is-done i { background: var(--brand); border-color: var(--brand); }
.todo li.is-done i::after { transform: rotate(45deg) scale(1); }
.todo li.is-done span { color: var(--ink-3); }
.todo li.is-done span::after { width: 100%; }

/* --- telefon --- */
.phone { position: absolute; right: 2%; bottom: 0; width: 25%; max-width: 184px; aspect-ratio: 9 / 18.6; container-type: inline-size; z-index: 3; }
.phone__scr {
  position: relative; height: 100%; font-size: calc(100cqi / 190 * 11); border-radius: 2.65em; padding: .5em; overflow: hidden;
  background: #0c151c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 30px 60px -22px rgba(16, 27, 36, .5), 0 12px 24px -12px rgba(16, 27, 36, .35);
}
.phone__scr::before { content: ''; position: absolute; inset: .5em; border-radius: 2.2em; background: radial-gradient(120% 70% at 20% 10%, color-mix(in srgb, var(--brand) 70%, #7fe0da), transparent 60%), linear-gradient(170deg, color-mix(in srgb, var(--brand) 85%, #062026) 0%, #0c2a33 55%, #0a1a21 100%); transition: background .6s; }
.phone__isl { position: absolute; z-index: 2; top: 1.05em; left: 50%; width: 31%; height: 1.45em; margin-left: -15.5%; border-radius: 99px; background: #05090c; }
.phone__lock { position: relative; z-index: 1; margin-top: 3.4em; text-align: center; color: #fff; }
.phone__lock span { display: block; font-size: .92em; font-weight: 650; opacity: .85; }
.phone__lock b { display: block; font-size: 4.3em; font-weight: 320; letter-spacing: -.02em; line-height: 1.02; font-variant-numeric: tabular-nums; }
.push { position: relative; z-index: 1; display: flex; gap: .65em; margin: .6em .55em 0; padding: .7em .75em; border-radius: 1.25em; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); }
.push--1 { margin-top: 2.2em; }
.push__app { flex: none; width: 2.1em; height: 2.1em; border-radius: .6em; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 900; font-size: .95em; transition: background-color .5s; }
.push > div { min-width: 0; }
.push p { display: flex; justify-content: space-between; gap: .4em; font-size: .86em; line-height: 1.3; }
.push p b { font-weight: 850; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.push p small { color: var(--ink-3); font-weight: 650; }
.push > div > span { display: block; font-size: .86em; line-height: 1.35; color: var(--ink-2); font-weight: 600; }

/* --- hõljuv silt --- */
.chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .95); border: 1px solid rgba(16, 27, 36, .07); box-shadow: var(--sh-2); white-space: nowrap; }
.chip__ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--teal); }
.chip__ico svg { width: 17px; height: 17px; }
.chip span small { display: block; font: 500 10.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.chip span b { display: block; font-size: 14px; font-weight: 850; letter-spacing: -.01em; line-height: 1.3; }
.chip--a { right: -2%; top: 7%; }
/* vahelduv kaart: kõik võimalused on samas lahtris, aktiivne libiseb alt sisse ja eelmine üles välja */
.chip--rot .chip__ico { display: grid; overflow: hidden; }
.chip--rot .chip__ico > i, .chip__rot > span { grid-area: 1 / 1; }
.chip--rot .chip__ico > i { display: grid; place-items: center; opacity: 0; transform: translateY(80%) rotate(-30deg); transition: opacity .35s, transform .6s var(--ease); }
.chip--rot .chip__ico > i.is-on { opacity: 1; transform: none; transition-delay: .05s; }
.chip--rot .chip__ico > i.is-out { opacity: 0; transform: translateY(-80%) rotate(30deg); }
.chip__rot { display: grid; overflow: hidden; }
.chip__rot > span { opacity: 0; transform: translateY(60%); transition: opacity .35s, transform .6s var(--ease); }
.chip__rot > span.is-on { opacity: 1; transform: none; transition-delay: .08s; }
.chip__rot > span.is-out { opacity: 0; transform: translateY(-60%); }

/* sisenemine (JS lisab .is-in, ilma JS-ita on kõik kohe paigas) */
.js .hero__stage .hero__photo, .js .hero__stage .hcard, .js .hero__stage .phone, .js .hero__stage .chip { opacity: 0; }
.js .hero__stage.is-in .hero__photo { animation: photoIn 1.4s var(--ease) .1s both; }
.js .hero__stage.is-in .hcard { animation: cardIn 1.1s var(--ease) .55s both; }
.js .hero__stage.is-in .phone { animation: phoneIn 1.2s var(--ease) .75s both; }
.js .hero__stage.is-in .chip--a { animation: chipIn .8s var(--ease) 1.35s both; }
.js .hero__stage.is-in .push { animation: pushIn .7s var(--ease) both; }
.js .hero__stage.is-in .push--1 { animation-delay: 2.2s; }
.js .hero__stage.is-in .push--2 { animation-delay: 1.5s; }
@keyframes photoIn { from { opacity: 0; clip-path: inset(8% 6% 8% 6% round 30px); transform: scale(1.02); } to { opacity: 1; clip-path: inset(0 round 30px); transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(36px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes pushIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
.hero__stage .phone__scr { transition: transform .9s var(--ease); }
/* „Peata animatsioonid“ (#motionToggle, WCAG 2.2.2): ümar nupp foto paremas servas vahelduva kaardi all. js/v3.js lülitab html.is-still */
.hero__pause { position: absolute; z-index: 5; right: 14px; top: calc(7% + 68px); width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(8, 19, 26, .5); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s; }
.hero__pause[hidden] { display: none; }
.hero__pause:hover { background: rgba(8, 19, 26, .72); }
/* fookus fotol: teal rõngas üksi on foto keskmistel toonidel alla 3:1 (WCAG 1.4.11), valge vöö (vari rõnga all) jääb mõlemale poole */
.hero__pause:focus-visible { box-shadow: 0 0 0 7.5px #fff; }
.hero__pause svg { width: 15px; height: 15px; }
.hero__pause .i-play, .hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.js .hero__stage .hero__pause { opacity: 0; }
.js .hero__stage.is-in .hero__pause { animation: chipIn .8s var(--ease) 1.5s both; }

/* --- päeva rida avavaate all --- */

/* =====================================================================
   01 MIDA ASENDAB
   ===================================================================== */
.swap { position: relative; background: var(--navy); color: #fff; padding: var(--sec) 0; margin-top: clamp(72px, 8vw, 112px); overflow: hidden; }
.swap::before { content: ''; position: absolute; right: -10%; bottom: -30%; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(var(--hi-rgb), .13), transparent 70%); pointer-events: none; }
.swap__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 56px; }
.swap__grid .label { grid-column: 1 / -1; }
.swap__words { position: relative; font-size: clamp(38px, 6.4vw, 96px); font-weight: 880; line-height: 1.06; letter-spacing: -.045em; }
.sw { display: inline-block; white-space: nowrap; margin-right: .2em; text-decoration: none; color: #fff; }
.sw__t { position: relative; display: inline-block; transition: color .7s var(--ease); }
/* käsitsi tõmmatud joon: SVG venitatakse sõna laiuseks, joone paksus viewBox ühikutes */
.sw__x { position: absolute; left: -2%; top: 52%; width: 104%; height: .3em; transform: translateY(-50%); overflow: visible; pointer-events: none; }
.sw__x path { fill: none; stroke: var(--teal-hi); stroke-width: 4.6; stroke-linecap: round; stroke-dasharray: 1 3; stroke-dashoffset: 1; transition: stroke-dashoffset .75s var(--ease-io); }
.sw__tag { display: inline-block; vertical-align: .95em; margin-left: .45em; padding: .45em .8em; border-radius: 99px; background: rgba(var(--hi-rgb), .14); color: var(--teal-hi); font-size: max(12px, .15em); font-weight: 850; letter-spacing: .02em; line-height: 1; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease) .35s, transform .6s var(--ease) .35s; }
.sw.is-x .sw__t { color: rgba(255, 255, 255, .35); }   /* läbikriipsutatud sõna: suur tekst ≥ 3:1 */
.sw.is-x .sw__x path { stroke-dashoffset: 0; }
.sw.is-x .sw__tag { opacity: 1; transform: none; }
.sw--fin .sw__t { color: var(--teal-hi); }
.sw__o { position: absolute; left: -8%; top: -14%; width: 116%; height: 130%; overflow: visible; pointer-events: none; }
.sw__x, .sw__o, .final__u svg { max-width: none; }
.sw__o path { fill: none; stroke: var(--teal-hi); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1 3; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-io) .2s; opacity: .9; }
.js .sw--fin .sw__t { opacity: 0; transform: translateY(.18em); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.sw--fin.is-in .sw__t { opacity: 1; transform: none; }
.sw--fin.is-in .sw__o path { stroke-dashoffset: 0; }

/* =====================================================================
   02 ÜKS PÄEV
   ===================================================================== */
.day { position: relative; padding: var(--sec) 0 clamp(40px, 6vw, 96px); --sky: #f5f7f8; background: linear-gradient(180deg, var(--bg) 0, var(--sky) 220px, var(--sky) calc(100% - 220px), var(--bg) 100%); }
.day__head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.day__head .lead { margin-top: 22px; }
.day__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: start; }
.day__steps { position: relative; padding-left: 46px; --p: 0; }
.day__steps::before, .day__steps::after { content: ''; position: absolute; left: 9px; top: 18px; width: 2px; border-radius: 2px; }
.day__steps::before { bottom: 0; background: var(--line); }
.day__steps::after { height: calc((100% - 18px) * var(--p)); background: var(--teal); }
.step { position: relative; min-height: 66vh; padding-bottom: 6vh; scroll-margin-top: 38vh; }
.step:last-child { min-height: 52vh; }
.step::before { content: ''; position: absolute; left: -43px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink-4); transition: border-color .4s, background-color .4s, box-shadow .4s; z-index: 1; }
.step__time { display: block; font-size: clamp(46px, 4.6vw, 66px); font-weight: 280; letter-spacing: -.04em; line-height: 1; color: var(--ink-4); font-variant-numeric: tabular-nums; transition: color .5s; }
.step h3 { margin: 14px 0 12px; font-size: clamp(22px, 1.9vw, 27px); font-weight: 860; letter-spacing: -.025em; line-height: 1.15; transition: color .5s; }
.step > p { font-size: 17px; line-height: 1.62; color: var(--ink-2); max-width: 30em; }
.step .step__mods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.step__mods span { padding: 5px 11px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-size: 12.5px; font-weight: 750; color: var(--ink-2); }
.js .step { opacity: .34; transition: opacity .55s var(--ease); }
.js .step.is-on { opacity: 1; }
.step.is-on::before { border-color: var(--teal); background: var(--teal); box-shadow: 0 0 0 5px rgba(var(--teal-rgb), .14); }
.step.is-on .step__time { color: var(--teal); }

.day__device { position: sticky; top: max(96px, calc(50vh - 270px)); }
.dev { position: relative; width: min(100%, calc((100vh - 140px) * 1.24)); margin-left: auto; aspect-ratio: 1.24; container-type: inline-size; display: flex; flex-direction: column; background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(16, 27, 36, .07), var(--sh-3); }
.dev__bar, .dev__body, .dev__prog { font-size: calc(100cqi / 640 * 13); }
.dev__bar { flex: none; height: 3.1em; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 1.2em; border-bottom: 1px solid var(--line-2); }
.dev__title { font-size: .95em; font-weight: 850; letter-spacing: -.01em; }
.dev__time { justify-self: end; display: inline-flex; align-items: center; gap: .55em; color: var(--ink); }
.dev__sun { width: 2.3em; height: 1.25em; color: var(--ink-3); overflow: visible; }
.dev__sun circle { fill: var(--amber); transition: cx .9s var(--ease), cy .9s var(--ease), fill .9s; }
.clock { display: inline-flex; font-size: 1.02em; font-weight: 850; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.3em; height: 1.3em; }
.clock__d { display: inline-block; height: 1.3em; overflow: hidden; }
.clock__d > span { display: flex; flex-direction: column; transform: translateY(calc(var(--v) * -1.3em)); transition: transform .9s var(--ease); }
.clock__d:nth-child(2) > span { transition-delay: .06s; }
.clock__d:nth-child(4) > span { transition-delay: .12s; }
.clock__d:nth-child(5) > span { transition-delay: .18s; }
.clock__d i { font-style: normal; height: 1.3em; }
.clock__c { padding: 0 .04em; }
.dev__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 4.2em minmax(0, 1fr); }
.dev__screens { position: relative; min-width: 0; overflow: hidden; }
.dev__prog { flex: none; display: flex; gap: .45em; padding: .9em 1.4em 1em 5.6em; border-top: 1px solid var(--line-2); }
.dev__prog button { flex: 1; height: 1.2em; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.dev__prog i { display: block; height: .3em; border-radius: 99px; background: var(--line); overflow: hidden; position: relative; }
.dev__prog i::after { content: ''; position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.dev__prog .done i::after, .dev__prog .on i::after { transform: scaleX(1); }
.dev__prog .on i::after { background: var(--brand); }
.dev__prog .done i::after { background: color-mix(in srgb, var(--brand) 40%, #fff); }

/* ekraanid */
.scr { position: absolute; inset: 0; padding: 1.5em 1.7em; display: flex; flex-direction: column; gap: 1em; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .7s var(--ease); pointer-events: none; }
.scr.is-on { opacity: 1; transform: none; }
.scr.is-up { transform: translateY(-16px); }
.scr.no-tr { transition: none; }
.sx-hello small { display: block; font-size: .8em; font-weight: 700; color: var(--ink-3); }
.sx-hello b { display: block; margin: .15em 0 .2em; font-size: 1.75em; font-weight: 870; letter-spacing: -.03em; line-height: 1.1; }
.sx-hello span { font-size: .92em; color: var(--ink-2); }
.sx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; }
.sx-kpis div { border: 1px solid var(--line); border-radius: .9em; padding: .8em .9em; }
.sx-kpis b { display: block; font-size: 1.9em; font-weight: 880; letter-spacing: -.03em; line-height: 1.05; color: var(--brand); font-variant-numeric: tabular-nums; }
.sx-kpis span { font-size: .78em; font-weight: 700; color: var(--ink-3); }
.sx-kpis .is-warn b { color: var(--red); }
.sx-list { border: 1px solid var(--line); border-radius: .9em; overflow: hidden; }
.sx-list li { display: flex; align-items: center; gap: .7em; padding: .72em .95em; border-top: 1px solid var(--line-2); font-size: .88em; font-weight: 700; }
.sx-list li:first-child { border-top: 0; }
.sx-list li i { width: .55em; height: .55em; border-radius: 50%; background: var(--c); flex: none; }
.sx-list li span { flex: 1; }
.sx-list li em { font-style: normal; font-size: .82em; font-weight: 800; color: var(--ink-3); background: #f2f5f6; padding: .2em .55em; border-radius: .4em; }

.sx-head { display: flex; align-items: center; gap: .8em; }
.sx-head b { font-size: 1.15em; font-weight: 870; letter-spacing: -.02em; }
.sx-pills { display: flex; gap: .3em; margin-left: auto; padding: .22em; border-radius: .7em; background: #f2f5f6; }
.sx-pills i { font-style: normal; padding: .35em .75em; border-radius: .5em; font-size: .76em; font-weight: 800; color: var(--ink-3); }
.sx-pills i.on { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.sx-kan { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8em; }
.sx-col { background: #f5f7f8; border-radius: .9em; padding: .7em; display: flex; flex-direction: column; gap: .55em; }
.sx-col h6, .sx-col__h { display: flex; justify-content: space-between; font-size: .72em; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: .1em .2em .2em; }
.kc { position: relative; background: #fff; border-radius: .7em; padding: .7em .75em; box-shadow: 0 0 0 1px rgba(16, 27, 36, .06), 0 1px 2px rgba(16, 27, 36, .05); }
.kc p { font-size: .84em; font-weight: 750; line-height: 1.3; }
.kc__m { display: flex; align-items: center; justify-content: space-between; margin-top: .55em; }
.kc__m .av { width: 1.7em; height: 1.7em; font-size: .7em; }
.tg { font-size: .7em; font-weight: 850; padding: .25em .55em; border-radius: .4em; background: #eef1f3; color: var(--ink-2); }
.tg--hot { background: #fdecea; color: var(--red); }
.tg--now { background: var(--brand-t); color: var(--brand); }
.tg--ok { background: #e3f4ea; color: var(--green); }
.kc--fly .tg--ok { display: none; }
.kc__bar { height: .28em; border-radius: 99px; background: #edf1f2; margin-top: .6em; overflow: hidden; }
.kc__bar i { display: block; height: 100%; width: 62%; background: var(--brand); border-radius: inherit; }
.kc--slot { height: 4.35em; border: 1.5px dashed #cfd6da; background: transparent; box-shadow: none; }
.kc--done p { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(122, 131, 139, .6); }
.scr.is-play .kc--fly { animation: kcFly 1.5s var(--ease) .9s both; z-index: 3; }
.scr.is-play .kc--fly .kc__bar i { animation: kcBar 1s var(--ease) .1s both; }
.scr.is-play .kc--fly .tg--now { animation: hideAt .01s linear 2.2s both; }
.scr.is-play .kc--fly .tg--ok { display: inline; animation: showAt .4s var(--ease) 2.2s both; }
.scr.is-play .kc--slot { animation: hideAt .01s linear 2.35s both; }
@keyframes kcFly {
  0% { transform: none; box-shadow: 0 0 0 1px rgba(16, 27, 36, .06); }
  25% { transform: translate(0, -4px) rotate(-1.5deg); box-shadow: 0 0 0 1px rgba(16, 27, 36, .06), 0 18px 30px -12px rgba(16, 27, 36, .35); }
  80% { transform: translate(calc(100% + .8em + 1.4em), -4px) rotate(1deg); box-shadow: 0 0 0 1px rgba(16, 27, 36, .06), 0 18px 30px -12px rgba(16, 27, 36, .35); }
  100% { transform: translate(calc(100% + .8em + 1.4em), 0); box-shadow: 0 0 0 1px rgba(16, 27, 36, .06); }
}
@keyframes kcBar { from { width: 40%; } to { width: 100%; } }
@keyframes hideAt { to { opacity: 0; visibility: hidden; } }
@keyframes showAt { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }

.sx-post { border: 1px solid var(--line); border-radius: 1em; padding: 1em 1.1em; display: flex; flex-direction: column; gap: .65em; }
.sx-post__h { display: flex; align-items: center; gap: .65em; }
.sx-post__h .av { width: 2.3em; height: 2.3em; }
.sx-post__h p { display: flex; flex-direction: column; line-height: 1.25; }
.sx-post__h b { font-size: .9em; font-weight: 850; }
.sx-post__h small { font-size: .75em; color: var(--ink-3); font-weight: 650; }
.sx-post > p { font-size: .95em; line-height: 1.5; }
.sx-post mark { background: var(--brand-t); color: var(--brand); font-weight: 800; padding: .05em .3em; border-radius: .35em; }
.sx-post__f { display: flex; gap: 1.1em; font-size: .78em; font-weight: 750; color: var(--ink-3); }
.sx-post__f .like { color: #d6456b; }
.sx-post__seen { margin-left: auto; }
.sx-chat { flex: 1; min-height: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 1em; overflow: hidden; }
.sx-chat__h { display: flex; align-items: center; gap: .65em; padding: .6em .9em; border-bottom: 1px solid var(--line-2); }
.sx-chat__h .av { width: 2.1em; height: 2.1em; }
.sx-chat__h p { display: flex; flex-direction: column; line-height: 1.25; }
.sx-chat__h b { font-size: .86em; font-weight: 850; }
.sx-chat__h small { font-size: .72em; font-weight: 700; color: var(--ink-3); }
.sx-chat__h small::before { content: ''; display: inline-block; width: .5em; height: .5em; margin-right: .35em; border-radius: 50%; background: #3fb57a; vertical-align: .05em; }
.sx-chat__b { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .5em; padding: .8em .9em .9em; background: #fafbfb; }
.sx-chat__b p { max-width: 72%; padding: .65em .9em; border-radius: 1em; font-size: .88em; font-weight: 650; line-height: 1.35; }
.sx-chat__b .day { align-self: center; max-width: none; padding: .2em .7em; font-size: .7em; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.sx-chat .me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: .35em; }
.sx-chat .them { align-self: flex-start; background: #f0f3f4; border-bottom-left-radius: .35em; }
.sx-chat .typing { align-self: flex-start; display: none; gap: .3em; background: #f0f3f4; padding: .8em .95em; }
.sx-chat .typing i { width: .45em; height: .45em; border-radius: 50%; background: var(--ink-4); animation: dot 1s infinite; }
.sx-chat .typing i:nth-child(2) { animation-delay: .15s; }
.sx-chat .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-.25em); opacity: 1; } }
.scr.is-play .sx-chat .me { animation: msgIn .5s var(--ease) .3s both; }
.scr.is-play .sx-chat .typing { display: flex; animation: msgIn .4s var(--ease) .9s both, hideAt .01s linear 2.1s forwards; }
.scr.is-play .sx-chat .them { animation: msgIn .5s var(--ease) 2.15s both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(.6em) scale(.97); } to { opacity: 1; transform: none; } }
.sx-push { position: absolute; top: .9em; right: .9em; display: flex; gap: .6em; align-items: center; padding: .6em .85em .6em .6em; border-radius: 1em; background: rgba(255, 255, 255, .96); box-shadow: 0 0 0 1px rgba(16, 27, 36, .07), 0 16px 30px -14px rgba(16, 27, 36, .35); opacity: 0; transform: translateY(-1em); }
.sx-push p { display: flex; flex-direction: column; line-height: 1.3; }
.sx-push b { font-size: .8em; font-weight: 850; }
.sx-push span { font-size: .74em; color: var(--ink-2); font-weight: 650; }
.sx-push .push__app { font-size: .8em; }
.scr.is-play .sx-push { animation: pushIn .6s var(--ease) 2.9s both; }

.sx-docs { border: 1px solid var(--line); border-radius: .95em; overflow: hidden; }
.sx-docs li { display: flex; align-items: center; gap: .8em; padding: .72em .95em; border-top: 1px solid var(--line-2); }
.sx-docs li:first-child { border-top: 0; }
.sx-docs li > div { flex: 1; min-width: 0; }
.sx-docs b { display: block; font-size: .86em; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-docs small { display: block; font-size: .74em; color: var(--ink-3); font-weight: 650; }
.doc { flex: none; width: 2.5em; height: 2.9em; border-radius: .45em; display: grid; place-items: center; background: #fdecea; color: #c2392f; font-size: .62em; font-weight: 900; letter-spacing: .04em; }
.doc--w { background: #e6effa; color: #2a64b8; }
.doc--l { background: #fdf2dc; color: #a36a0e; }
.doc--a { background: var(--brand-t); color: var(--brand); }
.prog { display: block; height: .28em; margin-top: .4em; border-radius: 99px; background: #edf1f2; overflow: hidden; }
.prog i { display: block; height: 100%; width: 86%; background: var(--brand); border-radius: inherit; }
.scr.is-play .prog i { animation: grow 1.1s var(--ease) .3s both; }
@keyframes grow { from { width: 0; } }
.chip-s { position: relative; display: inline-grid; flex: none; font-size: .7em; font-weight: 850; border-radius: 99px; overflow: hidden; }
.chip-s > span { grid-area: 1 / 1; padding: .3em .7em; text-align: center; }
.chip-s--ok > span { background: #e3f4ea; color: var(--green); }
.chip-s--new > span { background: var(--brand-t); color: var(--brand); }
.chip-s--wait > span:first-child { background: #fdf2dc; color: #a36a0e; }
.chip-s--wait > span:last-child { background: #e3f4ea; color: var(--green); opacity: 0; }
.scr.is-play .chip-s--wait > span:first-child { animation: hideAt .3s linear 3.3s both; }
.scr.is-play .chip-s--wait > span:last-child { animation: showAt .4s var(--ease) 3.3s both; }
.sx-flow { border: 1px solid var(--line); border-radius: .95em; padding: .85em 1em .95em; }
.sx-flow small { display: block; margin-bottom: .7em; font-size: .72em; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sx-flow ol { display: flex; align-items: center; }
.sx-flow li { position: relative; flex: 1; display: flex; align-items: center; gap: .45em; font-size: .8em; font-weight: 800; color: var(--ink-3); }
.sx-flow li::before { content: ''; flex: none; width: 1.3em; height: 1.3em; border-radius: 50%; border: 2px solid #cfd6da; background: #fff; box-sizing: border-box; }
.sx-flow li + li { padding-left: .4em; }
.sx-flow li.ok { color: var(--ink); }
.sx-flow li.ok::before { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.sx-flow li.now { color: var(--brand); }
.sx-flow li.now::before { border-color: var(--brand); box-shadow: 0 0 0 .25em var(--brand-t); }
.scr[data-s="3"].is-play .sx-flow li.now::before { animation: flowOk .5s var(--ease) 3.25s both; }
.scr[data-s="3"].is-play .sx-flow li.now { animation: inkAt .3s linear 3.25s both; }
.scr[data-s="5"].is-play .sx-flow li.now::before { animation: flowOk .5s var(--ease) 1.6s both; }
.scr[data-s="5"].is-play .sx-flow li.now { animation: inkAt .3s linear 1.6s both; }
@keyframes flowOk { to { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; box-shadow: none; } }
@keyframes inkAt { to { color: var(--ink); } }
.sx-sign { display: flex; align-items: center; gap: .8em; padding: .8em .95em; border-radius: .95em; background: var(--ink); color: #fff; opacity: 0; transform: translateY(.8em); }
.sx-sign__ico { width: 2.4em; height: 2.4em; flex: none; display: grid; place-items: center; border-radius: .6em; background: #2b3a46; font-size: .72em; font-weight: 900; letter-spacing: .04em; color: var(--teal-hi); }
.sx-sign > div { flex: 1; }
.sx-sign b { display: block; font-size: .86em; font-weight: 850; }
.sx-sign small { font-size: .75em; color: rgba(255, 255, 255, .65); font-weight: 650; }
.sx-sign strong { color: #fff; letter-spacing: .12em; font-weight: 900; }
.sx-sign__st { position: relative; display: grid; place-items: center end; min-width: 7em; }
.sx-sign__st .spin { grid-area: 1 / 1; width: 1.3em; height: 1.3em; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--teal-hi); animation: spin .8s linear infinite; }
.sx-sign__st em { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .35em; font-style: normal; font-size: .78em; font-weight: 850; color: var(--teal-hi); opacity: 0; }
.sx-sign__st em svg { width: 1.1em; height: 1.1em; }
@keyframes spin { to { transform: rotate(360deg); } }
.scr.is-play .sx-sign { animation: msgIn .6s var(--ease) 1s both; }
.scr.is-play .sx-sign__st .spin { animation: spin .8s linear infinite, hideAt .2s linear 3.2s forwards; }
.scr.is-play .sx-sign__st em { animation: showAt .4s var(--ease) 3.25s both; }

.sx-week { display: grid; grid-template-columns: 4.6em repeat(5, minmax(0, 1fr)); grid-auto-rows: 3.35em; align-items: center; column-gap: .35em; border: 1px solid var(--line); border-radius: .95em; padding: .6em .9em .8em; }
.sx-week > span { font-size: .72em; font-weight: 850; color: var(--ink-3); text-align: center; letter-spacing: .04em; align-self: end; padding-bottom: .4em; }
.sx-week > b { grid-column: 1; font-size: .84em; font-weight: 800; }
.sx-week > i { grid-column: var(--s) / var(--e); grid-row: var(--r); height: 1.8em; border-radius: .55em; background: var(--c); display: flex; align-items: center; padding: 0 .65em; transform-origin: 0 50%; }
.sx-week > i em { font-style: normal; font-size: .7em; font-weight: 850; color: #fff; white-space: nowrap; }
.sx-week > i.off { background: repeating-linear-gradient(-45deg, #eef1f3 0 .45em, #e3e8eb .45em .9em); }
.sx-week > i.off em { color: var(--ink-2); }
.scr.is-play .sx-week > i { animation: barIn .8s var(--ease) both; animation-delay: calc(.25s + var(--d) * .1s); }
@keyframes barIn { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }

.sx-flow--sale li { font-size: .74em; }
.sx-new { animation: none; }
.scr.is-play .sx-new { animation: rowIn .6s var(--ease) 1.75s both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-.4em); background: var(--brand-t); } to { opacity: 1; transform: none; background: transparent; } }
.sx-rev { display: flex; align-items: flex-end; gap: 1.2em; border: 1px solid var(--line); border-radius: .95em; padding: .85em 1em; }
.sx-rev > div:first-child { flex: none; }
.sx-rev small { display: block; font-size: .72em; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sx-rev b { display: block; font-size: 1.55em; font-weight: 880; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.sx-rev span { font-size: .74em; font-weight: 800; color: var(--green); }
.sx-bars { flex: 1; height: 3.3em; display: flex; align-items: flex-end; gap: .4em; }
.sx-bars i { flex: 1; height: var(--h); border-radius: .3em .3em .15em .15em; background: var(--brand-t2); transform-origin: 50% 100%; }
.sx-bars i:last-child { background: var(--brand); }
.scr.is-play .sx-bars i { animation: barUp .7s var(--ease) both; }
.scr.is-play .sx-bars i:nth-child(2) { animation-delay: .05s; } .scr.is-play .sx-bars i:nth-child(3) { animation-delay: .1s; } .scr.is-play .sx-bars i:nth-child(4) { animation-delay: .15s; }
.scr.is-play .sx-bars i:nth-child(5) { animation-delay: .2s; } .scr.is-play .sx-bars i:nth-child(6) { animation-delay: .25s; } .scr.is-play .sx-bars i:nth-child(7) { animation-delay: .3s; }
@keyframes barUp { from { transform: scaleY(0); } }
.sx-done { display: flex; align-items: center; gap: .6em; margin-top: auto; padding: .7em .9em; border-radius: .9em; background: var(--brand-t); color: var(--ink); font-size: .84em; font-weight: 650; opacity: 0; }
.sx-done svg { width: 1.4em; height: 1.4em; flex: none; padding: .2em; border-radius: 50%; background: var(--brand); color: #fff; }
.sx-done b { font-weight: 850; }
.scr.is-play .sx-done { animation: msgIn .6s var(--ease) 2.4s both; }

/* =====================================================================
   OTSING - taustavideo keset lehte
   ===================================================================== */
.film { padding: clamp(24px, 3vw, 44px) 0 clamp(76px, 8vw, 124px); }
/* taustapilt on video poster (home.php, versiooniga aadress): sama pilti siin uuesti ei laeta, kuni see tuleb, on tume põhi */
.film__box { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: end; gap: 32px; min-height: clamp(470px, 44vw, 620px); padding: clamp(28px, 4vw, 56px); border-radius: 30px; background: #0e1a21; color: #fff; box-shadow: var(--sh-3); }
.film__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.film__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 19, 26, .9) 0%, rgba(8, 19, 26, .64) 48%, rgba(8, 19, 26, .26) 100%), linear-gradient(0deg, rgba(8, 19, 26, .55), rgba(8, 19, 26, 0) 55%); }
.film__copy { position: relative; max-width: 31em; }
.film__copy .label { margin-bottom: 16px; }
.film__title { font-size: clamp(32px, 3.6vw, 52px); font-weight: 820; letter-spacing: -.034em; line-height: 1.04; text-wrap: balance; }
.film__title span { display: block; color: var(--teal-hi); }
.film__sub { margin-top: 18px; max-width: 28em; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.6; color: rgba(255, 255, 255, .78); }
.film__search { align-self: center; justify-self: end; width: min(100%, 440px); font-size: 15px; }
.fs__bar { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 12px 0 18px; border-radius: 16px; background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .55); }
.fs__bar svg { width: 20px; height: 20px; flex: none; color: var(--ink-3); }
.fs__q { font-weight: 750; white-space: nowrap; overflow: hidden; }
.fs__caret { flex: none; width: 2px; height: 22px; margin-left: -7px; background: var(--teal); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.fs__bar kbd { margin-left: auto; padding: 4px 7px; border-radius: 7px; border: 1px solid var(--line); background: #fff; font: 500 11.5px/1 var(--mono); color: var(--ink-3); }
.fs__res { margin-top: 8px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .55); }
.fs__res:empty { display: none; }
.fs__res li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line-2); animation: resIn .4s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
.fs__res li:first-child { border-top: 0; }
.fs__res li > i { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); }
.fs__res li > i svg { width: 18px; height: 18px; }
.fs__res li > div { min-width: 0; }
.fs__res b { display: block; font-size: 14.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs__res b mark { padding: 0 2px; border-radius: 3px; background: rgba(var(--teal-rgb), .15); color: inherit; }
.fs__res small { display: block; font: 500 11.5px/1.4 var(--mono); color: var(--ink-3); }
@keyframes resIn { from { opacity: 0; transform: translateY(6px); } }
.film__toggle { position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(8, 19, 26, .45); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s; }
.film__toggle:hover { background: rgba(8, 19, 26, .7); }
.film__toggle svg { width: 16px; height: 16px; }
.film__toggle .i-play { display: none; }
.film__toggle[aria-pressed="true"] .i-play { display: block; }
.film__toggle[aria-pressed="true"] .i-pause { display: none; }

/* =====================================================================
   03 PROJEKTID - ajakava
   ===================================================================== */
.pm { background: var(--white); padding: var(--sec) 0; }
@keyframes beat { 0%, 100% { box-shadow: 0 0 0 4px rgba(var(--teal-rgb), .14); } 50% { box-shadow: 0 0 0 8px rgba(var(--teal-rgb), 0); } }

.gt { container-type: inline-size; position: relative; }
.gt__in { position: relative; overflow: hidden; font-size: calc(100cqi / 1100 * 13.5); background: var(--white); border-radius: 24px; box-shadow: 0 0 0 1px rgba(16, 27, 36, .08), var(--sh-3); }
.gt__top { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1em 1.4em; border-bottom: 1px solid var(--line-2); }
.gt__name { display: flex; align-items: center; gap: .7em; }
.gt__ico { width: 2.3em; height: 2.3em; display: grid; place-items: center; border-radius: .7em; background: var(--brand-t); color: var(--brand); }
.gt__ico svg { width: 1.25em; height: 1.25em; }
.gt__name b { font-size: 1.12em; font-weight: 870; letter-spacing: -.02em; margin-right: .5em; }
.gt__name .av { width: 2em; height: 2em; font-size: .72em; }
.gt__views { display: flex; gap: .2em; padding: .25em; border-radius: .8em; background: #f1f4f5; }
.gt__views button { padding: .55em 1.05em; border: 0; border-radius: .6em; background: none; font-size: .9em; font-weight: 800; color: var(--ink-3); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.gt__views button:hover { color: var(--ink); }
/* valitud vaade: valge taust helehallil on ainult 1,1:1, seega ka brändivärvi rõngas (kõik brändivärvid vähemalt 4,5:1, WCAG 1.4.11) */
.gt__views button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--brand), var(--sh-1); }
.gt__panes { position: relative; min-height: 26em; padding-bottom: 4.4em; }
.gt__pane { display: none; }
.gt__pane.is-on { display: block; animation: paneIn .45s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(6px); } }
.gt__grid { --lw: 13.5em; --rh: 3.3em; --bh: 1.8em; padding-bottom: .6em; }
.gt__head { display: grid; grid-template-columns: var(--lw) 1fr; align-items: end; height: 3.4em; border-bottom: 1px solid var(--line-2); }
.gt__head > span { padding: 0 1.4em .8em; font-size: .74em; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.gt__days { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); height: 100%; }
.gt__days i { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .15em; padding-bottom: .65em; font-style: normal; font-size: .8em; font-weight: 750; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.gt__days i b { font-size: .82em; font-weight: 850; color: var(--ink-3); }
.gt__days i.wk { box-shadow: inset 1px 0 var(--line); }
.gt__rows { position: relative; }
.gt__row { display: grid; grid-template-columns: var(--lw) 1fr; height: var(--rh); border-bottom: 1px solid var(--line-2); }
.gt__lbl { display: flex; align-items: center; gap: .65em; padding: 0 1.4em; font-size: .95em; font-weight: 750; white-space: nowrap; overflow: hidden; }
.gt__lbl .av { width: 1.75em; height: 1.75em; font-size: .72em; }
.gt__lane { position: relative; background-image: linear-gradient(to right, var(--line-2) 1px, transparent 1px); background-size: calc(100% / 12) 100%; }
.gt__b { position: absolute; top: 50%; height: var(--bh); left: calc(var(--s) / 12 * 100% + .22em); width: calc(var(--d) / 12 * 100% - .44em); transform: translateY(-50%); border-radius: .55em; background: color-mix(in srgb, var(--brand) 55%, #fff); transition: left .75s var(--ease), width .75s var(--ease), background-color .4s, box-shadow .5s; transition-delay: var(--dl, 0ms); font-style: normal; }
/* „Tehtud“ heledal ribal: brändi tumedam toon (vähemalt 4,5:1 ka heledama valgemärgistuse värviga) */
.gt__bt { position: absolute; left: .7em; top: 50%; transform: translateY(-50%); font-size: .78em; font-weight: 850; color: var(--brand); color: color-mix(in srgb, var(--brand) 68%, #000); white-space: nowrap; }
.gt__b--done { background: var(--brand-t2); }
.gt__b--doing { background: var(--brand); }
.gt__row[data-k="web"] .gt__b { background: #e2e7ea; }
.gt__b.has-dep::before, .gt__ms.has-dep::before { content: ''; position: absolute; right: 100%; bottom: 50%; width: .6em; height: calc(var(--rh) - var(--bh) / 2); border: solid #9aa5ad; border-width: 0 0 1.5px 1.5px; border-bottom-left-radius: .4em; }
.gt__b.has-dep::after, .gt__ms.has-dep::after { content: ''; position: absolute; left: -.34em; top: 50%; border: .26em solid transparent; border-left: .34em solid #9aa5ad; border-right: 0; transform: translateY(-50%); }
.gt__ms { position: absolute; top: 50%; left: calc(var(--s) / 12 * 100%); width: 1.25em; height: 1.25em; transform: translate(-50%, -50%); transition: left .75s var(--ease); transition-delay: var(--dl, 0ms); font-style: normal; }
.gt__ms.has-dep::before { right: calc(100% - .1em); height: calc(var(--rh) - var(--bh) / 2 - (var(--bh) - 1.25em) / 2); }
.gt__ms.has-dep::after { left: -.4em; }
.gt__ms b { position: absolute; inset: .12em; background: var(--ink); border-radius: .2em; transform: rotate(45deg); }
.gt__ms em { position: absolute; left: calc(100% + .55em); top: 50%; transform: translateY(-50%); font-style: normal; font-size: .78em; font-weight: 850; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gt__late { position: absolute; right: 2.2em; top: 50%; transform: translateY(-50%); font-size: .76em; font-weight: 800; color: #fff; white-space: nowrap; opacity: 0; transition: opacity .4s; }
.gt__b.is-late .gt__late { opacity: .95; }
.gt__b.is-late { background: color-mix(in srgb, var(--brand) 82%, #d23b33); }
.gt__grip { position: absolute; right: 0; top: 50%; width: 1.35em; height: 2.3em; transform: translate(45%, -50%); display: grid; place-items: center; padding: 0; border-radius: .5em; border: 1px solid rgba(16, 27, 36, .14); background: #fff; color: var(--ink-3); box-shadow: 0 2px 6px -2px rgba(16, 27, 36, .25); cursor: ew-resize; touch-action: none; z-index: 2; }
.gt__grip svg { width: 1.05em; height: 1.05em; }
.gt__grip::after { content: ''; position: absolute; inset: -.5em; border-radius: .8em; border: 2px solid var(--brand); opacity: 0; }
.gt:not(.is-touched) .gt__grip::after { animation: ping 2.2s var(--ease) 1.5s infinite; }
@keyframes ping { 0% { opacity: .7; transform: scale(.8); } 70%, 100% { opacity: 0; transform: scale(1.25); } }
.gt__grip:hover, .gt.is-drag .gt__grip { color: var(--ink); border-color: var(--brand); }
.gt__row[data-k="furn"] .gt__lane { cursor: pointer; }   /* klõps päeval muudab tarne kestust (js/v3.js, WCAG 2.5.7) */
.gt.is-drag, .gt.is-drag * { cursor: ew-resize !important; user-select: none; }
.gt.is-drag .gt__b, .gt.is-drag .gt__ms { transition-duration: .35s; }
.gt__delta { position: absolute; right: -.4em; bottom: calc(100% + .55em); padding: .3em .55em; border-radius: .45em; background: var(--ink); color: #fff; font-size: .74em; font-weight: 850; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; pointer-events: none; }
.gt.is-drag .gt__delta:not(:empty) { opacity: 1; transform: none; }
.gt__b.is-moved, .gt__ms.is-moved b { box-shadow: 0 0 0 .22em color-mix(in srgb, var(--brand) 22%, transparent); }
.gt__today { position: absolute; top: -.2em; bottom: 0; z-index: 3; left: calc(var(--lw) + (100% - var(--lw)) * var(--x) / 12); width: 2px; margin-left: -1px; background: #c23b33; pointer-events: none; }
/* „Täna“ silt päise joone all (päises kattis see kuupäeva), valge tekst punasel vähemalt 4,5:1 */
.gt__today em { position: absolute; top: .45em; left: 50%; transform: translateX(-50%); padding: .2em .5em; border-radius: .4em; background: #c23b33; color: #fff; font-style: normal; font-size: .68em; font-weight: 850; letter-spacing: .04em; }
.gt__toast { position: absolute; left: 50%; bottom: 1.2em; z-index: 5; display: flex; align-items: center; gap: .8em; padding: .55em .55em .55em .8em; border-radius: .9em; background: var(--ink); color: #fff; box-shadow: 0 16px 32px -14px rgba(16, 27, 36, .55); font-size: .95em; font-weight: 750; white-space: nowrap; transform: translate(-50%, calc(100% + 2em)); transition: transform .55s var(--ease); }
.gt__toast.is-on { transform: translate(-50%, 0); }
.gt__toast-i { width: 1.9em; height: 1.9em; display: grid; place-items: center; border-radius: .55em; background: rgba(var(--hi-rgb), .15); color: var(--teal-hi); }
.gt__toast-i svg { width: 1.15em; height: 1.15em; }
.gt__toast button { padding: .5em .85em; border: 0; border-radius: .6em; background: rgba(255, 255, 255, .12); color: var(--teal-hi); font-size: .92em; font-weight: 850; cursor: pointer; transition: background-color .2s; }
.gt__toast button:hover, .gt__toast button.is-press { background: rgba(255, 255, 255, .22); }

/* ---- tabel, tulpvaade, kalender: sama andmestik, igas vaates saab ülesannet muuta (js/v3.js „03 TÖÖLAUD“) ---- */
.gt__toast.no-undo button { display: none; }
.gt__toast.no-undo { padding-right: .9em; }
/* vihje vaate kohal: mida siin teha saab */
.gt__hint { display: flex; align-items: center; gap: .65em; padding: .75em 1.4em; border-bottom: 1px solid var(--line-2); background: #fafbfb; font-size: .86em; font-weight: 700; color: var(--ink-2); }
.gt__hint i { flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 .28em var(--brand-t2); }
:where(.gt__pane, .gte) button { font: inherit; color: inherit; }
/* prioriteet (lipp) ja alamülesannete seis: tabelis, kaardil ja ülesande aknas */
.pr { display: inline-flex; align-items: center; gap: .35em; font-size: .86em; font-weight: 800; color: var(--ink-2); white-space: nowrap; }
.pr svg { width: 1.05em; height: 1.05em; flex: none; color: #8b959c; }
.pr--3 { color: #b3261e; }
.pr--3 svg { color: #d23b33; }
.pr--2 svg { color: #c98a14; }
.sub { display: inline-flex; align-items: center; gap: .3em; font-size: .8em; font-weight: 800; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sub svg { width: 1.1em; height: 1.1em; }
.sub.is-all { color: var(--green); }
.st { display: inline-block; padding: .25em .65em; border-radius: 99px; font-size: .8em; font-weight: 850; }
.st--done { background: #e3f4ea; color: #1f7a4d; }
.st--doing { background: var(--brand-t); color: var(--brand); }
.st--todo { background: #eef1f3; color: var(--ink-2); }
.st--late { background: #fdecea; color: #b3261e; }

/* tabel */
.gtt { width: 100%; border-collapse: collapse; font-size: .95em; }
.gtt th { padding: .75em .8em .55em; text-align: left; font-size: .76em; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.gtt th:first-child { padding-left: 1.4em; }
.gtt th button { display: inline-flex; align-items: center; gap: .5em; margin: -.3em -.5em; padding: .3em .5em; border: 0; border-radius: .5em; background: none; letter-spacing: inherit; text-transform: inherit; font-weight: inherit; cursor: pointer; }
.gtt th button:hover { background: #f1f4f5; color: var(--ink); }
.gtt th button i { width: 0; height: 0; border: .32em solid transparent; border-top: .42em solid currentColor; border-bottom: 0; opacity: .35; transition: transform .2s, opacity .2s; }
.gtt th[aria-sort] button { color: var(--brand); }
.gtt th[aria-sort] button i { opacity: 1; }
.gtt th[aria-sort="descending"] button i { transform: rotate(180deg); }
.gtt td { padding: .3em .35em; border-bottom: 1px solid var(--line-2); font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gtt tr:hover td { background: #fafbfb; }
.gtt__n { display: flex; align-items: center; gap: .7em; padding-left: 1.05em; }
.gtt__ck { flex: none; width: 1.55em; height: 1.55em; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1.5px solid #9aa5ad; background: #fff; cursor: pointer; transition: background-color .2s, border-color .2s; }
.gtt__ck svg { width: .95em; height: .95em; color: #fff; opacity: 0; transition: opacity .2s; }
.gtt__ck:hover { border-color: var(--green); }
.gtt__ck:hover svg { color: var(--green); opacity: .7; }
.gtt__ck[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.gtt__ck[aria-pressed="true"] svg { color: #fff; opacity: 1; }
.gtt__name { padding: .45em .5em; margin-left: -.5em; border: 0; border-radius: .5em; background: none; font-weight: 800 !important; cursor: pointer; }
.gtt__name:hover { background: #eef1f3; }
.gtt tr.is-done .gtt__name { color: var(--ink-3); text-decoration: line-through; text-decoration-color: #b4bcc2; }
.gtt__cell { position: relative; display: inline-flex; align-items: center; gap: .5em; min-height: 2.5em; padding: .3em 1.7em .3em .6em; border: 0; border-radius: .55em; background: none; font-weight: inherit; cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.gtt__cell::after { content: ''; position: absolute; right: .65em; top: 50%; width: .4em; height: .4em; margin-top: -.3em; border: solid var(--ink-3); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: 0; transition: opacity .15s; }
.gtt__cell:hover, .gtt__cell:focus-visible { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); }
.gtt__cell:hover::after, .gtt__cell:focus-visible::after { opacity: 1; }
.gtt td .av { width: 1.8em; height: 1.8em; font-size: .72em; }
.gtt .shift { color: var(--brand); font-weight: 850; }
.gtt .shift small { margin-left: .4em; padding: .15em .4em; border-radius: .35em; background: var(--brand-t); font-size: .78em; }
.gtt__dep { display: inline-flex; align-items: center; gap: .45em; padding-left: .45em; color: var(--ink-2); font-size: .92em; }
.gtt__dep svg { flex: none; width: 1.1em; height: 1.1em; color: var(--ink-3); }

/* tulpvaade: kaart lohiseb teise tulpa */
.gtk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; padding: 1.1em 1.4em 1.6em; }
.gtk__col { background: #f5f7f8; border-radius: 1em; padding: .8em; display: flex; flex-direction: column; gap: .6em; min-height: 18em; transition: background-color .2s, box-shadow .2s; }
.gtk__h { display: flex; align-items: center; gap: .55em; padding: .2em .3em .3em; font-size: .76em; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.gtk__h small { margin-left: auto; min-width: 1.9em; padding: .2em .5em; border-radius: 99px; background: #fff; font-size: 1em; letter-spacing: 0; text-align: center; color: var(--ink-2); box-shadow: 0 0 0 1px rgba(16, 27, 36, .06); }
.gtk__dot { width: .7em; height: .7em; border-radius: 50%; background: #9aa5ad; }
.gtk__dot--doing { background: var(--brand); }
.gtk__dot--done { background: var(--green); }
.gtk__c { display: block; width: 100%; text-align: left; background: #fff; border: 0; border-radius: .8em; padding: .8em .9em; box-shadow: 0 0 0 1px rgba(16, 27, 36, .06), 0 1px 2px rgba(16, 27, 36, .05); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; transition: box-shadow .2s, transform .2s var(--ease), opacity .2s; }
.gtk__c:hover { box-shadow: 0 0 0 1px rgba(16, 27, 36, .1), 0 8px 18px -8px rgba(16, 27, 36, .25); transform: translateY(-1px); }
.gtk__c b { display: block; margin-top: .5em; font-size: .98em; font-weight: 800; }
.gtk__c.is-done b { color: var(--ink-3); text-decoration: line-through; text-decoration-color: #b4bcc2; }
.gtk__t { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.gtk__dep { display: inline-flex; align-items: center; gap: .3em; min-width: 0; font-size: .78em; font-weight: 750; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtk__dep svg { width: 1.1em; height: 1.1em; flex: none; }
.gtk__m { display: flex; align-items: center; gap: .7em; margin-top: .7em; }
.gtk__m .av { width: 1.8em; height: 1.8em; font-size: .7em; }
.gtk__due { display: inline-flex; align-items: center; gap: .35em; font-size: .8em; font-weight: 800; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gtk__due svg { width: 1.1em; height: 1.1em; color: var(--ink-3); }
.gtk__due.is-late, .gtk__due.is-late svg { color: #b3261e; }
.gtk__m .sub { margin-left: auto; }
.gtk__c.is-src { opacity: .35; }
.gtk__ghost { position: absolute; z-index: 9; margin: 0; pointer-events: none; cursor: grabbing; box-shadow: 0 0 0 1.5px var(--brand), 0 22px 40px -14px rgba(16, 27, 36, .45); transition: none; }
.gtk__drop { display: none; margin-top: auto; padding: .9em; border-radius: .8em; border: 1.5px dashed #b4bcc2; font-size: .82em; font-weight: 800; text-align: center; color: var(--ink-3); }
.gt.is-kdrag .gtk__drop { display: block; }
.gtk__col.is-over { background: var(--brand-t); box-shadow: inset 0 0 0 1.5px var(--brand); }
.gtk__col.is-over .gtk__drop { border-color: var(--brand); color: var(--brand); }
.gt.is-kdrag, .gt.is-kdrag * { cursor: grabbing !important; user-select: none; }

/* kalender: ülesanne lohiseb teisele päevale */
.gtc { padding: .9em 1.4em 1.6em; }
.gtc__h, .gtc__w { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gtc__h span { padding: .2em .5em .6em; font-size: .76em; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.gtc__w { position: relative; grid-auto-rows: 2.05em; row-gap: .3em; min-height: 6.8em; padding: 2.1em 0 .6em; border-top: 1px solid var(--line-2); background-image: linear-gradient(to right, var(--line-2) 1px, transparent 1px); background-size: 20% 100%; }
.gtc__d { position: absolute; top: .5em; display: flex; align-items: center; gap: .5em; font-size: .78em; font-weight: 800; color: var(--ink-3); font-variant-numeric: tabular-nums; transform: translateX(.6em); }
.gtc__d.is-today { color: #b3261e; }
.gtc__d em { padding: .15em .45em; border-radius: .4em; background: #c23b33; color: #fff; font-style: normal; font-size: .86em; letter-spacing: .04em; }
.gtc__p { min-width: 0; margin: 0 .3em; padding: 0 .7em 0 .3em; border: 0; border-radius: .55em; display: flex; align-items: center; gap: .45em; font-size: .8em; font-weight: 800; text-align: left; color: #fff !important; background: color-mix(in srgb, var(--brand) 60%, #fff); white-space: nowrap; overflow: hidden; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: box-shadow .2s, filter .2s; }
.gtc__p span { overflow: hidden; text-overflow: ellipsis; }
.gtc__p:not(:has(.gtc__av)) { padding-left: .7em; }
.gtc__p:hover { filter: brightness(.95); box-shadow: 0 4px 10px -4px rgba(16, 27, 36, .35); }
.gtc__av { flex: none; width: 1.75em; height: 1.75em; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); font-style: normal; font-size: .8em; font-weight: 850; }
.gtc__p--done { background: var(--brand-t2); color: var(--brand) !important; }
.gtc__p--doing { background: var(--brand); }
.gtc__p--web { background: #e2e7ea; color: var(--ink-2) !important; }
.gtc__p--ms { background: var(--ink); }
.gtc__p.is-moved { box-shadow: 0 0 0 .2em color-mix(in srgb, var(--brand) 24%, transparent); }
.gtc__p.is-drag { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--brand), 0 12px 22px -8px rgba(16, 27, 36, .45); }
.gt.is-cdrag, .gt.is-cdrag * { cursor: grabbing !important; user-select: none; }

/* ülesande aken: staatus, vastutaja, prioriteet ja tähtaeg ühes kohas (tabeli lahtril ainult üks väli) */
.gte { position: absolute; z-index: 8; width: 23em; padding: 1em 1.1em 1.1em; border-radius: 1em; background: #fff; box-shadow: 0 0 0 1px rgba(16, 27, 36, .1), 0 26px 50px -18px rgba(16, 27, 36, .45); animation: paneIn .22s var(--ease); }
.gte[hidden] { display: none; }
.gte--one { width: 17em; }
.gte button { cursor: pointer; }
.gte__h { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.gte__h b { font-size: 1.06em; font-weight: 870; letter-spacing: -.01em; }
.gte__x { flex: none; width: 2em; height: 2em; display: grid; place-items: center; padding: 0; border: 0; border-radius: .55em; background: #f1f4f5; color: var(--ink-2); }
.gte__x:hover { background: #e4e9ec; }
.gte__x svg { width: 1.05em; height: 1.05em; }
.gte__l { margin: 1em 0 .45em; font-size: .7em; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.gte__seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35em; }
.gte__seg button, .gte__who button { min-height: 2.5em; border: 1px solid var(--line-ui); border-radius: .6em; background: #fff; font-size: .88em; font-weight: 800; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.gte__seg button { padding: .3em .4em; display: grid; place-items: center; }
.gte__seg .pr { font-size: 1em; }
.gte__who { display: flex; flex-wrap: wrap; gap: .35em; }
.gte__who button { display: inline-flex; align-items: center; gap: .45em; padding: .25em .8em .25em .3em; border-radius: 99px; }
.gte__who .av { width: 1.9em; height: 1.9em; font-size: .7em; }
.gte__seg button:hover, .gte__who button:hover { border-color: var(--ink-2); }
.gte [aria-pressed="true"] { border-color: var(--brand); background: var(--brand-t); box-shadow: inset 0 0 0 1px var(--brand); }
.gte__due { display: flex; align-items: center; gap: .5em; }
.gte__due button { flex: none; width: 2.5em; height: 2.5em; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-ui); border-radius: .6em; background: #fff; }
.gte__due button:hover { border-color: var(--brand); color: var(--brand); }
.gte__due button svg { width: 1.1em; height: 1.1em; }
.gte__due b { flex: 1; text-align: center; font-size: 1.02em; font-weight: 850; font-variant-numeric: tabular-nums; }
.gte__note { display: flex; align-items: flex-start; gap: .45em; margin-top: .6em; font-size: .82em; font-weight: 700; line-height: 1.4; color: var(--ink-2); }
.gte__note svg { flex: none; width: 1.15em; height: 1.15em; margin-top: .1em; color: var(--ink-3); }

.pm__feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; margin-top: clamp(48px, 6vw, 72px); }
.pm__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--mint); color: var(--teal); margin-bottom: 18px; }
.pm__ico svg { width: 22px; height: 22px; }
.pm__feats b { display: block; font-size: 18px; font-weight: 850; letter-spacing: -.015em; margin-bottom: 8px; }
.pm__feats p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.pm__planner { display: flex; align-items: flex-start; gap: 18px; margin-top: 48px; padding: 22px 26px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.pm__pl-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; }
.pm__pl-ico svg { width: 17px; height: 17px; }
.pm__planner p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.pm__planner b { color: var(--ink); font-weight: 850; }

/* =====================================================================
   04 VALDKONNAD
   ===================================================================== */
.ind { padding: var(--sec) 0; }
.ind__box { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: start; }
.ind__tabs { display: flex; flex-direction: column; gap: 4px; }
.ind__tab { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 11px 14px 11px 11px; border: 1px solid transparent; border-radius: 16px; background: none; text-align: left; cursor: pointer; transition: background-color .25s, border-color .25s, box-shadow .25s; }
.ind__tab:hover { background: rgba(255, 255, 255, .7); }
.ind__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); transition: background-color .25s, color .25s, border-color .25s; }
.ind__ico svg { width: 21px; height: 21px; }
.ind__tab b { display: block; font-size: 15.5px; font-weight: 850; letter-spacing: -.01em; line-height: 1.25; }
.ind__tab small { display: block; font-size: 13px; color: var(--ink-3); font-weight: 600; line-height: 1.35; margin-top: 2px; }
.ind__tab[aria-selected="true"] { background: var(--white); border-color: var(--line); box-shadow: var(--sh-2); }
.ind__tab[aria-selected="true"] .ind__ico { background: var(--teal); border-color: var(--teal); color: #fff; }
.ind__panel { background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--sh-2); padding: 14px; min-height: 100%; }
.ind__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 2.6vw, 34px); align-items: stretch; animation: paneIn .45s var(--ease); }
/* foto + Intrase teade fotol */
.ind__photo { min-height: 420px; border-radius: 18px; align-self: stretch; }
.ind__photo img { position: absolute; inset: 0; }
.ind__note { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 28px); padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .96); box-shadow: 0 16px 30px -14px rgba(16, 27, 36, .45); animation: chipIn .6s var(--ease) .25s both; }
.ind__note--tl { left: 14px; top: 14px; }
.ind__note--tr { right: 14px; top: 14px; }
.ind__note--ml { left: 14px; top: 38%; }
.ind__note--bl { left: 14px; bottom: 14px; }
.ind__note > i { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--teal); }
.ind__note > i svg { width: 16px; height: 16px; }
.ind__note b { display: block; font-size: 13.5px; font-weight: 850; line-height: 1.25; }
.ind__note small { display: block; margin-top: 2px; font: 500 11px/1.35 var(--mono); color: var(--ink-3); }
/* ehitaja tahvelarvuti ekraan: Intrase vaade päris ekraani peal */
/* asukoha ja suuruse arvutab JS foto kärpe järgi (vt placeScreen), siin ainult välimus */
.ind__note--screen { max-width: none; padding: 0; gap: 0; border-radius: 2px; background: #fff; box-shadow: none; transform-origin: 50% 50%; overflow: hidden; display: block; animation: fadeIn .9s var(--ease) .3s both; }
.scrn__bar { display: flex; align-items: center; gap: .6em; padding: .7em .9em; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.05em; }
.scrn__bar i { width: 1.6em; height: 1.6em; display: grid; place-items: center; border-radius: .4em; background: rgba(255, 255, 255, .22); font-style: normal; font-weight: 900; font-size: .85em; }
.scrn li { display: flex; align-items: center; gap: .6em; padding: .55em .9em; border-top: 1px solid var(--line-2); font-weight: 700; }
.scrn li:first-child { border-top: 0; }
.scrn li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scrn li .doc { flex: none; }
.scrn li em { font-style: normal; font-size: .82em; font-weight: 800; padding: .2em .55em; border-radius: 99px; background: #e3f4ea; color: var(--green); white-space: nowrap; }
@keyframes fadeIn { from { opacity: 0; } }
.ind__body { container: indbody / inline-size; display: flex; flex-direction: column; padding: clamp(10px, 1.6vw, 22px) clamp(8px, 1.4vw, 18px) clamp(8px, 1.2vw, 14px) 0; }
.ind__kick { font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.ind__in h3 { margin-top: 12px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 830; letter-spacing: -.033em; line-height: 1.08; }
.ind__who { margin-top: 6px; font-size: 15px; color: var(--ink-3); font-weight: 650; }
.ind__desc { margin-top: 14px; font-size: 16px; line-height: 1.62; color: var(--ink-2); max-width: 44em; }
.ind__stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 22px 0 22px; }
.ind__stack li { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 13px; background: var(--bg); animation: chipIn .5s var(--ease) both; animation-delay: calc(var(--d) * 40ms); }
.mi { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--mc) 13%, #fff); color: var(--mc); }
.mi svg { width: 18px; height: 18px; }
.ind__stack b { display: block; font-size: 14px; font-weight: 800; line-height: 1.25; }
.ind__stack small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 650; }
.ind__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.ind__foot p { flex: 1 1 240px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ind__foot b { color: var(--ink); }
/* kliinikute alamlehed: kaart alambrändi enda värvis (sama mis alamlehel) */
.ind__subs { margin-top: 20px; }
.ind__subs > p { margin-bottom: 10px; font: 500 11.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ind__subs > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ind__subs--one > div { grid-template-columns: minmax(0, 1fr); }
.subl { --sc: #2559d6; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px 12px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); text-decoration: none; transition: border-color .25s, box-shadow .3s, transform .35s var(--ease); animation: chipIn .5s var(--ease) backwards; animation-delay: calc(120ms + var(--d) * 60ms); }
.subl--care { --sc: #3f7559; }
.subl--autivo { --sc: #c2410c; }
.subl--build { --sc: #1b1c1e; }
.subl--estate { --sc: #a8432c; }
.subl--tech { --sc: #24506b; }
.subl--aero { --sc: #b5166f; }
.subl--dine { --sc: #7a1b38; }
.subl:hover { border-color: var(--sc); box-shadow: var(--sh-2); transform: translateY(-2px); }
.subl__ico { width: 42px; height: 42px; flex: none; display: grid; transition: transform .45s var(--ease); }
.subl:hover .subl__ico { transform: rotate(-6deg) scale(1.04); }
.subl__ico svg { width: 100%; height: 100%; }
.subl--build b em { background: linear-gradient(transparent 58%, #f2b705 58%, #f2b705 92%, transparent 92%); }

/* ---------------- valdkondlikud lahendused: riiul kohe avavaate all ----------------
   Üks hele kaart, neli lahendust jaotusjoontega. Hiire all tuleb lahenduse toon, muster ja ülaserva joon tootevärvis. */
.fam { position: relative; z-index: 2; margin-top: clamp(30px, 4vw, 56px); }
.fam__in { padding: 6px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 1px 2px rgba(16, 27, 36, .04), 0 24px 48px -32px rgba(16, 27, 36, .28); }
.fam__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 18px; padding: 14px 18px 12px; border-bottom: 1px solid var(--line-2); }
.fam__h span { font: 500 12.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.fam__h small { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.fam__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 6px; }   /* kaheksa lahendust neli kaupa, erilahendus omaette ribana all */
.fam__list li { position: relative; }
.fam__list li + li::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--line-2); transition: opacity .3s; }
.fam__list li:hover::before, .fam__list li:hover + li::before { opacity: 0; }
.fam__list li:nth-child(4n+1)::before { display: none; }
.fam__list li:nth-child(n+5) { border-top: 1px solid var(--line-2); }
.fam__a { position: relative; isolation: isolate; height: 100%; display: flex; flex-direction: column; padding: 18px 20px 20px; overflow: hidden; border-radius: 20px; color: var(--ink); text-decoration: none; transition: background-color .35s; }
.fam__a::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: 0; -webkit-mask-image: linear-gradient(105deg, transparent 35%, #000 90%); mask-image: linear-gradient(105deg, transparent 35%, #000 90%); transition: opacity .45s; }
.fam__a::after { content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--pa); transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s var(--ease); }
.fam__a--dent::before { background: radial-gradient(rgba(37, 89, 214, .2) 1px, transparent 1.4px) 0 0 / 13px 13px; }
.fam__a--care::before { background: repeating-radial-gradient(circle at 100% 100%, rgba(63, 117, 89, .16) 0 1px, transparent 1px 15px); }
.fam__a--autivo::before { background: repeating-linear-gradient(55deg, rgba(255, 106, 31, .13) 0 5px, transparent 5px 14px), repeating-linear-gradient(-55deg, rgba(255, 106, 31, .08) 0 5px, transparent 5px 14px); }
.fam__a--build::before { background: linear-gradient(rgba(27, 28, 30, .07) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(90deg, rgba(27, 28, 30, .07) 1px, transparent 1px) 0 0 / 16px 16px; }
.fam__a:hover, .fam__a:focus-visible { background: var(--tint); }
/* erilahenduse kaart: täidab neljanda veeru tühja koha, kitsamal ekraanil peidus */
.fam__a--own { --pa: var(--teal); --pt: var(--teal); --tint: rgba(var(--teal-rgb), .06); }
.fam__a--own::before { background: repeating-linear-gradient(135deg, rgba(var(--teal-rgb), .07) 0 1px, transparent 1px 10px); }
.fam__plus { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border: 1.5px dashed rgba(var(--teal-rgb), .55); border-radius: 12px; color: var(--teal); transition: transform .55s var(--ease), background-color .3s; }
.fam__plus svg { width: 20px; height: 20px; }
.fam__a--own:hover .fam__plus { transform: rotate(90deg); background: var(--white); }
/* erilahendus: madal riba kogu kaardi laiuses (märk, nimi, selgitus, nool) */
.fam__own { grid-column: 1 / -1; }
.fam__own .fam__a { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 14px 20px; }
.fam__own .fam__top { display: contents; }
.fam__own .fam__plus { width: 38px; height: 38px; border-radius: 10px; }
.fam__own .fam__w, .fam__own .fam__t, .fam__own .fam__d { margin-top: 0; }
.fam__own .fam__w { font-size: 18.5px; white-space: nowrap; }
.fam__own .fam__t { white-space: nowrap; }
.fam__own .fam__d { flex: 1; min-width: 16em; }
.fam__own .fam__go { order: 9; margin-left: auto; }
.fam__a:hover::before, .fam__a:focus-visible::before { opacity: 1; }
.fam__a:hover::after, .fam__a:focus-visible::after { transform: none; }
.fam__top { display: flex; justify-content: space-between; align-items: flex-start; }
.fam__mark { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 8px 14px rgba(16, 27, 36, .16)); transition: transform .55s var(--ease); }
.fam__a:hover .fam__mark { transform: rotate(-8deg) scale(1.05); }
.fam__go { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink-3); transition: background-color .3s, border-color .3s, color .3s, transform .45s var(--ease); }
.fam__go .i-up { width: 14px; height: 14px; }
.fam__a:hover .fam__go { border-color: var(--pa); background: var(--pa); color: #fff; transform: rotate(45deg); }
.fam__a--estate::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='16'%3E%3Crect x='5' y='4' width='8' height='9' rx='1' fill='%23a8432c' fill-opacity='.16'/%3E%3C/svg%3E") 0 0 / 18px 16px; }
.fam__a--tech::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M8 5v6M5 8h6' stroke='%2324506b' stroke-opacity='.34'/%3E%3C/svg%3E") 0 0 / 16px 16px; }
.fam__a--aero::before { background: repeating-radial-gradient(circle at 100% 100%, rgba(181, 22, 111, .14) 0 1px, transparent 1px 13px), linear-gradient(115deg, transparent 48%, rgba(224, 33, 138, .22) 48% 49%, transparent 49%); }
/* IntrasDine: bistroo laudlina ruudustik */
.fam__a--dine::before { background: repeating-linear-gradient(0deg, rgba(122, 27, 56, .09) 0 7px, transparent 7px 14px), repeating-linear-gradient(90deg, rgba(122, 27, 56, .09) 0 7px, transparent 7px 14px); }
.fam__a--autivo:hover .fam__go, .fam__a--build:hover .fam__go { color: var(--ink); }
.fam__w { margin-top: 16px; font-size: 21px; font-weight: 900; letter-spacing: -.032em; line-height: 1.1; }
.fam__w em { font-style: normal; font-weight: 650; color: var(--pt); }
.fam__a--build .fam__w em { background: linear-gradient(transparent 58%, #f2b705 58%, #f2b705 92%, transparent 92%); }
.fam__t { margin-top: 4px; font-size: 13.5px; font-weight: 750; color: var(--ink-2); }
.fam__d { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.price__partner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px; margin-top: 30px; font-size: 15px; line-height: 1.55; color: var(--ink-2); text-align: center; }
.price__partner b { color: var(--ink); }
/* iga lahenduse oma muster ja värvikuma tulevad nähtavale hiire all */
.subl > span:nth-child(2) { min-width: 0; }
.subl b { display: block; font-size: 16px; font-weight: 900; letter-spacing: -.025em; line-height: 1.2; }
.subl b em { font-style: normal; font-weight: 650; color: var(--sc); }
.subl small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 650; line-height: 1.3; color: var(--ink-3); }
.subl .i-arr { width: 16px; height: 16px; flex: none; margin-left: auto; color: var(--ink-4); transition: transform .3s var(--ease), color .2s; }
.subl:hover .i-arr { transform: translateX(3px); color: var(--sc); }
/* kitsas tekstiveerg (väike sülearvuti 1001-1240 px, tahvel): lahenduste kaardid ja moodulid ühes veerus, kahes veerus ei mahuks
   pikad sõnad („Hambakliinikutele“, „Koosolekuprotokollid“) kaardile ära */
@container indbody (max-width: 440px) {
  .ind__subs > div, .ind__stack { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
   05 MOODULID
   ===================================================================== */
.mods { background: var(--white); padding: var(--sec) 0; }
.mods__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.mods__tabs { display: flex; flex-wrap: wrap; gap: 7px; flex: 1 1 600px; }
.mods__tabs button { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 750; color: var(--ink-2); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.mods__tabs button:hover { border-color: #c8d0d3; color: var(--ink); }
.mods__tabs button::after { content: ''; position: absolute; inset: -4px 0; }   /* puutepind 44 px kõrge, välimus sama */
.mods__tabs button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.mods__tabs button small { font-size: 12px; font-weight: 800; color: var(--ink-3); }
.mods__tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mods__tabs button[aria-pressed="true"] small { color: rgba(255, 255, 255, .55); }
.mods__search { display: flex; align-items: center; gap: 9px; width: 280px; height: 46px; padding: 0 14px; border-radius: 13px; border: 1px solid var(--line-ui); background: var(--white); color: var(--ink-3); transition: border-color .2s, box-shadow .2s; }
/* fookus: piirjoon läheb teema tooni ja kahekordseks (hall 1 px -> türkiis 2 px), ümber pehme kuma */
.mods__search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), 0 0 0 5px rgba(var(--teal-rgb), .12); }
.mods__search svg { width: 18px; height: 18px; flex: none; }
/* otsinguväli vähemalt 16 px: väiksema kirja korral suurendab iOS Safari lehte fookusel */
.mods__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; font-weight: 600; color: var(--ink); }
.mods__stack { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 12px 14px 12px 18px; border-radius: 14px; background: var(--mint); font-size: 15px; color: var(--ink-2); }
.mods__stack[hidden] { display: none; }
.mods__stack b { color: var(--ink); }
.mods__stack button { border: 0; background: var(--white); padding: 8px 14px; border-radius: 10px; font-weight: 800; font-size: 14px; cursor: pointer; box-shadow: var(--sh-1); }
.mods__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 12px; }
.mod { position: relative; display: flex; flex-direction: column; padding: 20px 20px 22px; border-radius: 18px; background: var(--bg); border: 1px solid transparent; text-decoration: none; transition: background-color .25s, border-color .25s, box-shadow .3s, transform .3s var(--ease); animation: chipIn .45s var(--ease) both; animation-delay: calc(var(--d) * 22ms); }
.mod:hover { background: var(--white); border-color: var(--line); box-shadow: var(--sh-2); transform: translateY(-2px); }
.mod__top { display: flex; align-items: center; gap: 12px; }
/* kategooria nimi kategooria toonis, aga 28% tumedam: väike tekst ≥ 4,5:1 ka kõige heledama tooniga (Müük) */
.mod__top small { font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: var(--mc); color: color-mix(in srgb, var(--mc) 72%, #000); }
.mod h3 { margin: 14px 0 6px; font-size: 17px; font-weight: 850; letter-spacing: -.015em; line-height: 1.25; }
.mod p { font-size: 14.2px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mod__go { position: absolute; right: 18px; top: 22px; width: 18px; height: 18px; color: var(--ink-3); opacity: 0; transform: translate(-4px, 4px); transition: opacity .25s, transform .3s var(--ease); }
.mod:hover .mod__go { opacity: 1; transform: none; }
.mods__more { display: flex; justify-content: center; margin-top: 26px; }
.mods__more[hidden], .mods__empty[hidden] { display: none; }
.mods__empty { padding: 28px; text-align: center; color: var(--ink-2); }
.mods__empty a { color: var(--teal); font-weight: 800; }
.mods__all { margin-top: 26px; text-align: center; }

/* =====================================================================
   06 BRÄND
   ===================================================================== */
.brandx { background: var(--mint); padding: var(--sec) 0; overflow: hidden; }
.brandx__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.brandx .lead { margin-top: 22px; }
.kit { margin-top: 30px; max-width: 460px; }
.kit__name span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.kit__name input { width: 100%; height: 58px; padding: 0 18px; border-radius: 15px; border: 1px solid var(--line-ui); background: var(--white); font-size: 21px; font-weight: 850; letter-spacing: -.02em; color: var(--ink); outline: 0; transition: border-color .2s, box-shadow .2s; }
.kit__name input:focus { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), 0 0 0 5px rgba(var(--teal-rgb), .14); }
.kit__sw { display: flex; gap: 10px; margin-top: 16px; }
.kit__sw button { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; background: var(--c); cursor: pointer; box-shadow: 0 0 0 1px var(--line), var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s; }
.kit__sw button:hover { transform: scale(1.08); }
.kit__sw button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink), var(--sh-2); transform: scale(1.06); }
.kit__hint { margin-top: 14px; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.kit__note { margin-top: 30px; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .65); border: 1px solid rgba(16, 27, 36, .07); font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 520px; }
.kit__note b { color: var(--ink); }
.brandx__stage { position: relative; min-height: 540px; display: grid; place-items: center; }
.brandx__stage::before { content: ''; position: absolute; inset: 6% 4%; border-radius: 40px; background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); }
.login { position: relative; width: min(360px, 88%); padding: 34px 32px 28px; border-radius: 26px; background: var(--white); box-shadow: 0 0 0 1px rgba(16, 27, 36, .06), var(--sh-3); display: flex; flex-direction: column; align-items: center; text-align: center; }
.login__mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; background: var(--brand); color: #fff; font-size: 27px; font-weight: 900; transition: background-color .5s; box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--brand) 80%, transparent); }
.login__title { margin-top: 16px; font-size: 21px; font-weight: 870; letter-spacing: -.025em; }
.login__url { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 11px; border-radius: 99px; background: var(--bg); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.login__url svg { width: 13px; height: 13px; }
.login__field { width: 100%; margin-top: 12px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); text-align: left; font-size: 15px; font-weight: 650; color: var(--ink); display: flex; flex-direction: column; }
.login__field:first-of-type { margin-top: 22px; }
.login__field small { font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.login__btn { display: block; width: 100%; margin-top: 16px; padding: 14px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 850; text-decoration: none; transition: background-color .5s, filter .2s; }
.login__btn:hover { filter: brightness(.9); }
.login__or { margin: 14px 0 10px; font-size: 12px; font-weight: 750; color: var(--ink-4); }
.login__alt { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.login__alt i { font-style: normal; padding: 6px 10px; border-radius: 9px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 750; color: var(--ink-2); }
/* telefoni avakuva sisselogimiskaardi taga */
.homescr { position: absolute; z-index: 0; right: 2%; top: 50%; width: 214px; aspect-ratio: 9 / 18.4; padding: 7px; border-radius: 38px; background: #0c151c; box-shadow: 0 30px 60px -24px rgba(16, 27, 36, .5); transform: translateY(-46%) rotate(7deg); }
.login { z-index: 1; margin-right: 20%; }
.homescr__in { height: 100%; border-radius: 32px; padding: 14px 16px; display: flex; flex-direction: column; background: radial-gradient(120% 60% at 80% 0%, color-mix(in srgb, var(--brand) 55%, #9be3dd), transparent 70%), linear-gradient(170deg, #284553, #0e1d26 70%); }
.homescr__time { align-self: flex-start; margin: 2px 0 26px 6px; font-size: 12px; font-weight: 850; color: #fff; font-variant-numeric: tabular-nums; }
.homescr__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 12px; }
.homescr__grid > i { aspect-ratio: 1; border-radius: 10px; background: color-mix(in srgb, var(--c) 70%, #fff); opacity: .9; }
.homescr__app { position: relative; display: flex; flex-direction: column; align-items: center; }
.homescr__app b { width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 900; font-size: 16px; transition: background-color .5s; box-shadow: 0 0 0 2.5px #fff, 0 6px 14px -4px rgba(0, 0, 0, .5); }
.homescr__app small { position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); max-width: 70px; font-size: 8.5px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.homescr__dock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: auto; padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, .16); }
.homescr__dock i { aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, .55); }

/* =====================================================================
   07 TURVALISUS
   ===================================================================== */
.trust { background: var(--navy); color: #fff; padding: var(--sec) 0; position: relative; overflow: hidden; }
.trust::before { content: ''; position: absolute; left: -15%; top: -20%; width: 60%; height: 70%; background: radial-gradient(closest-side, rgba(var(--hi-rgb), .1), transparent 70%); pointer-events: none; }
.trust .h2 { color: #fff; }
.trust .h2 .t { color: var(--teal-hi); }
.trust .lead { color: rgba(255, 255, 255, .66); }
.trust__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
.trust__grid li { padding: 26px 0 34px; border-top: 1px solid rgba(255, 255, 255, .11); cursor: default; }
.trust__grid b { display: block; font-size: 18px; font-weight: 850; letter-spacing: -.015em; line-height: 1.3; }
.trust__grid p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .62); }
/* ikoonid: joonistuvad vaatesse jõudes, hiire all või puudutusel (.is-play) näitavad, mida punkt tähendab */
.ti { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(255, 255, 255, .04); color: var(--teal-hi); transition: background-color .3s, border-color .3s, transform .45s var(--ease); }
.ti svg { width: 26px; height: 26px; overflow: visible; }
.ti path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ti g, .ti path { transform-box: view-box; transform-origin: 12px 12px; transition: transform .5s var(--ease), opacity .3s; }
.ti .p { stroke-dasharray: 1; }
.js .ti .p { stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease) calc(.25s + var(--i, 0) * 90ms), transform .5s var(--ease), opacity .3s; }
.js .trust__grid li.is-in .ti .p { stroke-dashoffset: 0; }
.trust__grid li:hover .ti, .trust__grid li.is-play .ti { background: rgba(var(--hi-rgb), .12); border-color: rgba(var(--hi-rgb), .4); transform: translateY(-2px); }
/* iga ettevõte eraldi: majad liiguvad lahku ja vahele tekib piir */
.ti--split .d { opacity: 0; stroke-dasharray: 1.4 2.2; transform: scaleY(.3); }
.trust__grid li:hover .ti--split .a, .trust__grid li.is-play .ti--split .a { transform: translateX(-1.8px); }
.trust__grid li:hover .ti--split .b, .trust__grid li.is-play .ti--split .b { transform: translateX(1.8px); }
.trust__grid li:hover .ti--split .d, .trust__grid li.is-play .ti--split .d { opacity: .85; transform: none; }
/* kaks kihti: pealmine tõuseb ja alumine tuleb nähtavale */
.trust__grid li:hover .ti--layers .t, .trust__grid li.is-play .ti--layers .t { transform: translateY(-3px); }
.trust__grid li:hover .ti--layers .m, .trust__grid li.is-play .ti--layers .m { transform: translateY(1.5px); }
/* pääsuvõti: võti läheb lukku ja keerab */
.ti--key .k2 { transform-origin: 12px 12px; }
.ti--key .o { stroke-width: 2.4; }
.trust__grid li:hover .ti--key .k2, .trust__grid li.is-play .ti--key .k2 { animation: tiKey 1.1s var(--ease) both; }
@keyframes tiKey { 0% { transform: none; } 35% { transform: translateX(2.2px); } 65% { transform: translateX(2.2px) scaleY(.08); } 100% { transform: translateX(2.2px) scaleY(-1); } }
/* kinnitus: linnuke joonistub uuesti */
.trust__grid li:hover .ti--shield .c, .trust__grid li.is-play .ti--shield .c { animation: tiRedraw .8s var(--ease) both; }
@keyframes tiRedraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* krüpteeritud fail: lukk avaneb ja klõpsab kinni */
.trust__grid li:hover .ti--file .k, .trust__grid li.is-play .ti--file .k { animation: tiLock .9s var(--ease) both; }
@keyframes tiLock { 0%, 100% { transform: none; } 35%, 55% { transform: translateY(-2.2px); } }
/* ka meie eest: pupill kaob ja kriips tõmmatakse uuesti üle */
.trust__grid li:hover .ti--eye .e, .trust__grid li.is-play .ti--eye .e { transform: scale(.35); opacity: .5; }
.trust__grid li:hover .ti--eye .x, .trust__grid li.is-play .ti--eye .x { animation: tiRedraw .7s var(--ease) both; }
/* sünkroon: nooled teevad pöörde */
.trust__grid li:hover .ti--sync .r, .trust__grid li.is-play .ti--sync .r { transform: rotate(180deg); transition-duration: .9s; }
/* logi: read kirjutatakse uuesti */
.ti--log .o { stroke-width: 2.6; }
.trust__grid li:hover .ti--log .l1, .trust__grid li.is-play .ti--log .l1 { animation: tiRedraw .5s var(--ease) both; }
.trust__grid li:hover .ti--log .l2, .trust__grid li.is-play .ti--log .l2 { animation: tiRedraw .5s var(--ease) .14s both; }
.trust__grid li:hover .ti--log .l3, .trust__grid li.is-play .ti--log .l3 { animation: tiRedraw .5s var(--ease) .28s both; }
.integ { display: flex; align-items: center; gap: 24px; margin-top: 56px; }
.integ__lbl { flex: none; font-size: 12px; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-hi); }
.integ__view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.integ__track { display: flex; gap: 10px; width: max-content; }
.integ.is-loop .integ__track { animation: marquee 60s linear infinite; }
.integ:hover .integ__track { animation-play-state: paused; }
.integ__track span { padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 750; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
/* ilma liikuva lindita (JS puudub; vähendatud liikumine on all) on kõik liidestused näha mitmel real, mitte poolikult ühel */
.no-js .integ__view { overflow: visible; -webkit-mask-image: none; mask-image: none; }
.no-js .integ__track { flex-wrap: wrap; width: auto; }

/* =====================================================================
   08 AI: KOLM VÕIMALUST
   Ülal liuguv valik (uks kinni, oma AI tööriist, Intrase AI-agent), all andmevoog: töötajad, vahepealne samm ja Intras.
   Vahepealne samm vahetub valikuga, jooned näitavad liikuvate täppidega, kas andmed liiguvad. Paremal faktid.
   Kõik kolm stseeni ja kolm faktiplokki on samas lahtris üksteise peal, nii et vahetamisel kõrgus ei hüppa.
   ===================================================================== */
.aisec { position: relative; padding: var(--sec) 0; overflow: hidden; }
.aisec::before { content: ''; position: absolute; right: -14%; top: 6%; width: 64%; height: 88%; background: radial-gradient(closest-side, rgba(var(--teal-rgb), .1), transparent 72%); pointer-events: none; }
.aix { position: relative; padding: 10px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); box-shadow: var(--sh-3); }
.aix__pick { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 6px; border-radius: 22px; background: var(--bg); }
.aix__knob { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 3); border-radius: 17px; background: var(--white); box-shadow: 0 1px 2px rgba(16, 27, 36, .06), 0 12px 26px -14px rgba(16, 27, 36, .35); transform: translateX(calc(var(--m, 0) * 100%)); transition: transform .55s var(--ease); }
.aix__pick button { position: relative; z-index: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; border-radius: 17px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .25s; }
.aix__pick button:not([aria-checked="true"]):hover { background: rgba(255, 255, 255, .55); }
.aix__ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 13px; background: rgba(16, 27, 36, .06); color: var(--ink-3); transition: background-color .35s, color .35s, transform .5s var(--ease); }
.aix__ic svg { width: 22px; height: 22px; }
.aix__lbl { min-width: 0; }
.aix__lbl b { display: block; font-size: 17px; font-weight: 850; letter-spacing: -.015em; line-height: 1.2; color: var(--ink-2); transition: color .3s; }
.aix__lbl small { display: block; margin-top: 2px; font-size: 13px; font-weight: 650; line-height: 1.3; color: var(--ink-3); }
.aix__pick button:hover .aix__lbl b, .aix__pick button[aria-checked="true"] .aix__lbl b { color: var(--ink); }
.aix__pick button[aria-checked="true"] .aix__ic { background: var(--teal); color: #fff; transform: rotate(-6deg); }
.aix[data-mode="0"] .aix__pick button[aria-checked="true"] .aix__ic { background: var(--ink); }
.aix__body { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr); gap: 10px; margin-top: 10px; }

/* andmevoog */
.aix__stage { position: relative; display: grid; grid-template-columns: auto minmax(28px, .4fr) minmax(172px, 1fr) minmax(28px, .4fr) minmax(240px, 1.75fr); align-items: center; min-height: 380px; padding: 30px 24px; border-radius: 22px; background: radial-gradient(rgba(var(--teal-rgb), .13) 1px, transparent 1.3px) 0 0 / 18px 18px, var(--bg); }
/* kolm sõlme on ühesugused kaardid, jooned ühendavad nende servi */
.an { position: relative; z-index: 1; min-width: 0; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px rgba(16, 27, 36, .06), var(--sh-2); }
.an--who { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 16px 14px 13px; }
.an--who .av { width: 38px; height: 38px; margin-right: -10px; font-size: 14px; box-shadow: 0 0 0 3px var(--white); }
.an--who .av:last-child { margin-right: 0; }
.an--who small { font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.aline { position: relative; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, var(--ink-4) 0 6px, transparent 6px 12px); opacity: .3; transition: opacity .4s; }
.aline em { position: absolute; top: 50%; left: 0; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(var(--teal-rgb), .16); opacity: 0; }
.aix[data-mode="1"] .aline, .aix[data-mode="2"] .aline { opacity: 1; background-image: repeating-linear-gradient(90deg, rgba(var(--teal-rgb), .55) 0 6px, transparent 6px 12px); }
.aix[data-mode="1"] .aline em, .aix[data-mode="2"] .aline em { animation: aiFlow 2.2s linear infinite; }
.aix[data-mode="1"] .aline em + em, .aix[data-mode="2"] .aline em + em { animation-delay: 1.1s; }
@keyframes aiFlow { 0% { left: 0; opacity: 0; } 12%, 88% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }
@keyframes aiFlowV { 0% { top: 0; opacity: 0; } 12%, 88% { opacity: 1; } 100% { top: calc(100% - 9px); opacity: 0; } }

/* vahepealne samm: kolm stseeni samas lahtris. „Uks kinni“ ja „Oma AI tööriist“ on täpselt sama kujuga,
   nii et vahetus paistab ühe liikumisena: samad tööriistad, ainult värav on teine. */
.an--mid { display: grid; place-items: center; padding: 16px 14px; }
.am { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; opacity: 0; transition: opacity .35s; }
.am--door, .am--tools { justify-self: stretch; align-items: stretch; }
.am--fee { transform: translateY(14px) scale(.96); transition: opacity .35s, transform .55s var(--ease); }
.aix[data-mode="0"] .am--door, .aix[data-mode="1"] .am--tools, .aix[data-mode="2"] .am--fee { opacity: 1; transform: none; }
.am__ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: var(--teal); color: #fff; box-shadow: 0 18px 32px -16px rgba(var(--teal-rgb), .75); }
.am__ic svg { width: 28px; height: 28px; }
.am > b { margin-top: 10px; font-size: 16px; font-weight: 850; letter-spacing: -.01em; line-height: 1.2; }
.am > small { font-size: 12.5px; font-weight: 650; line-height: 1.3; color: var(--ink-3); }
.am__tools { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.am__tools s, .am__tools span { padding: 6px 13px 6px 11px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 800; line-height: 1.2; text-align: left; white-space: nowrap; }
.am__tools s::before, .am__tools span::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; vertical-align: 1px; }
.am__tools s { border-style: dashed; border-color: rgba(16, 27, 36, .18); color: var(--ink-4); text-decoration-thickness: 1.5px; }
.am__tools s::before { background: var(--ink-4); opacity: .6; }
.am__tools span { background: var(--bg); color: var(--ink); }
.am__tools span::before { background: var(--teal); box-shadow: 0 0 0 3px rgba(var(--teal-rgb), .16); }
.am__gate { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 9px 13px 9px 10px; border-radius: 13px; background: var(--ink); color: #fff; text-align: left; box-shadow: 0 14px 26px -14px rgba(16, 27, 36, .6); }
.am__gate svg { width: 20px; height: 20px; flex: none; color: var(--teal-hi); }
.am--door .am__gate svg { color: rgba(255, 255, 255, .7); }
.am__gate b { display: block; font-size: 13.5px; font-weight: 850; line-height: 1.2; }
.am__gate small { display: block; font-size: 11.5px; font-weight: 650; line-height: 1.3; color: rgba(255, 255, 255, .62); white-space: nowrap; }

/* Intras: andmed ja see, mida AI näeb */
.an--core { padding: 16px 16px 6px; transition: box-shadow .5s; }
.aix[data-mode="2"] .an--core { box-shadow: 0 0 0 2px rgba(var(--teal-rgb), .45), 0 22px 50px -22px rgba(var(--teal-rgb), .6); }
.core__top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.core__top .brand__mark { width: 34px; height: 34px; color: var(--teal); }
.core__top > span:not(.core__agent) { min-width: 0; }
.core__top b { display: block; font-size: 15.5px; font-weight: 900; line-height: 1.2; }
.core__top small { display: block; font-size: 12px; font-weight: 650; line-height: 1.3; color: var(--ink-3); }
.core__agent { position: absolute; top: -13px; right: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 850; line-height: 1.2; white-space: nowrap; box-shadow: 0 10px 22px -10px rgba(var(--teal-rgb), .9); opacity: 0; transform: translateY(6px) scale(.85); transform-origin: right bottom; transition: opacity .35s, transform .5s var(--ease); }
.core__agent i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: agentPulse 1.6s ease-in-out infinite; }
@keyframes agentPulse { 50% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .3); } }
.aix[data-mode="2"] .core__agent { opacity: 1; transform: none; }
.core__list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; font-weight: 750; line-height: 1.3; }
.core__list li:last-child { border-bottom: 0; }
.core__list li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.core__list em { flex: none; display: inline-grid; padding: 4px 9px; border-radius: 99px; font-size: 11.5px; font-style: normal; font-weight: 850; white-space: nowrap; transition: background-color .3s, color .3s; }
.core__list em i { grid-area: 1 / 1; font-style: normal; text-align: center; transition: opacity .3s; }
.core__list .is-ok em { background: var(--mint); color: var(--teal-d); }
.core__list .is-ok em .n { opacity: 0; }
.aix[data-mode="0"] .core__list .is-ok em { background: rgba(16, 27, 36, .06); color: var(--ink-3); }
.aix[data-mode="0"] .core__list .is-ok em .y { opacity: 0; }
.aix[data-mode="0"] .core__list .is-ok em .n { opacity: 1; }
.core__list .is-lock > span { color: var(--ink-3); }
.core__list .is-lock em { display: inline-flex; align-items: center; gap: 5px; background: rgba(16, 27, 36, .06); color: var(--ink-3); }
.core__list .is-lock em svg { width: 12px; height: 12px; }

/* faktid */
.aix__facts { position: relative; display: grid; padding: 28px 26px 24px; border-radius: 22px; background: var(--navy); color: #fff; }
.aix__f { grid-area: 1 / 1; display: flex; flex-direction: column; visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .5s var(--ease), visibility 0s .3s; }
.aix__f.is-on { visibility: visible; opacity: 1; transform: none; transition: opacity .35s .06s, transform .5s var(--ease) .06s, visibility 0s; }
.no-js .aix__f { grid-area: auto; visibility: visible; opacity: 1; transform: none; }
.no-js .aix__f + .aix__f { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.aix__f h3 { font-size: 23px; font-weight: 870; letter-spacing: -.025em; line-height: 1.2; }
.aix__list { display: grid; gap: 11px; margin: 18px 0 20px; }
.aix__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .84); }
.aix__list svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--teal-hi); }
.aix__fit { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; font-weight: 750; line-height: 1.45; color: var(--teal-hi); }

/* =====================================================================
   09 HINNAD + PARTNERLUS
   ===================================================================== */
.price { padding: var(--sec) 0; }
.calc { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); max-width: 1160px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.calc__main { display: grid; gap: 30px; padding: clamp(24px, 3.2vw, 40px); }
.calc__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc__step[hidden] { display: none; }
.calc__n { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 12px/1 var(--mono); font-style: normal; vertical-align: 2px; }
.calc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.calc__row label, .calc__host legend, .calc__lbl { font-size: 17.5px; font-weight: 850; letter-spacing: -.015em; }
.calc__host legend { padding: 0; margin-bottom: 14px; }
.calc__lbl { margin-bottom: 12px; }
.calc__row output { font-size: 46px; font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--teal); font-variant-numeric: tabular-nums; }
/* liugur klassiga, mitte id-ga: calc_block() (inc/calc.php) annab teisele kalkulaatorile eesliitega id (calc2-calcUsers) */
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 20px 0 10px; border-radius: 99px; background: linear-gradient(to right, var(--teal) var(--fill, 9.4%), #e2e8ea var(--fill, 9.4%)); outline-offset: 8px; cursor: pointer; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); box-shadow: 0 4px 10px -3px rgba(16, 27, 36, .3); transition: transform .2s var(--ease); }
.calc input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); box-shadow: 0 4px 10px -3px rgba(16, 27, 36, .3); }
.calc input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc__scale { position: relative; height: 16px; font: 500 12px/1 var(--mono); color: var(--ink-3); }
.calc__scale span { position: absolute; top: 0; transform: translateX(-50%); }
.calc__scale span:first-child { transform: none; }
.calc__scale span:last-child { transform: translateX(-100%); }
.calc__scale .is-mark { color: var(--teal); }
.calc__scale .is-mark::before { content: ''; position: absolute; left: 50%; top: -12px; width: 1px; height: 8px; background: currentColor; }

.calc__host { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hopt { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 15px 15px 14px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.hopt:hover { border-color: #c4cdd0; }
/* kaart on div: raadionupu silt katab ::after-iga kogu kaardi, ⓘ nupp (.tip, z-index 1) jääb selle peale (inc/calc.php).
   Nähtamatu raadionupp on kogu kaardi suurune, nii et ekraanilugeja fookusraam (ja sihtmärgi mõõt) on kaart, mitte 13 px ruut. */
.hopt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.hopt__l { cursor: pointer; }
.hopt__l::after { content: ''; position: absolute; inset: 0; }
.hopt:has(input:checked) { border-color: var(--teal); background: var(--mint); box-shadow: 0 0 0 3px rgba(var(--teal-rgb), .1); }
.hopt:has(input:focus-visible) { outline: 2.5px solid var(--focus, var(--teal)); outline-offset: 2px; }
.hopt__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.hopt__top b { font-size: 15.5px; font-weight: 850; letter-spacing: -.01em; }
.hopt__rec { position: absolute; top: -10px; right: 12px; display: none; padding: 5px 8px; border-radius: 99px; background: var(--teal); color: #fff; font: 500 10px/1 var(--mono); font-style: normal; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 4px 10px -4px rgba(var(--teal-rgb), .6); }
.hopt.is-rec .hopt__rec { display: inline-block; animation: chipIn .4s var(--ease); }
.hopt__p { font-size: 13px; font-weight: 650; color: var(--ink-3); }
.hopt__p strong { font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hopt__p small { font-size: 12px; }
.hopt__d { font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--ink-2); }
/* ⓘ vihje: .tip on endises suuruses (17 px), nupp .tip__i on 24x24 (WCAG 2.5.8). Mull ilmub hiire all (hover-seadmel), klaviatuuri
   fookusega ja klõpsuga (.is-open); .is-off peidab (Escape). ::before on sild ikooni ja mulli vahel, et hiirega saaks mullile liikuda.
   --tip-dx (js/calc.js) hoiab mulli kalkulaatori kasti sees, nool näitab ikka ikooni. */
.tip { position: relative; z-index: 1; display: inline-block; width: 17px; height: 17px; margin-left: 2px; vertical-align: -4px; color: var(--teal); }
.tip__i { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 24px; height: 24px; margin: -12px 0 0 -12px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: help; }
.tip__i:focus-visible { outline-offset: 1px; }   /* rõngas ei kata eelmise sõna lõppu */
.tip svg { width: 16px; height: 16px; }
.tip__b { position: absolute; z-index: 6; bottom: calc(100% + 9px); left: 50%; width: 220px; max-width: calc(100vw - 40px); padding: 10px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12.5px; line-height: 1.45; font-weight: 600; text-align: left; opacity: 0; pointer-events: none; transform: translate(calc(-50% + var(--tip-dx, 0px)), 4px); transition: opacity .2s, transform .2s; }
.tip__b::before { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.tip__b::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: calc(-6px - var(--tip-dx, 0px)); border: 6px solid transparent; border-top-color: var(--ink); }
@media (hover: hover) { .tip:hover .tip__b { opacity: 1; pointer-events: auto; transform: translate(calc(-50% + var(--tip-dx, 0px)), 0); } }
.tip__i:focus-visible + .tip__b { opacity: 1; pointer-events: auto; transform: translate(calc(-50% + var(--tip-dx, 0px)), 0); }
.tip.is-open .tip__b { opacity: 1; pointer-events: auto; transform: translate(calc(-50% + var(--tip-dx, 0px)), 0); }
.tip.is-off .tip__b { opacity: 0; pointer-events: none; }

.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 13px; background: #f1f4f5; }
.seg button { padding: 9px 16px; border: 0; border-radius: 10px; background: none; font-size: 14px; font-weight: 800; color: var(--ink-3); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button:hover { color: var(--ink); }
/* valitud nupp: teal rõngas nagu valitud makseviisi kaardil (valge taust helehallil üksi on 1,1:1, WCAG 1.4.11) */
.seg button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--teal), var(--sh-1); }
.calc__help { margin-top: 12px; max-width: 46em; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.calc__help b { color: var(--ink); }

.calc__more { border-top: 1px solid var(--line); padding-top: 18px; }
.calc__more summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-size: 15.5px; font-weight: 850; }
.calc__more summary::-webkit-details-marker { display: none; }
.calc__more summary::before { content: '+'; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); font-weight: 700; color: var(--ink-2); transition: transform .3s var(--ease); }
.calc__more[open] summary::before { transform: rotate(45deg); }
.calc__more summary small { font: 500 12px/1 var(--mono); color: var(--ink-3); }
.calc__more summary small.is-on { color: var(--teal); }
.calc__extras { display: grid; gap: 8px; margin-top: 14px; }
.xopt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--line); }
.xopt[hidden] { display: none; }
.xopt > div { min-width: 0; }
.xopt b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.3; }
.xopt small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); font-weight: 600; }
.xopt--chk { cursor: pointer; }
.xopt--chk input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--teal); }
.xopt__p { margin-left: auto; font: 500 13px/1 var(--mono); color: var(--teal-d); white-space: nowrap; }
.xopt--chk:has(input:checked) { border-color: var(--teal); background: var(--mint); }
.qty { display: inline-flex; flex: none; align-items: center; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--white); }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.qty button:hover { background: var(--bg); color: var(--ink); }
.qty output { min-width: 44px; text-align: center; font: 500 13.5px/1 var(--mono); font-variant-numeric: tabular-nums; }

.calc__side { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3.2vw, 40px); background: var(--navy); color: #fff; }
.calc__sum { margin: 0; display: grid; gap: 4px; }
.calc__sum div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.calc__sum dt { font-size: 14.5px; font-weight: 700; color: rgba(255, 255, 255, .62); }
.calc__sum dd { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__sum dd small { font-size: 13px; font-weight: 750; letter-spacing: 0; color: rgba(255, 255, 255, .55); }
.calc__yr dd { font-size: 36px; color: var(--teal-hi); }
.calc__yr { border-bottom: 0 !important; }
.calc__res { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .74); }
.calc__res b { color: #fff; font-weight: 850; }
.calc__side .btn { margin-top: auto; }
.calc__vat { font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .48); }

.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; max-width: 1160px; margin: 40px auto 0; }
/* lisateenused (home.php): dl, rida = silt, hind, märkus; märkus on sildi all ja hind paremal */
.extras__row { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.extras dt { grid-column: 1; grid-row: 1; font-size: 15.5px; font-weight: 850; }
.extras dd { margin: 0; }
.extras__note { grid-column: 1; grid-row: 2; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.extras__note::first-letter { text-transform: uppercase; }
.extras__p { grid-column: 2; grid-row: 1 / span 2; align-self: center; max-width: 13em; font-size: 14.5px; font-weight: 850; color: var(--teal); text-align: right; font-variant-numeric: tabular-nums; }

.partner { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; align-items: center; max-width: 1160px; margin: 48px auto 0; padding: clamp(24px, 3.4vw, 44px); border-radius: 28px; background: var(--mint); border: 1px solid rgba(var(--teal-rgb), .14); }
.partner::before { content: '100%'; position: absolute; right: -12px; bottom: -46px; font: 900 190px/1 var(--font); letter-spacing: -.06em; color: rgba(var(--teal-rgb), .06); pointer-events: none; }
.partner__copy { position: relative; }
.partner .label { margin-bottom: 12px; }
.partner__title { font-size: clamp(28px, 3vw, 40px); font-weight: 820; letter-spacing: -.032em; line-height: 1.08; }
.partner__title span { color: var(--teal); }
.partner__copy > p { margin-top: 14px; max-width: 40em; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.partner__list { display: grid; gap: 8px; margin-top: 18px; }
.partner__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 700; }
.partner__list svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--teal); }
.partner__person { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 22px; background: #fff; box-shadow: var(--sh-2); }
.partner__person figure { position: relative; flex: none; width: 108px; aspect-ratio: 4 / 5; margin: 0; border-radius: 16px; overflow: hidden; background: var(--mint-2); }
.partner__person figure img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.partner__person figure span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; font-weight: 900; color: var(--teal); }
.partner__person > div { min-width: 0; }
.partner__person b { display: block; font-size: 19px; font-weight: 850; letter-spacing: -.02em; }
.partner__person small { display: block; margin: 3px 0 14px; font: 500 12px/1.4 var(--mono); color: var(--ink-3); }
.partner__person .btn { height: 44px; padding: 0 18px; font-size: 14.5px; }
.partner__mail { display: block; margin: 7px 0 -3px; padding-block: 3px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }   /* puutepind vähemalt 24 px, vahed samad */
.partner__mail:hover { color: var(--teal); }

/* =====================================================================
   10 KKK
   ===================================================================== */
.faq { background: var(--white); padding: var(--sec) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head .lead { margin-top: 22px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { position: relative; display: block; padding: 22px 56px 22px 0; font-size: 18.5px; font-weight: 820; letter-spacing: -.012em; line-height: 1.35; cursor: pointer; list-style: none; text-wrap: balance; transition: color .2s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before, .faq__list summary::after { content: ''; position: absolute; right: 13px; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list summary:hover { color: var(--teal); }
.faq__list details[open] summary::after { transform: rotate(0deg); }
.faq__list details > div { padding: 0 56px 24px 0; }
.faq__list details p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.faq__list details[open] > div { animation: paneIn .4s var(--ease); }

/* =====================================================================
   11 KONTAKT
   ===================================================================== */
.team { padding: var(--sec) 0; }
/* viis inimest ja kaks AI-kolleegi (TEAM_AI): neli veergu, teises reas kolm kaarti. Kuuel veerul jääks e-posti aadressile alla 100 px */
.team__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
/* suhtluskeeled: ümmargused lipud foto nurgas, kattuvad nagu avatarid, läikega; hiire all tulevad kõrvale keelte nimed */
.flags { position: absolute; width: 0; height: 0; overflow: hidden; }
.langs { position: absolute; z-index: 2; left: 12px; bottom: 12px; display: flex; align-items: center; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 20px -8px rgba(16, 27, 36, .5), inset 0 0 0 1px rgba(255, 255, 255, .6); }
.lang { position: relative; flex: none; display: block; width: 24px; height: 24px; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 2px 4px rgba(16, 27, 36, .18); }
.lang + .lang { margin-left: -4px; }
.lang svg { display: block; width: 100%; height: 100%; }
.lang::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 46%), linear-gradient(180deg, rgba(255, 255, 255, 0) 52%, rgba(0, 0, 0, .16)); box-shadow: inset 0 0 0 1px rgba(16, 27, 36, .14); }
.lang--txt { display: grid; place-items: center; background: linear-gradient(180deg, #f4f6f8, #d9dfe4); font: 900 8.5px/1 var(--font); letter-spacing: .02em; color: #34404c; }
.langs__t { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 12px; font-weight: 800; color: var(--ink-2); transition: max-width .5s var(--ease), padding .5s var(--ease); }
.person:hover .langs__t { max-width: 220px; padding: 0 9px 0 8px; }
.person__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; margin-bottom: -3px; padding-block: 3px; font-size: 14px; font-weight: 800; color: var(--teal); text-decoration: none; }
.person__more .i-arr { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.person__more:hover .i-arr { transform: translateX(3px); }
.person { display: flex; flex-direction: column; border-radius: 22px; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .35s, transform .35s var(--ease); }
.person:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.person__photo { position: relative; margin: 0; aspect-ratio: 4 / 4.4; background: var(--mint); overflow: hidden; }
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .8s var(--ease); }
.person:hover .person__photo img { transform: scale(1.035); }
.person__ini { position: absolute; inset: 0; display: grid; place-items: center; font-size: 46px; font-weight: 900; letter-spacing: -.03em; color: var(--teal); }
.person__body { padding: 18px 20px 6px; }
.person__role { display: block; font-size: 11.5px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; color: var(--teal); }
.person__name { margin-top: 6px; font-size: 19px; font-weight: 870; letter-spacing: -.02em; }
.person__book { color: inherit; text-decoration: none; }
.person__book:hover, .person__book:focus-visible { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.person__about { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.person__act { display: flex; gap: 8px; margin-top: auto; padding: 14px 20px 20px; }
.person__mail { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 11px; border-radius: 11px; background: var(--bg); font-size: 13.5px; font-weight: 750; text-decoration: none; transition: background-color .2s, color .2s; }
.person__mail:hover { background: var(--mint); color: var(--teal-d); }
.person__mail svg { width: 17px; height: 17px; flex: none; color: var(--ink-3); }
.person__mail span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person__copy { position: relative; flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); cursor: pointer; transition: border-color .2s, color .2s; }
.person__copy:hover { border-color: var(--teal); color: var(--teal); }
.person__copy svg { width: 17px; height: 17px; }
.person__tip { position: absolute; bottom: calc(100% + 8px); right: 0; padding: 6px 9px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; pointer-events: none; }
.person__copy.is-done .person__tip { opacity: 1; transform: none; }
.person__act--note { align-items: center; font-size: 13.5px; font-weight: 700; color: var(--ink-3); }
.person__act--note svg { width: 18px; height: 18px; flex: none; }
/* AI-kolleegid (TEAM_AI): joonistus tumedal taustal nagu Marti kaart */
.person--ai .person__photo { background: #0b0f15; }
.person--ai .person__ini { color: var(--teal-hi); }

/* =====================================================================
   LÕPP
   ===================================================================== */
.final { background: var(--mint); padding: clamp(96px, 11vw, 150px) 0; text-align: center; overflow: hidden; position: relative; }
.final::before { content: ''; position: absolute; left: 50%; top: 100%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; border-radius: 50%; border: 1px solid rgba(var(--teal-rgb), .12); box-shadow: 0 0 0 110px rgba(255, 255, 255, .22), 0 0 0 111px rgba(var(--teal-rgb), .08); pointer-events: none; }
.final__in { position: relative; }
.final__title { margin: 24px auto 0; max-width: 14.5em; font-size: clamp(38px, 5.4vw, 78px); font-weight: 880; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.final__u { position: relative; white-space: nowrap; color: var(--teal); }
.final__u svg { position: absolute; left: -1%; bottom: -.16em; width: 102%; height: .3em; overflow: visible; }
.final__u path { fill: none; stroke: var(--teal); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1 3; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease-io) .7s; }
.final__title.is-in .final__u path, .no-js .final__u path { stroke-dashoffset: 0; }
.final .lead { margin: 26px auto 0; }
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.final__more { position: relative; margin-top: 24px; }

/* =====================================================================
   JALUS
   ===================================================================== */
.foot { background: var(--navy-d); color: rgba(255, 255, 255, .68); padding: 80px 0 30px; font-size: 15px; }
.foot__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; }
.foot__tag { margin-top: 18px; max-width: 26em; line-height: 1.6; }
.foot__contact { display: grid; gap: 10px; margin-top: 26px; }
.foot__contact a, .foot__contact > li > span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: rgba(255, 255, 255, .82); }
.foot__contact a:hover { color: #fff; }
.foot__contact svg { width: 18px; height: 18px; color: var(--teal-hi); flex: none; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot__fam a { display: inline-flex; align-items: center; gap: 9px; }
.foot__mark { width: 18px; height: 18px; flex: none; }
/* telefonis jalust ei näidata: leht lõpeb lõpuplakatiga, selle all on ainult õiguslikud lingid samal taustal */
.mlegal { display: none; }
.foot__cols h2 { margin-bottom: 16px; font-size: 12px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
@media (min-width: 1061px) and (max-width: 1180px) { .foot__cols h2 { letter-spacing: .08em; } }
.foot__cols li { padding: 5px 0; }
.foot__cols a { text-decoration: none; transition: color .2s; }
.foot__cols a:hover { color: #fff; }
.foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.foot__bar nav { display: flex; gap: 22px; }
.foot__bar a { text-decoration: none; }
.foot__bar a:hover { color: #fff; }
.foot__time { display: inline-flex; align-items: center; gap: 9px; font-variant-numeric: tabular-nums; }
.foot__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-hi); box-shadow: 0 0 0 4px rgba(var(--hi-rgb), .16); animation: beat2 2.4s var(--ease) infinite; }
@keyframes beat2 { 50% { box-shadow: 0 0 0 7px rgba(var(--hi-rgb), 0); } }

/* mobiili kleepuv nupp */
.mcta { display: none; }

/* =====================================================================
   KOHANDUMINE
   ===================================================================== */
/* 1001-1279 px: menüü vahed kahanevad koos laiusega (1280 px juures sama mis laiemal ekraanil), nii et pikk ankrumenüü mahub
   ühele reale ja põhinupp jääb veerise sisse */
@media (min-width: 1001px) and (max-width: 1279px) {
  .nav__in { gap: clamp(14px, calc(3.1vw - 16px), 24px); }
  .nav__links a { padding-inline: clamp(6px, calc(2.5vw - 19px), 13px); }
}
/* pikk ankrumenüü (page_head lisab .nav--long, vt nav_weight()): 1001-1120 px jääb „Logi sisse“ ära; see on burger-menüüs
   (kuni 1000 px), telefoni menüüs ja kõigil teistel lehtedel */
@media (min-width: 1001px) and (max-width: 1120px) { .nav--long .nav__cta .btn--ghost { display: none; } }
@media (max-width: 1180px) {
  .nav__links a { font-size: 14.5px; }
  .pm__feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aix__body { grid-template-columns: minmax(0, 1fr); }
  .fam__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fam__list li:nth-child(4n+1)::before { display: block; }
  .fam__list li:nth-child(2n+1)::before { display: none; }
  .fam__list li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .fam__list li:nth-child(n+5) { border-top: 1px solid var(--line-2); }
  .calc__host { grid-template-columns: 1fr; }
  .hopt { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t p" "d p"; column-gap: 16px; row-gap: 3px; align-items: center; }
  .hopt__top { grid-area: t; justify-content: flex-start; }
  .hopt__p { grid-area: p; text-align: right; }
  .hopt__d { grid-area: d; }
}
@media (max-width: 1060px) {
  .hero { padding-top: 112px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 12px; }
  .hero__copy { padding-bottom: 8px; max-width: 680px; }
  .hero__stage { height: auto; aspect-ratio: 1.25; max-width: 760px; width: 100%; margin: 0 auto; }
  .hero__photo { left: 8%; width: 92%; height: 88%; }
  .hcard { top: 46%; width: 40%; }
  .phone { right: 2%; width: 22%; }
  .chip--a { right: 0; top: 5%; }
  .film__box { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .extras { grid-template-columns: minmax(0, 1fr); }
  .film__search { justify-self: start; }
  .foot__main { grid-template-columns: minmax(0, 1fr); gap: 44px; }
}
@media (max-width: 1000px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .head--split { grid-template-columns: 1fr; align-items: start; }
  .head--split .lead { margin: 0; }
  .swap__grid { grid-template-columns: 1fr; }
  .day__grid { grid-template-columns: 1fr; gap: 0; }
  .day__device { order: -1; position: sticky; top: 76px; z-index: 5; padding: 10px 0 14px; margin: 0 calc(-1 * var(--gut)); padding-inline: var(--gut); background: linear-gradient(180deg, var(--sky) 85%, transparent); }
  .dev { width: min(100%, 560px, calc((100svh - 300px) * 1.24)); margin: 0 auto; border-radius: 18px; }
  .day__steps { padding-left: 34px; margin-top: 24px; }
  .day__steps::before, .day__steps::after { left: 5px; }
  .step::before { left: -35px; }
  .step { min-height: 74vh; scroll-margin-top: calc(76px + 50svh); }
  .step:last-child { min-height: 46vh; }
  .ind__box { grid-template-columns: 1fr; }
  .ind__tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 10px; scrollbar-width: none; }
  .ind__tabs::-webkit-scrollbar { display: none; }
  .ind__tab { flex: none; width: 260px; scroll-snap-align: start; background: rgba(255, 255, 255, .6); border-color: var(--line); }
  .brandx__grid { grid-template-columns: 1fr; gap: 24px; }
  .brandx__stage { min-height: 500px; }
  .calc { grid-template-columns: 1fr; }
  .aix__pick button { gap: 10px; padding: 12px; }
  .aix__ic { width: 40px; height: 40px; border-radius: 12px; }
  .aix__lbl b { font-size: 16px; }
  .aix__stage { padding: 26px 18px; }
  .an--who { padding: 14px 12px 12px; }
  .an--who .av { width: 32px; height: 32px; margin-right: -9px; font-size: 12.5px; }
  .partner { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .faq__head { position: static; }
  .team__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__main { grid-template-columns: 1fr; gap: 40px; }
  .mcta { display: block; position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 40; transform: translateY(150%); transition: transform .45s var(--ease); }
  .mcta .btn { width: 100%; height: 54px; border-radius: 15px; box-shadow: 0 14px 30px -10px rgba(var(--teal-rgb), .7); }
  .mcta.is-on { transform: none; }
}
@container (max-width: 760px) {
  .gt__in { font-size: 11.5px; }
  .gt__panes { overflow-x: auto; scrollbar-width: thin; }
  .gt__pane[data-pane="gantt"] .gt__grid, .gtt, .gtk, .gtc { min-width: 780px; }
  .gt__top { flex-wrap: wrap; }
  .gt__toast { font-size: 12px; max-width: calc(100% - 24px); white-space: normal; }
  .gte { font-size: 13.5px; max-width: calc(100% - 16px); }
}
@media (max-width: 760px) {
  .extras { grid-template-columns: minmax(0, 1fr); }
  /* telefonis jooksev tekst vähemalt 15 px (ridade piirang jääb) */
  .extras__note, .mod p { font-size: 15px; }
  .pm__feats { grid-template-columns: 1fr; }
  .ind__in { grid-template-columns: 1fr; }
  .ind__photo { min-height: 0; aspect-ratio: 4 / 5; }
  .ind__body { padding: 6px 6px 4px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__in { height: 66px; }
  .brand { font-size: 19px; }
  .brand__mark { width: 28px; height: 28px; }
  html { scroll-padding-top: 74px; }
  .hero { padding-top: 96px; }
  .hero__title { margin-top: 20px; }
  .hero__lead { margin-top: 20px; }
  .hero__actions { margin-top: 28px; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .hero__stage { aspect-ratio: .9; margin-top: 18px; }
  .hero__photo { left: 0; width: 100%; height: 72%; border-radius: 22px; }
  .hcard { top: auto; bottom: 0; width: 66%; font-size: 12.5px; }
  .phone { right: 0; bottom: -2%; width: 30%; }
  .chip { padding: 8px 12px 8px 8px; gap: 9px; border-radius: 14px; }
  .chip__ico { width: 30px; height: 30px; }
  .chip span b { font-size: 12.5px; }
  .chip span small { font-size: 9.5px; }
  .chip--a { right: 3%; top: 3%; }
  .swap__words { font-size: clamp(34px, 10.4vw, 52px); }
  .sw { display: block; margin-right: 0; }
  .sw__tag { display: block; width: max-content; margin: .1em 0 .55em; font-size: 11px; transform: translateY(-4px); }
  .sw.is-x .sw__tag { transform: none; }
  .step__time { font-size: 40px; }
  /* telefonis kõrgem seade ja suurem kiri: maketi alusmõõt 540 px laius */
  /* seade on nii suur, et selle all jääb vahekaartide ribani vähemalt 300 px etapi tekstile (lühike telefon: väiksem seade) */
  .dev { aspect-ratio: 1.04; width: min(100%, max(190px, calc((100svh - 470px) * 1.04))); }
  .dev__bar, .dev__body, .dev__prog { font-size: calc(100cqi / 540 * 13); }
  .dev__body { grid-template-columns: 3.6em minmax(0, 1fr); }
  .dev__prog { padding-left: 4.9em; }
  .scr { padding: 1.1em 1.2em; gap: .85em; }
  .film__box { padding: 26px 20px 76px; border-radius: 22px; min-height: 0; gap: 24px; }
  .film__search { font-size: 14px; }
  .fs__bar { height: 52px; }
  .fs__bar kbd { display: none; }
  .mods__search { width: 100%; }
  .mods__tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 8px; scrollbar-width: none; flex-basis: 100%; }
  .mods__tabs::-webkit-scrollbar { display: none; }
  .mods__tabs button { flex: none; }
  .mods__grid { grid-template-columns: 1fr; }
  .ind__panel { padding: 10px; }
  .ind__stack { grid-template-columns: 1fr; }
  .ind__subs > div { grid-template-columns: 1fr; }
  .brandx__stage { min-height: 460px; }
  .homescr { width: 150px; padding: 5px; border-radius: 28px; right: -6%; }
  .homescr__in { border-radius: 24px; padding: 10px 11px; }
  .homescr__grid { gap: 11px 8px; }
  .homescr__time { margin-bottom: 16px; }
  .login { margin-right: 14%; padding: 26px 22px 22px; }
  .calc__main { gap: 26px; }
  .calc__row output { font-size: 40px; }
  .seg { display: flex; }
  .seg button { flex: 1; padding: 9px 6px; font-size: 13px; }
  .xopt { flex-wrap: wrap; }
  /* lisateenused: hind kirjelduse all, kirjeldus saab terve rea */
  .extras__row { grid-template-columns: minmax(0, 1fr); }
  .extras__p { grid-column: 1; grid-row: 3; max-width: none; margin-top: 6px; text-align: left; }
  .partner::before { font-size: 120px; bottom: -24px; }
  .partner__person { padding: 14px; gap: 14px; }
  .partner__person figure { width: 88px; }
  .team__list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .person__body { padding: 14px 14px 4px; }
  .person__name { font-size: 16.5px; }
  .person__about { font-size: 13.5px; }
  .person__act { padding: 12px 14px 14px; }
  .person__mail span { display: none; }
  .person__mail { flex: 0 0 auto; justify-content: center; width: 42px; padding: 0; }
  .person__act--note span { font-size: 12.5px; }
  .integ { flex-direction: column; align-items: flex-start; gap: 14px; }
  .integ__view { width: 100%; }
  .foot { display: none; }
  .fam__in { border-radius: 22px; }
  .fam__h { padding: 12px 14px 10px; }
  .fam__h small { font-size: 13px; }
  .fam__list { grid-template-columns: minmax(0, 1fr); padding-top: 2px; }
  .fam__list li::before { display: none; }
  .fam__list li + li { border-top: 1px solid var(--line-2); }
  .fam__a { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-areas: "m w g" "m t g"; column-gap: 14px; align-items: center; padding: 13px 12px; border-radius: 16px; }
  .fam__top { display: contents; }
  .fam__mark { grid-area: m; width: 42px; height: 42px; }
  .fam__go { grid-area: g; width: 30px; height: 30px; }
  .fam__w { grid-area: w; margin: 0; font-size: 18.5px; }
  .fam__t { grid-area: t; margin-top: 2px; font-size: 12.5px; }
  .fam__d { display: none; }
  .fam__plus, .fam__own .fam__plus { grid-area: m; width: 42px; height: 42px; }
  .fam__own .fam__a { gap: 0 14px; padding: 13px 12px; }
  .fam__own .fam__w, .fam__own .fam__t { white-space: normal; }
  .fam__a::after { left: 12px; right: 12px; }
  .mlegal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 0; padding: 0 var(--gut) calc(30px + env(safe-area-inset-bottom)); background: var(--mint); font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
  .mlegal a { margin-block: -12px; padding-block: 12px; color: inherit; text-underline-offset: 3px; }   /* puutepind 44 px, rida sama */
  .final { padding-bottom: 64px; }
  .final__actions .btn { width: 100%; }
}

/* väike telefon (kuni 400 px): turvalisuse punktid ühes veerus, meeskonna kaardil e-post täies pikkuses (ikoonita, 13 px),
   kalkulaatori makseviisi kaardil nimi, hind ja kirjeldus üksteise all (hinna kõrval jäi kirjeldusele 70-130 px: nimi murdus kahele
   reale ja ⓘ nupp eraldi reale) */
@media (max-width: 400px) {
  .hopt { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "p" "d"; }
  .hopt__p { text-align: left; }
  .trust__grid { grid-template-columns: minmax(0, 1fr); }
  .trust__grid li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 20px 0 22px; }
  .trust__grid .ti { grid-row: 1 / span 2; width: 44px; height: 44px; margin-bottom: 0; }
  .trust__grid p { margin-top: 4px; }
  .person__mail { font-size: 13px; }
  .person__mail svg { display: none; }
}

/* meeskond 761-1180 px: kaart on 220-300 px lai (alates 1001 px neli veergu, kitsamal kolm), seega veidi tihedam, et pikim
   aadress (eesnimi@intras.ee) mahuks täies pikkuses */
@media (min-width: 761px) and (max-width: 1180px) {
  .person__body { padding-inline: 15px; }
  .person__act { gap: 6px; padding-inline: 15px; }
  .person__mail { padding: 0 9px; font-size: 13px; }
  .person__mail svg { display: none; }
}


/* „Peata animatsioonid“ (avaleht): html.is-still peatab kõik nagu vähendatud liikumine; liidestuste lint seisab oma kohal */
@media (max-width: 1060px) { .hero__pause { top: calc(5% + 68px); } }
@media (max-width: 640px) { .hero__pause { right: calc(3% + 6px); top: calc(3% + 58px); width: 34px; height: 34px; } }
html.is-still { scroll-behavior: auto; }
html.is-still *, html.is-still *::before, html.is-still *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
html.is-still .integ__view { overflow: visible; -webkit-mask-image: none; mask-image: none; }
html.is-still .integ__track { animation: none !important; flex-wrap: wrap; width: auto; }
html.is-still .integ__track > [aria-hidden="true"] { display: none; }

/* vähendatud liikumine: kõik on kohe paigas */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv, .js .rv--up { opacity: 1; transform: none; }
  /* liidestuste lint seisab: kõik nimed mitmel real nähtaval (JS ei tee lindist ringi) */
  .integ__view { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .integ__track { animation: none !important; flex-wrap: wrap; width: auto; }
}

/* =====================================================================
   TELEFON (kuni 760 px): leht käitub nagu rakendus.
   Üleval kompaktne riba (logo + põhinupp), mis kaob alla kerides ja tuleb üles kerides tagasi.
   All on vahekaartide riba (4 lehe osa + Menüü), menüü avaneb alt lehena. Animatsioonid on lühemad,
   vahed tihedamad, raskemad efektid (müratekstuur) on väljas ja kaardiread libisevad sõrmega.
   ===================================================================== */
.tabbar, .nav__mcta { display: none; }
.sheet[hidden] { display: none; }
html.has-sheet { overflow: hidden; }
@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes sheetFade { from { opacity: 0; } }
@media (max-width: 760px) {
  :root { --sec: 68px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  a, button, input, label, summary, [role="tab"], [role="radio"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

  /* ülemine riba */
  .nav { transition: transform .32s var(--ease), background-color .3s, box-shadow .3s; }
  .nav.is-hidden { transform: translateY(-100%); }
  .nav__in { height: 60px; gap: 12px; }
  .hero { padding-top: 84px; }
  .nav__burger, .mnav { display: none !important; }
  .nav__mcta { position: relative; display: inline-flex; margin-left: auto; height: 38px; padding: 0 14px; border-radius: 11px; font-size: 14px; white-space: nowrap; }
  .nav__mcta::after { content: ''; position: absolute; inset: -4px 0; }   /* puutepind 44 px, nupp ise sama */
  .nav .brand { min-height: 44px; }
  /* all on fikseeritud vahekaartide riba (64 px): klaviatuuriga liikudes jääb fookuses element selle kohale, mitte alla */
  html { scroll-padding-top: 70px; scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .mcta { display: none !important; }

  /* vahekaartide riba */
  .tabbar { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px max(4px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left, 0px)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid rgba(16, 27, 36, .08); box-shadow: 0 -12px 30px -20px rgba(16, 27, 36, .3); }
  .tabbar__a { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 3px 2px; border: 0; background: none; color: var(--ink-3); font: 750 11px/1.15 var(--font); text-decoration: none; cursor: pointer; }
  .tabbar__i { width: 54px; height: 30px; display: grid; place-items: center; border-radius: 99px; transition: background-color .25s, color .25s, transform .18s var(--ease); }
  .tabbar__i svg { width: 22px; height: 22px; }
  .tabbar__t { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar__a[aria-current], .tabbar__menu[aria-expanded="true"] { color: var(--ink); }
  .tabbar__a[aria-current] .tabbar__i, .tabbar__menu[aria-expanded="true"] .tabbar__i { background: var(--mint); color: var(--teal); }
  .tabbar__a:active .tabbar__i { transform: scale(.88); }

  /* alt avanev menüü */
  .sheet { position: fixed; z-index: 80; inset: 0; }
  .sheet__bg { position: absolute; inset: 0; background: rgba(8, 14, 20, .46); animation: sheetFade .22s ease both; }
  .sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88svh; overflow: auto; overscroll-behavior: contain; padding: 8px max(18px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left, 0px)); border-radius: 26px 26px 0 0; background: var(--white); box-shadow: 0 -24px 60px -24px rgba(0, 0, 0, .4); animation: sheetUp .34s var(--ease) both; }
  .sheet__grip { display: block; width: 40px; height: 5px; margin: 0 auto 8px; border-radius: 99px; background: var(--line); }
  /* pealkiri ja sulgemisnupp jäävad pika menüü kerimisel üles nähtavale */
  .sheet__head { position: sticky; z-index: 2; top: -8px; display: flex; justify-content: space-between; align-items: center; margin: 0 -2px; padding: 4px 2px 6px; background: var(--white); }
  .sheet__head b { font-size: 21px; font-weight: 900; letter-spacing: -.025em; }
  .sheet__x { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink-2); cursor: pointer; }
  .sheet__x svg { width: 18px; height: 18px; }
  .sheet__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line-2); font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
  .sheet__links a::after { content: ''; width: 8px; height: 8px; margin-right: 4px; border: solid var(--ink-4); border-width: 2px 2px 0 0; transform: rotate(45deg); }
  .sheet__links a[aria-current] { color: var(--teal); }
  .sheet__links a:active { background: var(--bg); }
  .sheet__h { margin-top: 18px; font: 500 11.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
  .sheet__fam { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
  .sheet__fam a { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 10px; border-radius: 16px; background: var(--bg); font-size: 11px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); text-align: center; text-decoration: none; }
  .sheet__fam a[aria-current] { box-shadow: inset 0 0 0 1.5px var(--teal); }
  .sheet__fam span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }   /* kitsal telefonil „Intras“ / „Autivo“ kahel real (<wbr>) */
  .sheet__mark { width: 34px; height: 34px; }
  .sheet__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .sheet__cta .btn { height: 50px; padding: 0 10px; font-size: 15px; }

  /* AI: kolm valikut üksteise all, andmevoog ülevalt alla */
  .aix { padding: 8px; border-radius: 24px; }
  .aix__pick { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; border-radius: 18px; }
  .aix__knob { right: 6px; bottom: auto; width: auto; height: calc((100% - 12px) / 3); border-radius: 13px; transform: translateY(calc(var(--m, 0) * 100%)); }
  .aix__pick button { padding: 10px 12px; border-radius: 13px; }
  .aix__body { gap: 8px; margin-top: 8px; }
  .aix__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 46px auto 46px auto; justify-items: center; min-height: 0; padding: 22px 14px; border-radius: 18px; }
  .aline { align-self: stretch; width: 2px; height: auto; margin: 5px 0; background: repeating-linear-gradient(180deg, var(--ink-4) 0 6px, transparent 6px 12px); }
  .aix[data-mode="1"] .aline, .aix[data-mode="2"] .aline { background-image: repeating-linear-gradient(180deg, rgba(var(--teal-rgb), .55) 0 6px, transparent 6px 12px); }
  .aline em { top: 0; left: 50%; margin: 0 0 0 -4.5px; }
  .aline em + em { display: none; }
  .aix[data-mode="1"] .aline em, .aix[data-mode="2"] .aline em { animation-name: aiFlowV; }
  .am__tools { flex-flow: row wrap; justify-content: center; }
  .am__tools s, .am__tools span { flex: 1 1 auto; padding: 6px 10px 6px 9px; font-size: 12.5px; text-align: center; }
  .am__tools s::before, .am__tools span::before { margin-right: 6px; }
  .an--who, .an--mid, .an--core { width: 100%; }
  .an--who { flex-direction: row; justify-content: center; gap: 14px; padding: 12px 16px; }
  .aix__facts { padding: 22px 18px 20px; border-radius: 18px; }
  .aix__f h3 { font-size: 20px; }
  .aix__list li { font-size: 14.5px; }

  /* kiirem ja kergem: lühem ilmumine, müratekstuur väljas */
  .js .rv { transform: translateY(10px); transition-duration: .5s, .5s; transition-delay: calc(var(--rd, 0ms) * .5); }
  .js .rv--up { transition-duration: .75s; }
  .grain::after { display: none; }

  /* puudutus annab kohe tagasisidet */
  .btn:active, .fam__a:active, .person:active, .subl:active, .sfam__a:active, .acontact__row:active, .pways li:active, .mod:active { transform: scale(.97); transition: transform .12s; }

  /* kaardiread libisevad sõrmega (järgmine kaart paistab servast) */
  .team__list, .pm__feats { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .team__list::-webkit-scrollbar, .pm__feats::-webkit-scrollbar { display: none; }
  .team__list > li, .pm__feats > li { flex: 0 0 78%; scroll-snap-align: start; }
  .person__mail { flex: 1; width: auto; justify-content: flex-start; padding: 0 12px; }
  .person__mail span { display: block; }
  .person:hover .langs__t { max-width: 0; padding: 0; }
}
/* kuni 340 px: vahekaardi nimi mahub ära (pikim „Valdkonnad“ 11 px kirjas ~63 px, viis vahekaarti 320 px laiusel) */
@media (max-width: 340px) {
  .tabbar { padding-left: 0; padding-right: 0; }
  .tabbar__a { padding-inline: 0; }
  .tabbar__t { letter-spacing: -.01em; }
}

/* ---------------- saidi menüü ja sügavamad lehed (live-sait) ----------------
   Lahenduste rippmenüü (site_nav, native <details>: töötab ka ilma JS-ita), telefoni menüü saidi lingid, väikesed „edasi“ lingid
   avalehe sektsioonides ja lihtne alamlehe avavaade (page_hero() inc/sub.php-s). */
.nav__dd { position: relative; }
.nav__dd > summary { display: inline-flex; align-items: center; gap: 5px; padding: 9px 11px 9px 13px; border-radius: 10px; font: 700 15px/1 var(--font); color: var(--ink); white-space: nowrap; list-style: none; cursor: pointer; transition: background-color .2s, color .2s; }
.nav__dd > summary::-webkit-details-marker { display: none; }
.nav__dd > summary:hover, .nav__dd[open] > summary { background: rgba(16, 27, 36, .05); }
.nav__dd > summary svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav__dd[open] > summary svg { transform: rotate(180deg); }
.nav__dd.is-cur > summary { color: var(--teal); }
.nav__ddp { position: absolute; z-index: 90; top: calc(100% + 10px); left: -6px; width: 330px; display: grid; gap: 2px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--sh-3); }
.nav__links .nav__ddp a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; font: 600 14px/1.3 var(--font); }
.nav__links .nav__ddp a::after { display: none; }
.nav__ddp b { display: block; font-size: 15px; font-weight: 850; letter-spacing: -.01em; }
.nav__ddp small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.nav__ddp a[aria-current] b { color: var(--teal); }
.nav__ddm { width: 32px; height: 32px; flex: none; }
.mnav > a[aria-current] { color: var(--teal); }
.sheet__site { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.sheet__site a { min-width: 0; min-height: 46px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: var(--bg); font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.sheet__site svg { width: 19px; height: 19px; flex: none; color: var(--teal); }
.sheet__site span { min-width: 0; line-height: 1.2; }   /* pikem nimi („Mis on siseveeb?“) läheb kitsal telefonil kahele reale */
@media (max-width: 340px) { .sheet__site a { gap: 9px; padding-inline: 10px; } }   /* „Paigaldusabi“ mahub 320 px laiusel ühele reale */
.sheet__site a[aria-current] { box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--teal); }
.aisec__more, .price__all, .team__more { margin-top: 28px; text-align: center; }
.price__all + .price__partner { margin-top: 18px; }
.pghero { padding-bottom: clamp(56px, 7vw, 96px); }
.pghero .sxh__copy { max-width: 46em; }
.pghero .sxh__lead { max-width: 40em; }
.pghero .sxh__title { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 640px) { .pghero .sxh__title { font-size: clamp(30px, 9vw, 46px); } }
@media (max-width: 1180px) { .nav__dd > summary { font-size: 14.5px; } }
@media (min-width: 1001px) and (max-width: 1279px) { .nav__dd > summary { padding-inline: clamp(6px, calc(2.5vw - 19px), 13px) clamp(4px, calc(2.5vw - 21px), 11px); } }

/* Nimed ja e-posti aadressid pildina (inc/textimg.php text_svg): joonis käitub nagu tekst, värv currentColor, suurus em */
.tx { white-space: nowrap; }
.tx svg { overflow: visible; }
