/* Edriza public website styles (moved out of index.html, S169-SITE). */
:root {
  --bg: #f1ece5;
  --bg-soft: #f8f4ee;
  --paper: #fffaf1;
  --card: #fff7ea;
  --card-2: #f5d39f;
  --text: #0d0b07;
  --muted: #746b60;
  --line: rgba(13, 11, 7, 0.10);
  --line-strong: rgba(13, 11, 7, 0.16);
  --primary: #ffc107;
  --primary-2: #eeb96e;
  --primary-dark: #c09741;
  --navy: #0a192f;
  --green: #384c33;
  --brown: #966f47;
  --accent-soft: rgba(255, 193, 7, 0.20);
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow: 0 26px 90px rgba(61, 42, 20, 0.12);
  --shadow-strong: 0 34px 110px rgba(61, 42, 20, 0.18);
  color-scheme: light;
}

:root.dark {
  --bg: #0a192f;
  --bg-soft: #10233d;
  --paper: #10233d;
  --card: #132a45;
  --card-2: #2b4666;
  --text: #f8f9fa;
  --muted: #b8c3d1;
  --line: rgba(248, 249, 250, 0.12);
  --line-strong: rgba(248, 249, 250, 0.20);
  --primary: #ffc107;
  --primary-2: #eeb96e;
  --primary-dark: #f5d39f;
  --navy: #f8f9fa;
  --green: #ffc107;
  --brown: #f5d39f;
  --accent-soft: rgba(255, 193, 7, 0.16);
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.30);
  --shadow-strong: 0 36px 120px rgba(0, 0, 0, 0.44);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 211, 159, 0.88), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 193, 7, 0.26), transparent 30%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 48%, var(--bg-soft) 100%);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 16px;
  z-index: -4;
  border: 1px solid var(--line);
  border-radius: 42px;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(13,11,7,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,11,7,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
}

.orb {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  opacity: .72;
}
.orb-1 {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 110px;
  background: radial-gradient(circle, rgba(255,193,7,.35), rgba(255,193,7,0) 64%);
}
.orb-2 {
  width: 420px;
  height: 420px;
  left: -170px;
  bottom: 16%;
  background: radial-gradient(circle, rgba(56,76,51,.17), rgba(56,76,51,0) 66%);
}

.container {
  width: min(1188px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
}

.nav-wrap {
  pointer-events: auto;
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(13, 11, 7, 0.12);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  box-shadow: 0 18px 60px rgba(61, 42, 20, 0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  position: relative;
  transition: transform .24s ease;
}
.brand:hover { transform: translateY(-2px); }
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(13, 11, 7, 0.12), 0 0 0 10px rgba(255, 193, 7, 0.08);
  animation: brandPulse 4s ease-in-out infinite;
}
.brand-text { display: grid; line-height: 1.02; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-name {
  font-weight: 950;
  font-size: 20px;
  letter-spacing: -0.055em;
  background: linear-gradient(135deg, var(--text) 18%, var(--primary-dark) 64%, #6b7c44 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub { color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(13, 11, 7, 0.06);
}
.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: color-mix(in srgb, var(--text) 62%, transparent);
  font-size: 13px;
  font-weight: 800;
  transition: 0.22s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--primary);
  box-shadow: 0 10px 22px rgba(255, 193, 7, 0.22);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: -0.02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--text);
  color: var(--paper);
  box-shadow: 0 18px 32px rgba(13, 11, 7, 0.18);
}
.btn-primary:hover {
  background: var(--primary);
  color: #0d0b07;
  box-shadow: 0 18px 38px rgba(255, 193, 7, 0.30);
}
.btn-outline {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.42);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); background: rgba(255, 193, 7, 0.16); }
.btn-light {
  background: var(--paper);
  color: #0d0b07;
  border-color: rgba(255,255,255,.45);
  box-shadow: 0 18px 44px rgba(0,0,0,.16);
}
.btn-small { min-height: 42px; padding-inline: 18px; font-size: 13px; }
.icon-button, .mobile-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.46);
  color: var(--text);
  font-weight: 900;
}
.mobile-toggle { display: none; }

.mobile-panel {
  pointer-events: auto;
  width: min(1188px, calc(100% - 40px));
  margin: 10px auto 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  box-shadow: var(--shadow);
  padding: 12px;
  backdrop-filter: blur(20px);
}
.mobile-panel a {
  display: flex;
  padding: 13px 14px;
  border-radius: 16px;
  color: var(--muted);
  font-weight: 850;
}
.mobile-panel a:hover { background: var(--accent-soft); color: var(--text); }

.section { padding: 112px 0; }
.anchor-section { scroll-margin-top: 112px; }

 .hero {
  position: relative;
  min-height: 960px;
  display: grid;
  align-items: center;
  padding: 166px 0 94px;
  overflow: hidden;
}
.hero-shell {
  position: relative;
  min-height: 760px;
  border: 1px solid var(--line);
  border-radius: 46px;
  padding: 76px 56px 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(245, 211, 159, .78), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(255, 193, 7, .20), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 241, .86), rgba(241, 236, 229, .82));
  box-shadow: var(--shadow-strong);
}
.hero-shell::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13,11,7,.12), transparent);
}
.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto -16% -34% -16%;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(255,193,7,.22), transparent 62%);
  pointer-events: none;
}

.hero-intro {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  display: flex;
  margin-bottom: 18px;
}
.hero-intro .eyebrow,
.eyebrow.centered { justify-content: center; }
.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 193, 7, 0.16);
  border: 1px solid rgba(255, 193, 7, .28);
  color: color-mix(in srgb, var(--text) 76%, var(--primary-dark));
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 950;
}
.eyebrow span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(255,193,7,.12);
}
h1 {
  font-size: clamp(50px, 7vw, 104px);
  line-height: .96;
  letter-spacing: -0.082em;
  margin-bottom: 26px;
  font-weight: 950;
}
h2 {
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  margin-bottom: 18px;
  font-weight: 940;
}
h3 { letter-spacing: -0.045em; margin-bottom: 10px; font-size: 23px; }
.text-gradient {
  background: linear-gradient(135deg, var(--text) 20%, var(--primary-dark) 54%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin-inline: auto;
  max-width: 720px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.78;
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}

.hero-stage {
  position: relative;
  z-index: 1;
  margin-top: 48px;
}
.brand-ticker {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  color: color-mix(in srgb, var(--text) 72%, transparent);
}
.brand-ticker li {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.36);
  font-size: 13px;
  font-weight: 850;
}
.visual-grid {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr 1.55fr 1fr;
  align-items: center;
  gap: 22px;
}
.metric-card,
.workflow-card,
.mini-dashboard,
.tool-shell,
.service-card,
.value-card,
.contact-card,
.contact-form {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.metric-card {
  position: relative;
  z-index: 3;
  padding: 22px;
  min-height: 130px;
  border-radius: 28px;
}
.metric-card span { display: block; color: var(--muted); font-size: 14px; font-weight: 850; }
.metric-card strong { display: block; margin-top: 8px; font-size: 54px; line-height: .9; letter-spacing: -0.07em; }
.metric-left { align-self: start; transform: translateY(36px); }
.metric-right { align-self: end; transform: translateY(-30px); }

.agent-portrait {
  position: relative;
  z-index: 2;
  height: 430px;
  display: grid;
  place-items: center;
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,193,7,.22), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.64), rgba(245,211,159,.38));
  border: 1px solid rgba(13,11,7,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.30), var(--shadow-strong);
  isolation: isolate;
}
.portrait-aura {
  position: absolute;
  inset: auto;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,193,7,.20), rgba(255,193,7,.02) 48%, transparent 70%);
  filter: blur(8px);
  animation: auraPulse 5.6s ease-in-out infinite;
}
.portrait-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .12;
  mask-image: radial-gradient(circle at center, #000 36%, transparent 90%);
}
.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,193,7,.20);
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
}
.orbit-a { width: 240px; height: 240px; border-style: dashed; animation: spin 18s linear infinite; }
.orbit-b { width: 320px; height: 320px; border-color: rgba(13,11,7,.08); animation: spinReverse 26s linear infinite; }
.orbit-c { width: 390px; height: 390px; border-style: dashed; border-color: rgba(255,193,7,.14); animation: spin 34s linear infinite; }
.hero-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(255,193,7,.12), 0 0 16px rgba(255,193,7,.42);
  animation: nodeBlink 2.6s ease-in-out infinite;
}
.node-a { left: 16%; top: 26%; }
.node-b { right: 17%; top: 24%; animation-delay: .6s; }
.node-c { left: 22%; bottom: 24%; animation-delay: 1.1s; }
.node-d { right: 19%; bottom: 26%; animation-delay: 1.7s; }
.hero-chip {
  position: absolute;
  z-index: 3;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(13,11,7,.08);
  box-shadow: 0 10px 24px rgba(61,42,20,.10);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 82%, var(--primary-dark));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: chipFloat 5.8s ease-in-out infinite;
}
.hero-chip-a { left: 18px; top: 16px; }
.hero-chip-b { right: 18px; top: 132px; animation-delay: -.8s; }
.hero-chip-c { left: 22px; bottom: 114px; animation-delay: -1.4s; }
.agent-image-wrap {
  position: absolute;
  inset: 14px;
  border-radius: 30px;
  overflow: hidden;
  z-index: 2;
}
.hero-image-wrap {
  inset: 10px 14px 86px 14px;
}
.agent-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.hero-agent-image {
  background: linear-gradient(135deg, rgba(255,250,241,.72), rgba(245,211,159,.18));
  animation: heroFloat 6.6s ease-in-out infinite;
}
.hero-scanline {
  position: absolute;
  left: -12%;
  right: -12%;
  top: -18%;
  height: 26%;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(120,228,255,.18), rgba(255,255,255,0));
  filter: blur(8px);
  mix-blend-mode: screen;
  animation: scanSweep 4.8s ease-in-out infinite;
}
.hero-sheen {
  position: absolute;
  inset: -10% auto -10% -45%;
  width: 40%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.34), rgba(255,255,255,0));
  filter: blur(4px);
  animation: sheenPass 7s ease-in-out infinite;
}
.workflow-card {
  position: absolute;
  z-index: 4;
  left: 16%;
  right: 16%;
  bottom: -22px;
  border-radius: 30px;
  padding: 22px;
}
.card-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 12px;
}
.status-dot {
  width: 10px;
  height: 10px;
  background: #40b66b;
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(64, 182, 107, 0.14);
}
.chip {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: color-mix(in srgb, var(--text) 68%, var(--primary-dark));
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.workflow-card h2 { font-size: 28px; letter-spacing: -0.05em; margin-bottom: 8px; }
.workflow-card p { color: var(--muted); margin-bottom: 0; }
.mini-dashboard {
  position: absolute;
  z-index: 5;
  right: 4%;
  top: 18px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  padding: 10px;
  border-radius: 24px;
}
.mini-dashboard div {
  padding: 12px 10px;
  border-radius: 17px;
  background: rgba(255,255,255,.40);
  text-align: center;
}
.mini-dashboard strong { display: block; color: var(--text); font-size: 18px; line-height: 1; }
.mini-dashboard span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 850; }

.stats-bar {
  padding: 38px 0 28px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.34);
  padding: 24px 16px;
}
.stat strong {
  display: block;
  color: var(--text);
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.07em;
  line-height: 1;
}
.stat span { color: var(--muted); font-size: 13px; font-weight: 850; }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}
.section-head p,
.section-copy { color: var(--muted); line-height: 1.78; font-size: 16px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 248px;
  padding: 28px;
  border-radius: var(--radius-lg);
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,193,7,.14);
  transition: transform .3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}
.service-card:hover::after { transform: scale(1.35); }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.74; }
.featured-service {
  background:
    radial-gradient(circle at 85% 10%, rgba(255,255,255,.42), transparent 34%),
    linear-gradient(135deg, var(--text), color-mix(in srgb, var(--green) 78%, #000));
  color: var(--paper);
}
.featured-service p { color: rgba(255,250,241,.72); }
.featured-service .icon-box { background: var(--primary); color: #0d0b07; }
.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 23px;
  margin-bottom: 18px;
  font-weight: 900;
}

.ai-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.18), transparent);
}
.ai-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 52px;
  align-items: center;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding: 17px 18px 17px 48px;
  color: var(--muted);
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.32);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #0d0b07;
  font-weight: 950;
  font-size: 13px;
}
.tool-shell {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255,250,241,.88), rgba(245,211,159,.42)),
    var(--paper);
}
.tool-shell::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(255,193,7,.18);
  filter: blur(8px);
  pointer-events: none;
}
.tool-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.tool-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(13,11,7,.16);
}
.tool-topbar b { margin-left: auto; }
.tool-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tool-tab {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.42);
  color: var(--muted);
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 900;
  transition: .2s ease;
}
.tool-tab.active { background: var(--text); border-color: var(--text); color: var(--paper); }
.tool-panel {
  position: relative;
  z-index: 1;
  display: none;
  min-height: 302px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  background: rgba(255,255,255,.42);
}
.tool-panel.active { display: grid; gap: 14px; }
.tool-panel p { color: var(--muted); }
.tool-panel label,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.tool-panel input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.58);
  color: var(--text);
  padding: 14px 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tool-panel input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 5px rgba(255,193,7,.16);
}
.drop-zone {
  min-height: 124px;
  border: 1.5px dashed rgba(13,11,7,.22);
  background:
    repeating-linear-gradient(-45deg, rgba(255,193,7,.14) 0 8px, rgba(255,255,255,.18) 8px 16px),
    rgba(255,255,255,.35);
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 950;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  margin-top: 14px;
}
.feature-strip span {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  background: rgba(255,255,255,.36);
}

.about-section { padding-top: 96px; }
.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.about-media {
  min-height: 520px;
}
.about-frame {
  position: relative;
  min-height: 520px;
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    url("/public-assets/img/ai-neural-engine.webp") center 56% / 320px 320px no-repeat,
    radial-gradient(circle at 50% 24%, rgba(255,193,7,.18), transparent 32%),
    linear-gradient(135deg, rgba(255,250,241,.72), rgba(245,211,159,.46));
  box-shadow: var(--shadow-strong);
}
.neural-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.24), transparent 48%);
  pointer-events: none;
}
.brain-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.brain-aura {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,193,7,.22), rgba(255,193,7,.04) 42%, transparent 70%);
  filter: blur(6px);
  animation: pulseAura 4.8s ease-in-out infinite;
}
.brain-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(13,11,7,.12);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbit-one {
  width: 320px;
  height: 320px;
  border-style: dashed;
  animation: spin 18s linear infinite;
}
.orbit-two {
  width: 420px;
  height: 420px;
  border-color: rgba(255,193,7,.24);
  animation: spinReverse 28s linear infinite;
}
.orbit-three {
  width: 520px;
  height: 520px;
  border-color: rgba(13,11,7,.08);
  border-style: dashed;
  animation: spin 36s linear infinite;
}
.brain-core {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 52%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 18px rgba(255,255,255,.08), 0 28px 90px rgba(10,25,47,.20);
  animation: floatY 6.2s ease-in-out infinite;
}
.brain-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: saturate(1.08) contrast(1.02);
}
.brain-scan {
  position: absolute;
  left: -10%;
  right: -10%;
  top: -12%;
  height: 22%;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(120,228,255,.26), rgba(255,255,255,0));
  filter: blur(8px);
  mix-blend-mode: screen;
  animation: scanMove 4.6s ease-in-out infinite;
}
.brain-chip {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.52);
  box-shadow: 0 16px 38px rgba(61,42,20,.12);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: floatY 5.4s ease-in-out infinite;
}
.chip-top { left: 50%; top: 68px; transform: translateX(-50%); animation-delay: -.2s; }
.chip-right { right: 34px; top: 48%; animation-delay: -.8s; }
.chip-left { left: 30px; top: 46%; animation-delay: -.4s; }
.chip-bottom { left: 50%; bottom: 54px; transform: translateX(-50%); animation-delay: -1s; }
.brain-dot {
  position: absolute;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 10px rgba(255,193,7,.12), 0 0 22px rgba(255,193,7,.48);
  animation: blinkNode 2.6s ease-in-out infinite;
}
.dot-one { left: 24%; top: 21%; animation-delay: 0s; }
.dot-two { right: 22%; top: 26%; animation-delay: .6s; }
.dot-three { left: 28%; bottom: 26%; animation-delay: 1.2s; }
.dot-four { right: 28%; bottom: 20%; animation-delay: 1.8s; }
.media-card {
  position: absolute;
  z-index: 5;
  max-width: 280px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.64);
  box-shadow: var(--shadow);
  padding: 15px 17px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.media-card-a { left: 24px; top: 30px; }
.media-card-b { right: 24px; bottom: 34px; }
.values-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value-card {
  padding: 24px;
  border-radius: var(--radius-md);
}
.value-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  padding: 92px 0;
  text-align: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,193,7,.34), transparent 28%),
    linear-gradient(135deg, #0d0b07, #384c33 66%, #0a192f);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000, transparent);
}
.cta-content { position: relative; z-index: 1; max-width: 780px; }
.cta-content p { color: rgba(255,250,241,.74); font-size: 18px; line-height: 1.75; }

.contact-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 46px;
  align-items: start;
}
.contact-card {
  margin-top: 24px;
  border-radius: var(--radius-md);
  padding: 24px;
}
.contact-card p { margin-bottom: 9px; color: var(--muted); }
.contact-card a { color: var(--text); font-weight: 900; }
.contact-form {
  padding: 28px;
  border-radius: 30px;
  display: grid;
  gap: 14px;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-note { color: var(--muted); font-size: 13px; margin: 0; }
.form-note.success { color: #247347; font-weight: 900; }
.form-note.error { color: #b42318; font-weight: 900; }

.footer {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.32);
  color: var(--muted);
  padding-top: 54px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand { margin-bottom: 16px; }
.footer p { max-width: 340px; font-size: 14px; line-height: 1.7; }
.footer h4,
.footer .footer-title {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.footer a, .footer span { display: block; margin: 10px 0; font-size: 14px; }
.footer a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  margin-top: 46px;
  padding: 24px 0;
  font-size: 12px;
}

.assistant-bubble {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(13,11,7,.12);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  box-shadow: 0 18px 46px rgba(61,42,20,.18);
  padding: 10px 16px 10px 10px;
  color: var(--text);
  backdrop-filter: blur(18px);
}
.assistant-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #0d0b07;
  box-shadow: 0 0 0 8px rgba(255,193,7,.14);
  animation: glow 2s ease-in-out infinite;
}
.assistant-bubble b { display: block; font-size: 13px; }
.assistant-bubble small { display: block; color: var(--muted); font-weight: 800; }

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .72s ease, transform .72s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes brandPulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 14px 34px rgba(13, 11, 7, 0.12), 0 0 0 10px rgba(255, 193, 7, 0.08); }
  50% { transform: translateY(-1px) scale(1.03); box-shadow: 0 18px 40px rgba(13, 11, 7, 0.14), 0 0 0 16px rgba(255, 193, 7, 0.05); }
}
@keyframes auraPulse {
  0%, 100% { transform: scale(1); opacity: .72; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.012); }
}
@keyframes nodeBlink {
  0%,100% { opacity: .42; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.14); }
}
@keyframes scanSweep {
  0% { transform: translateY(-120%) rotate(-3deg); opacity: 0; }
  18% { opacity: .8; }
  50% { transform: translateY(150%) rotate(2deg); opacity: .58; }
  100% { transform: translateY(260%) rotate(3deg); opacity: 0; }
}
@keyframes sheenPass {
  0%, 60%, 100% { left: -45%; opacity: 0; }
  10% { opacity: 0; }
  30% { left: 115%; opacity: .9; }
  40% { opacity: 0; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulseAura {
  0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.07); }
}
@keyframes scanMove {
  0% { transform: translateY(-120%) rotate(-2deg); opacity: 0; }
  18% { opacity: .8; }
  50% { transform: translateY(130%) rotate(1deg); opacity: .72; }
  100% { transform: translateY(250%) rotate(2deg); opacity: 0; }
}
@keyframes blinkNode {
  0%, 100% { opacity: .45; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 7px rgba(255,193,7,.12); }
  50% { box-shadow: 0 0 0 14px rgba(255,193,7,0); }
}

@media (max-width: 1220px) {
  .desktop-nav,
  .guest-badge,
  .nav-actions .btn-small { display: none; }
  .mobile-toggle { display: inline-grid; place-items: center; }
  .nav-wrap { grid-template-columns: auto auto; justify-content: space-between; }
  .hero { min-height: auto; padding-top: 128px; }
  .hero-shell { padding: 54px 28px 32px; }
  .visual-grid { grid-template-columns: 1fr; min-height: 770px; }
  .agent-portrait { max-width: 520px; width: 100%; justify-self: center; }
  .metric-card { max-width: 300px; width: 100%; justify-self: center; }
  .metric-left,
  .metric-right { transform: none; align-self: auto; }
  .workflow-card { position: relative; left: auto; right: auto; bottom: auto; max-width: 580px; justify-self: center; }
  .mini-dashboard { position: relative; right: auto; top: auto; max-width: 520px; justify-self: center; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .ai-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid,
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .feature-strip { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  body::before { inset: 8px; border-radius: 28px; }
  .container,
  .mobile-panel { width: min(100% - 24px, 1188px); }
  .site-header { top: 12px; }
  .nav-wrap { min-height: 64px; padding: 9px 10px; }
  .brand-sub { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .section { padding: 78px 0; }
  .hero { padding-top: 104px; padding-bottom: 54px; }
  .hero-shell { border-radius: 32px; padding: 38px 18px 24px; }
  h1 { font-size: clamp(44px, 15vw, 64px); }
  h2 { font-size: clamp(32px, 11vw, 44px); }
  .lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .visual-grid { min-height: auto; gap: 16px; }
  .agent-portrait { height: 420px; border-radius: 30px; }
  .hero-chip { display: none; }
  .orbit-c { width: 320px; height: 320px; }
  .orbit-b { width: 280px; height: 280px; }
  .orbit-a { width: 220px; height: 220px; }
  .metric-card strong { font-size: 42px; }
  .workflow-card h2 { font-size: 24px; }
  .service-grid,
  .values-grid,
  .stats-grid,
  .footer-grid,
  .form-row,
  .mini-dashboard { grid-template-columns: 1fr; }
  .tool-shell,
  .contact-form { padding: 18px; border-radius: 28px; }
  .tool-panel { padding: 20px; }
  .about-media,
  .about-frame { min-height: 460px; }
  .footer-bottom { flex-direction: column; }
  .assistant-bubble { right: 14px; bottom: 14px; padding-right: 10px; }
  .assistant-bubble span:last-child { display: none; }
}

.team-card {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.34);
  box-shadow: var(--shadow);
  padding: 24px;
}
.team-card p { color: var(--muted); }
.team-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.team-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.team-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
@media (max-width: 680px) { .team-card ul { grid-template-columns: 1fr; } }

@media (max-width: 820px) {
  .hero-image-wrap { inset: 10px 10px 24px 10px; }
  .hero-orbit { top: 47%; }
  .workflow-card { margin-top: 14px; }
}
@media (max-width: 560px) {
  .hero-image-wrap { inset: 8px 8px 14px 8px; }
  .portrait-aura { width: 240px; height: 240px; }
  .about-image-wrap { inset: 10px; }
}

@media (max-width: 980px) {
  .brain-core { width: 300px; height: 300px; }
  .orbit-one { width: 290px; height: 290px; }
  .orbit-two { width: 380px; height: 380px; }
  .orbit-three { width: 470px; height: 470px; }
  .chip-right { right: 18px; }
  .chip-left { left: 18px; }
}
@media (max-width: 680px) {
  .brain-core { width: 240px; height: 240px; top: 54%; }
  .orbit-one { width: 240px; height: 240px; }
  .orbit-two { width: 310px; height: 310px; }
  .orbit-three { width: 380px; height: 380px; }
  .brain-chip { font-size: 11px; padding: 8px 12px; }
  .chip-top { top: 56px; }
  .chip-right { top: auto; bottom: 130px; right: 10px; }
  .chip-left { left: 10px; top: auto; bottom: 172px; }
  .chip-bottom { bottom: 22px; }
  .media-card { max-width: 220px; }
}

@media (max-width: 680px) { .about-frame { background-size: 240px 240px, auto, auto; } }

/* === PV-Sentry Neural Command Center Upgrade === */
.hero { padding-top: 176px; }
.site-header { z-index: 400; }

.launch-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,193,7,.20), transparent 32%),
    radial-gradient(circle at 58% 48%, rgba(67,214,255,.12), transparent 26%),
    linear-gradient(135deg, #05080d, #071626 52%, #0a192f);
  pointer-events: none;
  animation: launchOverlayExit 4.8s cubic-bezier(.74,0,.24,1) forwards;
}
.launch-core {
  width: min(560px, calc(100% - 44px));
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 34px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 40px 160px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 36px;
  color: #fffaf1;
  text-align: center;
  transform-origin: center;
  animation: launchCoreScale 4.8s cubic-bezier(.74,0,.24,1) forwards;
}
.launch-mark {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: #ffc107;
  color: #0d0b07;
  font-size: 28px;
  font-weight: 950;
  box-shadow: 0 0 0 10px rgba(255,193,7,.12), 0 0 54px rgba(255,193,7,.38);
}
.launch-kicker {
  margin: 0 0 8px;
  color: #ffc107;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.launch-core h2 {
  color: #fffaf1;
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 24px;
}
.launch-progress {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
}
.launch-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffc107, #61e6ff, #ffc107);
  transform-origin: left;
  animation: launchProgress 3.7s ease forwards;
}
.launch-lines {
  margin-top: 22px;
  display: grid;
  gap: 8px;
  color: rgba(255,250,241,.76);
  font-size: 13px;
  font-weight: 800;
}
.launch-lines span {
  opacity: 0;
  transform: translateY(8px);
  animation: lineReveal .66s ease forwards;
}
.launch-lines span:nth-child(1) { animation-delay: .35s; }
.launch-lines span:nth-child(2) { animation-delay: 1.05s; }
.launch-lines span:nth-child(3) { animation-delay: 1.75s; }

.hero-agent-status {
  width: min(680px, 100%);
  margin: 24px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(13,11,7,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  box-shadow: 0 16px 44px rgba(61,42,20,.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.status-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
.status-copy strong { color: var(--text); text-transform: uppercase; letter-spacing: .12em; }
.status-copy em { font-style: normal; }
.status-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #35c76b;
  box-shadow: 0 0 0 8px rgba(53,199,107,.12);
  animation: livePulse 1.8s ease-in-out infinite;
}
.status-progress {
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(13,11,7,.08);
}
.status-progress span {
  display: block;
  height: 100%;
  width: 45%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--primary), #6ee8ff, var(--primary), transparent);
  animation: statusSweep 2.8s ease-in-out infinite;
}

.command-section {
  position: relative;
  padding-top: 96px;
  overflow: hidden;
}
.command-section::before {
  content: "";
  position: absolute;
  inset: 8% -10% auto -10%;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(255,193,7,.12), transparent 62%);
  pointer-events: none;
}
.command-shell {
  position: relative;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 34px;
  align-items: center;
  min-height: 660px;
  padding: 42px;
  border-radius: 48px;
  overflow: hidden;
  color: #fffaf1;
  background:
    radial-gradient(circle at 78% 22%, rgba(97,230,255,.16), transparent 28%),
    radial-gradient(circle at 52% 50%, rgba(255,193,7,.16), transparent 32%),
    linear-gradient(135deg, #07101d, #0a192f 54%, #06111f);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 46px 140px rgba(10,25,47,.26), inset 0 0 0 1px rgba(255,255,255,.05);
}
.command-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 68% 48%, #000, transparent 72%);
  pointer-events: none;
}
.command-copy { position: relative; z-index: 2; }
.command-copy .eyebrow span {
  background: rgba(255,193,7,.12);
  border-color: rgba(255,193,7,.30);
  color: #ffc107;
}
.command-copy h2 {
  color: #fffaf1;
  font-size: clamp(38px, 4.6vw, 68px);
  letter-spacing: -0.07em;
}
.command-copy .section-copy {
  max-width: 540px;
  color: rgba(255,250,241,.72);
  font-size: 17px;
}
.command-metrics {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.command-metrics .command-metric {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  padding: 14px;
  backdrop-filter: blur(16px);
}
.command-metrics strong {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #ffc107;
  color: #0d0b07;
  font-weight: 950;
}
.command-metrics span { color: rgba(255,250,241,.76); font-weight: 850; }
.command-visual {
  position: relative;
  z-index: 2;
  min-height: 570px;
}
.command-brain-wrap {
  position: absolute;
  left: 45%;
  top: 45%;
  width: 440px;
  height: 440px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.command-gridlines {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(255,255,255,.08) 0deg 1deg, transparent 1deg 10deg),
    radial-gradient(circle, rgba(97,230,255,.10), transparent 62%);
  animation: commandSpin 42s linear infinite;
}
.command-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ring-a {
  width: 330px;
  height: 330px;
  border: 1px dashed rgba(255,193,7,.48);
  animation: commandSpin 16s linear infinite;
}
.ring-b {
  width: 420px;
  height: 420px;
  border: 1px solid rgba(97,230,255,.24);
  animation: commandSpinReverse 24s linear infinite;
}
.ring-c {
  width: 510px;
  height: 510px;
  border: 1px dashed rgba(255,255,255,.16);
  animation: commandSpin 34s linear infinite;
}
.command-brain {
  position: relative;
  z-index: 2;
  width: 286px;
  height: 286px;
  object-fit: contain;
  border-radius: 50%;
  filter: saturate(1.1) contrast(1.06) drop-shadow(0 24px 44px rgba(0,0,0,.28));
  animation: commandFloat 6.4s ease-in-out infinite;
}
.command-beam {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(97,230,255,.56), rgba(255,193,7,.66), transparent);
  filter: blur(.2px);
  opacity: .72;
}
.beam-one { transform: rotate(22deg) translateX(-50%); animation: beamSweep 4.2s ease-in-out infinite; }
.beam-two { transform: rotate(-34deg) translateX(-50%); animation: beamSweep 5.6s ease-in-out infinite reverse; }
.command-node {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  z-index: 3;
  background: #ffc107;
  box-shadow: 0 0 0 9px rgba(255,193,7,.13), 0 0 28px rgba(255,193,7,.56);
  animation: nodeBlink 2.4s ease-in-out infinite;
}
.n1 { left: 12%; top: 26%; animation-delay: .15s; }
.n2 { right: 15%; top: 18%; animation-delay: .75s; }
.n3 { left: 18%; bottom: 19%; animation-delay: 1.25s; }
.n4 { right: 17%; bottom: 28%; animation-delay: 1.85s; }
.console-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 5;
  width: min(390px, 72%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: rgba(6,17,31,.78);
  box-shadow: 0 26px 78px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}
.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: rgba(255,250,241,.72);
  font-size: 11px;
  letter-spacing: .12em;
}
.console-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
}
.console-top span:first-child { background: #ffc107; }
.console-top b { margin-left: auto; }
.console-lines {
  padding: 16px;
  display: grid;
  gap: 10px;
}
.console-lines p {
  margin: 0;
  color: rgba(255,250,241,.76);
  font-size: 13px;
  font-weight: 800;
  opacity: .35;
  transform: translateX(-8px);
  animation: consoleLine 5s ease-in-out infinite;
}
.console-lines p:nth-child(1) { animation-delay: .1s; }
.console-lines p:nth-child(2) { animation-delay: .65s; }
.console-lines p:nth-child(3) { animation-delay: 1.2s; }
.console-lines p:nth-child(4) { animation-delay: 1.75s; }
.console-lines p:nth-child(5) { animation-delay: 2.3s; }
.console-lines i {
  color: #ffc107;
  font-style: normal;
  margin-right: 8px;
}
.command-chip {
  position: absolute;
  z-index: 4;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fffaf1;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  box-shadow: 0 16px 42px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
  animation: commandFloat 5.4s ease-in-out infinite;
}
.chip-a { left: 4%; top: 12%; }
.chip-b { right: 6%; top: 20%; animation-delay: -.6s; }
.chip-c { left: 9%; bottom: 17%; animation-delay: -1.1s; }
.flow-transform {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.flow-transform .flow-box {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.42);
  box-shadow: var(--shadow);
  padding: 24px;
}
.flow-transform .flow-box span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,193,7,.14);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.flow-transform strong {
  display: block;
  margin-top: 14px;
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.flow-transform p { color: var(--muted); margin: 10px 0 0; }
.future-flow {
  background:
    radial-gradient(circle at 90% 10%, rgba(255,193,7,.22), transparent 28%),
    color-mix(in srgb, var(--paper) 76%, transparent) !important;
}
.flow-arrow {
  display: grid;
  place-items: center;
  width: 58px;
  border-radius: 999px;
  background: var(--primary);
  color: #0d0b07;
  font-size: 26px;
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(255,193,7,.24);
  animation: arrowPulse 2.4s ease-in-out infinite;
}
.assistant-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 62px rgba(61,42,20,.24), 0 0 0 8px rgba(255,193,7,.08);
}

@keyframes launchOverlayExit {
  0%, 70% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes launchCoreScale {
  0% { transform: scale(.94); opacity: 0; }
  12%, 70% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.04); opacity: 0; }
}
@keyframes launchProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes lineReveal { to { opacity: 1; transform: translateY(0); } }
@keyframes livePulse {
  0%,100% { transform: scale(.92); box-shadow: 0 0 0 8px rgba(53,199,107,.12); }
  50% { transform: scale(1.12); box-shadow: 0 0 0 14px rgba(53,199,107,0); }
}
@keyframes statusSweep {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(250%); }
}
@keyframes commandSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes commandSpinReverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes commandFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes beamSweep {
  0%,100% { opacity: .18; filter: blur(2px); }
  50% { opacity: .88; filter: blur(.2px); }
}
@keyframes nodeBlink {
  0%,100% { opacity: .35; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.18); }
}
@keyframes consoleLine {
  0%, 100% { opacity: .35; transform: translateX(-8px); }
  18%, 72% { opacity: 1; transform: translateX(0); }
}
@keyframes arrowPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@media (max-width: 1220px) {
  .command-shell { grid-template-columns: 1fr; }
  .command-visual { min-height: 560px; }
  .command-brain-wrap { left: 50%; }
}
@media (max-width: 760px) {
  .hero-agent-status { border-radius: 24px; }
  .status-copy { justify-content: flex-start; }
  .command-shell { padding: 24px; border-radius: 34px; }
  .command-visual { min-height: 520px; }
  .command-brain-wrap { width: 330px; height: 330px; }
  .command-brain { width: 220px; height: 220px; }
  .ring-a { width: 260px; height: 260px; }
  .ring-b { width: 330px; height: 330px; }
  .ring-c { width: 400px; height: 400px; }
  .console-panel { width: 100%; }
  .command-chip { font-size: 11px; }
  .chip-a { left: 0; top: 16px; }
  .chip-b { right: 0; top: 74px; }
  .chip-c { left: 0; bottom: 188px; }
  .flow-transform { grid-template-columns: 1fr; }
  .flow-arrow { width: 54px; height: 54px; justify-self: center; transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .launch-overlay { display: none; }
}

/* Command center layout refinements */
.command-shell {
  display: flex;
  gap: 34px;
}
.command-copy {
  flex: 0 0 43%;
}
.command-visual {
  flex: 1 1 auto;
  min-width: 0;
}
.command-brain-wrap {
  left: 50%;
  top: 43%;
}
.console-panel {
  right: 22px;
  bottom: 24px;
}
@media (max-width: 1220px) {
  .command-shell { flex-direction: column; }
  .command-copy { flex-basis: auto; }
  .command-brain-wrap { left: 50%; top: 42%; }
}

@media (max-width: 900px) {
  .hero-chip { font-size: 10px; padding: 8px 10px; }
  .hero-chip-b { top: 106px; }
  .hero-chip-c { bottom: 102px; }
  .orbit-c { width: 350px; height: 350px; }
}

/* Standalone webview safety fallback */
html.webview-ready .launch-overlay {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
}

  

/* ===== S169-SITE additions (same tokens, same look) ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hero-intro h1 { font-size: clamp(42px, 6vw, 86px); }
.h1-sub {
  display: block;
  margin-top: 14px;
  font-size: clamp(26px, 3.2vw, 44px);
  letter-spacing: -0.05em;
  color: color-mix(in srgb, var(--text) 72%, var(--primary-dark));
}
.basis-line { margin: 14px auto 0; max-width: 640px; color: var(--muted); font-size: 13px; font-weight: 800; }
.workflow-card .workflow-title { font-size: 28px; line-height: 1.02; letter-spacing: -0.05em; margin-bottom: 8px; font-weight: 940; color: var(--text); }
.btn-on-dark { color: #fffaf1; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); }
.btn-on-dark:hover { color: #fffaf1; }
.cta-content .hero-actions { margin-top: 24px; }
.card-link { position: relative; z-index: 1; display: inline-flex; gap: 6px; font-size: 13px; font-weight: 900; color: var(--text); border-bottom: 2px solid var(--primary); }
.featured-service .card-link { color: var(--paper); }

.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  counter-reset: none;
}
.flow-steps li {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 112px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  box-shadow: var(--shadow);
}
.flow-steps li b {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px;
  background: var(--primary); color: #0d0b07; font-size: 12px; font-weight: 950;
}
.flow-steps li span { font-weight: 900; font-size: 14px; line-height: 1.25; letter-spacing: -0.02em; }
.flow-steps li:not(:last-child)::after {
  content: "→"; position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  z-index: 1; color: var(--primary-dark); font-weight: 950;
}
.stats-grid-five { grid-template-columns: repeat(5, 1fr); }
.stats-grid-five .stat strong { font-size: clamp(30px, 3.4vw, 48px); }

.contact-form select { width: 100%; }
.form-note a { text-decoration: underline; }

.page-hero { min-height: auto; padding: 150px 0 24px; }
.page-hero-shell { min-height: auto; padding: 64px 56px 52px; }
.page-hero h1 { font-size: clamp(40px, 5.2vw, 72px); }
.page-body { padding-top: 40px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.prose-card, .side-card {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}
.prose-card { padding: 44px 48px; }
.prose-card h2 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.05em; margin: 34px 0 12px; }
.prose-card h2:first-child { margin-top: 0; }
.prose-card p, .prose-card li { color: var(--muted); font-size: 16px; line-height: 1.78; }
.prose-card ul, .prose-card ol { padding-left: 22px; margin: 0 0 16px; }
.prose-card li { margin-bottom: 8px; }
.prose-card strong { color: var(--text); }
.prose-card a, .side-card a:not(.btn) { color: var(--text); font-weight: 850; text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 3px; }
.side-card { position: sticky; top: 120px; padding: 24px; display: grid; gap: 14px; }
.side-title { margin: 0; font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .16em; color: var(--text); }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.side-note { margin: 0; color: var(--muted); font-size: 13px; font-weight: 800; }

:root.dark .flow-steps li { background: rgba(255,255,255,.04); }

@media (max-width: 1220px) {
  .flow-steps { grid-template-columns: repeat(4, 1fr); }
  .flow-steps li:nth-child(4n)::after { display: none; }
  .stats-grid-five { grid-template-columns: repeat(3, 1fr); }
  .page-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
}
@media (max-width: 680px) {
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-steps li::after { display: none; }
  .stats-grid-five { grid-template-columns: 1fr 1fr; }
  .page-hero { padding-top: 104px; }
  .page-hero-shell { padding: 38px 18px 28px; }
  .prose-card { padding: 26px 20px; }
}
@media (max-width: 680px) {
  .hero-intro h1, .page-hero h1 { font-size: clamp(30px, 9vw, 44px); hyphens: auto; overflow-wrap: break-word; }
  .h1-sub { font-size: clamp(22px, 6.4vw, 30px); }
}
/* S169-SITE: honeypot field (hidden from people and screen readers) and the FAQ grid */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.faq-card h3 { font-size: 20px; }
@media (max-width: 680px) { .faq-grid { grid-template-columns: 1fr; } }
