/* Agencies builds on the About and Why pages: same brand, navigation, sections,
   FAQ and closing panel. Only the agency-specific pieces live here. */
.agency-hero .why-hero-copy h1 span { color: var(--brand); }
.agency-hero-note { max-width: 470px; margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.agency-aside { margin-top: 6px; color: var(--muted); font-size: 16px; font-style: italic; line-height: 1.6; }

/* Roster figure: an illustrative dashboard, styled like the snapshot figures. */
.roster-list { margin: 0; padding: 0; list-style: none; border: 1px solid #d0d4df; background: #fff; box-shadow: 0 6px 18px #0d19290a; }
.roster-list li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 14px; }
.roster-list li + li { border-top: 1px solid var(--line); }
.roster-mark { display: grid; place-items: center; width: 34px; height: 34px; background: #eceef5; color: var(--ink); font-size: 13px; font-weight: 650; }
.roster-list strong { display: block; font-size: 13px; font-weight: 600; }
.roster-list li > div > span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.roster-status { padding: 4px 8px; font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.roster-status-ok { background: #eceef5; color: #515969; }
.roster-status-change { background: #eeefff; color: #3438c9; }
.roster-status-alert { background: #fff1f2; color: #be123c; }

/* Built for a roster: six features in the bordered grid. */
.agency-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.agency-feature-grid article { padding: 28px; background: #fff; }
.agency-feature-grid .principle-number { display: block; }
.agency-feature-grid h3 { margin-top: 18px; font-size: 21px; line-height: 1.3; letter-spacing: -.025em; font-weight: 500; }
.agency-feature-grid p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* The receipts: before/after mockup. */
.receipts-figure { padding: 20px; background: #eceef5; border: 1px solid var(--line); }
.receipts-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; color: var(--muted); font-size: 11px; font-weight: 600; }
.receipts-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.receipts-shot { padding: 16px; background: #fff; border: 1px solid #d0d4df; }
.receipts-shot-after { border-color: #9699ff; }
.receipts-date { margin-bottom: 14px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.receipts-shot-after .receipts-date { color: #3438c9; }
.bar { height: 7px; margin-bottom: 7px; background: #e3e6ed; }
.bar-head { height: 12px; margin-bottom: 12px; background: var(--ink); }
.bar-cta { width: 92px; height: 22px; margin-top: 16px; background: var(--brand); }
.bar-changed { outline: 2px solid var(--brand); outline-offset: 3px; }
.receipts-shot-after .bar-cta { width: 62px; background: #c3c7d2; }
.receipts-figure figcaption { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.prose .prose-strong { color: var(--ink); font-weight: 600; }

/* Founder note, on the About page's founder band. */
.agency-founder .founder-copy blockquote { margin-top: 28px; }
.agency-founder .founder-copy blockquote p { color: var(--ink); font-size: 19px; line-height: 1.7; letter-spacing: -.015em; }
.agency-founder .founder-copy blockquote p + p { margin-top: 18px; }
.agency-founder .founder-signoff { margin-top: 26px; }

/* How onboarding works. */
.onboarding-callout { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 14px; background: #eeefff; color: #3438c9; font-size: 13px; font-weight: 600; line-height: 1.5; }
.onboarding-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.onboarding-steps article { padding: 28px; background: #fff; }
.step-number { display: block; color: #c3c7d2; font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -.05em; }
.onboarding-steps h3 { margin-top: 20px; font-size: 22px; line-height: 1.3; letter-spacing: -.025em; font-weight: 500; }
.onboarding-steps p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.onboarding-footnote { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Intake: pitch, pricing and form. */
.intake-section { padding-block: 70px; background: #eceef5; border-block: 1px solid var(--line); }
.intake-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.intake-pitch h2 { margin-top: 22px; }
.intake-pitch > p { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.price-card { margin-top: 28px; padding: 22px; background: #fff; border: 1px solid #d0d4df; }
.price-badge { display: inline-block; padding: 4px 8px; background: #eeefff; color: #3438c9; font-size: 10px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 14px; }
.price-was { color: #8a93a2; font-size: 18px; font-weight: 600; text-decoration: line-through; text-decoration-thickness: 2px; }
.price-now { font-size: 34px; font-weight: 600; letter-spacing: -.04em; }
.price-term { color: var(--muted); font-size: 14px; font-weight: 500; }
.price-then { margin-left: auto; color: var(--muted); font-size: 14px; }
.price-then strong { color: var(--ink); font-weight: 600; }
.price-lock { margin-top: 10px; color: var(--muted); font-size: 14px; }
.price-specs { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.price-specs div { display: flex; justify-content: space-between; gap: 16px; padding-block: 4px; }
.price-specs dt { color: var(--muted); }
.price-specs dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.price-note { margin-top: 12px; color: var(--muted); font-size: 12px; }
.intake-checks { margin: 28px 0 0; padding: 0; list-style: none; }
.intake-checks li { display: flex; gap: 14px; padding-block: 12px; border-top: 1px solid #d4d8e2; color: var(--ink); font-size: 15px; line-height: 1.6; }
.intake-checks li::before { content: '✓'; flex-shrink: 0; color: var(--brand); font-weight: 700; }
.intake-panel { padding: 36px; background: #fff; border: 1px solid #d0d4df; }
.intake-form { display: grid; gap: 18px; }
.intake-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.intake-form label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
.intake-form label .required { color: #be123c; }
.intake-form label .optional { color: var(--muted); font-weight: 400; }
.intake-form input, .intake-form select, .intake-form textarea { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #b9bfcc; border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.intake-form textarea { resize: vertical; line-height: 1.6; }
.intake-form input::placeholder, .intake-form textarea::placeholder { color: #8a93a2; }
.intake-form input:focus, .intake-form select:focus, .intake-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px #4e52ff33; }
.intake-honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.intake-form button { width: 100%; cursor: pointer; }
.intake-fine { color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }
.intake-fine a, .intake-success-wait a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.intake-error { margin: 0; color: #be123c; font-size: 13px; text-align: center; }
.intake-btn-loading { pointer-events: none; opacity: .85; }
.intake-spinner { display: inline-block; width: 16px; height: 16px; margin-right: 8px; border: 2px solid #ffffff4d; border-top-color: #fff; border-radius: 50%; animation: intake-spin .6s linear infinite; }
.intake-form.shake { animation: intake-shake .4s ease-out; }
.intake-success { padding-block: 24px; text-align: center; animation: intake-in .5s ease-out both; }
.intake-success svg { margin: 0 auto 18px; }
.intake-success h3 { font-size: 24px; font-weight: 550; letter-spacing: -.03em; }
.intake-success > p { max-width: 420px; margin: 12px auto 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.intake-success-actions { max-width: 360px; margin: 26px auto 0; }
.intake-success-actions .brand-action { width: 100%; }
.intake-success-price { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.intake-success-price strong { color: var(--ink); font-weight: 600; }
.intake-success-price .price-was { font-size: 14px; }
.intake-success-wait { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.check-draw { stroke-dasharray: 24; animation: intake-check .4s ease-out .15s both; }
@keyframes intake-spin { to { transform: rotate(360deg); } }
@keyframes intake-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@keyframes intake-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes intake-check { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

/* Closing panel holds a single action instead of a form. */
.closing-actions .brand-action { width: 100%; }
.closing-note { text-align: center; }

@media (max-width: 1100px) {
  .agency-feature-grid article, .onboarding-steps article { padding: 24px; }
  .intake-grid { gap: 40px; }
}
@media (max-width: 959px) {
  .agency-feature-grid { grid-template-columns: 1fr 1fr; }
  .onboarding-steps { grid-template-columns: 1fr; }
  .intake-grid { grid-template-columns: 1fr; }
  .intake-panel { padding: 28px; }
}
@media (max-width: 699px) {
  .roster-list li { grid-template-columns: 30px 1fr; }
  .roster-mark { width: 30px; height: 30px; }
  .roster-status { grid-column: 2; justify-self: start; }
  .agency-feature-grid { grid-template-columns: 1fr; }
  .agency-feature-grid article, .onboarding-steps article { padding: 24px; }
  .receipts-figure { padding: 14px; }
  .receipts-shot { padding: 12px; }
  .agency-founder .founder-copy blockquote p { font-size: 17px; }
  .intake-section { padding-block: 42px; }
  .intake-row { grid-template-columns: 1fr; }
  .intake-panel { padding: 22px; }
  .price-then { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .intake-form.shake, .intake-success, .check-draw, .intake-spinner { animation: none; }
}
.faq-mail { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
/* Onboarding heading carries a paragraph plus a callout, so it gets more room. */
.onboarding-heading > div:first-child { flex-shrink: 0; max-width: 520px; }
.onboarding-heading > div:last-child { max-width: 480px; }
.onboarding-heading > div:last-child > p:first-child { color: var(--muted); font-size: 15px; line-height: 1.75; }
@media (max-width: 699px) { .onboarding-heading > div:last-child { margin-top: 18px; } }
