/* ==========================================================================
   Avitech Solutions Ltd — avitechcloud.com
   Design system & site styles
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand — sampled from the Avitech logo */
  --brand:        #17A2D2;
  --brand-bright: #38C6E9;
  --brand-light:  #7BDBF2;
  --brand-deep:   #0B6E9C;
  --brand-ink:    #063A55;

  /* Neutrals */
  --ink:      #070D18;
  --ink-2:    #0C1524;
  --ink-3:    #142033;
  --slate:    #3D4E63;
  --muted:    #61748C;
  --line:     #E3E9F0;
  --line-dk:  rgba(255,255,255,.10);
  --paper:    #FFFFFF;
  --paper-2:  #F5F8FB;
  --paper-3:  #EDF3F8;
  --silver:   #9FB0C2;

  --ok: #12B886;
  --warn: #F0A202;

  /* Product accents — used only on small marks and badges, never on whole sections */
  --p-coresync: #17A2D2;
  --p-voip:     #0E9E86;
  --p-suite:    #5A6BD8;
  --p-hardware: #C08A2E;
  --p-security: #C4433B;

  /* Type */
  --f-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Space */
  --wrap: 1200px;
  --wrap-narrow: 880px;
  --gut: clamp(20px, 5vw, 48px);
  --sect: clamp(64px, 9vw, 128px);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --sh-1: 0 1px 2px rgba(7,13,24,.05), 0 4px 14px rgba(7,13,24,.05);
  --sh-2: 0 2px 6px rgba(7,13,24,.06), 0 18px 44px rgba(7,13,24,.09);
  --sh-3: 0 30px 70px rgba(7,13,24,.16);
  --glow: 0 0 0 1px rgba(56,198,233,.28), 0 18px 60px rgba(23,162,210,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.15rem, 4.7vw, 3.55rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.06rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--brand); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sect); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper { background: var(--paper-2); }
.section--edge { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid > *, .split > * { min-width: 0; }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 960px) { .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--wide-left { grid-template-columns: 1.25fr .75fr; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

.center { text-align: center; }
.center .lede { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-display);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
}
.center .eyebrow { justify-content: center; }
.lede { font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .92em; }
.grad-text {
  background: linear-gradient(100deg, var(--brand-bright) 0%, var(--brand) 42%, var(--brand-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--f-display); font-size: .95rem; font-weight: 600; letter-spacing: -.005em;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: all .28s var(--ease); white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .28s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff; box-shadow: 0 6px 22px rgba(23,162,210,.35);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 34px rgba(23,162,210,.45); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-deep); background: rgba(23,162,210,.05); }
.btn--onDark { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn--onDark:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.42); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #fff; color: var(--brand-deep); transform: translateY(-2px); }
.btn--sm { padding: .68rem 1.15rem; font-size: .87rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--f-display); font-weight: 600; font-size: .93rem;
  color: var(--brand-deep);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-over-hero {
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header.is-stuck { box-shadow: 0 4px 24px rgba(7,13,24,.07); }
body.nav-open .site-header { background: #fff; border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 1.4rem; height: 78px; }

.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--f-display); font-weight: 700; font-size: 1.16rem;
  letter-spacing: .01em; color: var(--ink);
}
.brand-sub {
  font-size: .61rem; letter-spacing: .27em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px; font-weight: 500;
}
.is-over-hero .brand-name { color: #fff; }
.is-over-hero .brand-sub { color: rgba(255,255,255,.62); }

.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links > li { margin: 0; position: relative; }
.nav-links a {
  display: block; padding: .55rem .8rem; border-radius: 8px;
  font-family: var(--f-display); font-size: .91rem; font-weight: 500;
  color: var(--slate); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--brand-deep); background: rgba(23,162,210,.07); }
.nav-links a[aria-current="page"] { color: var(--brand-deep); font-weight: 600; }
.is-over-hero .nav-links a { color: rgba(255,255,255,.82); }
.is-over-hero .nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.is-over-hero .nav-links a[aria-current="page"] { color: #fff; }

.has-sub > button {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .8rem; border-radius: 8px; border: 0; background: none; cursor: pointer;
  font-family: var(--f-display); font-size: .91rem; font-weight: 500; color: var(--slate);
}
.has-sub > button svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.has-sub[data-open="true"] > button svg { transform: rotate(180deg); }
.has-sub > button:hover { color: var(--brand-deep); background: rgba(23,162,210,.07); }
.is-over-hero .has-sub > button { color: rgba(255,255,255,.82); }
.is-over-hero .has-sub > button:hover { color: #fff; background: rgba(255,255,255,.1); }
.submenu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-2); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .22s var(--ease);
}
.has-sub[data-open="true"] .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li { margin: 0; }
.submenu a { padding: .68rem .8rem; border-radius: 9px; color: var(--slate) !important; background: none !important; }
.submenu a:hover { background: var(--paper-2) !important; color: var(--brand-deep) !important; }
.submenu .s-title { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); }
.submenu a:hover .s-title { color: var(--brand-deep); }
.submenu .s-desc { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; line-height: 1.4; font-family: var(--f-body); font-weight: 400; }

.nav-cta { display: flex; align-items: center; gap: .6rem; }
/* the in-list CTA is for the mobile drawer only */
.nav-links > li:last-child .btn { display: none; }
.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff;
  border-radius: 11px; cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: all .25s var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s var(--ease);
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.is-over-hero .burger { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.is-over-hero .burger span, .is-over-hero .burger span::before, .is-over-hero .burger span::after { background: #fff; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem var(--gut) 1.6rem;
    gap: .1rem; max-height: calc(100dvh - 78px); overflow-y: auto;
    transform: translateY(-14px); opacity: 0; visibility: hidden; transition: all .26s var(--ease);
    box-shadow: 0 22px 40px rgba(7,13,24,.12);
  }
  body.nav-open .nav-links { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a, .has-sub > button { color: var(--slate) !important; font-size: 1rem; padding: .8rem .2rem; width: 100%; justify-content: space-between; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 .5rem .2rem; padding: 0 0 0 .8rem; display: none; }
  .has-sub[data-open="true"] .submenu { display: block; }
  .nav-links > li:last-child .btn { display: inline-flex; margin-top: .9rem; width: 100%; color: #fff !important; font-size: .95rem; padding: .9rem 1.5rem; justify-content: center; }
}

/* ---------- Dark canvas ---------- */
.dark {
  background: var(--ink); color: rgba(255,255,255,.7); position: relative; overflow: hidden; isolation: isolate;
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark strong { color: #fff; }
.dark .lede, .dark .muted { color: rgba(255,255,255,.66); }
.dark .eyebrow { color: var(--brand-light); }
.dark a:not(.btn) { color: var(--brand-light); }
.dark hr { border-color: var(--line-dk); }

.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
}
.aurora::before {
  width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
  top: -22%; right: -12%;
  background: radial-gradient(circle, rgba(23,162,210,.55) 0%, rgba(23,162,210,0) 68%);
}
.aurora::after {
  width: 55vw; height: 55vw; max-width: 780px; max-height: 780px;
  bottom: -28%; left: -14%;
  background: radial-gradient(circle, rgba(11,110,156,.5) 0%, rgba(11,110,156,0) 68%);
}
.gridlines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 62% at 50% 40%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 40%, #000 25%, transparent 78%);
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(96px, 13vw, 168px) clamp(72px, 10vw, 128px); position: relative; }
.hero--home { margin-top: -78px; padding-top: clamp(140px, 15vw, 196px); }
.hero-inner { display: grid; grid-template-columns: 1.14fr .86fr; gap: clamp(36px, 4.4vw, 60px); align-items: center; }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lede { font-size: clamp(1.06rem, 1.6vw, 1.24rem); max-width: 56ch; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .42rem .95rem .42rem .5rem; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: .8rem; color: rgba(255,255,255,.8); margin-bottom: 1.6rem;
  font-family: var(--f-display); font-weight: 500;
}
.hero-badge b { color: #fff; font-weight: 600; }
.pill-dot {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  font-size: .62rem; color: #fff; font-weight: 700;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line-dk); }
.hero-meta div { min-width: 96px; }
.hero-meta dt { font-family: var(--f-display); font-size: 1.55rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-meta dd { margin: .42rem 0 0; font-size: .8rem; color: rgba(255,255,255,.55); letter-spacing: .03em; }

/* Dashboard mock */
.mock {
  border-radius: var(--r-lg); overflow: hidden; background: #0F1A2B;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(56,198,233,.1);
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
  transition: transform .6s var(--ease);
}
.mock:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
@media (max-width: 980px) { .mock { transform: none; } .mock:hover { transform: none; } }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; background: rgba(255,255,255,.045); border-bottom: 1px solid rgba(255,255,255,.08); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.mock-url {
  margin-left: .6rem; flex: 1; font-size: .68rem; color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.05); border-radius: 6px; padding: .28rem .6rem;
  font-family: ui-monospace, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock-body { padding: 1.1rem; display: grid; gap: .8rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: .65rem; }
.mock-kpi { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07); border-radius: 11px; padding: .7rem .8rem; }
.mock-kpi span { display: block; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.42); }
.mock-kpi b { display: block; font-family: var(--f-display); font-size: 1.22rem; color: #fff; margin-top: .2rem; line-height: 1.1; }
.mock-kpi.up b { color: var(--brand-light); }
.mock-chart { height: 108px; border-radius: 11px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); padding: .7rem; display: flex; align-items: flex-end; gap: 5px; }
.mock-chart i {
  flex: 1; border-radius: 3px 3px 0 0; display: block;
  background: linear-gradient(180deg, var(--brand-bright), rgba(23,162,210,.22));
  animation: bar 2.4s var(--ease) both;
}
@keyframes bar { from { transform: scaleY(.05); transform-origin: bottom; } }
.mock-rows { display: grid; gap: .38rem; }
.mock-row { display: grid; grid-template-columns: 1fr auto auto; gap: .6rem; align-items: center; padding: .5rem .7rem; background: rgba(255,255,255,.035); border-radius: 9px; font-size: .72rem; color: rgba(255,255,255,.6); }
.mock-row b { color: rgba(255,255,255,.9); font-weight: 500; }
.tag { font-size: .6rem; padding: .16rem .5rem; border-radius: 999px; font-weight: 600; letter-spacing: .04em; }
.tag--ok { background: rgba(18,184,134,.16); color: #4BD9A8; }
.tag--pend { background: rgba(240,162,2,.16); color: #F7C455; }

@media (prefers-reduced-motion: reduce) {
  .mock-chart i { animation: none; }
  .mock, .mock:hover { transform: none; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: rgba(23,162,210,.4); }
.card h3, .card h4 { margin-bottom: .55rem; }
.card p:last-child { margin-bottom: 0; }
.card--flat:hover { transform: none; box-shadow: var(--sh-1); }
.card--dark {
  background: rgba(255,255,255,.035); border-color: var(--line-dk); color: rgba(255,255,255,.68);
  backdrop-filter: blur(6px);
}
.card--dark:hover { background: rgba(255,255,255,.06); border-color: rgba(56,198,233,.4); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.card--dark h3, .card--dark h4 { color: #fff; }
.card--feature { padding-top: 2.2rem; }
.card-num {
  position: absolute; top: 1.35rem; right: 1.6rem;
  font-family: var(--f-display); font-size: 2.5rem; font-weight: 700; line-height: 1;
  color: var(--paper-3); letter-spacing: -.04em; pointer-events: none;
}
.card--dark .card-num { color: rgba(255,255,255,.07); }

.icon-badge {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(23,162,210,.14), rgba(11,110,156,.09));
  border: 1px solid rgba(23,162,210,.2); color: var(--brand-deep); margin-bottom: 1.15rem;
  transition: all .3s var(--ease);
}
.icon-badge svg { width: 23px; height: 23px; }
.card:hover .icon-badge { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; border-color: transparent; transform: scale(1.05); }
.card--dark .icon-badge { background: rgba(56,198,233,.1); border-color: rgba(56,198,233,.22); color: var(--brand-light); }

/* Feature list */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.85rem; margin: 0; font-size: .96rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(23,162,210,.13) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6E9C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}
.dark .ticks li::before {
  background: rgba(56,198,233,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237BDBF2' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}
.ticks--2 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem 1.6rem; }
@media (max-width: 620px) { .ticks--2 { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.dark .stats { background: var(--line-dk); border-color: var(--line-dk); }
.stat { background: #fff; padding: clamp(1.4rem, 2.6vw, 2.1rem); text-align: center; }
.dark .stat { background: rgba(255,255,255,.03); }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.dark .stat b { color: #fff; }
.stat span { display: block; margin-top: .55rem; font-size: .82rem; color: var(--muted); letter-spacing: .02em; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2,1fr); } }

/* ---------- Logo strip / marquee ---------- */
.strip { padding-block: clamp(34px, 4.4vw, 54px); border-block: 1px solid var(--line); background: var(--paper-2); }
.strip-label { text-align: center; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; font-family: var(--f-display); font-weight: 600; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: clamp(2rem, 5vw, 4rem); width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-item {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1rem, 1.7vw, 1.28rem);
  color: var(--slate); opacity: .5; white-space: nowrap; letter-spacing: -.01em;
  transition: opacity .25s, color .25s;
}
.marquee-item:hover { opacity: 1; color: var(--brand-deep); }
.dark .marquee-item { color: #fff; opacity: .42; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---------- Media / figures ---------- */
.media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); box-shadow: var(--sh-1); }
.dark .media { border-color: var(--line-dk); background: rgba(255,255,255,.03); }
.media img { width: 100%; }
figure { margin: 0; }
figcaption { font-size: .82rem; color: var(--muted); margin-top: .7rem; }

.shot { border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.09); background: #05090F; }
.shot img { width: 100%; display: block; }
.shot-cap { padding: .8rem 1rem; font-size: .8rem; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); }

/* ---------- Spec table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.dark .table-scroll { border-color: var(--line-dk); background: rgba(255,255,255,.03); }
table.spec { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 480px; }
table.spec th, table.spec td { text-align: left; padding: .95rem 1.3rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.dark table.spec th, .dark table.spec td { border-color: var(--line-dk); }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }
table.spec th { font-family: var(--f-display); font-weight: 600; color: var(--ink); width: 38%; white-space: nowrap; }
.dark table.spec th { color: #fff; }
table.spec td { color: var(--slate); }
.dark table.spec td { color: rgba(255,255,255,.68); }
table.spec tbody tr:nth-child(odd) { background: rgba(23,162,210,.022); }
.dark table.spec tbody tr:nth-child(odd) { background: rgba(255,255,255,.018); }

/* ---------- Timeline / steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: s; }
.steps li {
  position: relative; padding: 0 0 2.1rem 3.4rem; margin: 0; counter-increment: s;
  border-left: 2px solid var(--line);
}
.dark .steps li { border-color: var(--line-dk); }
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: -19px; top: -3px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--brand);
  color: var(--brand-deep); font-family: var(--f-display); font-weight: 700; font-size: .78rem;
}
.dark .steps li::before { background: var(--ink-2); color: var(--brand-light); }
.steps h4 { margin-bottom: .35rem; }
.steps p { margin-bottom: 0; font-size: .95rem; }

/* ---------- Accordion ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.acc details { border-bottom: 1px solid var(--line); }
.acc details:last-child { border-bottom: 0; }
.acc summary {
  cursor: pointer; padding: 1.15rem 3rem 1.15rem 1.4rem; position: relative; list-style: none;
  font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--ink);
  transition: background .2s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--paper-2); }
.acc summary::after {
  content: ""; position: absolute; right: 1.4rem; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease);
}
.acc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc .acc-body { padding: 0 1.4rem 1.4rem; font-size: .96rem; }
.acc .acc-body p:last-child { margin-bottom: 0; }

/* ---------- Team ---------- */
.person { text-align: left; }
.person-avatar {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-ink) 100%);
  color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.28rem; letter-spacing: .01em;
  box-shadow: 0 8px 22px rgba(11,110,156,.28);
}
.person h4 { margin-bottom: .1rem; }
.person .role { font-family: var(--f-display); font-size: .84rem; font-weight: 600; color: var(--brand-deep); margin-bottom: .7rem; letter-spacing: .01em; }
.person .quals { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .9rem; }
.person p { font-size: .92rem; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(2.4rem, 5vw, 4rem); background: linear-gradient(125deg, var(--ink-2) 0%, var(--brand-ink) 55%, var(--brand-deep) 100%); color: rgba(255,255,255,.75); isolation: isolate; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: rgba(255,255,255,.74); }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: radial-gradient(circle at 82% 18%, rgba(123,219,242,.5), transparent 52%);
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .42rem; }
.field label { font-family: var(--f-display); font-size: .84rem; font-weight: 600; color: var(--ink); }
.dark .field label { color: #fff; }
.field .hint { font-size: .78rem; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: .97rem; color: var(--ink);
  padding: .82rem 1rem; border: 1px solid var(--line); border-radius: 11px; background: #fff;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(23,162,210,.13);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status { display: none; padding: .95rem 1.15rem; border-radius: 11px; font-size: .92rem; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(18,184,134,.1); color: #0B7A5A; border: 1px solid rgba(18,184,134,.28); }
.form-status.err { background: rgba(214,58,58,.08); color: #A32828; border: 1px solid rgba(214,58,58,.24); }

/* ---------- Contact tiles ---------- */
.contact-tile { display: flex; gap: 1rem; align-items: flex-start; }
.contact-tile .icon-badge { margin-bottom: 0; flex: none; width: 44px; height: 44px; border-radius: 12px; }
.contact-tile .icon-badge svg { width: 19px; height: 19px; }
.contact-tile h4 { margin-bottom: .15rem; font-size: .92rem; }
.contact-tile a, .contact-tile p { font-size: .95rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); padding-block: clamp(56px, 7vw, 84px) 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h5 { font-family: var(--f-display); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: #fff; margin: 0 0 1.15rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .62rem; }
.site-footer a { color: rgba(255,255,255,.6); font-size: .92rem; }
.site-footer a:hover { color: var(--brand-light); }
.footer-brand img { height: 46px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .92rem; max-width: 34ch; color: rgba(255,255,255,.55); }
.footer-bottom {
  margin-top: clamp(38px, 5vw, 60px); padding-block: 1.5rem; border-top: 1px solid var(--line-dk);
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: space-between; align-items: center;
  font-size: .84rem; color: rgba(255,255,255,.42);
}
.footer-bottom a { font-size: .84rem; }
.social { display: flex; gap: .5rem; }
.social a {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dk); color: rgba(255,255,255,.7);
  transition: all .25s var(--ease);
}
.social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(96px, 12vw, 148px) clamp(58px, 7vw, 92px); margin-top: -78px; padding-top: clamp(140px, 15vw, 200px); }
.breadcrumbs { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 1.2rem; }
.breadcrumbs a { color: rgba(255,255,255,.7); }
.breadcrumbs a:hover { color: var(--brand-light); }
.breadcrumbs span { margin-inline: .5rem; opacity: .5; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .34rem .8rem; border-radius: 999px; font-size: .74rem; font-weight: 600;
  font-family: var(--f-display); letter-spacing: .04em; text-transform: uppercase;
}
.badge--soon { background: rgba(240,162,2,.14); color: #B47700; border: 1px solid rgba(240,162,2,.3); }
.dark .badge--soon { background: rgba(240,162,2,.16); color: #F7C455; border-color: rgba(240,162,2,.32); }
.badge--live { background: rgba(18,184,134,.12); color: #0B7A5A; border: 1px solid rgba(18,184,134,.28); }
.dark .badge--live { background: rgba(18,184,134,.16); color: #4BD9A8; border-color: rgba(18,184,134,.3); }
.badge--brand { background: rgba(23,162,210,.12); color: var(--brand-deep); border: 1px solid rgba(23,162,210,.28); }
.dark .badge--brand { background: rgba(56,198,233,.14); color: var(--brand-light); border-color: rgba(56,198,233,.3); }

/* ---------- Product marks & cards ---------- */
.prod-mark {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem;
  color: var(--ink); letter-spacing: -.015em; margin-bottom: .9rem;
}
.dark .prod-mark { color: #fff; }
.prod-mark i {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center; color: #fff; font-style: normal;
  background: var(--pc, var(--brand));
  box-shadow: 0 6px 16px color-mix(in srgb, var(--pc, var(--brand)) 40%, transparent);
}
.prod-mark i svg { width: 17px; height: 17px; }
.prod-mark small {
  display: block; font-family: var(--f-body); font-weight: 400; font-size: .74rem;
  color: var(--muted); letter-spacing: .04em; margin-top: 2px;
}
.dark .prod-mark small { color: rgba(255,255,255,.5); }

.prod-card { position: relative; overflow: hidden; }
.prod-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--pc, var(--brand)); opacity: .9;
}
.pc-coresync { --pc: var(--p-coresync); }
.pc-voip     { --pc: var(--p-voip); }
.pc-suite    { --pc: var(--p-suite); }
.pc-hardware { --pc: var(--p-hardware); }
.pc-security { --pc: var(--p-security); }

.domain-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem;
  padding: .32rem .7rem; border-radius: 8px;
  background: rgba(23,162,210,.08); color: var(--brand-deep);
  border: 1px solid rgba(23,162,210,.22);
}
.dark .domain-chip { background: rgba(56,198,233,.1); color: var(--brand-light); border-color: rgba(56,198,233,.24); }

/* ---------- Brand chip rows (hardware vendors) ---------- */
.brands { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.brands li { margin: 0; }
.brands span {
  display: inline-block; font-family: var(--f-display); font-size: .84rem; font-weight: 600;
  padding: .42rem .85rem; border-radius: 999px;
  background: var(--paper-3); color: var(--slate); border: 1px solid var(--line);
}
.dark .brands span { background: rgba(255,255,255,.05); color: rgba(255,255,255,.78); border-color: var(--line-dk); }

/* ---------- Hardware figure ---------- */
.hw-fig {
  background: linear-gradient(160deg, #0C1420 0%, #0A1017 100%);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg);
  padding: clamp(1rem, 2.6vw, 1.9rem); overflow: hidden;
}
.hw-fig img { width: 100%; }
.hw-cables { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 900px) { .hw-cables { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.hw-cable { text-align: center; }
.hw-cable .hw-fig { padding: clamp(.8rem, 2vw, 1.3rem); }
.hw-cable h4 { margin: 1rem 0 .2rem; font-size: .96rem; }
.hw-cable p { font-size: .84rem; margin: 0; color: var(--muted); }
.dark .hw-cable p { color: rgba(255,255,255,.55); }

/* ---------- Note / callout ---------- */
.note {
  border-left: 3px solid var(--brand); background: rgba(23,162,210,.05);
  padding: 1.15rem 1.4rem; border-radius: 0 var(--r) var(--r) 0; font-size: .93rem;
}
.dark .note { background: rgba(56,198,233,.07); border-color: var(--brand-bright); }
.note p:last-child { margin-bottom: 0; }

/* ---------- Reveal ----------
   Content is visible by default. It only starts hidden when JavaScript is
   running (html.js), so a failed script or a no-JS browser never hides copy. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Utility ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand-deep); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 2px; border-radius: 4px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 2.8rem; }
.divider-angle { height: 6px; background: linear-gradient(90deg, var(--brand-deep), var(--brand), var(--brand-light)); }

/* Offset anchors so sticky-header doesn't cover the target */
.anchor { display: block; position: relative; top: -90px; visibility: hidden; }
[id] { scroll-margin-top: 96px; }

/* ---------- External product links ---------- */
.btn--ext svg:last-child, .link-ext svg:last-child { width: 14px; height: 14px; }
.btn--ext:hover svg:last-child { transform: translate(2px,-2px); }
.link-ext {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--f-display); font-weight: 600; font-size: .93rem;
  color: var(--brand-deep);
}
.link-ext svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-ext:hover svg { transform: translate(2px,-2px); }
.dark .link-ext { color: var(--brand-light); }
.ext-note {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .74rem; color: var(--muted); font-family: var(--f-body);
}
.dark .ext-note { color: rgba(255,255,255,.45); }
.ext-note svg { width: 11px; height: 11px; }
.submenu .s-title .ext-mark { margin-left: .3rem; opacity: .5; }
.submenu .s-title .ext-mark svg { width: 10px; height: 10px; display: inline-block; vertical-align: baseline; }
