/* About */
.aam-about-hero { min-height: 390px; }
.aam-about-hero > div:first-child { padding: 12px 0 0 4px; }
.aam-about-hero h1 { max-width: 540px; }
.aam-about-hero .aam-text-action { max-width: 340px; margin-top: 18px; color: var(--aam-orange); }

.aam-stats-grid { margin: 0 var(--aam-pad); padding: 14px 0 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--aam-rule) !important; }
.aam-stats-grid article { min-height: 220px; padding: 14px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.aam-stats-grid article + article { border-left: 1px solid var(--aam-rule); }
.aam-stats-grid .aam-icon { min-height: 65px; display: grid; align-items: center; }
.aam-stats-grid strong { min-height: 45px; color: var(--aam-green); font-size: 29px; font-weight: 400; }
.aam-stats-grid h2 { width: 100%; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--aam-rule); font-size: 11px; }
.aam-stats-grid p { margin: 0; text-align: left; font-size: 9px; }

.aam-about-services { margin-top: 20px; }
.aam-about-intro { margin: 10px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.aam-about-intro h2 { margin: 0; font-size: 20px; }
.aam-about-intro p { margin: 0; max-width: 510px; }
.aam-about-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.aam-about-card-grid article { min-height: 255px; padding: 18px; display: flex; flex-direction: column; border: 1px solid var(--aam-rule); }
.aam-about-card-grid .aam-icon { min-height: 70px; }
.aam-about-card-grid h3 { color: var(--aam-green); font-size: 11px; }
.aam-about-card-grid p { font-size: 9px; }
.aam-about-card-grid a { margin-top: auto; color: var(--aam-orange); font-size: 9px; }

.aam-values { display: grid; grid-template-columns: 1fr 1.08fr; gap: 22px; }
.aam-values > div:first-child { padding-right: 20px; border-right: 1px solid var(--aam-rule); }
.aam-values h2 { font-size: 20px; }
.aam-values article { min-height: 75px; padding: 11px 0; display: grid; grid-template-columns: 48px 1fr; border-bottom: 1px solid var(--aam-rule); }
.aam-values article .aam-icon { max-width: 42px; overflow: hidden; font-size: 6px; }
.aam-values article h3 { margin: 0 0 3px; color: var(--aam-green); font-size: 10px; }
.aam-values article p { margin: 0; font-size: 9px; }
.aam-mission > div:first-child { min-height: 142px; padding: 17px 25px; border: 1px solid var(--aam-rule); }
.aam-mission .aam-architecture { min-height: 260px; margin-top: 14px; }
.aam-mission .aam-arch-grid { min-height: 220px; padding-top: 3px; }
.aam-mission .aam-vline { height: 12px; }

/* Pricing */
.aam-pricing-hero { min-height: 260px; }
.aam-pricing-hero h1 { font-size: clamp(26px, 3vw, 42px); }
.aam-pricing-hero .aam-ascii-figure { transform: scale(.7); }
.aam-pricing-grid { padding: 0 var(--aam-pad) 18px !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aam-plan { min-width: 0; min-height: 480px; padding: 18px 20px; display: flex; flex-direction: column; border: 1px solid var(--aam-rule); }
.aam-plan.is-featured { background: var(--aam-dark); color: #f4f0e8; border-color: var(--aam-dark); }
.aam-plan h2 { color: var(--aam-green); font-size: 12px; }
.aam-plan .aam-icon { min-height: 72px; }
.aam-plan.is-featured .aam-icon { color: #f4f0e8; }
.aam-plan-price { margin: 0; font-size: 27px; line-height: 1; }
.aam-plan-price span { font-size: 20px; }
.aam-plan-period { margin: 3px 0 16px; font-size: 10px; }
.aam-plan > p:not(.aam-plan-price) { min-height: 53px; padding-bottom: 13px; border-bottom: 1px solid var(--aam-rule); font-size: 9px; }
.aam-plan ul { padding: 0; margin: 0 0 18px; list-style: none; font-size: 9px; }
.aam-plan li { display: list-item; margin: 5px 0; }
.aam-plan li::before { content: "›"; margin-right: 7px; }
.aam-plan .aam-button { justify-content: center; margin-top: auto; border-color: currentColor; box-shadow: none; color: var(--aam-orange); }

.aam-pricing-note { margin: 0 var(--aam-pad) 25px; min-height: 55px; padding: 10px 18px !important; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--aam-rule); font-size: 9px; }
.aam-pricing-note p { margin: 0; }.aam-pricing-note a { text-align: right; }.aam-pricing-note b { color: var(--aam-orange); font-weight: 400; }
.aam-how-it-works { padding-top: 0 !important; }
.aam-how-it-works > div:last-child, .aam-next-steps > div:last-child { display: grid; grid-template-columns: repeat(4, 1fr); }
.aam-how-it-works article, .aam-next-steps article { position: relative; min-height: 150px; padding: 9px 20px; text-align: center; }
.aam-how-it-works article:not(:last-child)::after, .aam-next-steps article:not(:last-child)::after { content: "›"; position: absolute; right: -4px; top: 48px; color: var(--aam-orange); font-size: 20px; }
.aam-how-it-works article > span, .aam-next-steps article > span { position: absolute; top: 0; left: 0; padding: 3px 9px; border: 1px solid var(--aam-rule); font-size: 9px; }
.aam-how-it-works .aam-icon, .aam-next-steps .aam-icon { min-height: 65px; margin: 0 auto 6px; display: grid; place-items: center; }
.aam-how-it-works h3, .aam-next-steps h3 { margin-bottom: 5px; font-size: 11px; }
.aam-how-it-works p, .aam-next-steps p { margin: 0 auto; max-width: 220px; font-size: 9px; }
.aam-faq { padding-top: 0 !important; }
.aam-faq > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.aam-faq details { border: 1px solid var(--aam-rule); border-bottom: 0; }
.aam-faq details:nth-last-child(-n+2) { border-bottom: 1px solid var(--aam-rule); }
.aam-faq summary { min-height: 36px; padding: 8px 18px; display: flex; justify-content: space-between; cursor: pointer; list-style: none; font-size: 10px; }
.aam-faq summary::after { content: "›"; }.aam-faq details[open] summary::after { transform: rotate(90deg); }
.aam-faq details p { padding: 0 18px 10px; margin: 0; color: var(--aam-muted); font-size: 10px; }
.aam-help { margin: 14px 0 0; padding: 10px 18px; display: flex; justify-content: space-between; border: 1px solid var(--aam-rule); font-size: 10px; }
.aam-help a { color: var(--aam-orange); }
.aam-pricing-cta { margin: 0 var(--aam-pad) 20px; padding: 18px !important; display: grid; grid-template-columns: 95px 1fr auto; align-items: center; border: 1px solid var(--aam-rule) !important; }
.aam-pricing-cta h2 { margin: 0; }.aam-pricing-cta p { margin: 0; }.aam-pricing-cta .aam-button { min-width: 240px; }

/* Contact */
.aam-contact-hero { min-height: 350px; }
.aam-contact-hero h1 { font-size: clamp(31px, 4vw, 52px); }
.aam-contact-hero .aam-text-action { max-width: 380px; margin-top: 25px; }
.aam-contact-layout { padding: 0 var(--aam-pad) 25px !important; display: grid; grid-template-columns: 62% 38%; gap: 28px; }
.aam-contact-form, .aam-contact-info, .aam-quick-links { padding: 20px; border: 1px solid var(--aam-rule); }
.aam-contact-form h2, .aam-contact-info h2, .aam-quick-links h2, .aam-insights-sidebar h2, .aam-single-sidebar h2 { margin: 0 0 20px; color: var(--aam-orange); font-size: 11px; }
.aam-form-placeholder label { display: block; margin-bottom: 14px; font-size: 10px; }
.aam-form-placeholder input, .aam-form-placeholder textarea, .aam-contact-form .wpforms-field input, .aam-contact-form .wpforms-field textarea { width: 100%; margin-top: 5px; padding: 10px; border: 1px solid var(--aam-rule); border-radius: 0; background: transparent; }
.aam-form-placeholder textarea { min-height: 125px; resize: vertical; }
.aam-form-placeholder .aam-button { max-width: 240px; border-color: var(--aam-orange); box-shadow: none; color: var(--aam-orange); }
.aam-admin-note { color: var(--aam-muted); font-size: 9px; }
.aam-contact-info article { display: grid; grid-template-columns: 58px 1fr; gap: 15px; margin: 18px 0; }
.aam-contact-info article .aam-icon { width: 52px; height: 50px; display: grid; place-items: center; border: 1px solid var(--aam-rule); }
.aam-contact-info article .aam-icon { overflow: hidden; font-size: 5.5px; }
.aam-contact-info h3 { margin: 0 0 6px; color: var(--aam-green); font-size: 10px; }.aam-contact-info p { margin: 0; font-size: 10px; }
.aam-quick-links { margin-top: 18px; display: grid; }.aam-quick-links a { margin: 3px 0; font-size: 10px; }
.aam-next-steps { margin: 0 var(--aam-pad) 15px; padding-inline: 16px !important; border: 1px solid var(--aam-rule) !important; }
.aam-next-steps h3 { color: var(--aam-green); }

/* Insights */
.aam-insights-hero { min-height: 265px; display: grid; grid-template-columns: 50% 50%; align-items: center; }
.aam-insights-hero h1 { margin: 0 0 16px; font-size: clamp(58px, 8vw, 112px); line-height: 1; letter-spacing: -.06em; }
.aam-insights-hero > div:first-child > p:last-child { max-width: 430px; }
.aam-insights-hero .aam-ascii-figure { transform: scale(.7); }
.aam-category-tabs { min-height: 58px; padding: 0 var(--aam-pad); display: flex; align-items: center; gap: 22px; border-bottom: 1px solid var(--aam-rule); font-size: 10px; }
.aam-category-tabs > *:not(:last-child)::after { content: "|"; margin-left: 22px; color: var(--aam-ink); }
.aam-category-tabs .active { color: var(--aam-orange); }
.aam-insights-layout { padding: 17px var(--aam-pad) 28px !important; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 25px; }
.aam-post-card { min-height: 178px; padding: 22px; display: grid; grid-template-columns: 100px 1fr; gap: 22px; border: 1px solid var(--aam-rule); }
.aam-post-card + .aam-post-card { margin-top: 15px; }
.aam-post-card > .aam-icon { display: grid; place-items: center; font-size: 11px; }
.aam-post-cat { color: var(--aam-green); font-size: 10px; }
.aam-post-card h2 { margin: 5px 0 12px; font-size: 17px; }
.aam-post-card p { margin: 0 0 16px; }
.aam-post-meta { display: flex; align-items: center; gap: 14px; font-size: 9px; }
.aam-post-meta a, .aam-post-meta em { margin-left: auto; color: var(--aam-orange); font-style: normal; }.aam-post-meta em { margin-left: 0; }
.aam-insights-sidebar { display: grid; align-content: start; gap: 15px; }
.aam-insights-sidebar > section, .aam-single-sidebar > section, .aam-single-sidebar > nav { padding: 18px; border: 1px solid var(--aam-rule); }
.aam-insights-sidebar .search-form { display: flex; }.aam-insights-sidebar .search-field { min-width: 0; width: 100%; padding: 10px; border: 1px solid var(--aam-rule); background: transparent; }.aam-insights-sidebar .search-submit { width: 46px; padding: 0; border: 1px solid var(--aam-rule); border-left: 0; background: transparent; font-size: 0; }.aam-insights-sidebar .search-submit::after { content: "›"; font-size: 15px; }
.aam-insights-sidebar section:nth-child(2) { display: flex; flex-direction: column; gap: 6px; }.aam-insights-sidebar section:nth-child(2) > * { display: flex; justify-content: space-between; }.aam-insights-sidebar section:nth-child(2) .active { color: var(--aam-orange); }
.aam-popular a { display: grid; grid-template-columns: 25px 1fr; gap: 6px; margin: 12px 0; }
.aam-system-box p { display: flex; justify-content: space-between; color: var(--aam-green); }.aam-system-box i { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--aam-green); }.aam-system-box > span { display: block; padding-top: 10px; border-top: 1px dashed var(--aam-rule); font-size: 9px; }
.aam-pagination ul { padding: 18px 0 0; display: flex; justify-content: center; gap: 4px; list-style: none; }.aam-pagination a, .aam-pagination span { min-width: 36px; height: 36px; display: grid; place-items: center; }.aam-pagination .current { border: 1px solid var(--aam-rule); }

/* Single insight */
.aam-single-header { min-height: 235px; padding: 28px var(--aam-pad); display: grid; grid-template-columns: 110px 1fr 38%; align-items: center; gap: 0; border-bottom: 1px solid var(--aam-rule); }
.aam-single-header > a { align-self: start; color: var(--aam-orange); }.aam-single-header > div > span { color: var(--aam-green); }.aam-single-header h1 { margin: 8px 0 16px; font-size: 20px; }.aam-single-header > .aam-icon { justify-self: center; font-size: 14px; }
.aam-single-layout { padding: 0 var(--aam-pad) 28px !important; display: grid; grid-template-columns: minmax(0, 1fr) 295px; gap: 26px; }
.aam-article { min-width: 0; padding: 20px 28px 0 0; border-right: 1px solid var(--aam-rule); font-size: 12px; }
.aam-article > p:first-child { padding-top: 18px; border-top: 1px dashed var(--aam-rule); }.aam-article h2 { margin: 28px 0 10px; color: var(--aam-orange); font-size: 14px; }.aam-article h3 { color: var(--aam-orange); font-size: 12px; }.aam-article pre, .aam-article .wp-block-code { overflow-x: auto; padding: 34px 20px 14px; border: 1px solid var(--aam-rule); background: transparent; font: 11px/1.55 var(--aam-font); }.aam-article blockquote { margin: 20px 0; padding: 12px 18px; border: 1px dashed var(--aam-green); border-left: 2px solid var(--aam-green); color: var(--aam-green); }
.aam-share { margin-top: 28px; padding: 15px 0; display: flex; align-items: center; gap: 7px; border-top: 1px solid var(--aam-rule); }.aam-share > span { margin-right: 5px; font-size: 9px; }.aam-share a, .aam-share button { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--aam-rule); background: transparent; cursor: pointer; }
.aam-post-navigation { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--aam-rule); }.aam-post-navigation a { min-height: 80px; padding: 12px 18px; display: flex; flex-direction: column; }.aam-post-navigation a + a { border-left: 1px solid var(--aam-rule); text-align: right; }.aam-post-navigation span { font-size: 9px; }.aam-post-navigation b { font-weight: 400; }
.aam-single-sidebar { padding-top: 20px; display: grid; align-content: start; gap: 18px; }
.aam-toc { position: sticky; top: 15px; z-index: 2; display: flex; flex-direction: column; gap: 10px; background: var(--aam-paper); }.aam-toc a { font-size: 10px; }.aam-toc .level-3 { padding-left: 15px; }.aam-toc a.is-active { color: var(--aam-orange); }.aam-toc a span { color: inherit; }
.aam-related > a, .aam-related-fallback { min-height: 85px; padding: 12px 0; display: grid; grid-template-columns: 65px 1fr; align-items: center; border-bottom: 1px solid var(--aam-rule); }.aam-related .aam-icon { font-size: 7px; }.aam-related small { display: block; margin-top: 8px; font-size: 8px; }

/* WPForms alignment */
.aam-contact-form .wpforms-container { margin: 0; }
.aam-contact-form .wpforms-field { padding: 0 0 12px; }
.aam-contact-form .wpforms-field-label { font-weight: 400; font-size: 10px; }
.aam-contact-form .wpforms-submit { min-height: 42px; padding: 0 20px; border: 1px solid var(--aam-orange); border-radius: 0; background: transparent; color: var(--aam-orange); }
