/* AMC MCQs theme — bright clinical palette, exam-screen hero. */
:root {
  --ink: #0b1b3f;
  --ink-2: #33415f;
  --muted: #5a6784;
  --paper: #f5f8ff;
  --white: #ffffff;
  --line: #e1e8f5;
  --line-2: #cbd6ec;
  --royal: #1e5eff;
  --royal-deep: #1640c8;
  --royal-soft: #e8efff;
  --teal: #0fa596;
  --teal-soft: #e2f7f4;
  --orange: #ff6b1a;
  --orange-deep: #e85a0c;
  --orange-soft: #fff1e8;
  --amber: #ffb020;
  --red: #d92d43;
  --red-soft: #fdecef;
  --radius-lg: 22px;
  --radius: 14px;
  --shadow-panel: 0 30px 60px -28px rgba(22, 64, 200, .35), 0 2px 6px rgba(11, 27, 63, .06);
  --shadow-card: 0 1px 2px rgba(11, 27, 63, .05), 0 8px 24px -12px rgba(11, 27, 63, .12);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
  --amc-ink: var(--ink);
  --amc-muted: var(--muted);
  --amc-line: var(--line);
  --amc-bg2: var(--paper);
  --amc-brand: var(--royal);
  --amc-brand-soft: var(--royal-soft);
  --amc-navy: var(--ink);
  --amc-radius: var(--radius);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--royal); text-underline-offset: 3px; }
a:hover { color: var(--royal-deep); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.amct-skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.amct-skip:focus { left: 8px; }

.amct-container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.amct-narrow { max-width: 860px; }
.amct-center { text-align: center; }
.amct-muted { color: var(--muted); }
.amct-small { font-size: .9rem; }
.amct-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.amct-between { justify-content: space-between; }
.amct-justify-center { justify-content: center; }
.amct-stack > * + * { margin-top: 16px; }
.amct-stack-lg > * + * { margin-top: 40px; }
.amct-pad { padding-top: 48px; padding-bottom: 72px; }
.amct-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.amct-center .amct-lead, .amct-lead.amct-center { margin-left: auto; margin-right: auto; }
.amct-h3 { font-size: 1.2rem; }
.amct-icon { flex: none; }
.amct-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.amct-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--royal); margin-bottom: 14px; }
.amct-kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); }
.amct-eyebrow { display: inline-block; font-weight: 700; font-size: .95rem; color: var(--royal); margin-bottom: 12px; }

.amct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font: 700 .98rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.amct-btn:active { transform: translateY(1px); }
.amct-btn-lg { padding: 16px 26px; font-size: 1.05rem; border-radius: 14px; }
.amct-btn-cta, .amct-btn-brand { background: var(--orange); color: #fff; box-shadow: 0 10px 22px -10px rgba(255, 107, 26, .8); }
.amct-btn-cta:hover, .amct-btn-brand:hover { background: var(--orange-deep); color: #fff; }
.amct-btn-royal, .amct-btn-dark { background: var(--royal); color: #fff; }
.amct-btn-royal:hover, .amct-btn-dark:hover { background: var(--royal-deep); color: #fff; }
.amct-btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.amct-btn-ghost:hover { border-color: var(--royal); color: var(--royal); }
.amct-btn-light { background: #fff; color: var(--royal-deep); }
.amct-btn-light:hover { background: var(--royal-soft); color: var(--royal-deep); }
.amct-btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.amct-btn-outline-light:hover { border-color: #fff; color: #fff; }
.amct-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--royal); text-decoration: none; }
.amct-link .amct-icon { width: 18px; height: 18px; }

/* Header */
.amct-topbar { background: var(--ink); color: #dfe7ff; font-size: .88rem; }
.amct-topbar .amct-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 10px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.amct-topbar a { color: #fff; font-weight: 700; }
.amct-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .amct-header { top: 32px; }
.amct-header-inner { position: relative; display: flex; align-items: center; gap: 24px; min-height: 72px; }
.amct-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.amct-logo strong { color: var(--royal); font-weight: 800; }
.amct-logo-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--royal); color: #fff; font-size: 1.05rem; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); }
.amct-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.amct-menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.amct-menu > li { position: relative; }
.amct-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.amct-menu a:hover { background: var(--paper); color: var(--royal); }
.amct-sub { list-style: none; position: absolute; top: 100%; left: 0; min-width: 300px; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.amct-has-sub:hover .amct-sub, .amct-has-sub:focus-within .amct-sub { opacity: 1; visibility: visible; transform: none; }
.amct-sub a { font-weight: 500; font-size: .95rem; }
.amct-nav-cta { display: flex; gap: 10px; }
.amct-menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px; color: var(--ink); cursor: pointer; }
@media (max-width: 1020px) {
  .amct-menu-toggle { display: inline-flex; }
  .amct-nav { display: none; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card); }
  .amct-nav.is-open { display: flex; }
  .amct-menu { flex-direction: column; }
  .amct-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .amct-nav-cta { flex-direction: column; }
}
@media (max-width: 782px) { .admin-bar .amct-header { top: 46px; } }

/* Home hero */
.amct-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); padding: 64px 0 76px; }
.amct-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 75%); mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 75%); pointer-events: none; }
.amct-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.amct-hero h1 { margin-bottom: 20px; }
.amct-hero .amct-lead { margin-bottom: 28px; }
.amct-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 26px 0 0; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.amct-trust li { display: inline-flex; align-items: center; gap: 8px; }
.amct-trust .amct-icon { color: var(--teal); width: 20px; height: 20px; }
@media (max-width: 960px) { .amct-hero-grid { grid-template-columns: 1fr; gap: 40px; } .amct-hero { padding-top: 40px; } }

/* Exam-screen demo panel */
.amct-exam { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-panel); overflow: hidden; }
.amct-exam-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--ink); color: #fff; font-size: .9rem; }
.amct-exam-title { font-weight: 700; }
.amct-exam-meta { color: #a9b8e0; }
.amct-timer { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; font-weight: 800; }
.amct-timer svg { width: 30px; height: 30px; transform: rotate(-90deg); }
.amct-timer-track { stroke: rgba(255,255,255,.18); }
.amct-timer-fill { stroke: var(--amber); transition: stroke-dashoffset 1s linear; }
.amct-timer.is-low .amct-timer-fill { stroke: #ff6b7d; }
.amct-exam-progress { height: 4px; background: var(--royal-soft); }
.amct-exam-progress span { display: block; height: 100%; width: 1%; background: var(--royal); }
.amct-exam-body { padding: 22px 22px 24px; }
.amct-exam-tag { display: inline-flex; align-items: center; font-size: .85rem; font-weight: 700; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.amct-demo-stem { font-size: 1rem; line-height: 1.6; color: var(--ink); margin-bottom: 16px; }
.amct-demo-options { display: grid; gap: 8px; }
.amct-demo-option { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font: 500 .95rem/1.45 var(--font); color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s; }
.amct-demo-option:hover:not(:disabled) { border-color: var(--royal); background: var(--royal-soft); }
.amct-key { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font-weight: 800; font-size: .85rem; }
.amct-demo-option.is-correct { border-color: var(--teal); background: var(--teal-soft); }
.amct-demo-option.is-correct .amct-key { background: var(--teal); color: #fff; border-color: var(--teal); }
.amct-demo-option.is-wrong { border-color: var(--red); background: var(--red-soft); }
.amct-demo-option.is-wrong .amct-key { background: var(--red); color: #fff; border-color: var(--red); }
.amct-demo-option:disabled { cursor: default; }
.amct-demo-explain { margin-top: 16px; padding: 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: .95rem; }
.amct-exam-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 22px; border-top: 1px solid var(--line); background: var(--paper); font-size: .85rem; color: var(--muted); }

/* Proof strip */
.amct-proof { border-block: 1px solid var(--line); background: #fff; }
.amct-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.amct-proof-grid > div { padding: 26px 20px; border-left: 1px solid var(--line); }
.amct-proof-grid > div:first-child { border-left: 0; }
.amct-proof strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--royal-deep); line-height: 1.1; }
.amct-proof span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .amct-proof-grid { grid-template-columns: 1fr 1fr; } .amct-proof-grid > div:nth-child(3) { border-left: 0; } .amct-proof-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Sections */
.amct-section { padding: 88px 0; }
.amct-section-alt { background: var(--paper); }
.amct-section-head { max-width: 760px; margin-bottom: 44px; }
.amct-section-head.amct-center { margin-left: auto; margin-right: auto; }
.amct-section-head p { color: var(--ink-2); font-size: 1.08rem; }
.amct-section-foot { margin-top: 36px; }
@media (max-width: 760px) { .amct-section { padding: 60px 0; } }

/* Blueprint bar */
.amct-blueprint { display: flex; height: 64px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); }
.amct-blueprint a { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; text-decoration: none; font-size: 1.05rem; background: var(--dc); transition: filter .15s; }
.amct-blueprint a:hover { filter: brightness(1.08); color: #fff; }
.amct-blueprint-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin-top: 24px; }
.amct-blueprint-legend a { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.amct-blueprint-legend a:hover strong { color: var(--royal); }
.amct-blueprint-legend .amct-dot { width: 12px; height: 12px; margin: 0; }
.amct-blueprint-legend strong { font-weight: 700; }
.amct-blueprint-legend em { grid-column: 2; font-style: normal; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .amct-blueprint-legend { grid-template-columns: 1fr; } .amct-blueprint a { font-size: .78rem; } }

/* Features */
.amct-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.amct-feature { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.amct-feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--royal-soft); color: var(--royal); }
.amct-feature h3 { margin-bottom: 6px; }
.amct-feature p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .amct-features { grid-template-columns: 1fr; } }

/* Steps */
.amct-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; margin: 0; }
.amct-steps li { counter-increment: s; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.amct-steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; }
.amct-steps p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .amct-steps { grid-template-columns: 1fr; } }

/* Split block */
.amct-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.amct-split-aside { position: sticky; top: 100px; }
@media (max-width: 960px) { .amct-split { grid-template-columns: 1fr; } .amct-split-aside { position: static; } }
.amct-factbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-card); }
.amct-factbox h3 { margin-bottom: 14px; }
.amct-factbox dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.amct-factbox dt, .amct-factbox dd { margin: 0; padding: 11px 0; border-top: 1px solid var(--line); }
.amct-factbox dt { color: var(--muted); font-size: .92rem; padding-right: 18px; }
.amct-factbox dd { font-weight: 700; text-align: right; }
.amct-factbox .amct-small { margin: 14px 0 0; }
.amct-factbox .amct-btn { width: 100%; margin-top: 16px; }

/* Domain grid */
.amct-domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.amct-domain { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--dc, var(--royal)); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: box-shadow .15s; }
.amct-domain:hover { box-shadow: var(--shadow-card); color: var(--ink); }
.amct-domain p { color: var(--ink-2); font-size: .96rem; margin: 0 0 6px; flex: 1; }
.amct-domain h2, .amct-domain h3 { margin: 4px 0 2px; font-size: 1.2rem; }
.amct-domain-meta { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); font-weight: 600; }
@media (max-width: 960px) { .amct-domains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .amct-domains { grid-template-columns: 1fr; } }

.amct-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.amct-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--ink-2); }

/* Packs (plugin markup) */
.amct-main .amc-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.amct-main .amc-pack { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.amct-main .amc-pack.is-featured { border: 2px solid var(--royal); box-shadow: var(--shadow-panel); }
.amct-main .amc-pack h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.amct-main .amc-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.amct-main .amc-price .amc-small { font-size: .9rem; letter-spacing: 0; font-weight: 600; }
.amct-main .amc-ticks { flex: 1; margin: 18px 0 22px; padding: 0; list-style: none; }
.amct-main .amc-ticks li { position: relative; padding: 6px 0 6px 28px; font-size: .97rem; }
.amct-main .amc-ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230fa596' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.amct-main .amc-pack .amc-btn { width: 100%; justify-content: center; padding: 14px; border-radius: 12px; font-weight: 800; }
.amct-main .amc-pack .amc-btn-brand { background: var(--orange); border-color: var(--orange); color: #fff; }
.amct-main .amc-pack .amc-btn-brand:hover { background: var(--orange-deep); }
.amct-main .amc-pack .amc-btn-dark { background: var(--royal); border-color: var(--royal); color: #fff; }
.amct-main .amc-badge { align-self: flex-start; }
@media (max-width: 900px) { .amct-main .amc-packs { grid-template-columns: 1fr; } }

/* FAQ */
.amct-faq { display: grid; gap: 12px; }
.amct-faq details, .amct-faq-block details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; }
.amct-faq summary, .amct-faq-block summary { cursor: pointer; list-style: none; padding: 18px 58px 18px 22px; font-weight: 700; position: relative; color: var(--ink); }
.amct-faq summary::-webkit-details-marker, .amct-faq-block summary::-webkit-details-marker { display: none; }
.amct-faq summary::after, .amct-faq-block summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--royal-soft); color: var(--royal); font-weight: 800; }
.amct-faq details[open] summary::after, .amct-faq-block details[open] summary::after { content: "–"; }
.amct-faq details > p, .amct-faq-block details > p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); }

/* CTA band */
.amct-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 48px; border-radius: 28px; background: var(--royal); color: #fff; }
.amct-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 48px solid rgba(255, 255, 255, .08); pointer-events: none; }
.amct-cta h2 { color: #fff; margin-bottom: 8px; }
.amct-cta p { color: #dce6ff; margin: 0; max-width: 56ch; }
.amct-cta .amct-row { position: relative; z-index: 1; flex: none; }
@media (max-width: 760px) { .amct-cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; } }

/* Inline CTA */
.amct-icta { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin: 36px 0; padding: 22px 24px; border-radius: 18px; background: var(--royal-soft); border: 1px solid #cfdcff; }
.amct-icta strong { display: block; font-size: 1.08rem; color: var(--ink); margin-bottom: 2px; }
.amct-icta span { color: var(--ink-2); font-size: .95rem; }
.amct-icta.is-orange { background: var(--orange-soft); border-color: #ffd9c2; }
.amct-icta.is-ink { background: var(--ink); border-color: var(--ink); }
.amct-icta.is-ink strong { color: #fff; }
.amct-icta.is-ink span { color: #b9c6ea; }
@media (max-width: 620px) { .amct-icta { grid-template-columns: 1fr; } .amct-icta .amct-btn { width: 100%; } }

/* Inner page hero */
.amct-page-hero { position: relative; background: linear-gradient(180deg, var(--paper), #fff); padding: 48px 0 44px; border-bottom: 1px solid var(--line); }
.amct-page-hero-sm { padding: 36px 0 32px; }
.amct-page-hero h1 { font-size: clamp(2rem, 3.8vw, 3rem); }
.amct-page-hero .amct-lead { margin-bottom: 22px; }
.amct-crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.amct-crumbs a { color: var(--muted); text-decoration: none; }
.amct-crumbs a:hover { color: var(--royal); }
.amct-hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.amct-hero-facts span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.amct-hero-facts b { color: var(--dc, var(--royal)); font-weight: 800; }

/* Long-form layout */
.amct-longform { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; padding-top: 44px; padding-bottom: 80px; }
.amct-sidebar { position: sticky; top: 96px; display: grid; gap: 18px; }
.amct-toc { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: .93rem; }
.amct-toc strong { display: block; margin-bottom: 10px; }
.amct-toc ol { margin: 0; padding-left: 26px; display: grid; gap: 6px; max-height: 48vh; overflow: auto; }
.amct-toc a { color: var(--ink-2); text-decoration: none; }
.amct-toc a:hover, .amct-toc a.is-active { color: var(--royal); font-weight: 700; }
.amct-side-cta { padding: 22px; border-radius: var(--radius-lg); background: var(--ink); color: #c9d5f5; }
.amct-side-cta h3 { color: #fff; font-size: 1.15rem; }
.amct-side-cta p { font-size: .93rem; }
.amct-side-cta ul { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 8px; font-size: .93rem; }
.amct-side-cta li::before { content: "✓"; color: var(--amber); font-weight: 800; margin-right: 8px; }
.amct-side-cta .amct-btn { width: 100%; }
.amct-side-cta .amct-btn + .amct-btn { margin-top: 10px; }
@media (max-width: 1020px) { .amct-longform { grid-template-columns: 1fr; gap: 32px; } .amct-sidebar { position: static; } .amct-toc { display: none; } }

/* Prose */
.amct-prose { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); min-width: 0; }
.amct-prose > * { max-width: 74ch; }
.amct-prose > .amct-table-wrap, .amct-prose > figure, .amct-prose > .amct-icta, .amct-prose > .amct-qcard, .amct-prose > .amct-tldr, .amct-prose > .amct-sources, .amct-prose > .amct-faq-block, .amct-prose > .amct-note { max-width: none; }
.amct-prose h2 { margin-top: 2.2em; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.amct-prose h3 { margin-top: 1.7em; font-size: 1.25rem; }
.amct-prose h4 { margin-top: 1.4em; font-size: 1.05rem; }
.amct-prose strong { color: var(--ink); }
.amct-prose ul, .amct-prose ol { padding-left: 1.3em; }
.amct-prose li { margin: .35em 0; }
.amct-prose li::marker { color: var(--royal); font-weight: 700; }
.amct-prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--royal); background: var(--paper); border-radius: 0 12px 12px 0; }
.amct-prose figure { margin: 32px 0; }
.amct-prose figure img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.amct-prose figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.amct-prose > :first-child { margin-top: 0; }
.amct-tldr { margin: 28px 0; padding: 24px 26px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--royal); }
.amct-prose .amct-tldr h2 { font-size: 1.2rem; margin: 0 0 10px; }
.amct-tldr ul { margin: 0; }
.amct-note { margin: 26px 0; padding: 18px 22px; border-radius: 14px; background: #fff8e6; border: 1px solid #ffe2a3; }
.amct-note p:last-child { margin: 0; }
.amct-table-wrap { margin: 26px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.amct-table-wrap table, .amct-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.amct-table-wrap table { min-width: 540px; }
.amct-table-wrap th, .amct-table-wrap td, .amct-table th, .amct-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.amct-table-wrap thead th, .amct-table thead th { background: var(--ink); color: #fff; font-weight: 700; }
.amct-table-wrap tbody tr:nth-child(even) { background: var(--paper); }
.amct-table-wrap tr:last-child td { border-bottom: 0; }
.amct-qcard { margin: 32px 0; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-card); }
.amct-qcard::before { content: "Practice question"; display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--teal-soft); color: #08786d; font-size: .82rem; font-weight: 800; }
.amct-qstem { color: var(--ink); font-weight: 500; }
.amct-qopts { padding-left: 1.6em; }
.amct-qopts li { padding: 4px; }
.amct-qopts li::marker { font-weight: 800; }
.amct-qcard details { margin-top: 12px; border-top: 1px dashed var(--line-2); padding-top: 12px; }
.amct-qcard summary { cursor: pointer; font-weight: 800; color: var(--royal); }
.amct-qcard details[open] summary { margin-bottom: 10px; }
.amct-faq-block { margin-top: 48px; }
.amct-faq-block details { margin-top: 10px; }
.amct-sources { margin-top: 48px; padding: 22px 24px; border-radius: 14px; background: var(--paper); font-size: .9rem; }
.amct-prose .amct-sources h2 { font-size: 1.05rem; margin: 0 0 10px; }
.amct-sources ul { margin: 0; padding-left: 1.1em; }
.amct-sources a { word-break: break-word; }

/* Article header */
.amct-article-hero { background: linear-gradient(180deg, var(--paper), #fff); border-bottom: 1px solid var(--line); padding: 40px 0 0; }
.amct-article-hero .amct-lead { margin-bottom: 18px; }
.amct-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .92rem; font-weight: 600; margin-bottom: 26px; }
.amct-cat { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--royal); color: #fff; font-weight: 700; font-size: .85rem; text-decoration: none; }
.amct-cat:hover { color: #fff; background: var(--royal-deep); }
.amct-featured { margin: 0; transform: translateY(36px); }
.amct-featured img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-panel); }
.amct-has-featured .amct-longform { padding-top: 84px; }

/* Article cards */
.amct-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.amct-post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .15s; }
.amct-post-card:hover { box-shadow: var(--shadow-card); }
.amct-post-card .amct-thumb { display: block; }
.amct-post-card .amct-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.amct-post-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.amct-post-card h2, .amct-post-card h3 { font-size: 1.15rem; margin: 0; }
.amct-post-card h2 a, .amct-post-card h3 a { color: var(--ink); text-decoration: none; }
.amct-post-card h2 a:hover, .amct-post-card h3 a:hover { color: var(--royal); }
.amct-post-card p { color: var(--ink-2); font-size: .95rem; margin: 0; flex: 1; }
.amct-post-card .amct-small { color: var(--muted); font-weight: 600; }
.amct-posts .is-lead { grid-column: span 3; flex-direction: row; }
.amct-posts .is-lead .amct-thumb { flex: 1.2; }
.amct-posts .is-lead .amct-post-body { flex: 1; justify-content: center; padding: 32px; }
.amct-posts .is-lead h2 { font-size: 1.6rem; }
@media (max-width: 960px) { .amct-posts { grid-template-columns: 1fr 1fr; } .amct-posts .is-lead { grid-column: span 2; flex-direction: column; } }
@media (max-width: 620px) { .amct-posts { grid-template-columns: 1fr; } .amct-posts .is-lead { grid-column: auto; } }

/* Topic page extras */
.amct-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.amct-chips li { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.amct-chips li span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.amct-sample { padding: 0; overflow: hidden; }
.amct-sample summary { cursor: pointer; padding: 18px 22px; font-weight: 700; background: var(--paper); }
.amct-sample > *:not(summary) { margin-left: 22px; margin-right: 22px; }
.amct-sample-stem { margin-top: 18px; color: var(--ink); }
.amct-sample-options li { padding: 4px 0; }
.amct-sample-options li.is-correct { color: #08786d; font-weight: 700; }
.amct-explain { margin-bottom: 22px; padding: 16px; border-radius: 12px; background: var(--teal-soft); font-size: .96rem; }
.amct-explain p:last-child { margin: 0; }
.amct-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.amct-links li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.amct-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.amct-links a:hover { color: var(--royal); }
@media (max-width: 620px) { .amct-links { grid-template-columns: 1fr; } }
.amct-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .amct-grid-2 { grid-template-columns: 1fr; } }
.amct-compare td:not(:first-child), .amct-compare th:not(:first-child) { text-align: center; }
.amct-compare .yes { color: var(--teal); font-weight: 800; }

/* Footer */
.amct-footer { background: var(--ink); color: #b9c6ea; padding: 64px 0 28px; }
.amct-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.amct-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; }
.amct-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.amct-footer a { color: #b9c6ea; text-decoration: none; }
.amct-footer a:hover { color: #fff; }
.amct-logo-light { color: #fff; }
.amct-logo-light strong { color: #8fb0ff; }
.amct-footer-muted { color: #8f9dc4; }
.amct-disclaimer { margin: 24px 0 8px; font-size: .86rem; color: #8f9dc4; max-width: 90ch; }
.amct-footer .amct-btn { margin-top: 8px; }
@media (max-width: 860px) { .amct-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .amct-footer-grid { grid-template-columns: 1fr; } }

/* Sticky mobile CTA */
.amct-mbar { display: none; }
@media (max-width: 760px) {
  .amct-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11, 27, 63, .25); }
  .amct-mbar .amct-btn { flex: 1; padding: 13px 10px; }
  body.has-mbar { padding-bottom: 76px; }
}

.amct-wc { padding: 8px 0; }
.amct-app-wrap { padding-top: 28px; padding-bottom: 72px; }
.amct-pagination { margin-top: 36px; }
.amct-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.amct-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.amct-pagination .current { background: var(--royal); color: #fff; border-color: var(--royal); }
.amct-empty { text-align: center; padding: 48px; }
.amct-prose .amct-kicker + h2, .amct-kicker + h2 { margin-top: 0; }
.amct-prose > .amct-kicker { display: flex; }
