/* Ask Magna page.
   New-design styles scoped under .akm so its generic class names (.section,
   .btn, .stat-card…) can't collide with main.css or other pages' scoped
   sheets. Token block, primitives, and section conventions match pricing.css /
   about.css (Inter + Source Serif 4, dark/light alternating sections). The
   global site header/footer (main.css) supply the chrome. */

.akm {
	--blue-50:  #EEF0FB; --blue-100: #D9DEF7; --blue-200: #B7BFF0; --blue-300: #8C97E6;
	--blue-400: #6470DB; --blue-500: #3543D0; --blue-600: #2C37B0; --blue-700: #232C8F;
	--blue-800: #1A216C; --blue-900: #111650;
	--teal: #43E8D8; --gold: #FDC801;
	--grey-50:  #F7F8FA; --grey-100: #EEF0F3; --grey-200: #DDE1E7; --grey-300: #C3C9D2;
	--grey-400: #9AA2AE; --grey-500: #6B7280; --grey-600: #4B5260; --grey-700: #353B47;
	--grey-800: #222730; --grey-900: #11141A;
	--surface-base: #0B0F1E; --surface-1: #111730; --surface-2: #1A2142;
	--border-dark: #2A3358; --text-dark-1: #F2F4FB; --text-dark-2: #A9B1C6; --muted-dark: #8891AA;
	--r-sm: 4px; --r: 8px; --r-lg: 12px; --r-xl: 16px; --r-2xl: 24px;
	--shadow-sm: 0 1px 2px 0 rgb(17 20 26 / 0.05);
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--display: 'Source Serif 4', ui-serif, Georgia, serif;

	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	color: var(--grey-900);
	background: #fff;
}
.akm a { color: var(--blue-500); text-decoration: underline; }
.akm a:hover { color: var(--blue-600); }
.akm img, .akm svg { max-width: 100%; }

/* Reset the theme's global display-face headings back to the sans face; the
   serif display headings re-assert var(--display) below. */
.akm h1, .akm h2, .akm h3, .akm h4 { font-family: var(--sans); line-height: 1.2; margin: 0; text-wrap: balance; }

.akm .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.akm .section { padding: 72px 0; }
@media (min-width: 768px) { .akm .section { padding: 88px 0; } }

.akm .eyebrow {
	display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
	text-transform: uppercase; margin-bottom: 14px;
}
.akm .eyebrow.on-light { color: var(--blue-500); }
.akm .eyebrow.on-dark { color: var(--teal); }

.akm .light { background: #fff; }
.akm .dark { background: var(--surface-base); color: var(--text-dark-1); }

/* ---------- Hero (dark, centered) ---------- */
.akm .page-hero { padding: 72px 0 64px; position: relative; overflow: hidden; text-align: center; }
@media (min-width: 1024px) { .akm .page-hero { padding: 96px 0 80px; } }
.akm .page-hero::before {
	content: ""; position: absolute; top: -320px; left: 50%; transform: translateX(-50%);
	width: 760px; height: 760px;
	background: radial-gradient(circle, rgba(53,67,208,0.35) 0%, rgba(53,67,208,0) 65%);
	pointer-events: none;
}
.akm .page-hero .wrap { position: relative; }
.akm .page-hero h1 {
	font-family: var(--display); font-optical-sizing: auto; font-variation-settings: "opsz" 48;
	font-weight: 500; font-size: clamp(36px, 4.6vw, 54px); letter-spacing: -0.02em; line-height: 1.1;
	color: var(--text-dark-1); margin: 0 auto 18px; max-width: 860px;
}
.akm .page-hero h1 .accent { color: var(--teal); font-style: italic; }
.akm .hero-sub { font-size: 18px; line-height: 29px; color: var(--text-dark-2); max-width: 720px; margin: 0 auto 28px; }
.akm .hero-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; }
.akm .textlink-dark { color: var(--teal); font-weight: 600; text-decoration: none; }
.akm .textlink-dark:hover { color: var(--text-dark-1); }

/* ---------- Section headers ---------- */
.akm .sec-head { max-width: 720px; margin-bottom: 40px; }
.akm .sec-head.is-wide { max-width: 820px; }
.akm .sec-head h2, .akm .cta h2 {
	font-family: var(--display); font-optical-sizing: auto;
	font-variation-settings: "opsz" 48; font-weight: 600;
	font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.015em; line-height: 1.12; margin: 0 0 16px;
	color: var(--ink);
}
.akm .dark .sec-head h2 { color: var(--text-dark-1); }
.akm .sec-head p { font-size: 17px; line-height: 27px; color: var(--grey-600); margin: 0; }
.akm .dark .sec-head p { color: var(--text-dark-2); }

/* ---------- The problem (light) ---------- */
.akm .prose { max-width: 760px; margin: 0; } /* main.css also styles .prose (margin auto); pin it left here. */
.akm .prose p { font-size: 17px; line-height: 28px; color: var(--grey-700); margin: 0 0 20px; }
.akm .prose p:last-child { margin-bottom: 0; }

/* ---------- How it works (dark) ---------- */
.akm .steps { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .akm .steps { grid-template-columns: repeat(3, 1fr); } }
.akm .step-card {
	background: var(--surface-1); border: 1px solid var(--border-dark); border-radius: var(--r-xl);
	padding: 30px 28px;
}
.akm .step-card .num {
	width: 36px; height: 36px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--surface-2); color: var(--teal);
	font-size: 16px; font-weight: 700; margin-bottom: 16px;
}
.akm .step-card h3 { font-size: 18px; font-weight: 700; color: var(--text-dark-1); margin-bottom: 10px; }
.akm .step-card p { font-size: 15px; line-height: 25px; color: var(--text-dark-2); margin: 0; }

/* ---------- What makes it different (light) ---------- */
.akm .diff-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .akm .diff-grid { grid-template-columns: repeat(3, 1fr); } }
.akm .diff-card {
	background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: var(--r-xl);
	box-shadow: var(--shadow-sm); padding: 30px 28px;
}
.akm .diff-card h3 { font-size: 18px; font-weight: 700; color: var(--grey-900); margin-bottom: 10px; }
.akm .diff-card p { font-size: 15px; line-height: 25px; color: var(--grey-600); margin: 0; }

/* ---------- Proof (dark) ---------- */
.akm .stat-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .akm .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.akm .stat-card {
	background: var(--surface-1); border: 1px solid var(--border-dark); border-radius: var(--r-xl);
	padding: 28px 26px;
}
.akm .stat-card .val {
	font-family: var(--display); font-optical-sizing: auto; font-variation-settings: "opsz" 48;
	font-weight: 600; font-size: 38px; line-height: 1.05; letter-spacing: -0.015em; color: var(--teal);
	font-variant-numeric: tabular-nums;
}
.akm .stat-card .lbl { font-size: 15px; line-height: 23px; color: var(--text-dark-2); margin-top: 10px; }
.akm .dark .footnote { font-size: 13px; line-height: 20px; color: var(--muted-dark); margin: 24px 0 0; max-width: 780px; }

/* ---------- Buttons + closing CTA (light) ---------- */
.akm .btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 50px; padding: 0 28px; border-radius: var(--r-lg); border: 1px solid transparent;
	font-size: 16px; font-weight: 600; white-space: nowrap; text-decoration: none;
	transition: background 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.akm .btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 10px 24px -8px rgba(53,67,208,.45); }
.akm .btn-primary:hover { background: var(--blue-600); color: #fff; }
.akm .btn-primary:active { background: var(--blue-700); }
.akm .btn-lg { height: 56px; padding: 0 34px; font-size: 17px; }
.akm .btn:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue-500); }
.akm .dark .btn:focus-visible { box-shadow: 0 0 0 2px var(--surface-base), 0 0 0 4px var(--teal); }

.akm .cta { text-align: center; }
.akm .cta-inner { max-width: 760px; margin: 0 auto; }
.akm .cta p.lede { font-size: 18px; line-height: 28px; color: var(--grey-600); margin: 0 auto 14px; max-width: 620px; }
.akm .cta .btn { margin-top: 16px; }
.akm .cta .cta-support { font-size: 14px; color: var(--grey-500); margin: 28px 0 0; }
.akm .cta .cta-support a { color: var(--blue-500); font-weight: 600; text-decoration: none; }
.akm .cta .cta-support a:hover { color: var(--blue-600); text-decoration: underline; }

/* CTA microcopy: geometry in main.css, colour per background. Hero is dark,
   the closing CTA section is light. */
.akm .cta-note.on-dark { color: var(--text-dark-2); }
.akm .cta .cta-note { color: var(--grey-500); margin-top: 14px; }
