:root {
  --am-ink: #0b1d31;
  --am-blue: #1f57d6;
  --am-blue-soft: #8aaef3;
  --am-orange: #e8683f;
  --am-green: #257a5a;
  --am-paper: #f2efe8;
  --am-paper-light: #fbfaf6;
  --am-white: #fff;
  --am-line: #d9d5cb;
  --am-muted: #64707d;
  --am-serif: Georgia, "Times New Roman", serif;
  --am-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --am-shell: 1180px;
  --am-text-xs: 12px;
  --am-text-sm: 14px;
  --am-text-base: 16px;
  --am-text-lg: 18px;
  --am-text-lead: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: clip; scroll-behavior: smooth; background: var(--am-paper); }
body { position: relative; width: 100%; max-width: 100%; margin: 0; overflow-x: hidden; overscroll-behavior-x: none; background: var(--am-paper); color: var(--am-ink); font-family: var(--am-sans); font-size: var(--am-text-base); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.admin-bar .am-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
iframe, embed, object, video, table { max-width: 100%; }
main, header, nav, section, footer, article, aside, figure, div { min-width: 0; }
.am-announcement, .am-header, .am-mobile-nav, #main-content, .am-footer { width: 100%; max-width: 100%; }
#main-content { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.am-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.am-shell { width: min(calc(100% - 48px), var(--am-shell)); max-width: 100%; margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 16px; clip: auto; background: #fff; color: #000; }

.am-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: var(--am-blue); font-size: var(--am-text-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.am-kicker span { color: var(--am-orange); font: 18px/1 var(--am-serif); letter-spacing: 0; }
.am-kicker-light { color: rgba(255,255,255,.62); }
.am-kicker-light span { color: var(--am-orange); }
.am-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border: 0; border-radius: 0; background: var(--am-blue); color: white; font-size: var(--am-text-sm); font-weight: 800; letter-spacing: .02em; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.am-button:hover, .am-button:focus-visible { background: var(--am-orange); color: white; transform: translateY(-1px); }
.am-button-small { min-height: 44px; padding: 11px 17px; font-size: 13px; }
.am-button-light { background: var(--am-paper-light); color: var(--am-ink); }
.am-button-light:hover, .am-button-light:focus-visible { background: var(--am-orange); color: white; }
.am-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--am-blue); font-size: var(--am-text-sm); font-weight: 800; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.am-text-link:hover { color: var(--am-orange); }
.am-text-link .am-icon { width: 16px; }

/* Header */
.am-announcement { min-height: 37px; display: flex; align-items: center; justify-content: space-between; padding: 8px 24px; background: var(--am-ink); color: rgba(255,255,255,.7); font-size: var(--am-text-xs); font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.am-formula { color: var(--am-blue-soft); font-family: var(--am-serif); font-size: var(--am-text-sm); text-transform: none; }
.am-header { position: sticky; z-index: 100; top: 0; min-height: 86px; display: grid; grid-template-columns: minmax(190px, .75fr) minmax(540px, 1.5fr) auto; align-items: center; gap: 18px; padding: 12px 24px; background: rgba(242,239,232,.96); border-bottom: 1px solid var(--am-line); backdrop-filter: blur(12px); }
.am-brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.am-brand-mark { width: 43px; height: 43px; display: grid; place-items: center; background: var(--am-blue); color: white; font: italic 28px/1 var(--am-serif); }
.am-brand > span:last-child { display: flex; flex-direction: column; }
.am-brand strong { font-size: 15px; letter-spacing: .11em; }
.am-brand small { margin-top: 2px; color: var(--am-blue); font-size: var(--am-text-xs); font-weight: 800; letter-spacing: .18em; }
.am-custom-logo .custom-logo-link, .am-custom-logo img { display: block; max-width: 190px; max-height: 55px; width: auto; height: auto; }
.am-menu { display: flex; align-items: center; justify-content: center; gap: clamp(14px,1.35vw,26px); margin: 0; padding: 0; list-style: none; }
.am-menu a { position: relative; padding-block: 9px; color: #334152; font-size: var(--am-text-sm); font-weight: 800; white-space: nowrap; }
.am-menu a::after { content: ""; position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; background: var(--am-orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.am-menu a:hover::after, .am-menu .current-menu-item > a::after, .am-menu .current_page_item > a::after { transform: scaleX(1); }
.am-menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--am-line); background: transparent; color: var(--am-ink); }
.am-menu-close { display: none; }
.am-menu-toggle[aria-expanded="true"] .am-menu-open { display: none; }
.am-menu-toggle[aria-expanded="true"] .am-menu-close { display: block; }
.am-mobile-nav { padding: 18px 24px 22px; background: var(--am-paper-light); border-bottom: 1px solid var(--am-line); }
.am-mobile-nav .am-menu { align-items: stretch; flex-direction: column; gap: 0; }
.am-mobile-nav .am-menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--am-line); }
.am-mobile-login { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--am-blue); font-size: var(--am-text-sm); font-weight: 800; }

/* Home */
.am-hero { min-height: 690px; display: grid; grid-template-columns: 1fr .93fr; align-items: center; gap: 86px; padding-block: 78px 96px; }
.am-hero h1 { margin: 0; font: 400 clamp(68px,7vw,108px)/.86 var(--am-serif); letter-spacing: -.065em; }
.am-hero h1 em { color: var(--am-blue); font-weight: inherit; }
.am-hero-lead { max-width: 590px; margin: 30px 0 0; color: var(--am-muted); font-size: var(--am-text-lead); line-height: 1.7; }
.am-actions { display: flex; align-items: center; gap: 28px; margin-top: 35px; }
.am-hero-board { position: relative; min-height: 520px; overflow: hidden; padding: 31px; background-color: var(--am-ink); background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size: 32px 32px; color: white; box-shadow: 15px 15px 0 var(--am-orange); }
.am-board-top { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.58); font-size: var(--am-text-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.am-equation { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; margin-top: 44px; font: italic 36px/1.1 var(--am-serif); }
.am-equation small { color: var(--am-blue-soft); font: 16px/1 var(--am-serif); }
.am-equation b { color: var(--am-orange); font-weight: 400; }
.am-board-grid { position: absolute; z-index: 2; right: 31px; bottom: 31px; left: 31px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.22); }
.am-board-grid > div { padding-top: 18px; }
.am-board-grid > div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.22); }
.am-board-grid span, .am-board-grid strong, .am-board-grid small { display: block; }
.am-board-grid span { color: var(--am-orange); font: 15px var(--am-serif); }
.am-board-grid strong { margin-top: 13px; font-size: var(--am-text-sm); }
.am-board-grid small { margin-top: 5px; color: rgba(255,255,255,.58); font-size: var(--am-text-xs); }
.am-board-curve { position: absolute; right: 14px; top: 150px; width: 68%; fill: none; stroke: rgba(138,174,243,.44); stroke-width: 2; }
.am-board-curve circle { fill: var(--am-orange); stroke: none; }
.am-level-strip { padding-block: 88px; background: var(--am-paper-light); border-block: 1px solid var(--am-line); }
.am-section-heading h2 { margin: 0; font: 400 clamp(40px,5vw,66px)/.98 var(--am-serif); letter-spacing: -.05em; }
.am-section-heading.am-split { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 85px; margin-bottom: 50px; }
.am-section-heading.am-split > p { margin: 0 0 5px; color: var(--am-muted); font-size: var(--am-text-lg); line-height: 1.7; }
.am-level-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 48px; border: 1px solid var(--am-line); }
.am-level-card { min-height: 330px; display: flex; flex-direction: column; padding: 27px; border-right: 1px solid var(--am-line); transition: background .2s ease, color .2s ease; }
.am-level-card:last-child { border-right: 0; }
.am-level-card:hover { background: var(--am-blue); color: white; }
.am-level-card > div { display: flex; justify-content: space-between; color: var(--am-blue); font: 15px var(--am-serif); }
.am-level-card:hover > div { color: var(--am-blue-soft); }
.am-level-card h3 { margin: 66px 0 18px; font: 400 34px var(--am-serif); letter-spacing: -.035em; }
.am-level-card p { margin: 0; color: var(--am-muted); font-size: 15px; line-height: 1.7; }
.am-level-card:hover p { color: rgba(255,255,255,.66); }
.am-level-card strong { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 26px; font-size: var(--am-text-sm); }
.am-level-card strong .am-icon { width: 16px; }
.am-resources { padding-block: 110px; }
.am-resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.am-home-resource { min-height: 390px; display: flex; flex-direction: column; padding: 27px; background: var(--am-paper-light); border-top: 4px solid var(--am-blue); }
.am-home-resource.am-accent-orange { border-color: var(--am-orange); }
.am-home-resource.am-accent-green { border-color: var(--am-green); }
.am-resource-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.am-resource-tags > span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; background: #e7ebf4; color: var(--am-blue); font-size: var(--am-text-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.am-resource-tags .am-private-tag { background: #e6efe8; color: var(--am-green); }
.am-resource-tags .am-icon { width: 12px; height: 12px; }
.am-home-resource h3 { margin: 58px 0 18px; font: 800 29px/1.16 var(--am-sans); letter-spacing: -.035em; }
.am-home-resource > p { margin: 0; color: var(--am-muted); font-size: 15px; line-height: 1.7; }
.am-home-resource > div:last-child { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--am-line); color: var(--am-muted); font-size: var(--am-text-xs); font-weight: 800; text-transform: uppercase; }
.am-home-resource > div:last-child a { width: 43px; height: 43px; display: grid; place-items: center; background: var(--am-ink); color: white; }
.am-home-resource > div:last-child a:hover { background: var(--am-blue); }
.am-source-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--am-muted); font-size: 13px; }
.am-source-note .am-icon { color: var(--am-green); }
.am-home-articles { padding-block: 110px; background: var(--am-paper-light); border-block: 1px solid var(--am-line); }
.am-article-preview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.am-home-article { min-height: 370px; display: flex; flex-direction: column; padding: 27px; background: var(--am-paper); border-top: 4px solid var(--am-orange); }
.am-home-article h3 { margin: 54px 0 18px; font: 800 29px/1.16 var(--am-sans); letter-spacing: -.035em; overflow-wrap: anywhere; }
.am-home-article h3 a:hover { color: var(--am-blue); }
.am-home-article > p { margin: 0; color: var(--am-muted); font-size: 15px; line-height: 1.7; }
.am-home-article > div:last-child { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--am-line); color: var(--am-muted); font-size: var(--am-text-xs); font-weight: 800; text-transform: uppercase; }
.am-home-article > div:last-child a { width: 43px; height: 43px; display: grid; place-items: center; background: var(--am-ink); color: white; }
.am-home-article > div:last-child a:hover { background: var(--am-blue); }
.am-all-articles-link { margin-top: 28px; }
.am-empty-card { grid-column: 1 / -1; margin: 0; padding: 32px; border: 1px solid var(--am-line); color: var(--am-muted); }
.am-method { padding-block: 100px; background: var(--am-ink); color: white; }
.am-method-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 100px; }
.am-method h2 { margin: 0; font: 400 clamp(44px,5vw,66px)/1 var(--am-serif); letter-spacing: -.05em; }
.am-method h2 em { color: var(--am-orange); font-weight: inherit; }
.am-method-list { border-top: 1px solid rgba(255,255,255,.2); }
.am-method-list > div { display: flex; align-items: center; gap: 18px; min-height: 91px; border-bottom: 1px solid rgba(255,255,255,.2); }
.am-method-list .am-icon { width: 26px; color: var(--am-blue-soft); }
.am-method-list strong, .am-method-list small { display: block; }
.am-method-list strong { font: 21px var(--am-serif); }
.am-method-list small { margin-top: 5px; color: rgba(255,255,255,.6); font-size: 13px; }
.am-teacher { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 95px; padding-block: 110px; }
.am-teacher-photo { position: relative; min-height: 500px; margin: 0; overflow: hidden; background: var(--am-blue); box-shadow: 14px 14px 0 var(--am-orange); }
.am-teacher-photo img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; object-position: center; }
.am-teacher-photo figcaption { position: absolute; right: 18px; bottom: 18px; padding: 9px 12px; background: rgba(11,29,49,.9); color: white; font-size: var(--am-text-xs); font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.am-teacher h2 { margin: 0; font: 400 clamp(54px,6vw,84px)/.88 var(--am-serif); letter-spacing: -.055em; }
.am-teacher > div > p:not(.am-kicker) { max-width: 610px; margin: 30px 0; color: var(--am-muted); font-size: 17px; line-height: 1.8; }
.am-contact-cta { padding-block: 90px; background: var(--am-blue); color: white; }
.am-contact-cta-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 90px; }
.am-contact-cta h2 { margin: 0; font: 400 clamp(44px,5vw,67px)/1 var(--am-serif); letter-spacing: -.045em; }
.am-contact-cta-inner > div:last-child { padding: 28px; background: rgba(255,255,255,.1); }
.am-contact-cta-inner > div:last-child p { margin: 0 0 25px; color: rgba(255,255,255,.75); font-size: var(--am-text-base); line-height: 1.7; }

/* Inner pages */
.am-page-intro { padding-block: 90px 76px; border-bottom: 1px solid var(--am-line); }
.am-page-intro h1 { max-width: 960px; margin: 0; font: 400 clamp(56px,7vw,98px)/.91 var(--am-serif); letter-spacing: -.06em; }
.am-page-intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 90px; }
.am-page-intro-grid > p { margin: 0 0 6px; color: var(--am-muted); font-size: var(--am-text-lg); line-height: 1.75; }
.am-prose { max-width: 820px; padding-block: 75px 105px; font-size: var(--am-text-lg); line-height: 1.85; }
.am-prose > *:first-child { margin-top: 0; }
.am-prose h2, .am-prose h3 { font-family: var(--am-serif); font-weight: 400; letter-spacing: -.03em; }
.am-prose h2 { margin-top: 2em; font-size: 40px; line-height: 1.15; }
.am-prose h3 { margin-top: 1.8em; font-size: 29px; }
.am-prose a:not(.am-button) { color: var(--am-blue); text-decoration: underline; text-underline-offset: 3px; }
.am-prose blockquote { margin: 35px 0; padding: 24px 30px; border-left: 4px solid var(--am-orange); background: var(--am-paper-light); font: 25px/1.45 var(--am-serif); }
.am-featured { margin-top: 55px; }
.am-featured img { width: 100%; max-height: 680px; object-fit: cover; }
.am-single-header { padding-block: 90px 45px; }
.am-single-header h1 { max-width: 980px; margin: 0; font: 400 clamp(52px,7vw,92px)/.95 var(--am-serif); letter-spacing: -.055em; }
.am-single-byline { display: flex; gap: 18px; margin-top: 27px; color: var(--am-muted); font-size: var(--am-text-xs); font-weight: 800; text-transform: uppercase; }
.am-post-nav { padding-bottom: 90px; }
.am-post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.am-post-nav a { display: block; padding: 22px; border: 1px solid var(--am-line); }
.am-post-list { padding-block: 40px 100px; }
.am-article-row { min-height: 200px; display: grid; grid-template-columns: 180px 1fr 52px; align-items: center; gap: 35px; border-bottom: 1px solid var(--am-line); }
.am-article-meta span, .am-article-meta time { display: block; }
.am-article-meta span { color: var(--am-blue); font-size: var(--am-text-xs); font-weight: 800; text-transform: uppercase; }
.am-article-meta time { margin-top: 11px; color: var(--am-muted); font-size: var(--am-text-xs); }
.am-article-copy h2 { margin: 0; font: 400 34px/1.1 var(--am-serif); letter-spacing: -.035em; }
.am-article-copy h2 a:hover { color: var(--am-blue); }
.am-article-copy p { max-width: 650px; margin: 13px 0 0; color: var(--am-muted); font-size: 15px; line-height: 1.7; }
.am-square-link { width: 48px; height: 48px; display: grid; place-items: center; background: var(--am-ink); color: white; }
.am-square-link:hover { background: var(--am-blue); }
.am-empty { display: grid; justify-items: center; padding: 95px 20px; text-align: center; border: 1px solid var(--am-line); }
.am-empty > span { color: var(--am-orange); font: 80px var(--am-serif); }
.am-empty h2 { margin: 0; font: 38px var(--am-serif); }
.am-empty p { color: var(--am-muted); }
.am-404 { min-height: 68vh; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding-block: 90px; }
.am-404 > span { color: var(--am-orange); font: 90px var(--am-serif); }
.am-404 h1 { max-width: 800px; margin: 0; font: 60px/1 var(--am-serif); }
.am-404 p { color: var(--am-muted); }

/* Resource library */
.am-library { padding-block: 52px 105px; }
.am-filters { display: grid; grid-template-columns: minmax(280px,2fr) repeat(2,minmax(190px,1fr)) auto; align-items: end; gap: 18px; padding: 27px; background: var(--am-ink); color: white; }
.am-filters label { display: flex; flex-direction: column; gap: 9px; color: rgba(255,255,255,.68); font-size: var(--am-text-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.am-filters input, .am-filters select { width: 100%; height: 50px; padding: 0 13px; border: 1px solid rgba(255,255,255,.32); border-radius: 0; background: transparent; color: white; font-size: var(--am-text-base); }
.am-filters select { background: var(--am-ink); }
.am-filters input::placeholder { color: rgba(255,255,255,.42); }
.am-results-summary { min-height: 75px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--am-line); color: var(--am-muted); font-size: var(--am-text-sm); }
.am-results-summary strong { color: var(--am-blue); font: 29px var(--am-serif); }
.am-results-summary a { margin-left: auto; color: var(--am-blue); font-weight: 800; }
.am-library-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; padding-top: 28px; }
.am-resource-card { min-height: 455px; display: flex; flex-direction: column; padding: 28px; background: var(--am-paper-light); border: 1px solid var(--am-line); }
.am-resource-card h2 { max-width: 500px; margin: 50px 0 17px; font: 800 30px/1.16 var(--am-sans); letter-spacing: -.04em; overflow-wrap: anywhere; }
.am-resource-card h2 a:hover { color: var(--am-blue); }
.am-resource-card > p { margin: 0; color: var(--am-muted); font-size: 15px; line-height: 1.7; }
.am-resource-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: auto 0 24px; padding-top: 35px; }
.am-resource-card dl > div { padding-top: 12px; border-top: 1px solid var(--am-line); }
.am-resource-card dt { margin-bottom: 7px; color: var(--am-muted); font-size: var(--am-text-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.am-resource-card dd { display: flex; align-items: center; gap: 6px; margin: 0; font-size: var(--am-text-sm); font-weight: 700; }
.am-resource-card dd .am-icon { width: 14px; color: var(--am-green); }
.am-resource-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 19px; border-top: 1px solid var(--am-line); color: var(--am-muted); font-size: var(--am-text-xs); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.am-resource-footer a { display: flex; align-items: center; gap: 7px; color: var(--am-blue); }
.am-resource-footer a:hover { color: var(--am-orange); }
.am-resource-footer .am-icon { width: 15px; }
.am-rights-note { display: flex; gap: 16px; margin-top: 25px; padding: 24px; background: #e6efe8; border-left: 4px solid var(--am-green); }
.am-rights-note > .am-icon { width: 25px; color: var(--am-green); }
.am-rights-note strong { font-size: 15px; }
.am-rights-note p { margin: 7px 0 0; color: var(--am-muted); font-size: var(--am-text-sm); line-height: 1.65; }
.page-numbers { list-style: none; display: flex; gap: 6px; margin: 35px 0 0; padding: 0; }
.page-numbers a, .page-numbers span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--am-line); font-size: var(--am-text-sm); }
.page-numbers .current { background: var(--am-blue); color: white; border-color: var(--am-blue); }
.am-resource-single-header { padding-block: 80px; background: var(--am-ink); color: white; }
.am-resource-single-header h1 { max-width: 1000px; margin: 30px 0 0; font: 800 clamp(48px,5.7vw,78px)/1.02 var(--am-sans); letter-spacing: -.045em; }
.am-resource-lead { max-width: 720px; margin: 28px 0 0; color: rgba(255,255,255,.7); font-size: var(--am-text-lg); line-height: 1.75; }
.am-resource-body { display: grid; grid-template-columns: .32fr .68fr; gap: 75px; padding-block: 80px 110px; }
.am-resource-facts dl { margin: 0 0 28px; border-top: 1px solid var(--am-line); }
.am-resource-facts dl > div { padding: 17px 0; border-bottom: 1px solid var(--am-line); }
.am-resource-facts dt { color: var(--am-muted); font-size: var(--am-text-xs); font-weight: 800; text-transform: uppercase; }
.am-resource-facts dd { margin: 7px 0 0; font-size: var(--am-text-sm); font-weight: 700; }
.am-resource-content { padding: 0; }
.am-download-button { margin-top: 30px; text-decoration: none !important; }
.am-pdf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.am-resource-content .am-pdf-actions .am-button { color: white; text-decoration: none; }
.am-button-outline { border: 1px solid var(--am-blue); background: transparent; color: var(--am-blue); }
.am-resource-content .am-pdf-actions .am-button-outline { color: var(--am-blue); }
.am-resource-content .am-pdf-actions .am-button-outline:hover, .am-resource-content .am-pdf-actions .am-button-outline:focus-visible { border-color: var(--am-orange); color: white; }
.am-pdf-preview { margin-top: 42px; scroll-margin-top: 130px; }
.am-pdf-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.am-pdf-preview-heading h2 { margin: 0; font: 400 30px/1.15 var(--am-serif); }
.am-pdf-preview-heading a { display: inline-flex; align-items: center; gap: 7px; color: var(--am-blue); font-size: var(--am-text-sm); font-weight: 800; text-decoration: none; }
.am-pdf-preview-heading a:hover { color: var(--am-orange); }
.am-pdf-preview-heading .am-icon { width: 16px; }
.am-pdf-frame { display: block; width: 100%; min-height: 760px; border: 1px solid var(--am-line); background: white; }
.am-pdf-fallback { margin: 12px 0 0; color: var(--am-muted); font-size: 13px; line-height: 1.6; }
.am-pdf-device-preview { display: none; }

/* About */
.am-about { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 95px; padding-block: 90px 115px; }
.am-about-photo { min-height: 540px; }
.am-about-copy > span { display: block; height: 55px; color: var(--am-orange); font: 100px/.8 var(--am-serif); }
.am-about-copy h2 { margin: 20px 0 28px; font: 400 45px/1.08 var(--am-serif); letter-spacing: -.045em; }
.am-about-copy > p { margin: 0 0 18px; color: var(--am-muted); font-size: 17px; line-height: 1.8; }
.am-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 32px 0 0; padding: 1px; background: var(--am-line); }
.am-facts > div { padding: 18px; background: var(--am-paper); }
.am-facts dt { color: var(--am-blue); font: 38px var(--am-serif); }
.am-facts dd { margin: 5px 0 0; color: var(--am-muted); font-size: var(--am-text-xs); font-weight: 800; text-transform: uppercase; }
.am-page-extra { padding: 35px 0 0; font-size: var(--am-text-base); }
.am-principles { padding-block: 95px; background: var(--am-ink); color: white; }
.am-principles-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid rgba(255,255,255,.18); }
.am-principles-grid article { min-height: 340px; padding: 25px; border-right: 1px solid rgba(255,255,255,.18); }
.am-principles-grid article:last-child { border-right: 0; }
.am-principles-grid article > span { color: var(--am-blue-soft); font: 17px var(--am-serif); }
.am-principles-grid .am-icon { display: block; width: 28px; margin: 52px 0 27px; color: var(--am-orange); }
.am-principles-grid h2 { margin: 0; font: 400 23px/1.15 var(--am-serif); }
.am-principles-grid p { color: rgba(255,255,255,.66); font-size: 15px; line-height: 1.65; }
.am-about-cta { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 55px; padding-block: 100px; }
.am-about-cta h2 { max-width: 820px; margin: 0; font: 400 clamp(38px,5vw,64px)/1 var(--am-serif); letter-spacing: -.045em; }

/* Contact */
.am-contact-options { display: grid; grid-template-columns: repeat(3,1fr); padding-block: 75px 100px; }
.am-contact-options article { min-height: 320px; padding: 28px; border: 1px solid var(--am-line); border-right: 0; }
.am-contact-options article:last-child { border-right: 1px solid var(--am-line); }
.am-contact-options .am-icon { width: 29px; color: var(--am-blue); }
.am-contact-options article > span { display: block; margin-top: 38px; color: var(--am-orange); font: 18px var(--am-serif); }
.am-contact-options h2 { margin: 22px 0 15px; font: 400 28px var(--am-serif); }
.am-contact-options p { color: var(--am-muted); font-size: 15px; line-height: 1.7; }
.am-contact-details { padding-block: 90px; background: var(--am-ink); color: white; }
.am-contact-details-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; }
.am-contact-details h2 { max-width: 680px; margin: 0; font: 400 46px/1.08 var(--am-serif); letter-spacing: -.04em; }
.am-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.am-contact-lines { border-top: 1px solid rgba(255,255,255,.2); }
.am-contact-lines > a, .am-contact-lines > div { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.am-contact-lines > a:hover strong { color: var(--am-blue-soft); }
.am-contact-lines .am-icon, .am-at { width: 23px; color: var(--am-blue-soft); font: 25px var(--am-serif); }
.am-contact-lines span, .am-contact-lines small, .am-contact-lines strong { display: block; }
.am-contact-lines small { color: rgba(255,255,255,.6); font-size: var(--am-text-xs); font-weight: 800; text-transform: uppercase; }
.am-contact-lines strong { margin-top: 5px; font-size: var(--am-text-base); }
.am-contact-form-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 85px; padding-block: 105px; }
.am-contact-form-section h2 { margin: 0; font: 400 55px/1 var(--am-serif); letter-spacing: -.045em; }
.am-contact-form-section > div:first-child > p:last-child { color: var(--am-muted); font-size: 15px; line-height: 1.75; }
.am-contact-form, .am-student-card { padding: 30px; background: var(--am-paper-light); border: 1px solid var(--am-line); }
.am-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.am-contact-form label, .am-student-card label { display: flex; flex-direction: column; gap: 8px; color: var(--am-muted); font-size: var(--am-text-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.am-contact-form input, .am-contact-form select, .am-contact-form textarea, .am-student-card input { width: 100%; padding: 11px 12px; border: 1px solid var(--am-line); border-radius: 0; background: white; color: var(--am-ink); font-size: var(--am-text-base); font-weight: 400; letter-spacing: 0; text-transform: none; }
.am-contact-form input, .am-contact-form select, .am-student-card input { height: 47px; }
.am-contact-form textarea { min-height: 145px; resize: vertical; }
.am-contact-form > label { margin-top: 20px; }
.am-consent { flex-direction: row !important; align-items: flex-start; gap: 10px !important; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.5; }
.am-consent input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; }
.am-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.am-form-note { color: var(--am-muted); font-size: 13px; line-height: 1.55; }
.am-form-message { margin: 0 0 20px; padding: 13px 15px; border-left: 4px solid var(--am-green); background: #e6efe8; font-size: var(--am-text-sm); }
.am-form-message.am-error { border-color: #b52f2f; background: #f6e4e4; }
.am-honeypot { position: absolute !important; left: -9999px !important; }
.am-plugin-notice { padding: 24px; background: #fff4d8; border-left: 4px solid #c78a11; }

/* Students */
.am-student-hero { padding-block: 78px 92px; background-color: var(--am-ink); background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size: 34px 34px; color: white; }
.am-student-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 95px; }
.am-student-grid > div:first-child h1 { margin: 0; font: 400 clamp(58px,6vw,91px)/.9 var(--am-serif); letter-spacing: -.055em; }
.am-student-grid h1 em { color: var(--am-orange); font-weight: inherit; }
.am-student-grid > div:first-child > p:not(.am-kicker) { max-width: 580px; margin: 28px 0 0; color: rgba(255,255,255,.72); font-size: var(--am-text-lg); line-height: 1.75; }
.am-security-line { display: flex; gap: 14px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.am-security-line > .am-icon { color: #5ee0ad; }
.am-security-line span, .am-security-line strong, .am-security-line small { display: block; }
.am-security-line strong { font-size: var(--am-text-sm); }
.am-security-line small { margin-top: 5px; color: rgba(255,255,255,.6); font-size: 13px; }
.am-student-card { color: var(--am-ink); box-shadow: 14px 14px 0 var(--am-orange); }
.am-student-card h2 { margin: 0 0 13px; font: 400 38px var(--am-serif); letter-spacing: -.035em; }
.am-student-card > p { color: var(--am-muted); font-size: 15px; line-height: 1.65; }
.am-student-card label { margin-top: 15px; }
.am-student-card .am-button { width: 100%; margin-top: 21px; }
.am-student-card input[type="radio"] { width: auto; height: auto; padding: 0; }
.am-student-card input[type="checkbox"] { width: 17px; height: 17px; padding: 0; }
.am-student-small { margin-top: 14px; color: var(--am-muted); font-size: 13px; line-height: 1.55; }
.am-student-welcome { display: flex; align-items: center; gap: 13px; margin-bottom: 23px; padding-bottom: 20px; border-bottom: 1px solid var(--am-line); }
.am-student-welcome > span:first-child { width: 34px; height: 34px; display: grid; flex: 0 0 34px; place-items: center; background: var(--am-blue); color: white; font: italic 21px/1 var(--am-serif); }
.am-student-welcome strong, .am-student-welcome small { display: block; }
.am-student-welcome small { margin-top: 4px; color: var(--am-muted); }
.am-student-dashboard { width: 100%; max-width: none; }
.am-student-panel { margin-top: 30px; scroll-margin-top: 120px; }
.am-student-panel h3 { margin: 0 0 12px; font: 400 27px/1.15 var(--am-serif); }
.am-student-resource-list, .am-student-quiz-list, .am-student-schedule-list { margin: 0; padding: 0; list-style: none; }
.am-student-resource-list li, .am-student-quiz-list > li, .am-student-schedule-list > li { padding: 13px 0; border-top: 1px solid var(--am-line); }
.am-student-resource-list a { color: var(--am-blue); font-size: var(--am-text-sm); font-weight: 800; }
.am-student-resource-list a:hover { color: var(--am-orange); }
.am-student-quiz-list a { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--am-blue); font-size: var(--am-text-sm); font-weight: 800; }
.am-student-quiz-list a:hover { color: var(--am-orange); }
.am-student-quiz-list b { flex: 0 0 auto; padding: 5px 8px; background: #e7ebf4; font-size: var(--am-text-xs); }
.am-quiz-view { margin-top: 22px; padding: 22px; border: 1px solid var(--am-line); background: var(--am-paper); }
.am-quiz-view h4 { margin: 0; font: 800 22px/1.25 var(--am-sans); letter-spacing: -.025em; }
.am-quiz-instructions { margin-top: 12px; color: var(--am-muted); font-size: 15px; line-height: 1.65; }
.am-quiz-instructions > :first-child { margin-top: 0; }
.am-quiz-form fieldset { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.am-quiz-form legend { width: 100%; margin-bottom: 12px; font-size: 15px; font-weight: 800; line-height: 1.5; }
.am-quiz-form legend span { display: inline-grid; width: 28px; height: 28px; margin-right: 9px; place-items: center; background: var(--am-blue); color: white; }
.am-quiz-form label { display: flex; align-items: flex-start; flex-direction: row; gap: 10px; margin: 7px 0 0; padding: 10px 12px; border: 1px solid var(--am-line); background: var(--am-paper-light); color: var(--am-ink); font-size: var(--am-text-sm); font-weight: 500; letter-spacing: 0; line-height: 1.5; text-transform: none; cursor: pointer; }
.am-quiz-form label:has(input:checked) { border-color: var(--am-blue); background: #e7ebf4; }
.am-quiz-form input[type="radio"] { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: var(--am-blue); }
.am-quiz-form label span { display: flex; gap: 8px; }
.am-quiz-form label b { color: var(--am-blue); }
.am-quiz-warning { margin: 20px 0 0; padding: 12px 14px; border-left: 4px solid var(--am-orange); background: #fff1e9; color: var(--am-ink); font-size: 13px; line-height: 1.55; }
.am-quiz-result { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 18px; margin-top: 18px; padding: 18px; background: var(--am-ink); color: white; }
.am-quiz-result span, .am-quiz-result small { color: rgba(255,255,255,.67); }
.am-quiz-result strong { grid-row: span 2; font: 400 36px/1 var(--am-serif); }
.am-quiz-result b { font-size: var(--am-text-sm); }
.am-quiz-result small { font-size: var(--am-text-xs); }
.am-student-schedule-list > li { display: grid; grid-template-columns: minmax(115px,.35fr) 1fr; gap: 10px 16px; }
.am-student-schedule-list > li > div { display: flex; flex-direction: column; }
.am-student-schedule-list strong { color: var(--am-blue); font-size: var(--am-text-sm); }
.am-student-schedule-list time { color: var(--am-muted); font-size: 13px; }
.am-student-schedule-list > li > b { font-size: var(--am-text-sm); }
.am-student-schedule-list p { grid-column: 2; margin: -4px 0 0; color: var(--am-muted); font-size: 13px; line-height: 1.55; }
.am-student-links { display: grid; gap: 9px; margin-top: 28px; }
.am-student-links a { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--am-line); color: var(--am-blue); font-size: var(--am-text-sm); font-weight: 800; }
.am-portal-features { display: grid; grid-template-columns: repeat(3,1fr); padding-block: 85px; }
.am-portal-feature { min-height: 290px; display: block; padding: 26px; border: 1px solid var(--am-line); border-right: 0; transition: background .2s ease, color .2s ease, transform .2s ease; }
.am-portal-feature:last-child { border-right: 1px solid var(--am-line); }
.am-portal-feature:hover, .am-portal-feature:focus-visible { position: relative; z-index: 1; background: var(--am-blue); color: white; transform: translateY(-3px); outline: 0; }
.am-portal-feature > span { color: var(--am-orange); font: 18px var(--am-serif); }
.am-portal-features .am-icon { display: block; width: 27px; margin: 45px 0 24px; color: var(--am-blue); }
.am-portal-feature:hover .am-icon, .am-portal-feature:focus-visible .am-icon { color: var(--am-blue-soft); }
.am-portal-features h2 { margin: 0; font: 400 27px var(--am-serif); }
.am-portal-features p { color: var(--am-muted); font-size: 15px; line-height: 1.65; }
.am-portal-feature:hover p, .am-portal-feature:focus-visible p { color: rgba(255,255,255,.76); }

/* Footer and WooCommerce */
.am-footer { min-height: 170px; display: grid; grid-template-columns: .8fr 1.4fr .8fr; align-items: center; gap: 35px; padding: 40px 24px; background: var(--am-paper-light); border-top: 1px solid var(--am-line); }
.am-footer-menu, .am-footer .am-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 26px; margin: 0; padding: 0; list-style: none; }
.am-brand-footer .am-footer-logo img { width: auto; height: auto; max-width: 72px; max-height: 64px; }
.am-footer-menu a, .am-footer .am-menu a { font-size: var(--am-text-xs); font-weight: 800; }
.am-footer-meta { justify-self: end; text-align: right; color: var(--am-muted); font-size: var(--am-text-xs); line-height: 1.6; }
.am-footer-meta a { color: var(--am-blue); }
.am-woocommerce { padding-block: 70px 100px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { border-radius: 0; background: var(--am-blue); color: white; }
.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price { color: var(--am-blue); }

@media (max-width: 1180px) {
  body.admin-bar .am-header { top: 46px; }
  .am-header { grid-template-columns: 1fr auto auto; }
  .am-desktop-nav { display: none; }
  .am-menu-toggle { display: grid; }
  .am-hero { grid-template-columns: 1fr; gap: 55px; }
  .am-hero-copy { max-width: 720px; }
  .am-hero-board { max-width: 680px; width: 100%; }
  .am-level-grid, .am-resource-grid, .am-article-preview-grid { grid-template-columns: 1fr; }
  .am-level-card { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--am-line); }
  .am-level-card:last-child { border-bottom: 0; }
  .am-level-card h3 { margin-top: 42px; }
  .am-section-heading.am-split, .am-method-inner, .am-teacher, .am-contact-cta-inner { grid-template-columns: 1fr; gap: 50px; }
  .am-teacher-photo { max-width: 590px; }
  .am-page-intro-grid, .am-about, .am-contact-details-inner, .am-resource-body { grid-template-columns: 1fr; gap: 42px; }
  .am-library-grid { grid-template-columns: 1fr; }
  .am-filters { grid-template-columns: 1fr 1fr; }
  .am-filters label:first-child { grid-column: 1 / -1; }
  .am-filters .am-button { grid-column: 1 / -1; width: 100%; }
  .am-principles-grid { grid-template-columns: repeat(2,1fr); }
  .am-principles-grid article:nth-child(2) { border-right: 0; }
  .am-principles-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .am-contact-form-section, .am-student-grid { grid-template-columns: 1fr; gap: 52px; }
  .am-student-card { max-width: 650px; }
  .am-pdf-preview-heading > a, .am-pdf-frame, .am-pdf-fallback { display: none; }
  .am-pdf-device-preview { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 26px; border: 1px solid var(--am-line); background: var(--am-paper-light); }
  .am-pdf-device-preview > .am-icon { width: 30px; height: 30px; color: var(--am-blue); }
  .am-pdf-device-preview h3 { margin: 0; font: 800 22px/1.25 var(--am-sans); letter-spacing: -.02em; }
  .am-pdf-device-preview p { margin: 10px 0 20px; color: var(--am-muted); font-size: var(--am-text-base); line-height: 1.65; }
  .am-pdf-device-preview .am-button { color: white; text-decoration: none; }
  .am-footer { grid-template-columns: 1fr 1fr; }
  .am-footer nav { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 640px) {
  .am-shell { width: min(calc(100% - 30px), var(--am-shell)); }
  .am-announcement { padding-inline: 15px; }
  .am-formula { display: none; }
  .am-header { min-height: 70px; padding-inline: 15px; gap: 10px; }
  .am-brand-mark { width: 38px; height: 38px; }
  .am-brand strong { font-size: var(--am-text-sm); }
  .am-header-login { display: none; }
  .am-hero { min-height: 0; padding-block: 52px 78px; }
  .am-hero h1 { font-size: clamp(58px,18vw,82px); }
  .am-hero-lead { font-size: var(--am-text-lg); }
  .am-actions { align-items: flex-start; flex-direction: column; }
  .am-hero-board { min-height: 470px; padding: 22px 20px; box-shadow: 8px 8px 0 var(--am-orange); }
  .am-equation { font-size: 27px; }
  .am-board-grid { right: 20px; bottom: 20px; left: 20px; grid-template-columns: 1fr; }
  .am-board-grid > div { min-height: 50px; padding-top: 9px; }
  .am-board-grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .am-board-grid small { display: none; }
  .am-board-curve { top: 190px; opacity: .5; }
  .am-level-strip, .am-resources, .am-home-articles, .am-method, .am-teacher, .am-contact-cta { padding-block: 75px; }
  .am-section-heading h2, .am-method h2, .am-teacher h2, .am-contact-cta h2 { font-size: 44px; }
  .am-resource-card, .am-home-resource, .am-home-article { min-height: 440px; padding: 22px; }
  .am-resource-card h2, .am-home-article h3 { font-size: 27px; }
  .am-resource-card dl { grid-template-columns: 1fr; gap: 12px; }
  .am-resource-footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  .am-pdf-actions { flex-direction: column; }
  .am-pdf-actions .am-button { width: 100%; }
  .am-pdf-preview-heading { align-items: flex-start; flex-direction: column; }
  .am-pdf-device-preview { grid-template-columns: 1fr; padding: 22px; }
  .am-pdf-device-preview .am-button { width: 100%; }
  .am-resource-single-header h1 { font-size: clamp(38px,11vw,52px); line-height: 1.06; letter-spacing: -.035em; }
  .am-teacher-photo, .am-teacher-photo img { min-height: 360px; }
  .am-page-intro { padding-block: 62px 52px; }
  .am-page-intro h1, .am-page-intro-grid h1 { font-size: 54px; }
  .am-prose { padding-block: 55px 80px; font-size: 17px; }
  .am-filters { grid-template-columns: 1fr; padding: 20px; }
  .am-filters label:first-child { grid-column: auto; }
  .am-article-row { grid-template-columns: 1fr; gap: 18px; padding-block: 28px; }
  .am-article-copy h2 { font-size: 28px; }
  .am-square-link { margin-top: 5px; }
  .am-about { padding-block: 70px; }
  .am-about-copy h2 { font-size: 34px; }
  .am-facts { grid-template-columns: 1fr; }
  .am-principles-grid { grid-template-columns: 1fr; }
  .am-principles-grid article { min-height: 280px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .am-about-cta { grid-template-columns: 1fr; align-items: start; padding-block: 75px; }
  .am-contact-options { grid-template-columns: 1fr; padding-block: 65px 80px; }
  .am-contact-options article { border-right: 1px solid var(--am-line); border-bottom: 0; }
  .am-contact-options article:last-child { border-bottom: 1px solid var(--am-line); }
  .am-contact-details h2 { font-size: 36px; }
  .am-contact-form-section { padding-block: 75px; }
  .am-contact-form-section h2 { font-size: 43px; }
  .am-contact-form, .am-student-card { padding: 22px; }
  .am-form-grid { grid-template-columns: 1fr; }
  .am-form-footer { align-items: flex-start; flex-direction: column; }
  .am-student-hero { padding-block: 60px 72px; }
  .am-student-grid > div:first-child h1 { font-size: 55px; }
  .am-student-card { width: calc(100% - 8px); max-width: calc(100% - 8px); box-shadow: 8px 8px 0 var(--am-orange); }
  .am-portal-features { grid-template-columns: 1fr; padding-block: 65px; }
  .am-portal-feature { min-height: 250px; border-right: 1px solid var(--am-line); border-bottom: 0; }
  .am-portal-feature:last-child { border-bottom: 1px solid var(--am-line); }
  .am-student-schedule-list > li { grid-template-columns: 1fr; }
  .am-student-schedule-list p { grid-column: 1; }
  .am-footer { min-height: 0; display: flex; align-items: stretch; flex-direction: column; gap: 28px; padding: 42px 24px; }
  .am-brand-footer { align-self: flex-start; }
  .am-footer nav { width: 100%; }
  .am-footer-menu, .am-footer .am-menu { width: 100%; align-items: stretch; flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .am-footer-menu li, .am-footer .am-menu li { width: 100%; border-top: 1px solid var(--am-line); }
  .am-footer-menu li:last-child, .am-footer .am-menu li:last-child { border-bottom: 1px solid var(--am-line); }
  .am-footer-menu a, .am-footer .am-menu a { display: block; width: 100%; padding: 12px 0; white-space: normal; overflow-wrap: anywhere; }
  .am-footer-meta { width: 100%; text-align: left; }
}

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