/* Styles for listings/templates/listings/for_agents.html
   (moved out of an inline <style> block so browsers cache them). */

.ag-wrap { max-width: 880px; margin: 0 auto; padding: 8px 0 48px; }
.ag-hero {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 40px 32px 34px;
  border-radius: 24px;
  background: linear-gradient(150deg, #002A5C 0%, #064C8D 40%, #0B6FBF 75%, #1FA6F0 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 50px rgba(0, 42, 92, 0.28);
}
.ag-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.ag-glow-a { top: -120px; left: -90px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(31, 166, 240, 0.5), transparent 70%); }
.ag-glow-b { bottom: -110px; right: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255, 128, 0, 0.38), transparent 70%); }
.ag-hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.ag-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ag-title { margin: 0 0 14px; font-size: clamp(1.75rem, 5vw, 2.6rem); line-height: 1.12; font-weight: 800; color: #fff; }
.ag-title-accent {
  background: linear-gradient(90deg, #FFB25C, #FF8000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ag-lead { margin: 0 auto 18px; color: rgba(255, 255, 255, 0.88); font-size: 1.02rem; line-height: 1.6; }
.ag-hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.ag-hero-points li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  font-weight: 600;
}
.ag-hero-points span { color: #86efac; font-weight: 800; margin-right: 2px; }
.ag-cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ag-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ag-btn:hover { transform: translateY(-1px); }
.ag-btn:focus-visible { outline: 3px solid #FFB25C; outline-offset: 2px; }
.ag-btn-light { background: #fff; color: #002A5C; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.ag-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.55); }
.ag-signin { margin: 14px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
.ag-signin a { color: #fff; font-weight: 700; text-decoration: underline; }
.ag-note a { color: var(--link); font-weight: 600; }
.ag-end .ag-cta-row .btn-primary, .ag-end .ag-cta-row .btn-secondary { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; }

.ag-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 22px;
}
.ag-section { margin-top: 32px; }
.ag-pricing, .ag-see, .ag-end { margin-top: 28px; }
.ag-h2 { margin: 0 0 14px; font-size: 1.25rem; font-weight: 800; color: var(--text); }

.ag-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ag-ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); line-height: 1.45; }
.ag-tick {
  flex: 0 0 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dm-bg-dcfce7, #dcfce7);
  color: var(--dm-fg-166534, #166534);
  font-weight: 800;
  font-size: 0.85rem;
}
.ag-note { margin: 14px 0 0; color: var(--text-muted); font-size: 0.9rem; }

.ag-who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ag-who-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--card-sunken);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}
.ag-who-item span { font-size: 1.3rem; }

.ag-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ag-step { display: flex; gap: 14px; align-items: flex-start; }
.ag-step h3 { margin: 2px 0 4px; font-size: 1.02rem; color: var(--text); }
.ag-step p { margin: 0; color: var(--text-muted); line-height: 1.55; }
.ag-step-num {
  flex: 0 0 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0B6FBF;
  color: #fff;
  font-weight: 800;
}

.ag-see p { margin: 12px 0 0; color: var(--text-muted); line-height: 1.55; }
.ag-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-chip {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--card-sunken);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}
.ag-chip-ok { background: var(--dm-bg-dcfce7, #dcfce7); color: var(--dm-fg-166534, #166534); border-color: transparent; }

.ag-faq {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  padding: 0 16px;
  margin-bottom: 10px;
}
.ag-faq summary { padding: 14px 0; font-weight: 700; color: var(--text); cursor: pointer; }
.ag-faq p { margin: 0 0 14px; color: var(--text-muted); line-height: 1.55; }

.ag-end { text-align: center; }

@media (max-width: 560px) {
  .ag-hero { padding: 28px 20px 24px; border-radius: 20px; text-align: left; }
  .ag-hero-points { justify-content: flex-start; }
  .ag-cta-row { flex-direction: column; align-items: stretch; }
  .ag-who { grid-template-columns: 1fr; }
  .ag-card { padding: 18px 16px; }
}
