@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/brand/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/brand/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: dark;
  --avc-bg: #08090b;
  --avc-surface: #0e0f12;
  --avc-surface-subtle: #14161a;
  --avc-surface-hover: #191b20;
  --avc-text: #f7f8fa;
  --avc-text-secondary: #a6adb8;
  --avc-text-muted: #7c8492;
  --avc-border: #272a31;
  --avc-border-strong: #3a3e48;
  --avc-action-primary-bg: #f7f8fa;
  --avc-action-primary-text: #08090b;
  --avc-action-primary-hover: #e7eaf0;
  --avc-action-secondary-bg: #14161a;
  --avc-action-secondary-hover: #191b20;
  --avc-action-secondary-text: #e7eaf0;
  --avc-action-disabled-bg: #191b20;
  --avc-action-disabled-text: #7c8492;
  --avc-focus-ring: #a6adb8;
  --avc-positive: #3ecf8e;
  --avc-warning: #f5a524;
  --avc-danger: #f04444;
  --avc-info: #6ea8fe;
  --avc-overlay: rgb(0 0 0 / 64%);
  --avc-space-1: 4px;
  --avc-space-2: 8px;
  --avc-space-3: 12px;
  --avc-space-4: 16px;
  --avc-space-5: 20px;
  --avc-space-6: 24px;
  --avc-space-8: 32px;
  --avc-space-10: 40px;
  --avc-space-12: 48px;
  --avc-space-16: 64px;
  --avc-space-20: 80px;
  --avc-space-24: 96px;
  --avc-radius-sm: 6px;
  --avc-radius-control: 10px;
  --avc-radius-card: 14px;
  --avc-radius-panel: 18px;
  --avc-radius-pill: 999px;
  --avc-shadow-surface: 0 10px 30px rgb(0 0 0 / 32%);
  --avc-shadow-floating: 0 16px 44px rgb(0 0 0 / 52%);
  --avc-content: 1440px;
  --avc-sidebar: 260px;

  /* Compatibility aliases used by existing SSR fragments. */
  --ink: var(--avc-text);
  --muted: var(--avc-text-muted);
  --brand: var(--avc-action-primary-bg);
  --brand-dark: var(--avc-text-secondary);
  --brand2: var(--avc-text);
  --nav: var(--avc-surface);
  --nav2: var(--avc-surface-subtle);
  --navy: var(--avc-bg);
  --bg: var(--avc-bg);
  --card: var(--avc-surface);
  --surface: var(--avc-surface);
  --line: var(--avc-border);
  --sky: var(--avc-surface-hover);
  --success: var(--avc-positive);
  --ok: var(--avc-positive);
  --warning: var(--avc-warning);
  --warn: var(--avc-warning);
  --danger: var(--avc-danger);
  --radius: var(--avc-radius-card);
  --shadow: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--avc-bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--avc-bg);
  color: var(--avc-text);
  font: 400 15px/1.6 Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  color: var(--avc-text);
  font-weight: 650;
  letter-spacing: -0.035em;
}

h1 {
  line-height: 1.08;
}

h2,
h3 {
  line-height: 1.2;
}

::selection {
  background: var(--avc-text);
  color: var(--avc-bg);
}

:focus-visible {
  outline: 2px solid var(--avc-focus-ring);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: var(--avc-space-3);
  left: var(--avc-space-3);
  z-index: 1000;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--avc-radius-control);
  background: var(--avc-text);
  color: var(--avc-bg);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.eyebrow,
.stat-label {
  display: inline-block;
  color: var(--avc-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-transform: uppercase;
}

.small,
.muted {
  color: var(--avc-text-muted);
  font-size: 12px;
  line-height: 1.6;
}

code,
kbd {
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-sm);
  background: var(--avc-surface-subtle);
  color: var(--avc-text-secondary);
  font: 500 0.88em/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
}

code {
  padding: 2px 6px;
}

kbd {
  padding: 3px 6px;
}

button,
.btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: var(--avc-space-2);
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: var(--avc-radius-control);
  background: var(--avc-action-primary-bg);
  color: var(--avc-action-primary-text);
  box-shadow: none;
  font-weight: 650;
  line-height: 1.25;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

button::after,
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 28%, rgb(255 255 255 / 22%) 50%, transparent 72%);
  transform: translateX(-140%);
  transition: transform 620ms ease;
}

.btn::after,
form button::after {
  animation: btnSweep 3.2s ease-in-out infinite;
}

button:hover,
.btn:hover {
  background: var(--avc-action-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(0 0 0 / 28%);
}

button:hover::after,
.btn:hover::after {
  transform: translateX(140%);
}

button:active,
.btn:active {
  transform: none;
}

button:disabled,
.btn[aria-disabled="true"] {
  background: var(--avc-action-disabled-bg);
  color: var(--avc-action-disabled-text);
  cursor: not-allowed;
  transform: none;
}

button.alt,
.btn.alt,
.btn.ghost,
button.ghost {
  border-color: var(--avc-border);
  background: var(--avc-action-secondary-bg);
  color: var(--avc-action-secondary-text);
}

button.alt:hover,
.btn.alt:hover,
.btn.ghost:hover,
button.ghost:hover {
  border-color: var(--avc-border-strong);
  background: var(--avc-action-secondary-hover);
}

.btn.warn {
  border-color: color-mix(in srgb, var(--avc-warning) 45%, transparent);
  background: color-mix(in srgb, var(--avc-warning) 12%, var(--avc-surface));
  color: var(--avc-warning);
}

.btn.danger {
  border-color: color-mix(in srgb, var(--avc-danger) 45%, transparent);
  background: color-mix(in srgb, var(--avc-danger) 12%, var(--avc-surface));
  color: var(--avc-danger);
}

label {
  display: block;
  margin: 12px 0 6px;
  color: var(--avc-text-secondary);
  font-size: 13px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-control);
  outline: 0;
  background: var(--avc-surface-subtle);
  color: var(--avc-text);
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--avc-text-muted);
  opacity: 1;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--avc-border-strong);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--avc-focus-ring);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--avc-focus-ring) 20%, transparent);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--avc-text);
}

.card,
.stat {
  min-width: 0;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: var(--avc-surface);
  box-shadow: none;
}

.card {
  padding: var(--avc-space-6);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card:hover {
  border-color: var(--avc-border-strong);
  transform: translateY(-3px);
  box-shadow: var(--avc-shadow-surface);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.card.is-visible,
.journey-step.is-visible,
.principle-item.is-visible {
  animation: cardPulse 4.8s ease-in-out infinite;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--avc-space-4);
}

.stat {
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
}

.stat::after {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 2px;
  border-radius: 2px;
  background: var(--stat-tint, var(--avc-border-strong));
}

.stat b {
  display: block;
  margin-top: 8px;
  color: var(--avc-text);
  font-size: 27px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat small {
  display: block;
  margin-top: 5px;
  color: var(--avc-text-muted);
}

.stat.success b {
  color: var(--avc-positive);
}

.stat.warning b {
  color: var(--avc-warning);
}

.stat.danger b {
  color: var(--avc-danger);
}

.table-wrap {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--avc-border);
  color: var(--avc-text-secondary);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--avc-surface-subtle);
  color: var(--avc-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td b,
td strong {
  color: var(--avc-text);
}

tbody tr {
  background: var(--avc-surface);
}

tbody tr:hover {
  background: var(--avc-surface-hover);
}

tr:last-child td {
  border-bottom: 0;
}

.badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-pill);
  background: var(--avc-surface-subtle);
  color: var(--avc-text-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.badge.active,
.badge.ok,
.badge.paid,
.badge.published,
.badge.resolved,
.badge.won,
.status-pill.is-online {
  border-color: color-mix(in srgb, var(--avc-positive) 48%, transparent);
  background: color-mix(in srgb, var(--avc-positive) 12%, var(--avc-surface));
  color: var(--avc-positive);
}

.badge.pending,
.badge.pending_review,
.badge.open,
.badge.warn,
.badge.in_progress,
.badge.partially_paid,
.badge.draft,
.badge.qualified,
.badge.proposal,
.badge.new {
  border-color: color-mix(in srgb, var(--avc-warning) 48%, transparent);
  background: color-mix(in srgb, var(--avc-warning) 12%, var(--avc-surface));
  color: var(--avc-warning);
}

.badge.revoked,
.badge.overdue,
.badge.cancelled,
.badge.rejected,
.badge.danger,
.badge.closed,
.badge.void,
.badge.lost,
.badge.suspended,
.badge.expired,
.status-pill.is-offline {
  border-color: color-mix(in srgb, var(--avc-danger) 48%, transparent);
  background: color-mix(in srgb, var(--avc-danger) 12%, var(--avc-surface));
  color: var(--avc-danger);
}

.notice {
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--avc-positive) 42%, transparent);
  border-radius: var(--avc-radius-control);
  background: color-mix(in srgb, var(--avc-positive) 10%, var(--avc-surface));
  color: var(--avc-positive);
}

.notice.error {
  border-color: color-mix(in srgb, var(--avc-danger) 42%, transparent);
  background: color-mix(in srgb, var(--avc-danger) 10%, var(--avc-surface));
  color: var(--avc-danger);
}

.notice.info {
  border-color: color-mix(in srgb, var(--avc-info) 42%, transparent);
  background: color-mix(in srgb, var(--avc-info) 10%, var(--avc-surface));
  color: var(--avc-info);
}

.notice.warn {
  border-color: color-mix(in srgb, var(--avc-warning) 42%, transparent);
  background: color-mix(in srgb, var(--avc-warning) 10%, var(--avc-surface));
  color: var(--avc-warning);
}

.actions,
.toolbar,
.section-head,
.top-actions,
.overview-actions {
  display: flex;
  align-items: center;
  gap: var(--avc-space-3);
  flex-wrap: wrap;
}

.toolbar,
.section-head {
  justify-content: space-between;
}

.empty {
  padding: var(--avc-space-12) var(--avc-space-6);
  color: var(--avc-text-muted);
  text-align: center;
}

/* Public storefront shell */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

body:has(.site-main) {
  display: flex;
  flex-direction: column;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  min-width: 0;
  min-height: 72px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--avc-space-4);
  overflow: visible;
  padding: 0 max(20px, calc((100% - var(--avc-content)) / 2));
  border-bottom: 1px solid var(--avc-border);
  background: rgb(8 9 11 / 92%);
  backdrop-filter: blur(16px);
}

.bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgb(255 255 255 / 70%) 42%, #fff 50%, rgb(255 255 255 / 70%) 58%, transparent 100%);
  background-size: 220% 100%;
  animation: logoWordFlow 4.2s linear infinite;
}

.logo {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 22px;
  overflow: visible;
  color: var(--avc-text);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-mark,
.brand-mark {
  --mark-size: 40px;
  position: relative;
  display: grid;
  width: var(--mark-size);
  height: var(--mark-size);
  flex: 0 0 auto;
  place-items: center;
  overflow: visible;
  isolation: isolate;
}

.logo-ring,
.logo-core,
.logo-sparks {
  position: absolute;
  pointer-events: none;
}

.logo-ring {
  inset: -11px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 58%, #fff 68%, rgb(247 248 250 / 40%) 74%, transparent 82%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: markOrbit 2.8s linear infinite;
  filter: drop-shadow(0 0 10px rgb(247 248 250 / 75%));
}

.logo-ring-2 {
  inset: -18px;
  background: conic-gradient(from 180deg, transparent 0 66%, rgb(255 255 255 / 80%) 76%, transparent 86%);
  animation: markOrbit 4.8s linear infinite reverse;
  filter: drop-shadow(0 0 6px rgb(247 248 250 / 45%));
  opacity: 0.85;
}

.logo-core {
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / 52%) 0%, rgb(247 248 250 / 14%) 42%, transparent 68%);
  animation: markGlow 1.8s ease-in-out infinite;
}

.logo-sparks {
  inset: -20px;
  animation: markOrbit 6s linear infinite;
}

.logo-sparks i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 2px rgb(255 255 255 / 80%);
  animation: sparkPulse 1.6s ease-in-out infinite;
}

.logo-sparks i:nth-child(1) { top: 2px; left: 48%; }
.logo-sparks i:nth-child(2) { right: 2px; top: 48%; animation-delay: -0.4s; }
.logo-sparks i:nth-child(3) { bottom: 2px; left: 48%; animation-delay: -0.8s; }
.logo-sparks i:nth-child(4) { left: 2px; top: 48%; animation-delay: -1.2s; }

.logo-n {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 78%;
  fill: #fff;
  filter: drop-shadow(0 0 8px rgb(255 255 255 / 85%)) drop-shadow(0 0 22px rgb(247 248 250 / 45%));
  animation: markBreathe 2s ease-in-out infinite;
}

.logo-mark::before,
.brand-mark::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 18%);
  animation: framePulse 2.6s ease-in-out infinite;
  pointer-events: none;
}

.logo-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  border-radius: 10px;
  pointer-events: none;
}

.logo-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgb(255 255 255 / 92%) 50%, transparent 82%);
  transform: translateX(-160%);
  animation: markSweep 2.2s ease-in-out infinite;
  mix-blend-mode: screen;
}

.logo-word {
  position: relative;
  z-index: 2;
  color: var(--avc-text);
  background: none;
  -webkit-text-fill-color: var(--avc-text);
  font-weight: 720;
  letter-spacing: -0.038em;
  text-shadow: none;
}

.logo img,
.brand-mark img,
.portal-brand img,
.ref-logo img[src*="/brand/"] {
  filter: invert(1) drop-shadow(0 0 10px rgb(247 248 250 / 28%));
}

.logo span {
  color: var(--avc-text-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: var(--avc-space-1);
}

.nav-links a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: var(--avc-radius-control);
  color: var(--avc-text-secondary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-current {
  background: var(--avc-surface-hover);
  color: var(--avc-text);
  box-shadow: inset 0 -2px 0 #f7f8fa;
}

.nav-links a.is-current {
  animation: navGlow 2.4s ease-in-out infinite;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: var(--avc-space-2);
}

.command-toggle,
.menu-toggle {
  width: 40px;
  min-width: 40px;
  padding: 0;
  border-color: var(--avc-border);
  background: var(--avc-surface-subtle);
  color: var(--avc-text-secondary);
}

.command-toggle:hover,
.menu-toggle:hover {
  border-color: var(--avc-border-strong);
  background: var(--avc-surface-hover);
  color: var(--avc-text);
}

.command-toggle kbd {
  display: none;
}

.menu-toggle {
  display: none;
}

.avc-header {
  position: relative;
  z-index: 80;
  display: inline-block;
  flex: 0 0 auto;
}

.avc-header summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  border-radius: 12px;
  border: 1px solid #35bfd1;
  background: #06242c;
  color: #fff;
  box-shadow: 0 8px 24px rgb(0 168 196 / 28%);
}

.avc-header summary::-webkit-details-marker {
  display: none;
}

.avc-dot {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgb(126 224 236 / 35%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7ee0ec;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.avc-header b {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.avc-header small {
  display: block;
  margin-top: 3px;
  color: #9beaf2;
  font-size: 8px;
  letter-spacing: 0.02em;
}

.avc-header .avc-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 90;
  width: min(330px, calc(100vw - 24px));
  padding: 18px 18px 4px;
  border-radius: 22px;
  border: 1px solid #1d4a58;
  background: #071b22;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 30px 90px rgb(4 18 24 / 34%);
}

.avc-header .avc-panel b {
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.avc-header .avc-panel p {
  margin: 8px 0 0;
  color: rgb(255 255 255 / 58%);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.avc-header .avc-panel strong {
  color: #fff;
}

.avc-header .avc-panel a {
  display: block;
  margin: 14px 0 14px;
  padding: 12px;
  border-radius: 12px;
  background: #00a8c4;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.avc-header .avc-panel a:hover {
  background: #12b7d2;
  color: #fff;
}

.avc-side {
  position: fixed;
  left: 0;
  bottom: 90px;
  z-index: 45;
  font-size: 13px;
}

.avc-side summary {
  list-style: none;
  cursor: pointer;
  width: 56px;
  height: 148px;
  margin-left: -10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #7ee0ec;
  border-left: 0;
  border-radius: 0 16px 16px 0;
  background: #06242c;
  color: #c8f6fb;
  box-shadow: 0 0 0 1px rgb(126 224 236 / 35%), 0 16px 40px rgb(0 168 196 / 42%);
  animation: avcpeek 8s ease-in-out infinite;
}

.avc-side[open] summary,
.avc-side summary:hover {
  margin-left: 0;
  animation: none;
}

.avc-side summary::-webkit-details-marker {
  display: none;
}

.avc-side .ok {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #34d399;
  color: #06202a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 0 16px rgb(52 211 153 / 70%);
}

.avc-side .txt {
  writing-mode: vertical-rl;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.avc-side .panel {
  position: absolute;
  left: 60px;
  bottom: 0;
  width: min(300px, calc(100vw - 72px));
  border-radius: 22px;
  border: 1px solid #35bfd1;
  background: #071b22;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 26px 75px rgb(4 18 24 / 45%);
}

.avc-side-copy {
  padding: 20px;
}

.avc-side .panel b {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.avc-side .panel p {
  margin: 10px 0 0;
  color: rgb(255 255 255 / 62%);
  font-size: 12px;
  line-height: 1.5;
}

.avc-side .panel a {
  display: block;
  padding: 14px 20px;
  background: #00a8c4;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.avc-side .panel a:hover {
  background: #12b7d2;
  color: #fff;
}

@keyframes avcpeek {
  0%, 52%, 100% { margin-left: -10px; }
  60%, 88% { margin-left: 0; }
}

.ui-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  padding: clamp(72px, 8vw, 112px) 24px 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--avc-border);
  background: var(--avc-bg);
  color: var(--avc-text);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  animation: gridDrift 22s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  right: -8%;
  top: -18%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(247 248 250 / 10%), transparent 68%);
  animation: heroAura 6s ease-in-out infinite;
}

.hero-live,
.hero-scan,
.site-live {
  pointer-events: none;
}

.hero-live,
.hero-scan {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.site-live {
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.28;
}

.hero-live i,
.site-live i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgb(247 248 250 / 80%);
  animation: orbFloat 7s ease-in-out infinite;
}

.hero-live i:nth-child(1),
.site-live i:nth-child(1) { left: 10%; top: 22%; animation-duration: 6.2s; }
.hero-live i:nth-child(2),
.site-live i:nth-child(2) { left: 28%; top: 14%; animation-duration: 8s; animation-delay: -1.2s; }
.hero-live i:nth-child(3),
.site-live i:nth-child(3) { left: 46%; top: 32%; animation-duration: 7.1s; animation-delay: -2.4s; }
.hero-live i:nth-child(4),
.site-live i:nth-child(4) { right: 18%; top: 20%; animation-duration: 6.8s; animation-delay: -1.8s; }
.hero-live i:nth-child(5),
.site-live i:nth-child(5) { right: 8%; top: 48%; animation-duration: 9s; animation-delay: -3.1s; }
.hero-live i:nth-child(6),
.site-live i:nth-child(6) { right: 30%; bottom: 18%; animation-duration: 7.6s; animation-delay: -2.8s; }
.hero-live i:nth-child(7),
.site-live i:nth-child(7) { left: 18%; bottom: 16%; animation-duration: 8.4s; animation-delay: -4s; }
.hero-live i:nth-child(8),
.site-live i:nth-child(8) { left: 62%; bottom: 24%; animation-duration: 6.5s; animation-delay: -1s; }

.hero-scan {
  background: linear-gradient(180deg, transparent, rgb(247 248 250 / 14%), transparent);
  height: 16%;
  animation: heroScan 4.6s linear infinite;
}

.hero-proof,
.product-preview {
  position: relative;
  overflow: hidden;
}

.hero-proof::after,
.product-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 7%) 50%, transparent 70%);
  transform: translateX(-140%);
  animation: markSweep 6s ease-in-out infinite;
}

.hero > div,
.section {
  width: min(100%, var(--avc-content));
  margin-inline: auto;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.hero-grid > div,
.hero-proof,
.product-preview {
  animation: riseIn 720ms cubic-bezier(.2, .7, .2, 1) both;
}

.hero-proof,
.product-preview {
  animation-delay: 140ms;
}

.hero h1 {
  max-width: 18ch;
  margin: 16px 0 14px;
  color: var(--avc-text);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 680;
  letter-spacing: -0.05em;
  line-height: 1.08;
  -webkit-text-fill-color: currentColor;
}

.hero p {
  max-width: 700px;
  color: var(--avc-text-secondary);
  font-size: 18px;
  line-height: 1.75;
}

.hero .actions {
  margin-top: var(--avc-space-6);
}

.hero-proof,
.product-preview {
  min-width: 0;
  padding: var(--avc-space-6);
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-panel);
  background: var(--avc-surface);
  box-shadow: var(--avc-shadow-surface);
}

.hero-proof b {
  display: block;
  margin: 6px 0 14px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.proof-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--avc-border);
  color: var(--avc-text-secondary);
}

.proof-line:last-child {
  border-bottom: 0;
}

.proof-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--avc-positive);
  box-shadow: 0 0 0 4px rgb(62 207 142 / 12%);
  animation: statusPulse 2.2s ease-in-out infinite;
}

.trust,
.demo-trust {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(calc(100% - 32px), var(--avc-content));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -28px auto 0;
  overflow: hidden;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: var(--avc-surface);
}

.trust > div,
.demo-trust > div {
  padding: 20px 22px;
  min-height: 92px;
  border-right: 1px solid var(--avc-border);
}

.trust > div:last-child,
.demo-trust > div:last-child {
  border-right: 0;
}

.trust b,
.demo-trust b {
  display: block;
  color: var(--avc-text);
  font-size: 14px;
}

.trust span,
.demo-trust span {
  color: var(--avc-text-muted);
  font-size: 12px;
}

.section {
  padding: var(--avc-space-20) 24px;
}

.section-head {
  align-items: flex-end;
  margin-bottom: var(--avc-space-8);
}

.section-head h2 {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.05em;
}

.section-head > p {
  max-width: 480px;
  margin: 0;
  color: var(--avc-text-muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--avc-space-4);
}

.cards .card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.cards .card .btn,
.catalog-card .actions {
  margin-top: auto;
}

.cards .card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.cards .card .actions .btn {
  margin-top: 0;
}

.product-index,
.journey-no {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-control);
  background: var(--avc-surface-subtle);
  color: var(--avc-text-muted);
  font-size: 11px;
  font-weight: 700;
}

.journey-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--avc-space-4);
}

.journey-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 42px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 32%), transparent);
  box-shadow: 0 0 10px rgb(247 248 250 / 20%);
  animation: archLine 2.8s ease-in-out infinite;
}

.journey-step,
.principle-item {
  position: relative;
  overflow: hidden;
  padding: var(--avc-space-6);
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: var(--avc-surface);
}

.journey-step {
  isolation: isolate;
  z-index: 1;
}

.journey-step::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgb(255 255 255 / 10%) 50%, transparent 68%);
  transform: translateX(-140%);
  animation: btnSweep 5.2s ease-in-out infinite;
}

.journey-step:nth-child(1) { animation-delay: 0s; }
.journey-step:nth-child(2),
.journey-step:nth-child(2)::before { animation-delay: 0.35s; }
.journey-step:nth-child(3),
.journey-step:nth-child(3)::before { animation-delay: 0.7s; }
.journey-step:nth-child(4),
.journey-step:nth-child(4)::before { animation-delay: 1.05s; }

.journey-no {
  animation: statusPulse 2.4s ease-in-out infinite;
  color: var(--avc-text);
  border-color: rgb(255 255 255 / 22%);
  box-shadow: 0 0 0 4px rgb(247 248 250 / 6%);
}

.journey-step strong,
.principle-item b {
  display: block;
  margin-bottom: 7px;
  color: var(--avc-text);
}

.journey-step p,
.principle-item span {
  margin: 0;
  color: var(--avc-text-muted);
  font-size: 13px;
}

.principles {
  border-block: 1px solid var(--avc-border);
  background: var(--avc-surface);
}

.principle-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--avc-space-16);
}

.principle-copy h2 {
  margin: 10px 0;
  font-size: clamp(30px, 4vw, 44px);
}

.principle-list {
  display: grid;
  gap: var(--avc-space-3);
}

.architecture {
  position: relative;
  padding: var(--avc-space-24) 24px;
  overflow: hidden;
  border-block: 1px solid var(--avc-border);
  background: var(--avc-bg);
}

.architecture::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  animation: gridDrift 18s linear infinite;
}

.architecture::after {
  content: "";
  position: absolute;
  width: min(72vw, 640px);
  height: min(72vw, 640px);
  left: 50%;
  top: 42%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(247 248 250 / 10%), transparent 68%);
  transform: translate(-50%, -50%);
  animation: heroAura 7s ease-in-out infinite;
}

.arch-live,
.arch-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.arch-live i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px rgb(247 248 250 / 75%);
  animation: orbFloat 7.4s ease-in-out infinite;
}

.arch-live i:nth-child(1) { left: 8%; top: 22%; }
.arch-live i:nth-child(2) { left: 24%; top: 68%; animation-delay: -1.4s; }
.arch-live i:nth-child(3) { left: 52%; top: 16%; animation-delay: -2.2s; }
.arch-live i:nth-child(4) { right: 18%; top: 28%; animation-delay: -0.8s; }
.arch-live i:nth-child(5) { right: 10%; bottom: 22%; animation-delay: -3s; }
.arch-live i:nth-child(6) { left: 38%; bottom: 18%; animation-delay: -1.8s; }

.arch-scan {
  height: 18%;
  background: linear-gradient(180deg, transparent, rgb(247 248 250 / 12%), transparent);
  animation: heroScan 6s linear infinite;
}

.architecture-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--avc-content));
  margin-inline: auto;
}

.architecture-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--avc-space-3);
}

.architecture-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 38px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 28%), transparent);
  animation: archLine 3.6s ease-in-out infinite;
}

.tech-card {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  background: var(--avc-surface) !important;
}

.tech-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 28%, rgb(255 255 255 / 8%) 50%, transparent 72%);
  transform: translateX(-140%);
  animation: btnSweep 4.8s ease-in-out infinite;
}

.tech-card:nth-child(2)::after { animation-delay: 0.4s; }
.tech-card:nth-child(3)::after { animation-delay: 0.8s; }
.tech-card:nth-child(4)::after { animation-delay: 1.2s; }

.tech-icon {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: var(--avc-space-6);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--avc-radius-control);
  background: var(--avc-bg);
  color: var(--avc-text);
  box-shadow: 0 0 16px rgb(247 248 250 / 8%);
}

.tech-icon .ui-icon {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
}

.tech-icon::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgb(255 255 255 / 70%) 82%, transparent 90%);
  animation: markOrbit 3.2s linear infinite;
}

.tech-icon:empty::after,
[data-lucide]:empty::after {
  content: "";
  position: relative;
  z-index: 1;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.tech-code {
  display: inline-flex;
  margin-top: auto;
  padding: 5px 7px;
  border: 1px solid rgb(255 255 255 / 12%);
  color: var(--avc-text-secondary);
  animation: codeGlow 2.8s ease-in-out infinite;
}

.architecture-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--avc-space-6);
  color: var(--avc-text-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.architecture-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--avc-positive);
  animation: statusPulse 2.2s ease-in-out infinite;
}

.integrations {
  position: relative;
  padding: var(--avc-space-20) 24px 72px;
  border-top: 1px solid var(--avc-border);
  background:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgb(110 168 254 / 7%), transparent 55%),
    linear-gradient(180deg, var(--avc-surface) 0%, var(--avc-bg) 42%);
}

.integrations-inner {
  width: min(100%, var(--avc-content));
  margin: 0 auto;
}

.integ-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 20px;
  overflow: hidden;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: var(--avc-border);
}

.integ-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: var(--avc-surface-subtle);
}

.integ-stat b {
  color: var(--avc-text);
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
}

.integ-stat span {
  color: var(--avc-text-muted);
  font-size: 12px;
  line-height: 1.35;
}

.integ-marquee {
  position: relative;
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: rgb(8 9 11 / 55%);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.integ-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 16px 0;
  animation: integScroll 52s linear infinite;
}

.integ-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  height: 56px;
  padding: 8px 16px;
  border: 1px solid var(--avc-border);
  border-radius: 12px;
  background: var(--avc-surface);
}

.integ-chip-logo .integ-mark-img,
.integ-logo-face .integ-mark-img {
  width: auto;
  max-width: 108px;
  height: 32px;
  object-fit: contain;
  opacity: 0.82;
  filter: grayscale(1) brightness(0) invert(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.integ-chip:hover .integ-mark-img,
.integ-logo:hover .integ-mark-img {
  opacity: 1;
}

.integ-chip-logo .integ-mark-fallback,
.integ-logo-face .integ-mark-fallback {
  color: var(--avc-text-secondary);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.integ-wall {
  display: grid;
  gap: 12px;
}

.integ-row {
  padding: 18px 18px 16px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: var(--avc-surface);
}

.integ-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--avc-border);
}

.integ-row-head h3 {
  margin: 0;
  color: var(--avc-text);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.integ-row-head span {
  color: var(--avc-text-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.integ-logos {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.integ-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 78px;
  padding: 12px 8px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--avc-surface-subtle);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.integ-logo:hover {
  border-color: var(--avc-border-strong);
  background: var(--avc-surface-hover);
  transform: translateY(-1px);
}

.integ-logo-face {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
}

.integ-logo-face .integ-mark-img {
  height: 28px;
  max-width: 96px;
}

.integ-logo-name {
  color: var(--avc-text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: center;
}

@keyframes integScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .integ-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    padding: 14px;
  }

  .integ-marquee {
    mask-image: none;
  }
}

.integ-group,
.integ-grid {
  display: none;
}

.integ-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: var(--avc-surface);
}

.integ-foot p {
  margin: 0;
  max-width: 42rem;
  color: var(--avc-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.integ-foot .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.future-band {
  position: relative;
  display: flex;
  width: min(calc(100% - 48px), var(--avc-content));
  align-items: center;
  justify-content: space-between;
  gap: 36px 56px;
  isolation: isolate;
  overflow: visible;
  box-sizing: border-box;
  margin: 24px auto 40px;
  padding: 56px 64px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-panel);
  background: var(--avc-surface);
}

.future-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 28%, rgb(255 255 255 / 7%) 50%, transparent 72%);
  transform: translateX(-140%);
  animation: btnSweep 5.6s ease-in-out infinite;
  clip-path: inset(0 round var(--avc-radius-panel));
}

.future-copy {
  display: flex;
  flex: 1 1 420px;
  min-width: 0;
  max-width: 42rem;
  flex-direction: column;
  gap: 18px;
}

.future-band .eyebrow {
  position: relative;
  z-index: 1;
}

.future-band h2,
.future-band p {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  overflow: visible;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.future-band h2 {
  max-width: 14em;
  padding: 0.08em 0.06em 0.1em 0;
  color: var(--avc-text);
  background: none;
  -webkit-text-fill-color: var(--avc-text);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: -0.012em;
}

.future-band p {
  max-width: 38rem;
  color: var(--avc-text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.future-band .btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  align-self: center;
  white-space: nowrap;
}

.site-footer {
  position: relative;
  overflow: visible;
  flex-shrink: 0;
  margin-top: auto;
  padding: 44px max(20px, calc((100% - var(--avc-content)) / 2)) 22px;
  border-top: 1px solid var(--avc-border);
  background: rgb(14 15 18 / 92%);
  backdrop-filter: blur(16px);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
  animation: gridDrift 22s linear infinite;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgb(255 255 255 / 55%) 42%, #fff 50%, rgb(255 255 255 / 55%) 58%, transparent 100%);
  background-size: 220% 100%;
  animation: logoWordFlow 4.2s linear infinite;
}

.footer-inner,
.footer-bottom {
  position: relative;
  z-index: 1;
  width: min(100%, var(--avc-content));
  margin-inline: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 36px 72px;
  align-items: start;
}

.footer-brand {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-brand > .small {
  max-width: 42ch;
  margin: 0;
  color: var(--avc-text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer a.footer-logo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  overflow: visible;
  padding: 0;
  color: var(--avc-text);
}

.footer-logo > .logo-mark {
  --mark-size: 36px;
  flex: 0 0 auto;
}

.footer-lockup {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  color: var(--avc-text);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-transform: none;
  white-space: nowrap;
}

.footer-lockup .logo-word {
  display: inline;
  margin: 0;
  color: var(--avc-text);
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.038em;
  text-transform: none;
}

.footer-logo-sub {
  color: var(--avc-text-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.footer-cta .btn {
  min-height: 40px;
  padding: 9px 15px;
}

.wa-btn {
  overflow: visible;
  border-color: var(--avc-border);
  background: var(--avc-action-secondary-bg);
  color: var(--avc-text-secondary);
  box-shadow: none;
  animation: none;
}

.wa-btn::after {
  display: none;
}

.wa-btn:hover {
  border-color: var(--avc-border-strong);
  background: var(--avc-surface-hover);
  color: var(--avc-text);
  box-shadow: none;
}

.wa-btn span {
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.wa-icon {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex: 0 0 18px;
  display: block;
  overflow: visible;
  fill: currentColor;
  stroke: none;
}

.footer-nav {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-inner h3,
.footer-col > b {
  display: block;
  margin: 0 0 12px;
  color: var(--avc-text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin: 0;
  padding: 5px 0;
  color: var(--avc-text-muted);
  font-size: 13px;
  font-weight: 600;
}

.footer-col a:hover {
  color: var(--avc-text);
}

.footer-inner .btn {
  display: inline-flex;
  margin: 0;
}

.wa-line {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.wa-line .wa-icon {
  width: 16px;
  height: 16px;
  color: #25d366;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--avc-border);
}

.footer-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.footer-copy b {
  color: var(--avc-text);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-transform: none;
}

.footer-copy span {
  color: var(--avc-text-muted);
  font-size: 12px;
}

.footer-hub,
.footer-system {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: min(100%, 360px);
  max-width: 460px;
  padding: 11px 12px 12px;
  border: 1px solid var(--avc-border-strong);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 3%), transparent 28%),
    var(--avc-surface-subtle);
  color: var(--avc-text);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 4%);
}

.sys-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sys-meter {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}

.sys-meter svg {
  display: block;
  transform: rotate(-90deg);
}

.sys-track {
  stroke: var(--avc-border);
}

.sys-arc {
  stroke: var(--avc-positive);
  stroke-linecap: round;
  stroke-dasharray: 86 14;
  filter: drop-shadow(0 0 6px rgb(62 207 142 / 45%));
  animation: sysMeter 1.1s ease-out both;
}

.sys-meter span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--avc-positive);
}

.sys-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sys-copy small,
.footer-hub small {
  color: var(--avc-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sys-copy strong,
.footer-hub strong {
  font-size: 14px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

.sys-copy em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: var(--avc-positive);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sys-copy em i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--avc-positive);
  box-shadow: 0 0 8px var(--avc-positive);
  animation: sysPulse 1.8s ease-in-out infinite;
}

.sys-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sys-nodes a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--avc-border);
  border-radius: 7px;
  background: rgb(8 9 11 / 45%);
  color: var(--avc-text-secondary);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.sys-nodes a:hover {
  border-color: var(--avc-border-strong);
  color: var(--avc-text);
  background: var(--avc-surface-hover);
}

.footer-system.is-maintenance .sys-arc {
  stroke: var(--avc-danger);
  filter: drop-shadow(0 0 6px rgb(240 68 68 / 45%));
}

.footer-system.is-update .sys-arc {
  stroke: var(--avc-warning);
  filter: drop-shadow(0 0 6px rgb(245 165 36 / 45%));
}

.footer-system.is-maintenance .sys-copy em,
.footer-system.is-update .sys-copy em {
  color: var(--avc-warning);
}

.footer-system.is-maintenance .sys-copy em i {
  background: var(--avc-danger);
  box-shadow: 0 0 8px var(--avc-danger);
}

.footer-system.is-update .sys-copy em i {
  background: var(--avc-warning);
  box-shadow: 0 0 8px var(--avc-warning);
}

.sys-body {
  display: grid;
  gap: 8px;
  width: 100%;
}

.sys-health {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  padding: 7px 9px;
  border: 1px solid var(--avc-border);
  border-radius: 9px;
  background: rgb(8 9 11 / 35%);
}

.sys-health-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--avc-text-muted);
  font-weight: 700;
}

.sys-health-copy {
  color: var(--avc-text-secondary);
  font-size: 11px;
  line-height: 1.35;
}

.sys-health strong {
  color: var(--avc-positive);
  font-size: 13px;
  letter-spacing: -0.03em;
}

.sys-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 4px;
  padding: 2px 0;
}

.sys-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: calc((100% - 20px) / 6);
  min-width: 52px;
  max-width: 64px;
  text-decoration: none;
  color: inherit;
}

.sys-node-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--avc-border);
  background:
    radial-gradient(circle at 30% 25%, rgb(255 255 255 / 8%), transparent 55%),
    rgb(8 9 11 / 55%);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sys-node-orbit i {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--avc-text-muted);
  opacity: 0.55;
}

.sys-node-label {
  display: block;
  width: 100%;
  color: var(--avc-text-secondary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sys-node.is-active .sys-node-orbit {
  border-color: rgb(62 207 142 / 42%);
  box-shadow: 0 0 0 1px rgb(62 207 142 / 12%), 0 0 14px rgb(62 207 142 / 14%);
}

.sys-node.is-active .sys-node-orbit i {
  background: var(--avc-positive);
  opacity: 1;
  box-shadow: 0 0 10px var(--avc-positive);
  animation: sysPulse 1.8s ease-in-out infinite;
}

.sys-node.is-inactive .sys-node-orbit {
  border-color: var(--avc-border);
}

.sys-node.is-loading .sys-node-orbit i {
  animation: sysPulse 1.4s ease-in-out infinite;
  opacity: 0.35;
}

.sys-node:hover .sys-node-orbit,
.sys-node:focus-visible .sys-node-orbit {
  transform: translateY(-1px);
  border-color: var(--avc-border-strong);
}

.sys-node.is-active:hover .sys-node-orbit,
.sys-node.is-active:focus-visible .sys-node-orbit {
  border-color: rgb(62 207 142 / 58%);
}

.sys-node:hover .sys-node-label,
.sys-node:focus-visible .sys-node-label {
  color: var(--avc-text);
}

.sys-service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  align-items: center;
  padding: 7px 8px;
  border: 1px solid var(--avc-border);
  border-radius: 8px;
  background: rgb(8 9 11 / 35%);
}

.sys-service a {
  color: var(--avc-text);
  font-size: 11px;
  font-weight: 700;
}

.sys-service small {
  grid-column: 1 / -1;
  color: var(--avc-text-muted);
  font-size: 10px;
}

.sys-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sys-pill i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  animation: sysPulse 1.8s ease-in-out infinite;
}

.sys-pill.active {
  color: var(--avc-positive);
  background: rgb(62 207 142 / 10%);
  border: 1px solid rgb(62 207 142 / 28%);
}

.sys-pill.active i {
  background: var(--avc-positive);
  box-shadow: 0 0 8px var(--avc-positive);
}

.sys-pill.inactive {
  color: var(--avc-text-muted);
  background: rgb(124 132 146 / 10%);
  border: 1px solid var(--avc-border);
}

.sys-pill.inactive i {
  background: var(--avc-text-muted);
  animation: none;
  opacity: 0.55;
}

.sys-logs {
  display: grid;
  gap: 3px;
  max-height: 72px;
  overflow: auto;
  padding-right: 2px;
}

.sys-log {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 5px 7px;
  border-radius: 7px;
  background: rgb(8 9 11 / 28%);
  font-size: 10px;
  line-height: 1.45;
}

.sys-log time {
  color: var(--avc-text-muted);
  font-variant-numeric: tabular-nums;
}

.sys-log span {
  color: var(--avc-text-secondary);
  word-break: break-word;
}

.sys-log.warn span { color: var(--avc-warning); }
.sys-log.error span { color: var(--avc-danger); }

.sys-empty {
  padding: 8px 10px;
  border: 1px dashed var(--avc-border);
  border-radius: 8px;
  color: var(--avc-text-muted);
  font-size: 11px;
}

.sys-mode-banner {
  padding: 12px 13px;
  border-radius: 10px;
  border: 1px solid var(--avc-border);
  background: rgb(8 9 11 / 35%);
}

.sys-mode-banner.maintenance {
  border-color: rgb(240 68 68 / 35%);
  background: rgb(240 68 68 / 8%);
}

.sys-mode-banner.update {
  border-color: rgb(245 165 36 / 35%);
  background: rgb(245 165 36 / 8%);
}

.sys-mode-banner b {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.sys-mode-banner p {
  margin: 0;
  color: var(--avc-text-secondary);
  font-size: 11px;
  line-height: 1.5;
}

@keyframes sysMeter {
  from { stroke-dasharray: 0 100; }
  to { stroke-dasharray: 86 14; }
}

@keyframes sysPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.security-headers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.security-headers code {
  padding: 6px 8px;
  border: 1px solid var(--avc-border);
  border-radius: 8px;
  background: var(--avc-surface-subtle);
  color: var(--avc-text-secondary);
  font-size: 11px;
}

.security-controls {
  display: grid;
  gap: 10px;
}

.security-control {
  padding: 12px 14px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-control);
  background: var(--avc-surface-subtle);
}

.security-control b {
  display: block;
  margin-bottom: 4px;
  color: var(--avc-text);
}

.security-control span {
  color: var(--avc-text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.security-public h2 {
  overflow-wrap: normal;
  letter-spacing: -0.02em;
}

.auth {
  width: min(calc(100% - 32px), 560px);
  margin: var(--avc-space-16) auto;
  padding: var(--avc-space-8);
}

.auth form {
  margin-top: var(--avc-space-5);
}

.auth button[type="submit"] {
  width: 100%;
  margin-top: var(--avc-space-5) !important;
}

.product-switcher {
  display: flex;
  width: min(100%, var(--avc-content));
  gap: var(--avc-space-2);
  margin: 24px auto -24px;
  padding-inline: 24px;
  overflow: auto;
  scrollbar-width: none;
}

.product-switcher a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: var(--avc-space-2);
  padding: 8px 12px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-pill);
  background: var(--avc-surface);
  color: var(--avc-text-secondary);
  font-size: 12px;
  white-space: nowrap;
}

.product-switcher a:hover,
.product-switcher a.active {
  border-color: var(--avc-border-strong);
  background: var(--avc-surface-hover);
  color: var(--avc-text);
}

.plan-card {
  position: relative;
}

.plan-card ul {
  padding-left: 20px;
  color: var(--avc-text-secondary);
}

.plan-card.featured {
  border-color: var(--avc-border-strong);
}

.recommended {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 8px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-pill);
  background: var(--avc-surface-hover);
  color: var(--avc-text-secondary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.other-products {
  border-block: 1px solid var(--avc-border);
  background: var(--avc-surface);
}

.other-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--avc-space-3);
}

.other-product {
  display: flex;
  min-height: 164px;
  flex-direction: column;
  padding: var(--avc-space-5);
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: var(--avc-bg);
}

.other-product span {
  color: var(--avc-text-muted);
  font-size: 12px;
}

.other-product em {
  margin-top: auto;
  padding-top: var(--avc-space-4);
  color: var(--avc-text-secondary);
  font-size: 11px;
  font-style: normal;
}

.floating-quote {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: var(--avc-space-3);
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: rgb(14 15 18 / 94%);
  box-shadow: var(--avc-shadow-floating);
  backdrop-filter: blur(14px);
}

.floating-quote span {
  color: var(--avc-text-muted);
  font-size: 11px;
}

.product-preview {
  padding: 0;
  overflow: hidden;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--avc-border);
  color: var(--avc-text-muted);
  font-size: 11px;
}

.preview-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--avc-border-strong);
}

.preview-bar span {
  margin-left: auto;
}

.preview-body {
  display: grid;
  min-height: 276px;
  grid-template-columns: 72px 1fr;
}

.preview-side {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 12px;
  border-right: 1px solid var(--avc-border);
}

.preview-side span {
  height: 30px;
  border-radius: 8px;
  background: var(--avc-surface-hover);
}

.preview-main {
  padding: var(--avc-space-5);
}

.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--avc-space-4);
}

.preview-live {
  color: var(--avc-positive);
  font-size: 10px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.preview-module {
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-control);
  background: var(--avc-surface-subtle);
}

.preview-module strong,
.preview-module small {
  display: block;
}

.preview-module small {
  margin-top: 5px;
  color: var(--avc-text-muted);
}

.preview-scan {
  display: none;
}

.solution-finder {
  width: min(calc(100% - 32px), var(--avc-content));
  margin: 48px auto 0;
  padding: var(--avc-space-8);
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-panel);
  background: var(--avc-surface);
}

.finder-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: var(--avc-space-8);
}

.finder-copy h2 {
  margin: 8px 0;
  font-size: 36px;
}

.finder-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: var(--avc-space-5);
}

.finder-option {
  width: 100%;
  min-height: 44px;
  justify-content: flex-start;
  gap: 10px;
  border-color: var(--avc-border);
  background: var(--avc-surface-subtle);
  color: var(--avc-text);
  box-shadow: none;
}

.finder-option::after {
  display: none;
}

.finder-option:hover,
.finder-option[aria-pressed="true"] {
  border-color: var(--avc-border-strong);
  background: var(--avc-surface-hover);
  color: var(--avc-text);
  transform: none;
}

.finder-result {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: center;
  padding: var(--avc-space-8);
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: var(--avc-bg);
}

.finder-result .result-ready {
  display: none;
}

.finder-result.has-result .result-idle {
  display: none;
}

.finder-result.has-result .result-ready {
  display: block;
}

.finder-result p,
.result-idle {
  color: var(--avc-text-muted);
}

.result-badge {
  color: var(--avc-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-actions {
  display: flex;
  gap: var(--avc-space-2);
  margin-top: var(--avc-space-5);
}

.comparison-section {
  padding-top: 20px;
}

.comparison-shell {
  overflow: hidden;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-panel);
  background: var(--avc-surface);
}

.comparison-scroll {
  overflow-x: auto;
}

.comparison-table {
  min-width: 820px;
}

.comparison-product {
  display: flex;
  min-width: 190px;
  align-items: center;
  gap: var(--avc-space-3);
}

.comparison-product i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-control);
  background: var(--avc-surface-subtle);
}

.comparison-product span {
  display: block;
  color: var(--avc-text-muted);
  font-size: 11px;
}

.comparison-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.comparison-features span,
.chip,
.modules span {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-pill);
  background: var(--avc-surface-subtle);
  color: var(--avc-text-secondary);
  font-size: 10px;
  font-weight: 650;
}

.comparison-common {
  color: var(--avc-positive);
  font-size: 12px;
  font-weight: 650;
}

.command-dialog {
  width: min(620px, calc(100% - 24px));
  max-height: min(620px, 80vh);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--avc-border-strong);
  border-radius: var(--avc-radius-panel);
  background: var(--avc-surface);
  color: var(--avc-text);
  box-shadow: var(--avc-shadow-floating);
}

.command-dialog::backdrop {
  background: var(--avc-overlay);
  backdrop-filter: blur(6px);
}

.command-search {
  display: flex;
  align-items: center;
  gap: var(--avc-space-3);
  padding: var(--avc-space-4);
  border-bottom: 1px solid var(--avc-border);
}

.command-search input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.command-results {
  max-height: 480px;
  padding: 10px;
  overflow: auto;
}

.command-group {
  padding: 8px 10px 6px;
  color: var(--avc-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.command-item {
  display: flex;
  align-items: center;
  gap: var(--avc-space-3);
  padding: 12px;
  border-radius: var(--avc-radius-control);
  color: var(--avc-text-secondary);
}

.command-item:hover,
.command-item.is-active {
  background: var(--avc-surface-hover);
  color: var(--avc-text);
}

.command-item small {
  margin-left: auto;
  color: var(--avc-text-muted);
}

.command-empty {
  padding: var(--avc-space-8);
  color: var(--avc-text-muted);
  text-align: center;
}

.mobile-nav,
.mobile-nav-backdrop {
  display: none;
}

/* Admin application shell */
.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  width: var(--avc-sidebar);
  flex-direction: column;
  padding: 22px 14px 16px;
  overflow: auto;
  border-right: 1px solid var(--avc-border);
  background: #0c0d11;
  color: var(--avc-text-secondary);
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 8px var(--avc-space-6);
  color: var(--avc-text);
  font-size: 15px;
  font-weight: 650;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  overflow: visible;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--avc-text-muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-group {
  margin-bottom: var(--avc-space-5);
}

.nav-label {
  padding: 0 10px 6px;
  color: var(--avc-text-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav a {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: var(--avc-radius-control);
  color: var(--avc-text-secondary);
  font-size: 13px;
  font-weight: 550;
}

.nav a:hover {
  background: var(--avc-surface-hover);
  color: var(--avc-text);
}

.nav a.on {
  border-color: var(--avc-border);
  background: var(--avc-surface-subtle);
  color: var(--avc-text);
  box-shadow: inset 2px 0 0 #f7f8fa;
}

.ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-foot {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: var(--avc-space-4);
  border-top: 1px solid var(--avc-border);
}

.sidebar-foot a {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--avc-radius-control);
  color: var(--avc-text-muted);
  font-size: 12px;
  font-weight: 600;
}

.sidebar-foot a:hover {
  background: var(--avc-surface-hover);
  color: var(--avc-text);
}

.workspace {
  min-width: 0;
  min-height: 100vh;
  margin-left: var(--avc-sidebar);
  background: var(--avc-bg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-width: 0;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: var(--avc-space-3);
  padding: 10px 30px;
  border-bottom: 1px solid var(--avc-border);
  background: rgb(8 9 11 / 92%);
  backdrop-filter: blur(16px);
}

.topbar-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--avc-space-3);
}

.page-title {
  min-width: 0;
}

.page-title h1 {
  margin: 0;
  overflow: hidden;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-title p {
  margin: 2px 0 0;
  color: var(--avc-text-muted);
  font-size: 11px;
}

.search {
  position: relative;
  margin: 0;
}

.search input {
  width: 260px;
  padding-left: 36px;
}

.search::before {
  content: "⌕";
  position: absolute;
  top: 7px;
  left: 13px;
  color: var(--avc-text-muted);
  font-size: 18px;
}

.notif-bell,
.avatar,
.mobile-menu {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-control);
  background: var(--avc-surface-subtle);
  color: var(--avc-text-secondary);
}

.notif-bell {
  position: relative;
}

.notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: var(--avc-radius-pill);
  background: var(--avc-danger);
  color: white;
  font-size: 9px;
  font-weight: 750;
}

.notif-badge.empty {
  display: none;
}

.avatar {
  color: var(--avc-text);
  font-weight: 700;
}

.mobile-menu {
  display: none;
  padding: 0;
}

.wrap {
  width: min(100%, 1640px);
  margin-inline: auto;
  padding: 26px 30px 48px;
}

.wrap > * + * {
  margin-top: var(--avc-space-4);
}

.grid,
.detail-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.75fr) minmax(0, 1.55fr);
  gap: var(--avc-space-4);
  align-items: start;
}

.grid.dashboard-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.7fr);
}

.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--avc-space-3);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--avc-space-3);
}

.quick-link {
  padding: var(--avc-space-4);
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-control);
  background: var(--avc-surface-subtle);
}

.quick-link:hover {
  border-color: var(--avc-border-strong);
  background: var(--avc-surface-hover);
}

.quick-link b,
.quick-link span {
  display: block;
}

.quick-link span {
  color: var(--avc-text-muted);
  font-size: 12px;
}

.overview-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--avc-space-6);
  padding: var(--avc-space-6);
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: var(--avc-surface);
}

.overview-hero h2 {
  margin: 4px 0 6px;
  font-size: 26px;
}

.overview-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--avc-text-muted);
}

.modules,
.perm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--avc-space-2);
}

.modules label,
.field-group {
  padding: 10px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-control);
  background: var(--avc-surface-subtle);
}

.modules label {
  margin: 0;
  font-weight: 500;
}

.tabs,
.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--avc-space-2);
}

.tabs a,
.demo-tabs a {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-control);
  background: var(--avc-surface-subtle);
  color: var(--avc-text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.tabs a:hover,
.tabs a.on,
.demo-tabs a:hover,
.demo-tabs a.on {
  border-color: var(--avc-border-strong);
  background: var(--avc-surface-hover);
  color: var(--avc-text);
}

.audit {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit li {
  padding: 11px 0;
  border-bottom: 1px solid var(--avc-border);
}

.audit time {
  display: block;
  color: var(--avc-text-muted);
  font-size: 11px;
}

.access-list {
  display: grid;
  gap: var(--avc-space-3);
}

.access-item {
  padding: var(--avc-space-4);
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
}

.access-head {
  display: flex;
  justify-content: space-between;
  gap: var(--avc-space-3);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.progress {
  height: 7px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: var(--avc-radius-pill);
  background: var(--avc-surface-hover);
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--avc-text-secondary);
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-list > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--avc-border);
}

.detail-list dt {
  color: var(--avc-text-muted);
  font-size: 12px;
  font-weight: 650;
}

.detail-list dd {
  margin: 0;
  color: var(--avc-text);
}

.login-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  background: #050607;
}

body:has(.login-page) .site-live {
  display: none;
}

.matrix-rain {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  pointer-events: none;
  color: rgb(62 207 142 / 42%);
  font: 12px/1.35 ui-monospace, SFMono-Regular, Consolas, monospace;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 78%, transparent);
}

.matrix-rain span {
  flex: 1 1 auto;
  min-width: 18px;
  white-space: pre;
  text-align: center;
  text-shadow: 0 0 10px rgb(62 207 142 / 55%);
  animation: matrixFall linear infinite;
  opacity: 0.7;
}

.login-visual,
.login-panel {
  position: relative;
  z-index: 1;
}

.login-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 108px) clamp(28px, 6vw, 88px) 88px;
  overflow: hidden;
  border-right: 1px solid rgb(62 207 142 / 14%);
  background: linear-gradient(180deg, rgb(5 6 7 / 28%), rgb(8 9 11 / 78%) 55%, rgb(8 9 11 / 92%));
}

.login-visual .eyebrow {
  color: var(--avc-positive);
  letter-spacing: 0.16em;
}

.login-visual h1 {
  max-width: 680px;
  margin: 18px 0 14px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  overflow-wrap: normal;
  word-break: normal;
  text-shadow: 0 0 28px rgb(62 207 142 / 18%);
}

.login-visual p {
  max-width: 560px;
  color: var(--avc-text-secondary);
  font-size: 16px;
}

.ops-points {
  display: grid;
  gap: 8px;
  max-width: 420px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ops-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--avc-text);
  font-size: 13px;
  font-weight: 600;
}

.ops-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--avc-positive);
  box-shadow: 0 0 10px rgb(62 207 142 / 70%);
  animation: statusPulse 2.2s ease-in-out infinite;
}

.ops-credit {
  max-width: 520px;
  margin-top: 28px;
  color: var(--avc-positive);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 0 16px rgb(62 207 142 / 35%);
}

.login-panel {
  display: grid;
  place-items: center;
  padding: var(--avc-space-8) var(--avc-space-8) 88px;
}

.login {
  width: min(440px, 100%);
  padding: 32px 28px;
  border-color: rgb(62 207 142 / 18%);
  background: rgb(14 15 18 / 90%);
  box-shadow: 0 24px 80px rgb(0 0 0 / 45%), 0 0 0 1px rgb(62 207 142 / 8%);
}

.login h2 {
  margin: 10px 0 8px !important;
  font-size: 26px !important;
  letter-spacing: -0.03em;
}

.login .small {
  margin-bottom: 4px;
}

.login form label {
  margin-top: 16px;
}

.login form button,
.login button[type="submit"] {
  width: 100% !important;
  margin-top: 20px !important;
}

.login input[readonly] {
  cursor: text;
}

.ops-ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgb(62 207 142 / 18%);
  background: rgb(5 6 7 / 88%);
  color: var(--avc-positive);
  font: 650 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ops-ticker span {
  display: inline-block;
  padding: 12px 0;
  animation: opsTicker 28s linear infinite;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 25;
  background: var(--avc-overlay);
}

/* Admin demo management */
.demo-admin {
  display: grid;
  gap: var(--avc-space-4);
  margin-top: 4px;
}

.demo-admin .card {
  width: 100%;
}

.demo-tabs {
  padding: 6px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: var(--avc-surface);
}

.demo-admin .fields-2,
.demo-admin .fields-3,
.demo-admin .fields-4,
.text-grid {
  display: grid;
  gap: 12px 14px;
}

.demo-admin .fields-2,
.text-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-admin .fields-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-admin .fields-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.demo-admin .field {
  min-width: 0;
}

.demo-admin .field label,
.demo-admin .field-group > label {
  margin-top: 0;
}

.demo-admin .span-2 {
  grid-column: span 2;
}

.demo-admin .span-3 {
  grid-column: span 3;
}

.demo-admin .span-all,
.text-grid > .span-all {
  grid-column: 1 / -1;
}

.field-group {
  margin: 0 0 var(--avc-space-4);
}

.field-group h3 {
  margin: 0 0 var(--avc-space-3);
  color: var(--avc-text-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.choice-row,
.flag-list,
.addon-box,
.addon-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: var(--avc-space-2);
}

.choice {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice span,
.flag-list label,
.addon-box label {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: var(--avc-space-2);
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-pill);
  background: var(--avc-surface-subtle);
  color: var(--avc-text-secondary);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.choice:hover span,
.flag-list label:hover,
.addon-box label:hover {
  border-color: var(--avc-border-strong);
  background: var(--avc-surface-hover);
  color: var(--avc-text);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--avc-focus-ring);
  outline-offset: 2px;
}

.choice:has(input:checked) span,
.flag-list label:has(input:checked),
.addon-box label:has(input:checked) {
  border-color: var(--avc-border-strong);
  background: var(--avc-surface-hover);
  color: var(--avc-text);
}

.choice.is-online:has(input:checked) span {
  border-color: color-mix(in srgb, var(--avc-positive) 42%, var(--avc-border));
  background: color-mix(in srgb, var(--avc-positive) 10%, var(--avc-surface));
  color: var(--avc-positive);
}

.choice.is-offline:has(input:checked) span {
  color: var(--avc-text-muted);
}

.choice.is-warn:has(input:checked) span {
  border-color: color-mix(in srgb, var(--avc-warning) 42%, var(--avc-border));
  background: color-mix(in srgb, var(--avc-warning) 10%, var(--avc-surface));
  color: var(--avc-warning);
}

.flag-list {
  margin-top: var(--avc-space-3) !important;
}

.flag-list input,
.addon-box input {
  width: auto;
  margin: 0;
}

.addon-box,
.addon-toggles {
  margin-top: var(--avc-space-2);
}

.addon-toggles form {
  margin: 0;
}

.addon-toggles button {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 11px;
}

.addon-toggles .is-off {
  opacity: 0.55;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--avc-space-3);
  margin-top: var(--avc-space-2);
}

.form-actions .btn,
.form-actions button {
  min-width: 180px;
  min-height: 44px;
}

.demo-admin .actions .btn,
.demo-admin .actions button {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 12px;
}

.live-preview,
.ref-preview {
  padding: 22px 24px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: var(--avc-bg);
  color: var(--avc-text);
}

.live-preview h3 {
  margin: 6px 0 8px;
  font-size: 26px;
}

.live-preview p,
.ref-preview .small,
.ref-preview .ref-date {
  color: var(--avc-text-muted);
}

.demo-admin .demo-search {
  display: block;
  margin: 0 0 var(--avc-space-3);
}

.demo-list {
  display: grid;
  gap: var(--avc-space-3);
}

.demo-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.4fr) minmax(160px, 0.7fr) auto;
  gap: var(--avc-space-4);
  align-items: center;
  padding: var(--avc-space-4);
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card);
  background: var(--avc-surface-subtle);
}

.demo-item img,
.demo-item .shot-miss {
  width: 96px;
  height: 60px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-control);
}

.demo-item img {
  object-fit: cover;
}

.demo-item .shot-miss {
  display: grid;
  place-items: center;
  background: var(--avc-bg);
  color: var(--avc-text-muted);
  font-size: 11px;
  font-weight: 650;
}

.demo-item .links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--avc-space-2);
}

.demo-item .links a {
  color: var(--avc-text-secondary);
  font-size: 12px;
  font-weight: 650;
}

.ref-preview {
  max-width: 560px;
  margin: 0 0 var(--avc-space-4);
}

.ref-preview .ref-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--avc-space-3);
}

.ref-preview p {
  color: var(--avc-text);
  font-size: 20px;
}

.ref-preview .ref-role {
  color: var(--avc-text-secondary);
}

.ref-preview .ref-stars {
  color: var(--avc-warning);
}

/* Customer portal shell */
.portal-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: var(--avc-sidebar) minmax(0, 1fr);
}

.portal-nav {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  gap: 4px;
  padding: 24px 18px;
  border-right: 1px solid var(--avc-border);
  background: var(--avc-surface);
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 10px var(--avc-space-5);
  color: var(--avc-text);
  font-size: 16px;
  font-weight: 650;
}

.portal-brand img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.portal-brand span {
  color: var(--avc-text-muted);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portal-nav a {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: var(--avc-radius-control);
  color: var(--avc-text-secondary);
  font-size: 13px;
  font-weight: 550;
}

.portal-nav a:hover,
.portal-nav a.active {
  border-color: var(--avc-border);
  background: var(--avc-surface-hover);
  color: var(--avc-text);
}

.portal-nav .site-link {
  color: var(--avc-text-muted);
}

.portal-nav .exit {
  margin-top: auto;
  color: var(--avc-danger);
}

.portal-main {
  min-width: 0;
  max-width: 100%;
  padding: 32px;
}

.portal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--avc-space-5);
  margin-bottom: var(--avc-space-5);
}

.portal-head h1 {
  margin: 5px 0 0;
  font-size: 32px;
}

.portal-search {
  display: block;
  max-width: 380px;
  margin: 0 0 var(--avc-space-4);
}

.portal-main > .card,
.portal-main > .grid-2,
.portal-main > .stats {
  margin-top: var(--avc-space-4);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--avc-space-4);
}

.invoice-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.invoice-meta div {
  padding: 12px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-control);
  background: var(--avc-surface-subtle);
}

.invoice-meta span {
  display: block;
  margin-bottom: 4px;
  color: var(--avc-text-muted);
  font-size: 11px;
  font-weight: 650;
}

.portal-top,
.portal-nav-backdrop {
  display: none;
}

/* Shared responsive behavior */
@media (max-width: 1279px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    position: fixed;
    top: 80px;
    right: 12px;
    left: 12px;
    z-index: 70;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--avc-border-strong);
    border-radius: var(--avc-radius-card);
    background: var(--avc-surface);
    box-shadow: var(--avc-shadow-floating);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 150ms ease, transform 150ms ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mobile-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--avc-radius-control);
    color: var(--avc-text-secondary);
  }

  .mobile-nav a:hover,
  .mobile-nav a.is-current {
    background: var(--avc-surface-hover);
    color: var(--avc-text);
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: block;
    background: var(--avc-overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease;
  }

  .mobile-nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .grid,
  .grid.dashboard-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .sidebar {
    width: min(300px, 88vw);
    transform: translateX(-100%);
    transition: transform 180ms ease;
  }

  .sidebar.open {
    transform: none;
  }

  .nav-backdrop.open {
    display: block;
  }

  .workspace {
    margin-left: 0;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .topbar {
    padding-inline: 14px;
  }

  .search {
    display: none;
  }

  .wrap {
    padding: 18px 14px 32px;
  }

  .overview-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-admin .fields-3,
  .demo-admin .fields-4,
  .text-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-admin .span-2,
  .demo-admin .span-3 {
    grid-column: auto;
  }

  .demo-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .demo-item img,
  .demo-item .shot-miss {
    width: 72px;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .finder-layout,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .integ-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .integ-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .integ-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .integ-foot .btn {
    width: 100%;
    text-align: center;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-grid,
  .journey-grid,
  .other-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .journey-step:nth-child(2n)::after,
  .architecture-grid::before,
  .journey-grid::before {
    display: none;
  }

  .trust,
  .demo-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust > div:nth-child(2),
  .demo-trust > div:nth-child(2) {
    border-right: 0;
  }

  .portal-shell {
    display: block;
  }

  .portal-top {
    position: sticky;
    top: 0;
    z-index: 36;
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--avc-border);
    background: var(--avc-surface);
  }

  .portal-top .portal-brand {
    margin: 0;
  }

  .portal-menu {
    display: inline-flex;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
  }

  .portal-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 38;
    display: none;
    background: var(--avc-overlay);
  }

  .portal-nav-backdrop.open {
    display: block;
  }

  .portal-nav {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    width: min(300px, 88vw);
    min-height: 100%;
    overflow: auto;
    transform: translateX(-100%);
    transition: transform 180ms ease;
  }

  .portal-nav.open {
    transform: none;
  }

  .portal-nav .portal-brand {
    display: none;
  }

  .portal-nav a,
  button,
  .btn,
  input,
  select,
  textarea {
    min-height: 44px;
  }

  .portal-main {
    padding: 20px 14px 32px;
  }

  .portal-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-search {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .demo-admin .fields-2,
  .demo-admin .fields-3,
  .demo-admin .fields-4,
  .text-grid,
  .demo-item {
    grid-template-columns: 1fr;
  }

  .demo-item img,
  .demo-item .shot-miss {
    width: 100%;
    height: 140px;
  }

  .bar {
    padding-inline: 14px;
  }

  .command-toggle {
    display: none;
  }

  .avc-header small {
    display: none;
  }

  .avc-header summary {
    padding: 4px;
    gap: 0;
  }

  .avc-header summary > span:last-child {
    display: none;
  }

  .hero {
    padding: 64px 18px 58px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero .actions,
  .result-actions,
  .overview-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero .actions .btn,
  .result-actions .btn,
  .overview-actions .btn {
    width: 100%;
  }

  .section {
    padding: 56px 16px;
  }

  .cards,
  .architecture-grid,
  .journey-grid,
  .other-grid,
  .finder-options,
  .trust,
  .demo-trust,
  .stats,
  .two,
  .modules,
  .perm-grid,
  .quick-grid,
  .grid-2,
  .invoice-meta,
  .integ-stats,
  .integ-logos {
    grid-template-columns: 1fr 1fr;
  }

  .journey-step::after,
  .architecture-grid::before,
  .journey-grid::before {
    display: none;
  }

  .trust > div,
  .demo-trust > div {
    border-right: 0;
    border-bottom: 1px solid var(--avc-border);
  }

  .trust > div:last-child,
  .demo-trust > div:last-child {
    border-bottom: 0;
  }

  .section-head,
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .future-band {
    width: min(calc(100% - 32px), var(--avc-content));
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
    margin: 12px auto 28px;
    padding: 36px 28px;
  }

  .future-band h2 {
    max-width: none;
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  .future-band .btn {
    width: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }

  .footer-cta .btn {
    width: auto;
  }

  .footer-logo > .logo-mark {
    --mark-size: 32px;
  }

  .site-footer a.footer-logo {
    gap: 12px;
  }

  .footer-lockup {
    gap: 6px;
    font-size: 16px;
  }

  .footer-lockup .logo-word {
    font-size: 16px;
  }

  .footer-hub,
  .footer-system {
    align-items: stretch;
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  .sys-services {
    justify-content: center;
    gap: 8px 6px;
  }

  .sys-node {
    width: calc((100% - 18px) / 3);
    max-width: none;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .floating-quote {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: space-between;
  }

  .floating-quote span {
    display: none;
  }

  .preview-body {
    grid-template-columns: 52px 1fr;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .page-title p,
  .top-actions > .btn,
  .avatar {
    display: none;
  }

  .page-title h1 {
    font-size: 17px;
    white-space: normal;
  }

  .card {
    padding: var(--avc-space-4);
  }

  .login-page {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .login-visual {
    min-height: 280px;
    padding: 32px 20px 72px;
    border-right: 0;
    border-bottom: 1px solid rgb(62 207 142 / 14%);
  }

  .login-visual h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .detail-list > div {
    grid-template-columns: 1fr;
  }
}

body.has-live-fx::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 8% 12%, rgb(255 255 255 / 28%), transparent),
    radial-gradient(1px 1px at 22% 38%, rgb(255 255 255 / 18%), transparent),
    radial-gradient(1.5px 1.5px at 41% 18%, rgb(255 255 255 / 22%), transparent),
    radial-gradient(1px 1px at 63% 28%, rgb(255 255 255 / 16%), transparent),
    radial-gradient(1px 1px at 78% 14%, rgb(255 255 255 / 24%), transparent),
    radial-gradient(1.5px 1.5px at 88% 42%, rgb(255 255 255 / 18%), transparent),
    radial-gradient(1px 1px at 16% 72%, rgb(255 255 255 / 16%), transparent),
    radial-gradient(1px 1px at 54% 80%, rgb(255 255 255 / 20%), transparent),
    radial-gradient(1.5px 1.5px at 92% 76%, rgb(255 255 255 / 16%), transparent);
  animation: dustDrift 22s linear infinite;
}

body.has-live-fx::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--fx-x, 72%) var(--fx-y, 10%), rgb(247 248 250 / 14%), transparent 58%);
}

.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 620ms cubic-bezier(.2, .7, .2, 1), transform 620ms cubic-bezier(.2, .7, .2, 1);
}

@keyframes markGlow {
  0%, 100% { opacity: 0.28; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1.18); }
}

@keyframes markSweep {
  0%, 12% { transform: translateX(-160%); }
  48%, 100% { transform: translateX(160%); }
}

@keyframes markBreathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.06); }
}

@keyframes markOrbit {
  to { transform: rotate(360deg); }
}

@keyframes logoWordFlow {
  to { background-position: -220% 0; }
}

@keyframes gridDrift {
  to { background-position: 48px 48px; }
}

@keyframes heroAura {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes heroScan {
  0% { top: -12%; opacity: 0; }
  12% { opacity: 1; }
  100% { top: 108%; opacity: 0; }
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.35; }
  50% { transform: translate3d(12px, -22px, 0) scale(1.45); opacity: 1; }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes cardPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(247 248 250 / 0%); }
  50% { box-shadow: 0 0 0 1px rgb(247 248 250 / 10%); }
}

@keyframes navGlow {
  0%, 100% { box-shadow: inset 0 -2px 0 rgb(247 248 250 / 55%); }
  50% { box-shadow: inset 0 -2px 0 #fff; }
}

@keyframes sparkPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.35); }
}

@keyframes framePulse {
  0%, 100% { opacity: 0.25; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes logoLine {
  0%, 100% { transform: scaleX(0.28); opacity: 0.35; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes btnSweep {
  0%, 18% { transform: translateX(-140%); }
  52%, 100% { transform: translateX(140%); }
}

@keyframes dustDrift {
  to { transform: translate3d(0, -24px, 0); }
}

@keyframes journeyLink {
  0%, 100% { opacity: 0.25; transform: scaleX(0.55); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes archLine {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

@keyframes codeGlow {
  0%, 100% { color: var(--avc-text-muted); box-shadow: none; }
  50% { color: var(--avc-text); box-shadow: 0 0 12px rgb(247 248 250 / 12%); }
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(62 207 142 / 0%); }
  50% { box-shadow: 0 0 0 8px rgb(62 207 142 / 16%); }
}

@keyframes matrixFall {
  from { transform: translateY(-45%); }
  to { transform: translateY(45%); }
}

@keyframes opsTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgb(62 207 142 / 10%); transform: scale(1); }
  50% { box-shadow: 0 0 0 8px rgb(62 207 142 / 0%); transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }

  .site-live,
  .hero-live,
  .hero-scan,
  .arch-live,
  .arch-scan,
  .matrix-rain,
  .ops-ticker,
  .logo-ring,
  .logo-sparks,
  .logo-core,
  .site-footer::before,
  .site-footer::after,
  body.has-live-fx::before,
  body.has-live-fx::after {
    display: none;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: white !important;
    color: #111 !important;
  }

  .bar,
  .site-footer,
  .avc-header,
  .avc-side,
  .sidebar,
  .topbar,
  .portal-nav,
  .portal-top,
  .floating-quote,
  .sticky-cta,
  .cmp-bar,
  .mobile-nav,
  .mobile-nav-backdrop,
  .command-dialog,
  .portal-search,
  .site-live,
  .hero-live,
  .hero-scan,
  .arch-live,
  .arch-scan,
  .matrix-rain,
  .ops-ticker,
  .actions,
  form,
  .notice {
    display: none !important;
  }

  .workspace,
  .portal-main {
    margin: 0;
    padding: 0;
  }
}

.auth-split {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(280px, 420px);
  gap: 28px;
  width: min(calc(100% - 32px), 1040px);
  margin: var(--avc-space-16) auto;
  align-items: start;
}

.auth-split .auth {
  width: 100%;
  margin: 0;
}

.portal-promise {
  padding: 28px 26px;
  border: 1px solid var(--avc-border);
  border-radius: var(--avc-radius-card, 18px);
  background: var(--avc-surface);
}

.portal-promise h2 {
  margin: 8px 0 10px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.promise-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.promise-list li {
  display: grid;
  gap: 4px;
  padding: 12px 0 0;
  border-top: 1px solid var(--avc-border);
}

.promise-list b {
  font-size: 14px;
}

.promise-list span {
  color: var(--avc-text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.trust-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.trust-rail li {
  padding: 12px 14px;
  border: 1px solid var(--avc-border);
  border-radius: 12px;
  background: var(--avc-surface);
}

.trust-rail span {
  display: block;
  color: var(--avc-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-rail b {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.traffic-stats .traffic-ads b {
  color: #c9a227;
}

.traffic-stats .traffic-site b {
  color: #3dd68c;
}

.traffic-split {
  margin-top: 0;
}

.site-map {
  display: block;
  width: 100%;
  height: 220px;
  margin: 0 0 14px;
  border: 0;
  border-radius: 12px;
  background: #dce4ea;
}

.site-logo {
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
}

.feature-copy {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .auth-split,
  .trust-rail {
    grid-template-columns: 1fr;
  }
}

