/* md-IT — site.css (v2)
   Dark, deep navy ground; the brand cyan as light. Glow, depth and motion
   carry the page: an animated network in the hero, a tilted mdGest window,
   floating notifications, a moving ticker band and rounded glass-free cards. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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: "Montserrat";
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ground: #070f1d;
  --ground-2: #0b1628;
  --surface-1: #0f1d33;
  --surface-2: #15263f;
  --surface-3: #1d3352;
  --navy: #1a2b49;
  --ink: #f3f6fa;
  --muted: #9fb0c6;
  --line: rgba(159, 176, 198, 0.14);
  --accent: #1cbfdc;
  --accent-strong: #4fd2ea;
  --accent-ink: #04121f;
  --mint: #8fe3d6;
  --paper: #eef3f8;
  --paper-ink: #1a2b49;
  --grad: linear-gradient(100deg, #1cbfdc 0%, #5fd8e6 45%, #8fe3d6 100%);

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-xl: clamp(44px, 5vw, 84px);
  --t-l: clamp(34px, 4.2vw, 64px);

  --margin: clamp(16px, 4vw, 64px);
  --max: 1320px;
  --section: clamp(110px, 12vw, 190px);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 450;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--margin); top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 600; text-decoration: none; border-radius: 10px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

.h-xl { font-size: var(--t-xl); line-height: 1; letter-spacing: -0.04em; font-weight: 700; }
.h-l { font-size: var(--t-l); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.link { color: var(--accent); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; transition: text-decoration-color 0.2s; }
.link:hover { text-decoration-color: currentColor; }

/* progress bar */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px rgba(28, 191, 220, 0.8); }

/* ---------- buttons ---------- */
.btn {
  --h: 54px; position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px; height: var(--h); padding: 0 26px;
  background: var(--accent); color: var(--accent-ink); border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 650; font-size: 16px; text-decoration: none; white-space: nowrap; overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s ease, background-color 0.2s;
}
.btn::before { /* sheen */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease-out);
}
.btn .arr { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: scale(0.97); }
.btn--glow { box-shadow: 0 0 0 0 rgba(28, 191, 220, 0.5), 0 10px 40px -8px rgba(28, 191, 220, 0.65); }
.btn--glow:hover { box-shadow: 0 0 0 6px rgba(28, 191, 220, 0.15), 0 16px 50px -6px rgba(28, 191, 220, 0.85); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.18); }
.btn--ghost::before { background: linear-gradient(110deg, transparent 30%, rgba(28, 191, 220, 0.25) 50%, transparent 70%); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--small { --h: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--small .arr { width: 16px; height: 16px; }

.chev { display: inline-block; width: 0.55em; height: 0.75em; background: var(--accent); clip-path: polygon(0 0, 100% 50%, 0 100%, 0 70%, 55% 50%, 0 30%); flex: none; }
.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(28, 191, 220, 0.14); position: relative; top: 2px; }
.tick::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid var(--accent); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 18px var(--margin); transition: padding 0.35s var(--ease-out); }
.site-header .bar {
  max-width: calc(var(--max) + 48px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px 8px 8px 20px; border-radius: 999px; transition: background-color 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled .bar { background: rgba(11, 22, 40, 0.86); box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -20px rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand { display: block; width: 116px; }
.brand img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 550; }
.nav-links { display: flex; gap: 2px; }
.nav-links a, .nav-login { position: relative; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: #cfdae8; transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover, .nav-login:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); box-shadow: 0 0 8px var(--accent); }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); font-size: 13px; font-weight: 650; margin: 0 6px; }
.lang a, .lang span { padding: 5px 9px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.lang [aria-current] { background: var(--surface-3); color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(800px, 100svh); padding: 140px var(--margin) 180px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; will-change: transform; }
.a1 { width: 52vw; height: 52vw; left: 38%; top: -22vw; background: radial-gradient(circle, #1cbfdc 0%, rgba(28, 191, 220, 0) 65%); animation: drift1 18s ease-in-out infinite alternate; }
.a2 { width: 40vw; height: 40vw; left: -12vw; top: 30%; background: radial-gradient(circle, #1f4d8f 0%, rgba(31, 77, 143, 0) 65%); opacity: 0.8; animation: drift2 22s ease-in-out infinite alternate; }
.a3 { width: 30vw; height: 30vw; right: -6vw; bottom: -6vw; background: radial-gradient(circle, #8fe3d6 0%, rgba(143, 227, 214, 0) 65%); opacity: 0.35; animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-8vw, 6vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(10vw, -4vw) scale(0.9); } }
.floor {
  position: absolute; left: -25%; right: -25%; bottom: -10%; height: 55%;
  background-image: linear-gradient(rgba(28, 191, 220, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 191, 220, 0.22) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(600px) rotateX(62deg); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
  animation: floor 6s linear infinite; opacity: 0.6;
}
@keyframes floor { to { background-position: 0 64px; } }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 200px; z-index: -1; background: linear-gradient(to bottom, transparent, var(--ground)); }

.hero-inner { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 4vw, 64px); align-items: center; min-height: calc(100svh - 320px); }
/* headline sized to its column so each line fits whole: about 10.5em for the longest line */
.hero-copy { container-type: inline-size; }
.hero-copy h1 { font-size: clamp(38px, 10.6cqi, 96px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(28, 191, 220, 0.1); box-shadow: inset 0 0 0 1px rgba(28, 191, 220, 0.3); color: #bfeef7; font-size: 14px; font-weight: 600; margin-bottom: 28px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(28, 191, 220, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(28, 191, 220, 0); } 100% { box-shadow: 0 0 0 0 rgba(28, 191, 220, 0); } }
.hero-copy h1 { margin-bottom: 28px; }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: inline-block; }
.lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; max-width: 34ch; color: #cfdae8; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; font-size: 14.5px; color: var(--muted); font-weight: 550; }
.hero-facts li { display: flex; align-items: center; gap: 9px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

.hero-visual { position: relative; perspective: 1400px; }
.tilt { position: relative; transform-style: preserve-3d; transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transition: transform 0.6s var(--ease-out); will-change: transform; }
.device { position: relative; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 50px 120px -30px rgba(0, 0, 0, 0.9), 0 0 120px -20px rgba(28, 191, 220, 0.45); }
.device-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #e9eef5; }
.device-bar i { width: 11px; height: 11px; border-radius: 50%; background: #c8d2df; }
.device-bar i:nth-child(1) { background: #ff6b6b; } .device-bar i:nth-child(2) { background: #ffc94a; } .device-bar i:nth-child(3) { background: #3ed598; }
.device-bar span { margin: 0 auto; transform: translateX(-24px); font-size: 12px; color: #6b7a90; background: #fff; padding: 3px 40px; border-radius: 999px; font-weight: 550; }
.hero .device .ui-panel { width: 100%; }
.stage-img { width: 100%; height: auto; }

.float {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.97); color: #14213a; font-size: 13px; line-height: 1.3; white-space: nowrap;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.6);
  transform: translateZ(60px);
}
.float b { display: block; font-size: 14px; font-weight: 700; }
.float small { display: block; color: #5b6b82; font-size: 12px; font-weight: 500; }
.f-ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; font-weight: 800; font-size: 17px; flex: none; }
.f-ico.ok { background: #d9f5ee; color: #0a6b5e; }
.f-ico.up { background: #dff6fb; color: #0b88a0; }
.f-ico.doc { background: #1a2b49; color: #8fe3d6; }
.f1 { left: -9%; top: auto; bottom: 20%; animation: bob 6s ease-in-out infinite; }
.f2 { right: -2%; top: -8%; animation: bob 7s ease-in-out -2s infinite; }
.f3 { right: 6%; bottom: -9%; animation: bob 5.5s ease-in-out -1s infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }

.badge { position: absolute; left: 50%; bottom: 34px; width: 112px; height: 112px; margin-left: -56px; display: grid; place-items: center; border-radius: 50%; background: rgba(11, 22, 40, 0.6); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; z-index: 2; transition: transform 0.4s var(--ease-spring), background-color 0.3s; }
.badge:hover { transform: scale(1.08); background: rgba(28, 191, 220, 0.12); }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-ring text { fill: #cfe9f0; font-size: 15.5px; font-weight: 650; letter-spacing: 2.6px; }
.badge img { width: 26px; height: auto; animation: nudge 2.2s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 3; padding: 40px 0 10px; overflow: hidden; }
.ticker-row { overflow: hidden; }
.ticker-row.r1 { background: var(--accent); color: var(--accent-ink); transform: rotate(-2.2deg); margin: 0 -2vw; box-shadow: 0 20px 60px -20px rgba(28, 191, 220, 0.6); position: relative; z-index: 2; }
.ticker-row.r2 { background: var(--surface-2); transform: rotate(1.6deg); margin: -26px -2vw 0; }
.ticker-track { display: flex; align-items: center; gap: 36px; width: max-content; padding: 20px 0; animation: marquee 50s linear infinite; }
.r2 .ticker-track { animation-direction: reverse; animation-duration: 60s; padding: 16px 0; }
.ticker-track span { font-size: clamp(30px, 4.4vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.r2 .ticker-track span { font-size: clamp(22px, 2.6vw, 38px); color: transparent; -webkit-text-stroke: 1.4px #6f8bb0; font-weight: 750; }
.star { width: 0.9em; height: 0.9em; flex: none; font-size: clamp(22px, 2.6vw, 38px); background: currentColor; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.r2 .star { background: var(--accent); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.sec-head { max-width: var(--max); margin: 0 auto 64px; display: grid; gap: 22px; }
.sec-head h2 { max-width: 16ch; }
.sec-head p { max-width: 52ch; color: #c3d0e0; font-size: 18px; }
.sec-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }

/* ---------- interface (data-ui keeps its own look) ---------- */
.ui {
  --ui-bg: #ffffff; --ui-ink: #14213a; --ui-mut: #5b6b82; --ui-line: #e6ebf2; --ui-soft: #f4f7fb;
  background: var(--ui-bg); color: var(--ui-ink); font-size: 14px; line-height: 1.4; font-weight: 500; font-variant-numeric: tabular-nums;
}
.ui-panel { width: 600px; }
.ui-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--ui-line); }
.ui-tenant { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.ui-avatar { width: 32px; height: 32px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; border-radius: 9px; }
.ui-tenant small { display: block; font-weight: 500; color: var(--ui-mut); font-size: 12.5px; }
.ui-select { padding: 6px 12px; border-radius: 8px; background: var(--ui-soft); font-size: 12.5px; color: var(--ui-mut); }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--ui-line); }
.ui-kpi { padding: 14px 18px; }
.ui-kpi + .ui-kpi { border-left: 1px solid var(--ui-line); }
.ui-kpi span { display: block; color: var(--ui-mut); font-size: 12.5px; }
.ui-kpi strong { display: block; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin-top: 3px; }
.ui-kpi em { font-style: normal; font-size: 12.5px; color: #0a7f6f; font-weight: 600; }
.ui-chart { height: 90px; padding: 6px 0 0; border-bottom: 1px solid var(--ui-line); }
.ui-chart svg { width: 100%; height: 100%; }
.ui-chart .area { fill: rgba(28, 191, 220, 0.14); }
.ui-chart .ln { fill: none; stroke: #1cbfdc; stroke-width: 2.5; stroke-dasharray: 800; stroke-dashoffset: 0; }
.ui-table { width: 100%; border-collapse: collapse; }
.ui-table th { text-align: left; font-weight: 600; color: var(--ui-mut); font-size: 12.5px; padding: 9px 18px; background: var(--ui-soft); }
.ui-kpi strong, .ui-table td:last-child { white-space: nowrap; }
.ui-table td { padding: 11px 18px; border-top: 1px solid var(--ui-line); }
.ui-table td:last-child, .ui-table th:last-child { text-align: right; }
.ui-table tr.is-hover td { background: #eaf8fb; }
.tag { display: inline-block; padding: 2px 9px; font-size: 12px; font-weight: 650; border-radius: 999px; }
.tag--ok { background: #d9f5ee; color: #0a6b5e; }
.tag--wait { background: #fff1d6; color: #8a5a00; }
.tag--late { background: #fde2e2; color: #a12a2a; }

/* ---------- showcase ---------- */
.showcase { padding: var(--section) var(--margin) 0; }
.showcase-inner { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.sc-text { margin-top: 26px; max-width: 44ch; color: #c3d0e0; font-size: 18px; }
.checks { margin-top: 30px; display: grid; gap: 14px; font-weight: 550; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.sc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.sc-stage { position: relative; padding: clamp(20px, 3vw, 40px); border-radius: var(--r-lg); background: radial-gradient(120% 90% at 80% 0%, rgba(28, 191, 220, 0.28), transparent 60%), var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(4, 18, 31, 0.6); box-shadow: inset 0 0 0 1px var(--line); }
.tabs-pill { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 999px; background: var(--accent); box-shadow: 0 6px 24px -6px rgba(28, 191, 220, 0.8); transition: transform 0.45s var(--ease-spring), width 0.45s var(--ease-spring); z-index: 0; width: 0; }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: #cfdae8; font-size: 14.5px; font-weight: 650; padding: 8px 16px 8px 8px; border-radius: 999px; cursor: pointer; transition: color 0.3s; }
.tab-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; background: rgba(255, 255, 255, 0.1); transition: background-color 0.3s; }
.tab[aria-selected="true"] { color: var(--accent-ink); }
.tab[aria-selected="true"] .tab-av { background: rgba(4, 18, 31, 0.15); }
.no-pill .tab[aria-selected="true"] { background: var(--accent); }
.tabs-hint { margin: 14px 0 22px 6px; font-size: 14px; color: var(--muted); }
.plate .device { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.plate .ui-panel { width: 100%; }

/* ---------- features: bento ---------- */
.features { padding: var(--section) var(--margin) 0; }
.bento { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 16px; grid-auto-flow: dense; }
.tile {
  --c: var(--surface-1); --ci: var(--ink); position: relative; overflow: hidden; padding: 26px; border-radius: var(--r-lg);
  background: var(--c); color: var(--ci); display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.tile::before { /* spotlight follows the pointer */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.16), transparent 60%);
}
.tile:hover::before { opacity: 1; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.tile--lg { grid-column: span 6; grid-row: span 2; }
.tile--wide { grid-column: span 6; }
.tile--tall { grid-column: span 3; grid-row: span 2; }
.tile--sm { grid-column: span 3; }
.bento > .tile--wide:last-child { grid-column: span 12; }
.tile.c-navy { --c: var(--surface-2); }
.tile.c-deep { --c: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); }
.tile.c-cyan { --c: var(--accent); --ci: var(--accent-ink); }
.tile.c-mint { --c: var(--mint); --ci: var(--accent-ink); }
.tile.c-paper { --c: var(--paper); --ci: var(--paper-ink); }
.tile.c-cyan { background: radial-gradient(90% 90% at 100% 0%, #6fe0f0 0%, transparent 60%), var(--accent); }
.tile-cap { position: relative; z-index: 2; }
.tile-cap h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.tile-cap p { font-size: 15px; margin-top: 4px; max-width: 34ch; opacity: 0.85; }
.tile--lg .tile-cap h3 { font-size: clamp(24px, 2.2vw, 32px); }
.macro { position: absolute; z-index: 1; right: 22px; top: 22px; font-size: 3em; transition: transform 0.7s var(--ease-out); }
.tile:hover .macro { transform: translateY(-4px) scale(1.05) rotate(-2deg); }
.tile--lg .macro { font-size: 4.6em; left: 26px; right: auto; top: 26px; }
.tile--lg .macro.v-figure .m-figure { font-size: 1.15em; }
.m-toggle { display: flex; align-items: center; gap: 0.4em; }
.m-toggle i { width: 2.1em; height: 1.15em; background: var(--accent); border-radius: 999px; position: relative; display: block; }
.m-toggle i::after { content: ""; position: absolute; right: 0.13em; top: 0.13em; width: 0.89em; height: 0.89em; border-radius: 50%; background: #fff; animation: knob 3.2s var(--ease-in-out) infinite; }
@keyframes knob { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(-0.95em); } }
.m-toggle b { font-size: 0.32em; font-weight: 650; white-space: nowrap; }
.m-keys { display: flex; gap: 0.15em; }
.m-keys kbd { font-family: var(--font); font-weight: 700; font-size: 0.5em; min-width: 1.8em; padding: 0.3em 0.45em; background: #fff; color: var(--paper-ink); border-radius: 0.3em; box-shadow: inset 0 -0.14em 0 #c9d4e2; text-align: center; }
.m-status { font-weight: 700; font-size: 0.42em; padding: 0.25em 0.7em; border-radius: 999px; background: #d9f5ee; color: #0a6b5e; white-space: nowrap; }
.m-figure { font-weight: 750; font-size: 0.75em; letter-spacing: -0.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-slider { width: 4em; height: 1.4em; position: relative; }
.m-slider::before { content: ""; position: absolute; left: 0; right: 0; top: 0.9em; height: 0.12em; border-radius: 9px; background: rgba(4, 18, 31, 0.2); }
.m-slider::after { content: ""; position: absolute; left: 0; width: 2.4em; top: 0.9em; height: 0.12em; border-radius: 9px; background: var(--accent-ink); }
.m-slider i { position: absolute; left: 2.2em; top: 0.72em; width: 0.48em; height: 0.48em; border-radius: 50%; background: var(--accent-ink); }
.m-slider b { position: absolute; left: 1.6em; top: 0; font-size: 0.26em; font-weight: 700; white-space: nowrap; }
.m-initials { display: flex; }
.m-initials span { width: 1.5em; height: 1.5em; border-radius: 50%; display: grid; place-items: center; font-size: 0.42em; font-weight: 800; background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0.12em var(--paper); }
.m-initials span:nth-child(2) { background: var(--mint); margin-left: -0.35em; }
.m-initials span:nth-child(3) { background: var(--navy); color: #fff; margin-left: -0.35em; }
.m-check { display: flex; align-items: center; gap: 0.4em; font-size: 0.34em; font-weight: 700; white-space: nowrap; background: #fff; color: var(--paper-ink); padding: 0.5em 0.9em 0.5em 0.6em; border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(26, 43, 73, 0.4); }
.m-check i { width: 1.2em; height: 1.2em; border-radius: 50%; background: #0a9b84; display: block; position: relative; }
.m-check i::after { content: ""; position: absolute; left: 0.42em; top: 0.2em; width: 0.3em; height: 0.6em; border: solid #fff; border-width: 0 0.13em 0.13em 0; transform: rotate(45deg); }

/* ---------- process ---------- */
.process { padding: var(--section) var(--margin) 0; }
.process-inner { max-width: var(--max); margin-inline: auto; }
.process .sec-head { margin-bottom: 24px; }
.flow { width: 100%; height: auto; aspect-ratio: 4.5 / 1; margin-bottom: 40px; }
.flow rect { transition: transform 1400ms var(--ease-out), opacity 900ms ease; rx: 2.5px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 20px; }
.steps-line { position: absolute; left: 30px; right: 30px; top: 29px; height: 2px; background: var(--surface-3); border-radius: 2px; }
.steps-line i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--sp, 1)); box-shadow: 0 0 14px rgba(28, 191, 220, 0.8); }
.steps li { position: relative; padding: 0 24px 0 0; }
.step-node { position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 0 0 2px var(--accent), 0 0 30px -4px rgba(28, 191, 220, 0.7); color: var(--accent); font-weight: 800; font-size: 20px; margin-bottom: 26px; }
.steps h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.steps p { margin-top: 10px; max-width: 36ch; color: #c3d0e0; }

/* ---------- services ---------- */
.services { position: relative; padding: var(--section) var(--margin) 0; }
.services::before { content: ""; position: absolute; left: var(--margin); right: var(--margin); bottom: -60px; height: 55%; border-radius: 40px; background: radial-gradient(70% 120% at 50% 100%, #2ad0ea 0%, #1aa9c4 50%, #127f98 100%); z-index: -1; }
.svc-grid { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0 clamp(0px, 2vw, 32px); }
.svc { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 30px; border-radius: var(--r-lg); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, 0.7); transition: transform 0.5s var(--ease-out), box-shadow 0.5s; }
.svc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(28, 191, 220, 0.18), transparent 60%); }
.svc:hover::before { opacity: 1; }
.svc:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(28, 191, 220, 0.4), 0 40px 70px -30px rgba(0, 0, 0, 0.9); }
.svc:nth-child(4n+2), .svc:nth-child(4n+3) { background: var(--paper); color: var(--paper-ink); }
.svc:nth-child(4n+2) .svc-text p, .svc:nth-child(4n+3) .svc-text p { color: #3d4f6b; }
.svc-frag { position: relative; z-index: 1; min-height: 170px; display: flex; align-items: flex-start; }
.svc-frag:empty { display: none; }
.svc-text { position: relative; z-index: 1; display: grid; gap: 12px; align-content: start; }
.svc-text h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
.svc-text p { color: #c3d0e0; max-width: 44ch; }
.svc-text ul { display: grid; gap: 10px; font-size: 15.5px; font-weight: 550; margin-top: 6px; }
.svc-text li { display: flex; gap: 10px; align-items: flex-start; }
.frag { font-size: 14px; width: 100%; }
.frag pre { margin: 0; background: #04121f; color: #dce8f5; padding: 20px 22px; border-radius: var(--r-md); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.6; overflow: hidden; white-space: pre; box-shadow: inset 0 0 0 1px var(--line); }
.c-k { color: var(--accent); font-weight: 700; } .c-s { color: var(--mint); } .c-n { color: #ffd479; } .c-ok { color: var(--mint); }
.frag--list { padding: 18px 20px; border-radius: var(--r-md); box-shadow: 0 20px 40px -20px rgba(26, 43, 73, 0.35), 0 0 0 1px #e6ebf2; max-width: 360px; }
.svc:nth-child(1) .frag--list, .svc:nth-child(4) .frag--list { box-shadow: none; }
.frag-title { font-weight: 700; margin-bottom: 12px; }
.frag--list ul { display: grid; gap: 8px; font-size: 13.5px; }
.frag--list li { display: flex; gap: 9px; align-items: center; color: var(--ui-mut); }
.frag--list li::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 2px solid #c9d4e2; flex: none; }
.frag--list li.done { color: var(--ui-ink); } .frag--list li.done::before { background: var(--accent); border-color: var(--accent); }
.frag--list li.now { color: var(--ui-ink); font-weight: 650; } .frag--list li.now::before { border-color: var(--accent); animation: pulse 2s infinite; }
.frag-bar { height: 8px; border-radius: 9px; background: var(--ui-soft); margin-bottom: 12px; overflow: hidden; }
.frag-bar i { display: block; height: 100%; border-radius: 9px; background: var(--accent); }
.frag-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding-top: 6px; } .frag-row span { color: var(--ui-mut); }
.frag-msg { font-size: 13.5px; background: var(--ui-soft); padding: 10px 12px; border-radius: 10px; margin-bottom: 6px; }
.frag--img img { width: 100%; height: auto; border-radius: var(--r-md); }

/* ---------- clients ---------- */
.clients { padding: calc(var(--section) + 40px) 0 0; }
.clients-title { text-align: center; font-size: 15px; font-weight: 650; color: var(--muted); margin-bottom: 36px; padding: 0 var(--margin); }
.logos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos-track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logo { display: grid; place-items: center; min-width: 220px; height: 96px; padding: 0 32px; border-radius: var(--r-md); background: var(--surface-1); text-decoration: none; color: #b9c7d9; transition: color 0.3s, background-color 0.3s; }
.logo:hover { color: #fff; background: var(--surface-2); }
.logo img { max-height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.75; transition: opacity 0.3s; }
.logo:hover img { opacity: 1; }
.logo strong { font-size: 22px; font-weight: 750; letter-spacing: -0.02em; }

/* ---------- testimonial ---------- */
.quote { padding: var(--section) var(--margin) 0; }
.quote-inner { position: relative; max-width: 1100px; margin-inline: auto; padding: clamp(40px, 6vw, 88px); border-radius: 40px; background: radial-gradient(80% 100% at 0% 0%, rgba(28, 191, 220, 0.25), transparent 60%), var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.quote-mark { width: 64px; height: 48px; fill: var(--accent); margin-bottom: 30px; }
.quote blockquote p { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 650; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 40px; }
.who-av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--accent-ink); font-weight: 800; font-size: 20px; }
.quote figcaption b { display: block; font-size: 17px; }
.quote figcaption small { display: block; color: var(--muted); font-size: 15px; }

/* ---------- faq ---------- */
.faq { padding: var(--section) var(--margin) 0; }
.faq-inner { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 120px; display: grid; gap: 22px; }
.faq-side p { color: #c3d0e0; }
.qa-list { display: grid; gap: 12px; }
.qa { border-radius: var(--r-md); background: var(--surface-1); transition: background-color 0.3s, box-shadow 0.3s; }
.qa:hover { background: var(--surface-2); }
.qa[data-open] { background: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(28, 191, 220, 0.35); }
.qa-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; border: 0; background: none; cursor: pointer; padding: 24px 26px; font-size: 19px; font-weight: 650; color: inherit; border-radius: inherit; }
.qa-q small { display: block; font-size: 13px; font-weight: 650; color: var(--accent); margin-bottom: 4px; }
.plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); transition: transform 0.4s var(--ease-spring), background-color 0.3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; }
.plus::after { transform: rotate(90deg); transition: transform 0.4s var(--ease-out); }
.qa[data-open] .plus { transform: rotate(180deg); background: var(--accent); color: var(--accent-ink); }
.qa[data-open] .plus::after { transform: rotate(0deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.qa[data-open] .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 26px 26px; max-width: 62ch; color: #c3d0e0; }

/* ---------- contact ---------- */
.contact { padding: var(--section) var(--margin); }
.contact-card { position: relative; isolation: isolate; overflow: hidden; max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); padding: clamp(32px, 5vw, 72px); border-radius: 40px; background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--line); }
.contact-glow { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; left: -20%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(28, 191, 220, 0.45), transparent 65%); filter: blur(40px); animation: drift1 16s ease-in-out infinite alternate; }
.contact-left { display: flex; flex-direction: column; gap: 22px; }
.contact-left h2 { font-size: var(--t-l); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; }
.contact-left p { color: #c3d0e0; max-width: 34ch; font-size: 18px; }
.direct { display: grid; gap: 10px; margin-top: auto; padding-top: 20px; }
.direct a { display: inline-flex; align-items: center; gap: 12px; font-weight: 650; text-decoration: none; font-size: 18px; width: fit-content; }
.direct a:hover { color: var(--accent); }
.d-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(28, 191, 220, 0.14); color: var(--accent); font-weight: 800; }
.contact form { display: grid; gap: 14px; align-content: start; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; height: 60px; border: 0; border-radius: 14px; background: rgba(4, 18, 31, 0.6); color: var(--ink);
  padding: 22px 18px 6px; font-size: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.25s, background-color 0.25s;
}
.field textarea { height: 150px; padding-top: 28px; resize: vertical; }
.field label { position: absolute; left: 18px; top: 19px; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: 0 0; transition: transform 0.25s var(--ease-out), color 0.25s; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 5px rgba(28, 191, 220, 0.14); background: rgba(4, 18, 31, 0.85); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(0.76); color: var(--accent); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease-spring); }
.chip:hover span { background: rgba(255, 255, 255, 0.09); }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip input:active + span { transform: scale(0.95); }
.submit { justify-content: center; height: 60px; font-size: 17px; margin-top: 4px; }
.form-ok { background: rgba(143, 227, 214, 0.15); color: var(--mint); padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.form-err { background: #fde2e2; color: #8a1f1f; padding: 12px 16px; font-size: 14px; border-radius: 14px; }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ground-2); padding: 80px var(--margin) 28px; border-radius: 40px 40px 0 0; }
.footer-cta { max-width: var(--max); margin: 0 auto 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer-cta p { font-size: clamp(26px, 3vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; max-width: 20ch; }
.footer-grid { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 40px; font-size: 15px; align-items: start; }
.footer-logo { justify-self: end; display: block; width: min(100%, 240px); opacity: 0.95; transition: opacity 0.3s, transform 0.4s var(--ease-out); }
.footer-logo:hover { opacity: 1; transform: translateY(-3px); }
.footer-logo img { width: 100%; height: auto; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links h3, .footer-contact h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: #fff; }
.footer-links li + li { margin-top: 8px; }
.footer-links a, .footer-contact a { text-decoration: none; color: #b9c7d9; transition: color 0.2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: 6px; align-content: start; }
.footer-end { max-width: var(--max); margin: 64px auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); }
.to-top { text-decoration: none; color: var(--muted); }
.to-top:hover { color: var(--accent); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(110%) rotate(3deg); animation: line-up 1s var(--ease-out) forwards; animation-delay: calc(var(--i) * 120ms + 150ms); }
  .js [data-rise] { opacity: 0; transform: translateY(22px); animation: rise 0.9s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 100ms + 400ms); }
  .js .hero-visual { opacity: 0; animation: visual-in 1.4s var(--ease-out) 0.35s forwards; }
  .js .float { opacity: 0; animation: pop 0.7s var(--ease-spring) forwards, bob 6s ease-in-out 2s infinite; }
  .js .f1 { animation-delay: 1.1s, 1.8s; } .js .f2 { animation-delay: 1.35s, 2.1s; } .js .f3 { animation-delay: 1.6s, 2.4s; }
  .js .hero .ui-chart .ln { stroke-dashoffset: 800; animation: draw 2.2s var(--ease-out) 1s forwards; }
  .js [data-reveal] { opacity: 0; transform: translateY(40px) scale(0.98); transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .tile[data-reveal].is-in, .js .svc[data-reveal].is-in { transition: opacity 0.8s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.5s; transition-delay: calc(var(--i, 0) * 90ms), 0s, 0s; }
  .js .tile[data-reveal].is-in:hover { transform: translateY(-6px); }
  .js .svc[data-reveal].is-in:hover { transform: translateY(-8px); }
  .js .flow:not(.is-in) rect.s { transform: translate(var(--dx, 0), var(--dy, 0)); opacity: 0; }
  .js .steps-line i { transform: scaleX(var(--sp, 0)); }
  .js .quote .words span { display: inline-block; opacity: 0.15; transition: opacity 0.5s ease; transition-delay: calc(var(--w) * 45ms); }
  .js .quote .is-in .words span { opacity: 1; }
  .js .plate .ui { transition: opacity 0.26s ease, transform 0.42s var(--ease-out), filter 0.3s; }
  .js .plate .ui.is-swapping { opacity: 0; transform: translateY(12px) scale(0.98); filter: blur(4px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .tilt { transform: none; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes visual-in { from { opacity: 0; transform: translateY(60px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero { padding-top: 130px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { max-width: 640px; width: 100%; margin: 30px auto 0; }
  .badge { display: none; }
  .showcase-inner, .faq-inner, .contact-card { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .sec-head--split { grid-template-columns: 1fr; gap: 22px; }
  .tile--lg, .tile--wide { grid-column: span 12; }
  .tile--tall, .tile--sm { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; }
  .footer-logo { width: 180px; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { padding: 10px 12px; }
  .site-header .bar { padding: 6px 6px 6px 14px; }
  .brand { width: 92px; }
  .nav-login { display: none; }
  .lang { margin: 0 2px; }
  .btn--small { --h: 38px; padding: 0 14px; font-size: 13.5px; }
  .btn--small .arr { display: none; }
  .hero { padding: 108px var(--margin) 70px; min-height: 0; }
  .hero-kicker { font-size: 12.5px; margin-bottom: 22px; }
  .hero-copy h1 { font-size: clamp(30px, 10.4cqi, 56px); }
  .lede { font-size: 17px; margin-bottom: 30px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-facts { margin-top: 30px; gap: 8px 18px; font-size: 13.5px; }
  .hero-visual { margin-top: 44px; }
  .tilt { transform: rotateY(-8deg) rotateX(6deg); }
  .hero .device .ui-panel { font-size: 12px; }
  .hero .ui-table th:nth-child(2), .hero .ui-table td:nth-child(2) { display: none; }
  .hero .ui-kpi { padding: 10px 12px; } .hero .ui-kpi strong { font-size: 15px; } .hero .ui-kpi span, .hero .ui-kpi em { font-size: 11px; }
  .hero .ui-top { padding: 10px 12px; } .hero .ui-select { display: none; }
  .hero .ui-table td, .hero .ui-table th { padding: 8px 12px; }
  .float { padding: 8px 12px 8px 8px; font-size: 11.5px; } .float b { font-size: 12.5px; } .float small { font-size: 11px; } .f-ico { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }
  .f1 { left: -2%; top: auto; bottom: -11%; } .f2 { right: -2%; top: -9%; } .f3 { display: none; }
  .hero-visual { margin-bottom: 24px; }
  .ticker { padding-top: 10px; }
  .sec-head { margin-bottom: 40px; }
  .sec-head p, .sc-text { font-size: 16.5px; }
  .h-l { font-size: clamp(30px, 8.6vw, 40px); }
  .sc-stage { padding: 14px; border-radius: 22px; }
  .tabs { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; font-size: 13px; padding: 7px 12px 7px 7px; white-space: nowrap; }
  .plate .ui-select { display: none; }
  .plate .ui-kpi span { font-size: 11px; }
  .plate .ui-panel { font-size: 12.5px; }
  .plate .ui-kpi { padding: 10px 12px; } .plate .ui-kpi strong { font-size: 14.5px; }
  .plate .ui-table td, .plate .ui-table th { padding: 8px 12px; }
  .bento { grid-auto-rows: 150px; gap: 10px; }
  .tile { padding: 18px; border-radius: 20px; }
  .tile--lg { grid-row: span 2; }
  .tile--tall { grid-column: span 6; grid-row: span 2; }
  .tile-cap h3 { font-size: 16.5px; } .tile-cap p { font-size: 13.5px; }
  .macro { font-size: 2.2em; right: 16px; top: 16px; }
  .tile--lg .macro { font-size: 3.4em; left: 18px; top: 18px; }
  .flow { aspect-ratio: 3 / 4; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps-line { left: 29px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; }
  .steps-line i { height: 100%; width: 100%; transform-origin: 50% 0; transform: scaleY(var(--sp, 0)) !important; }
  .steps li { padding: 0 0 0 84px; min-height: 60px; }
  .step-node { position: absolute; left: 0; top: 0; margin: 0; }
  .steps h3 { font-size: 21px; padding-top: 14px; }
  .services::before { left: 8px; right: 8px; border-radius: 26px; }
  .svc-grid { grid-template-columns: 1fr; padding: 0; gap: 14px; }
  .svc { padding: 20px; border-radius: 22px; }
  .svc-frag { min-height: 0; }
  .frag pre { font-size: 11.5px; padding: 14px; }
  .clients { padding-top: calc(var(--section) + 20px); }
  .logo { min-width: 160px; height: 76px; }
  .quote-inner { border-radius: 26px; }
  .quote blockquote p { font-size: clamp(24px, 7vw, 32px); }
  .qa-q { padding: 20px; font-size: 17px; }
  .qa-a p { padding: 0 20px 22px; }
  .contact { padding-inline: 10px; }
  .contact-card { border-radius: 26px; padding: 28px 18px; }
  .row2 { grid-template-columns: 1fr; }
  .site-footer { border-radius: 26px 26px 0 0; padding-top: 56px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-end { flex-direction: column; align-items: flex-start; }
}

/* ===================== mdGest interface (dark, as in the product) ===================== */
.device--dark { background: #09090b; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 50px 120px -30px rgba(0, 0, 0, 0.9), 0 0 120px -20px rgba(28, 191, 220, 0.45); }
.device--dark .device-bar { background: #18181b; }
.device--dark .device-bar span { background: #27272a; color: #a1a1aa; }
.device--dark.device--flat { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.ui--dark {
  --ui-bg: #09090b; --ui-ink: #fafafa; --ui-mut: #a1a1aa; --ui-line: rgba(255, 255, 255, 0.08); --ui-soft: #18181b;
  --c-wait: #3a2e10; --c-ok: #173a1c; --c-done: #0d2a44; --pri: #0b80a0; --green: #4ade80;
  background: var(--ui-bg); color: var(--ui-ink); font-size: 13px;
}
.ui--dark b { font-weight: 650; }
.ui--dark small { display: block; color: var(--ui-mut); font-size: 11.5px; font-weight: 500; }
.mg { display: grid; grid-template-columns: 116px minmax(0, 1fr); min-height: 380px; }
.mg-side { display: flex; flex-direction: column; gap: 3px; padding: 14px 10px; border-right: 1px solid var(--ui-line); font-size: 12px; color: #d4d4d8; }
.mg-side img { width: 18px; height: auto; margin: 0 0 12px 6px; }
.mg-side span { padding: 6px 8px; border-radius: 7px; }
.mg-side span.on { background: var(--ui-soft); color: #38bdf8; }
.mg-main, .mg-pad { padding: 16px; display: grid; gap: 12px; align-content: start; }
.mg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mg-head b { font-size: 16px; letter-spacing: -0.01em; }
.mg-btn { flex: none; background: var(--pri); color: #fff; font-weight: 650; font-size: 11.5px; padding: 6px 10px; border-radius: 7px; }
.mg-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mg-kpis .k, .ev-kpis .k { position: relative; overflow: hidden; padding: 11px 12px 12px; border-radius: 11px; background: var(--ui-soft); box-shadow: inset 0 0 0 1px var(--ui-line); }
.mg-kpis .k::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green); opacity: 0.7; }
.k span { display: block; color: #d4d4d8; font-size: 11.5px; }
.k strong { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin: 3px 0 2px; font-variant-numeric: tabular-nums; }
.k em { font-style: normal; font-size: 11px; color: var(--green); font-weight: 600; }
.k--wait { background: var(--c-wait) !important; }
.k--ok { background: var(--c-ok) !important; }
.k--done { background: var(--c-done) !important; }
.mg-card { border-radius: 11px; background: var(--ui-soft); box-shadow: inset 0 0 0 1px var(--ui-line); padding: 11px 12px; }
.mg-card-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; margin-bottom: 6px; }
.mg-card-h span { color: var(--ui-mut); display: flex; align-items: center; gap: 5px; }
.d { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.d1 { background: #38bdf8; } .d2 { background: var(--green); margin-left: 6px; } .d-ok { background: #22c55e; } .d-alt { background: #f59e0b; margin-left: 10px; }
.mg-chart svg { width: 100%; height: 92px; }
.mg-chart .a1 { fill: rgba(56, 189, 248, 0.16); } .mg-chart .l1 { fill: none; stroke: #38bdf8; stroke-width: 2; }
.mg-chart .a2 { fill: rgba(74, 222, 128, 0.14); } .mg-chart .l2 { fill: none; stroke: var(--green); stroke-width: 2; }
.ln { stroke-dasharray: 900; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }

.pill { flex: none; font-size: 11px; font-weight: 650; padding: 3px 9px; border-radius: 999px; }
.pill--sent { background: rgba(56, 189, 248, 0.15); color: #7dd3fc; }
.pill--prog { background: rgba(56, 189, 248, 0.15); color: #7dd3fc; }
.pill--wait { background: rgba(245, 158, 11, 0.16); color: #fcd34d; }
.pill--ok { background: rgba(34, 197, 94, 0.16); color: #86efac; }
.mg-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mg-table th { text-align: left; font-weight: 600; color: var(--ui-mut); font-size: 11px; padding: 7px 8px; background: var(--ui-soft); }
.mg-table td { padding: 8px; border-top: 1px solid var(--ui-line); white-space: nowrap; }
.mg-table td:first-child { white-space: normal; }
.mg-table th:not(:first-child), .mg-table td:not(:first-child) { text-align: right; }
.mg-table tr.sel td { background: rgba(11, 128, 160, 0.16); }
.mg-table tr.sel td:first-child { box-shadow: inset 2px 0 0 #38bdf8; }
.mgn { color: var(--green); font-weight: 650; }
.mg-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.mg-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.act { padding: 6px 11px; border-radius: 7px; background: var(--ui-soft); box-shadow: inset 0 0 0 1px var(--ui-line); font-weight: 600; font-size: 12px; }
.act--wa { background: #1f9d55; box-shadow: none; color: #fff; }
.mg-totals { margin: 0; min-width: 190px; display: grid; gap: 3px; font-variant-numeric: tabular-nums; }
.mg-totals div { display: flex; justify-content: space-between; gap: 16px; color: var(--ui-mut); }
.mg-totals dd { margin: 0; color: var(--ui-ink); }
.mg-totals .tot { margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--ui-line); font-size: 15px; font-weight: 700; color: var(--ui-ink); }
.mg-totals .tot dd { color: #38bdf8; }

.gcal { font-size: 11.5px; font-weight: 600; color: #86efac; }
.works { display: grid; gap: 6px; }
.work { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 10px; background: var(--ui-soft); }
.chip-t { font-size: 11px; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: rgba(11, 128, 160, 0.25); color: #a5f3fc; }
.chip-t--b { background: rgba(143, 227, 214, 0.18); color: #99f6e4; }
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 10px; border-radius: 11px; background: var(--ui-soft); }
.wd { text-align: center; color: var(--ui-mut); font-size: 11px; font-weight: 600; padding-bottom: 4px; }
.blk { font-size: 11px; font-weight: 650; padding: 7px 8px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b1 { grid-column: 1 / span 3; background: rgba(56, 189, 248, 0.2); color: #bae6fd; box-shadow: inset 3px 0 0 #38bdf8; }
.b2 { grid-column: 3 / span 3; background: rgba(45, 212, 191, 0.16); color: #99f6e4; box-shadow: inset 3px 0 0 #2dd4bf; }

.ev-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ev-kpis .k { padding-bottom: 0; }
.ev-kpis .k strong { font-size: 17px; }
.ev-kpis svg { display: block; width: calc(100% + 24px); margin: 2px -12px 0; height: 20px; }
.ev-kpis svg path { fill: rgba(74, 222, 128, 0.1); stroke: var(--green); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ev-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 8px; }
.ev-donut, .ev-chart { font-size: 12px; }
.donut { position: relative; width: 104px; margin: 8px auto 4px; }
.donut svg { width: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 6; }
.donut .bg { stroke: #27272a; } .donut .s1 { stroke: #22c55e; } .donut .s2 { stroke: #f59e0b; }
.donut span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 17px; font-weight: 700; }
.donut span small { font-size: 10.5px; }
.legend { text-align: center; color: var(--ui-mut); font-size: 11px; display: flex; justify-content: center; align-items: center; gap: 5px; }
.ev-chart svg { width: 100%; height: 108px; margin-top: 8px; }
.ev-chart .a3 { fill: rgba(251, 146, 60, 0.2); } .ev-chart .l3 { fill: none; stroke: #fb923c; stroke-width: 2.2; }
.months { color: var(--ui-mut); font-size: 10.5px; margin-top: 4px; display: flex; justify-content: space-between; }

.vc-wrap { grid-template-columns: auto 1fr; align-items: center; gap: 26px; padding: 20px 26px; }
.phone { width: 196px; padding: 8px; border-radius: 30px; background: #18181b; box-shadow: inset 0 0 0 1px var(--ui-line); }
.vc { border-radius: 23px; overflow: hidden; background: #fff; color: #1a2b49; text-align: center; padding-bottom: 14px; }
.vc-cover { height: 70px; background: radial-gradient(120% 120% at 0% 0%, #8fe3d6, #1cbfdc 55%, #1a2b49); }
.vc-av { display: grid; place-items: center; width: 64px; height: 64px; margin: -32px auto 8px; border-radius: 50%; background: #1a2b49; color: #fff; font-weight: 800; font-size: 20px; box-shadow: 0 0 0 4px #fff; }
.vc b { display: block; font-size: 15px; }
.vc small { color: #5b6b82; font-size: 11px; padding: 0 10px; }
.vc-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 12px 10px 8px; }
.vc-btns span { font-size: 10.5px; font-weight: 700; padding: 7px 0; border-radius: 9px; background: #eef3f8; }
.vc-btns .wa { background: #1f9d55; color: #fff; }
.vc-save { display: block; margin: 0 10px; padding: 8px; border-radius: 10px; background: #1a2b49; color: #fff; font-size: 11.5px; font-weight: 700; }
.vc-side { display: grid; gap: 14px; justify-items: start; }
.vc-side p b { display: block; font-size: 15px; }
.qr { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; width: 112px; padding: 10px; border-radius: 12px; background: #fff; }
.qr i { aspect-ratio: 1; border-radius: 2px; background: #e6ebf2; }
.qr i.on { background: #0b1626; }

.wa-ui { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 330px; }
.wa-list { border-right: 1px solid var(--ui-line); padding: 8px; display: grid; gap: 4px; align-content: start; }
.wa-c { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 9px; }
.wa-c.on { background: var(--ui-soft); }
.wa-c b { display: block; font-size: 12px; white-space: nowrap; }
.wa-c small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100px; }
.wa-av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; background: #0b80a0; color: #fff; }
.wa-av.b { background: #7c5a10; } .wa-av.c { background: #3f5f2a; }
.wa-chat { display: grid; grid-template-rows: auto 1fr auto; }
.wa-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--ui-line); }
.wa-on { margin-left: auto; color: var(--green); font-size: 11px; }
.wa-msgs { padding: 14px; display: grid; gap: 7px; align-content: end; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 14px 14px; }
.m { max-width: 78%; padding: 7px 10px; border-radius: 11px; font-size: 12.5px; line-height: 1.35; }
.m.out { justify-self: end; background: #0f5e4c; border-bottom-right-radius: 3px; }
.m.in { justify-self: start; background: #27272a; border-bottom-left-radius: 3px; }
.m.file { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; font-weight: 600; }
.m.file small { grid-column: 2; color: #a7f3d0; }
.pdf { grid-row: span 2; background: #dc2626; color: #fff; font-size: 9.5px; font-weight: 800; padding: 7px 5px; border-radius: 5px; }
.tk { color: #38bdf8; font-size: 11px; margin-left: 4px; }
.wa-input { margin: 10px; padding: 9px 12px; border-radius: 999px; background: var(--ui-soft); color: var(--ui-mut); font-size: 12px; }

.f-ico.wa { background: #dcfce7; color: #15803d; font-size: 13px; }

/* module tabs */
.mod-panels { margin-top: 18px; }
.mod-panel[hidden] { display: none; }
.mod-desc { margin: 0 0 18px 4px; color: #cfdae8; font-size: 16px; max-width: 58ch; min-height: 3.2em; }
.mod-desc b { color: #fff; }
.js .mod-panel.is-entering .device { animation: panel-in 0.55s var(--ease-out); }
.js .mod-panel.is-entering .mod-desc { animation: rise 0.5s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px) scale(0.98); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.tabs { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 9px 15px; white-space: nowrap; font-size: 14px; }

/* service visuals: website and shop */
.frag--site { width: 100%; max-width: 380px; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 20px 40px -20px rgba(26, 43, 73, 0.35), 0 0 0 1px #e6ebf2; background: #fff; }
.fs-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #eef2f7; }
.fs-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c8d2df; }
.fs-bar span { margin-left: 8px; font-size: 11px; color: #6b7a90; background: #fff; padding: 2px 12px; border-radius: 999px; }
.fs-body { padding: 12px; display: grid; gap: 12px; }
.fs-nav { display: flex; align-items: center; gap: 8px; }
.fs-nav b { width: 46px; height: 10px; border-radius: 4px; background: #1a2b49; }
.fs-nav span { width: 26px; height: 6px; border-radius: 4px; background: #d6dee9; }
.fs-nav span:first-of-type { margin-left: auto; }
.fs-nav em { width: 40px; height: 16px; border-radius: 999px; background: var(--accent); }
.fs-hero { display: grid; grid-template-columns: 1fr 0.9fr; gap: 12px; align-items: center; }
.fs-h { font-size: 19px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: #1a2b49; margin-bottom: 8px; }
.fs-btn { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #1a2b49; color: #fff; }
.fs-img { aspect-ratio: 4 / 3; border-radius: 10px; background: radial-gradient(80% 80% at 70% 30%, #8fe3d6, transparent 60%), radial-gradient(90% 90% at 20% 90%, #1cbfdc, transparent 60%), #1a2b49; }
.fs-scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fs-scores span { display: grid; justify-items: center; gap: 2px; padding: 6px 0; border-radius: 9px; background: #f0fdf4; color: #15803d; font-size: 10.5px; font-weight: 600; }
.fs-scores b { font-size: 16px; font-weight: 800; }
.frag-total { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid #e6ebf2; font-weight: 800; font-size: 15px; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero .mg-chart .ln { stroke-dashoffset: 900; animation: draw 2.4s var(--ease-out) 1.1s forwards; }
}
@media (max-width: 720px) {
  .mg { grid-template-columns: 1fr; min-height: 0; }
  .mg-side { display: none; }
  .mg-main, .mg-pad { padding: 12px; gap: 10px; }
  .k strong { font-size: 15px; }
  .k span, .k em { font-size: 10.5px; }
  .hero .mg-chart { display: none; }
  .mg-table th:nth-child(3), .mg-table td:nth-child(3) { display: none; }
  .mg-table { font-size: 11.5px; }
  .mg-totals { min-width: 0; width: 100%; }
  .work { grid-template-columns: minmax(0, 1fr) auto; }
  .work .chip-t { display: none; }
  .ev-kpis { grid-template-columns: 1fr 1fr; }
  .ev-kpis .k:last-child { grid-column: span 2; }
  .ev-row { grid-template-columns: 1fr; }
  .vc-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .vc-side { justify-items: center; }
  .wa-ui { grid-template-columns: 1fr; }
  .wa-list { display: none; }
  .mod-desc { font-size: 15px; min-height: 0; }
  .tab { padding: 8px 13px; }
}
