/* ============================================================
   ZynTrail marketing site — dark landing
   ============================================================ */

:root {
  --bg: #06080a;
  --bg-2: #0b0e11;
  --surface: #0f1316;
  --surface-2: #141a1e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #ebf2f5;
  --text-2: #c3d3db;
  --muted: #8fa3ad;
  --blue: #3385f0;
  --blue-2: #589bf3;
  --green: #09a069;
  --green-2: #35b084;
  --purple: #a641fa;
  --purple-2: #b663fb;
  --orange: #f68d2a;
  --red: #d02241;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
figure { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.container.narrow { width: min(820px, calc(100% - 48px)); }
.section { position: relative; padding: 120px 0; }
.small { font-size: 14px; }
.muted { color: var(--muted); }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--green-2), var(--blue-2) 50%, var(--purple-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
.lede { color: var(--text-2); font-size: clamp(17px, 1.4vw, 19px); max-width: 720px; margin-top: 18px; }
.section-head { text-align: center; margin: 0 auto 56px; max-width: 820px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head .lede { margin-left: auto; margin-right: auto; }
.section-head.left .lede { margin-left: 0; }
.prose p + p { margin-top: 18px; }
.prose { color: var(--text-2); font-size: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, rgba(9, 160, 105, 0.22), rgba(9, 160, 105, 0.08));
  border-color: rgba(53, 176, 132, 0.85);
  box-shadow: 0 0 0 1px rgba(53, 176, 132, 0.15), 0 0 28px rgba(53, 176, 132, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(53, 176, 132, 0.3), 0 8px 40px rgba(53, 176, 132, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1); background: linear-gradient(180deg, rgba(9, 160, 105, 0.34), rgba(9, 160, 105, 0.14)); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); transform: translateY(-2px); }
.btn-pill { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); padding: 11px 20px; }
.btn-pill:hover { border-color: var(--green-2); box-shadow: 0 0 20px rgba(53, 176, 132, 0.25); }
.btn.full { width: 100%; justify-content: center; }
.btn .ic { width: 16px; height: 16px; }

/* ---------- icons (mask-based, colour from currentColor) ---------- */
.ic, .ic-big {
  display: inline-block; flex: none;
  background-color: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.ic { width: 16px; height: 16px; vertical-align: -3px; }
.ic-big { width: 26px; height: 26px; margin-bottom: 18px; background: linear-gradient(135deg, var(--green-2), var(--blue-2)); }
.ic.flip { transform: scaleX(-1); }
.ic-mail { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.ic-phone { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.ic-msgr { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2C6.5 2 2 6.1 2 11.3c0 2.9 1.4 5.5 3.7 7.2V22l3.4-1.9c.9.3 1.9.4 2.9.4 5.5 0 10-4.1 10-9.3S17.5 2 12 2zm1 12.4-2.6-2.7-5 2.7 5.5-5.8 2.6 2.7 4.9-2.7-5.4 5.8z'/%3E%3C/svg%3E"); }
.ic-ig { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%23000'/%3E%3C/svg%3E"); }
.ic-wa { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.6.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 12 12 0 0 0 4.6 4c1.7.7 2.3.8 3.2.7a2.7 2.7 0 0 0 1.8-1.3 2.2 2.2 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E"); }
.ic-spark { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2l1.8 6.2L20 10l-6.2 1.8L12 18l-1.8-6.2L4 10l6.2-1.8zM19 15l.9 3.1L23 19l-3.1.9L19 23l-.9-3.1L15 19l3.1-.9zM5 1l.7 2.3L8 4l-2.3.7L5 7l-.7-2.3L2 4l2.3-.7z'/%3E%3C/svg%3E"); }
.ic-grid { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.ic-arrow { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.ic-sun { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.ic-moon { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z'/%3E%3C/svg%3E"); }
.ic-timeline { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 3v18'/%3E%3Ccircle cx='6' cy='7' r='2.2' fill='%23000' stroke='none'/%3E%3Ccircle cx='6' cy='13' r='2.2' fill='%23000' stroke='none'/%3E%3Ccircle cx='6' cy='19' r='2.2' fill='%23000' stroke='none'/%3E%3Cpath d='M11 7h9M11 13h7M11 19h5'/%3E%3C/svg%3E"); }
.ic-inbox { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.5 5.1 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.5-6.9A2 2 0 0 0 16.8 4H7.2a2 2 0 0 0-1.7 1.1z'/%3E%3C/svg%3E"); }
.ic-clock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ic-shield { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }

/* ============================================================ NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px 0;
  transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(6, 8, 10, 0.72);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { width: min(1280px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links > a:not(.btn) { position: relative; color: var(--text-2); transition: color 0.25s; padding: 4px 0; }
.nav-links > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: linear-gradient(90deg, var(--green-2), var(--blue-2)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out); }
.nav-links > a:not(.btn):hover { color: #fff; }
.nav-links > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-signin { margin-left: 8px; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 5px 9px; border-radius: 999px; color: var(--muted); transition: background 0.25s, color 0.25s; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-current { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav-links > .lang-switch a::after { display: none; }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================ HERO + BACKGLOW */
.hero { position: relative; overflow: hidden; padding: 190px 0 60px; min-height: 100vh; }

.backglow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.backglow .blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen; opacity: 0.85;
  will-change: transform;
  animation: drift 26s ease-in-out infinite alternate;
}
.backglow .b1 { width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; left: -12vw; top: -34vw; background: radial-gradient(circle at 50% 50%, rgba(9, 160, 105, 0.75), rgba(9, 160, 105, 0) 60%); animation-duration: 28s; }
.backglow .b2 { width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; left: 22vw; top: -46vw; background: radial-gradient(circle, rgba(51, 133, 240, 0.7), rgba(51, 133, 240, 0) 60%); animation-duration: 34s; animation-delay: -8s; }
.backglow .b3 { width: 55vw; height: 55vw; max-width: 820px; max-height: 820px; right: -10vw; top: -30vw; background: radial-gradient(circle, rgba(166, 65, 250, 0.7), rgba(166, 65, 250, 0) 60%); animation-duration: 30s; animation-delay: -15s; }
.backglow .b4 { width: 40vw; height: 40vw; max-width: 600px; max-height: 600px; left: 35vw; top: -20vw; background: radial-gradient(circle, rgba(53, 176, 132, 0.5), rgba(53, 176, 132, 0) 60%); animation-duration: 22s; animation-delay: -4s; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  33%  { transform: translate3d(6vw, 3vw, 0) scale(1.08); }
  66%  { transform: translate3d(-4vw, 5vw, 0) scale(0.96); }
  100% { transform: translate3d(3vw, -2vw, 0) scale(1.04); }
}
/* vertical light rays, like a curtain of light */
.backglow .rays {
  position: absolute; inset: -10% -10% 40%;
  background:
    repeating-linear-gradient(98deg, rgba(255, 255, 255, 0) 0 34px, rgba(140, 220, 200, 0.06) 34px 52px, rgba(255, 255, 255, 0) 52px 90px),
    repeating-linear-gradient(82deg, rgba(255, 255, 255, 0) 0 60px, rgba(120, 160, 255, 0.05) 60px 84px, rgba(255, 255, 255, 0) 84px 150px);
  -webkit-mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
  mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
  animation: rays 40s linear infinite alternate;
  opacity: 0.45;
}
@keyframes rays { from { transform: translateX(-3%) skewX(0deg); } to { transform: translateX(3%) skewX(3deg); } }
.backglow .stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(1px 1px at 28% 8%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 18%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 61% 6%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 73% 26%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 86% 12%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1px 1px at 92% 30%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 8% 40%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 52% 34%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1px 1px at 36% 30%, rgba(255, 255, 255, 0.4), transparent 60%);
  animation: twinkle 6s ease-in-out infinite alternate;
  -webkit-mask: linear-gradient(180deg, #000 0%, transparent 60%); mask: linear-gradient(180deg, #000 0%, transparent 60%);
}
@keyframes twinkle { from { opacity: 0.5; } to { opacity: 1; } }

/* the planet horizon: a huge disc whose top edge cuts across the hero */
.horizon {
  position: absolute; left: 50%; top: 118px;
  width: 230vw; height: 230vw; min-width: 2400px; min-height: 2400px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, #10161a 0%, var(--bg) 22%, var(--bg) 100%);
  box-shadow:
    0 -1px 0 0 rgba(255, 255, 255, 0.42),
    0 -14px 60px rgba(160, 200, 255, 0.22),
    0 -40px 140px rgba(90, 140, 255, 0.16);
  pointer-events: none;
}
.horizon-glow {
  position: absolute; left: 50%; top: -18px; transform: translateX(-50%);
  width: 260px; height: 60px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.35) 35%, transparent 70%);
  filter: blur(6px);
  animation: pulse 5s ease-in-out infinite alternate;
}
@keyframes pulse { from { opacity: 0.7; transform: translateX(-50%) scaleX(0.9); } to { opacity: 1; transform: translateX(-50%) scaleX(1.15); } }

.hero-inner { position: relative; z-index: 2; text-align: center; width: min(900px, calc(100% - 48px)); margin: 0 auto; }
.hero .eyebrow { margin-bottom: 26px; }
.wordmark {
  font-size: clamp(44px, 9.5vw, 116px);
  font-weight: 200;
  letter-spacing: 0.34em;
  padding-left: 0.34em; /* optical centring against the trailing tracking */
  color: #f4f7f9;
  text-shadow: 0 0 40px rgba(180, 220, 255, 0.25);
  display: flex; justify-content: center;
}
.wordmark span { display: inline-block; animation: letter 1.2s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 60ms + 150ms); }
.wordmark span:nth-child(1) { --k: 0 } .wordmark span:nth-child(2) { --k: 1 } .wordmark span:nth-child(3) { --k: 2 } .wordmark span:nth-child(4) { --k: 3 }
.wordmark span:nth-child(5) { --k: 4 } .wordmark span:nth-child(6) { --k: 5 } .wordmark span:nth-child(7) { --k: 6 } .wordmark span:nth-child(8) { --k: 7 }
@keyframes letter { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.hero-lede { color: var(--text-2); font-size: clamp(17px, 1.6vw, 20px); max-width: 680px; margin: 28px auto 0; }

.chips {
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center;
  margin-top: 36px; padding: 10px 14px;
  background: rgba(10, 13, 16, 0.75);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); transition: background 0.25s, color 0.25s, transform 0.3s var(--ease-out); }
.chip:hover { background: rgba(255, 255, 255, 0.06); color: #fff; transform: translateY(-2px); }
.chip .ic { width: 17px; height: 17px; }
.chip:nth-child(1) .ic { color: var(--blue-2); }
.chip:nth-child(2) .ic { color: var(--green-2); }
.chip:nth-child(4) .ic { color: #a78bfa; }
.chip:nth-child(5) .ic { color: #f472b6; }
.chip:nth-child(6) .ic { color: #25d366; }
.chip:nth-child(8) .ic { color: var(--orange); }
.chips .sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 6px; }

.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

.hero-shot { position: relative; z-index: 2; width: min(1120px, calc(100% - 48px)); margin: 90px auto 0; }
.shot-glow {
  position: absolute; inset: -6% -10% -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(9, 160, 105, 0.35), transparent 55%),
    radial-gradient(ellipse at 70% 30%, rgba(51, 133, 240, 0.35), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(166, 65, 250, 0.3), transparent 60%);
  filter: blur(50px);
  animation: glowDrift 14s ease-in-out infinite alternate;
}
@keyframes glowDrift { from { transform: translate3d(-2%, 0, 0) scale(1); } to { transform: translate3d(2%, 2%, 0) scale(1.05); } }

.shot {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
}
.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 30%); pointer-events: none; }
.tilt { transition: transform 0.6s var(--ease-out); will-change: transform; }
.shot-caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; }

/* ============================================================ REVEAL ON SCROLL */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-reveal].in { opacity: 1; transform: none; }
.hero [data-reveal] { transition-duration: 1.1s; }

/* ============================================================ SWITCHER */
.switcher { padding-top: 80px; }
.switch-wrap { display: flex; justify-content: center; margin-bottom: 34px; }
.theme-toggle { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.tt-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); transition: color 0.3s; }
.tt-btn.is-on { color: #fff; }
.tt-thumb { position: absolute; top: 5px; left: 5px; height: calc(100% - 10px); width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)); border: 1px solid var(--line-2); transition: transform 0.45s var(--ease-out); }
.theme-toggle.dark .tt-thumb { transform: translateX(100%); }

.switch-stage { position: relative; display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; }
.stage-glow { position: absolute; inset: -10% -6% -14%; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 40% 40%, rgba(51, 133, 240, 0.28), transparent 55%), radial-gradient(ellipse at 75% 80%, rgba(166, 65, 250, 0.2), transparent 55%); filter: blur(60px); }
.stage-shot { z-index: 1; aspect-ratio: 720 / 450; }
.stage-shot .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s var(--ease), transform 0.9s var(--ease-out); transform: scale(1.02); }
.stage-shot .layer.is-on { opacity: 1; transform: scale(1); }
.stage-panel { position: relative; z-index: 1; padding: 22px; background: rgba(15, 19, 22, 0.85); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }
.panel-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.panel-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pg-btn { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); font-size: 14px; font-weight: 600; color: var(--text-2); transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.3s var(--ease-out), box-shadow 0.3s; }
.pg-btn:hover { border-color: var(--line-2); transform: translateY(-1px); }
.pg-btn.is-on { color: #fff; border-color: rgba(88, 155, 243, 0.6); background: rgba(51, 133, 240, 0.15); box-shadow: 0 0 20px rgba(51, 133, 240, 0.25); }
.panel-group.static .pg-btn { cursor: default; }
.panel-note { font-size: 13.5px; color: var(--muted); }

/* ============================================================ WHY */
.why { padding-top: 40px; }

/* ============================================================ FEATURE CARDS (bento) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento > .card { grid-column: span 2; }
.bento > .card:nth-last-child(-n + 2) { grid-column: span 3; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(88, 155, 243, 0.12), transparent 45%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.18); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(51, 133, 240, 0.12); }
.card:hover::before { opacity: 1; }
.card-body { padding: 28px 28px 30px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15.5px; }
.bento > .card-wide { grid-column: span 4; }
.card-wide { flex-direction: row; align-items: stretch; }
.card-wide.reverse { flex-direction: row-reverse; }
.card-wide .card-body { flex: 1 1 50%; }
.card-shot { flex: 1 1 50%; position: relative; min-height: 220px; margin: 22px -30px 0 0; border-radius: 10px 0 0 0; overflow: hidden; border: 1px solid var(--line); border-right: 0; border-bottom: 0; transform: translateY(6px); transition: transform 0.6s var(--ease-out); }
.card-wide.reverse .card-shot { margin: 22px 0 0 -30px; border-radius: 0 10px 0 0; border-left: 0; border-right: 1px solid var(--line); }
.card:hover .card-shot { transform: translateY(0); }
.card-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

/* ============================================================ CAROUSEL */
.screens { overflow: hidden; }
.carousel { position: relative; }
.carousel-glow { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 70vw; height: 40vw; max-width: 1000px; max-height: 500px; background: radial-gradient(ellipse, rgba(51, 133, 240, 0.28), rgba(166, 65, 250, 0.16) 40%, transparent 70%); filter: blur(70px); pointer-events: none; }
.track { display: flex; gap: 28px; padding: 30px 0 30px; will-change: transform; transition: transform 0.8s var(--ease-out); cursor: grab; user-select: none; }
.track.is-dragging { cursor: grabbing; transition: none; }
.slide {
  flex: 0 0 min(760px, 78vw); position: relative;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: scale(0.9); opacity: 0.45; filter: saturate(0.7);
  transition: transform 0.8s var(--ease-out), opacity 0.6s, filter 0.6s;
}
.slide.is-active { transform: scale(1); opacity: 1; filter: none; }
.slide img { pointer-events: none; width: 100%; }
.slide::after { content: attr(data-title); position: absolute; left: 18px; bottom: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(6, 8, 10, 0.72); border: 1px solid var(--line-2); font-size: 13px; font-weight: 700; backdrop-filter: blur(8px); opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.slide.is-active::after { opacity: 1; transform: none; }
.carousel-meta { width: min(var(--container), calc(100% - 48px)); margin: 12px auto 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.carousel-text { max-width: 620px; min-height: 84px; }
.carousel-text h3 { font-size: 24px; margin-bottom: 8px; transition: opacity 0.35s, transform 0.5s var(--ease-out); }
.carousel-text p { color: var(--text-2); transition: opacity 0.35s, transform 0.5s var(--ease-out); }
.carousel-text.fade h3, .carousel-text.fade p { opacity: 0; transform: translateY(8px); }
.carousel-nav { display: flex; align-items: center; gap: 16px; }
.cnav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease-out); }
.cnav:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--green-2); transform: translateY(-2px); }
.dots { display: flex; gap: 8px; }
.dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); transition: width 0.4s var(--ease-out), background 0.3s; }
.dots i.is-on { width: 26px; background: linear-gradient(90deg, var(--green-2), var(--blue-2)); }

/* ============================================================ STEPS */
.timeline { position: relative; display: grid; gap: 18px; max-width: 860px; }
.timeline li { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); transition: border-color 0.3s, background 0.3s, transform 0.5s var(--ease-out); }
.timeline li:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.035); transform: translateX(6px); }
.tl-num { font-family: var(--mono); font-size: 28px; font-weight: 500; line-height: 1; background: linear-gradient(180deg, var(--green-2), var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { color: var(--text-2); font-size: 15.5px; }

/* ============================================================ TELEPHONY */
.telephony { overflow: hidden; }
.tel-glow { position: absolute; right: -10%; top: 10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(9, 160, 105, 0.22), rgba(51, 133, 240, 0.12) 40%, transparent 65%); filter: blur(60px); pointer-events: none; }
.tel-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.ticks { display: grid; gap: 10px; margin-top: 26px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text-2); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(53, 176, 132, 0.15); border: 1px solid rgba(53, 176, 132, 0.5); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 9px; border: solid var(--green-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tel-copy .small { margin-top: 24px; }
.tel-shots { position: relative; }
.tel-main { position: relative; z-index: 1; }
.tel-small { position: absolute; z-index: 2; right: -6%; bottom: -14%; width: 52%; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(-1deg); } }

/* ============================================================ NUMBERS */
.numbers { padding: 40px 0 80px; }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.num { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); text-align: center; }
.num b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(90deg, #fff, var(--text-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.num span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ============================================================ PRICING */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 44px; }
.bt-label { font-weight: 600; color: var(--muted); transition: color 0.3s; }
.bt-label.is-on { color: #fff; }
.bt-label em { font-style: normal; font-size: 12px; margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(53, 176, 132, 0.15); color: var(--green-2); border: 1px solid rgba(53, 176, 132, 0.4); }
.bt-switch { position: relative; width: 52px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-2); transition: background 0.3s; }
.bt-switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.4s var(--ease-out); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.bt-switch[aria-checked="true"] { background: rgba(9, 160, 105, 0.5); }
.bt-switch[aria-checked="true"] span { transform: translateX(22px); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.plan { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); display: flex; flex-direction: column; transition: transform 0.5s var(--ease-out), border-color 0.3s, box-shadow 0.5s; }
.plan:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.plan.featured { border-color: transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, linear-gradient(160deg, var(--green-2), var(--blue-2) 50%, var(--purple-2)) border-box; box-shadow: 0 0 60px rgba(51, 133, 240, 0.18); }
.plan-tag { position: absolute; top: -13px; left: 24px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(90deg, var(--green), var(--blue)); }
.plan h3 { font-size: 22px; }
.plan-blurb { color: var(--muted); font-size: 14px; margin-top: 6px; min-height: 44px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 20px; }
.price .cur { font-size: 22px; color: var(--text-2); }
.price .amount { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; transition: opacity 0.25s, transform 0.35s var(--ease-out); }
.price.flip .amount { opacity: 0; transform: translateY(-8px); }
.price .per { color: var(--muted); font-size: 14px; margin-left: 4px; }
.seats { font-size: 13px; color: var(--green-2); font-weight: 600; margin-top: 6px; }
.plan .ticks { margin-top: 22px; gap: 8px; }
.plan .ticks li { font-size: 14.5px; }
.crosses { display: grid; gap: 8px; margin-top: 12px; }
.crosses li { position: relative; padding-left: 30px; color: var(--muted); font-size: 14px; }
.crosses li::before { content: "–"; position: absolute; left: 6px; top: 0; color: var(--muted); }
.plan .btn { margin-top: 26px; }
.plan .ticks + .btn { margin-top: auto; padding-top: 13px; }

/* ============================================================ FAQ */
.accordion { display: grid; gap: 12px; }
.accordion details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); overflow: hidden; transition: border-color 0.3s, background 0.3s; }
.accordion details[open], .accordion details:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.035); }
.accordion summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 17px; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform 0.4s var(--ease-out), border-color 0.3s; }
.accordion details[open] summary::after { transform: translateY(-30%) rotate(225deg); border-color: var(--green-2); }
.acc-body { padding: 0 24px 22px; color: var(--text-2); font-size: 15.5px; }

/* ============================================================ CTA */
.cta { overflow: hidden; padding: 160px 0 140px; }
.backglow.small { top: auto; bottom: -20%; height: 90%; }
.backglow.small .blob { opacity: 0.5; }
.backglow.small .b1 { left: -10vw; top: auto; bottom: -30vw; }
.backglow.small .b2 { left: 30vw; top: auto; bottom: -40vw; }
.backglow.small .b3 { right: -10vw; top: auto; bottom: -25vw; }
.cta-head { position: relative; text-align: center; max-width: 800px; margin: 0 auto 48px; }
.cta-title { font-size: clamp(34px, 5.4vw, 60px); font-weight: 500; }
.cta-title .wm { display: inline-block; padding: 0.02em 0.3em; border-radius: 0.28em; color: #fff; font-weight: 800; background: linear-gradient(120deg, var(--green), var(--blue) 55%, var(--purple)); background-size: 200% 200%; animation: gradientMove 8s ease-in-out infinite alternate; box-shadow: 0 10px 50px rgba(51, 133, 240, 0.35); }
@keyframes gradientMove { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.cta .lede { margin-left: auto; margin-right: auto; }

.contact-form { position: relative; max-width: 760px; margin: 0 auto; padding: 34px; border-radius: 20px; border: 1px solid var(--line); background: rgba(12, 15, 18, 0.85); backdrop-filter: blur(12px); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55); display: grid; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 15px; color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; outline: 0; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; width: 100%; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(143, 163, 173, 0.6); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(53, 176, 132, 0.15); background: rgba(255, 255, 255, 0.06); }
.contact-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fa3ad' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.contact-form select option { background: var(--surface-2); }
.contact-form textarea { resize: vertical; min-height: 96px; }
.channels { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.channels legend { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.channels label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--text-2); cursor: pointer; transition: border-color 0.25s, background 0.25s, color 0.25s; }
.channels label:has(input:checked) { border-color: var(--green-2); background: rgba(53, 176, 132, 0.12); color: #fff; }
.channels input { accent-color: var(--green); width: 15px; height: 15px; margin: 0; }
.form-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 4px; }
.form-actions a { color: var(--green-2); }
.form-sent { padding: 16px 18px; border-radius: 12px; background: rgba(53, 176, 132, 0.12); border: 1px solid rgba(53, 176, 132, 0.5); color: #fff; }

/* ============================================================ FOOTER */
.footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 360px; }
.foot-title { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-grid a:not(.brand) { display: block; color: var(--text-2); font-size: 15px; padding: 5px 0; transition: color 0.25s, transform 0.3s var(--ease-out); }
.foot-grid a:not(.brand):hover { color: #fff; transform: translateX(4px); }
.copyright { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > .card, .bento > .card:nth-last-child(-n + 2) { grid-column: span 1; }
  .bento > .card-wide { grid-column: span 2; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .tel-grid { grid-template-columns: 1fr; gap: 40px; }
  .tel-small { right: 0; bottom: -10%; }
}
@media (max-width: 860px) {
  .section { padding: 90px 0; }
  .nav-links { position: fixed; inset: 64px 16px auto; flex-direction: column; align-items: stretch; gap: 6px; padding: 14px; background: rgba(10, 13, 16, 0.96); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--ease-out); }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links > a:not(.btn) { padding: 12px 10px; }
  .nav-links .btn { justify-content: center; margin-top: 6px; }
  .burger { display: inline-flex; }
  .hero { padding-top: 150px; }
  .switch-stage { grid-template-columns: 1fr; }
  .card-wide, .card-wide.reverse { flex-direction: column; }
  .card-shot, .card-wide.reverse .card-shot { margin: 0 0 0 28px; border-radius: 10px 0 0 0; border: 1px solid var(--line); border-right: 0; border-bottom: 0; min-height: 200px; }
  .carousel-meta { flex-direction: column; }
  .timeline li { grid-template-columns: 52px 1fr; padding: 20px; }
  .contact-form { padding: 22px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container, .container.narrow { width: calc(100% - 32px); }
  .bento, .plans, .num-grid { grid-template-columns: 1fr; }
  .bento > .card, .bento > .card-wide, .bento > .card:nth-last-child(-n + 2) { grid-column: span 1; }
  .chips { gap: 2px; padding: 8px; }
  .chip { padding: 7px 9px; font-size: 13px; }
  .chips .sep { display: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .tel-small { display: none; }
}

/* ============================================================ MOTION PREFERENCES */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================ MULTI-PAGE ADDITIONS */

/* nav: active page */
.nav-links > a.is-active { color: #fff; }
.nav-links > a.is-active::after { transform: scaleX(1); }

/* compact hero for inner pages */
.page-hero { position: relative; overflow: hidden; padding: 180px 0 70px; }
.page-hero .backglow .blob { opacity: 0.6; }
.page-hero .horizon { top: 100px; }
.page-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 860px; }
.page-hero h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 700; letter-spacing: -0.02em; text-shadow: 0 0 40px rgba(180, 220, 255, 0.15); }
.page-hero .lede { margin: 22px auto 0; }
.page-hero .hero-actions { margin-top: 32px; }
.page-hero .small { margin-top: 18px; }
.page-hero + .section { padding-top: 70px; }

/* points: icon + title + body, no screenshot */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.points.four { grid-template-columns: repeat(4, 1fr); }
.point { position: relative; padding: 28px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)); transition: transform 0.5s var(--ease-out), border-color 0.3s, box-shadow 0.5s; }
.point::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(53, 176, 132, 0.6), rgba(88, 155, 243, 0.6), transparent); opacity: 0; transition: opacity 0.4s; }
.point:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.point:hover::before { opacity: 1; }
.point h3 { font-size: 18px; margin-bottom: 8px; }
.point p { color: var(--text-2); font-size: 15px; }
.point a { color: var(--green-2); }
.point .ic-big { margin-bottom: 16px; }

/* spec: definition grid */
.spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
.spec > div { padding: 22px 22px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); transition: border-color 0.3s, background 0.3s; }
.spec > div:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.035); }
.spec dt { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.spec dd { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.spec dd small { display: block; font-size: 13.5px; font-weight: 500; color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.spec dd a { color: var(--green-2); font-size: 18px; word-break: break-all; }
.spec.compact { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.spec.compact > div { padding: 16px 18px; }
.spec.compact dd { font-size: 18px; }
.spec.one { grid-template-columns: 1fr; }

/* comparison / roles table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, 0.03); }
.cmp tbody th { text-align: left; font-weight: 600; color: var(--text-2); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:hover td, .cmp tbody tr:hover th { background: rgba(255, 255, 255, 0.025); }
.cmp td.y { color: var(--green-2); font-weight: 700; }
.cmp td.n { color: rgba(143, 163, 173, 0.6); }
.cmp thead th:nth-child(4) { color: var(--blue-2); }

/* split: copy + stacked screenshots */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 6px; }
.split .prose { margin-top: 18px; }
.split .ticks b { color: #fff; }
.split-shots { position: relative; padding-bottom: 12%; }
.split-shots .shot-small { position: absolute; right: -4%; bottom: 0; width: 56%; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); }
.split-shots > .shot:first-child { z-index: 1; }
.split-shots .shot-small { z-index: 2; }

/* single wide screenshot with caption */
.shot-block { position: relative; width: min(1000px, 100%); margin: 0 auto; }

/* cards on the home page are links now */
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--green-2); transition: gap 0.3s var(--ease-out); }
.card:hover .card-more { gap: 12px; }

/* pricing teaser on the home page */
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 34px; }
.teaser { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)); transition: transform 0.5s var(--ease-out), border-color 0.3s, box-shadow 0.5s; }
.teaser:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.teaser.featured { border-color: transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, linear-gradient(160deg, var(--green-2), var(--blue-2) 50%, var(--purple-2)) border-box; }
.t-name { font-weight: 700; font-size: 17px; }
.t-price { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.t-price::after { content: " / мес."; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.t-note { color: var(--muted); font-size: 14px; }
.center { text-align: center; }

/* shared CTA band + contact page */
.cta-band { overflow: hidden; padding: 150px 0 130px; text-align: center; }
.cta-band .cta-head { margin-bottom: 0; }
.cta-band .hero-actions { margin-top: 34px; }
.cta-note { margin-top: 20px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact-form { max-width: none; }
.form-title { font-size: 24px; margin-bottom: 4px; }
.contact-side { padding: 8px 0; }
.contact-side .small { margin-top: 20px; }
.cta.section { padding-top: 40px; }

/* more icons */
.ic-gauge { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 16a8 8 0 1 1 16 0'/%3E%3Cpath d='M12 16l4-5'/%3E%3Ccircle cx='12' cy='16' r='1.5' fill='%23000'/%3E%3C/svg%3E"); }
.ic-route { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='6' cy='19' r='2.5'/%3E%3Ccircle cx='18' cy='5' r='2.5'/%3E%3Cpath d='M8.5 19H14a3 3 0 0 0 0-6h-4a3 3 0 0 1 0-6h5.5'/%3E%3C/svg%3E"); }
.ic-snooze { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z'/%3E%3Cpath d='M14 4h5l-5 5h5'/%3E%3C/svg%3E"); }
.ic-merge { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='6' cy='5' r='2.5'/%3E%3Ccircle cx='6' cy='19' r='2.5'/%3E%3Ccircle cx='18' cy='12' r='2.5'/%3E%3Cpath d='M6 7.5V9a3 3 0 0 0 3 3h6.5M6 16.5V15a3 3 0 0 1 3-3'/%3E%3C/svg%3E"); }
.ic-note { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v10l-6 6H4z'/%3E%3Cpath d='M14 20v-6h6M8 9h8M8 13h4'/%3E%3C/svg%3E"); }
.ic-reply { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 17l-5-5 5-5'/%3E%3Cpath d='M4 12h9a7 7 0 0 1 7 7v1'/%3E%3C/svg%3E"); }
.ic-book { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h6a3 3 0 0 1 3 3v13a2 2 0 0 0-2-2H4zM20 4h-6a3 3 0 0 0-3 3v13a2 2 0 0 1 2-2h7z'/%3E%3C/svg%3E"); }
.ic-archive { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='5' rx='1'/%3E%3Cpath d='M5 9v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9M10 13h4'/%3E%3C/svg%3E"); }
.ic-chat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
.ic-calendar { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.ic-chart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 20h16M7 16v-5M12 16V8M17 16v-3'/%3E%3C/svg%3E"); }
.ic-code { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 8-4 4 4 4M16 8l4 4-4 4M14 5l-4 14'/%3E%3C/svg%3E"); }
.ic-window { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M7 6.5h.01M10 6.5h.01'/%3E%3C/svg%3E"); }
.ic-queue { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='8' r='3'/%3E%3Ccircle cx='17' cy='8' r='3'/%3E%3Cpath d='M2 20a5 5 0 0 1 10 0M12 20a5 5 0 0 1 10 0'/%3E%3C/svg%3E"); }
.ic-hash { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 9h14M5 15h14M10 4l-2 16M16 4l-2 16'/%3E%3C/svg%3E"); }
.ic-record { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4' fill='%23000'/%3E%3C/svg%3E"); }
.ic-eye { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.ic-toggle { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='7' width='20' height='10' rx='5'/%3E%3Ccircle cx='15' cy='12' r='3' fill='%23000'/%3E%3C/svg%3E"); }
.ic-database { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cellipse cx='12' cy='6' rx='8' ry='3'/%3E%3Cpath d='M4 6v12c0 1.7 3.6 3 8 3s8-1.3 8-3V6M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); }
.ic-lock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.ic-key { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='m11 12 9-9M17 6l2 2M14 9l2 2'/%3E%3C/svg%3E"); }
.ic-refresh { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 0 1-14.5 4.6M4 12a8 8 0 0 1 14.5-4.6'/%3E%3Cpath d='M18 3v4.5h-4.5M6 21v-4.5h4.5'/%3E%3C/svg%3E"); }
.ic-scale { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M5 21h14M3 7h18M6 7l-3 7a3 3 0 0 0 6 0zM18 7l-3 7a3 3 0 0 0 6 0z'/%3E%3C/svg%3E"); }
.ic-file { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l5 5v13H6z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.ic-trash { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 14h10l1-14M10 11v6M14 11v6'/%3E%3C/svg%3E"); }

/* responsive for the additions */
@media (max-width: 1080px) {
  .points, .points.four { grid-template-columns: repeat(2, 1fr); }
  .spec { grid-template-columns: repeat(2, 1fr); }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .nav-links { position: fixed; inset: 64px 16px auto; flex-direction: column; align-items: stretch; gap: 6px; padding: 14px; background: rgba(10, 13, 16, 0.96); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--ease-out); }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links > a:not(.btn) { padding: 12px 10px; }
  .nav-links .btn { justify-content: center; margin-top: 6px; }
  .burger { display: inline-flex; }
}
@media (max-width: 860px) {
  .page-hero { padding-top: 140px; }
}
@media (max-width: 560px) {
  .points, .points.four, .spec, .spec.compact, .teaser-grid { grid-template-columns: 1fr; }
  .split-shots .shot-small { display: none; }
  .split-shots { padding-bottom: 0; }
}

/* mobile: the yearly badge stays on one line and the row may wrap */
.billing-toggle { flex-wrap: wrap; }
.bt-label em { white-space: nowrap; display: inline-block; }

/* ============================================================ HERO BACKGROUND: TRAILS + LOGO MARK
   Replaces the earlier background glow. Channels flow in from the edges as coloured trails, merge into one and
   leave up-right like the arrow in the logo; the Z mark draws itself behind the wordmark. */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg .trails {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  -webkit-mask: linear-gradient(180deg, #000 0%, #000 60%, transparent 96%);
  mask: linear-gradient(180deg, #000 0%, #000 60%, transparent 96%);
}
.hero-bg .mark {
  position: absolute; left: 50%; top: var(--mark-top, 150px); transform: translateX(-50%);
  width: min(620px, 78vw); height: auto; opacity: 0.3;
  filter: drop-shadow(0 0 24px rgba(47, 140, 240, 0.35));
}
.hero-bg .mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: markDraw 11s var(--ease) infinite; }
.hero-bg .mark path.a { animation-delay: 1.2s; }
.hero-bg .mark .mark-glow path { filter: blur(10px); opacity: 0.9; }
@keyframes markDraw {
  0%   { stroke-dashoffset: 1; opacity: 0; }
  6%   { opacity: 1; }
  38%  { stroke-dashoffset: 0; opacity: 1; }
  78%  { stroke-dashoffset: 0; opacity: 1; }
  92%  { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 1; opacity: 0; }
}
.hero-tint {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 18% 8%, rgba(20, 181, 138, 0.22), transparent 70%),
    radial-gradient(ellipse 55% 45% at 82% 6%, rgba(47, 140, 240, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 30% at 92% 40%, rgba(247, 148, 29, 0.14), transparent 70%);
  mix-blend-mode: screen;
  animation: tintBreathe 9s ease-in-out infinite alternate;
}
@keyframes tintBreathe { from { opacity: 0.75; } to { opacity: 1; } }
.page-hero .hero-bg .mark { --mark-top: 40px; width: min(420px, 60vw); opacity: 0.22; }
.page-hero .hero-bg .trails { -webkit-mask: linear-gradient(180deg, #000 0%, #000 40%, transparent 95%); mask: linear-gradient(180deg, #000 0%, #000 40%, transparent 95%); }
/* a soft dark backing behind the text keeps it readable where the trails meet */
.hero-inner::before, .page-hero-inner::before {
  content: ""; position: absolute; inset: -12% -16%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(6, 8, 10, 0.6), rgba(6, 8, 10, 0.3) 55%, transparent 78%);
}
.page-hero-inner { position: relative; }
/* the wordmark reads on top of the mark, so lift it slightly */
.wordmark { position: relative; text-shadow: 0 0 40px rgba(180, 220, 255, 0.25), 0 2px 24px rgba(6, 8, 10, 0.9); }
@media (prefers-reduced-motion: reduce) {
  .hero-bg .mark path { stroke-dashoffset: 0; animation: none; opacity: 1; }
}

/* ============================================================ TAB GALLERY (telephony page) */
.gal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.gal-stage { position: relative; }
.gal-shot { aspect-ratio: 1600 / 1000; }
.gal-shot .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease-out); }
.gal-shot .layer.is-on { opacity: 1; transform: scale(1); }
.gal-text { margin-top: 18px; color: var(--text-2); font-size: 15.5px; max-width: 760px; transition: opacity 0.3s; }
.gal-text.fade { opacity: 0; }

/* ============================================================ DEMO PAGE (embedded interactive mock) */
.page-hero.compact { padding: 150px 0 40px; }
.page-hero.compact .hero-bg .trails { -webkit-mask: linear-gradient(180deg, #000 0%, transparent 100%); mask: linear-gradient(180deg, #000 0%, transparent 100%); }
.container.wide { width: min(1440px, calc(100% - 48px)); }
.demo-section { padding-top: 20px; }
.demo-frame-wrap { position: relative; }
.demo-glow { position: absolute; inset: -6% -4% -10%; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 30% 10%, rgba(20, 181, 138, 0.22), transparent 55%), radial-gradient(ellipse at 75% 90%, rgba(47, 140, 240, 0.22), transparent 55%); filter: blur(60px); }
.demo-frame { position: relative; z-index: 1; height: min(860px, calc(100vh - 140px)); min-height: 560px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); background: var(--surface); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.demo-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.demo-mobile-note { display: none; margin-top: 14px; color: var(--muted); font-size: 14px; text-align: center; }
.demo-actions { position: relative; z-index: 1; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.prose code { font-family: var(--mono); font-size: 0.9em; color: var(--text); background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 4px; }
@media (max-width: 900px) {
  .demo-frame { height: 70vh; min-height: 480px; }
  .demo-mobile-note { display: block; }
}

/* ============================================================ LEGAL PAGES (privacy, terms, data deletion)
   Long documents made by build-legal.mjs: compact hero, a table of contents that is sticky beside the text on
   wide screens and a closed disclosure above it on narrow ones, then the document at a reading measure.
   Everything here is scoped to .legal / .legal-*, so no other page changes. */
.legal-hero .page-hero-inner { max-width: 880px; }
.legal-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 26px; }
.legal-facts > span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); font-size: 14px; line-height: 1.4; color: var(--text-2); }
.legal-facts .ic { color: var(--green-2); }
.legal-facts a { color: var(--text); overflow-wrap: anywhere; transition: color 0.25s; }
.legal-facts a:hover { color: var(--green-2); }

.legal.section { padding: 48px 0 120px; }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; }
.legal-aside { position: sticky; top: 96px; min-width: 0; }
.legal-toc summary { display: none; }
.legal-toc-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.legal-toc nav { position: relative; max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; padding-right: 6px;
  -webkit-mask: linear-gradient(180deg, #000 calc(100% - 32px), transparent); mask: linear-gradient(180deg, #000 calc(100% - 32px), transparent); }
.legal-toc nav ol { margin-bottom: 28px; }
.legal-toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; margin-left: -1px; padding: 7px 10px 7px 14px; border-left: 1px solid transparent; border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.45; color: var(--muted); transition: color 0.25s, border-color 0.25s, background 0.25s; }
.legal-toc a:hover { color: var(--text); }
.legal-toc a.is-active { color: #fff; border-left-color: var(--green-2); background: linear-gradient(90deg, rgba(53, 176, 132, 0.12), rgba(53, 176, 132, 0)); }
.legal-toc-n { font-family: var(--mono); font-size: 12px; line-height: 1.7; color: rgba(143, 163, 173, 0.75); }
.legal-toc a.is-active .legal-toc-n { color: var(--green-2); }

.legal-doc { max-width: 780px; min-width: 0; color: var(--text-2); font-size: 16.5px; line-height: 1.75; overflow-wrap: break-word; }
.legal-doc strong { color: var(--text); font-weight: 700; }
.legal-doc em { color: var(--text); }
.legal-doc a:not(.legal-anchor) { color: var(--green-2); text-decoration: underline; text-decoration-color: rgba(53, 176, 132, 0.45); text-underline-offset: 3px; overflow-wrap: anywhere; transition: text-decoration-color 0.25s; }
.legal-doc a:not(.legal-anchor):hover { text-decoration-color: currentColor; }
.legal-doc code { font-family: var(--mono); font-size: 0.86em; color: var(--text); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }
.legal-intro { padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)); }
.legal-intro > * + *, .legal-sec > * + *, .legal-doc blockquote > * + * { margin-top: 16px; }
.legal-sec { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.legal-doc > .legal-sec:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-intro + .legal-sec { margin-top: 44px; padding-top: 0; border-top: 0; }
/* a heading and its "#" link: .legal-head carries the heading's type, the h2/h3 inside is inline so the "#"
   (a sibling, not part of the heading's name) follows its last word */
.legal-head { font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.legal-head :is(h2, h3, h4) { display: inline; margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }
.legal-head--2 { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 14px; font-size: clamp(23px, 2.4vw, 29px); line-height: 1.25; }
.legal-n { font-family: var(--mono); font-size: 0.6em; font-weight: 500; letter-spacing: 0; background: linear-gradient(180deg, var(--green-2), var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal-sec--annex { border-top-color: var(--line-2); }
.legal-sec--annex > .legal-head .legal-n { font-size: 0.8em; }
.legal-head--3, .legal-head--4 { font-size: 18.5px; line-height: 1.35; scroll-margin-top: 84px; }
.legal-sec > .legal-head--3 { margin-top: 36px; }
.legal-sec > .legal-head--3 + * { margin-top: 12px; }
.legal-anchor { display: inline; margin-left: 0.35em; padding: 0 2px; white-space: nowrap; color: var(--muted); font-weight: 500; opacity: 0; transition: opacity 0.2s, color 0.2s; }
.legal-head:hover .legal-anchor, .legal-anchor:focus-visible { opacity: 1; }
.legal-anchor:hover { color: var(--green-2); }
@media (hover: none) { .legal-anchor { opacity: 0.45; } }

.legal-list { display: grid; gap: 10px; }
ul.legal-list > li { position: relative; padding-left: 24px; }
ul.legal-list > li::before { content: ""; position: absolute; left: 5px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 10px rgba(53, 176, 132, 0.5); }
ol.legal-list { counter-reset: legal-li; }
ol.legal-list > li { position: relative; padding-left: 34px; counter-increment: legal-li; }
ol.legal-list > li::before { content: counter(legal-li) "."; position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: 0.86em; font-weight: 500; color: var(--green-2); }
.legal-doc blockquote { margin: 0; padding: 16px 20px; border-left: 2px solid var(--blue-2); border-radius: 0 12px 12px 0; background: rgba(51, 133, 240, 0.07); }

/* tables: a box that scrolls on its own when a table is wider than the column */
.legal-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; color-scheme: dark; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
  background:
    linear-gradient(90deg, var(--bg-2) 30%, rgba(11, 14, 17, 0)) left center / 36px 100% no-repeat local,
    linear-gradient(270deg, var(--bg-2) 30%, rgba(11, 14, 17, 0)) right center / 36px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(88, 155, 243, 0.28), rgba(88, 155, 243, 0)) left center / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(88, 155, 243, 0.28), rgba(88, 155, 243, 0)) right center / 12px 100% no-repeat scroll,
    var(--bg-2); }
.legal-table:focus-visible { outline: 2px solid var(--green-2); outline-offset: 2px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.legal-table th, .legal-table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table thead th { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, 0.03); }
.legal-table tbody tr:last-child > * { border-bottom: 0; }
.legal-table tbody td:first-child { color: var(--text); font-weight: 500; }
.legal-table code { white-space: nowrap; overflow-wrap: normal; }
.legal-table--kv tbody th { width: 38%; font-weight: 600; color: var(--muted); }
.legal-table--kv tbody td { color: var(--text); font-weight: 400; }
.legal-table--kv tbody td:first-child { font-weight: 400; }

/* the data-deletion page: numbered steps and the facts grid (the site's own .spec) */
.legal-steps { display: grid; gap: 12px; }
.legal-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); transition: border-color 0.3s, background 0.3s; }
.legal-steps li:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.035); }
.legal-steps-n { font-family: var(--mono); font-size: 22px; font-weight: 500; line-height: 1.2; background: linear-gradient(180deg, var(--green-2), var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal-steps strong { display: block; margin-bottom: 2px; }
.legal-spec dd { overflow-wrap: anywhere; }
.legal-spec dd a { text-decoration: none; }

@media (max-width: 1000px) {
  .legal.section { padding-top: 32px; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 780px; margin-left: auto; margin-right: auto; }
  .legal-aside { position: static; }
  .legal-toc { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); transition: border-color 0.3s, background 0.3s; }
  .legal-toc[open], .legal-toc:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.035); }
  .legal-toc summary { display: block; position: relative; list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); }
  .legal-toc summary::-webkit-details-marker { display: none; }
  .legal-toc summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform 0.4s var(--ease-out), border-color 0.3s; }
  .legal-toc[open] summary::after { transform: translateY(-30%) rotate(225deg); border-color: var(--green-2); }
  .legal-toc-title { display: none; }
  .legal-toc nav { max-height: none; overflow: visible; padding: 0 14px 14px 20px; -webkit-mask: none; mask: none; }
  .legal-toc nav ol { margin-bottom: 0; }
  .legal-doc { max-width: none; }
}
@media (max-width: 700px) {
  .legal-table--c3 table { min-width: 600px; }
  .legal-table--c4 table { min-width: 660px; }
}
@media (max-width: 560px) {
  .legal.section { padding-bottom: 90px; }
  .legal-doc { font-size: 16px; line-height: 1.7; }
  .legal-intro { padding: 18px 18px; }
  .legal-sec { margin-top: 40px; padding-top: 40px; }
  .legal-head--2 { gap: 10px; }
  .legal-table th, .legal-table td { padding: 11px 14px; }
  /* key/value tables stack: the key above its value */
  .legal-table--kv table, .legal-table--kv tbody, .legal-table--kv tr, .legal-table--kv th, .legal-table--kv td { display: block; width: auto; }
  .legal-table--kv tbody th { width: auto; padding-bottom: 2px; border-bottom: 0; font-size: 13px; }
  .legal-table--kv tbody td { padding-top: 0; }
  .legal-table--kv tbody tr:not(:last-child) td { border-bottom: 1px solid var(--line); }
  /* two columns of long text stack too: each value under its column's name */
  .legal-table--stack table, .legal-table--stack tbody, .legal-table--stack tr, .legal-table--stack td { display: block; width: auto; }
  .legal-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .legal-table--stack tbody td:first-child { padding-bottom: 6px; border-bottom: 0; }
  .legal-table--stack tbody td + td { padding-top: 0; }
  .legal-table--stack td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
  .legal-steps li { padding: 16px; gap: 10px; grid-template-columns: 26px minmax(0, 1fr); }
}
@media print {
  body[data-page^="legal-"] { background: #fff; color: #000; font-size: 11pt; }
  body[data-page^="legal-"] :is(.nav, .footer, .hero-bg, .legal-aside, .legal-anchor, .skip) { display: none !important; }
  body[data-page^="legal-"] .page-hero { padding: 0 0 12pt; }
  body[data-page^="legal-"] .legal.section { padding: 0; }
  body[data-page^="legal-"] .legal-grid { display: block; }
  body[data-page^="legal-"] :is(.page-hero, .legal) * { color: #000 !important; -webkit-text-fill-color: #000; background: none !important; box-shadow: none !important; text-shadow: none !important; }
  body[data-page^="legal-"] [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  body[data-page^="legal-"] .page-hero-inner::before { display: none; }
  body[data-page^="legal-"] .legal-facts > span { border-color: #999; }
  body[data-page^="legal-"] .legal-facts .ic { display: none; }
  body[data-page^="legal-"] .legal-table { overflow: visible; border-color: #999; }
  body[data-page^="legal-"] :is(.legal-table th, .legal-table td) { border-color: #bbb; }
}

/* ============================================================ PAGE EDGE
   Decorative layers (the background glow blobs, the demo glow, reveal offsets) reach past the viewport
   by a few pixels and made phones scroll sideways (platform, telephony, channels at 390px; demo at 1440px).
   No content sits out there — only decoration — so the page edge clips it. `clip`, not `hidden`: it creates
   no scroll container, so nothing sticky or fixed is affected. */
html, body { overflow-x: clip; }
