/*
Theme Name: Arcqual
Author: Arcqual
Description: Premium B2B SaaS theme for the Arcqual AI Lead Qualification Workflow.
Version: 1.1.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: arcqual
*/

:root {
  --aq-bg: #000;
  --aq-surface: #0a0a0b;
  --aq-card: #111113;
  --aq-card-hover: #151518;
  --aq-text: #f7f7f8;
  --aq-muted: #9b9ba3;
  --aq-subtle: #6d6d75;
  --aq-line: rgba(255, 255, 255, .1);
  --aq-line-strong: rgba(255, 255, 255, .17);
  --aq-accent: #8b5cf6;
  --aq-accent-soft: #a78bfa;
  --aq-accent-pale: #ddd6fe;
  --aq-success: #46d8a5;
  --aq-warning: #f4bd50;
  --aq-danger: #f47777;
  --aq-radius: 18px;
  --aq-radius-sm: 12px;
  --aq-max: 1180px;
  --aq-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  background: var(--aq-bg);
  color: var(--aq-text);
  font-family: var(--aq-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(900px 500px at 75% -5%, rgba(139, 92, 246, .16), transparent 62%),
    radial-gradient(620px 380px at -10% 25%, rgba(99, 102, 241, .08), transparent 66%),
    #000;
}
body.admin-bar .aq-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--aq-accent-soft); outline-offset: 3px; }

.aq-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: #fff;
  color: #000;
}
.aq-skip-link:focus { transform: translateY(0); }

.aq-container { width: min(calc(100% - 40px), var(--aq-max)); margin-inline: auto; }
.aq-narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.aq-section { position: relative; padding: 112px 0; }
.aq-section-sm { padding: 72px 0; }
.aq-section-border { border-top: 1px solid var(--aq-line); }
.aq-grid { display: grid; gap: 20px; }
.aq-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aq-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aq-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aq-stack { display: grid; gap: 18px; }

.aq-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(18px) saturate(150%);
  transition: border-color .2s ease, background .2s ease;
}
.aq-header.is-scrolled { border-color: var(--aq-line); background: rgba(0, 0, 0, .9); }
.aq-nav { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 28px; }
.aq-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 660; letter-spacing: -.02em; }
.aq-brand-mark {
  position: relative;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: linear-gradient(145deg, #17171a, #080809);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 22px rgba(139,92,246,.16);
}
.aq-brand-mark::before, .aq-brand-mark::after { position: absolute; content: ""; background: var(--aq-accent-soft); transform: rotate(-35deg); }
.aq-brand-mark::before { width: 4px; height: 25px; left: 8px; top: -4px; border-radius: 99px; }
.aq-brand-mark::after { width: 4px; height: 13px; right: 5px; bottom: -2px; border-radius: 99px; opacity: .65; }
.aq-nav-menu { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.aq-nav-menu a { color: #aaaab2; font-size: 14px; font-weight: 520; transition: color .18s ease; }
.aq-nav-menu a:hover, .aq-nav-menu .current-menu-item > a { color: #fff; }
.aq-nav-actions { display: flex; align-items: center; gap: 10px; }
.aq-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--aq-line);
  border-radius: 10px;
  background: #0c0c0d;
  color: #fff;
  cursor: pointer;
}
.aq-menu-toggle span, .aq-menu-toggle::before, .aq-menu-toggle::after { display: block; width: 18px; height: 1px; margin: 5px auto; content: ""; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.aq-menu-toggle[aria-expanded="true"] span { opacity: 0; }
.aq-menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.aq-menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.aq-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 14px;
  font-weight: 620;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.aq-button:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.09); }
.aq-button-primary { border-color: #9b73f8; background: #fff; color: #070707; box-shadow: 0 8px 30px rgba(139,92,246,.16); }
.aq-button-primary:hover { border-color: #fff; background: #eeeaff; box-shadow: 0 12px 36px rgba(139,92,246,.26); }
.aq-button-accent { border-color: rgba(167,139,250,.4); background: rgba(139,92,246,.13); color: #ede9fe; }
.aq-button-sm { min-height: 38px; padding: 8px 13px; font-size: 13px; }
.aq-button-arrow::after { content: "→"; transition: transform .18s ease; }
.aq-button-arrow:hover::after { transform: translateX(3px); }

.aq-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; color: var(--aq-accent-pale); font-size: 12px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.aq-eyebrow::before { width: 6px; height: 6px; border-radius: 50%; background: var(--aq-accent-soft); box-shadow: 0 0 14px var(--aq-accent); content: ""; }
.aq-title { max-width: 960px; margin: 0; font-size: clamp(46px, 6.4vw, 86px); font-weight: 620; line-height: .99; letter-spacing: -.063em; }
.aq-title .aq-gradient-text, .aq-gradient-text { color: #c9b8ff; background: linear-gradient(110deg, #fff 3%, #bca8ff 48%, #7c5ce7 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.aq-page-title { max-width: 850px; margin: 0; font-size: clamp(42px, 5.4vw, 72px); font-weight: 620; line-height: 1.03; letter-spacing: -.055em; }
.aq-section-title { max-width: 720px; margin: 0; font-size: clamp(34px, 4vw, 54px); font-weight: 610; line-height: 1.08; letter-spacing: -.045em; }
.aq-card-title { margin: 0 0 10px; font-size: 19px; font-weight: 610; line-height: 1.25; letter-spacing: -.025em; }
.aq-lead { max-width: 710px; margin: 28px 0 0; color: #b0b0b8; font-size: clamp(18px, 2vw, 21px); line-height: 1.58; letter-spacing: -.018em; }
.aq-copy { color: var(--aq-muted); }
.aq-copy-lg { color: #adadb5; font-size: 18px; }
.aq-kicker { color: var(--aq-muted); font-size: 14px; }
.aq-section-head { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 48px; }
.aq-section-head .aq-copy { max-width: 480px; margin: 0; }
.aq-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.aq-hero { position: relative; overflow: clip; padding: 112px 0 82px; }
.aq-hero::after {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 1000px;
  height: 680px;
  transform: translateX(-50%);
  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: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  content: "";
}
.aq-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 40px; color: #7f7f87; font-size: 13px; }
.aq-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.aq-hero-meta span::before { width: 4px; height: 4px; border-radius: 50%; background: #5d5d65; content: ""; }
.aq-page-hero { position: relative; overflow: hidden; padding: 112px 0 92px; border-bottom: 1px solid var(--aq-line); }
.aq-page-hero .aq-lead { max-width: 760px; }

.aq-console {
  position: relative;
  margin-top: 76px;
  overflow: hidden;
  border: 1px solid var(--aq-line-strong);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18,18,21,.94), rgba(6,6,7,.96));
  box-shadow: 0 40px 100px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
}
.aq-console::before { position: absolute; top: -140px; right: 9%; width: 360px; height: 360px; border-radius: 50%; background: rgba(139,92,246,.13); filter: blur(90px); content: ""; }
.aq-console-bar { display: flex; min-height: 53px; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--aq-line); color: #7f7f87; font: 12px/1 var(--aq-font); }
.aq-console-dots { display: flex; gap: 6px; }
.aq-console-dots i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #34343a; }
.aq-console-body { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; min-height: 390px; }
.aq-console-pane { padding: 28px; }
.aq-console-pane + .aq-console-pane { border-left: 1px solid var(--aq-line); }
.aq-console-label { margin: 0 0 18px; color: #6f6f77; font-size: 11px; font-weight: 680; letter-spacing: .1em; text-transform: uppercase; }
.aq-lead-profile { display: grid; gap: 12px; }
.aq-profile-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: #8c8c94; font-size: 13px; }
.aq-profile-row strong { color: #e9e9eb; font-weight: 550; text-align: right; }
.aq-score-wrap { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.aq-score { display: grid; width: 72px; height: 72px; place-items: center; border: 1px solid rgba(70,216,165,.28); border-radius: 50%; background: rgba(70,216,165,.07); color: #8ceac9; font-size: 25px; font-weight: 650; box-shadow: inset 0 0 22px rgba(70,216,165,.08); }
.aq-score-copy strong { display: block; color: #edfdf7; font-size: 15px; }
.aq-score-copy span { color: #777780; font-size: 12px; }
.aq-reason-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.aq-reason-list li { position: relative; padding: 11px 12px 11px 34px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: rgba(255,255,255,.025); color: #aaaab2; font-size: 13px; }
.aq-reason-list li::before { position: absolute; top: 13px; left: 12px; color: var(--aq-success); content: "✓"; }
.aq-routing-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 10px; border: 1px solid rgba(167,139,250,.2); border-radius: 8px; background: rgba(139,92,246,.08); color: #c7b8f8; font-size: 12px; }
.aq-routing-chip::before { width: 6px; height: 6px; border-radius: 50%; background: var(--aq-accent-soft); box-shadow: 0 0 10px var(--aq-accent); content: ""; }

.aq-logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 38px; padding: 24px 0; border-block: 1px solid var(--aq-line); }
.aq-logo-strip span { color: #73737b; font-size: 13px; font-weight: 650; letter-spacing: .02em; }
.aq-logo-strip strong { color: #b2b2b8; font-weight: 650; }

.aq-card { position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--aq-line); border-radius: var(--aq-radius); background: linear-gradient(160deg, rgba(18,18,20,.94), rgba(9,9,10,.9)); transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.aq-card:hover { transform: translateY(-3px); border-color: var(--aq-line-strong); background: linear-gradient(160deg, rgba(22,22,25,.96), rgba(10,10,11,.94)); }
.aq-card p:last-child { margin-bottom: 0; }
.aq-card-icon { display: grid; width: 39px; height: 39px; margin-bottom: 34px; place-items: center; border: 1px solid rgba(167,139,250,.18); border-radius: 10px; background: rgba(139,92,246,.08); color: #c9b9fb; font-size: 16px; }
.aq-card-number { display: block; margin-bottom: 26px; color: #66666e; font: 550 12px/1 var(--aq-font); letter-spacing: .08em; }
.aq-card .aq-copy { margin: 0; font-size: 14px; }
.aq-feature-card { min-height: 270px; }
.aq-feature-card::after { position: absolute; right: -65px; bottom: -75px; width: 180px; height: 180px; border: 1px solid rgba(139,92,246,.12); border-radius: 50%; content: ""; box-shadow: 0 0 70px rgba(139,92,246,.06); }
.aq-metric { padding: 28px 0; border-top: 1px solid var(--aq-line); }
.aq-metric strong { display: block; margin-bottom: 8px; font-size: clamp(34px, 4vw, 54px); font-weight: 580; line-height: 1; letter-spacing: -.055em; }
.aq-metric span { color: var(--aq-muted); font-size: 13px; }
.aq-metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }

.aq-proof-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; margin-bottom: 26px; border: 1px solid var(--aq-line); border-radius: 16px; background: var(--aq-line); }
.aq-proof-metric { min-height: 142px; padding: 25px; background: #080809; }
.aq-proof-metric strong { display: block; margin-bottom: 13px; color: #f3f3f5; font-size: clamp(34px, 4vw, 50px); font-weight: 590; line-height: 1; letter-spacing: -.055em; }
.aq-proof-metric span { display: block; max-width: 180px; color: #84848c; font-size: 12px; line-height: 1.5; }
.aq-proof-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px; align-items: stretch; }
.aq-proof-console { overflow: hidden; border: 1px solid var(--aq-line-strong); border-radius: 18px; background: linear-gradient(155deg, #101012, #080809); }
.aq-proof-console-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 19px; border-bottom: 1px solid var(--aq-line); color: #777780; font-size: 11px; }
.aq-proof-console-head span:first-child { font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.aq-proof-console-body { padding: 25px; }
.aq-proof-scoreline { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.aq-proof-score { display: grid; width: 82px; height: 82px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(167,139,250,.34); border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.17), rgba(139,92,246,.03)); color: #d6cafe; font-size: 27px; font-weight: 650; box-shadow: inset 0 0 28px rgba(139,92,246,.09), 0 0 28px rgba(139,92,246,.06); }
.aq-proof-score small { margin-left: 2px; color: #777780; font-size: 11px; }
.aq-proof-score-copy strong { display: block; color: #f2f2f3; font-size: 17px; font-weight: 600; }
.aq-proof-score-copy span { color: #7e7e86; font-size: 12px; }
.aq-proof-reasons { display: grid; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.aq-proof-reasons li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.065); border-radius: 9px; background: rgba(255,255,255,.022); color: #a5a5ad; font-size: 12px; }
.aq-proof-reasons li::before { color: var(--aq-success); content: "✓"; }
.aq-proof-note { padding: 15px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: #070708; color: #909098; font-size: 12px; line-height: 1.65; }
.aq-proof-note strong { color: #dedee1; font-weight: 580; }
.aq-proof-route { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.aq-proof-route span { padding: 6px 9px; border: 1px solid rgba(70,216,165,.16); border-radius: 7px; background: rgba(70,216,165,.05); color: #83dbba; font-size: 10px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.aq-proof-caption { margin: 15px 0 0; color: #66666e; font-size: 11px; line-height: 1.6; }

.aq-decision-map { display: flex; min-height: 100%; flex-direction: column; justify-content: center; padding: 28px; border: 1px solid var(--aq-line); border-radius: 18px; background: #080809; }
.aq-map-label { margin: 0 0 20px; color: #696971; font-size: 10px; font-weight: 680; letter-spacing: .1em; text-transform: uppercase; }
.aq-map-step { position: relative; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; min-height: 65px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.075); border-radius: 10px; background: rgba(255,255,255,.022); }
.aq-map-step + .aq-map-step { margin-top: 18px; }
.aq-map-step + .aq-map-step::before { position: absolute; bottom: 100%; left: 28px; width: 1px; height: 19px; background: linear-gradient(var(--aq-accent), rgba(139,92,246,.25)); content: ""; }
.aq-map-step-id { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(167,139,250,.18); border-radius: 8px; background: rgba(139,92,246,.07); color: #bcaafb; font-size: 10px; font-weight: 700; }
.aq-map-step strong { display: block; color: #dedee1; font-size: 13px; font-weight: 580; }
.aq-map-step span { color: #72727a; font-size: 10px; text-align: right; }
.aq-map-step.is-review { border-color: rgba(244,189,80,.16); }
.aq-map-step.is-review .aq-map-step-id { border-color: rgba(244,189,80,.18); background: rgba(244,189,80,.06); color: #e9be69; }

.aq-architecture { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 24px; margin-top: 36px; }
.aq-architecture-node { position: relative; min-height: 190px; padding: 22px; border: 1px solid var(--aq-line); border-radius: 15px; background: linear-gradient(150deg, #111113, #080809); }
.aq-architecture-node:not(:last-child)::after { position: absolute; top: 50%; left: calc(100% + 7px); width: 10px; color: #6f52c9; content: "→"; font-size: 15px; transform: translateY(-50%); }
.aq-architecture-node b { display: inline-flex; margin-bottom: 34px; padding: 5px 7px; border: 1px solid rgba(167,139,250,.16); border-radius: 6px; background: rgba(139,92,246,.06); color: #ae9ae9; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.aq-architecture-node h3 { margin: 0 0 8px; font-size: 17px; font-weight: 590; letter-spacing: -.02em; }
.aq-architecture-node p { margin: 0; color: #85858d; font-size: 12px; line-height: 1.6; }
.aq-architecture-node.is-gate { border-color: rgba(244,189,80,.18); background: linear-gradient(150deg, rgba(35,29,17,.5), #080809); }
.aq-architecture-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.aq-pipeline { display: grid; gap: 0; border: 1px solid var(--aq-line); border-radius: 20px; background: #080809; }
.aq-pipeline-step { position: relative; display: grid; grid-template-columns: 92px 1fr 250px; gap: 28px; align-items: start; padding: 32px; }
.aq-pipeline-step + .aq-pipeline-step { border-top: 1px solid var(--aq-line); }
.aq-pipeline-step::before { position: absolute; top: 39px; left: 42px; width: 8px; height: 8px; border: 2px solid #080809; border-radius: 50%; background: var(--aq-accent-soft); box-shadow: 0 0 0 5px rgba(139,92,246,.12), 0 0 18px rgba(139,92,246,.42); content: ""; }
.aq-pipeline-step:not(:last-child)::after { position: absolute; top: 51px; bottom: -14px; left: 46px; width: 1px; background: linear-gradient(var(--aq-accent), rgba(139,92,246,.12)); content: ""; }
.aq-step-id { padding-left: 30px; color: #777780; font: 600 11px/1.4 var(--aq-font); letter-spacing: .08em; }
.aq-pipeline-step h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.aq-pipeline-step p { max-width: 570px; margin: 0; color: var(--aq-muted); font-size: 14px; }
.aq-step-output { padding: 12px 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: rgba(255,255,255,.025); color: #92929a; font: 12px/1.5 var(--aq-font); }
.aq-step-output strong { display: block; margin-bottom: 3px; color: #d9d9dc; font-weight: 580; }

.aq-note { overflow: hidden; border: 1px solid var(--aq-line-strong); border-radius: 18px; background: #0b0b0c; }
.aq-note-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px; border-bottom: 1px solid var(--aq-line); color: #777780; font-size: 12px; }
.aq-note-body { padding: 24px; color: #aaaab2; font: 13px/1.75 var(--aq-font); }
.aq-note-body strong { color: #eeeef0; }
.aq-note-tag { display: inline-flex; padding: 4px 8px; border: 1px solid rgba(70,216,165,.18); border-radius: 6px; background: rgba(70,216,165,.06); color: #7de2bd; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.aq-band { position: relative; overflow: hidden; padding: 64px; border: 1px solid var(--aq-line-strong); border-radius: 24px; background: linear-gradient(135deg, rgba(20,16,31,.96), rgba(8,8,10,.98) 55%); }
.aq-band::after { position: absolute; right: -120px; bottom: -240px; width: 520px; height: 520px; border: 1px solid rgba(167,139,250,.16); border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.13), transparent 64%); box-shadow: 0 0 0 70px rgba(139,92,246,.025), 0 0 0 140px rgba(139,92,246,.015); content: ""; }
.aq-band > * { position: relative; z-index: 1; }
.aq-band .aq-section-title { max-width: 700px; }

.aq-pill { display: inline-flex; align-items: center; padding: 7px 10px; border: 1px solid var(--aq-line); border-radius: 99px; background: rgba(255,255,255,.03); color: #96969e; font-size: 12px; }
.aq-pill-success { border-color: rgba(70,216,165,.18); background: rgba(70,216,165,.06); color: #8be3c3; }
.aq-pill-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.aq-list { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.aq-list li { position: relative; padding-left: 25px; color: #a3a3ab; }
.aq-list li::before { position: absolute; left: 0; color: var(--aq-accent-soft); content: "→"; }
.aq-check-list li::before { color: var(--aq-success); content: "✓"; }

.aq-table-wrap { overflow-x: auto; border: 1px solid var(--aq-line); border-radius: 16px; }
.aq-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.aq-table th, .aq-table td { padding: 18px 20px; border-bottom: 1px solid var(--aq-line); text-align: left; vertical-align: top; }
.aq-table th { color: #85858d; font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.aq-table td { color: #a9a9b1; font-size: 14px; }
.aq-table td:first-child { color: #eeeef0; font-weight: 560; }
.aq-table tr:last-child td { border-bottom: 0; }

.aq-faq { border-top: 1px solid var(--aq-line); }
.aq-faq details { border-bottom: 1px solid var(--aq-line); }
.aq-faq summary { position: relative; padding: 23px 44px 23px 0; color: #e8e8ea; font-size: 17px; font-weight: 560; cursor: pointer; list-style: none; }
.aq-faq summary::-webkit-details-marker { display: none; }
.aq-faq summary::after { position: absolute; top: 21px; right: 4px; color: #777780; font-size: 20px; content: "+"; transition: transform .2s ease; }
.aq-faq details[open] summary::after { transform: rotate(45deg); }
.aq-faq details p { max-width: 760px; margin: -3px 0 24px; color: var(--aq-muted); }

.aq-contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.aq-contact-points { display: grid; gap: 22px; margin-top: 38px; }
.aq-contact-point { padding-top: 20px; border-top: 1px solid var(--aq-line); }
.aq-contact-point strong { display: block; margin-bottom: 4px; font-size: 14px; }
.aq-contact-point span { color: var(--aq-muted); font-size: 13px; }
.aq-form { padding: 30px; border: 1px solid var(--aq-line-strong); border-radius: 20px; background: #0b0b0d; }
.aq-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aq-field { display: grid; gap: 8px; }
.aq-field-full { grid-column: 1 / -1; }
.aq-field label { color: #b8b8bf; font-size: 12px; font-weight: 600; }
.aq-field input, .aq-field select, .aq-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 9px;
  outline: none;
  background: #070708;
  color: #f2f2f3;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.aq-field textarea { min-height: 116px; resize: vertical; }
.aq-field input:focus, .aq-field select:focus, .aq-field textarea:focus { border-color: rgba(167,139,250,.65); box-shadow: 0 0 0 3px rgba(139,92,246,.1); }
.aq-field ::placeholder { color: #5d5d65; }
.aq-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.aq-form-foot p { max-width: 320px; margin: 0; color: #67676f; font-size: 11px; }
.aq-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.aq-alert { margin-bottom: 22px; padding: 13px 15px; border: 1px solid rgba(70,216,165,.22); border-radius: 10px; background: rgba(70,216,165,.07); color: #a0efd2; font-size: 13px; }
.aq-alert-error { border-color: rgba(244,119,119,.22); background: rgba(244,119,119,.07); color: #f3aaaa; }

.aq-footer { padding: 68px 0 32px; border-top: 1px solid var(--aq-line); }
.aq-footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 50px; }
.aq-footer-copy { max-width: 330px; margin-top: 18px; color: #74747c; font-size: 13px; }
.aq-footer-col h2 { margin: 0 0 15px; color: #888890; font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.aq-footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.aq-footer-col a { color: #aaaab2; font-size: 13px; }
.aq-footer-col a:hover { color: #fff; }
.aq-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 24px; border-top: 1px solid var(--aq-line); color: #66666e; font-size: 11px; }
.aq-status { display: inline-flex; align-items: center; gap: 8px; }
.aq-status::before { width: 6px; height: 6px; border-radius: 50%; background: var(--aq-success); box-shadow: 0 0 8px rgba(70,216,165,.5); content: ""; }

.aq-404 { display: grid; min-height: 68vh; place-items: center; text-align: center; }
.aq-404 strong { color: var(--aq-accent-soft); font-size: 12px; letter-spacing: .1em; }
.aq-404 h1 { margin: 16px 0; font-size: clamp(50px, 8vw, 92px); letter-spacing: -.06em; }
.aq-404 p { max-width: 530px; margin: 0 auto 30px; color: var(--aq-muted); }

@media (max-width: 980px) {
  .aq-nav-menu { position: fixed; inset: 73px 0 auto; display: none; padding: 20px; border-bottom: 1px solid var(--aq-line); background: rgba(0,0,0,.97); }
  .aq-nav-menu.is-open { display: grid; gap: 0; }
  .aq-nav-menu li a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 15px; }
  .aq-menu-toggle { display: block; }
  .aq-nav-actions .aq-button-accent { display: none; }
  .aq-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .aq-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .aq-grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .aq-proof-metrics { grid-template-columns: repeat(2, 1fr); }
  .aq-proof-layout { grid-template-columns: 1fr; }
  .aq-architecture { grid-template-columns: 1fr; gap: 16px; }
  .aq-architecture-node { min-height: auto; }
  .aq-architecture-node:not(:last-child)::after { top: calc(100% + 1px); left: 27px; transform: rotate(90deg); }
  .aq-console-body { grid-template-columns: 1fr; }
  .aq-console-pane + .aq-console-pane { border-top: 1px solid var(--aq-line); border-left: 0; }
  .aq-pipeline-step { grid-template-columns: 80px 1fr; }
  .aq-step-output { grid-column: 2; }
  .aq-contact-layout { grid-template-columns: 1fr; gap: 50px; }
  .aq-footer-grid { grid-template-columns: 1.6fr repeat(2, 1fr); }
  .aq-footer-col:last-child { grid-column: 2; }
}

@media (max-width: 680px) {
  .aq-container, .aq-narrow { width: min(calc(100% - 28px), var(--aq-max)); }
  .aq-section { padding: 78px 0; }
  .aq-section-sm { padding: 52px 0; }
  .aq-hero { padding: 76px 0 58px; }
  .aq-page-hero { padding: 74px 0 64px; }
  .aq-title { font-size: clamp(42px, 15vw, 62px); }
  .aq-section-head { display: grid; margin-bottom: 34px; }
  .aq-grid-2, .aq-grid-3, .aq-grid-4, .aq-metric-grid { grid-template-columns: 1fr; }
  .aq-proof-metrics { grid-template-columns: 1fr 1fr; }
  .aq-proof-metric { min-height: 128px; padding: 20px; }
  .aq-proof-console-body, .aq-decision-map { padding: 20px; }
  .aq-proof-scoreline { align-items: flex-start; }
  .aq-map-step { grid-template-columns: 32px 1fr; }
  .aq-map-step > span { grid-column: 2; text-align: left; }
  .aq-grid-3 > :last-child:nth-child(odd) { grid-column: auto; }
  .aq-console { margin-top: 50px; }
  .aq-console-pane { padding: 21px; }
  .aq-pipeline-step { grid-template-columns: 1fr; gap: 12px; padding: 25px 21px 25px 48px; }
  .aq-pipeline-step::before { left: 20px; top: 32px; }
  .aq-pipeline-step:not(:last-child)::after { left: 24px; top: 43px; }
  .aq-step-id { padding-left: 0; }
  .aq-step-output { grid-column: auto; }
  .aq-band { padding: 38px 25px; }
  .aq-card { padding: 23px; }
  .aq-form { padding: 22px 18px; }
  .aq-form-grid { grid-template-columns: 1fr; }
  .aq-field-full { grid-column: auto; }
  .aq-form-foot { display: grid; }
  .aq-form-foot .aq-button { width: 100%; }
  .aq-footer-grid { grid-template-columns: 1fr 1fr; }
  .aq-footer-grid > :first-child { grid-column: 1 / -1; }
  .aq-footer-col:last-child { grid-column: auto; }
  .aq-footer-bottom { align-items: flex-start; flex-direction: column; }
  body.admin-bar .aq-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
