/* Agent Mama – start page, redesign November 2026 (Sanzo Studio spec v1.1, docs/design-handoff).
   Colours come from the tokens in site.css (:root --am-*); nothing is hard-coded here. */

.amh { color: var(--am-ink); font-family: Inter, system-ui, sans-serif; }
.amh *, .amh *::before, .amh *::after { box-sizing: border-box; }
:where(.amh) :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
:where(.amh) :where(ul, ol) { list-style: none; }
.amh img { display: block; max-width: 100%; }

.amh .amh-wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--am-pad); padding-right: var(--am-pad); }
.amh .amh-sec { padding-top: var(--am-sec); padding-bottom: var(--am-sec); }
.amh .amh-sec--bg { background: var(--am-bg); }
.amh .amh-sec--surface { background: var(--am-surface); }
.amh .amh-sec--navy { background: var(--am-navy); color: var(--am-on-navy); }
.amh .amh-sec--ruled { border-top: 1px solid var(--am-line); }

/* Type */
.amh .amh-eyebrow { font-size: clamp(12px, 0.9vw, 13px); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--am-ink); }
.amh .amh-sec--navy .amh-eyebrow { color: var(--am-on-navy); }
.amh .amh-h1, .amh .amh-h2, .amh .amh-statement, .amh .amh-figure { font-family: "Instrument Sans", Arial, sans-serif; color: var(--am-navy); }
.amh .amh-h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -0.02em; }
.amh .amh-h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.1; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.amh .amh-sec--navy .amh-h2 { color: var(--am-on-navy); }
.amh .amh-lede { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.4; color: var(--am-ink); }
.amh .amh-body { font-size: clamp(16px, 1.2vw, 17px); line-height: 1.55; color: var(--am-muted); }
.amh .amh-meta { font-size: 14px; line-height: 1.5; color: var(--am-muted); }
.amh .amh-statement { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.3; font-weight: 600; }
.amh .amh-num { font-variant-numeric: tabular-nums; }

/* Buttons, links, pills */
.amh .amh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 18px; border-radius: 2px; background: var(--am-navy); color: var(--am-on-navy); font-size: 15px; font-weight: 500; line-height: 1.2; transition: background .15s ease; }
.amh .amh-btn:hover { background: var(--am-navy-deep); opacity: 1 !important; }
.amh .amh-btn--light { background: var(--am-surface); color: var(--am-navy); }
.amh .amh-btn--light:hover { background: var(--am-bg); }
.amh a:focus-visible, .amh-btn:focus-visible { outline: 2px solid var(--am-accent); outline-offset: 2px; box-shadow: none; }
.amh .amh-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--am-navy); }
.amh .amh-link span:first-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.amh .amh-link svg { transition: transform .15s ease; }
.amh .amh-link:hover { opacity: 1 !important; }
.amh .amh-link:hover svg { transform: translateX(4px); }
.amh .amh-pill { display: inline-block; padding: 4px 10px; border: 1px solid var(--am-ink); border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.35; letter-spacing: 0.01em; text-transform: uppercase; color: var(--am-ink); white-space: nowrap; }
.amh .amh-pill--count { text-transform: none; font-size: 13px; }
.amh .amh-card { background: var(--am-surface); border-radius: 8px; }

/* 2. Hero */
.amh .amh-hero { background: var(--am-bg); padding-top: clamp(64px, 10vw, 150px); }
.amh .amh-hero__text { max-width: 760px; }
.amh .amh-hero .amh-eyebrow { margin-bottom: clamp(16px, 2vw, 26px); }
.amh .amh-hero .amh-lede { max-width: 560px; margin-top: clamp(20px, 2.4vw, 34px); }
.amh .amh-hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: clamp(24px, 2.6vw, 36px); }

/* 3. Overnight decisions card */
.amh .amh-decisions { margin-top: clamp(48px, 5.6vw, 80px); max-width: 1092px; padding: clamp(24px, 3.4vw, 48px); }
.amh .amh-decisions__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.amh .amh-decisions__title { font-size: 15px; font-weight: 500; color: var(--am-ink); }
.amh .amh-decisions__head .amh-meta { margin-top: 10px; }
.amh .amh-decisions__total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-top: clamp(24px, 2.6vw, 36px); }
.amh .amh-figure { font-size: clamp(34px, 3.1vw, 44px); line-height: 1; font-weight: 500; letter-spacing: -0.01em; }
.amh .amh-decisions__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 2.6vw, 36px) clamp(24px, 3.4vw, 48px); margin-top: clamp(28px, 3.4vw, 48px); }
.amh .amh-decision { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: start; }
.amh .amh-decision__amount { font-size: 14px; font-weight: 500; color: var(--am-ink); padding-top: 5px; }
.amh .amh-decision__top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.amh .amh-decision__title { font-size: 14px; font-weight: 500; color: var(--am-ink); }
.amh .amh-decision .amh-meta { margin-top: 10px; }
.amh .amh-caption { margin-top: 12px; font-size: 13px; color: var(--am-muted); }

/* 4. Logo row */
.amh .amh-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 24px clamp(32px, 6vw, 96px); padding-top: clamp(48px, 5.6vw, 80px); padding-bottom: clamp(64px, 7.6vw, 110px); }
.amh .amh-logos__label { font-size: 14px; font-weight: 500; color: var(--am-ink); }
.amh .amh-logos__list { display: flex; align-items: center; flex-wrap: wrap; gap: 20px clamp(24px, 3vw, 44px); }
.amh .amh-logos__item { display: flex; align-items: center; justify-content: center; width: 140px; height: 40px; }
.amh .amh-logos__item img { max-width: 100%; max-height: 34px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; }

/* Two-column sections */
.amh .amh-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }

/* 5. Problem (live section, restyled) */
.amh .amh-problem__text { grid-column: span 5; }
.amh .amh-problem__text .amh-h2 { margin: 18px 0 22px; }
.amh .amh-problem__text .amh-body { max-width: 460px; }
.amh .amh-chart { grid-column: 7 / span 6; border: 1px solid var(--am-line); }
.amh .amh-chart__head, .amh .amh-chart__foot { padding: 16px 24px; font-size: 12px; color: var(--am-muted); }
.amh .amh-chart__head { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid var(--am-line); }
.amh .amh-chart__foot { font-size: 13px; border-top: 1px solid var(--am-line); }
.amh .amh-chart__body { padding: 32px 24px 20px; }
.amh .amh-chart__bars { display: flex; align-items: flex-end; gap: clamp(8px, 2.4vw, 16px); height: 200px; }
.amh .amh-chart__col { flex: 1 1 0; display: flex; align-items: flex-end; justify-content: center; gap: clamp(3px, 0.8vw, 6px); height: 100%; }
.amh .amh-chart__col i { display: block; width: clamp(10px, 3.2vw, 20px); border-radius: 2px 2px 0 0; background: var(--am-navy); }
.amh .amh-chart__col i:first-child { background: var(--am-accent); }
.amh .amh-chart__labels { display: flex; gap: clamp(8px, 2.4vw, 16px); margin-top: 10px; }
.amh .amh-chart__labels span { flex: 1 1 0; text-align: center; font-size: 13px; color: var(--am-muted); }
.amh .amh-chart__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--am-line); font-size: 13px; color: var(--am-muted); }
.amh .amh-chart__legend span { display: inline-flex; align-items: center; gap: 8px; }
.amh .amh-chart__legend i { width: 10px; height: 10px; background: var(--am-navy); }
.amh .amh-chart__legend span:first-child i { background: var(--am-accent); }

/* 6. Customer value */
.amh .amh-value__photo { grid-column: span 5; aspect-ratio: 5 / 6; overflow: hidden; background: var(--am-bg); }
.amh .amh-value__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.amh .amh-value__body { grid-column: 6 / span 7; padding-left: clamp(0px, 1.2vw, 16px); }
.amh .amh-value__body .amh-body { max-width: 460px; margin-top: clamp(18px, 2vw, 28px); color: var(--am-ink); }
.amh .amh-value__compare { margin-top: clamp(28px, 3.4vw, 48px); }
.amh .amh-clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin-top: clamp(20px, 2.4vw, 34px); }
.amh .amh-client__top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.01em; color: var(--am-ink); }
.amh .amh-client .amh-meta { margin-top: 12px; }
.amh .amh-value__statement { margin-top: clamp(28px, 3vw, 44px); padding-left: 24px; border-left: 3px solid var(--am-line); }
.amh .amh-value__statement .amh-meta { margin-top: 6px; }

/* 7. Profit signal (live section, restyled) */
.amh .amh-signal__head { max-width: 640px; margin-bottom: clamp(32px, 3.6vw, 52px); }
.amh .amh-signal__head .amh-body { margin-top: 18px; }
.amh .amh-signal__box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--am-line); background: var(--am-surface); }
.amh .amh-signal__cell { padding: clamp(24px, 3vw, 40px); }
.amh .amh-signal__cell + .amh-signal__cell { border-left: 1px solid var(--am-line); background: var(--am-accent-tint); }
.amh .amh-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--am-muted); }
.amh .amh-signal__cell + .amh-signal__cell .amh-label { color: var(--am-accent-text); }
.amh .amh-signal__big { margin-top: 14px; font-family: "Instrument Sans", Arial, sans-serif; font-size: 22px; font-weight: 600; color: var(--am-navy); }
.amh .amh-signal__sum { margin-top: 14px; font-size: 16px; line-height: 1.7; color: var(--am-ink); }
.amh .amh-signal__total { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--am-line); font-size: 16px; font-weight: 600; color: var(--am-navy); }

/* 8. How it works */
.amh .amh-how .amh-h2 { max-width: 620px; margin-top: clamp(18px, 2vw, 28px); }
.amh .amh-how__intro { max-width: 440px; margin-top: clamp(20px, 2.2vw, 32px); font-size: clamp(16px, 1.2vw, 17px); line-height: 1.55; color: var(--am-on-navy); }
.amh .amh-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); gap: 32px clamp(32px, 4.6vw, 66px); margin-top: clamp(48px, 5.6vw, 80px); }
.amh .amh-step__label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--am-on-navy); }
.amh .amh-step__text { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--am-on-navy-muted); }

/* 9. Control */
.amh .amh-control__text { grid-column: span 5; }
.amh .amh-control__text .amh-h2 { max-width: 430px; margin: clamp(18px, 2vw, 28px) 0 clamp(20px, 2.2vw, 32px); }
.amh .amh-control__text .amh-body { max-width: 400px; }
.amh .amh-opp { grid-column: 7 / span 6; border: 1px solid var(--am-line); font-size: 14px; }
.amh .amh-opp__row { padding: 20px clamp(18px, 2.2vw, 28px); border-top: 1px solid var(--am-line); }
.amh .amh-opp__row:first-child { border-top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.amh .amh-opp__title { font-size: 15px; font-weight: 600; color: var(--am-ink); }
.amh .amh-opp__sub { margin-top: 4px; font-size: 13px; color: var(--am-muted); }
.amh .amh-badge { display: inline-block; padding: 5px 8px; border-radius: 2px; background: var(--am-accent-tint); color: var(--am-accent-text); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.amh .amh-opp .amh-label { font-size: 11px; }
.amh .amh-opp__value { margin-top: 8px; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--am-ink); }
.amh .amh-opp__value--plain { font-weight: 400; }
.amh .amh-opp__impact { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.amh .amh-opp__impact b { font-size: 22px; font-weight: 600; color: var(--am-navy); }
.amh .amh-opp__impact span { font-size: 12px; color: var(--am-muted); }
.amh .amh-opp .amh-meta { margin-top: 8px; font-size: 13px; }
.amh .amh-opp__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.amh .amh-fakebtn { display: inline-flex; align-items: center; min-height: 40px; padding: 10px 16px; border-radius: 2px; border: 1px solid var(--am-line); background: var(--am-surface); color: var(--am-ink); font-size: 14px; font-weight: 500; }
.amh .amh-fakebtn--primary { border-color: var(--am-navy-deep); background: var(--am-navy-deep); color: var(--am-on-navy); }
.amh .amh-opp__note { margin-top: 12px; font-size: 13px; color: var(--am-muted); }

/* 10. Capabilities (live section, restyled) */
.amh .amh-caps .amh-h2 { max-width: 640px; }
.amh .amh-caps__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; margin-top: clamp(36px, 4vw, 56px); }
.amh .amh-cap { padding-top: 20px; border-top: 1px solid var(--am-line); }
.amh .amh-cap__title { font-family: "Instrument Sans", Arial, sans-serif; font-size: 18px; font-weight: 600; color: var(--am-navy); }
.amh .amh-cap .amh-meta { margin-top: 10px; font-size: 15px; line-height: 1.55; }

/* 11. Results */
.amh .amh-results .amh-h2 { max-width: 420px; margin-top: clamp(18px, 2vw, 28px); }
.amh .amh-results__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin-top: clamp(40px, 4.4vw, 64px); }
.amh .amh-result { padding-top: 20px; border-top: 1px solid var(--am-line); }
.amh .amh-result__num { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--am-accent-text); }
.amh .amh-result__title { margin-top: 14px; font-family: "Instrument Sans", Arial, sans-serif; font-size: 20px; font-weight: 600; color: var(--am-navy); }
.amh .amh-result .amh-body { margin-top: 10px; font-size: 16px; }

/* 12. Accountability */
.amh .amh-team__photo { aspect-ratio: 1440 / 620; max-height: 660px; width: 100%; overflow: hidden; background: var(--am-line); }
.amh .amh-team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.amh .amh-team__text { background: var(--am-surface-warm); padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 130px); }

/* 13. Closing call to action */
.amh .amh-cta .amh-h2 { max-width: 760px; }
.amh .amh-cta p { max-width: 560px; margin: clamp(18px, 2vw, 26px) 0 0; font-size: clamp(16px, 1.2vw, 17px); line-height: 1.55; color: var(--am-on-navy-muted); }
.amh .amh-cta .amh-btn { margin-top: clamp(26px, 3vw, 40px); }


/* Responsive */
@media (max-width: 1199px) {
	.amh .amh-caps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.amh .amh-value__body { grid-column: 6 / span 7; }
}
@media (max-width: 899px) {
	.amh .amh-grid { grid-template-columns: minmax(0, 1fr); }
	.amh .amh-grid > * { grid-column: auto !important; }
	.amh .amh-decisions__rows, .amh .amh-clients, .amh .amh-signal__box { grid-template-columns: minmax(0, 1fr); }
	.amh .amh-signal__cell + .amh-signal__cell { border-left: 0; border-top: 1px solid var(--am-line); }
	.amh .amh-steps { grid-template-columns: minmax(0, 1fr); }
	.amh .amh-step__text { max-width: 520px; }
	.amh .amh-results__list { grid-template-columns: minmax(0, 1fr); }
	.amh .amh-caps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.amh .amh-value__photo { aspect-ratio: 4 / 3; max-width: 560px; }
	.amh .amh-value__body { padding-left: 0; }
	.amh .amh-team__photo { aspect-ratio: 3 / 2; }
}
@media (max-width: 599px) {
	.amh .amh-value__photo { max-width: none; margin-left: calc(var(--am-pad) * -1); margin-right: calc(var(--am-pad) * -1); width: auto; }
	.amh .amh-decision { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
	.amh .amh-decision__amount { padding-top: 0; }
	.amh .amh-caps__list { grid-template-columns: minmax(0, 1fr); }
	.amh .amh-logos__item { width: 110px; }
	.amh .amh-pill { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
	.amh .amh-link svg, .amh .amh-btn { transition: none; }
}
