/*
Theme Name: Main to Market
Description: Block theme for Main to Market. Blue software-style look by default; switch to the green Main Street look in Appearance > Editor > Styles.
Author: Jacob W.
Version: 4.2.0
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: jw-agency
Update URI: false
*/

/* Every color, font and corner here comes from theme.json or styles/main-street.json. */
body, .editor-styles-wrapper {
	--c-base: var(--wp--preset--color--base);
	--c-night: var(--wp--preset--color--night);
	--c-text: var(--wp--preset--color--text);
	--c-muted: var(--wp--preset--color--muted);
	--c-border: var(--wp--preset--color--border);
	--c-surface: var(--wp--preset--color--surface);
	--c-white: var(--wp--preset--color--white);
	--c-brand: var(--wp--preset--color--brand);
	--c-brand-dark: var(--wp--preset--color--brand-dark);
	--c-accent: var(--wp--preset--color--accent);
	--c-accent-dark: var(--wp--preset--color--accent-dark);
	--c-tint: var(--wp--preset--color--tint);
	--c-decor: var(--wp--preset--color--decor);
	--c-success: var(--wp--preset--color--success);
	--r-sm: var(--wp--custom--radius--sm);
	--r-md: var(--wp--custom--radius--md);
	--r-lg: var(--wp--custom--radius--lg);
	--r-chip: var(--wp--custom--radius--chip);
	--f-head: var(--wp--preset--font-family--heading);
	--f-body: var(--wp--preset--font-family--body);
	--h: var(--wp--custom--hero--title);
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
	--shadow-md: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 24px -10px rgba(15, 23, 42, .16);
	--shadow-lg: 0 2px 4px rgba(11, 16, 32, .1), 0 30px 60px -20px rgba(11, 16, 32, .45);
	--check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5l5 5M10.5 5.5l-5 5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Sections butt up against each other; spacing comes from their own padding. */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-post-content > .alignfull { margin-block-start: 0 !important; }

body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: color-mix(in srgb, var(--c-brand) 22%, transparent); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-variation-settings: var(--wp--custom--heading--opsz); }

.wp-element-button, .wp-block-button__link { transition: background-color .15s, border-color .15s, color .15s; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--c-tint); }

/* The one key action (quote buttons). Blue look: brand blue. Green look: brick. */
.wp-block-button.ag-key .wp-block-button__link { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.wp-block-button.ag-key .wp-block-button__link:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); }

/* ---------- Logo (inline SVG, colored by the active style) ---------- */
.ag-logo { display: inline-flex; line-height: 0; color: var(--wp--custom--logo--main); }
.ag-logo svg { height: 40px; width: auto; display: block; }
.ag-logo .lg-main { fill: var(--wp--custom--logo--main); }
.ag-logo .lg-accent { fill: var(--wp--custom--logo--accent); }
.ag-logo .lg-stripe { fill: var(--wp--custom--logo--stripe); }
@media (max-width: 600px) { .ag-logo svg { height: 32px; } }

/* ---------- Header ---------- */
.wp-site-blocks > header:first-child { position: sticky; top: 0; z-index: 100; }
.admin-bar .wp-site-blocks > header:first-child { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header:first-child { top: 46px; } }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > header:first-child { top: 0; } }
.ag-header {
	background: color-mix(in srgb, var(--c-base) 85%, transparent);
	-webkit-backdrop-filter: saturate(170%) blur(14px);
	backdrop-filter: saturate(170%) blur(14px);
	border-bottom: 1px solid var(--c-border);
}
.ag-header .wp-block-navigation a { color: var(--c-muted); text-decoration: none; }
.ag-header .wp-block-navigation a:hover { color: var(--c-text); }
.ag-header .wp-block-buttons .wp-block-button__link { padding: .5em 1.05em; font-size: .875rem; white-space: nowrap; }
@media (max-width: 420px) { .ag-header .wp-block-buttons .wp-block-button__link { padding: .5em .8em; } }
.ag-header .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; background: var(--c-base); }
@media (max-width: 860px) { .ag-header .ag-header__ghost { display: none; } }

/* ---------- Hero (home) ---------- */
.ag-hero { position: relative; overflow: hidden; isolation: isolate; background-color: var(--c-night); }
.ag-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image: linear-gradient(var(--wp--custom--hero--grid) 1px, transparent 1px), linear-gradient(90deg, var(--wp--custom--hero--grid) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.ag-hero::after {
	content: ""; position: absolute; z-index: -1;
	width: 900px; height: 600px; left: 50%; top: -260px; transform: translateX(-50%);
	background: radial-gradient(closest-side, var(--wp--custom--hero--glow), transparent);
	filter: blur(20px);
}
.ag-hero h1 { color: var(--h); max-width: 16ch; margin-inline: auto; }
.ag-hero .ag-lede { color: var(--wp--custom--hero--text); max-width: 58ch; margin-inline: auto; }
.ag-hero .wp-block-button.is-style-outline .wp-block-button__link { background: rgba(255,255,255,.06); color: var(--h); border-color: var(--wp--custom--hero--outline); }
.ag-hero .wp-block-button.is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.12); }

.ag-pill {
	text-align: left; display: inline-flex; align-items: center; gap: 8px;
	padding: 5px 14px 5px 6px; border-radius: var(--r-chip);
	font-size: .8125rem; font-weight: 500;
	color: var(--wp--custom--hero--text);
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
	margin: 0 auto;
}
.ag-pill b { font-weight: 600; color: #fff; background: var(--c-accent); border-radius: var(--r-chip); padding: 2px 9px; font-size: .75rem; }

/* ---------- Hero diagram ---------- */
.ag-flow { max-width: 980px; margin: 0 auto; }
.ag-flow__stage { position: relative; height: 380px; }
.ag-flow__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ag-flow__lines path { fill: none; stroke: var(--wp--custom--hero--line); stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.ag-flow__dot { fill: var(--wp--custom--hero--dot); opacity: 0; transition: opacity .2s; }
.ag-flow__dot.is-on { opacity: 1; }
.ag-flow__hub {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 220px; padding: 22px 20px 20px; text-align: center;
	background: var(--wp--custom--hero--hub-bg); color: var(--c-text);
	border-radius: var(--r-lg);
	box-shadow: 0 0 0 6px var(--wp--custom--hero--ring), 0 0 60px var(--wp--custom--hero--glow), var(--shadow-lg);
	transition: box-shadow .3s;
}
.ag-flow__hub p { margin: 0; }
.ag-flow__hub-label { font-size: .8125rem; font-weight: 600; color: var(--wp--custom--hero--hub-label); }
.ag-flow__hub-num { font-family: var(--f-head); font-size: 3.25rem; font-weight: 650; letter-spacing: -.04em; line-height: 1.05; margin: 4px 0 2px !important; color: var(--wp--custom--hero--hub-num); font-variant-numeric: tabular-nums lining-nums; }
.ag-flow__hub-item { font-size: .875rem; color: var(--c-muted); }
.ag-flow__hub.is-hit { box-shadow: 0 0 0 9px var(--wp--custom--hero--ring), 0 0 80px var(--wp--custom--hero--glow), var(--shadow-lg); }
.ag-flow__node {
	position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
	width: 200px; display: flex; align-items: center; gap: 12px; padding: 12px 14px;
	border-radius: var(--r-md);
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
	color: #fff; transition: border-color .3s, background-color .3s;
}
.ag-flow__node i { flex: none; width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .875rem; color: #fff; }
.ag-flow__node > span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ag-flow__node b { font-weight: 550; font-size: .9375rem; }
.ag-flow__node small { color: var(--wp--custom--hero--node-sub); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.ag-flow__node.is-sale { border-color: var(--wp--custom--hero--dot); background: rgba(255,255,255,.14); }
.ag-flow__node.is-hit { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.14); }
.ag-flow__cap { margin: 22px auto 0; max-width: 62ch; text-align: center; color: var(--wp--custom--hero--caption); font-size: .875rem; }
@media (max-width: 760px) {
	.ag-flow__stage { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.ag-flow__lines { display: none; }
	.ag-flow__hub, .ag-flow__node { position: static; transform: none; width: auto; }
	.ag-flow__hub { grid-column: 1 / -1; order: -1; margin-bottom: 8px; }
	.ag-flow__node { padding: 10px 12px; gap: 10px; }
	.ag-flow__node i { width: 28px; height: 28px; }
	.ag-flow__node b { font-size: .875rem; }
}

/* ---------- Tools strip ---------- */
.ag-logos { border-bottom: 1px solid var(--c-border); }
.ag-logos p.ag-logos__label { color: var(--c-muted); font-size: .875rem; text-align: center; margin: 0; }
.ag-logos ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; }
.ag-logos li { font-family: var(--f-head); font-weight: 650; font-size: 1.125rem; letter-spacing: -.02em; color: color-mix(in srgb, var(--c-muted) 75%, var(--c-base)); }

/* ---------- Section heads ---------- */
.ag-head { max-width: 680px; }
.ag-head.is-center { margin-inline: auto; text-align: center; }
.ag-head p { color: var(--c-muted); font-size: var(--wp--preset--font-size--medium); }

/* ---------- Cards ---------- */
.ag-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ag-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ag-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ag-grid > * { margin: 0 !important; }
@media (max-width: 960px) { .ag-grid, .ag-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ag-grid, .ag-grid.is-2, .ag-grid.is-4 { grid-template-columns: 1fr; } .ag-stats .ag-grid.is-4 { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }

.ag-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-sm); }
.ag-card h3 { margin: 0 0 6px; }
.ag-card p { margin: 0; color: var(--c-muted); }
.ag-card > * + * { margin-top: 8px; }
.ag-icon {
	width: 40px; height: 40px; border-radius: var(--r-sm);
	display: grid; place-items: center;
	background: var(--c-tint); color: var(--c-brand);
	border-bottom: 2px solid var(--c-decor);
	margin-bottom: 16px !important;
}
.ag-icon svg { width: 20px; height: 20px; }

/* ---------- Stats band ---------- */
.ag-stats { border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); background: var(--c-surface); }
.ag-stat { border-left: 2px solid var(--c-decor); padding-left: 16px; }
.ag-stat p { margin: 0; }
.ag-stat .ag-stat__num { font-family: var(--f-head); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; color: var(--wp--custom--hero--hub-num); }
.ag-stat .ag-stat__label { color: var(--c-muted); font-size: .9375rem; margin-top: 6px; }

/* ---------- Steps ---------- */
.ag-card .ag-step__n {
	width: 32px; height: 32px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--c-night); color: #fff;
	font-family: var(--f-head); font-weight: 600; font-size: .9375rem;
	margin-bottom: 18px !important;
}

/* ---------- Check and cross lists ---------- */
.ag-tier li, .ag-yes li, .ag-no li { padding-left: 26px; position: relative; font-size: .9375rem; }
.ag-tier li::before, .ag-yes li::before, .ag-no li::before {
	content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
	background: var(--c-tint);
}
.ag-tier li::after, .ag-yes li::after, .ag-no li::after {
	content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px;
	background: var(--c-brand);
	-webkit-mask: var(--check) center / 16px no-repeat; mask: var(--check) center / 16px no-repeat;
}
.ag-yes li::after { background: var(--c-success); }
.ag-no li { color: var(--c-muted); }
.ag-no li::before { background: var(--c-surface); }
.ag-no li::after { background: var(--c-muted); -webkit-mask-image: var(--cross); mask-image: var(--cross); }

/* ---------- Pricing tiers ---------- */
.ag-tier { display: flex; flex-direction: column; gap: 0; position: relative; }
.ag-tier h3 { font-family: var(--f-body); font-size: 1rem; color: var(--c-muted); font-weight: 550; letter-spacing: 0; }
.ag-tier .ag-price { font-family: var(--f-head); font-size: 2rem; font-weight: 650; letter-spacing: -.03em; color: var(--wp--custom--hero--hub-num); margin-top: 10px; line-height: 1.15; }
.ag-tier .ag-price small { font-family: var(--f-body); font-size: .9375rem; font-weight: 500; color: var(--c-muted); letter-spacing: 0; }
.ag-tier .ag-tier__for { margin-top: 6px; }
.ag-tier ul { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--c-decor); display: grid; gap: 10px; }
.ag-tier li { color: var(--c-text); }
.ag-tier .wp-block-buttons { margin-top: auto !important; padding-top: 22px; }
.ag-tier .wp-block-button, .ag-tier .wp-block-button__link { width: 100%; text-align: center; }
.ag-note { color: var(--c-muted); font-size: .9375rem; }

/* ---------- Pricing jump links + upgrade callout ---------- */
.ag-jump { display: flex; justify-content: center; gap: 8px; margin: 0; flex-wrap: wrap; }
.ag-jump a { padding: 8px 18px; border-radius: var(--r-chip); border: 1px solid var(--c-border); background: var(--c-white); color: var(--c-text); font-weight: 550; font-size: .9375rem; text-decoration: none; box-shadow: var(--shadow-sm); }
.ag-jump a:hover { border-color: var(--c-brand); color: var(--c-brand); text-decoration: none; }
.ag-anchor { display: block; position: relative; top: -110px; visibility: hidden; height: 0; }
.ag-card.ag-upgrade { background: var(--c-tint); border-color: var(--c-decor); }
.ag-card.ag-upgrade p { color: var(--c-text); }

/* ---------- Receipt ---------- */
.ag-receipt { padding: 8px 24px 20px; font-variant-numeric: tabular-nums; }
.ag-receipt table { border-collapse: collapse; width: 100%; }
.ag-receipt td { padding: 10px 0; border: 0; border-bottom: 1px solid var(--c-border); text-align: left; }
.ag-receipt td:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.ag-receipt tr.is-total td { border-bottom: 1px solid var(--c-decor); font-weight: 650; }
.ag-receipt .ag-receipt__group td { padding-left: 0; padding-top: 20px; color: var(--c-muted); font-size: .8125rem; font-weight: 600; border-bottom: 0; text-align: left; }

/* ---------- Closing call to action ---------- */
.ag-cta { position: relative; overflow: hidden; isolation: isolate; background: var(--c-night); border-radius: var(--r-lg); text-align: center; }
.ag-cta::after {
	content: ""; position: absolute; z-index: -1;
	width: 700px; height: 420px; left: 50%; bottom: -260px; transform: translateX(-50%);
	background: radial-gradient(closest-side, var(--wp--custom--hero--glow), transparent);
}
.ag-cta h2 { color: var(--h); }
.ag-cta p { color: var(--wp--custom--hero--text); }
.ag-cta .wp-block-button.is-style-outline .wp-block-button__link { background: rgba(255,255,255,.06); color: var(--h); border-color: var(--wp--custom--hero--outline); }

/* ---------- Inner page head ---------- */
.ag-pagehead { position: relative; isolation: isolate; overflow: hidden; background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.ag-pagehead::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image: linear-gradient(rgba(15,23,42,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.05) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 70%);
	mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 70%);
}
.ag-pagehead h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin: 0; }
.ag-pagehead p { color: var(--c-muted); font-size: var(--wp--preset--font-size--medium); max-width: 60ch; margin-inline: auto; }

/* ---------- Tables ---------- */
.wp-block-table.ag-table { border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; background: var(--c-white); box-shadow: var(--shadow-sm); }
.wp-block-table.ag-table table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.wp-block-table.ag-table th, .wp-block-table.ag-table td { border: 0; border-bottom: 1px solid color-mix(in srgb, var(--c-border) 60%, var(--c-white)); padding: 14px 18px; text-align: left; vertical-align: top; font-size: .9375rem; }
.wp-block-table.ag-table thead { border: 0; }
.wp-block-table.ag-table thead th { background: var(--c-surface); border-bottom: 1px solid var(--c-border); font-weight: 550; color: var(--c-muted); font-size: .8125rem; }
.wp-block-table.ag-table tr:last-child td { border-bottom: 0; }
.wp-block-table.ag-table td:last-child { white-space: nowrap; font-weight: 550; }
@media (max-width: 640px) {
	.wp-block-table.ag-table td:last-child { white-space: normal; }
	.wp-block-table.ag-table th, .wp-block-table.ag-table td { padding: 12px; }
}

/* ---------- Services ---------- */
.ag-service h3 { margin-top: 0; }
.ag-service .ag-svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px !important; padding-top: 18px; border-top: 1px solid var(--c-border); }
.ag-service .ag-svc-cols > * { margin-top: 0 !important; }
@media (max-width: 520px) { .ag-service .ag-svc-cols { grid-template-columns: 1fr; } }
.ag-service h4 { font-size: .8125rem; color: var(--c-muted); margin: 0 0 10px; }
.ag-yes, .ag-no { list-style: none; padding-left: 0; margin: 0; display: grid; gap: 8px; }

/* ---------- Questions ---------- */
.ag-faq { display: grid; gap: 10px; }
.ag-faq .wp-block-details { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 0; margin: 0; box-shadow: var(--shadow-sm); }
.ag-faq .wp-block-details summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; position: relative; font-weight: 550; font-size: 1rem; }
.ag-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.ag-faq .wp-block-details summary::after {
	content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
	border-right: 1.75px solid var(--c-brand); border-bottom: 1.75px solid var(--c-brand);
	transform: rotate(45deg); transition: transform .2s;
}
.ag-faq .wp-block-details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.ag-faq .wp-block-details p { margin: 0; padding: 0 22px 20px; color: var(--c-muted); max-width: 68ch; }

/* ---------- People ---------- */
.ag-card .ag-avatar {
	width: 56px; height: 56px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--c-brand); color: #fff;
	box-shadow: 0 0 0 3px var(--c-white), 0 0 0 4px var(--c-decor);
	font-family: var(--f-head); font-weight: 600; font-size: 1.125rem;
	margin-bottom: 16px !important;
}
.ag-role { color: var(--c-accent) !important; font-weight: 550; font-size: .9375rem; }

/* ---------- Admin-only note ---------- */
.ag-admin-note { padding: 14px 18px; border: 1px dashed #F5B83D; background: #FFFAEB; border-radius: var(--r-sm); color: #93370D; }

/* ---------- Ownership comparison + callout ---------- */
.ag-compare .wp-block-table.ag-table td:first-child { font-weight: 600; color: var(--c-text); white-space: normal; }
.ag-compare .wp-block-table.ag-table td:last-child { white-space: normal; font-weight: 500; color: var(--c-text); background: color-mix(in srgb, var(--c-tint) 60%, var(--c-white)); }
.ag-compare .wp-block-table.ag-table thead th:last-child { color: var(--c-brand); background: var(--c-tint); }
.ag-compare .wp-block-table.ag-table td:nth-child(2) { color: var(--c-muted); }
.ag-compare .wp-block-table.ag-table td { width: 37%; }
.ag-compare .wp-block-table.ag-table td:first-child { width: 26%; }
@media (max-width: 640px) { .ag-compare .wp-block-table.ag-table { overflow-x: auto; } .ag-compare table { min-width: 560px; } }
.ag-card.ag-callout { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; border-left: 3px solid var(--c-brand); }
.ag-card.ag-callout .ag-icon { grid-row: span 2; margin: 0 !important; }
.ag-card.ag-callout h3 { margin: 0 !important; }

/* ---------- Footer ---------- */
.ag-footer { border-top: 1px solid var(--c-border); background: var(--c-surface); }
.ag-footer .ag-logo svg { height: 34px; }
.ag-footer .ag-tagline { font-family: var(--f-head); color: var(--c-text); font-weight: 600; margin-top: 10px; }
.ag-footer p, .ag-footer li { color: var(--c-muted); }
.ag-footer h3 { font-family: var(--f-body); font-size: .875rem !important; font-weight: 600; color: var(--c-text); letter-spacing: 0; margin-bottom: 12px; }
.ag-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ag-footer a { color: var(--c-muted); text-decoration: none; }
.ag-footer a:hover { color: var(--c-text); text-decoration: underline; }
.ag-footer .ag-legal { border-top: 1px solid var(--c-border); font-size: .8125rem; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
