/*
 * pricing-page.css — /pricing in the AI agents design (dark hero, ag-nav header), 2026-12-01.
 * Loaded after ai-agents.css + ag-mobile.css. The page's own <style> blocks (plan cards,
 * comparison tables, FAQ) are unchanged; this file only styles the dark hero and makes the
 * rest sit right inside .ag-page. Never edit ai-agents.css for this page: put fixes here.
 */

/* ---------- hero ---------- */
/* The menus open below the header: the hero is short, so they must not be clipped by it,
   and they must paint above the plan cards. */
.ag-page.pricing-page .pr-hero { position: relative; z-index: 20; margin-top: 0; } /* the page's own 'section{margin-top:64px}' is for the sections below */
.pricing-page .pr-hero .ag-hero__stage { padding-bottom: 56px; }
/* sideways the hero still clips; only downwards is it open for the menus */
@supports (overflow-x: clip) {
  .ag-page.pricing-page .pr-hero { overflow-x: clip; overflow-y: visible; }
}
.pricing-page .pr-hero__copy { gap: 18px; margin-top: 44px; }

/* guarantee chip, outlined for the dark background */
.pricing-page .pr-hero .gtag {
  margin: 0; padding: 5px 14px; font-size: 13px; font-weight: 600; letter-spacing: 0;
  background: rgba(52, 211, 153, .10); border: 1px solid rgba(110, 231, 183, .45); color: #86EFC5;
}

/* H1: one line, the accent word in the home page's lavender */
.pricing-page .pr-hero .ag-hero__title { font-size: clamp(38px, 5vw, 68px); line-height: 1.05; }
.pricing-page .pr-hero .ag-hero__title span { display: inline; }
.pricing-page .pr-hero .ag-hero__lead { max-width: 640px; }

/* "Included in every plan" + the artifact chips */
.pricing-page .pr-hero .arts { margin: 6px auto 0; max-width: 880px; }
.pricing-page .pr-hero .arts-h { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.pricing-page .pr-hero .arts li {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .20); color: #E4E2F5;
  padding: 5px 13px; font-size: 13px; line-height: 1.4;
}

/* Monthly / Yearly switch on dark: a glass track, the chosen side is white */
.pricing-page .pr-hero .toggle {
  margin: 10px 0 0; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
}
.pricing-page .pr-hero .toggle button {
  min-height: 40px; padding: 8px 20px; font-size: 14px; font-weight: 600; color: #D5DCF0;
}
.pricing-page .pr-hero .toggle button:hover { color: #fff; }
.pricing-page .pr-hero .toggle button.on { background: #fff; color: #101014; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.pricing-page .pr-hero .toggle button.on:hover { color: #101014; }
.pricing-page .pr-hero .toggle .save { font-size: 12px; color: #86EFC5; }
.pricing-page .pr-hero .toggle button.on .save { color: #0F7A4F; }
.pricing-page .pr-hero .toggle button:focus-visible { outline: 2px solid #B9AEFF; outline-offset: 2px; }

/* ---------- the light part ---------- */
.ag-page.pricing-page .page { padding-top: 56px; padding-bottom: 90px; }
/* the header's Pricing link (#pricing) lands on the plan cards */
.pricing-page .plans { scroll-margin-top: 32px; }

/* Inter ships in 300-700 here: the page's in-between weights would all round up to 700 */
.pricing-page .plan h3,
.pricing-page .price { font-weight: 700; }
.pricing-page .cta,
.pricing-page .compliance .c-link,
.pricing-page .per b,
.pricing-page ul.feat li b,
.pricing-page .arts-h { font-weight: 600; }
.pricing-page .per { font-weight: 500; }
.pricing-page .price .unit { font-weight: 500; }
.pricing-page .mbg,
.pricing-page .per .save,
.pricing-page .trust b { font-weight: 600; }

/* section headings in the home page's style: bold, tight, near-black (words unchanged) */
.ag-page.pricing-page h2.sec { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; color: #0e0e10; margin-bottom: 10px; }
.ag-page.pricing-page p.sub { font-size: 16px; }

/* the comparison table's deal tag ships [hidden]; it showed as an empty pill outside a deal */
.pricing-page .gtag[hidden] { display: none; }

/* ---------- phones ---------- */
@media (max-width: 660px) {
  .pricing-page .pr-hero .ag-hero__stage { padding-bottom: 40px; }
  .pricing-page .pr-hero__copy { margin-top: 28px; gap: 16px; }
  .pricing-page .pr-hero .ag-hero__title { font-size: clamp(34px, 10vw, 44px); }
  .pricing-page .pr-hero .toggle button { min-height: 44px; padding: 8px 16px; }
  /* 44px tap height for the bar link without making the bar taller */
  .pricing-page .pr-hero .ag-hero__bar-link { padding: 14px 0; margin: -14px 0; }
  .ag-page.pricing-page .page { padding-top: 40px; }
  .pricing-page .cta { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .pricing-page a.cta { display: flex; }
}

/* ---------- review fixes (2026-12-01) ---------- */
/* small grey lines in the plans area were #A1A1AA on white (2.6:1); #71717A is 4.8:1 */
.ag-page.pricing-page .alt,
.ag-page.pricing-page .inc,
.ag-page.pricing-page .note.fine { color: #71717A; }
/* Inter runs wider than DM Sans: keep each feature line on the line count it had before
   (13.2px wrapped "SSO, SAML and SCIM provisioning" at four columns and made every card 20px taller) */
.ag-page.pricing-page ul.feat li { font-size: 12.8px; letter-spacing: -0.02em; }
/* top bar: the longer half of the trial line is dropped on phones, as the old site-wide bar did */
@media (max-width: 600px) {
  .pricing-page .pr-hero .pr-bar-long { display: none; }
}
