/* =========================================================
   Vexyron Labs — Enterprise website styles
   ========================================================= */
:root {
  --navy-950: #040b24;
  --navy-900: #071338;
  --navy-800: #0b1d52;
  --navy-700: #12297a;
  --blue-600: #1a56f0;
  --blue-500: #1f6bff;
  --blue-400: #3d8bff;
  --cyan-400: #18c8ff;
  --cyan-300: #5ee0ff;
  --green: #12a35c;
  --red: #e5484d;
  --ink: #0b1633;
  --ink-2: #3a4668;
  --ink-3: #66718f;
  --line: #e4e9f4;
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --grad: linear-gradient(120deg, #0b2a8f 0%, #1f6bff 45%, #18c8ff 100%);
  --grad-text: linear-gradient(100deg, #1238b8 0%, #1f6bff 40%, #10b8f0 100%);
  --radius: 18px;
  --shadow-sm: 0 2px 8px rgba(11, 29, 82, .06);
  --shadow: 0 18px 50px -18px rgba(11, 29, 82, .25);
  --shadow-lg: 0 40px 90px -30px rgba(11, 29, 82, .40);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
::selection { background: rgba(31, 107, 255, .18); }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-section { margin-top: 110px; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 24px;
  display: inline-flex; align-items: center; gap: 10px; padding: var(--pad);
  border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; line-height: 1.2;
  cursor: pointer; transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .2s, border-color .2s;
  font-family: var(--font); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--grad); background-size: 140% 100%; color: #fff; box-shadow: 0 10px 30px -8px rgba(31, 107, 255, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(31, 107, 255, .7); background-position: 100% 0; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-600); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-sm { --pad: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-600); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.scrolled, .header.solid { background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 34px; width: auto; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: 150px 0 100px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(900px 500px at 85% 10%, rgba(24,200,255,.16), transparent 60%),
  radial-gradient(800px 600px at 10% 0%, rgba(31,107,255,.14), transparent 60%),
  linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%); }
.net-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; opacity: .5; animation: float 18s ease-in-out infinite; pointer-events: none; }
.blob.b1 { width: 380px; height: 380px; background: #7fb2ff; top: -80px; right: -60px; }
.blob.b2 { width: 300px; height: 300px; background: #8ff0ff; bottom: -60px; left: 30%; animation-delay: -6s; opacity: .35; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(-40px,30px) scale(1.08); } 66% { transform: translate(30px,-20px) scale(.95); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 22px;
}
.eyebrow .tag { background: var(--grad); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 700; letter-spacing: -.035em; }
.hero .lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta { display: flex; gap: 12px 28px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }
.hero-meta div { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--blue-500); }
.typed { display: inline-block; min-width: 1ch; }
.typed::after { content: ""; display: inline-block; width: 3px; height: .9em; background: var(--blue-500); margin-left: 4px; vertical-align: -0.08em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Console mock */
.console-wrap { position: relative; }
.console {
  position: relative; background: #fff; border: 1px solid rgba(255,255,255,.9);
  border-radius: 22px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); padding: 20px; transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
  transition: transform .6s var(--ease);
}
.console:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.console-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3e8f3; }
.dots i:nth-child(1) { background: #ff6b6b; } .dots i:nth-child(2) { background: #ffc24b; } .dots i:nth-child(3) { background: #2ed47a; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #0b8a4b; background: #e6f8ef; padding: 4px 10px; border-radius: 999px; }
.live-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16c06a; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,192,106,.6); } 70% { box-shadow: 0 0 0 8px rgba(22,192,106,0); } 100% { box-shadow: 0 0 0 0 rgba(22,192,106,0); } }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.kpi b { font-family: var(--font-display); font-size: 20px; font-variant-numeric: tabular-nums; }
.chart { background: linear-gradient(180deg, #f7faff, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 6px; margin-bottom: 14px; }
.chart-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }
.chart svg { width: 100%; height: 110px; display: block; }
.calls { display: grid; gap: 8px; min-height: 140px; }
.call { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; font-size: 13px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; animation: slideIn .5s ease both; }
.call .flag { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--grad); }
.call .route { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call .route b { color: var(--ink); font-weight: 600; }
.call .dur { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.call .st { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #e8f0ff; color: var(--blue-600); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; animation: bob 6s ease-in-out infinite;
}
.float-card .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #e9f9f0; color: var(--green); }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card small { display: block; font-weight: 500; color: var(--ink-3); font-size: 11px; }
.float-card.fc1 { left: -38px; bottom: 70px; }
.float-card.fc2 { right: -26px; top: -22px; animation-delay: -3s; }
.float-card.fc2 .ic { background: #e8f0ff; color: var(--blue-600); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 160px 0 90px; overflow: hidden; isolation: isolate; text-align: center; }
.page-hero .hero-bg { background:
  radial-gradient(700px 380px at 80% 0%, rgba(24,200,255,.18), transparent 60%),
  radial-gradient(700px 420px at 15% 10%, rgba(31,107,255,.16), transparent 60%),
  linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%); }
.page-hero h1 { font-size: clamp(36px, 4.8vw, 58px); letter-spacing: -.035em; max-width: 900px; margin-inline: auto; }
.page-hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 720px; margin: 0 auto 30px; }
.page-hero .hero-actions { justify-content: center; margin-bottom: 0; }
.crumbs { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.crumbs a:hover { color: var(--blue-600); }
.crumbs span[aria-current] { color: var(--blue-600); }
.page-hero.dark { color: #fff; }
.page-hero.dark .hero-bg { background: radial-gradient(800px 400px at 50% 0%, rgba(31,107,255,.35), transparent 70%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.page-hero.dark .lead { color: #b9c4ea; }

/* ---------- Strip / marquee ---------- */
.strip { border-block: 1px solid var(--line); background: #fff; padding: 22px 0; overflow: hidden; }
.marquee { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-3); font-size: 15px; white-space: nowrap; }
.marquee span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
.strip:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.section-head h2, .h2 { font-size: clamp(30px, 3.6vw, 46px); }
.section-head p { font-size: 18px; color: var(--ink-2); }
.dark-section { background: radial-gradient(900px 400px at 50% 0%, rgba(31,107,255,.28), transparent 70%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; overflow: hidden; }
.dark-section .section-head p { color: #b9c4ea; }
.dark-section .kicker { color: var(--cyan-300); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: #fff; border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--font-display); font-size: 38px; letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-3); font-size: 14px; font-weight: 500; }
.stats-band { margin-top: -50px; position: relative; z-index: 3; }

/* Class 4 / Class 5 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.class-card { position: relative; border-radius: 24px; padding: 40px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .35s, box-shadow .35s; }
.class-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.class-card.dark { background: radial-gradient(600px 300px at 100% 0%, rgba(24,200,255,.25), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff; border-color: transparent; }
.class-card.dark p, .class-card.dark li { color: #c3cdf0; }
.class-badge { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; padding: 6px 12px; border-radius: 8px; background: #e8f0ff; color: var(--blue-600); margin-bottom: 18px; }
.dark .class-badge { background: rgba(255,255,255,.1); color: var(--cyan-300); }
.class-card h3 { font-size: 28px; }
.class-card .link-arrow { margin-top: 26px; }
.class-card.dark .link-arrow { color: var(--cyan-300); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--ink-2); }
.ticks li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: #e8f0ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; margin-top: 1px; }
.dark .ticks li::before, .tier.featured .ticks li::before { background-color: rgba(94,224,255,.15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ee0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.class-card .ring { position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px dashed rgba(31,107,255,.25); animation: spin 30s linear infinite; pointer-events: none; }
.class-card .ring::after { content: ""; position: absolute; top: 20px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 18px var(--cyan-400); }
.dark .ring { border-color: rgba(94,224,255,.25); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .3s, box-shadow .3s; overflow: hidden; display: flex; flex-direction: column;
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #e9f1ff, #e2f8ff); color: var(--blue-600); transition: transform .3s; }
.icon svg { width: 26px; height: 26px; }
.card .icon { margin-bottom: 20px; }
.card:hover .icon { transform: rotate(-6deg) scale(1.06); }
.card h3 { font-size: 20px; }
.card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.card .link-arrow { margin-top: auto; padding-top: 18px; font-size: 15px; }
.dark-section .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.dark-section .card p { color: #b9c4ea; }
.dark-section .card .icon { background: rgba(94,224,255,.1); color: var(--cyan-300); }

/* Call flow */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.flow-line { position: absolute; left: 10%; right: 10%; top: 48px; height: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.flow-line::after { content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, var(--cyan-400), transparent); animation: travel 2.8s linear infinite; }
@keyframes travel { to { left: 100%; } }
.step { position: relative; text-align: center; padding: 0 6px; }
.step .node { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(160deg, #15275f, #0a1640); border: 1px solid rgba(255,255,255,.14); position: relative; }
.step .node svg { width: 38px; height: 38px; color: var(--cyan-300); }
.step .node::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--cyan-400); opacity: 0; animation: glow 5s infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes glow { 0%, 30%, 100% { opacity: 0; box-shadow: none; } 10% { opacity: 1; box-shadow: 0 0 30px rgba(24,200,255,.6); } }
.step .num { font-size: 12px; color: var(--cyan-300); font-weight: 700; letter-spacing: .12em; }
.step h4 { font-size: 17px; margin: 6px 0; }
.step p { font-size: 14px; color: #a9b5e0; margin: 0; }

/* Feature rows (text + visual) */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.frow + .frow { margin-top: 110px; }
.frow.rev .frow-visual { order: -1; }
.frow h2 { font-size: clamp(28px, 3.2vw, 40px); }
.frow p.lead { font-size: 18px; color: var(--ink-2); }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px; position: relative; }
.mock-title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-family: var(--font-display); margin-bottom: 16px; font-size: 15px; }
.mock-title small { font: 600 12px var(--font); color: var(--ink-3); }
.mrow { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; font-size: 14px; background: #fff; }
.mrow b { font-weight: 600; }
.mrow .meta { color: var(--ink-3); font-size: 12px; }
.mrow .bar { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: var(--bg-soft); overflow: hidden; }
.mrow .bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); width: var(--w); transform-origin: left; animation: fill 1.4s var(--ease) both; }
.in .mrow .bar i { animation-play-state: running; }
@keyframes fill { from { transform: scaleX(0); } }
.mrow.win { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(31,107,255,.1); }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #e8f0ff; color: var(--blue-600); }
.pill.green { background: #e6f8ef; color: #0b8a4b; }
.pill.amber { background: #fff4e0; color: #b26b00; }
.pill.red { background: #fdecec; color: #c0353a; }
.ledger { width: 100%; border-collapse: collapse; font-size: 14px; }
.ledger th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.ledger td { padding: 11px 10px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ledger td:last-child, .ledger th:last-child { text-align: right; }
.ledger .pos { color: var(--green); font-weight: 600; } .ledger .neg { color: var(--ink); }
.tree { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.tree li { position: relative; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; background: #fff; }
.tree li.l1 { margin-left: 28px; } .tree li.l2 { margin-left: 56px; } .tree li.l3 { margin-left: 84px; }
.tree li.l1::before, .tree li.l2::before, .tree li.l3::before { content: ""; position: absolute; left: -18px; top: -12px; width: 14px; height: 34px; border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); border-bottom-left-radius: 8px; }

/* Portals */
.portals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.portal { border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.portal:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.portal-visual { height: 170px; background: linear-gradient(160deg, #0d2370, #071338); position: relative; padding: 18px; overflow: hidden; }
.portal-visual.v2 { background: linear-gradient(160deg, #123aa8, #0b1d52); }
.portal-visual.v3 { background: linear-gradient(160deg, #0a7fc4, #0b2a8f); }
.portal-visual .bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.12); margin-bottom: 10px; }
.portal-visual .bars { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.portal-visual .bars i { flex: 1; height: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--cyan-400), var(--blue-500)); transform-origin: bottom; animation: grow 3s ease-in-out infinite alternate; }
.portal-visual .bars i:nth-child(2n) { animation-delay: -1.2s; } .portal-visual .bars i:nth-child(3n) { animation-delay: -2.1s; } .portal-visual .bars i:nth-child(5n) { animation-delay: -.6s; }
@keyframes grow { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.portal-body { padding: 26px; }
.portal-body h3 { font-size: 21px; }
.portal-body p { color: var(--ink-2); font-size: 15px; }
.portal-body .ticks { margin-top: 12px; gap: 9px; font-size: 14px; }

/* Security */
.sec-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.shield { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; margin: auto; display: grid; place-items: center; }
.shield .orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(31,107,255,.3); animation: spin 40s linear infinite; }
.shield .orbit.o1 { inset: 0; } .shield .orbit.o2 { inset: 14%; animation-direction: reverse; animation-duration: 28s; } .shield .orbit.o3 { inset: 28%; animation-duration: 20s; }
.shield .orbit span { position: absolute; top: -18px; left: calc(50% - 18px); width: 36px; height: 36px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--blue-600); }
.shield .orbit span svg { width: 18px; height: 18px; }
.shield .core { width: 38%; aspect-ratio: 1; border-radius: 30%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(31,107,255,.7); animation: breathe 4s ease-in-out infinite; }
.shield .core svg { width: 46%; height: 46%; color: #fff; }
@keyframes breathe { 50% { transform: scale(1.05); box-shadow: 0 30px 80px -10px rgba(24,200,255,.7); } }
.sec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.sec-item { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.sec-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.sec-item h4 { font-size: 16px; margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.sec-item h4 svg { width: 18px; height: 18px; color: var(--blue-500); flex: 0 0 18px; }
.sec-item p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* Layers (security page) */
.layers { display: grid; gap: 20px; }
.layer { display: grid; grid-template-columns: 240px 1fr; gap: 30px; padding: 32px; border-radius: 22px; border: 1px solid var(--line); background: #fff; transition: box-shadow .3s; }
.layer:hover { box-shadow: var(--shadow); }
.layer-head .icon { margin-bottom: 14px; }
.layer-head h3 { font-size: 21px; margin-bottom: 4px; }
.layer-head p { color: var(--ink-3); font-size: 14px; margin: 0; }
.layer .feat-list { align-content: start; }

/* Feature list */
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.feat-list li { display: flex; gap: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.feat-list li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }

/* Features page */
.features-layout { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.fnav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; }
.fnav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.fnav a svg { width: 17px; height: 17px; flex: 0 0 17px; opacity: .7; }
.fnav a:hover { background: var(--bg-soft); color: var(--ink); }
.fnav a.active { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -10px rgba(31,107,255,.7); }
.fnav a.active svg { opacity: 1; }
.fcat { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; margin-bottom: 22px; scroll-margin-top: 96px; transition: box-shadow .3s; }
.fcat:hover { box-shadow: var(--shadow); }
.fcat-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.fcat-head .icon { background: var(--grad); color: #fff; width: 56px; height: 56px; flex-basis: 56px; border-radius: 16px; }
.fcat-num { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--blue-600); }
.fcat-head h2 { font-size: 24px; margin: 2px 0 4px; }
.fcat-head p { color: var(--ink-2); margin: 0; }
.feature-search { position: relative; margin-bottom: 24px; }
.feature-search input { width: 100%; font: 16px var(--font); padding: 16px 18px 16px 50px; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); outline: none; transition: border-color .2s, box-shadow .2s; }
.feature-search input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(31,107,255,.12); }
.feature-search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--ink-3); }
.feature-search .count { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--ink-3); font-weight: 600; }
.feat-list li.hide, .fcat.hide { display: none; }
.feat-list mark { background: rgba(24,200,255,.25); color: inherit; border-radius: 3px; padding: 0 2px; }
.no-results { display: none; text-align: center; padding: 60px 20px; color: var(--ink-3); border: 1px dashed var(--line); border-radius: 24px; }
.no-results.show { display: block; }

/* Solutions */
.solution { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.solution:last-child { border-bottom: 0; }
.solution:nth-child(even) .solution-visual { order: -1; }
.solution h2 { font-size: clamp(26px, 3vw, 36px); }
.solution .lead { color: var(--ink-2); font-size: 17px; }
.solution-visual { position: relative; border-radius: 26px; padding: 34px; min-height: 320px; background: radial-gradient(500px 260px at 100% 0%, rgba(24,200,255,.25), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.solution-visual .big-icon { position: absolute; right: 30px; top: 30px; width: 90px; height: 90px; border-radius: 26px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); animation: bob 6s ease-in-out infinite; }
.solution-visual .big-icon svg { width: 44px; height: 44px; color: var(--cyan-300); }
.solution-visual .kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.solution-visual .kv div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px; }
.solution-visual .kv small { display: block; color: #a9b5e0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.solution-visual .kv b { font-family: var(--font-display); font-size: 17px; }
.solution-visual .ring { position: absolute; left: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 1px dashed rgba(94,224,255,.25); animation: spin 30s linear infinite; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.subnav { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.subnav a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: .2s; }
.subnav a:hover { border-color: var(--blue-400); color: var(--blue-600); transform: translateY(-2px); }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tier { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; }
.tier:hover, .tier.active { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-400); }
.tier.featured { background: linear-gradient(165deg, var(--navy-800), var(--navy-950)); color: #fff; border-color: transparent; }
.tier.featured .tier-range, .tier.featured .ticks li { color: #c3cdf0; }
.tier .badge { position: absolute; top: -12px; left: 26px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.tier h3 { font-size: 18px; margin-bottom: 4px; }
.tier-range { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.price { display: flex; flex-direction: column; gap: 2px; margin-bottom: 4px; }
.price b { font-family: var(--font-display); font-size: 46px; letter-spacing: -.04em; line-height: 1.1; }
.price b.custom { font-size: 36px; }
.price span { color: var(--ink-3); font-size: 14px; }
.tier.featured .price span { color: #a9b5e0; }
.tier .ticks { margin: 18px 0 26px; gap: 10px; font-size: 14px; flex: 1; }

.calc { display: grid; grid-template-columns: 1.3fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.calc-left { padding: 40px; }
.calc-left h3 { font-size: 24px; }
.calc-left p { color: var(--ink-2); }
.ports-input { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; flex-wrap: wrap; }
.ports-input input[type=number] { width: 160px; font: 700 28px var(--font-display); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.ports-input input[type=number]:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(31,107,255,.12); }
.ports-input label { color: var(--ink-3); font-weight: 600; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--blue-500) var(--p, 33%), #e3e9f6 var(--p, 33%)); outline: none; margin: 10px 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--blue-500); box-shadow: 0 4px 12px rgba(31,107,255,.45); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid var(--blue-500); cursor: grab; }
.scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: 6px; font-weight: 600; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.presets button { font: 600 13px var(--font); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-2); cursor: pointer; transition: .2s; }
.presets button:hover { border-color: var(--blue-400); color: var(--blue-600); }
.calc-right { background: linear-gradient(165deg, var(--navy-800), var(--navy-950)); color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.calc-right::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(24,200,255,.35), transparent 70%); top: -120px; right: -100px; pointer-events: none; }
.calc-right small { color: #a9b5e0; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.calc-total { font-family: var(--font-display); font-size: 54px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.calc-break { color: #c3cdf0; font-size: 15px; margin-bottom: 24px; }
.calc-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; color: #c3cdf0; }
.calc-row b { color: #fff; }
.calc-right .btn { margin-top: 24px; position: relative; }
.calc-enterprise { display: none; }
.is-enterprise .calc-enterprise { display: block; }
.is-enterprise .calc-normal { display: none; }
.price-note { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 22px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-2); }
.compare thead th { font-family: var(--font-display); font-size: 16px; background: var(--bg-soft); position: sticky; top: 0; }
.compare thead th small { display: block; font: 600 13px var(--font); color: var(--blue-600); }
.compare tbody tr:hover { background: #fafcff; }
.compare tr.group td { background: var(--bg-soft); font-weight: 700; color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.compare .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e8f0ff; color: var(--blue-600); }
.compare .yes svg { width: 13px; height: 13px; }
.compare .no { color: #b8c0d6; }

/* FAQ */
.faq { max-width: 860px; margin: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--blue-500); transition: transform .25s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* CTA band */
.cta-wrap { padding: 40px 0 110px; }
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; padding: 56px; border-radius: 30px; color: #fff; background: radial-gradient(700px 300px at 0% 0%, rgba(31,107,255,.45), transparent 60%), linear-gradient(140deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow-lg); }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 40px); }
.cta-band p { color: #b9c4ea; font-size: 17px; margin: 0; max-width: 620px; }
.cta-band .kicker { color: var(--cyan-300); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-glow { position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(24,200,255,.4), transparent 65%); animation: float 14s ease-in-out infinite; pointer-events: none; }

/* About */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value .icon { margin-bottom: 18px; }
.value h3 { font-size: 19px; }
.value p { color: var(--ink-2); font-size: 15px; margin: 0; }
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mission-visual { position: relative; aspect-ratio: 1.1; border-radius: 30px; background: radial-gradient(400px 300px at 70% 20%, rgba(24,200,255,.3), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); display: grid; place-items: center; overflow: hidden; }
.mission-visual img { width: 46%; filter: drop-shadow(0 20px 40px rgba(24,200,255,.35)); animation: bob 7s ease-in-out infinite; }
.mission-visual .ring { position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(94,224,255,.3); animation: spin 40s linear infinite; }
.mission-visual .ring.r2 { inset: 24%; animation-direction: reverse; animation-duration: 26s; }
.mission-visual .ring::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 18px var(--cyan-400); }

/* Timeline / process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: p; }
.process > div { position: relative; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); counter-increment: p; }
.process > div::before { content: "0" counter(p); display: block; font-family: var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.process h3 { font-size: 18px; }
.process p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* Get started / contact */
.start { background: radial-gradient(800px 400px at 0% 0%, rgba(31,107,255,.3), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(24,200,255,.22), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; padding: 150px 0 110px; }
.start-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.start h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.03em; }
.start .lead { color: #b9c4ea; font-size: 18px; }
.start .kicker { color: var(--cyan-300); }
.start .crumbs { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #a9b5e0; box-shadow: none; }
.start .crumbs span[aria-current] { color: var(--cyan-300); }
.steps-mini { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 18px; counter-reset: s; }
.steps-mini li { display: flex; gap: 16px; color: #c3cdf0; counter-increment: s; }
.steps-mini li::before { content: counter(s); flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--cyan-300); }
.steps-mini b { color: #fff; display: block; }
.contact-box { display: grid; gap: 12px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.contact-box a, .contact-box div { display: flex; gap: 12px; align-items: center; color: #dfe5fb; font-size: 15px; }
.contact-box a:hover { color: #fff; }
.contact-box svg { width: 20px; height: 20px; color: var(--cyan-300); flex: 0 0 20px; }
.contact-box small { display: block; color: #a9b5e0; font-size: 12px; }

.form-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 36px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); position: relative; }
.form-steps { display: flex; gap: 8px; margin-bottom: 26px; }
.form-steps span { flex: 1; height: 5px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.form-steps span::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.form-steps span.done::after { transform: scaleX(1); }
.form-card h2, .form-card h3 { font-size: 22px; margin-bottom: 4px; }
.form-card .sub { color: var(--ink-3); font-size: 14px; margin-bottom: 22px; }
.js .fstep { display: none; }
.js .fstep.active { display: block; animation: rise .4s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fstep + .fstep { margin-top: 24px; }
.js .fstep + .fstep { margin-top: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field > label, .field > .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field label i, .field .label i { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  font: 15px var(--font); color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; min-width: 0;
}
.field select { -webkit-appearance: none; 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='%2366718f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-500); background-color: #fff; box-shadow: 0 0 0 4px rgba(31,107,255,.12); }
.field.invalid input, .field.invalid select { border-color: var(--red); box-shadow: 0 0 0 4px rgba(229,72,77,.1); }
.field .err { font-size: 12px; color: var(--red); display: none; }
.field.invalid .err { display: block; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; text-align: center; padding: 12px 10px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; background: var(--bg-soft); color: var(--ink); }
.choice span small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; }
.choice input:checked + span { border-color: var(--blue-500); background: #eef4ff; color: var(--blue-600); box-shadow: 0 0 0 3px rgba(31,107,255,.12); }
.choice input:focus-visible + span { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .choice span { padding: 8px 14px; border-radius: 999px; font-size: 13px; }
.est { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #eef4ff; color: var(--blue-600); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.est b { font-family: var(--font-display); font-size: 18px; white-space: nowrap; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.no-js-submit { display: none; }
html:not(.js) .no-js-submit { display: inline-flex; }
html:not(.js) .form-nav { display: none; }
html:not(.js) .form-steps { display: none; }
.consent { display: flex; gap: 10px; font-size: 13px; color: var(--ink-3); margin-bottom: 16px; align-items: flex-start; }
.consent input { margin-top: 3px; accent-color: var(--blue-500); width: 16px; height: 16px; flex: 0 0 16px; }
.consent a { color: var(--blue-600); text-decoration: underline; }
.consent.invalid { color: var(--red); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 16px; background: #fdecec; color: #a5282d; border: 1px solid #f6c9cb; }
.form-alert.show { display: block; }
.form-alert a { text-decoration: underline; font-weight: 600; }
.success { text-align: center; padding: 30px 10px; display: none; }
.success.show { display: block; animation: rise .5s ease; }
.success .check { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 20px 40px -12px rgba(31,107,255,.6); }
.success .check svg { width: 40px; height: 40px; color: #fff; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }

/* Simple centered pages (thank-you, 404) */
.simple { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; position: relative; overflow: hidden; isolation: isolate; }
.simple .big { font-family: var(--font-display); font-size: clamp(90px, 16vw, 180px); font-weight: 700; letter-spacing: -.06em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.simple h1 { font-size: clamp(30px, 4vw, 44px); }
.simple p { color: var(--ink-2); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }
.simple .hero-actions { justify-content: center; }
.simple .check { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 20px 40px -12px rgba(31,107,255,.6); }
.simple .check svg { width: 46px; height: 46px; color: #fff; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .3s ease forwards; }

/* Legal prose */
.prose { max-width: 820px; margin: 0 auto; color: var(--ink-2); font-size: 16.5px; }
.prose h2 { font-size: 24px; color: var(--ink); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--blue-600); text-decoration: underline; }
.prose .updated { font-size: 14px; color: var(--ink-3); }

/* Footer */
.footer { background: var(--navy-950); color: #a9b5e0; padding: 70px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 50px; }
.footer-about p { max-width: 340px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand span { font-family: var(--font-display); font-size: 22px; color: #fff; font-weight: 700; letter-spacing: -.02em; }
.footer-brand span em { font-style: normal; font-weight: 300; }
.footer-mail { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .2s; }
.footer-mail:hover { background: rgba(255,255,255,.12); }
.footer-mail svg { width: 18px; height: 18px; color: var(--cyan-300); }
.footer h5 { color: #fff; font-size: 14px; margin: 0 0 16px; font-family: var(--font-display); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px); transition: .3s; z-index: 40; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .sec-grid, .start-grid, .frow, .solution, .mission { grid-template-columns: 1fr; }
  .frow { gap: 40px; } .solution { gap: 36px; }
  .frow.rev .frow-visual, .solution:nth-child(even) .solution-visual { order: 0; }
  .console { transform: none; max-width: 620px; margin: 0 auto; }
  .float-card.fc1 { left: -10px; } .float-card.fc2 { right: -10px; }
  .tiers, .values, .process, .cards.four { grid-template-columns: repeat(2, 1fr); }
  .cards, .portals { grid-template-columns: repeat(2, 1fr); }
  .features-layout { grid-template-columns: 1fr; }
  .fnav { position: sticky; top: 76px; z-index: 5; flex-direction: row; overflow-x: auto; max-height: none; border-radius: 14px; scrollbar-width: none; box-shadow: var(--shadow-sm); }
  .fnav::-webkit-scrollbar { display: none; }
  .fnav a { white-space: nowrap; }
  .fcat { scroll-margin-top: 150px; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 44px; }
  .layer { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .calc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 80px 0; }
  .hero { padding: 120px 0 90px; }
  .page-hero { padding: 130px 0 70px; }
  .start { padding: 120px 0 80px; }
  .nav-cta .btn-primary { display: none; }
  .brand img { height: 28px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .float-card { display: none; }
  .cards, .cards.two, .cards.four, .portals, .tiers, .row, .feat-list, .sec-list, .values, .process { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .class-card, .calc-left, .calc-right, .form-card, .fcat, .layer, .mock { padding: 24px; }
  .cta-band { padding: 34px 24px; border-radius: 24px; }
  .choices { grid-template-columns: 1fr; }
  .calc-total { font-size: 42px; }
  .footer-grid { grid-template-columns: 1fr; }
  .call { grid-template-columns: auto 1fr auto; } .call .dur { display: none; }
  .tree li.l1 { margin-left: 18px; } .tree li.l2 { margin-left: 36px; } .tree li.l3 { margin-left: 54px; }
  .solution { padding: 50px 0; }
  .solution-visual { min-height: 280px; padding: 24px; }
  .fcat-head { flex-direction: column; }
  .stat b { font-size: 28px; }
  .stat { padding: 20px 18px; }
  .stats { gap: 12px; }
  .mt-section { margin-top: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .header, .to-top, .net-canvas, .blob, .cta-wrap { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Pages whose hero is dark: keep the header solid so the logo stays visible */
.page-dark-top .header { background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); }

/* =========================================================
   Main menu — dropdown mega panels (desktop) / slide-in (mobile)
   ========================================================= */
.nav-links { display: flex; align-items: stretch; align-self: stretch; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { display: flex; align-items: center; }
.nav { position: relative; }
.nav-links > li { position: relative; }
.nav-links > li.has-menu { position: static; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 0; background: transparent;
  font: 500 15px var(--font); color: var(--ink-2); cursor: pointer; transition: color .2s, background .2s;
}
.nav-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); opacity: .7; }
.nav-link:hover, .has-menu.open > .nav-link { color: var(--blue-600); background: rgba(31,107,255,.07); }
.has-menu.open > .nav-link svg { transform: rotate(180deg); }
.nav-link.active { color: var(--blue-600); font-weight: 600; }
.nav-link.active::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--grad); }
.has-menu .nav-link.active::after { margin-left: -16px; }
.nav-badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: var(--grad); color: #fff; line-height: 1.4; }
.nav-contact { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 8px 6px; transition: color .2s; white-space: nowrap; }
.nav-contact:hover { color: var(--blue-600); }
.nav-links > li.nav-mobile-cta { display: none; }

.mega { position: absolute; top: 100%; left: 50%; padding-top: 4px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s var(--ease), visibility .22s; z-index: 60; }
.has-menu.open > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-inner { position: relative; display: grid; grid-template-columns: 1fr 230px; gap: 10px; width: 780px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 80px -24px rgba(11,29,82,.35); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; transition: background .2s; }
.mega-item:hover, .mega-item:focus-visible { background: var(--bg-soft); }
.mega-item b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.mega-item small { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.mi-icon { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #e9f1ff, #e2f8ff); color: var(--blue-600); transition: background .25s, color .25s, transform .25s; }
.mi-icon svg { width: 20px; height: 20px; }
.mega-item:hover .mi-icon { background: var(--grad); color: #fff; transform: scale(1.06); }
.mega-promo { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; padding: 22px; border-radius: 16px; color: #fff; background: radial-gradient(260px 200px at 100% 0%, rgba(24,200,255,.45), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.mega-promo::before { content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; border: 1px dashed rgba(94,224,255,.35); animation: spin 24s linear infinite; }
.mega-promo .kicker { color: var(--cyan-300); margin: 0; font-size: 11px; }
.mega-promo b { font-family: var(--font-display); font-size: 20px; line-height: 1.2; }
.mega-promo > span:not(.kicker):not(.link-arrow) { color: #b9c4ea; font-size: 13px; }
.mega-promo .link-arrow { color: var(--cyan-300); font-size: 14px; margin-top: 6px; }

@media (max-width: 1180px) {
  .nav-contact { display: none; }
  .nav-link { padding: 9px 11px; font-size: 14.5px; }
  .mega-inner { width: 700px; }
}
@media (min-width: 981px) and (hover: hover) {
  .has-menu:hover > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-menu:hover > .nav-link { color: var(--blue-600); background: rgba(31,107,255,.07); }
  .has-menu:hover > .nav-link svg { transform: rotate(180deg); }
}
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 28px; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
  }
  .menu-open .nav-links { transform: none; visibility: visible; }
  .header.menu-open { background: #fff !important; box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .nav-links > li { display: block; border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; border-radius: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
  .nav-link:hover, .has-menu.open > .nav-link { background: transparent; }
  .nav-link.active::after { display: none; }
  .nav-link svg { width: 18px; height: 18px; }
  a.nav-link { justify-content: flex-start; gap: 10px; }
  .mega { position: static; transform: none; padding: 0; opacity: 1; visibility: visible; display: none; }
  .has-menu.open > .mega { display: block; transform: none; animation: rise .3s ease; }
  .mega-inner { width: auto; grid-template-columns: 1fr; padding: 0 0 14px; border: 0; box-shadow: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-item { padding: 10px 4px; }
  .mega-promo { padding: 18px; }
  .nav-links > li.nav-mobile-cta { display: grid; gap: 14px; padding-top: 22px; border-bottom: 0; }
  .nav-mobile-cta .btn { padding: 15px 24px; color: #fff; }
  .nav-mobile-mail { display: inline-flex; gap: 10px; align-items: center; justify-content: center; color: var(--ink-2); font-weight: 600; font-size: 15px; }
  .nav-mobile-mail svg { width: 18px; height: 18px; color: var(--blue-500); }
  body.menu-lock { overflow: hidden; }
}

/* =========================================================
   Flags (drawn in CSS, no image files)
   ========================================================= */
.fl, .flag-lg { display: inline-block; flex: 0 0 auto; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(11,22,51,.12); position: relative; }
.fl { width: 18px; height: 12px; }
.flag-lg { width: 54px; height: 36px; border-radius: 8px; }
.fl.us, .flag-lg.us { background: repeating-linear-gradient(180deg, #c8102e 0 7.7%, #fff 7.7% 15.4%); }
.fl.us::before, .flag-lg.us::before { content: ""; position: absolute; left: 0; top: 0; width: 42%; height: 54%; background: #0a3161 radial-gradient(circle, rgba(255,255,255,.9) 18%, transparent 22%) 0 0 / 25% 33%; }
.fl.ca, .flag-lg.ca { background: linear-gradient(90deg, #d52b1e 0 25%, #fff 25% 75%, #d52b1e 75%); }
.fl.ca::before, .flag-lg.ca::before { content: ""; position: absolute; left: 50%; top: 50%; width: 44%; height: 66%; transform: translate(-50%, -50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d52b1e' d='M12 1.5l1.7 3.4 1.9-1-.6 4.6 3-3 .9 2 2.6-.5-.9 3.2 1.4.8-4.8 4 .6 2.2-4.6-.8v5.6h-1.4v-5.6l-4.6.8.6-2.2-4.8-4 1.4-.8-.9-3.2 2.6.5.9-2 3 3-.6-4.6 1.9 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.flag-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 5px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink); }
.eyebrow { padding-left: 6px; }

/* =========================================================
   Hero dashboard
   ========================================================= */
.console.dash { display: grid; grid-template-columns: 52px 1fr; gap: 0; padding: 0; overflow: hidden; }
.dash-rail { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 0; background: linear-gradient(180deg, var(--navy-800), var(--navy-950)); }
.dash-rail span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #8c9bd0; }
.dash-rail span svg { width: 17px; height: 17px; }
.dash-rail span.on { background: rgba(94,224,255,.14); color: var(--cyan-300); box-shadow: inset 0 0 0 1px rgba(94,224,255,.25); }
.dash-rail .rail-logo { width: 34px; height: 34px; margin-bottom: 8px; background: #fff; border-radius: 10px; padding: 5px; }
.dash-rail .rail-logo img { width: 100%; height: 100%; object-fit: contain; }
.dash-main { padding: 16px 18px 18px; min-width: 0; }
.dash-title b { display: block; font-family: var(--font-display); font-size: 15px; }
.dash-title small { color: var(--ink-3); font-size: 12px; }
.dash-map { position: relative; border-radius: 14px; border: 1px solid var(--line); background: radial-gradient(400px 220px at 70% 40%, #eef5ff, #fff 70%); padding: 6px; margin-bottom: 12px; overflow: hidden; }
.map-chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); animation: bob 6s ease-in-out infinite; white-space: nowrap; }
.map-chip b { color: var(--ink); font-variant-numeric: tabular-nums; }
.map-chip i { width: 8px; height: 8px; border-radius: 50%; }
.map-chip.us { left: 30%; bottom: 12%; } .map-chip.us i { background: var(--blue-500); box-shadow: 0 0 0 3px rgba(31,107,255,.2); }
.map-chip.ca { left: 34%; top: 8%; animation-delay: -3s; } .map-chip.ca i { background: var(--cyan-400); box-shadow: 0 0 0 3px rgba(24,200,255,.25); }
.dash-bottom { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; align-items: stretch; }
.dash-bottom .chart { margin: 0; }
.dash-bottom .chart svg { height: 86px; }
.dash-bottom .calls { min-height: 0; gap: 6px; }
.dash-bottom .call { grid-template-columns: auto 1fr auto; padding: 6px 10px; font-size: 12px; gap: 8px; }
.dash-bottom .call .dur { display: none; }
.dash-bottom .call .flag { width: 22px; height: 22px; font-size: 10px; border-radius: 6px; }
.float-card.fc3 { right: -30px; bottom: 120px; animation-delay: -1.5s; }
.float-card.fc3 .ic { background: #fdecec; color: #c0353a; }
.float-card.fc1 { left: -44px; bottom: 40px; }

/* =========================================================
   Dot-matrix map
   ========================================================= */
.na-map { position: relative; width: 100%; }
.na-layer { display: block; width: 100%; height: auto; overflow: visible; }
.na-anim { position: absolute; inset: 0; }
.na-map .dots { fill: none; stroke-linecap: round; }
.na-map .dots.other { stroke: #d7dff0; }
.na-map .dots.us { stroke: var(--blue-500); }
.na-map .dots.ca { stroke: var(--cyan-400); }
.na-map .country { font: 700 22px var(--font-display); letter-spacing: .32em; fill: rgba(11,29,82,.55); text-anchor: middle; }
.na-map .arc { fill: none; stroke-dasharray: .25 .75; stroke-dashoffset: 1; animation: arcflow 3s linear infinite; animation-delay: calc(var(--i) * -.4s); stroke-linecap: round; }
@keyframes arcflow { to { stroke-dashoffset: 0; } }
.na-map .spark { fill: #fff; stroke: var(--blue-500); stroke-width: 2; }
.na-map .city .core { fill: #fff; stroke: var(--blue-600); stroke-width: 2.5; }
.na-map .city.ca .core { stroke: #0a9fd0; }
.na-map .city .pulse { fill: var(--blue-500); opacity: .35; transform-box: fill-box; transform-origin: center; animation: citypulse 2.6s ease-out infinite; animation-delay: calc(var(--i) * -.37s); }
.na-map .city.ca .pulse { fill: var(--cyan-400); }
@keyframes citypulse { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(3.2); opacity: 0; } }
.na-map .city text { font: 600 15px var(--font); fill: var(--ink-2); paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 3px; }

/* Dark map section */
.na-section .na-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 26px; align-items: center; }
.na-map-card { position: relative; border-radius: 26px; padding: 22px; background: radial-gradient(600px 300px at 40% 40%, rgba(31,107,255,.18), transparent 70%), rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); }
.dark-section .na-map .dots.other { stroke: rgba(255,255,255,.13); }
.dark-section .na-map .dots.us { stroke: #3d8bff; }
.dark-section .na-map .dots.ca { stroke: #5ee0ff; }
.dark-section .na-map .country { fill: rgba(255,255,255,.85); paint-order: stroke; stroke: rgba(4,11,36,.6); stroke-width: 4px; }
.dark-section .na-map .city .core { fill: var(--navy-900); stroke: #fff; }
.dark-section .na-map .city text { fill: #dfe6ff; stroke: rgba(4,11,36,.85); }
.dark-section .na-map .spark { fill: var(--cyan-300); stroke: #fff; stroke-width: 1.5; }
.na-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 12px; font-size: 13px; color: #b9c4ea; font-weight: 600; }
.na-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 10px; height: 10px; border-radius: 50%; }
.lg.us { background: #3d8bff; } .lg.ca { background: #5ee0ff; }
.lg.arc { width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #18c8ff, transparent); }
.na-countries { display: grid; gap: 18px; }
.country-card { padding: 26px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: transform .3s, background .3s, border-color .3s; }
.country-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); border-color: rgba(94,224,255,.35); }
.country-card header { display: flex; gap: 14px; align-items: center; margin-bottom: 4px; }
.country-card h3 { font-size: 21px; margin: 0; }
.country-card small { color: #a9b5e0; font-weight: 600; }
.country-card .ticks { margin-top: 16px; gap: 10px; font-size: 14.5px; }
.country-card .ticks li { color: #c3cdf0; }

/* =========================================================
   Topology illustration (softswitch page)
   ========================================================= */
.topo-wrap { max-width: 980px; margin: 50px auto 0; padding: 26px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.topology { display: block; width: 100%; height: auto; }
.topology .tp-col { font: 700 11px var(--font); letter-spacing: .16em; fill: var(--ink-3); }
.topology .tp-t { font: 600 13px var(--font); fill: var(--ink); }
.topology .tp-s { font: 500 11px var(--font); fill: var(--ink-3); }
.topology .tp-ic { font: 700 12px var(--font); fill: var(--blue-600); text-anchor: middle; }
.topology .tp-core-t { font: 700 16px var(--font-display); fill: var(--ink); }
.topology .tp-ring { transform-box: fill-box; transform-origin: center; animation: spin 22s linear infinite; }
.topology .tp-ring.rev { animation-direction: reverse; animation-duration: 30s; }
.topology .tp-halo { animation: breathe 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

/* =========================================================
   cPaaS — coming soon
   ========================================================= */
.soon { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 0 90px; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(900px 500px at 50% 30%, rgba(31,107,255,.35), transparent 65%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.soon .net-canvas { z-index: -1; }
.soon-glow { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; animation: float 16s ease-in-out infinite; }
.soon-glow.g1 { width: 420px; height: 420px; background: rgba(31,107,255,.35); top: 10%; left: 8%; }
.soon-glow.g2 { width: 360px; height: 360px; background: rgba(24,200,255,.25); bottom: 5%; right: 8%; animation-delay: -7s; }
.soon-inner { display: flex; flex-direction: column; align-items: center; }
.soon-art { position: relative; width: 320px; height: 320px; margin-bottom: 30px; }
.soon-ring { position: absolute; z-index: 2; border-radius: 50%; border: 1px dashed rgba(94,224,255,.3); animation: spin 26s linear infinite; }
.soon-ring.r1 { inset: 0; } .soon-ring.r2 { inset: 17%; animation-direction: reverse; animation-duration: 18s; } .soon-ring.r3 { inset: 30%; animation-duration: 12s; }
.soon-ring span { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 14px; display: grid; place-items: center; color: var(--cyan-300); background: rgba(11,29,82,.9); border: 1px solid rgba(94,224,255,.3); box-shadow: 0 10px 30px -10px rgba(24,200,255,.5); }
.soon-ring span svg { width: 20px; height: 20px; }
.soon-ring span:nth-child(1) { left: 50%; top: 0; }
.soon-ring span:nth-child(2) { left: 50%; top: 100%; }
.soon-ring.r2 span:nth-child(1) { left: 0; top: 50%; }
.soon-ring.r2 span:nth-child(2) { left: 100%; top: 50%; }
.soon-ring.r3 span { left: 100%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; }
.soon-core { position: absolute; inset: 37%; z-index: 1; border-radius: 30%; background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px; box-shadow: 0 0 0 10px rgba(255,255,255,.06), 0 30px 70px -10px rgba(24,200,255,.6); animation: breathe 4s ease-in-out infinite; }
.soon-core img { width: 100%; height: auto; flex: 0 0 100%; }
.soon-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-300); background: rgba(94,224,255,.08); border: 1px solid rgba(94,224,255,.3); margin-bottom: 20px; }
.soon-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); animation: pulse 1.6s infinite; }
.soon h1 { font-size: clamp(48px, 9vw, 104px); letter-spacing: -.045em; margin-bottom: 34px; }
.soon-grad { background-image: linear-gradient(100deg, #5ee0ff, #3d8bff 60%, #a9c8ff); }

@media (max-width: 1080px) {
  .na-section .na-grid { grid-template-columns: 1fr; }
  .float-card.fc3 { right: -10px; }
}
@media (max-width: 640px) {
  .console.dash { grid-template-columns: 1fr; }
  .dash-rail { display: none; }
  .dash-main { padding: 14px; }
  .dash-bottom { grid-template-columns: 1fr; }
  .map-chip { font-size: 10.5px; padding: 4px 8px; }
  .na-map .city text { display: none; }
  .na-map .country { font-size: 26px; }
  .na-map-card { padding: 12px; border-radius: 18px; }
  .topo-wrap { padding: 12px; border-radius: 18px; margin-top: 36px; }
  .soon-art { width: 240px; height: 240px; }
}

/* =========================================================
   Products dropdown (compact) + badges
   ========================================================= */
.mega-inner.compact { width: 640px; grid-template-columns: 1fr 220px; }
.mega-inner.compact .mega-grid { grid-template-columns: 1fr; }
.mega-inner.compact .mega-item { padding: 18px; }
.mega-inner.compact .mi-icon { flex-basis: 48px; height: 48px; border-radius: 14px; }
.mega-inner.compact .mi-icon svg { width: 24px; height: 24px; }
.mega-inner.compact .mega-item b { font-size: 16px; }
.mi-badge { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: #e8f0ff; color: var(--blue-600); margin-left: 6px; vertical-align: 2px; }

/* =========================================================
   Vexyron Switch sub-menu (shown on every Switch page)
   ========================================================= */
.subbar { position: fixed; top: 76px; left: 0; right: 0; z-index: 45; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px -18px rgba(11,29,82,.35); }
.subbar-inner { display: flex; align-items: center; gap: 22px; height: 54px; }
.subbar-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 15px; white-space: nowrap; padding-right: 22px; border-right: 1px solid var(--line); }
.sb-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.sb-icon svg { width: 16px; height: 16px; }
.subbar-links { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.subbar-links::-webkit-scrollbar { display: none; }
.subbar-links a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.subbar-links a svg { width: 15px; height: 15px; opacity: .65; }
.subbar-links a:hover { background: var(--bg-soft); color: var(--ink); }
.subbar-links a.active { background: #eef4ff; color: var(--blue-600); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(31,107,255,.25); }
.subbar-links a.active svg { opacity: 1; }
.subbar-cta { flex: 0 0 auto; }
.has-subbar { scroll-padding-top: 150px; }
html:has(body.has-subbar) { scroll-padding-top: 150px; }
.has-subbar .page-hero { padding-top: 210px; }
.has-subbar .fnav { top: 150px; max-height: calc(100vh - 170px); }
.has-subbar .fcat { scroll-margin-top: 150px; }
.has-subbar .solution { scroll-margin-top: 140px; }
.menu-open ~ .subbar { visibility: hidden; }
@media (max-width: 1080px) {
  .has-subbar .fnav { top: 130px; }
  .has-subbar .fcat { scroll-margin-top: 200px; }
}
@media (max-width: 980px) {
  .subbar-inner { height: 50px; gap: 12px; }
  .subbar-brand { padding-right: 12px; font-size: 14px; }
  .subbar-cta { display: none; }
  .has-subbar .fnav { top: 126px; }
}
@media (max-width: 640px) {
  .subbar-brand span.sb-icon + * { display: none; }
  .subbar-brand { font-size: 0; gap: 0; }
  .has-subbar .page-hero { padding-top: 170px; }
}

/* =========================================================
   Home — services, feature tiles, cPaaS preview, coverage
   ========================================================= */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service { position: relative; overflow: hidden; border-radius: 28px; padding: 44px; display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; transition: transform .35s, box-shadow .35s; isolation: isolate; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service.dark { color: #fff; border-color: transparent; background: radial-gradient(600px 320px at 100% 0%, rgba(24,200,255,.28), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.service.light { background: radial-gradient(600px 320px at 100% 0%, rgba(24,200,255,.16), transparent 60%), linear-gradient(160deg, #ffffff, #f2f7ff); }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.service-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 16px 34px -14px rgba(31,107,255,.7); }
.service-icon svg { width: 32px; height: 32px; }
.service-tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(94,224,255,.12); color: var(--cyan-300); border: 1px solid rgba(94,224,255,.3); }
.service.light .service-tag { background: #eef4ff; color: var(--blue-600); border-color: rgba(31,107,255,.25); display: inline-flex; align-items: center; gap: 8px; }
.service.light .service-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); animation: pulse 1.6s infinite; }
.service h3 { font-size: 32px; letter-spacing: -.03em; margin-bottom: 10px; }
.service > p { font-size: 17px; color: var(--ink-2); max-width: 480px; }
.service.dark > p { color: #b9c4ea; }
.service .ticks { margin: 8px 0 30px; flex: 1; }
.service.dark .ticks li { color: #c3cdf0; }
.service-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.service.dark .service-foot { border-color: rgba(255,255,255,.12); }
.service-foot .from { font-size: 14px; color: var(--ink-3); }
.service.dark .service-foot .from { color: #a9b5e0; }
.service-foot .from b { display: block; font-family: var(--font-display); font-size: 24px; color: var(--ink); letter-spacing: -.02em; }
.service.dark .service-foot .from b { color: #fff; }
.service .orb { position: absolute; z-index: -1; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; border: 1px dashed rgba(94,224,255,.3); animation: spin 32s linear infinite; }
.service.light .orb { border-color: rgba(31,107,255,.22); }
.service .orb::after { content: ""; position: absolute; top: 24px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 18px var(--cyan-400); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(31,107,255,.3); }
.tile .icon { width: 46px; height: 46px; flex-basis: 46px; border-radius: 13px; margin-bottom: 16px; }
.tile .icon svg { width: 22px; height: 22px; }
.tile h3 { font-size: 17px; margin-bottom: 6px; }
.tile p { font-size: 14px; color: var(--ink-2); margin: 0; }
.section-foot { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 44px; }

.cpaas-section { background: radial-gradient(800px 360px at 50% 0%, rgba(31,107,255,.12), transparent 70%), var(--bg-soft); overflow: hidden; }
.cpaas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cp-card { position: relative; overflow: hidden; padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.cp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cp-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(24,200,255,.18), transparent 70%); }
.cp-card .icon { margin-bottom: 18px; background: var(--grad); color: #fff; }
.cp-card h3 { font-size: 19px; }
.cp-card p { font-size: 15px; color: var(--ink-2); margin: 0; }
.cp-card code { display: block; margin-top: 16px; font: 500 12.5px/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--blue-600); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soon-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(31,107,255,.25); color: var(--blue-600); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.soon-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); animation: pulse 1.6s infinite; }

/* A–Z coverage */
.coverage-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 30px; }
.coverage-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.coverage-stats div { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.coverage-stats b { display: block; font-family: var(--font-display); font-size: 28px; letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.coverage-stats span { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.az-box { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: var(--shadow-sm); }
.az-tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.az-search { position: relative; flex: 1 1 260px; }
.az-search input { width: 100%; font: 15px var(--font); padding: 12px 14px 12px 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.az-search input:focus { border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(31,107,255,.12); }
.az-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--ink-3); }
.az-count { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.az-letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.az-letters button { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: 700 13px var(--font); color: var(--ink-2); cursor: pointer; transition: .2s; }
.az-letters button:hover { border-color: var(--blue-400); color: var(--blue-600); }
.az-letters button.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -8px rgba(31,107,255,.7); }
.az-letters button:disabled { opacity: .35; cursor: default; }
.az-list { max-height: 460px; overflow-y: auto; overflow-x: hidden; padding-right: 6px; scrollbar-width: thin; overscroll-behavior: contain; }
.az-cols { columns: 4 190px; column-gap: 26px; }
.az-group { break-inside: avoid; margin-bottom: 16px; }
.az-group h4 { font-size: 13px; font-family: var(--font); font-weight: 800; color: var(--blue-600); letter-spacing: .1em; margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.az-group ul { list-style: none; margin: 0; padding: 0; }
.az-group li { font-size: 14px; color: var(--ink-2); padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.az-group li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #c9d4ec; flex: 0 0 5px; }
.az-group li.focus { color: var(--ink); font-weight: 700; }
.az-group li.focus::before { width: 8px; height: 8px; flex-basis: 8px; background: var(--grad); box-shadow: 0 0 0 3px rgba(31,107,255,.15); }
.az-group li.focus em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: #eef4ff; color: var(--blue-600); }
.az-group.hide, .az-group li.hide { display: none; }
.az-empty { display: none; padding: 30px; text-align: center; color: var(--ink-3); }
.az-empty.show { display: block; }

@media (max-width: 1080px) {
  .services, .coverage-head { grid-template-columns: 1fr; }
  .tiles, .cpaas-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-inner.compact { width: 600px; }
}
@media (max-width: 980px) {
  .mega-inner.compact { width: auto; grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .service { padding: 28px; border-radius: 22px; }
  .service h3 { font-size: 26px; }
  .tiles, .cpaas-grid, .coverage-stats { grid-template-columns: 1fr; }
  .coverage-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .coverage-stats div { padding: 12px; }
  .coverage-stats b { font-size: 20px; }
  .az-box { padding: 18px; }
  .az-letters button { min-width: 36px; height: 36px; font-size: 13px; padding: 0 6px; }
  .az-list { max-height: 420px; }
  .az-cols { columns: 2 130px; column-gap: 16px; }
}

/* Mobile touch targets */
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.link-arrow { padding: 6px 0; }
@media (max-width: 640px) {
  .subbar-brand { min-width: 40px; min-height: 40px; padding-right: 10px; }
  .sb-icon { width: 36px; height: 36px; }
  .map-chip { font-size: 11px; }
  .footer ul a { display: inline-block; padding: 4px 0; }
}

/* Let grid columns shrink on very small phones instead of pushing the page sideways */
.hero-grid > *, .frow > *, .start-grid > *, .coverage-head > *, .sec-grid > *, .na-grid > *, .split > *,
.services > *, .solution > *, .mission > *, .calc > *, .features-layout > *, .row > *, .dash-bottom > * { min-width: 0; }
.ledger { table-layout: fixed; }
.ledger td, .ledger th { overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .container { width: calc(100% - 24px); }
  .coverage-stats b { font-size: 18px; }
  .coverage-stats span { font-size: 11.5px; }
  .ledger { font-size: 12.5px; }
  .ledger td, .ledger th { padding: 9px 6px; }
}
