/* NOS — the current site's design, refined.
   Dark: the same navy-black hue as today (#0b111b), lifted a few steps lighter. */
:root {
  --dark: #121c2e;          /* was #0b111b */
  --dark-2: #172338;        /* raised surfaces on dark */
  --dark-3: #0f1827;        /* footer */
  --line-d: rgba(150, 175, 215, 0.14);
  --line-d2: rgba(150, 175, 215, 0.24);
  --text-d: #e9eef6;
  --muted-d: #aab6ca;
  --light: #f2f4f7;
  --light-2: #e9edf1;
  --ink: #0e1726;
  --ink-2: #4a5568;
  --ink-3: #5f6b80;
  --line: rgba(14, 23, 38, 0.12);
  --line-strong: #0e1726;
  --blue: #1f8fd8;
  --blue-2: #1879bd;
  --blue-l: #4fa9e6;
  --green: #76b043;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: 'Archivo', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--dark); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: min(1180px, 100% - 64px); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- type ---------- */
.h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.h2-lg { font-size: clamp(36px, 4.2vw, 54px); }
.h2-md { font-size: clamp(28px, 3vw, 38px); }
.h2-light { color: #fff; }
.intro { margin-top: 22px; max-width: 540px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.intro-light { color: var(--muted-d); }

.label { display: flex; align-items: center; gap: 10px; color: var(--ink-3); }
.label i { width: 18px; height: 1px; background: currentColor; opacity: 0.6; }
.label-n { color: var(--blue); }
.label-light { color: var(--muted-d); }
.label-light .label-n { color: var(--blue-l); }

/* ---------- motion ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms); }
.rv-in { opacity: 1; transform: none; }
.fade { opacity: 0; animation: fadeUp 1s var(--ease) var(--d, 0ms) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- buttons & links ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 3px; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; isolation: isolate; transition: background 0.25s, box-shadow 0.3s, color 0.25s, transform 0.25s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 52px; padding: 0 26px; }
.btn-nav { height: 40px; padding: 0 22px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -12px rgba(31, 143, 216, 0.8); }
.btn-primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); transform: translateX(-100%); transition: transform 0.7s var(--ease); }
.btn-primary:hover { background: var(--blue-2); box-shadow: 0 14px 36px -12px rgba(31, 143, 216, 0.95); }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-outline { color: #fff; box-shadow: inset 0 0 0 1px var(--line-d2); }
.btn-outline:hover { box-shadow: inset 0 0 0 1px rgba(150, 175, 215, 0.5); background: rgba(255, 255, 255, 0.04); }
.btn-white { background: #fff; color: var(--ink); margin-top: 32px; }
.btn-white:hover { background: #e8f2fb; }

.tlink { position: relative; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 7px; font-size: 15px; font-weight: 600; color: var(--ink); }
.tlink::before, .tlink::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--blue); }
.tlink::after { background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }
.tlink svg { transition: transform 0.35s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }
.tlink-light { color: #fff; }
.tlink-light::after { background: #fff; }
.tlink-sm { font-size: 14px; }
.quiet-link { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 7px; font-size: 14px; font-weight: 500; color: var(--ink-3); border-bottom: 1px solid var(--line); transition: color 0.2s; }
.quiet-link:hover { color: var(--ink); }
.all-link { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.35s, box-shadow 0.35s; }
.nav-s { background: rgba(18, 28, 46, 0.86); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line-d); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { height: 38px; width: auto; }
.nav-links { display: flex; gap: 6px; margin-inline: auto; }
.nav-links a { position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: rgba(233, 238, 246, 0.86); transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px; background: var(--blue); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.lang { display: flex; align-items: center; }
.lang-wrap { display: flex; align-items: center; }
.lang i { width: 1px; height: 12px; margin: 0 10px; background: var(--line-d2); }
.lang button { color: rgba(233, 238, 246, 0.4); font: inherit; letter-spacing: inherit; transition: color 0.2s; }
.lang button[data-on] { color: #fff; }
.burger { display: none; width: 40px; height: 40px; place-items: center; color: #fff; }
.mnav { display: none; }

/* ---------- dark surfaces ---------- */
.dark { position: relative; background: var(--dark); color: var(--text-d); isolation: isolate; }
.dots { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(150, 175, 215, 0.14) 1px, transparent 1.2px); background-size: 28px 28px; mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%); }

/* ---------- hero ---------- */
.hero { padding: 168px 0 120px; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px 380px at 76% 48%, rgba(31, 143, 216, 0.16), transparent 70%), radial-gradient(400px 300px at 10% 0%, rgba(79, 169, 230, 0.08), transparent 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.eyebrow { color: var(--blue-l); margin-bottom: 30px; }
.hero-h { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; color: #fff; }
.hero-h .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-h .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
@keyframes rise { to { transform: none; } }
.hero-p { margin-top: 30px; max-width: 520px; font-size: 18px; line-height: 1.7; color: var(--muted-d); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* hero diagram */
.hd { width: 100%; overflow: visible; }
.hd-frame { fill: rgba(150, 175, 215, 0.025); stroke: var(--line-d2); stroke-width: 1; }
.hd-line { fill: none; stroke: rgba(150, 175, 215, 0.36); stroke-width: 1; }
.hd-run { fill: none; stroke: var(--blue-l); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 26 600; stroke-dashoffset: 626; animation: run 3.6s cubic-bezier(0.45, 0, 0.25, 1) infinite; filter: drop-shadow(0 0 4px rgba(79, 169, 230, 0.9)); }
.hd-run-long { stroke-dasharray: 40 600; stroke-dashoffset: 640; animation-duration: 3.6s; }
.hd-run-sys { stroke: var(--green); filter: drop-shadow(0 0 4px rgba(118, 176, 67, 0.8)); }
@keyframes run { 0% { stroke-dashoffset: 626; opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.hd-in { fill: var(--dark); stroke: var(--muted-d); stroke-width: 1.2; }
.hd-junction { fill: var(--muted-d); }
.hd-t { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; fill: var(--muted-d); }
.hd-t-green { fill: var(--green); }
.hd-t-strong { fill: #fff; font-weight: 600; }
.hd-green { fill: var(--green); }
.hd-beat { animation: beat 3.6s var(--ease) infinite; }
@keyframes beat { 0%, 100% { filter: none; } 30% { filter: drop-shadow(0 0 8px rgba(118, 176, 67, 0.9)); } }
.hd-blue { fill: var(--blue); animation: glow 3.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 6px rgba(79, 169, 230, 1)); } }
.hd-ring { fill: var(--dark); stroke: var(--blue-l); stroke-width: 1.4; }
.hd-ring-core { fill: var(--blue-l); }
.hd-wave { fill: none; stroke: var(--blue-l); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: wave 3.6s var(--ease) infinite; }
.hd-wave-out { stroke: #fff; animation-delay: 2.4s; }
@keyframes wave { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3); opacity: 0; } }
.hd-out { fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)); }

/* ---------- light sections ---------- */
.sec { position: relative; padding: 130px 0; }
.light { background: var(--light); }
.light.alt { background: var(--light-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); gap: 40px; margin-bottom: 72px; }
.sec-head .label { margin-top: 12px; }

/* services */
.svc { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.svc-col { position: relative; padding: 40px 40px 8px 0; }
.svc-col + .svc-col { padding-left: 40px; border-left: 1px solid var(--line); }
.svc-tick { position: absolute; top: -4px; left: -4px; width: 7px; height: 7px; background: var(--light); border: 1px solid var(--line-strong); }
.svc-col + .svc-col .svc-tick { left: -4px; }
.svc-n { color: var(--blue); }
.svc-k { margin: 26px 0 12px; color: var(--ink-3); font-size: 12.5px; }
.svc-h { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.svc-p { margin-top: 14px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.svc-list { margin-top: 30px; }
.svc-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; font-size: 15px; font-weight: 500; transition: color 0.2s, padding 0.35s var(--ease); }
.svc-list a svg { color: var(--ink-3); flex: none; transition: transform 0.35s var(--ease), color 0.2s; }
.svc-list a:hover { color: var(--blue); padding-left: 4px; }
.svc-list a:hover svg { color: var(--blue); transform: translateX(4px); }
.svc-extra { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--ink-3); transition: color 0.2s; }
.svc-extra:hover { color: var(--blue); }

.unsure { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.unsure > div { display: grid; gap: 4px; }
.unsure b { font-size: 16px; font-weight: 600; }
.unsure span { color: var(--ink-2); font-size: 15px; }

.systems { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.systems-k { color: var(--ink-3); font-size: 12.5px; }
.systems-p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.systems-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 28px; }
.sys { display: grid; gap: 14px; color: var(--ink); font-size: 11px; padding-right: 12px; }
.sys i { width: 6px; height: 6px; background: var(--blue); transition: transform 0.4s var(--ease); }
.sys:hover i { transform: rotate(45deg) scale(1.3); }

.dpp { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 64px; padding: 36px 40px; background: var(--light-2); border-left: 2px solid var(--blue); transition: background 0.3s; }
.dpp:hover { background: #e3e8ee; }
.dpp-k { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 12.5px; }
.dpp-k i { width: 24px; height: 1px; background: currentColor; opacity: 0.6; }
.dpp-k b { color: var(--blue); font-weight: 500; }
.dpp-h { margin: 12px 0 8px; font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.dpp p { color: var(--ink-2); font-size: 15px; max-width: 520px; }
.dpp .tlink { flex: none; }

/* pains */
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.pain { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 40px 48px 44px 0; border-bottom: 1px solid var(--line); transition: background 0.35s; }
.pain:nth-child(2n) { padding-left: 48px; border-left: 1px solid var(--line); }
.pain-n { color: var(--blue); padding-top: 9px; }
.pain-h { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.pain-p { margin-top: 12px; color: var(--ink-2); font-size: 15px; max-width: 420px; }
.pain-link { margin-top: 20px; }
.pains + .all-link { border-top: 0; padding-top: 0; }

/* partner */
.partner { overflow: hidden; }
.partner-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
.partner-badge { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.logo-sm { height: 34px; }
.partner-badge .x { color: var(--muted-d); }
.openai { height: 22px; width: auto; }
.openai-word { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.partner-member { margin: 18px 0 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line-d); color: var(--text-d); font-size: 12.5px; line-height: 1.9; }
.md { width: 100%; max-width: 330px; overflow: visible; }
.md-line { fill: none; stroke: rgba(150, 175, 215, 0.3); stroke-width: 1; }
.md-run { fill: none; stroke: var(--blue-l); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 22 400; stroke-dashoffset: 422; animation: mdrun 3s cubic-bezier(0.45, 0, 0.25, 1) infinite; filter: drop-shadow(0 0 4px rgba(79, 169, 230, 0.9)); }
.md-run-out { stroke: var(--green); animation-delay: 1.4s; filter: drop-shadow(0 0 4px rgba(118, 176, 67, 0.9)); }
@keyframes mdrun { 0% { stroke-dashoffset: 422; opacity: 0; } 10% { opacity: 1; } 75% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.md-node { fill: var(--dark); stroke: var(--blue-l); stroke-width: 1.3; }
.md-t { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; fill: var(--muted-d); }
.md-halo { fill: rgba(31, 143, 216, 0.12); stroke: rgba(79, 169, 230, 0.45); transform-box: fill-box; transform-origin: center; animation: halo 3s var(--ease) infinite; }
@keyframes halo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.md-core { fill: var(--blue); }
.md-end { fill: var(--green); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 44px 0 40px; padding-top: 26px; border-top: 1px solid var(--line-d); }
.pillar-k { color: var(--blue-l); font-size: 12.5px; }
.pillar-v { margin-top: 12px; color: var(--text-d); font-size: 15px; line-height: 1.6; }

/* process */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; padding-top: 0; }
.steps-rail { position: absolute; top: 15px; left: 15px; right: 0; height: 1px; background: var(--line); }
.steps-rail i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) 0.2s; }
.steps[data-on] .steps-rail i { transform: scaleX(1); }
.step { position: relative; opacity: 0.35; transition: opacity 0.6s var(--ease); transition-delay: calc(0.2s + var(--i) * 0.4s); }
.steps[data-on] .step { opacity: 1; }
.step-n { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--light); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; letter-spacing: 0.06em; transition: background 0.5s, color 0.5s, box-shadow 0.5s; transition-delay: inherit; }
.steps[data-on] .step-n { background: var(--blue); color: #fff; box-shadow: 0 0 0 5px rgba(31, 143, 216, 0.12); }
.steps[data-on] .step[data-last] .step-n { background: var(--green); box-shadow: 0 0 0 5px rgba(118, 176, 67, 0.15); }
.step-h { margin: 26px 0 10px; font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
.step-p { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }

/* platform */
.platform { overflow: hidden; }
.plat-in { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 64px; align-items: center; }
.plat-in .h2 { margin-top: 26px; }
.plat-list { margin: 36px 0 28px; border-top: 1px solid var(--line-d); }
.plat-list li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-d); color: #fff; font-size: 16px; font-weight: 500; }
.plat-list .mono { color: var(--green); font-size: 12.5px; }
.plat-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 32px; padding: 10px 14px; border: 1px solid var(--line-d); color: var(--text-d); font-size: 12.5px; }
.plat-tag i { width: 6px; height: 6px; background: var(--green); }
.plat-shot { position: relative; margin-right: calc(-1 * max(32px, (100vw - 1180px) / 2) + 32px); }
.plat-shot::before { content: ''; position: absolute; inset: 10% -10% -10% 10%; z-index: -1; background: radial-gradient(closest-side, rgba(31, 143, 216, 0.25), transparent); }
.plat-img { width: 100%; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-d2), 0 40px 90px -30px rgba(0, 0, 0, 0.7); transition: transform 0.8s var(--ease); }
.plat-shot:hover .plat-img { transform: translateY(-4px); }

/* case study */
.case-label { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.case-tags { color: var(--ink-3); font-size: 12.5px; }
.case-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; padding-bottom: 40px; border-bottom: 1px solid var(--line-strong); }
.case-top .intro { margin-top: 4px; }
.case-tl { position: relative; display: grid; gap: 22px; margin: 36px 0 40px; padding-left: 26px; }
.case-tl::before { content: ''; position: absolute; left: 3px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.case-tl::after { content: ''; position: absolute; left: 3px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--ink), var(--blue), var(--green)); transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease) 0.2s; }
.case-tl[data-on]::after { transform: scaleY(1); }
.tl { position: relative; opacity: 0.3; transform: translateX(8px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(0.25s + var(--i) * 0.45s); }
.case-tl[data-on] .tl { opacity: 1; transform: none; }
.tl-dot { position: absolute; left: -26px; top: 4px; width: 7px; height: 7px; background: var(--ink); }
.tl[data-k='Rješenje'] .tl-dot { background: var(--blue); }
.tl[data-k='Rezultat'] .tl-dot { background: var(--green); }
.tl-k { color: var(--ink); font-size: 12.5px; }
.tl[data-k='Rješenje'] .tl-k { color: var(--blue); }
.tl[data-k='Rezultat'] .tl-k { color: var(--green); }
.tl-v { margin-top: 4px; color: var(--ink-2); font-size: 15.5px; }
.tl[data-k='Rezultat'] .tl-v { color: var(--ink); font-weight: 600; font-size: 17px; }
.case-links { display: flex; align-items: center; gap: 36px; padding-top: 28px; border-top: 1px solid var(--line); }

/* about */
.about { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 64px; align-items:start; }
.about-heading .h2 { margin-top:24px; }
.about > .intro { margin:0; }
.about-bottom { grid-column:1 / -1; }
.about .stats { margin:0 0 44px; }
.about .stat-n { white-space:nowrap; }
.about .stat:nth-child(2) .stat-n { font-size:clamp(24px,3vw,42px); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 56px 0 44px; border-top: 1px solid var(--line-strong); }
.stat { padding: 28px 28px 32px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat i { display: block; width: 20px; height: 2px; background: var(--blue); margin-bottom: 22px; }
.stat-n { font-size: clamp(36px, 3.6vw, 50px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
.stat-l { margin-top: 14px; color: var(--ink-2); font-size: 14.5px; max-width: 200px; }

/* news */
.news-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 44px; }
.news-head .h2 { margin-top: 18px; }
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news > div + div { border-left: 1px solid var(--line); }
.post { display: block; height: 100%; padding: 32px; transition: background 0.35s; }
.post:hover { background: #fff; }
.post-img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: var(--light-2); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.post:hover .post-img img { transform: scale(1.04); }
.post-d { margin-top: 26px; color: var(--ink-3); font-size: 12.5px; }
.post-t { margin-top: 12px; font-size: 18px; line-height: 1.4; letter-spacing: -0.015em; font-weight: 600; transition: color 0.2s; }
.post:hover .post-t { color: var(--blue); }

/* missing image slot */
.img-slot { display: grid; place-items: center; width: 100%; height: 100%; min-height: 180px; background: repeating-linear-gradient(135deg, rgba(14, 23, 38, 0.04) 0 10px, transparent 10px 20px), var(--light-2); color: var(--ink-3); text-align: center; padding: 16px; }
.dark .img-slot { aspect-ratio: 16 / 11; border-radius: 12px; background: repeating-linear-gradient(135deg, rgba(150, 175, 215, 0.05) 0 10px, transparent 10px 20px), var(--dark-2); color: var(--muted-d); box-shadow: 0 0 0 1px var(--line-d2); }
.img-slot .mono { font-size: 10px; letter-spacing: 0.08em; text-transform: none; }

/* CTA */
.cta { padding: 140px 0; overflow: hidden; }
.cta-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 360px at 80% 100%, rgba(31, 143, 216, 0.18), transparent 70%); }
.cta-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: center; }
.cta-h { font-size: clamp(42px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; color: #fff; }
.cta .intro { margin-top: 0; }

/* footer */
.foot { background: var(--dark-3); padding-top: 72px; border-top: 1px solid var(--line-d); color: var(--muted-d); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.logo-foot { height: 46px; }
.foot-brand p { margin: 22px 0; font-size: 14.5px; line-height: 1.75; }
.foot-brand p a:hover { color: #fff; }
.foot-li { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-d2); color: var(--text-d); transition: background 0.2s, border-color 0.2s; }
.foot-li:hover { background: var(--blue); border-color: var(--blue); }
.foot-col { display: grid; align-content: start; gap: 11px; }
.foot-col .mono { font-size: 12.5px; margin-bottom: 8px; }
.foot-col a { width: max-content; color: var(--text-d); font-size: 14.5px; transition: color 0.2s, transform 0.3s var(--ease); }
.foot-col a:hover { color: #fff; transform: translateX(3px); }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid var(--line-d); font-size: 12px; }
.foot-legal { display: flex; gap: 24px; }
.foot-legal a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .btn-nav { display: none; }
  .nav-open, .nav-open.nav-s { background: var(--dark); }
  .mnav { display: grid; position: fixed; inset: 76px 0 0; padding: 16px 32px; align-content: start; background: var(--dark); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
  .nav-open .mnav { opacity: 1; pointer-events: auto; }
  .mnav a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-d); color: #fff; font-size: 22px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: all 0.45s var(--ease) calc(var(--i) * 40ms); }
  .nav-open .mnav a { opacity: 1; transform: none; }
  .hero-in, .partner-in, .plat-in, .case-top, .cta-in, .about { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc-col, .svc-col + .svc-col { padding: 36px 0 28px; border-left: 0; border-bottom: 1px solid var(--line); }
  .svc-tick { display: none; }
  .systems-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps-rail { top: 15px; bottom: 15px; left: 15px; right: auto; width: 1px; height: auto; }
  .steps-rail i { height: 100%; transform: scaleY(0); transform-origin: top; }
  .steps[data-on] .steps-rail i { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 20px; }
  .step-n { grid-row: span 2; }
  .step-h { margin: 4px 0 6px; }
  .plat-shot { margin-right: 0; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .hero { padding: 128px 0 88px; }
  .sec { padding: 96px 0; }
  .cta { padding: 104px 0; }
  .logo { height: 32px; }
  .lang { display: none; }
  .hero-cta .btn { width: 100%; }
  .unsure, .news-head, .dpp, .case-links, .foot-bot { flex-direction: column; align-items: flex-start; }
  .pains, .news, .stats, .pillars { grid-template-columns: minmax(0, 1fr); }
  .pain, .pain:nth-child(2n) { padding: 32px 0; border-left: 0; }
  .news > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .post { padding: 24px 0; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .dpp { padding: 28px 24px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rv, .fade, .step, .tl { opacity: 1; transform: none; }
}

/* ---------- hero: automation example ---------- */
.flow-card { position: relative; padding: 22px; border-radius: 14px; background: linear-gradient(180deg, rgba(23, 35, 56, 0.92), rgba(18, 28, 46, 0.92)); box-shadow: 0 0 0 1px var(--line-d2), 0 40px 80px -30px rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); }
.flow-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.flow-k { color: var(--muted-d); font-size: 12.5px; }
.flow-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 8px; background: rgba(0, 0, 0, 0.18); box-shadow: inset 0 0 0 1px var(--line-d); }
.flow-tabs button { position: relative; overflow: hidden; height: 28px; padding: 0 11px; border-radius: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted-d); white-space: nowrap; transition: color 0.25s, background 0.25s; }
.flow-tabs button:hover { color: #fff; }
.flow-tabs button[data-on] { background: rgba(150, 175, 215, 0.12); color: #fff; }
.flow-tab-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue-l); transform-origin: left; animation: tabbar 5.95s linear forwards; }
@keyframes tabbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.flow-stage { position: relative; padding: 14px 16px; border-radius: 10px; background: rgba(150, 175, 215, 0.04); box-shadow: inset 0 0 0 1px var(--line-d); opacity: 0.4; transition: opacity 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s; }
.flow-stage[data-on] { opacity: 1; }
.flow-stage-k { display: block; margin-bottom: 10px; color: var(--muted-d); font-size: 12.5px; }
.flow-green { color: var(--green); }
.flow-stage:first-of-type[data-on] { animation: slideIn 0.6s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } }

.flow-input { display: flex; align-items: center; gap: 12px; }
.flow-ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 9px; background: rgba(79, 169, 230, 0.12); color: var(--blue-l); }
.flow-input-t { display: grid; gap: 1px; line-height: 1.35; }
.flow-input-t b { color: #fff; font-size: 15px; font-weight: 600; }
.flow-input-t span { color: var(--muted-d); font-size: 12.5px; }

.flow-link { position: relative; height: 22px; margin-left: 34px; width: 1px; background: var(--line-d2); overflow: hidden; }
.flow-link i { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--blue-l); transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease); box-shadow: 0 0 6px var(--blue-l); }
.flow-link[data-on] i { transform: scaleY(1); }

.flow-ai[data-on] { background: rgba(118, 176, 67, 0.05); box-shadow: inset 0 0 0 1px rgba(118, 176, 67, 0.28); }
.flow-steps { display: grid; gap: 8px; }
.flow-steps li { display: flex; align-items: center; gap: 10px; min-height: 22px; color: var(--muted-d); font-size: 14px; transition: color 0.3s; }
.flow-steps li[data-st='busy'], .flow-steps li[data-st='done'] { color: #fff; }
.flow-mark { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-d2); color: var(--dark); transition: background 0.3s, box-shadow 0.3s; }
.flow-mark i { width: 6px; height: 6px; border-radius: 50%; background: transparent; }
li[data-st='busy'] .flow-mark { box-shadow: inset 0 0 0 1.5px var(--green); animation: spinRing 0.9s linear infinite; background: conic-gradient(var(--green) 0 25%, transparent 25%); -webkit-mask: radial-gradient(circle, transparent 6px, #000 6.5px); mask: radial-gradient(circle, transparent 6px, #000 6.5px); }
@keyframes spinRing { to { transform: rotate(360deg); } }
li[data-st='done'] .flow-mark { background: var(--green); box-shadow: none; animation: pop 0.35s var(--ease); }
@keyframes pop { from { transform: scale(0.6); } }
.flow-chip { margin-left: auto; padding: 2px 9px; border-radius: 99px; background: rgba(79, 169, 230, 0.14); color: var(--blue-l); font-size: 12px; font-weight: 500; animation: pop 0.35s var(--ease); }
.flow-fields { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-left: 28px; }
.flow-fields span { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-d); color: var(--text-d); font-size: 12.5px; opacity: 0; transform: translateY(4px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); transition-delay: calc(var(--n) * 120ms); }
.flow-fields span svg { color: var(--green); }
.flow-fields[data-on] span { opacity: 1; transform: none; }

.flow-out[data-on] { background: rgba(31, 143, 216, 0.1); box-shadow: inset 0 0 0 1px rgba(79, 169, 230, 0.45), 0 12px 30px -12px rgba(31, 143, 216, 0.5); }
.flow-result { display: flex; align-items: center; gap: 12px; }
.flow-ok { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--green); color: var(--dark); }
.flow-out[data-on] .flow-ok { animation: pop 0.4s var(--ease); }
.flow-result b { color: #fff; font-size: 15.5px; font-weight: 600; }
.flow-sys { margin-left: auto; padding: 4px 8px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line-d2); color: var(--text-d); font-size: 12.5px; }

@media (max-width: 680px) {
  .flow-card { padding: 16px; }
  .flow-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .flow-tabs { width: 100%; }
  .flow-tabs button { flex: 1; padding: 0 6px; font-size: 12px; }
}
.flow-result { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.flow-out:not([data-on]) .flow-result { opacity: 0; transform: translateY(4px); }
.flow-out:not([data-on]) { min-height: 72px; }

/* ---------- variant 3: centered ---------- */
.hero-c { padding: 190px 0 120px; text-align: center; overflow: hidden; }
.hero-c-in { display: flex; flex-direction: column; align-items: center; }
.dots-c { mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 20%, transparent 75%); }
.hero-glow-c { background: radial-gradient(700px 400px at 50% 30%, rgba(31, 143, 216, 0.16), transparent 70%); }
.hero-h-c { font-size: clamp(44px, 6.4vw, 88px); }
.hero-p-c { margin-inline: auto; max-width: 600px; }
.hero-cta-c { justify-content: center; }
.hero-areas-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(860px, 100%); margin-top: 80px; border-top: 1px solid var(--line-d); }
.har { display: flex; align-items: center; gap: 12px; padding: 22px 20px; color: var(--text-d); text-align: left; transition: background 0.3s, color 0.3s; }
.har + .har { border-left: 1px solid var(--line-d); }
.har-n { color: var(--blue-l); font-size: 12.5px; }
.har-t { flex: 1; font-size: 16px; font-weight: 600; }
.har svg { color: var(--muted-d); transition: transform 0.35s var(--ease), color 0.3s; }
.har:hover { background: rgba(150, 175, 215, 0.05); color: #fff; }
.har:hover svg { transform: translateX(4px); color: #fff; }

@media (max-width: 680px) {
  .hero-areas-row { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .har + .har { border-left: 0; border-top: 1px solid var(--line-d); }
}

.hero-em { font-style: normal; color: var(--blue-l); }

/* ---------- readability pass ---------- */
.systems-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sys { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: -0.005em; transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms), box-shadow 0.3s; }
.sys:hover { box-shadow: inset 0 0 0 1px rgba(31, 143, 216, 0.5); transform: translateY(-2px); }
.sys-ico { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 8px; background: rgba(31, 143, 216, 0.1); color: var(--blue); }
.systems-p { font-size: 16px; }
.svc-extra { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--blue); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.svc-extra:hover { color: var(--blue-2); text-decoration: underline; text-underline-offset: 4px; }
.svc-list a { font-size: 16px; }
.svc-list a svg { color: var(--ink-2); }
.foot-col a, .foot-brand p { color: #c9d2e0; }
@media (max-width: 1080px) { .systems-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .systems-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .sys { gap: 10px; padding: 12px; font-size: 14.5px; } .sys-ico { width: 30px; height: 30px; } }

/* ---------- OpenAI partner card ---------- */
.pcard { margin-top: 32px; border-radius: 12px; background: linear-gradient(160deg, rgba(31, 143, 216, 0.12), rgba(23, 35, 56, 0.6) 55%); box-shadow: inset 0 0 0 1px var(--line-d2), 0 30px 60px -30px rgba(0, 0, 0, 0.6); overflow: hidden; }
.pcard-marks { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 40px 28px 34px; border-bottom: 1px solid var(--line-d); }
.pcard-logo { height: 52px; width: auto; }
.pcard-x { color: var(--muted-d); font-size: 22px; font-weight: 300; }
.pcard-marks .openai { height: 30px; }
.pcard-marks .openai-word { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.pcard-body { display: flex; gap: 14px; align-items: flex-start; padding: 24px 28px; }
.pcard-check { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: rgba(118, 176, 67, 0.16); color: var(--green); }
.pcard-t { color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.pcard-p { margin-top: 4px; color: var(--muted-d); font-size: 15px; line-height: 1.55; }
.pcard-foot { padding: 14px 28px; background: rgba(0, 0, 0, 0.15); color: var(--muted-d); font-size: 11.5px; }
.partner-in { align-items: center; }

/* ---------- contact panel ---------- */
.cp { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.cp[data-open] { pointer-events: auto; }
.cp-backdrop { position: absolute; inset: 0; background: rgba(8, 13, 24, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.4s var(--ease); }
.cp[data-open] .cp-backdrop { opacity: 1; }
.cp-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); overflow-y: auto; background: var(--light); color: var(--ink); box-shadow: -30px 0 80px -20px rgba(0, 0, 0, 0.5); transform: translateX(100%); transition: transform 0.55s var(--ease); }
.cp[data-open] .cp-panel { transform: none; }
.cp-close { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.cp-close:hover { background: var(--light-2); color: var(--ink); }
.cp-form, .cp-done { padding: 56px 48px 40px; }
.cp-k { color: var(--blue); }
.cp-h { margin-top: 14px; font-size: 30px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.cp-p { margin-top: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.cp-field { margin: 32px 0 0; padding: 0; border: 0; }
.cp-field legend, .cp-in > span { display: block; margin-bottom: 10px; color: var(--ink); font-size: 14px; font-weight: 600; }
.cp-in em { color: var(--ink-3); font-style: normal; font-weight: 400; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: box-shadow 0.2s, color 0.2s, background 0.2s; }
.cp-chip:hover { box-shadow: inset 0 0 0 1px rgba(31, 143, 216, 0.5); color: var(--ink); }
.cp-chip[data-on] { background: rgba(31, 143, 216, 0.08); box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--ink); }
.cp-chip-check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--line); color: transparent; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.cp-chip[data-on] .cp-chip-check { background: var(--blue); box-shadow: none; color: #fff; }
.cp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 16px; }
.cp-in { display: block; }
.cp-in input, .cp-in textarea { display: block; width: 100%; padding: 12px 14px; border: 0; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: inherit; font-size: 16px; outline: none; resize: vertical; transition: box-shadow 0.2s; }
.cp-in input:focus, .cp-in textarea:focus { box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(31, 143, 216, 0.12); }
.cp-in textarea::placeholder { color: var(--ink-3); }
.cp-consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 24px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.cp-consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.cp-consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.cp-submit { width: 100%; gap: 10px; }
.cp-submit:disabled { opacity: 0.85; cursor: default; }
.cp-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spinRing 0.8s linear infinite; }
@keyframes spinRing { to { transform: rotate(360deg); } }
.cp-alt { margin-top: 18px; color: var(--ink-2); font-size: 14.5px; text-align: center; }
.cp-alt a { color: var(--blue); font-weight: 600; }
.cp-done { display: flex; flex-direction: column; align-items: flex-start; min-height: 100%; justify-content: center; }
.cp-done-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; animation: pop 0.45s var(--ease); }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }
.cp-done .btn { margin-top: 32px; }
.btn-outline-dark { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-outline-dark:hover { background: var(--light-2); }
@media (max-width: 680px) {
  .cp-form, .cp-done { padding: 56px 20px 32px; }
  .cp-h { font-size: 25px; }
  .cp-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Keep the supplied design; prevent footer columns overflowing 320px screens. */
@media(max-width:360px){.foot-in{grid-template-columns:repeat(2,minmax(0,1fr))}.foot-col{min-width:0}.foot-col a{width:auto;max-width:100%;overflow-wrap:anywhere}}

/* Requested alignment: platform image ends at the same container edge as navigation. */
.plat-shot{margin-right:0;min-width:0}
.plat-img{max-width:100%;height:auto}

  #nos-drawer input, #nos-drawer select, #nos-drawer textarea { font-family: 'Archivo', sans-serif; font-size: 15px; color: #0B121B; width: 100%; padding: 13px 14px; background: #FFFFFF; border-radius: 0; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
  #nos-drawer input:focus, #nos-drawer select:focus, #nos-drawer textarea:focus { border-color: #1B8FD1 !important; box-shadow: 0 0 0 3px rgba(27,143,209,0.14); }
  #nos-drawer input::placeholder, #nos-drawer textarea::placeholder { color: #A3AEBA; }
  #nos-drawer select:invalid { color: #A3AEBA; }
  #nos-drawer a:focus-visible, #nos-drawer button:focus-visible { outline: 2px solid #1B8FD1; outline-offset: 3px; }
  @media (max-width: 640px) { #nos-drawer-panel { width: 100% !important; max-width: 100% !important; } }
#nos-drawer-panel .nos-optional-fields {border-top:1px solid #C9D2DC;padding-top:20px}
#nos-drawer-panel .nos-optional-fields summary {cursor:pointer;font-size:14px;font-weight:600;color:#0B121B;line-height:1.5;padding:4px 0}
#nos-drawer-panel .nos-optional-fields[open] summary {margin-bottom:20px}
.nos-optional-fields>div {display:flex;flex-direction:column;gap:20px}
.live-contact-host{position:relative;z-index:100}
.live-contact-host[data-open] #nos-drawer{pointer-events:auto!important}
.live-contact-host[data-open] #nos-drawer>div:first-child{opacity:1!important}
.live-contact-host[data-open] #nos-drawer-panel{transform:translateX(0)!important}
.live-contact-host [data-live-state="sent"]{display:none}
.live-contact-host[data-sent] [data-live-state="form"]{display:none}
.live-contact-host[data-sent] [data-live-state="sent"]{display:block}
#nos-drawer [hidden]{display:none!important}
#nos-drawer [data-live-state="form"]{color:#0B121B;line-height:normal}
#nos-drawer label,#nos-drawer .nos-optional-fields{line-height:normal}
#nos-drawer button[type="submit"]:hover{background:#0E6FAB!important;border-color:#0E6FAB!important}
#nos-drawer button[aria-label="Zatvori"]:hover{border-color:#0B121B!important;color:#0B121B!important}
@media(max-width:620px){#nos-drawer-panel form{gap:20px!important}}

/* Requested contact-panel refinements only. */
#nos-drawer input,#nos-drawer select,#nos-drawer textarea,
#nos-drawer button[type="submit"],#nos-drawer button[aria-label="Zatvori"]{border-radius:3px}
#nos-drawer button[type="submit"]{width:100%}
#nos-drawer [data-live-note]{font-size:14px!important;color:#5A6875!important}
#nos-drawer-panel .nos-optional-fields summary{display:flex;align-items:center;gap:10px;list-style:none}
#nos-drawer-panel .nos-optional-fields summary::-webkit-details-marker{display:none}
#nos-drawer-panel .nos-optional-fields summary::marker{content:''}
#nos-drawer-panel .nos-optional-fields summary::before{content:'';display:block;flex:none;width:7px;height:7px;border-right:1.5px solid #1B8FD1;border-bottom:1.5px solid #1B8FD1;transform:rotate(45deg);transform-origin:center;transition:transform .18s ease;margin:0 2px 3px}
#nos-drawer-panel .nos-optional-fields[open] summary::before{transform:rotate(225deg)}

/* Requested confirmation-screen refinements only. */
#nos-drawer [data-confirmation-card],#nos-drawer [data-confirmation-button]{border-radius:3px}
#nos-drawer [data-confirmation-button]{background:#1f8fd8!important;border-color:#1f8fd8!important}
#nos-drawer [data-confirmation-button]:hover{background:var(--blue-2)!important;border-color:var(--blue-2)!important;box-shadow:0 14px 36px -12px rgba(31,143,216,.95)}
#nos-drawer [data-confirmation-caption],#nos-drawer [data-confirmation-next]{font-size:14px!important;color:#4a5568!important}

/* Shared compatibility with the existing content/runtime; concept palette unchanged. */
html,body{background:var(--dark)!important;font-family:var(--sans)!important}
.lang a{color:var(--muted-d);font:inherit;transition:color .2s}
.lang a[data-on]{color:#fff}
.lang a:hover{color:#fff}
.foot-legal button{color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit}
.foot-legal button:hover{color:#fff}
.nos-subpage #nos-header.nav{background:var(--dark);box-shadow:0 1px 0 var(--line-d)}
#nos-header.nav{position:fixed;top:0;left:0;right:0;z-index:50}
.nav-links a[aria-current="page"]{color:#fff}
.nos-subpage #nos-header+section,.nos-subpage #nos-header+main{padding-top:76px}
.nos-subpage section>div[style*="max-width: 1280px"],
.nos-subpage main>div[style*="max-width: 1280px"]{width:min(1180px,calc(100% - 64px));max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
.nos-subpage section:not([data-nos-tone="dark"]) h1,.nos-subpage main h1{color:var(--ink)!important;line-height:1.08!important;font-weight:600!important;letter-spacing:-.035em!important}
.nos-subpage section:not([data-nos-tone="dark"]) h2,.nos-subpage main h2{color:var(--ink)!important;line-height:1.15!important;letter-spacing:-.03em!important;font-weight:600!important}
.nos-subpage section [style*="IBM Plex Mono"],.nos-subpage main [style*="IBM Plex Mono"]{font-size:12.5px!important;font-weight:500;letter-spacing:.1em!important}
.nos-subpage section[data-nos-tone="dark"] [style*="IBM Plex Mono"]{color:var(--muted-d)!important}
.nos-subpage section a[style*="background:"]{border-radius:3px}
.nos-subpage #kontakt{background:radial-gradient(ellipse at 85% 100%,rgba(31,143,216,.09),transparent 65%),var(--dark)!important;color:#fff}
.nos-subpage #kontakt>div{padding-top:104px!important;padding-bottom:104px!important}
.nos-subpage #kontakt h2{color:#fff!important;font-size:clamp(36px,4.2vw,54px)!important;line-height:1.08!important;font-weight:600!important;letter-spacing:-.035em!important}
.nos-subpage #kontakt p{color:var(--muted-d)!important;font-size:17px!important;line-height:1.7!important}
.nos-subpage #kontakt a{border-radius:3px;background:#fff!important;color:var(--ink)!important}
.nos-subpage #kontakt a:hover{background:#e8f2fb!important}
.nos-subpage [data-article-grid]>a{border:1px solid var(--line);border-radius:3px!important}
.nos-subpage [data-article-grid] h3{font-size:20px!important;line-height:1.4!important}
#nos-drawer input,#nos-drawer select,#nos-drawer textarea{border-radius:3px!important}
#nos-drawer [data-confirmation-button]{background:#1f8fd8!important;border-color:#1f8fd8!important}
#nos-drawer [data-confirmation-button]:hover{background:#1879bd!important;border-color:#1879bd!important}
#nos-drawer button[type="submit"]{background:#1f8fd8!important;border-color:#1f8fd8!important;border-radius:3px!important}
#nos-drawer button[type="submit"]:hover{background:#1879bd!important;border-color:#1879bd!important}
.nos-home #nos-drawer-panel h2,.nos-subpage #nos-drawer-panel h2{overflow-wrap:normal}
.nos-home .hero-h-c{max-width:none}
@media(max-width:680px){
 .nos-subpage section>div[style*="max-width: 1280px"],.nos-subpage main>div[style*="max-width: 1280px"]{width:calc(100% - 40px)}
 .nos-subpage #kontakt>div{padding-top:80px!important;padding-bottom:80px!important}
 .nos-subpage #kontakt h2{font-size:36px!important}
}
@media(prefers-reduced-motion:reduce){.rv{opacity:1!important;transform:none!important}}

/* Content must remain visible after the existing DC runtime rerenders classes.
   Entrance animations must never be a prerequisite for reading the site. */
.rv,.fade,[data-reveal]{opacity:1!important;transform:none!important;animation:none!important;transition:none!important}

/* Explicit resting/hover colors override the legacy page-wide anchor color. */
.nos-home .svc-list a,.nos-home .post .post-t{color:var(--ink)}
.nos-home .svc-list a:hover,.nos-home .svc-list a:focus-visible,
.nos-home .post:hover .post-t,.nos-home .post:focus-visible .post-t{color:var(--blue)}
/* Decorative motion only: text stays fully opaque, even without JavaScript. */
.step,.tl{opacity:1!important}
.nos-home .step{transform:translateY(6px);transition:transform .6s var(--ease);transition-delay:calc(.2s + var(--i)*.4s)}
.nos-steps-active .steps .step{transform:none}
.nos-steps-active .steps-rail i{transform:scaleX(1)}
.nos-steps-active .steps .step-n{background:var(--blue);color:#fff;box-shadow:0 0 0 5px rgba(31,143,216,.12)}
.nos-steps-active .steps .step[data-last] .step-n{background:var(--green);box-shadow:0 0 0 5px rgba(118,176,67,.15)}
.nos-home .case-tl .tl{transform:translateX(8px);transition:transform .6s var(--ease);transition-delay:calc(.25s + var(--i)*.45s)}
.nos-case-active .case-tl .tl{transform:none}
.nos-case-active .case-tl::after{transform:scaleY(1)}
@media(max-width:1080px){.nos-steps-active .steps-rail i{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){
 .nos-home .step,.nos-home .case-tl .tl{transform:none;transition:none}
 .nos-home .steps-rail i,.nos-home .step-n,.nos-home .case-tl::after{transition:none}
}
