/* ==========================================================================
   Zero Tech Web: landing page, v3 "cinematic tech" (dark navy + electric blue glass)
   Mobile-first. Fonts self-hosted (Poppins, latin subset).
   ========================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/poppins-400italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/poppins-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/poppins-700-latin.woff2") format("woff2"); }

:root {
  --bg: #070a12;
  --bg-2: #0a0f1c;
  --panel: #0c1324;
  --text: #f4f7fc;
  --soft: #d3dbea;
  --muted: #a3aec4;
  --line: rgba(255, 255, 255, .09);
  --blue: #1e6bff;
  --blue-2: #3b82f6;
  --sky: #5cc8ff;
  --cyan: #22d3ee;
  --wa: #25d366;
  --grad: linear-gradient(135deg, #4a8dff 0%, #1e6bff 52%, #1450e6 100%);
  --grad-text: linear-gradient(90deg, #6fd0ff 0%, #3b82f6 48%, #2a6bff 100%);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .75);
  --r: 20px;
  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text);
  background: var(--bg) url("assets/hero-room-m.webp") center top / 100% auto no-repeat;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; padding-bottom: 76px;
}
@media (min-width: 700px) { body { background-image: url("assets/hero-room.webp"); background-size: max(1600px, 100%) auto; } }
@media (min-width: 960px) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
b, strong { font-weight: 600; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
@media (min-width: 700px) { .wrap { width: min(100% - 64px, var(--wrap)); } }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #0b1633; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--h); padding: 0 1.45em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, filter .25s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--sm { --h: 42px; font-size: .9rem; padding: 0 1.2em; }
.btn--lg { --h: 56px; font-size: 1rem; padding: 0 1.75em; }
.btn--block { width: 100%; }
.btn--grad {
  color: #fff; background: var(--grad);
  box-shadow: 0 12px 30px -10px rgba(30, 107, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--grad:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 18px 40px -12px rgba(30, 107, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--glass {
  color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .12); border-color: rgba(92, 200, 255, .55); transform: translateY(-2px); }
.btn__play { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -.6em; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); }
.btn__play .icon { width: 16px; height: 16px; }
.btn:hover .btn__play .icon { transform: none; }
.btn--wa { color: #04220f; background: var(--wa); box-shadow: 0 12px 28px -12px rgba(37, 211, 102, .8); }
.btn--wa:hover { transform: translateY(-2px); filter: brightness(1.05); }
.icon--wa { color: var(--wa); }

/* ---------- Top bar ---------- */
.topbar { position: relative; z-index: 60; font-size: .8rem; color: var(--soft); background: rgba(4, 6, 12, .55); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.topbar__contact { display: flex; align-items: center; gap: 14px; min-width: 0; }
.topbar__link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; white-space: nowrap; transition: color .2s; }
.topbar__link:hover { color: #fff; }
.topbar__link .icon { width: 14px; height: 14px; color: var(--sky); }
.topbar__link--wa .icon { color: var(--wa); }
.topbar__link--mail span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 560px) { .topbar__link--mail span { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; } .topbar__contact { gap: 22px; } }
.lang-toggle { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.lang-toggle__btn { min-width: 40px; min-height: 28px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--soft); font-size: .75rem; font-weight: 600; letter-spacing: .06em; cursor: pointer; }
.lang-toggle__btn[aria-pressed="true"] { color: #fff; background: var(--grad); box-shadow: 0 4px 14px -4px rgba(30, 107, 255, .9); }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .3s, border-color .3s, box-shadow .3s; border-bottom: 1px solid transparent; }
.site-header.is-stuck { background: rgba(7, 10, 18, .78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .9); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
.brand__mark { width: 36px; height: 36px; filter: drop-shadow(0 6px 14px rgba(30, 107, 255, .55)); }
.brand__word b { font-weight: 600; margin: 0 .22em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: #5b9dff; -webkit-text-fill-color: transparent; }
.site-nav { display: none; }
.site-nav__list { display: flex; gap: 6px; }
.site-nav a { position: relative; display: block; padding: 10px 14px; font-size: .92rem; font-weight: 500; color: #c3cbe0; transition: color .2s; }
.site-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad-text); box-shadow: 0 0 12px rgba(59, 130, 246, .9); transform: scaleX(0); transition: transform .3s var(--ease); }
.site-nav a:hover, .site-nav a.is-active { color: #fff; }
.site-nav a.is-active::after { transform: scaleX(1); }
@media (min-width: 960px) {
  .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 78px; }
  .site-nav { display: block; }
  .site-header__cta { justify-self: end; }
}
@media (max-width: 380px) { .brand { font-size: 1rem; } .site-header__cta { padding: 0 1em; } }

/* ---------- Kicker (italic label flanked by thin lines) ---------- */
.kicker {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-style: italic; font-size: clamp(1rem, .92rem + .45vw, 1.3rem); line-height: 1.35; letter-spacing: .01em;
  color: #6fb6ff;
}
.kicker > span { color: #6fb6ff; background: linear-gradient(90deg, #8fd6ff, #4d8dff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .1em; }
@media (min-width: 960px) { .hero .kicker { font-size: 1.5rem; } }
.kicker::before, .kicker::after { content: ""; flex: 0 1 64px; min-width: 18px; height: 1px; background: linear-gradient(90deg, transparent, #3b82f6); }
.kicker::after { background: linear-gradient(90deg, #3b82f6, transparent); }
.kicker--left { justify-content: flex-start; }
@media (max-width: 559px) { .hero .kicker { font-size: .92rem; gap: 10px; } .hero .kicker::before, .hero .kicker::after { min-width: 12px; } }
.kicker--left::before { display: none; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding: 28px 0 150px; isolation: isolate; }
.hero__intro { text-align: center; position: relative; z-index: 2; }
.hero__title {
  margin: 14px auto 0; max-width: 17ch; font-weight: 700; letter-spacing: -.025em; line-height: 1.08;
  font-size: clamp(2.15rem, 1.25rem + 4vw, 4.4rem); text-wrap: balance;
  text-shadow: 0 4px 40px rgba(30, 107, 255, .25);
}
.hero__title .br-d { display: none; }
.hero__title em {
  display: block; font-style: normal; padding-bottom: .06em;
  color: #4d8dff; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 26px rgba(30, 107, 255, .45));
}
.hero__lead { max-width: 46rem; margin: 18px auto 0; text-wrap: pretty; font-size: clamp(1rem, .96rem + .3vw, 1.2rem); line-height: 1.6; color: var(--soft); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.hero__actions .btn { width: 100%; max-width: 360px; }
@media (min-width: 560px) { .hero__actions .btn { width: auto; } }
.hero__wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .9rem; color: var(--muted); transition: color .2s; }
.hero__wa .icon { color: var(--wa); width: 18px; height: 18px; }
.hero__wa:hover { color: #fff; }
@media (min-width: 960px) {
  .hero { padding-top: 44px; }
  .hero__title { max-width: 20ch; margin-top: 16px; }
  html[lang="en"] .hero__title { max-width: 18ch; }
}

/* Stage: desk plane + laptop + props */
.hero__stage { position: relative; z-index: 1; width: min(100% - 24px, 900px); margin: 40px auto 0; }
.desk {
  position: absolute; left: 50%; top: 60%; width: 100vw; height: 620px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 30% 22% at 50% 14%, rgba(59, 130, 246, .45), transparent 70%),
    radial-gradient(ellipse 30% 30% at 18% 18%, rgba(210, 222, 240, .16), transparent 70%),
    radial-gradient(ellipse 30% 30% at 84% 16%, rgba(210, 222, 240, .14), transparent 70%),
    linear-gradient(180deg, rgba(200, 212, 232, 0) 0%, rgba(205, 216, 234, .34) 3%, rgba(160, 175, 200, .3) 16%, rgba(80, 96, 128, .28) 38%, rgba(20, 28, 46, .35) 64%, rgba(7, 10, 18, 0) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.desk::before { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(190, 210, 245, .35), transparent); }

.laptop { position: relative; container-type: inline-size; }
.laptop__float { position: relative; will-change: transform; }
.laptop__glow { position: absolute; left: 12%; right: 12%; top: 6%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 107, 255, .55), rgba(30, 107, 255, 0)); filter: blur(30px); opacity: .7; z-index: -1; pointer-events: none; }
.laptop__lid {
  position: relative; width: 83.333%; margin: 0 auto; padding: 1.4cqw 1.4cqw 2cqw;
  border-radius: 2.2cqw 2.2cqw .7cqw .7cqw;
  background: linear-gradient(180deg, #2b3039, #14171d 60%, #0f1116);
  box-shadow: 0 0 0 .22cqw #7d8694, inset 0 0 0 .14cqw #3b414b, 0 3cqw 6cqw -1.5cqw rgba(0, 0, 0, .8), 0 0 9cqw -1cqw rgba(30, 107, 255, .55);
}
.laptop__cam { position: absolute; top: .55cqw; left: 50%; width: .55cqw; height: .55cqw; margin-left: -.275cqw; border-radius: 50%; background: #0b0d11; box-shadow: inset 0 0 0 .1cqw #2a2f38; }
.laptop__screen { position: relative; aspect-ratio: 16 / 10; border-radius: .5cqw; overflow: hidden; background: #050814; container-type: inline-size; }
.laptop__glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .03) 32%, transparent 32.2%); }
.laptop__base { width: 100%; height: auto; margin-top: -.25cqw; position: relative; }
.laptop__shadow { position: absolute; left: 6%; right: 6%; bottom: -2.2cqw; height: 5cqw; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); filter: blur(6px); z-index: 0; }
.laptop__tag {
  position: absolute; z-index: 3; top: -1.6rem; right: 9%;
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 500; letter-spacing: .02em; color: var(--soft);
  background: rgba(10, 16, 30, .7); border: 1px solid rgba(120, 160, 255, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.laptop__tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 8px var(--sky); }

/* Mini sample website inside the screen (sizes in container units = crisp at any width) */
.ms {
  position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 2.4cqw; padding: 2.8cqw 4.2cqw 2.6cqw;
  font-size: 11px; font-size: 1.62cqw; line-height: 1.35; color: #fff; text-align: left;
  background:
    radial-gradient(circle at 76% 48%, rgba(30, 107, 255, .5), transparent 42%),
    radial-gradient(circle at 12% 108%, rgba(34, 211, 238, .2), transparent 38%),
    linear-gradient(160deg, #0b1330, #050816 70%);
}
.ms .icon { width: 1.1em; height: 1.1em; }
.ms__nav { display: flex; align-items: center; gap: 3em; }
.ms__logo { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: 1.05em; }
.ms__logo i { width: 1.35em; height: 1.35em; border-radius: .35em; background: var(--grad); box-shadow: 0 0 1em rgba(59, 130, 246, .8); }
.ms__links { display: flex; gap: 2em; margin-left: auto; font-size: .82em; color: #b8c3da; }
.ms__links .is-on { color: #fff; box-shadow: 0 .25em 0 -.1em #3b82f6; }
.ms__btn { padding: .45em 1.1em; border-radius: 99em; background: #fff; color: #0b1633; font-size: .78em; font-weight: 600; }
.ms__hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 5%; }
.ms__title { font-size: 2.6em; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.ms__title em { font-style: normal; color: #5b9dff; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ms__sub { margin-top: .8em; font-size: .9em; color: #aab6cf; }
.ms__ctas { display: flex; align-items: center; gap: 1.2em; margin-top: 1.4em; font-size: .82em; font-weight: 600; }
.ms__b1 { padding: .7em 1.4em; border-radius: 99em; background: var(--grad); box-shadow: 0 .6em 1.4em -.4em rgba(30, 107, 255, .9); }
.ms__b2 { display: inline-flex; align-items: center; gap: .55em; color: #dbe4f5; }
.ms__b2 i { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); }
.ms__chart {
  padding: 1.1em 1.1em 1em; border-radius: 1em;
  background: linear-gradient(160deg, rgba(40, 70, 140, .45), rgba(10, 18, 40, .55));
  border: 1px solid rgba(120, 170, 255, .3); box-shadow: 0 0 2.4em -.4em rgba(30, 107, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.ms__chart-h { display: flex; align-items: center; gap: .45em; font-size: .85em; font-weight: 600; color: #cfe0ff; }
.ms__chart-h .icon { color: var(--sky); }
.ms__plot { position: relative; height: 8.4em; margin-top: .8em; }
.ms__bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: .55em; padding: 0 .2em; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.ms__bars i { flex: 1; height: var(--h); border-radius: .3em .3em 0 0; background: linear-gradient(180deg, #7ad5ff, #2f7bff 55%, rgba(30, 107, 255, .25)); box-shadow: 0 0 1em rgba(59, 130, 246, .55); }
.ms__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ms__line path { fill: none; stroke: #bff0ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px #5cc8ff); }
.ms__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em; margin-top: .9em; }
.ms__tiles i { display: grid; place-items: center; aspect-ratio: 1.3; border-radius: .5em; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #cfe0ff; }
.ms__strip { display: flex; justify-content: space-between; gap: 1em; padding-top: 1em; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8em; color: #aab6cf; }
.ms__strip > span { display: inline-flex; align-items: center; gap: .5em; }
.ms__strip .icon { color: var(--sky); }

/* Phone lying on the desk (desktop only, decorative) */
.hero__phone { display: none; }
@media (min-width: 1100px) {
  .hero__phone {
    display: block; position: absolute; left: -9%; bottom: -4%; width: 190px; height: 92px; z-index: 2;
    transform: perspective(700px) rotateX(58deg) rotateZ(-22deg);
    border-radius: 18px; background: linear-gradient(135deg, #3a404b, #0e1015); box-shadow: 0 30px 40px -16px rgba(0, 0, 0, .9), inset 0 0 0 2px #4b525e;
  }
  .hero__phone span { position: absolute; inset: 6px 8px; border-radius: 13px; background: radial-gradient(circle at 70% 40%, rgba(59, 130, 246, .9), transparent 60%), linear-gradient(135deg, #0a1a44, #04081a); box-shadow: 0 0 30px rgba(30, 107, 255, .5); }
}

.hero__mouse { display: none; }
@media (min-width: 1100px) {
  .hero__mouse {
    display: block; position: absolute; right: -6%; bottom: 4%; width: 62px; height: 96px; z-index: 2;
    transform: perspective(600px) rotateX(62deg) rotateZ(14deg); border-radius: 40px 40px 34px 34px;
    background: radial-gradient(ellipse at 40% 25%, #f4f7fb, #b9c2cf 60%, #8d96a3); box-shadow: 0 26px 30px -14px rgba(0, 0, 0, .85), inset 0 -3px 6px rgba(0, 0, 0, .25);
  }
  .hero__mouse::before { content: ""; position: absolute; left: 50%; top: 10px; width: 2px; height: 26px; margin-left: -1px; background: rgba(90, 100, 115, .5); }
}

/* Lower hero: service cards, facts bar, tagline */
.hero__lower { position: relative; z-index: 2; margin-top: 40px; }
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 940px; margin: 0 auto; }
.svc__card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 18px 12px 14px; border-radius: 18px; color: #0b1633;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(222, 230, 244, .88));
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7), inset 0 1px 0 #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc__card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -16px rgba(0, 0, 0, .8), 0 0 0 1px rgba(92, 200, 255, .6); }
.svc__ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 4px; border-radius: 50%; color: #1e5bf0; background: linear-gradient(135deg, #e8f0ff, #cddcff); box-shadow: inset 0 0 0 1px rgba(30, 107, 255, .18); }
.svc__ico .icon { width: 22px; height: 22px; }
.svc__title { font-size: .98rem; font-weight: 600; line-height: 1.25; letter-spacing: -.005em; }
.svc__text { font-size: .8rem; line-height: 1.4; color: #46536d; }
.svc__dots { display: flex; gap: 5px; margin-top: auto; padding-top: 6px; }
.svc__dots i { width: 6px; height: 6px; border-radius: 50%; background: #1e6bff; opacity: .35; }
.svc__dots i:first-child { opacity: 1; }
.svc__card--hot {
  color: #fff; border-color: rgba(150, 190, 255, .7);
  background: linear-gradient(160deg, #3a86ff 0%, #1e62f4 48%, #0f3fcc 100%);
  box-shadow: 0 24px 50px -14px rgba(30, 107, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.svc__card--hot .svc__ico { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.svc__card--hot .svc__text { color: #e1eaff; }
.svc__card--hot .svc__dots i { background: #fff; }
@media (min-width: 760px) {
  .svc { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .svc__card { padding: 22px 16px 16px; }
  .svc__card--hot { transform: translateY(-8px); }
  .svc__card--hot:hover { transform: translateY(-12px); }
}

.facts {
  display: flex; flex-direction: column; gap: 14px; max-width: 940px; margin: 22px auto 0; padding: 14px;
  border-radius: 22px; background: linear-gradient(180deg, rgba(22, 32, 56, .72), rgba(9, 13, 25, .78));
  border: 1px solid rgba(140, 175, 240, .2); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.facts__list { display: grid; grid-template-columns: repeat(2, 1fr); }
.facts__list li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 6px; }
.facts__list li:nth-child(2n) { border-left: 1px solid rgba(255, 255, 255, .12); }
.facts__list li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .12); }
.facts__v { font-size: 1.6rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.facts__l { font-size: .8rem; color: var(--muted); }
.facts__cta { width: 100%; }
@media (min-width: 760px) {
  .facts { flex-direction: row; align-items: center; padding: 12px 12px 12px 8px; }
  .facts__list { flex: 1; grid-template-columns: repeat(4, 1fr); }
  .facts__list li { padding: 6px 8px; }
  .facts__list li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
  .facts__list li:nth-child(n + 3) { border-top: 0; }
  .facts__cta { width: auto; }
}

.tagline { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 9px; margin: 34px auto 0; font-size: .86rem; font-weight: 500; letter-spacing: .02em; color: #dfe6f5; }
@media (min-width: 560px) { .tagline { gap: 6px 14px; font-size: clamp(.95rem, .85rem + .4vw, 1.15rem); letter-spacing: .04em; } }
.tagline i { font-style: normal; color: var(--blue-2); text-shadow: 0 0 10px rgba(59, 130, 246, .9); }
.tagline::before, .tagline::after { content: ""; width: clamp(14px, 6vw, 90px); height: 1px; background: linear-gradient(90deg, transparent, #3b82f6); }
.tagline::after { background: linear-gradient(90deg, #3b82f6, transparent); }

.hero__waves { position: absolute; left: 0; bottom: 0; width: 100%; height: 200px; z-index: 0; pointer-events: none; }
.hero__waves path { vector-effect: non-scaling-stroke; }
@media (min-width: 960px) { .hero__waves { height: 240px; } }

/* ---------- Sections ---------- */
.sec { position: relative; padding: 76px 0; }
#problem::before, #included::before, #industries::before, #faq::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
#problem::before { background: radial-gradient(ellipse 40% 35% at 0% 60%, rgba(30, 107, 255, .1), transparent 70%); }
#included::before { background: radial-gradient(ellipse 40% 40% at 100% 40%, rgba(34, 211, 238, .07), transparent 70%); }
#industries::before { background: radial-gradient(ellipse 45% 35% at 50% 100%, rgba(30, 107, 255, .1), transparent 70%); }
#faq::before { background: radial-gradient(ellipse 35% 40% at 10% 30%, rgba(30, 107, 255, .08), transparent 70%); }
main { position: relative; z-index: 0; }
.sec--glow::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 50% 40% at 50% 30%, rgba(30, 107, 255, .13), transparent 70%); }
@media (min-width: 960px) { .sec { padding: 110px 0; } }
.sec-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.sec-title { margin-top: 12px; font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.sec-intro { margin-top: 14px; font-size: clamp(1rem, .96rem + .2vw, 1.1rem); color: var(--muted); }

.grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; padding: 26px; border-radius: var(--r);
  background: var(--glass); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px -28px rgba(30, 107, 255, .55); }
.card__title { margin-top: 18px; font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.card__text { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.card__num { position: absolute; top: 20px; right: 24px; font-size: 2.4rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(120, 160, 255, .35); }

.ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: var(--grad); box-shadow: 0 12px 26px -10px rgba(30, 107, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.ico .icon { width: 24px; height: 24px; }
.ico--soft { color: #8cc2ff; background: rgba(59, 130, 246, .12); box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .35); }
.ico--sm { width: 40px; height: 40px; border-radius: 12px; }
.ico--sm .icon { width: 18px; height: 18px; }

/* Outcomes panel (gradient border) */
.panel {
  position: relative; margin-top: 28px; padding: 30px 24px; border-radius: 28px; border: 1px solid transparent;
  background: linear-gradient(180deg, #0d1528, #0a0f1d) padding-box, linear-gradient(135deg, rgba(92, 170, 255, .7), rgba(34, 211, 238, .15) 45%, rgba(59, 130, 246, .5)) border-box;
  box-shadow: 0 40px 90px -40px rgba(30, 107, 255, .55);
}
.outcomes { display: grid; gap: 26px; }
.outcomes__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.outcomes__title b { font-weight: 700; color: #5b9dff; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.outcomes__list { display: grid; gap: 22px; }
.outcomes__list li { display: flex; gap: 16px; align-items: flex-start; }
.outcomes__list .ico { flex: none; width: 44px; height: 44px; border-radius: 14px; }
.outcomes__list .ico .icon { width: 20px; height: 20px; }
.outcomes__list h3 { font-size: 1.02rem; font-weight: 600; }
.outcomes__list p { margin-top: 4px; font-size: .92rem; color: var(--muted); }
@media (min-width: 700px) { .outcomes__list { grid-template-columns: repeat(2, 1fr); gap: 26px 30px; } }
@media (min-width: 960px) { .panel { padding: 48px; margin-top: 36px; } .outcomes { grid-template-columns: .8fr 1.6fr; gap: 48px; align-items: center; } }

/* Steps (timeline) */
.steps { position: relative; }
.steps__line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; }
.steps__line i { position: absolute; inset: 0; background: linear-gradient(180deg, #5cc8ff, #1e6bff 60%, rgba(30, 107, 255, .15)); box-shadow: 0 0 14px rgba(59, 130, 246, .8); transform-origin: 50% 0; }
.steps__list { display: grid; gap: 22px; }
.step { position: relative; padding-left: 76px; }
.step__num {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font-weight: 700; font-size: 1.05rem; color: #fff; background: var(--grad);
  box-shadow: 0 0 0 6px rgba(7, 10, 18, 1), 0 0 0 7px rgba(92, 200, 255, .35), 0 10px 30px -6px rgba(30, 107, 255, .9);
}
.step__card { padding: 24px; }
.step__card .card__title { margin-top: 16px; }
@media (min-width: 960px) {
  .steps__line { left: 12.5%; right: 12.5%; top: 27px; bottom: auto; width: auto; height: 2px; }
  .steps__line i { background: linear-gradient(90deg, #5cc8ff, #1e6bff 50%, #5cc8ff); transform-origin: 0 50%; }
  .steps__list { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .step { padding-left: 0; padding-top: 84px; }
  .step__num { left: 50%; margin-left: -28px; }
  .step__card { height: 100%; text-align: center; }
  .step__card .ico { margin: 0 auto; }
}

/* Included */
.card--inc .card__title, .card--ind .card__title { font-size: 1.05rem; }
.card--inc .card__text, .card--ind .card__text { font-size: .92rem; }
#included .center { margin-top: 36px; }

/* Pricing */
.pricing { display: grid; gap: 40px; align-items: center; }
.pricing__copy .sec-title { text-align: left; }
.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--soft); }
.ticks .icon { width: 24px; height: 24px; padding: 5px; margin-top: 1px; border-radius: 50%; color: #fff; background: var(--grad); box-shadow: 0 6px 14px -4px rgba(30, 107, 255, .9); }
.price {
  position: relative; padding: 30px 24px; border-radius: 28px; border: 1px solid transparent;
  background: linear-gradient(180deg, #101a33, #0a0f1e) padding-box, linear-gradient(160deg, #6fd0ff, #1e6bff 40%, rgba(30, 107, 255, .15) 75%, rgba(92, 200, 255, .5)) border-box;
  box-shadow: 0 50px 100px -40px rgba(30, 107, 255, .75), 0 0 0 8px rgba(30, 107, 255, .05);
}
.price::before { content: ""; position: absolute; inset: 10% 10% auto; height: 60%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 107, 255, .55), transparent); filter: blur(40px); }
.price__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price__plan { font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8cc2ff; }
.price__badge { padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: #fff; background: var(--grad); box-shadow: 0 6px 16px -6px rgba(30, 107, 255, .9); }
.price__amount { display: flex; align-items: flex-start; margin-top: 18px; font-size: clamp(4rem, 3rem + 4vw, 5.4rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.price__cur { font-size: .45em; margin: .12em .06em 0 0; color: #8cc2ff; }
.price__per { align-self: flex-end; margin: 0 0 .5em .5em; font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price__mxn { margin-top: 10px; font-weight: 500; color: var(--soft); }
.price__setup { margin-top: 4px; font-size: .95rem; color: var(--muted); }
.price__setup b { color: #fff; }
.price__lines { display: grid; gap: 12px; margin: 24px 0 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.price__lines li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--soft); }
.price__lines .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--sky); }
.price__note { margin-top: 14px; text-align: center; font-size: .88rem; color: var(--muted); }
@media (min-width: 960px) { .pricing { grid-template-columns: 1fr 1fr; gap: 72px; } .price { padding: 40px; } }

/* Industries + marquee */
.marquee { margin-top: 44px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 12px; padding-right: 12px; }
.marquee__group li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; white-space: nowrap; font-size: .92rem; font-weight: 500; color: var(--soft); background: rgba(255, 255, 255, .045); border: 1px solid rgba(120, 160, 255, .22); }
.marquee__group li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 8px var(--sky); }
@keyframes marquee { to { transform: translateX(-50%); } }
.more { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 640px; margin: 32px auto 0; text-align: left; color: var(--muted); }
.more__ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; color: var(--sky); border: 1px solid rgba(92, 200, 255, .4); }

/* FAQ */
.faq { display: grid; gap: 32px; }
.faq__head .sec-title { text-align: left; }
.faq__wa { margin-top: 26px; white-space: normal; text-align: left; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 16px; background: var(--glass); border: 1px solid var(--line); transition: border-color .3s, background-color .3s; }
.faq__item[open] { border-color: rgba(59, 130, 246, .5); background: linear-gradient(180deg, rgba(30, 107, 255, .1), rgba(255, 255, 255, .02)); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__pm { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; color: var(--sky); background: rgba(59, 130, 246, .12); transition: transform .3s var(--ease), background-color .3s; }
.faq__item[open] .faq__pm { transform: rotate(45deg); color: #fff; background: var(--grad); }
.faq__item p { padding: 0 20px 20px; color: var(--muted); }
@media (min-width: 960px) { .faq { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } .faq__head { position: sticky; top: 110px; } }

/* Contact */
.contact {
  display: grid; gap: 34px; padding: 26px 20px; border-radius: 30px; border: 1px solid transparent; overflow: hidden; position: relative;
  background: radial-gradient(ellipse 60% 70% at 0% 0%, rgba(30, 107, 255, .22), transparent 60%) padding-box, linear-gradient(180deg, #0d1529, #090e1b) padding-box,
    linear-gradient(140deg, rgba(92, 170, 255, .65), rgba(30, 107, 255, .1) 50%, rgba(34, 211, 238, .4)) border-box;
  box-shadow: 0 50px 110px -50px rgba(30, 107, 255, .7);
}
.contact .sec-title { text-align: left; }
.contact__direct { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact__label { width: 100%; font-size: .85rem; font-weight: 600; color: var(--soft); }
.contact__link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--soft); transition: color .2s; }
.contact__link:hover { color: #fff; }
.contact__social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; width: 100%; margin-top: 4px; }
.contact__social .contact__label { width: auto; }

/* Social icons (glass circles, blue glow on hover) */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social__link {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: #cfe0ff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(120, 160, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .25s var(--ease), color .25s, background .25s, border-color .25s, box-shadow .25s;
}
.social__link .icon { width: 20px; height: 20px; }
.social__link:hover, .social__link:focus-visible {
  color: #fff; background: var(--grad); border-color: rgba(143, 190, 255, .7); transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .18), 0 10px 26px -6px rgba(30, 107, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.social--sm { margin-top: 18px; }
.social--sm .social__link { width: 40px; height: 40px; }
.social--sm .social__link .icon { width: 18px; height: 18px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.1fr; gap: 56px; padding: 56px; } }

.form { display: grid; gap: 16px; align-content: start; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__field { display: grid; gap: 7px; }
.form__label { font-size: .86rem; font-weight: 500; color: var(--soft); }
.form__label em { font-style: normal; color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(3, 6, 14, .6); color: #fff; transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 96px; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235cc8ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form select option { color: #0b1633; background: #fff; }
.form input::placeholder, .form textarea::placeholder { color: #7f8aa3; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(59, 130, 246, .25); }
.form [aria-invalid="true"] { border-color: #ff6b81; box-shadow: 0 0 0 4px rgba(255, 107, 129, .18); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { padding: 10px 14px; border-radius: 10px; font-size: .9rem; color: #ffd2da; background: rgba(255, 107, 129, .12); border: 1px solid rgba(255, 107, 129, .35); }
.form__privacy { font-size: .82rem; color: var(--muted); text-align: center; }
.form__privacy a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.form__status { display: grid; gap: 10px; padding: 20px; border-radius: 16px; background: rgba(37, 211, 102, .08); border: 1px solid rgba(37, 211, 102, .35); }
.form__status[hidden] { display: none; }
.form__status-title { font-weight: 700; font-size: 1.1rem; }
.form__status p:not(.form__status-title) { color: var(--soft); font-size: .95rem; }

/* Footer */
.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 15, 28, .6), #05070d); }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer__tag { max-width: 34ch; margin-top: 14px; font-size: .92rem; color: var(--muted); }
.site-footer__h { margin-bottom: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8cc2ff; }
.site-footer ul:not(.social) { display: grid; gap: 4px; }
.site-footer ul:not(.social) a { display: inline-block; padding: 4px 0; color: var(--soft); transition: color .2s; }
.site-footer ul:not(.social) a:hover { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }

/* Mobile sticky bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 10, 18, .86); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.mobile-bar__btn { --h: 50px; padding: 0 1em; }
@media (min-width: 960px) { .mobile-bar { display: none; } }

/* ---------- Motion safety ---------- */
/* Desktop only: hero pieces start hidden for the GSAP entrance (html.anim is removed by JS or after 2.2 s). */
@media (min-width: 960px) {
  html.anim .hero [data-hero], html.anim .laptop, html.anim .svc__card, html.anim .facts, html.anim .tagline, html.anim .hero__phone, html.anim .hero__mouse { opacity: 0; }
}
/* No-GSAP fallback: a light CSS fade instead. */
html.anim-fallback .hero [data-hero], html.anim-fallback .laptop, html.anim-fallback .svc__card, html.anim-fallback .facts { animation: fadeUp .7s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; animation: none; justify-content: center; }
  .marquee__group { flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   Privacy notice page (privacy.html): long-form legal text in the same glass style
   ========================================================================== */
/* Only the block in the current language is shown (html[data-lang] is set before first paint). */
html:not([data-lang="en"]) [data-lang-block="en"], html[data-lang="en"] [data-lang-block="es"] { display: none !important; }

.legal { position: relative; padding: 28px 0 90px; }
.legal::before { content: ""; position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 30% 0%, rgba(30, 107, 255, .16), transparent 70%); }
.legal__back { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: .9rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.legal__back .icon { transform: rotate(180deg); transition: transform .25s var(--ease); }
.legal__back:hover { color: #fff; }
.legal__back:hover .icon { transform: rotate(180deg) translateX(3px); }
.legal__hero { max-width: 820px; margin: 18px 0 30px; }
.legal__title { margin-top: 12px; font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
.legal__lead { max-width: 62ch; margin-top: 14px; font-size: clamp(1rem, .96rem + .25vw, 1.12rem); color: var(--soft); }
.legal__updated { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 14px; border-radius: 999px; font-size: .85rem; color: #cfe0ff; background: rgba(59, 130, 246, .12); border: 1px solid rgba(120, 160, 255, .28); }
.legal__updated .icon { color: var(--sky); }

.legal__summary {
  position: relative; max-width: 980px; margin-bottom: 40px; padding: 24px 22px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(30, 107, 255, .14), rgba(30, 107, 255, .04)), var(--panel);
  border: 1px solid rgba(120, 160, 255, .35);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, .08), 0 24px 60px -28px rgba(30, 107, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.legal__summary h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 600; }
.legal__summary h2 .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(30, 107, 255, .9); }
.legal__summary p { margin-top: 12px; color: var(--soft); font-size: .97rem; }
.legal__summary b { color: #fff; }
.legal__summary a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 700px) { .legal__summary { padding: 30px 34px; } }

.legal__layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .legal__layout { grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; } }

.toc { padding: 18px 16px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.toc__h { margin: 0 0 8px 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8cc2ff; }
.toc ol { display: grid; gap: 2px; }
.toc a { display: flex; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: .88rem; line-height: 1.4; color: var(--muted); transition: color .2s, background-color .2s; }
.toc a .num { flex: none; min-width: 1.6em; color: var(--sky); font-weight: 600; }
.toc a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
@media (min-width: 960px) { .toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; } }

.prose { max-width: 74ch; font-size: 1rem; line-height: 1.75; color: var(--soft); }
.prose > * + * { margin-top: 14px; }
.prose__label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8cc2ff; }
.prose h2 { display: flex; gap: .5em; align-items: baseline; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); font-size: clamp(1.2rem, 1.1rem + .45vw, 1.45rem); font-weight: 600; line-height: 1.3; color: #fff; scroll-margin-top: 16px; }
.prose__label + h2 { margin-top: 12px; padding-top: 0; border-top: 0; }
.prose h2 .num { color: var(--sky); text-shadow: 0 0 14px rgba(59, 130, 246, .6); }
.prose h3 { margin-top: 26px; font-size: 1.04rem; font-weight: 600; color: #fff; }
.prose h3 + * { margin-top: 10px; }
.prose ul, .prose ol { display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 8px rgba(59, 130, 246, .85); }
.prose ol { counter-reset: step; }
.prose ol li { position: relative; padding-left: 38px; counter-increment: step; }
.prose ol li::before { content: counter(step); position: absolute; left: 0; top: .15em; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: .8rem; font-weight: 700; color: #fff; background: var(--grad); box-shadow: 0 6px 14px -4px rgba(30, 107, 255, .9); }
.prose b { color: #fff; }
.prose a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { color: #fff; }
.prose code { padding: 1px 6px; border-radius: 6px; font-size: .88em; color: #cfe0ff; background: rgba(255, 255, 255, .07); }
.prose .note { padding: 16px 18px; border-radius: 12px; background: rgba(59, 130, 246, .08); border: 1px solid rgba(120, 160, 255, .22); border-left: 3px solid var(--blue-2); }

/* Founder placeholders ({{LEGAL_NAME}}, {{ADDRESS}}): impossible to miss until CONFIG is filled in. */
.is-placeholder { padding: 1px 7px; border-radius: 6px; font-weight: 600; color: #ffd66b; background: rgba(255, 196, 0, .12); border: 1px dashed rgba(255, 196, 0, .7); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
