/* AgentReady global product surfaces. */

:root {
  --agp-bg: #07111f;
  --agp-panel: #0d1828;
  --agp-panel-2: #101b31;
  --agp-line: #243247;
  --agp-line-soft: rgba(148, 163, 184, .24);
  --agp-text: #f8fafc;
  --agp-soft: #d6e2ea;
  --agp-muted: #96a7b8;
  --agp-accent: #22d3ee;
  --agp-blue: #38bdf8;
  --agp-green: #35d07f;
  --agp-amber: #fbbf24;
  --agp-red: #fb7185;
  --agp-ink: #04111f;
}

body.agp-body {
  background:
    radial-gradient(980px 420px at 82% -14%, rgba(34, 211, 238, .14), transparent 62%),
    linear-gradient(180deg, #07111f 0%, #0b1020 48%, #08111f 100%);
  color: var(--agp-text);
}

body.agp-body main {
  overflow-x: clip;
}

.agp-wrap {
  margin: 0 auto;
  width: min(1160px, calc(100% - 32px));
}

.agp-hero {
  padding: 56px 0 32px;
}

.agp-hero-grid,
.agp-split,
.agp-product-grid,
.agp-proof-grid,
.agp-price-grid,
.agp-doc-grid,
.agp-scan-grid {
  display: grid;
  gap: 18px;
}

.agp-hero-grid,
.agp-split {
  align-items: center;
}

@media (min-width: 900px) {
  .agp-hero-grid {
    grid-template-columns: 1.02fr .98fr;
  }

  .agp-split {
    grid-template-columns: .88fr 1.12fr;
  }

  .agp-product-grid,
  .agp-doc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .agp-proof-grid,
  .agp-price-grid,
  .agp-scan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.agp-kicker {
  background: rgba(34, 211, 238, .08);
  border: 1px solid rgba(34, 211, 238, .35);
  border-radius: 999px;
  color: #b9e7f5;
  display: inline-flex;
  font-size: .84rem;
  font-weight: 850;
  margin-bottom: 14px;
  padding: 6px 12px;
}

.agp-title {
  font-size: clamp(2.25rem, 5.5vw, 4.85rem);
  letter-spacing: 0;
  line-height: .98;
  margin: 0 0 18px;
  max-width: 980px;
}

.agp-subtitle {
  color: var(--agp-soft);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  margin: 0;
  max-width: 820px;
}

.agp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.agp-button {
  align-items: center;
  background: linear-gradient(135deg, var(--agp-accent), var(--agp-blue));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  color: var(--agp-ink);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.agp-button:hover {
  text-decoration: none;
}

.agp-button.secondary {
  background: #101b31;
  border-color: #263955;
  color: #dff7ff;
}

.agp-section {
  padding: 32px 0;
}

.agp-section-head {
  margin-bottom: 18px;
  max-width: 790px;
}

.agp-section-head h2,
.agp-card h2,
.agp-card h3 {
  color: #e6fbff;
  margin: 0 0 10px;
}

.agp-section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.agp-section-head p,
.agp-muted {
  color: var(--agp-muted);
}

.agp-card,
.agp-report,
.agp-terminal,
.agp-warning,
.agp-price {
  background: rgba(13, 24, 40, .84);
  border: 1px solid var(--agp-line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .18);
  padding: 20px;
}

.agp-card p,
.agp-card li,
.agp-price p,
.agp-price li {
  color: #cbd5e1;
}

.agp-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.agp-list li {
  margin: 8px 0;
}

.agp-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.agp-pill {
  background: #0d2330;
  border: 1px solid #214a57;
  border-radius: 999px;
  color: #d8eef6;
  font-size: .9rem;
  padding: 6px 10px;
}

.agp-report {
  overflow: hidden;
  padding: 0;
}

.agp-report-top {
  align-items: center;
  border-bottom: 1px solid var(--agp-line);
  color: #cbd5e1;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}

.agp-dots {
  display: flex;
  gap: 6px;
}

.agp-dot {
  background: #334155;
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

.agp-report-body {
  padding: 18px;
}

.agp-scoreline {
  align-items: flex-end;
  border-bottom: 1px solid #1e293b;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.agp-score {
  font-size: 3.2rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.agp-status {
  border-radius: 999px;
  display: inline-flex;
  font-size: .84rem;
  font-weight: 950;
  padding: 5px 10px;
}

.agp-fail {
  background: rgba(251, 113, 133, .12);
  border: 1px solid rgba(251, 113, 133, .38);
  color: #fecdd3;
}

.agp-pass {
  background: rgba(53, 208, 127, .12);
  border: 1px solid rgba(53, 208, 127, .38);
  color: #bbf7d0;
}

.agp-counts {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
}

.agp-count {
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.agp-count strong {
  display: block;
  font-size: 1.2rem;
}

.agp-finding {
  background: #07111f;
  border: 1px solid #1e293b;
  border-radius: 8px;
  margin-top: 10px;
  padding: 12px;
}

.agp-terminal {
  background: #020617;
  color: #e2f6ff;
  overflow: auto;
  white-space: pre;
}

.agp-warning {
  background: rgba(245, 158, 11, .08);
  border-color: rgba(245, 158, 11, .36);
  color: #fde68a;
}

.agp-flow {
  counter-reset: flow;
  display: grid;
  gap: 12px;
}

.agp-step {
  align-items: flex-start;
  background: rgba(8, 21, 36, .9);
  border: 1px solid #25344b;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr;
  padding: 14px;
}

.agp-step::before {
  background: #0d2330;
  border: 1px solid #245269;
  border-radius: 8px;
  color: #b9e7f5;
  content: counter(flow);
  counter-increment: flow;
  display: grid;
  font-weight: 950;
  height: 32px;
  place-items: center;
  width: 32px;
}

.agp-price strong {
  color: #e6fbff;
  display: block;
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.agp-price-value {
  color: #f8fafc;
  font-size: 2.2rem;
  font-weight: 950;
  letter-spacing: 0;
  margin: 8px 0;
}

.agp-compare {
  border: 1px solid var(--agp-line);
  border-radius: 8px;
  overflow: auto;
}

.agp-compare table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

.agp-compare th,
.agp-compare td {
  border-bottom: 1px solid var(--agp-line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.agp-compare th {
  background: #07111f;
  color: #b9e7f5;
  font-size: .86rem;
  text-transform: uppercase;
}

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

.agp-note {
  color: var(--agp-muted);
  font-size: .92rem;
  margin-top: 10px;
}

@media (max-width: 760px) {
  .agp-hero {
    padding-top: 42px;
  }

  .agp-scoreline {
    align-items: flex-start;
    flex-direction: column;
  }

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