/* ==========================================================================
   AdQuill - public marketing site
   --------------------------------------------------------------------------
   Built on top of the design tokens in app.css (brand, ink, radii, motion).
   Every rule below is scoped to .aq-site so the admin panel styles in
   app.css are never touched. Templates never contain inline style attributes.
   ========================================================================== */

.aq-site {
  background: var(--aq-bg);
  color: var(--aq-text);
  font-family: var(--aq-font-body);
  overflow-wrap: break-word;
  /* Keeps a wide table inside its own scroll box on narrow screens. */
  overflow-x: clip;
}

.aq-site h1,
.aq-site h2,
.aq-site h3,
.aq-site h4 {
  font-family: var(--aq-font-head);
}

.aq-site .aq-btn { min-height: 44px; }
.aq-site .aq-btn--lg { min-height: 52px; }
.aq-site .aq-btn--sm { min-height: 38px; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.aq-site-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  .aq-site-shell { padding: 0 32px; }
}

.aq-site-main { display: block; }

/* Visually hidden, still announced by screen readers. */
.aq-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.aq-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--aq-brand);
  color: #fff;
  border-radius: 0 0 var(--aq-r-sm) 0;
  font-weight: 600;
}

.aq-skip:focus {
  left: 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */

.aq-site-header {
  position: sticky;
  top: 0;
  z-index: var(--aq-z-sticky);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--aq-line);
}

.aq-site-header__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
}

.aq-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--aq-ink);
  font-family: var(--aq-font-head);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.aq-site-brand:hover { color: var(--aq-ink); }

.aq-site-brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--aq-brand), #6d8bff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 6px 16px -6px rgba(27, 92, 255, 0.65);
}

.aq-site-brand__mark svg { width: 19px; height: 19px; }

.aq-site-brand__text { display: inline-flex; flex-direction: column; line-height: 1.15; }

.aq-site-brand__tag {
  font-family: var(--aq-font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aq-subtle);
}

.aq-site-nav {
  display: none;
  margin-left: 22px;
  gap: 2px;
}

.aq-site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--aq-r-sm);
  color: var(--aq-muted);
  font-size: 0.93rem;
  font-weight: 600;
}

.aq-site-nav__link:hover { color: var(--aq-ink); background: var(--aq-bg); }

.aq-site-nav__link.is-active { color: var(--aq-brand); background: var(--aq-brand-050); }

.aq-site-header__actions {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
}

.aq-site-nav__toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: var(--aq-r-sm);
  border: 1px solid var(--aq-line);
  background: var(--aq-surface);
  color: var(--aq-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.aq-site-nav__toggle:hover { border-color: var(--aq-brand); color: var(--aq-brand); }
.aq-site-nav__toggle svg { width: 20px; height: 20px; }

.aq-site-drawer {
  display: none;
  border-top: 1px solid var(--aq-line);
  background: var(--aq-surface);
}

.aq-site-drawer.is-open { display: block; }

.aq-site-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  padding-bottom: 18px;
}

.aq-site-drawer__link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 8px;
  border-radius: var(--aq-r-sm);
  color: var(--aq-ink);
  font-weight: 600;
}

.aq-site-drawer__link.is-active { color: var(--aq-brand); }

.aq-site-drawer__actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

@media (min-width: 900px) {
  .aq-site-nav { display: flex; }
  .aq-site-header__actions { display: flex; }
  .aq-site-nav__toggle { display: none; }
  .aq-site-drawer { display: none !important; }
}

/* --------------------------------------------------------------------------
   Hero - dark command centre
   -------------------------------------------------------------------------- */

.aq-hero {
  position: relative;
  overflow: hidden;
  background: var(--aq-ink);
  color: #cfd9ec;
  padding: 60px 0 68px;
}

.aq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 52% at 78% 4%, rgba(27, 92, 255, 0.5), transparent 70%),
    radial-gradient(44% 44% at 8% 96%, rgba(255, 122, 24, 0.26), transparent 72%),
    linear-gradient(180deg, #0b1220 0%, #101a31 100%);
}

.aq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 78%);
  pointer-events: none;
}

.aq-hero > * { position: relative; z-index: 1; }

.aq-hero__grid {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr);
}

.aq-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--aq-r-pill);
  background: rgba(27, 92, 255, 0.2);
  border: 1px solid rgba(143, 176, 255, 0.4);
  color: #cfdcff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aq-hero__eyebrow svg { width: 15px; height: 15px; }

.aq-hero__title {
  color: #fff;
  font-size: clamp(2.05rem, 1.15rem + 3.3vw, 3.45rem);
  line-height: 1.07;
  letter-spacing: -0.032em;
  margin: 18px 0 0;
}

.aq-hero__lead {
  font-size: clamp(1rem, 0.95rem + 0.28vw, 1.12rem);
  color: #b6c4dd;
  max-width: 56ch;
  margin: 18px 0 0;
}

.aq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.aq-hero__actions .aq-btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.aq-hero__actions .aq-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
}

.aq-hero__trust {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #9fb0cb;
  font-size: 0.88rem;
}

.aq-hero__trust li { display: flex; align-items: center; gap: 9px; }

.aq-hero__trust svg { width: 17px; height: 17px; color: var(--aq-brand-300); flex: none; }

.aq-hero__note {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: #7f8faa;
}

@media (min-width: 1000px) {
  .aq-hero { padding: 76px 0 86px; }
  .aq-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: 56px; }
}

/* --------------------------------------------------------------------------
   Product mock - pure CSS dashboard preview
   -------------------------------------------------------------------------- */

.aq-mock {
  background: var(--aq-surface);
  border-radius: var(--aq-r-lg);
  overflow: hidden;
  color: var(--aq-text);
  box-shadow: 0 46px 90px -34px rgba(3, 8, 20, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.aq-mock__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  background: var(--aq-surface-2);
  border-bottom: 1px solid var(--aq-line);
}

.aq-mock__dots { display: flex; gap: 6px; flex: none; }

.aq-mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--aq-line-strong); }
.aq-mock__dot--red { background: #f2a0a0; }
.aq-mock__dot--amber { background: #f4cf8b; }
.aq-mock__dot--green { background: #9bd8b6; }

.aq-mock__url {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-r-pill);
  background: #fff;
  font-family: var(--aq-font-mono);
  font-size: 0.68rem;
  color: var(--aq-subtle);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.aq-mock__url svg { width: 13px; height: 13px; flex: none; }

.aq-mock__live {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--aq-success);
}

.aq-mock__body { display: grid; grid-template-columns: minmax(0, 1fr); }

.aq-mock__side {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  background: var(--aq-ink);
}

.aq-mock__sideitem {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.aq-mock__sideitem svg { width: 16px; height: 16px; }

.aq-mock__sideitem.is-on { background: rgba(27, 92, 255, 0.28); color: #a6c0ff; }

.aq-mock__main {
  padding: 14px;
  display: grid;
  gap: 11px;
  min-width: 0;
}

.aq-mock__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.aq-mock__tile {
  background: var(--aq-surface-2);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-r-sm);
  padding: 9px 10px;
  min-width: 0;
}

.aq-mock__tile-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--aq-subtle);
}

.aq-mock__tile-value {
  display: block;
  font-family: var(--aq-font-head);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--aq-ink);
  line-height: 1.35;
}

.aq-mock__tile-delta { display: block; font-size: 0.66rem; font-weight: 600; color: var(--aq-success); }

.aq-mock__panel {
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-r-sm);
  padding: 11px 12px 8px;
  background: #fff;
  min-width: 0;
}

.aq-mock__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--aq-subtle);
  margin-bottom: 4px;
}

.aq-mock__chart .aq-bars { height: 116px; gap: 7px; }
.aq-mock__chart .aq-bars__col { height: 100%; }
.aq-mock__chart .aq-bars__bar { max-width: 22px; }

.aq-mock__chart .aq-bars__col:nth-child(1) .aq-bars__bar { height: 42%; }
.aq-mock__chart .aq-bars__col:nth-child(2) .aq-bars__bar { height: 58%; }
.aq-mock__chart .aq-bars__col:nth-child(3) .aq-bars__bar { height: 48%; }
.aq-mock__chart .aq-bars__col:nth-child(4) .aq-bars__bar { height: 71%; }
.aq-mock__chart .aq-bars__col:nth-child(5) .aq-bars__bar { height: 63%; }
.aq-mock__chart .aq-bars__col:nth-child(6) .aq-bars__bar { height: 82%; }
.aq-mock__chart .aq-bars__col:nth-child(7) .aq-bars__bar { height: 94%; }

.aq-mock__rows { display: grid; }

.aq-mock__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--aq-line);
  font-size: 0.74rem;
}

.aq-mock__row:first-child { border-top: 0; }

.aq-mock__row strong {
  font-weight: 600;
  color: var(--aq-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aq-mock__row span { color: var(--aq-muted); font-variant-numeric: tabular-nums; }

.aq-mock__caption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.76rem;
  color: #7f8faa;
}

@media (min-width: 520px) {
  .aq-mock__body { grid-template-columns: 54px minmax(0, 1fr); }
  .aq-mock__side { display: flex; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.aq-section { padding: 68px 0; }
.aq-section--tight { padding: 44px 0; }
.aq-section--soft { background: var(--aq-surface); }
.aq-section--dark { background: var(--aq-ink); color: #c3cfe4; }
.aq-section--dark h2,
.aq-section--dark h3 { color: #fff; }

.aq-section__head { max-width: 720px; margin-bottom: 38px; }
.aq-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.aq-section__eyebrow {
  color: var(--aq-brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.aq-section__title {
  font-size: clamp(1.65rem, 1.15rem + 1.6vw, 2.35rem);
  margin: 10px 0 0;
  letter-spacing: -0.025em;
}

.aq-section__lead { color: var(--aq-muted); margin: 12px 0 0; font-size: 1.01rem; }

.aq-section--dark .aq-section__lead { color: #9fb0cb; }
.aq-section--dark .aq-section__eyebrow { color: var(--aq-brand-300); }

/* --------------------------------------------------------------------------
   Proof strip
   -------------------------------------------------------------------------- */

.aq-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.aq-strip__item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-r);
  box-shadow: var(--aq-sh-xs);
}

.aq-strip__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--aq-r-sm);
  background: var(--aq-brand-050);
  color: var(--aq-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.aq-strip__icon svg { width: 19px; height: 19px; }

.aq-strip__item strong { display: block; font-family: var(--aq-font-head); font-size: 0.97rem; color: var(--aq-ink); }
.aq-strip__item span { font-size: 0.86rem; color: var(--aq-muted); }

/* --------------------------------------------------------------------------
   Feature grid
   -------------------------------------------------------------------------- */

.aq-features {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.aq-feature {
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-r);
  padding: 22px;
  box-shadow: var(--aq-sh-xs);
  transition: transform var(--aq-t) var(--aq-ease), box-shadow var(--aq-t) var(--aq-ease);
}

.aq-feature:hover { transform: translateY(-3px); box-shadow: var(--aq-sh); }

.aq-feature__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--aq-brand-050);
  color: var(--aq-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.aq-feature__icon svg { width: 20px; height: 20px; }

.aq-feature__title { font-size: 1.02rem; margin: 0 0 7px; }
.aq-feature__text { color: var(--aq-muted); font-size: 0.92rem; margin: 0; }

.aq-feature__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.aq-feature__list li { display: flex; gap: 9px; font-size: 0.89rem; color: var(--aq-muted); }

.aq-feature__list svg { width: 16px; height: 16px; color: var(--aq-success); flex: none; margin-top: 3px; }

.aq-section--dark .aq-feature {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.aq-section--dark .aq-feature:hover { background: rgba(255, 255, 255, 0.075); }
.aq-section--dark .aq-feature__text { color: #9fb0cb; }
.aq-section--dark .aq-feature__icon { background: rgba(27, 92, 255, 0.22); color: #a9c2ff; }

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */

.aq-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
}

.aq-statline {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--aq-r);
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
}

.aq-statline__value {
  font-family: var(--aq-font-head);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.35rem);
  font-weight: 600;
  color: var(--aq-ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.aq-statline__label { font-size: 0.87rem; color: var(--aq-muted); margin-top: 6px; }

.aq-section--dark .aq-statline {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
}

.aq-section--dark .aq-statline__value { color: #fff; }
.aq-section--dark .aq-statline__label { color: #93a4bf; }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.aq-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.aq-step {
  position: relative;
  flex: 0 1 212px;
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-r);
  padding: 24px 20px 20px;
  box-shadow: var(--aq-sh-xs);
}

.aq-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--aq-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--aq-font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 13px;
  box-shadow: 0 8px 18px -10px rgba(27, 92, 255, 0.9);
}

.aq-step__title { font-size: 1rem; margin: 0 0 6px; }
.aq-step__text { font-size: 0.9rem; color: var(--aq-muted); margin: 0; }

/* --------------------------------------------------------------------------
   Pricing cards
   -------------------------------------------------------------------------- */

.aq-plans {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(278px, 1fr));
  align-items: stretch;
}

/* Five plans read better as centred rows than as a stretched grid. */
.aq-plans--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.aq-plans--row .aq-plan { flex: 0 1 340px; }

.aq-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-r-lg);
  padding: 26px 24px;
  box-shadow: var(--aq-sh-xs);
}

.aq-plan--featured {
  border: 2px solid var(--aq-accent);
  box-shadow: var(--aq-sh-lg);
}

.aq-plan__badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--aq-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: var(--aq-r-pill);
  box-shadow: 0 8px 18px -10px rgba(255, 122, 24, 0.95);
}

.aq-plan__model {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aq-brand);
}

.aq-plan__name { font-size: 1.12rem; margin: 6px 0 0; }

.aq-plan__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.aq-plan__amount {
  font-family: var(--aq-font-head);
  font-size: 2.05rem;
  font-weight: 600;
  color: var(--aq-ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

.aq-plan__unit { font-size: 0.83rem; color: var(--aq-muted); }

.aq-plan__desc { font-size: 0.9rem; color: var(--aq-muted); margin: 12px 0 0; }

.aq-plan__features {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  flex: 1 1 auto;
}

.aq-plan__features li { display: flex; gap: 9px; font-size: 0.89rem; color: var(--aq-text); }

.aq-plan__features svg { width: 16px; height: 16px; color: var(--aq-success); flex: none; margin-top: 3px; }

.aq-plan__meta {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--aq-line);
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
}

.aq-plan__meta-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.aq-plan__meta-k { color: var(--aq-muted); }
.aq-plan__meta-v { font-weight: 600; color: var(--aq-ink); text-align: right; }

.aq-plan__cta { margin-top: 20px; }

.aq-plans-note {
  margin: 22px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--aq-muted);
}

.aq-plans-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */

.aq-compare {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-r);
}

.aq-compare table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

.aq-compare th,
.aq-compare td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--aq-line);
  text-align: left;
  font-size: 0.89rem;
  vertical-align: top;
}

.aq-compare thead th {
  background: var(--aq-surface-2);
  font-family: var(--aq-font-head);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--aq-ink);
  border-bottom: 1px solid var(--aq-line-strong);
  white-space: nowrap;
}

.aq-compare tbody tr:last-child th,
.aq-compare tbody tr:last-child td { border-bottom: 0; }

.aq-compare__label { color: var(--aq-muted); font-weight: 600; white-space: nowrap; }

.aq-compare__head--featured { background: var(--aq-accent-050); }
.aq-compare__cell--featured { background: rgba(255, 122, 24, 0.05); }

.aq-compare__yes { color: var(--aq-success); display: inline-flex; }
.aq-compare__yes svg { width: 17px; height: 17px; }
.aq-compare__no { color: var(--aq-line-strong); }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.aq-faq { display: grid; gap: 12px; max-width: 880px; }

.aq-faq__item {
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-r);
  overflow: hidden;
}

.aq-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  min-height: 56px;
  cursor: pointer;
  list-style: none;
  font-family: var(--aq-font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--aq-ink);
}

.aq-faq__q::-webkit-details-marker { display: none; }
.aq-faq__q::marker { content: ""; }
.aq-faq__q:hover { color: var(--aq-brand); }
.aq-faq__q:focus-visible { outline: 2px solid var(--aq-brand); outline-offset: -3px; }

.aq-faq__mark {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--aq-bg);
  color: var(--aq-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--aq-t) var(--aq-ease), background-color var(--aq-t) var(--aq-ease);
}

.aq-faq__mark svg { width: 15px; height: 15px; }

.aq-faq__item[open] .aq-faq__mark {
  transform: rotate(180deg);
  background: var(--aq-brand-050);
  color: var(--aq-brand);
}

.aq-faq__a { padding: 0 20px 18px; color: var(--aq-muted); font-size: 0.94rem; }
.aq-faq__a p { margin: 0 0 0.7rem; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.aq-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--aq-brand-700), var(--aq-brand) 48%, #5a83ff);
  color: #fff;
  border-radius: var(--aq-r-xl);
  padding: 48px 30px;
  text-align: center;
  box-shadow: var(--aq-sh-lg);
}

.aq-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(46% 60% at 50% 0%, rgba(255, 255, 255, 0.26), transparent 70%);
  pointer-events: none;
}

.aq-cta > * { position: relative; }

.aq-cta__title { color: #fff; font-size: clamp(1.55rem, 1.15rem + 1.4vw, 2.15rem); margin: 0; letter-spacing: -0.025em; }

.aq-cta__text { color: rgba(255, 255, 255, 0.88); max-width: 62ch; margin: 14px auto 0; }

.aq-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.aq-cta .aq-btn--secondary {
  background: #fff;
  border-color: #fff;
  color: var(--aq-brand-700);
}

.aq-cta .aq-btn--secondary:hover { background: #eef3ff; border-color: #eef3ff; color: var(--aq-brand-700); }

.aq-cta .aq-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.aq-cta .aq-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */

.aq-pagehead-band {
  background: var(--aq-surface);
  border-bottom: 1px solid var(--aq-line);
  padding: 52px 0 46px;
}

.aq-pagehead-band__title { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.7rem); margin: 0; letter-spacing: -0.03em; }
.aq-pagehead-band__lead { color: var(--aq-muted); font-size: 1.04rem; margin: 14px 0 0; max-width: 66ch; }

.aq-pagehead-band__eyebrow {
  color: var(--aq-brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.aq-pagehead-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.aq-modelchips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.aq-modelchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--aq-r-pill);
  border: 1px solid var(--aq-line);
  background: var(--aq-surface);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--aq-ink);
}

.aq-modelchip svg { width: 16px; height: 16px; color: var(--aq-brand); }

/* --------------------------------------------------------------------------
   CMS page
   -------------------------------------------------------------------------- */

.aq-pagehero {
  background: var(--aq-ink);
  color: #c3cfe4;
  padding: 54px 0 50px;
  position: relative;
  overflow: hidden;
}

.aq-pagehero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(52% 70% at 82% 0%, rgba(27, 92, 255, 0.38), transparent 70%);
}

.aq-pagehero > * { position: relative; z-index: 1; }

.aq-pagehero__title { color: #fff; font-size: clamp(1.9rem, 1.35rem + 2.1vw, 2.85rem); margin: 0; letter-spacing: -0.03em; }
.aq-pagehero__lead { color: #a9b8d1; font-size: 1.02rem; margin: 14px 0 0; max-width: 68ch; }

.aq-prose { max-width: 780px; color: var(--aq-text); }
.aq-prose h2 { margin-top: 1.7em; font-size: 1.5rem; }
.aq-prose h3 { margin-top: 1.4em; font-size: 1.14rem; }
.aq-prose ul,
.aq-prose ol { padding-left: 1.25rem; }
.aq-prose li { margin-bottom: 0.35rem; }
.aq-prose a { text-decoration: underline; text-underline-offset: 2px; }
.aq-prose img { border-radius: var(--aq-r); }
.aq-prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.aq-prose th,
.aq-prose td { border: 1px solid var(--aq-line); padding: 10px 12px; text-align: left; }
.aq-prose th { background: var(--aq-surface-2); }
.aq-prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--aq-brand);
  color: var(--aq-muted);
}

.aq-sec { padding: 52px 0; }
.aq-sec--light { background: var(--aq-surface); }
.aq-sec--soft { background: var(--aq-bg); }
.aq-sec--dark { background: var(--aq-ink); color: #c3cfe4; }
.aq-sec--dark h2,
.aq-sec--dark h3 { color: #fff; }
.aq-sec--brand { background: linear-gradient(135deg, var(--aq-brand-700), var(--aq-brand)); color: #fff; }
.aq-sec--brand h2,
.aq-sec--brand h3 { color: #fff; }

.aq-sec__head { max-width: 740px; margin-bottom: 30px; }
.aq-sec__title { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2rem); margin: 0; letter-spacing: -0.025em; }
.aq-sec__subtitle { color: var(--aq-muted); margin: 10px 0 0; font-size: 1rem; }
.aq-sec--dark .aq-sec__subtitle { color: #9fb0cb; }
.aq-sec--brand .aq-sec__subtitle { color: rgba(255, 255, 255, 0.85); }
.aq-sec__body { max-width: 800px; }
.aq-sec--dark .aq-sec__body { color: #b3c1d8; }
.aq-sec--brand .aq-sec__body { color: rgba(255, 255, 255, 0.9); }

.aq-sec__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.aq-sec__features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  margin-top: 26px;
}

.aq-sec__feature {
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-r);
  padding: 18px 20px;
}

.aq-sec__feature h3 { font-size: 0.99rem; margin: 0 0 6px; }
.aq-sec__feature p { font-size: 0.89rem; color: var(--aq-muted); margin: 0; }

.aq-sec--dark .aq-sec__feature { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.aq-sec--dark .aq-sec__feature h3 { color: #fff; }
.aq-sec--dark .aq-sec__feature p { color: #9fb0cb; }
.aq-sec--brand .aq-sec__feature { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22); }
.aq-sec--brand .aq-sec__feature h3 { color: #fff; }
.aq-sec--brand .aq-sec__feature p { color: rgba(255, 255, 255, 0.85); }

.aq-sec__stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 26px;
}

.aq-sec__stat {
  text-align: center;
  padding: 20px 14px;
  border-radius: var(--aq-r);
  background: var(--aq-brand-050);
}

.aq-sec__stat b {
  display: block;
  font-family: var(--aq-font-head);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--aq-brand-700);
  letter-spacing: -0.02em;
}

.aq-sec__stat span { font-size: 0.85rem; color: var(--aq-muted); }

.aq-sec--dark .aq-sec__stat { background: rgba(255, 255, 255, 0.06); }
.aq-sec--dark .aq-sec__stat b { color: #fff; }
.aq-sec--dark .aq-sec__stat span { color: #9fb0cb; }
.aq-sec--brand .aq-sec__stat { background: rgba(255, 255, 255, 0.14); }
.aq-sec--brand .aq-sec__stat b { color: #fff; }
.aq-sec--brand .aq-sec__stat span { color: rgba(255, 255, 255, 0.85); }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.aq-contact {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
}

.aq-contact__card {
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-r);
  padding: 24px;
  box-shadow: var(--aq-sh-xs);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aq-contact__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--aq-brand-050);
  color: var(--aq-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.aq-contact__icon svg { width: 20px; height: 20px; }

.aq-contact__title { font-size: 1.02rem; margin: 0; }
.aq-contact__text { font-size: 0.92rem; color: var(--aq-muted); margin: 0; }
.aq-contact__value { font-size: 0.95rem; font-weight: 600; word-break: break-word; }
.aq-contact__link { font-weight: 600; }

.aq-contact__panel {
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-r-lg);
  padding: 30px;
  box-shadow: var(--aq-sh);
}

.aq-contact__panel h2 { font-size: 1.45rem; margin: 0 0 10px; }
.aq-contact__panel p { color: var(--aq-muted); margin: 0 0 22px; max-width: 62ch; }
.aq-contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.aq-site-footer {
  background: var(--aq-ink);
  color: #a4b1c8;
  padding: 54px 0 0;
  margin-top: 0;
}

.aq-site-footer__grid {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(208px, 1fr));
  padding-bottom: 38px;
}

.aq-site-footer__title {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.aq-site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }

.aq-site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: #a4b1c8;
  font-size: 0.9rem;
}

.aq-site-footer__links a:hover { color: #fff; }
.aq-site-footer__links svg { width: 15px; height: 15px; flex: none; opacity: 0.75; }

.aq-site-footer__contact { display: grid; gap: 12px; font-size: 0.9rem; }

.aq-site-footer__contact p { display: flex; align-items: flex-start; gap: 10px; margin: 0; }

.aq-site-footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: #6f7f9b; }

.aq-site-footer__contact a { color: #cfd9ec; padding: 4px 0; }
.aq-site-footer__contact a:hover { color: #fff; }

.aq-site-footer__blurb { font-size: 0.9rem; margin: 12px 0 18px; max-width: 34ch; }

.aq-site-footer__cta { display: grid; gap: 10px; }

.aq-site-footer__bottom {
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #7b8aa4;
}

.aq-site-footer__bottom p { margin: 0; }
.aq-site-footer__bottom a { color: #9fb0cb; display: inline-flex; align-items: center; min-height: 44px; }
.aq-site-footer__bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Responsive tweaks
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
  .aq-section { padding: 52px 0; }
  .aq-hero { padding: 44px 0 52px; }
  .aq-plan { padding: 24px 20px; }
  .aq-cta { padding: 38px 20px; }
  .aq-site-footer__grid { gap: 28px; }
  .aq-mock__tiles { gap: 6px; }
  .aq-mock__tile-value { font-size: 0.94rem; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

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

  .aq-feature:hover { transform: none; }
  .aq-faq__item[open] .aq-faq__mark { transform: none; }
}
