/* AgentCentric type + brand. Display is Bodoni Moda (Didot), UI is IBM Plex Sans.
   Playfair Display + Inter were the previous stack — do not reintroduce them. */
@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;1,6..96,400;1,6..96,500&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --ac-serif: "Bodoni Moda", "Times New Roman", serif;
  --ac-sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --ac-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ac-gold: #c4a265;
}

html {
  font-family: var(--ac-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
p,
li,
input,
textarea,
select,
button,
a,
.ac-hero-sub,
.ac-desc,
.ac-btn-primary,
.ac-btn-ghost,
.ac-btn-dark,
.ac-btn-gold,
.ac-form-input,
.ac-form-select,
.ac-form-textarea,
.ac-form-submit,
.ac-faq-q,
.ac-faq-a,
.ac-c-cell,
.ac-marquee-item {
  font-family: var(--ac-sans) !important;
}

h1,
h2,
h3,
h4,
.ac-title,
.ac-hero h1,
.ac-feat-title,
.ac-feat-name,
.ac-feat-num,
.ac-offer-price,
.ac-stat-number,
.ac-bento-stat,
.ac-step-num,
.ac-idx-amount,
.ac-case-metric-num,
.ac-case-quote,
.ac-article h1,
.ac-article-lede,
.ac-article-body h2,
.ac-article-body h3,
.ac-post-card .pc-title,
.pf-hero h1,
.pf-item-name,
.pf-cta h2,
.pf-stat-v,
.fi-hero h1,
.ac-page-hero h1,
.ac-section h2,
.ac-section h3 {
  font-family: var(--ac-serif) !important;
  font-optical-sizing: auto;
  font-weight: 400;
}

.ac-nav-logo,
.ac-footer-logo,
.ac-footer-brand,
.ac-mobile-menu-logo,
.pf-nav-logo,
.pf-ft-logo,
.fi-nav-logo,
.fi-ft-logo,
.vz-logo {
  font-family: var(--ac-sans) !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  font-style: normal !important;
}

.ac-nav-logo em,
.ac-footer-logo em,
.ac-footer-brand em,
.ac-mobile-menu-logo em,
.pf-nav-logo em,
.pf-ft-logo em,
.fi-nav-logo em,
.fi-ft-logo em,
.vz-logo em {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: 500 !important;
  letter-spacing: inherit !important;
  color: var(--ac-gold) !important;
}

.ac-eyebrow,
.ac-hero-tag span,
.ac-kicker,
.ac-tpl-tag,
.ac-trust-bar,
.ac-swatch-hex {
  font-family: var(--ac-mono) !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ac-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.6rem;
  padding: 0.85rem 4%;
  background: #0a0a0a;
  border-top: 1px solid rgba(196, 162, 101, 0.12);
  border-bottom: 1px solid rgba(196, 162, 101, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.58rem;
  font-weight: 400;
}

.ac-trust-bar span {
  position: relative;
}

.ac-trust-bar span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.85rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ac-gold);
  transform: translateY(-50%);
  opacity: 0.7;
}

.ac-trust-bar.light {
  background: #f7f4ee;
  border-color: rgba(26, 24, 22, 0.08);
  color: #6b665e;
}

.ac-foundry {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 4%;
}

.ac-foundry img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}

.ac-foundry h2 {
  font-family: var(--ac-serif) !important;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.ac-foundry p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.ac-cred-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.ac-cred-list li {
  font-size: 0.92rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.ac-idx-proof {
  max-width: 1200px;
  margin: 0 auto;
}
.ac-idx-proof figure {
  margin: 0 0 1.5rem;
}
.ac-idx-frame picture,
.ac-idx-bview picture,
.ac-tpl-shot picture,
.ac-foundry picture,
.pf-browser picture {
  display: block;
  width: 100%;
}

.ac-idx-proof img,
.ac-idx-frame img,
.ac-idx-bview img,
.ac-tpl-shot img,
.pf-browser-img,
.ac-pb-content img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.ac-tpl-shot img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Featured-build screenshots are landscape. Never force a 4:3 box or scroll-stretch. */
.ac-pb-content {
  height: auto !important;
  overflow: hidden;
  position: relative;
}
.ac-pb-content img {
  position: static !important;
  animation: none !important;
  object-fit: contain !important;
}
.ac-idx-proof figcaption {
  font-family: var(--ac-mono) !important;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ac-gold);
  margin-top: 0.75rem;
}
.ac-idx-frame {
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ac-idx-proof-pair {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  align-items: start;
}
.ac-idx-proof.light .ac-idx-frame {
  background: #fff;
  border-color: rgba(26, 24, 22, 0.1);
}
.ac-idx-proof.light figcaption {
  color: #8b6b3d;
}

@media (max-width: 800px) {
  .ac-foundry {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ac-trust-bar span:not(:last-child)::after {
    display: none;
  }
  .ac-idx-proof-pair {
    grid-template-columns: 1fr;
  }
}
