/* aginteract.com company page (Design spec AGI-134, built on AGI-155). AgInteract's own look:
   token values copied from src/styles/tokens.css, recipes as agi-wordmark, agi-eyebrow, agi-btn.
   Fonts are self-hosted (latin only): no requests to other sites. */
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/source-serif-4-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/source-serif-4-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/source-sans-3-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/source-sans-3-latin-700-normal.woff2) format('woff2'); }

:root {
  --ground: #f6f8f3; --surface: #fff; --ink: #173d1a; --ink-muted: #34503a; --forest: #2f6a31;
  --forest-strong: #1e5a22; --earth: #6b4f2a; --leaf-tint: #eef4ec; --line: #2f6a3138; --focus-ring: #1f5fbf;
  --serif: 'Source Serif 4', Georgia, serif; --sans: 'Source Sans 3', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 22px; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 600; color: var(--ink); }
p { margin: 0; }

.co-header { display: flex; align-items: center; min-height: 60px; padding: 0 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.co-wordmark { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.2px; color: var(--ink); }
.co-wordmark img { width: 32px; height: 32px; display: block; }

.co-main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 24px 16px 40px; }
.co-main h1 { max-width: 720px; margin-bottom: 20px; font-weight: 700; font-size: 30px; line-height: 34px; }

.co-cards { display: flex; flex-direction: column; gap: 12px; }
.co-card { display: flex; flex-direction: column; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.co-eyebrow { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--earth); }
.co-card__name { display: flex; align-items: center; gap: 8px; min-height: 32px; margin-top: 8px; font-size: 24px; line-height: 32px; }
.co-card__name img { width: 32px; height: 32px; display: block; }
.co-card__text { margin-top: 8px; max-width: 680px; font-size: 17px; line-height: 26px; color: var(--ink-muted); }

.co-btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 6px; min-height: 48px; margin-top: auto; padding: 0 20px; border: 2px solid var(--forest); border-radius: 8px; background: var(--forest); color: #fff; font-size: 16px; line-height: 20px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.co-card__text { margin-bottom: 16px; }
.co-btn:hover { background: var(--forest-strong); border-color: var(--forest-strong); color: #fff; }
.co-btn--secondary { background: var(--surface); color: var(--forest); }
.co-btn--secondary:hover { background: var(--leaf-tint); border-color: var(--forest); color: var(--forest-strong); }
.co-icon { width: 20px; height: 20px; flex-shrink: 0; }

.co-block { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.co-block--first { margin-top: 32px; }
.co-block > * { max-width: 680px; }
.co-block h2 { margin-bottom: 12px; font-size: 24px; line-height: 30px; }
.co-block p { font-size: 17px; line-height: 26px; color: var(--ink); }
.co-block a { color: var(--forest-strong); text-decoration: underline; text-underline-offset: 3px; }
/* 44px tap area for the email links without moving the text (the site's fix 1 technique). */
.co-block a { position: relative; display: inline-block; padding-block: 9px; margin-block: -9px; }
.co-block--quiet a { padding-block: 11px; margin-block: -11px; }
.co-block--quiet p { font-size: 15px; line-height: 22px; color: var(--ink-muted); }

.co-footer { padding: 24px 20px; background: var(--surface); border-top: 1px solid var(--line); }
.co-footer nav { display: flex; gap: 8px; max-width: 1120px; margin: 0 auto; }
.co-footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--ink); font-size: 15px; text-decoration: none; }
.co-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 768px) {
  .co-main { padding: 48px 24px 48px; }
  .co-main h1 { margin-bottom: 28px; font-size: 40px; line-height: 44px; }
  .co-cards { flex-direction: row; gap: 16px; }
  .co-card { flex: 1 1 0; }
  .co-btn { display: inline-flex; width: auto; align-self: flex-start; }
  .co-block--first { margin-top: 40px; }
}
