.ai-brief-page {
  --brief-ink: #14243a;
  --brief-muted: #63768f;
  --brief-line: rgba(114, 147, 178, 0.24);
  --brief-blue: #668fcd;
  --brief-teal: #58b8b0;
  --brief-paper: rgba(255, 255, 255, 0.86);
  color: var(--brief-ink);
  background:
    radial-gradient(circle at 14% 12%, rgba(139, 170, 218, 0.16), transparent 28rem),
    radial-gradient(circle at 84% 28%, rgba(140, 202, 182, 0.14), transparent 30rem),
    linear-gradient(155deg, #fbfcfd 0%, #f1f7f7 48%, #f7f5f1 100%);
}

.ai-brief-page .noise {
  opacity: 0.035;
  mix-blend-mode: multiply;
}

.ai-brief-page .topbar {
  border-bottom: 1px solid var(--brief-line);
  background: rgba(250, 253, 253, 0.9);
  box-shadow: 0 18px 54px rgba(76, 104, 133, 0.1);
  backdrop-filter: blur(22px) saturate(1.15);
}

.ai-brief-page .brand,
.ai-brief-page .topbar nav a,
.ai-brief-page .topbar .pill {
  color: var(--brief-ink);
}

.ai-brief-page .brand img {
  filter: drop-shadow(0 10px 20px rgba(74, 121, 156, 0.18));
}

.ai-brief-page .topbar nav a:hover {
  color: #287e91;
}

.brief-page-controls,
.brief-lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brief-page-controls {
  justify-self: end;
}

.brief-lang-switch {
  padding: 4px;
  border: 1px solid var(--brief-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.brief-lang-switch button {
  min-width: 38px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: var(--brief-muted);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.brief-lang-switch button[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(135deg, var(--brief-teal), var(--brief-blue));
  box-shadow: 0 8px 20px rgba(77, 135, 172, 0.24);
}

.ai-brief-page .pill {
  border-color: var(--brief-line);
  background: rgba(236, 247, 246, 0.84);
}

.ai-brief-page .sales-hero,
.ai-brief-page .section,
.ai-brief-page .premium-proof,
.ai-brief-page .checkout-grid {
  color: var(--brief-ink);
}

.ai-brief-page .ai-brief-hero .hero-copy,
.ai-brief-page .showcase-panel,
.ai-brief-page .product-card,
.ai-brief-page .ops-card,
.ai-brief-page .checkout-card,
.ai-brief-page .premium-copy {
  border-color: var(--brief-line);
  background: var(--brief-paper);
  box-shadow: 0 28px 80px rgba(71, 99, 126, 0.13);
}

.ai-brief-page .sales-grid .product-card {
  min-height: 0;
  justify-content: flex-start;
  gap: 14px;
}

.ai-brief-page .sales-grid .product-card p {
  margin-top: auto;
}

.ai-brief-page .ai-brief-hero .hero-copy {
  background:
    linear-gradient(90deg, rgba(116, 163, 195, 0.1) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(116, 163, 195, 0.1) 0 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 247, 246, 0.82));
  background-size: 72px 72px, 72px 72px, auto;
}

.ai-brief-page .ai-brief-hero .hero-copy::after {
  background: linear-gradient(90deg, transparent, rgba(88, 184, 176, 0.62));
  box-shadow:
    0 42px 0 rgba(102, 143, 205, 0.28),
    0 84px 0 rgba(178, 155, 205, 0.24);
}

.ai-brief-page h1,
.ai-brief-page h2,
.ai-brief-page h3,
.ai-brief-page strong,
.ai-brief-page .cockpit-route b {
  color: var(--brief-ink);
}

.ai-brief-page p,
.ai-brief-page em,
.ai-brief-page figcaption,
.ai-brief-page .ops-list span {
  color: var(--brief-muted);
}

.ai-brief-page .eyebrow,
.ai-brief-page .method-type,
.ai-brief-page small {
  color: #318a99;
}

.ai-brief-page .cockpit-status span,
.ai-brief-page .cockpit-grid span,
.ai-brief-page .cockpit-route span,
.ai-brief-page .trust-row span,
.ai-brief-page .signature-list span,
.ai-brief-page .holo-rail span,
.ai-brief-page .hud-panel {
  border-color: var(--brief-line);
  color: var(--brief-ink);
  background: rgba(255, 255, 255, 0.78);
}

.ai-brief-page .hero-actions a,
.ai-brief-page .primary-action,
.ai-brief-page .secondary-action {
  border-color: rgba(86, 145, 180, 0.3);
  color: var(--brief-ink);
  background: rgba(255, 255, 255, 0.8);
}

.ai-brief-page .primary-action {
  color: #fff;
  background: linear-gradient(135deg, #55b9b1, #628ed2);
  box-shadow: 0 14px 34px rgba(78, 137, 176, 0.25);
}

.ai-brief-page .showcase-panel {
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  background: linear-gradient(145deg, #f8fcfc, #edf5f7);
}

.ai-brief-page .showcase-panel > .brief-visual-base {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.98);
}

.ai-brief-page .brief-visual-motion {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.ai-brief-page .spatial-showcase::before {
  z-index: 2;
  border-color: rgba(102, 143, 205, 0.2);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(180deg, transparent 0 67%, rgba(232, 243, 245, 0.62));
}

.ai-brief-page .holo-rail,
.ai-brief-page .hud-panel,
.ai-brief-page .showcase-panel figcaption {
  z-index: 3;
}

.ai-brief-page .site-footer {
  border-top-color: var(--brief-line);
  color: var(--brief-muted);
  background: rgba(245, 249, 249, 0.72);
}

.ai-brief-page .site-footer a {
  color: var(--brief-ink);
}

@media (max-width: 920px) {
  .brief-page-controls {
    justify-self: stretch;
    justify-content: space-between;
  }
}

@media (max-width: 620px) {
  .ai-brief-page .topbar {
    gap: 12px;
  }

  .brief-page-controls {
    width: 100%;
  }

  .ai-brief-page .showcase-panel,
  .ai-brief-page .showcase-panel > .brief-visual-base {
    min-height: 28rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-brief-page .brief-visual-motion {
    display: none;
  }
}
