/* ============================================================
   Addroit Nexus — Design System
   Bright, modern, gradient-forward. Fonts: Sora (display) + Inter (body).
   ============================================================ */

:root {
  --ink: #0b1220;
  --navy: #0e1b3c;
  --navy-2: #101f47;
  --blue: #2563eb;
  --indigo: #4f46e5;
  --violet: #8b5cf6;
  --cyan: #06b6d4;
  --teal: #0d9488;
  --green: #10b981;
  --lime: #84cc16;
  --orange: #f97316;
  --amber: #f59e0b;
  --pink: #ec4899;
  --red: #ef4444;

  --bg: #f6f9ff;
  --surface: #ffffff;
  --tint: #eef4ff;
  --muted: #55647f;
  --line: #e2e9f5;

  --grad-brand: linear-gradient(120deg, #2563eb 0%, #4f46e5 45%, #06b6d4 100%);
  --grad-warm: linear-gradient(120deg, #f97316, #ec4899);
  --grad-hero: radial-gradient(1000px 520px at 12% -10%, #dbeafe 0%, transparent 60%),
               radial-gradient(900px 480px at 88% -20%, #cffafe 0%, transparent 55%),
               radial-gradient(700px 420px at 55% 115%, #ede9fe 0%, transparent 55%);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(14, 27, 60, .06), 0 4px 14px rgba(14, 27, 60, .06);
  --shadow-md: 0 8px 30px rgba(14, 27, 60, .10);
  --shadow-lg: 0 18px 55px rgba(14, 27, 60, .16);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 .55em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-tight { padding: clamp(36px, 5vw, 60px) 0; }
.section-tint { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.section-white { background: var(--surface); }
.section-dark {
  background:
    radial-gradient(900px 400px at 85% -10%, color-mix(in srgb, var(--blue) 35%, transparent), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, color-mix(in srgb, var(--cyan) 25%, transparent), transparent 55%),
    var(--navy);
  color: #dbe6ff;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lead, .section-dark p { color: #c4d3f2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 22%, transparent);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.warm { color: var(--orange); background: rgba(249, 115, 22, .10); border-color: rgba(249, 115, 22, .25); }
.eyebrow.on-dark { color: #9cc3ff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }

.sec-head { max-width: 780px; margin: 0 auto 46px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.lead { font-size: 1.13rem; color: var(--muted); }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-text-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none !important; transition: all .22s ease;
  line-height: 1.2;
}
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--blue) 35%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px color-mix(in srgb, var(--blue) 45%, transparent); }
.btn-warm { background: var(--grad-warm); color: #fff; box-shadow: 0 8px 22px rgba(236, 72, 153, .32); }
.btn-warm:hover { transform: translateY(-2px); }
.btn-ghost { border-color: color-mix(in srgb, var(--blue) 45%, transparent); color: var(--blue); background: rgba(255,255,255,.6); }
.btn-ghost:hover { background: color-mix(in srgb, var(--blue) 8%, transparent); }
.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 9px 18px; font-size: .86rem; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn .icon { width: 18px; height: 18px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 233, 245, .8);
}
.header-inner { display: flex; align-items: center; gap: 14px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand img { height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-family: var(--font-display); font-size: .9rem; font-weight: 600; color: var(--ink);
  padding: 10px 11px; border-radius: 10px; background: none; border: 0; cursor: pointer;
  text-decoration: none !important;
}
.nav-link:hover { background: var(--tint); color: var(--blue); }
.nav-link .chev { transition: transform .2s; width: 14px; height: 14px; }
.nav-item.open > .nav-link .chev { transform: rotate(180deg); }
.nav-link.hot { color: var(--orange); }
.nav-link.hot:hover { background: rgba(249, 115, 22, .1); color: var(--orange); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 14px; min-width: 340px;
  opacity: 0; visibility: hidden; transition: all .22s ease; z-index: 70;
}
.dropdown a b { white-space: nowrap; }
.nav-item.open > .dropdown,
.nav-item:hover > .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px;
  color: var(--ink); text-decoration: none !important; font-size: .92rem;
}
.dropdown a:hover { background: var(--tint); }
.dropdown a .icon-mini {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ac, var(--blue)) 12%, white);
  color: var(--ac, var(--blue));
}
.dropdown a .icon-mini .icon { width: 18px; height: 18px; }
.dropdown a b { display: block; font-weight: 600; }
.dropdown a small { color: var(--muted); display: block; line-height: 1.35; margin-top: 1px; }
.dropdown.mega { width: min(760px, 94vw); left: 50%; max-height: calc(100vh - 110px); overflow-y: auto; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.mega-label {
  font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  padding: 14px 12px 8px; margin-top: 10px; border-top: 1px solid var(--line);
}

.header-cta { display: flex; align-items: center; gap: 12px; }
.phone-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: .88rem; font-weight: 600; color: var(--navy);
  text-decoration: none !important; padding: 8px 14px; border-radius: 999px;
  background: var(--tint); border: 1px solid var(--line);
}
.phone-chip:hover { border-color: var(--blue); color: var(--blue); }
.phone-chip .icon { width: 16px; height: 16px; color: var(--green); }

.nav-burger {
  display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px;
  width: 44px; height: 42px; cursor: pointer; color: var(--navy);
  align-items: center; justify-content: center;
}

/* ---------------- Hero (home) ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero), var(--bg);
  padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 84px);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy .lead { font-size: 1.16rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; filter: drop-shadow(0 24px 50px rgba(14, 27, 60, .18)); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.8); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.chip .icon { width: 15px; height: 15px; color: var(--green); }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero), var(--bg);
  padding: clamp(38px, 5vw, 64px) 0 clamp(38px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
}
.page-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.page-hero .lead { max-width: 640px; }
.page-hero-art img { width: 100%; max-height: 330px; object-fit: contain; filter: drop-shadow(0 18px 40px rgba(14,27,60,.16)); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs .sep { opacity: .6; }
.crumbs .here { color: var(--navy); font-weight: 600; }

/* ---------------- Grids & cards ---------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.hover-lift { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--ac, var(--blue)) 40%, var(--line)); }

.feature-card { position: relative; }
.feature-card h3 { margin-top: 16px; font-size: 1.08rem; }
.feature-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.icon-tile {
  width: 52px; height: 52px; border-radius: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--ac, var(--blue)) 16%, white),
    color-mix(in srgb, var(--ac, var(--blue)) 6%, white));
  border: 1px solid color-mix(in srgb, var(--ac, var(--blue)) 26%, white);
  color: var(--ac, var(--blue));
}
.icon-tile .icon { width: 25px; height: 25px; }

.card-link { display: block; color: inherit; text-decoration: none !important; height: 100%; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: .88rem; color: var(--ac, var(--blue)); }
.card-more .icon { width: 15px; height: 15px; transition: transform .2s; }
.card-link:hover .card-more .icon { transform: translateX(4px); }

.glass-card {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-lg); padding: 26px; backdrop-filter: blur(8px);
  color: #dbe6ff;
}
.glass-card h3 { color: #fff; }
.glass-card p { color: #b9c9ec; }

.accent-card { border-left: 4px solid var(--ac, var(--blue)); }

/* ---------------- Split (text + media) ---------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.rev > .split-media { order: -1; }
.split-media { position: relative; }

.img-frame {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-md); background: var(--tint);
}
.img-frame img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.img-frame.wide img { aspect-ratio: 16 / 9; }
.img-frame.tall img { aspect-ratio: 3 / 4; }
.img-caption { font-size: .8rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* Small photo/infographic beside a paragraph */
.media-para {
  display: grid; grid-template-columns: 1fr 250px; gap: 24px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 26px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.media-para.rev { grid-template-columns: 250px 1fr; }
.media-para .mp-img { border-radius: var(--r-md); overflow: hidden; }
.media-para .mp-img img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.media-para h3 { font-size: 1.06rem; }
.media-para p { color: var(--muted); font-size: .95rem; }

/* ---------------- Stats ---------------- */
.kpi-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { text-align: center; padding: 26px 16px; }
.stat-num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; line-height: 1.1;
}
.section-dark .stat-num { background: linear-gradient(120deg, #7db4ff, #6ee7f4); -webkit-background-clip: text; background-clip: text; }
.stat-label { color: var(--muted); font-size: .9rem; font-weight: 500; margin-top: 6px; }
.section-dark .stat-label { color: #9fb3dd; }

/* ---------------- Steps flow (infographic) ---------------- */
.steps-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps-flow.cols-3 { grid-template-columns: repeat(3, 1fr); }
.steps-flow.cols-5 { grid-template-columns: repeat(5, 1fr); }
.step-node { position: relative; text-align: center; padding: 26px 18px 22px; }
.step-node::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--blue) 35%, transparent); margin-bottom: 14px;
}
.step-node::after {
  content: ""; position: absolute; top: 50px; left: calc(50% + 40px); right: calc(-50% + 40px);
  border-top: 2px dashed color-mix(in srgb, var(--blue) 40%, white);
}
.step-node:last-child::after { display: none; }
.step-node h4 { margin-bottom: 6px; }
.step-node p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ---------------- Timeline (roadmap) ---------------- */
.timeline { position: relative; margin: 0; padding: 0 0 0 34px; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--cyan), var(--violet), var(--orange));
  border-radius: 3px;
}
.tl-item { position: relative; padding: 0 0 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -34px; top: 4px; width: 23px; height: 23px; border-radius: 50%;
  background: #fff; border: 5px solid var(--ac, var(--blue)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ac, var(--blue)) 18%, transparent);
}
.tl-tag {
  display: inline-block; font-family: var(--font-display); font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ac, var(--blue));
  background: color-mix(in srgb, var(--ac, var(--blue)) 10%, white);
  border: 1px solid color-mix(in srgb, var(--ac, var(--blue)) 25%, white);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 10px;
}
.tl-card h3 { margin-bottom: 8px; }
.tl-card ul { margin: 10px 0 0; }

/* ---------------- Compare bars (infographic) ---------------- */
.compare-bars { display: grid; gap: 16px; }
.cbar { display: grid; grid-template-columns: 190px 1fr 84px; gap: 14px; align-items: center; }
.cbar-label { font-weight: 600; font-size: .92rem; }
.cbar-track { background: var(--tint); border-radius: 999px; height: 16px; overflow: hidden; border: 1px solid var(--line); }
.cbar-fill {
  height: 100%; border-radius: 999px; width: var(--w, 50%);
  background: linear-gradient(90deg, color-mix(in srgb, var(--ac, var(--blue)) 80%, white), var(--ac, var(--blue)));
}
.cbar-val { font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--ac, var(--blue)); text-align: right; }
.section-dark .cbar-track { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.section-dark .cbar-label { color: #dbe6ff; }

/* ---------------- Donut stats (conic) ---------------- */
.donut-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.donut { text-align: center; }
.donut-ring {
  width: 132px; height: 132px; border-radius: 50%; margin: 0 auto 14px;
  background: conic-gradient(var(--ac, var(--blue)) calc(var(--p, 60) * 1%), var(--tint) 0);
  display: grid; place-items: center;
}
.donut-ring::before {
  content: attr(data-val); width: 96px; height: 96px; border-radius: 50%;
  background: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line);
}
.donut b { display: block; font-family: var(--font-display); }
.donut small { color: var(--muted); }

/* ---------------- Lists ---------------- */
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.tick-list li { position: relative; padding-left: 32px; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%;
  background-color: color-mix(in srgb, var(--ac, var(--green)) 14%, white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5 9-10'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.section-dark .tick-list li::before { background-color: rgba(255,255,255,.12); }
.tick-list.two-col { grid-template-columns: 1fr 1fr; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  background: color-mix(in srgb, var(--ac, var(--blue)) 12%, white);
  color: var(--ac, var(--blue));
  border: 1px solid color-mix(in srgb, var(--ac, var(--blue)) 26%, white);
}
.badge-row { display: flex; flex-wrap: wrap; gap: 9px; }

/* ---------------- Tables ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
table.data th, table.data td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
table.data thead th {
  background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .86rem;
  letter-spacing: .04em;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:nth-child(even) { background: #f9fbff; }

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0; overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 600; padding: 18px 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--blue);
  transition: transform .2s; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: color-mix(in srgb, var(--blue) 35%, var(--line)); }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); }

/* ---------------- Notices ---------------- */
.notice {
  border-radius: var(--r-md); padding: 18px 22px; font-size: .95rem;
  background: color-mix(in srgb, var(--ac, var(--blue)) 8%, white);
  border: 1px solid color-mix(in srgb, var(--ac, var(--blue)) 25%, white);
}
.notice b { font-family: var(--font-display); }

/* ---------------- Query form ---------------- */
.query-section { background: linear-gradient(180deg, var(--tint), #fff); }
.query-panel {
  display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff;
}
.query-side {
  padding: clamp(28px, 4vw, 46px);
  background:
    radial-gradient(500px 300px at 90% -20%, rgba(6,182,212,.35), transparent 60%),
    radial-gradient(400px 300px at -10% 110%, rgba(139,92,246,.3), transparent 60%),
    var(--navy);
  color: #d9e4fb;
}
.query-side h2 { color: #fff; }
.query-side .q-points { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.query-side .q-points li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.query-side .q-points .icon { flex: 0 0 20px; width: 20px; height: 20px; color: #6ee7f4; margin-top: 2px; }
.query-side .q-contact { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: .93rem; display: grid; gap: 8px; }
.query-side .q-contact a { color: #9cc3ff; }

.query-form { padding: clamp(26px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--navy); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfdff;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 14%, transparent);
}
.field textarea { resize: vertical; min-height: 110px; }

.captcha-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.captcha-row img { border-radius: 12px; border: 1.5px solid var(--line); background: #eef4ff; height: 58px; }
.captcha-row input { max-width: 170px; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; }
.captcha-refresh {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; color: var(--blue); cursor: pointer; transition: all .2s;
}
.captcha-refresh:hover { border-color: var(--blue); transform: rotate(90deg); }
.captcha-refresh .icon { width: 20px; height: 20px; }

.hp-field { position: absolute !important; left: -6000px !important; top: -6000px !important; height: 1px; overflow: hidden; }

.form-alert { border-radius: 12px; padding: 14px 18px; margin: 16px 0 0; font-size: .93rem; }
.form-alert.ok { background: #e8faf1; border: 1px solid #a7e8c9; color: #06693c; }
.form-alert.err { background: #fdeeee; border: 1px solid #f5b8b8; color: #a02020; }
.form-alert ul { margin: 6px 0 0; padding-left: 18px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }

/* ---------------- CTA banner ---------------- */
.cta-banner {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  background:
    radial-gradient(600px 300px at 85% -30%, rgba(6,182,212,.5), transparent 60%),
    radial-gradient(500px 320px at 0% 130%, rgba(139,92,246,.45), transparent 60%),
    var(--grad-brand);
  color: #fff; padding: clamp(36px, 5vw, 60px); text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #e4edff; max-width: 640px; margin-inline: auto; }
.cta-banner .hero-actions { justify-content: center; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: #b9c9ec; margin-top: 0; }
.foot-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr; gap: 40px;
  padding: clamp(44px, 6vw, 70px) 0 34px;
}
.foot-brand img { height: 44px; margin-bottom: 16px; }
.foot-brand p { font-size: .92rem; color: #9fb3dd; }
.foot-col h4 {
  color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-col a { color: #b9c9ec; font-size: .92rem; text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-contact { display: grid; gap: 10px; font-size: .92rem; }
.foot-contact .row { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .icon { flex: 0 0 17px; width: 17px; height: 17px; color: #6ee7f4; margin-top: 3px; }
.foot-contact a { color: #9cc3ff; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #9cc3ff; transition: all .2s ease;
}
.social-row a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); border-color: transparent; }
.social-row a .icon { width: 18px; height: 18px; }

.reg-strip {
  display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: #8fa3cf;
}
.reg-strip b { color: #c9d8f7; font-weight: 600; }
.foot-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 26px; font-size: .82rem; color: #8fa3cf;
}
.foot-legal a { color: #9cc3ff; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-md);
  display: none; align-items: center; justify-content: center;
}
.to-top.show { display: inline-flex; }

/* ---------------- Reveal animations ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Prose (legal pages) ---------------- */
.prose { max-width: 860px; margin-inline: auto; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.6em; }
.prose p, .prose li { color: #3c4a63; }
.prose ul { padding-left: 22px; }
.prose .updated { font-size: .85rem; color: var(--muted); }

/* ---------------- Admin table ---------------- */
.admin-wrap { padding: 40px 0 70px; }
.admin-note { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
table.data td.msg { max-width: 420px; white-space: pre-wrap; }

/* ---------------- Responsive ---------------- */
/* ============================================================
   Themes — corporate palettes selected via html[data-theme]
   nexus (default, defined in :root) · emerald · graphite
   ============================================================ */
/* ---------- Insights (articles) ---------- */
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 26px; }
.cat-chips a { text-decoration: none; font-size: .8rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); background: #fff; transition: all .15s ease; }
.cat-chips a:hover { border-color: var(--blue); color: var(--blue); }
.cat-chips a.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-decoration: none; color: inherit; }
.post-card .pc-cover { aspect-ratio: 16/9; width: 100%; object-fit: cover; background: var(--tint); }
.post-card .pc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card .pc-body h3 { font-size: 1.02rem; line-height: 1.4; }
.post-card .pc-body p { color: var(--muted); font-size: .88rem; }
.post-card .pc-meta { margin-top: auto; font-size: .76rem; color: var(--muted); }
.post-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; overflow: hidden; padding: 0; }
.post-featured .pf-cover { width: 100%; height: 100%; min-height: 260px; object-fit: cover; background: var(--tint); }
.post-featured .pf-body { padding: 30px 32px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
@media (max-width: 860px) { .post-featured { grid-template-columns: 1fr; } }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0; }
.share-row span { font-size: .82rem; color: var(--muted); font-weight: 600; }

.article-body { font-size: 1.02rem; line-height: 1.8; color: var(--ink, #1e2637); }
.article-body h2 { font-size: 1.45rem; margin: 34px 0 12px; }
.article-body h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.article-body p { margin: 14px 0; }
.article-body ul, .article-body ol { margin: 14px 0 14px 24px; }
.article-body li { margin: 7px 0; }
.article-body a { color: var(--blue); }
.article-body img { max-width: 100%; border-radius: 12px; border: 1px solid var(--line); margin: 10px 0; }
.article-body blockquote { border-left: 4px solid var(--blue); background: var(--tint); border-radius: 0 10px 10px 0; padding: 12px 18px; margin: 18px 0; color: var(--navy); }
.article-body pre { background: var(--navy); color: #e6edf7; border-radius: 12px; padding: 16px 18px; overflow: auto; font-size: .85rem; margin: 18px 0; }
.article-body code { background: var(--tint); border-radius: 6px; padding: 1px 6px; font-size: .88em; }
.article-body pre code { background: transparent; padding: 0; }
.article-body table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: .92rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.article-body th { background: var(--tint); }

/* ---------- Industry Watch (news strips, hub, detail) ---------- */
.news-strip { padding: 26px 28px; }
.news-strip .ns-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.news-strip .ns-head h3 { font-size: 1.1rem; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.news-list li:last-child { border-bottom: none; }
.news-list a.nl-title { color: var(--navy); text-decoration: none; font-weight: 600; line-height: 1.4; }
.news-list a.nl-title:hover { color: var(--blue); }
.news-meta { display: block; font-size: .76rem; color: var(--muted); margin-top: 3px; }
.news-source-btn { margin-top: 6px; }
.news-detail-img { max-width: 100%; border-radius: 14px; border: 1px solid var(--line); margin: 18px 0 6px; }
.news-take { border-left: 4px solid var(--blue); background: var(--tint); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 22px 0; }
.news-take b { font-family: var(--font-display); }
.news-disclaimer { font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 26px; }

/* ---------- App store badges + hover tooltips (footer + /app page) ---------- */
.app-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px 8px 11px; border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .07);
  color: #fff; text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.app-badge:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .5); }
.app-badge .ab-txt { display: flex; flex-direction: column; }
.app-badge .ab-txt small { font-size: .6rem; line-height: 1.2; opacity: .78; letter-spacing: .03em; }
.app-badge .ab-txt b { font-size: .84rem; line-height: 1.15; font-family: var(--font-display); }
.app-badge.is-soon { opacity: .92; }
.app-badges.on-light .app-badge {
  border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--navy) 8%, transparent);
}
.app-badges.on-light .app-badge:hover { border-color: var(--blue); }
.app-badges.lg .app-badge { padding: 12px 20px 12px 15px; border-radius: 13px; gap: 11px; }
.app-badges.lg .ab-txt small { font-size: .68rem; }
.app-badges.lg .ab-txt b { font-size: 1rem; }

.tip { position: relative; }
.tip::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 9px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--navy); color: #fff;
  font-size: .72rem; line-height: 1.35; padding: 7px 12px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .3); z-index: 70;
}
.tip::before {
  content: ""; position: absolute; bottom: calc(100% + 4px); left: 50%;
  transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--navy);
  opacity: 0; pointer-events: none; transition: opacity .18s ease; z-index: 70;
}
.tip:hover::after, .tip:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.tip:hover::before, .tip:focus-visible::before { opacity: 1; }
@media (max-width: 640px) { .tip::after { white-space: normal; min-width: 180px; } }

.qr-box {
  width: 168px; height: 168px; padding: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 12px 34px color-mix(in srgb, var(--navy) 12%, transparent);
}
.qr-box img { width: 100%; height: 100%; display: block; }

html[data-theme="emerald"] {
  --blue: #047857;
  --indigo: #065f46;
  --cyan: #0d9488;
  --violet: #0f766e;
  --navy: #0a2e23;
  --navy-2: #0d3a2c;
  --bg: #f5faf7;
  --tint: #e9f5ee;
  --line: #dbeae1;
  --grad-brand: linear-gradient(120deg, #047857 0%, #059669 45%, #0d9488 100%);
  --grad-hero: radial-gradient(1000px 520px at 12% -10%, #d5f0e2 0%, transparent 60%),
               radial-gradient(900px 480px at 88% -20%, #cdeee6 0%, transparent 55%),
               radial-gradient(700px 420px at 55% 115%, #e6f4dc 0%, transparent 55%);
}

html[data-theme="graphite"] {
  --blue: #6d28d9;
  --indigo: #5b21b6;
  --cyan: #8b5cf6;
  --violet: #7c3aed;
  --navy: #191627;
  --navy-2: #221e33;
  --bg: #f7f7fb;
  --tint: #efeef7;
  --line: #e3e1ef;
  --grad-brand: linear-gradient(120deg, #5b21b6 0%, #6d28d9 45%, #9333ea 100%);
  --grad-hero: radial-gradient(1000px 520px at 12% -10%, #e7e0f8 0%, transparent 60%),
               radial-gradient(900px 480px at 88% -20%, #ece3f8 0%, transparent 55%),
               radial-gradient(700px 420px at 55% 115%, #f3e8f9 0%, transparent 55%);
}

/* Heritage Gold — midnight navy anchored by rich antique gold (private-bank classic) */
html[data-theme="heritage"] {
  --blue: #a16207;
  --indigo: #7c4a0b;
  --cyan: #d9a441;
  --violet: #9a6a1f;
  --navy: #101426;
  --navy-2: #171c33;
  --bg: #fbf8f1;
  --tint: #f5eedd;
  --line: #eadfc8;
  --grad-brand: linear-gradient(120deg, #8b5e08 0%, #a16207 45%, #c08a1a 100%);
  --grad-hero: radial-gradient(1000px 520px at 12% -10%, #f3e6c4 0%, transparent 60%),
               radial-gradient(900px 480px at 88% -20%, #f6ead0 0%, transparent 55%),
               radial-gradient(700px 420px at 55% 115%, #efe3cf 0%, transparent 55%);
}

/* Gilded Onyx — warm charcoal with satin champagne gold (modern luxe) */
html[data-theme="onyx"] {
  --blue: #8f6b21;
  --indigo: #6e5316;
  --cyan: #b08a33;
  --violet: #7d6a45;
  --navy: #1c1912;
  --navy-2: #26221a;
  --bg: #faf9f7;
  --tint: #f1efe9;
  --line: #e4e0d5;
  --grad-brand: linear-gradient(120deg, #6e5316 0%, #8f6b21 45%, #b08a33 100%);
  --grad-hero: radial-gradient(1000px 520px at 12% -10%, #efe8d6 0%, transparent 60%),
               radial-gradient(900px 480px at 88% -20%, #ece5d8 0%, transparent 55%),
               radial-gradient(700px 420px at 55% 115%, #e9e4d9 0%, transparent 55%);
}

/* ---------------- Theme switcher (top right) ---------------- */
.theme-switch .theme-btn { padding: 10px; }
.theme-switch .dropdown { min-width: 210px; left: auto; right: 0; transform: translateY(8px); }
.theme-switch.open > .dropdown, .theme-switch:hover > .dropdown { transform: translateY(0); }
.theme-menu button {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 12px; background: none; cursor: pointer;
  font-family: var(--font-display); font-size: .9rem; font-weight: 600; color: var(--ink);
  text-align: left;
}
.theme-menu button:hover { background: var(--tint); }
.theme-menu button.active { background: var(--tint); }
.theme-menu button.active::after { content: "✓"; margin-left: auto; color: var(--blue); font-weight: 700; }
.theme-menu .sw { width: 20px; height: 20px; border-radius: 6px; flex: 0 0 20px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

@media (max-width: 1360px) {
  .phone-chip span { display: none; }
  .phone-chip { padding: 10px; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .kpi-band { grid-template-columns: repeat(2, 1fr); }
  .steps-flow, .steps-flow.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .step-node::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .donut-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner, .page-hero-inner, .split { grid-template-columns: 1fr; }
  .split.rev > .split-media { order: 0; }
  .page-hero-art { display: flex; justify-content: center; }
  .page-hero-art img { max-height: 240px; }
  .query-panel { grid-template-columns: 1fr; }

  .nav-burger { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; z-index: 55;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 5vw 22px;
    display: none; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; padding: 13px 10px; }
  .dropdown, .dropdown.mega {
    position: static; transform: none; opacity: 1; visibility: hidden; display: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--tint); border-radius: 0;
    width: 100%; min-width: 0; padding: 2px 0 8px 10px;
  }
  .nav-item.open > .dropdown { display: block; visibility: visible; }
  .nav-item:hover > .dropdown { transform: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .header-cta .btn { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .kpi-band { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .steps-flow, .steps-flow.cols-3, .steps-flow.cols-5 { grid-template-columns: 1fr; }
  .media-para, .media-para.rev { grid-template-columns: 1fr; }
  .media-para.rev .mp-img { order: -1; }
  .form-grid { grid-template-columns: 1fr; }
  .cbar { grid-template-columns: 1fr; gap: 6px; }
  .cbar-val { text-align: left; }
  .donut-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .phone-chip span { display: none; }
  .phone-chip { padding: 10px; }
  .tick-list.two-col { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
