/*
 * small-teams-page.css — /simple-project-management-software (Solutions > Small teams), AI agents shell.
 * 2026-12-01. Load after main.css, media.css, nav-dropdown.css, nav-mobile.css, ai-agents.css, ag-mobile.css,
 * template-gallery.css. Page shell: <main class="ag-page st-page">. Every selector starts with .ag-page.st-page.
 * The pieces are the buyer pages' components (assets/ag-buyer-pages.css on the buyer branch), carried over with
 * the same values under an st- prefix so this page does not depend on that file:
 *   .st-hero (crumbs, chip, title with accent span, lead, fine print, product window)
 *   .st-sec / --tint, .st-wrap, .st-head (eyebrow, title, sub), .st-btn (--dark --brand --ghost)
 *   .st-split (copy above, whole-window capture below at up to 1080px: the readability rule), .st-shot, .st-ticks
 *   .st-cards / .st-card, .st-plans / .st-plan, .st-steps, .st-table (stacks into cards under 700px),
 *   .tp-ggrid / .tp-gcard (template gallery cards; template-gallery.css draws them), .st-links, .st-faq, .st-cta
 */

/* ---------- shell ---------- */
.ag-page.st-page > section:not(.ag-hero):not(.ag-logos):not(.real-sec) { zoom: 1; }
.ag-page.st-page { background: #fff; color: #0e0e10; }
.ag-page.st-page section { margin: 0; }
.ag-page.st-page .st-sec *,
.ag-page.st-page .st-sec *::before,
.ag-page.st-page .st-sec *::after { box-sizing: border-box; }
.ag-page.st-page .st-sec :where(h2, h3, h4) { font-weight: 600; color: #0e0e10; }
.ag-page.st-page .st-sec :where(b, strong) { font-weight: 600; }
.ag-page.st-page .st-sec :where(img) { max-width: 100%; height: auto; }
.ag-page.st-page .st-sec :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
.ag-page.st-page .st-mono,
.ag-page.st-page .st-mono * { font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace !important; }

/* ---------- hero ---------- */
.ag-page.st-page .st-hero { position: relative; z-index: 20; margin-top: 0; }
@supports (overflow-x: clip) {
  .ag-page.st-page .st-hero { overflow-x: clip; overflow-y: visible; }
}
.ag-page.st-page .st-hero .ag-hero__copy { gap: 18px; margin-top: 36px; width: min(1040px, 100% - 32px); }
.ag-page.st-page .st-crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.2; color: #aab2cc; }
.ag-page.st-page .st-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.ag-page.st-page .st-crumbs li + li::before { content: "/"; color: #6b7391; }
.ag-page.st-page .st-crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 40px; color: #c9cfe6; text-decoration: none; }
.ag-page.st-page .st-crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ag-page.st-page .st-crumbs [aria-current] { color: #fff; }
.ag-page.st-page .st-hero__chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .20); font-size: 13px; font-weight: 500; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: #E4E2F5; }
.ag-page.st-page .st-hero .ag-hero__title { font-size: clamp(38px, 4.3vw, 72px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.ag-page.st-page .st-hero .ag-hero__title span { display: block; color: #c4b5fd; }
.ag-page.st-page .st-hero .ag-hero__lead { max-width: 720px; font-size: clamp(16px, 1.25vw, 19px); }
.ag-page.st-page .st-hero__fine { margin: 0; font-size: 13px; line-height: 1.5; color: #aab2cc; }
.ag-page.st-page .st-hero__fine a { color: #c4b5fd; text-decoration: underline; text-underline-offset: 3px; }
.ag-page.st-page .st-hero .ag-hero__product { width: min(1140px, 100% - 32px); margin-top: 44px; }
.ag-page.st-page .st-hero .ag-win__screens { aspect-ratio: auto; }
.ag-page.st-page .st-hero .ag-win__screens picture { display: block; }
.ag-page.st-page .st-hero .ag-win__screens img.is-on { position: relative; inset: auto; display: block; width: 100%; height: auto; }
.ag-page.st-page .st-hero .ag-hero__bar { font-size: max(12.5px, calc(14 * var(--u))); }
.ag-page.st-page .st-hero .ag-hero__bar-link { padding: 14px 0; margin: -14px 0; }
.ag-page.st-page .st-hero .ag-win__url { font-size: max(12px, calc(10.69 * var(--u))); }
@media (max-width: 600px) { .ag-page.st-page .st-hero .st-bar-long { display: none; } }

/* ---------- sections ---------- */
.ag-page.st-page .st-sec { padding-block: clamp(56px, 6vw, 96px); background: #fff; }
.ag-page.st-page .st-sec--tint { background: #f7f7fb; }
.ag-page.st-page .st-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.ag-page.st-page .st-head { max-width: 820px; margin: 0 auto clamp(28px, 3.2vw, 48px); text-align: center; }
.ag-page.st-page .st-eyebrow { margin: 0 0 12px; font-size: 13px; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: #6762fe; }
.ag-page.st-page .st-title { margin: 0; font-size: clamp(28px, 2.9vw, 44px); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; color: #0e0e10; text-wrap: balance; }
.ag-page.st-page .st-title span { color: #6d7988; }
.ag-page.st-page .st-sub { margin: 14px auto 0; max-width: 720px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: #55555f; }
.ag-page.st-page .st-sub a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
.ag-page.st-page .st-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(24px, 3vw, 40px); }

/* buttons outside the hero */
.ag-page.st-page .st-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent; font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .2s, transform .2s, box-shadow .2s; }
.ag-page.st-page .st-btn--dark { background: #0e0e14; color: #fff; }
.ag-page.st-page .st-btn--dark:hover { background: #2a2a33; color: #fff; }
.ag-page.st-page .st-btn--brand { background: #6762fe; color: #fff; }
.ag-page.st-page .st-btn--brand:hover { background: #524de8; color: #fff; }
.ag-page.st-page .st-btn--ghost { background: #fff; border-color: #c9d0d9; color: #0e0e10; }
.ag-page.st-page .st-btn--ghost:hover { background: #f3f4f6; color: #0e0e10; }
.ag-page.st-page .st-btn:focus-visible,
.ag-page.st-page .st-faq summary:focus-visible,
.ag-page.st-page .st-links a:focus-visible { outline: 2px solid #6762fe; outline-offset: 3px; }

/* ---------- copy + whole-window capture (readability rule: the capture is never squeezed into a column) ---------- */
.ag-page.st-page .st-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); width: 100%; max-width: 1080px; margin-inline: auto; }
.ag-page.st-page .st-split__copy { max-width: 820px; }
.ag-page.st-page .st-split__copy > * + * { margin-top: 16px; }
.ag-page.st-page .st-split__copy .st-title { font-size: clamp(26px, 2.4vw, 36px); }
.ag-page.st-page .st-split__copy p { font-size: 17px; line-height: 1.65; color: #33333b; }
.ag-page.st-page .st-split__copy a:not(.st-btn) { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
.ag-page.st-page .st-split + .st-split { margin-top: clamp(56px, 6vw, 88px); }
@media (min-width: 900.02px) {
  .ag-page.st-page .st-split__copy--cols { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px clamp(32px, 4.4vw, 64px); align-items: start; max-width: none; }
  .ag-page.st-page .st-split__copy--cols > * + * { margin-top: 0; }
  .ag-page.st-page .st-split__copy--cols > .st-eyebrow,
  .ag-page.st-page .st-split__copy--cols > .st-title { grid-column: 1 / -1; }
  .ag-page.st-page .st-split__copy--cols > .st-title { max-width: 860px; }
}
.ag-page.st-page .st-shot { display: block; margin: 0; border: 1px solid #e3e5ee; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 50px rgba(17, 17, 37, .10); }
.ag-page.st-page .st-shot img { display: block; width: 100%; height: auto; }
.ag-page.st-page .st-shot figcaption { padding: 12px 16px; border-top: 1px solid #e3e5ee; background: #fafafc; font-size: 14px; line-height: 1.5; color: #55555f; text-align: left; }
.ag-page.st-page .st-ticks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.55; color: #33333b; }
.ag-page.st-page .st-ticks li + li { margin-top: 10px; }
.ag-page.st-page .st-ticks li::before { content: ""; position: absolute; left: 4px; top: .42em; width: 12px; height: 7px; border-left: 2px solid #6762fe; border-bottom: 2px solid #6762fe; transform: rotate(-45deg); }
.ag-page.st-page .st-ticks a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cards, steps ---------- */
.ag-page.st-page .st-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ag-page.st-page .st-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid #e3e5ee; border-radius: 16px; background: #fff; }
.ag-page.st-page .st-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #f0efff; }
.ag-page.st-page .st-card__icon img { width: 24px; height: 24px; }
.ag-page.st-page .st-card h3 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.ag-page.st-page .st-card p { margin: 0; font-size: 16px; line-height: 1.6; color: #55555f; }
.ag-page.st-page .st-card a:not(.st-btn) { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }
.ag-page.st-page .st-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: st-step; }
.ag-page.st-page .st-steps > li { counter-increment: st-step; padding: 24px; border: 1px solid #e3e5ee; border-radius: 16px; background: #fff; }
.ag-page.st-page .st-steps > li::before { content: counter(st-step, decimal-leading-zero); display: block; margin-bottom: 12px; font-family: "Roboto Mono", ui-monospace, monospace !important; font-size: 14px; letter-spacing: .08em; color: #6762fe; }
.ag-page.st-page .st-steps h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.ag-page.st-page .st-steps p { margin: 0; font-size: 16px; line-height: 1.6; color: #55555f; }
.ag-page.st-page .st-steps a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Free and Pro (card values from the feature cards; Pro is tinted like the "is-us" pieces) ---------- */
.ag-page.st-page .st-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.ag-page.st-page .st-plan { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 32px); border: 1px solid #e3e5ee; border-radius: 16px; background: #fff; }
.ag-page.st-page .st-plan.is-us { border-color: #b9b5ff; background: #f6f5ff; }
.ag-page.st-page .st-plan h3 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.ag-page.st-page .st-plan__for { margin: 0; font-size: 15px; line-height: 1.5; color: #55555f; }
.ag-page.st-page .st-plan__price { margin: 0; font-size: 15px; line-height: 1.5; color: #55555f; }
.ag-page.st-page .st-plan__price b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: #0e0e10; }
.ag-page.st-page .st-plan .st-ticks { padding-top: 14px; border-top: 1px solid #e3e5ee; }
.ag-page.st-page .st-plan .st-btn { align-self: flex-start; margin-top: auto; }
.ag-page.st-page .st-plans__note { max-width: 760px; margin: 24px auto 0; font-size: 15px; line-height: 1.6; color: #55555f; text-align: center; }
.ag-page.st-page .st-plans__note a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- comparison table: a table from 700px, one card per row below ---------- */
.ag-page.st-page .st-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #e3e5ee; border-radius: 16px; overflow: hidden; background: #fff; font-size: 16px; line-height: 1.5; color: #33333b; table-layout: fixed; }
.ag-page.st-page .st-table caption { caption-side: bottom; padding-top: 12px; font-size: 13px; line-height: 1.5; color: #71717A; text-align: left; }
.ag-page.st-page .st-table :is(th, td) { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #e3e5ee; overflow-wrap: anywhere; }
.ag-page.st-page .st-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
.ag-page.st-page .st-table thead th { background: #f7f7fb; font-size: 14px; font-weight: 600; color: #0e0e10; }
.ag-page.st-page .st-table tbody th { font-weight: 600; color: #0e0e10; }
.ag-page.st-page .st-table .is-us { background: #f6f5ff; }
.ag-page.st-page .st-table thead .is-us { background: #eceaff; color: #3b36c9; }
@media (max-width: 699.98px) {
  .ag-page.st-page .st-table,
  .ag-page.st-page .st-table tbody,
  .ag-page.st-page .st-table tr,
  .ag-page.st-page .st-table :is(th, td),
  .ag-page.st-page .st-table caption { display: block; width: 100%; }
  .ag-page.st-page .st-table { border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .ag-page.st-page .st-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ag-page.st-page .st-table tbody tr { margin-bottom: 14px; border: 1px solid #e3e5ee; border-radius: 16px; background: #fff; overflow: hidden; }
  .ag-page.st-page .st-table tbody tr:last-child { margin-bottom: 0; }
  .ag-page.st-page .st-table tbody th { padding: 14px 16px; background: #f7f7fb; font-size: 17px; border-bottom: 1px solid #e3e5ee; }
  .ag-page.st-page .st-table tbody tr:last-child th { border-bottom: 1px solid #e3e5ee; }
  .ag-page.st-page .st-table tbody td { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding: 12px 16px; font-size: 15px; border-bottom: 1px solid #eef0f5; }
  .ag-page.st-page .st-table tbody tr td:last-child { border-bottom: 0; }
  .ag-page.st-page .st-table tbody td::before { content: attr(data-label); font-size: 13px; font-weight: 600; color: #71717A; }
}

/* ---------- template cards (template-gallery.css draws them; it scopes these values to .tp-page) ---------- */
.ag-page.st-page { --tp-ink: #0F0F14; --tp-ink-2: #4B5060; --tp-ink-3: #5B5F6B; --tp-line: #E4E5EA; --tp-line-2: #D5D7DE; --tp-soft: #F7F7F9; --tp-frame: #F1F2F5; --tp-brand: #4F46E5; --tp-brand-dk: #3730A3; --st-tp-gut: 24px; }
@media (max-width: 640px) { .ag-page.st-page { --st-tp-gut: 16px; } }
/* grid = the /template gallery's: a min(1240px, 100vw - 2*gutter) box centred on the viewport (breaks out of the
   1200px .st-wrap), auto-fill minmax(min(280px,100%),1fr), 24px gap. Cards then match /template:
   292x341 at 1440, 309x352 at 1024, 348x356 at 768, 358x362 at 390. 8 cards = 4 x 2 at 1440. */
.ag-page.st-page .tp-ggrid {
  --st-tp-box: min(1240px, calc(100vw - 2 * var(--st-tp-gut)));
  list-style: none; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 24px;
  width: var(--st-tp-box); max-width: none;
  margin: 0 calc((100% - var(--st-tp-box)) / 2);
}
.ag-page.st-page .tp-ggrid > li { min-width: 0; margin: 0; }
.ag-page.st-page .tp-pill { display: inline-block; padding: 4px 10px; border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.ag-page.st-page .tp-gcard__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; color: var(--tp-ink); }
/* 40px tap target; the -8px margins keep the card exactly as tall as the gallery's */
.ag-page.st-page .tp-gcard__title a { display: inline-flex; align-items: center; min-height: 40px; padding-block: 8px; margin-block: -8px; box-sizing: border-box; color: var(--tp-ink); text-decoration: none; }
.ag-page.st-page .tp-gcard__title a:hover { color: var(--tp-brand); }
.ag-page.st-page .tp-gcard__title a:focus-visible { outline: 2px solid #6762fe; outline-offset: 2px; }
.ag-page.st-page .tp-gcard__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 11px 16px; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 600; color: var(--tp-ink); text-decoration: none; box-sizing: border-box; }
.ag-page.st-page .tp-gcard__btn:hover { background: #ECEAFF; color: var(--tp-ink); }
.ag-page.st-page .tp-gcard__btn--brand { background: var(--tp-brand); color: #fff; }
.ag-page.st-page .tp-gcard__btn--brand:hover { background: var(--tp-brand-dk); color: #fff; }
.ag-page.st-page .tp-gcard__desc { margin: 0; }
.ag-page.st-page .tp-gcard__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ag-page.st-page .st-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(24px, 3vw, 36px); }
.ag-page.st-page .st-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #dfe1ec; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; color: #0e0e10; text-decoration: none; transition: border-color .2s, color .2s; }
.ag-page.st-page .st-links a:hover { border-color: #6762fe; color: #6762fe; }
.ag-page.st-page .st-links__label { width: 100%; margin: 0 0 4px; font-size: 14px; font-weight: 600; color: #55555f; text-align: center; }

/* ---------- FAQ ---------- */
.ag-page.st-page .st-faq__list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; border-top: 1px solid #c9d0d9; }
.ag-page.st-page .st-faq details { border-bottom: 1px solid #c9d0d9; }
.ag-page.st-page .st-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 44px; padding: 22px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 500; line-height: 1.4; color: #0e0e14; }
.ag-page.st-page .st-faq summary::-webkit-details-marker { display: none; }
.ag-page.st-page .st-faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: 1; color: #6762fe; transition: transform .2s; }
.ag-page.st-page .st-faq details[open] summary::after { transform: rotate(45deg); }
.ag-page.st-page .st-faq summary h3 { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; }
.ag-page.st-page .st-faq details p { max-width: 820px; margin: 0; padding: 0 40px 24px 0; font-size: 16px; line-height: 1.65; color: #55555f; }
.ag-page.st-page .st-faq details p a { color: #6762fe; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- closing CTA band ---------- */
.ag-page.st-page .st-cta { padding-block: 24px clamp(64px, 7vw, 112px); }
.ag-page.st-page .st-cta__banner { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); border-radius: 28px; background: #eef0ff; text-align: center; }
.ag-page.st-page .st-cta .st-eyebrow { margin: 0; }
.ag-page.st-page .st-cta__title { margin: 0; max-width: 900px; font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; color: #0e0e10; text-wrap: balance; }
.ag-page.st-page .st-cta__lead { margin: 0; max-width: 680px; font-size: 18px; line-height: 1.55; color: #33333b; }
.ag-page.st-page .st-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 8px; }
.ag-page.st-page .st-cta__fine { margin: 0; font-size: 14px; line-height: 1.5; color: #55555f; }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  .ag-page.st-page .st-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ag-page.st-page .st-hero .ag-hero__copy { margin-top: 20px; gap: 16px; }
  .ag-page.st-page .st-hero .ag-hero__title { font-size: clamp(30px, 8.6vw, 46px); }
  .ag-page.st-page .st-hero .ag-hero__product { margin-top: 32px; }
  .ag-page.st-page .st-plans { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- phones ---------- */
@media (max-width: 600px) {
  .ag-page.st-page .st-cards { grid-template-columns: minmax(0, 1fr); }
  .ag-page.st-page .st-cta__actions .st-btn,
  .ag-page.st-page .st-center .st-btn,
  .ag-page.st-page .st-plan .st-btn { width: 100%; }
  .ag-page.st-page .st-cta__actions { width: 100%; }
  .ag-page.st-page .st-cta__banner { border-radius: 20px; }
  .ag-page.st-page .st-faq summary { font-size: 16px; padding: 18px 0; }
  .ag-page.st-page .st-faq details p { padding-right: 0; font-size: 15px; }
  .ag-page.st-page .st-split__copy p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-page.st-page .st-btn, .ag-page.st-page .st-links a, .ag-page.st-page .st-faq summary::after { transition: none; }
}
