
:root { --ap-ink: #302941; --ap-purple: #7166ad; --ap-muted: #898195; --ap-section-tint: #f8f6fb; }
/* Shared field typography, including login and AJAX popup forms. */
.ap-site input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="image"]),
.ap-site textarea,
.ap-site select { font-family: 'Lora', serif !important; }
.ap-shell { width: min(1300px, calc(100% - 100px)); }
.ap-header { background: #110b2b; box-shadow: none; }
.ap-header-main { min-height: 86px; gap: 30px; }
.ap-brand { width: 300px; position: relative; }
/* Recolor the existing transparent logo without changing its shape or the footer. */
.ap-brand img { opacity: 0; }
.ap-brand::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: #48457a; -webkit-mask: url('../hpimages/footer_logo.png') center / contain no-repeat; mask: url('../hpimages/footer_logo.png') center / contain no-repeat; }
.ap-navigation { gap: 28px; }
.ap-main-nav { gap: 24px; }
.ap-main-nav a { font-size: 17px; }
.ap-search-symbol { display: inline-block; font: 20px/1 'Segoe UI Emoji', 'Apple Color Emoji', sans-serif; filter: grayscale(1) brightness(.9); }
@media (min-width: 1201px) {
    .ap-header-main { width: min(1300px, calc(100% - 80px)); min-height: 88px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .ap-navigation { display: contents; }
    .ap-main-nav { justify-self: center; }
    .ap-main-nav a { font-size: 20px; }
    .ap-header-actions { justify-self: end; gap: 24px; }
    .ap-header .ap-header-actions .ap-login { font-size: 20px; font-weight: 400; padding: 3px 18px; }
    /* Open below the icon so the centered menu keeps its full width. */
    .ap-search input { top: calc(100% + 18px); right: 0; box-shadow: 0 8px 20px #110b2b33; }
    .ap-search:hover input, .ap-search:focus-within input { width: 220px; }
    .ap-search:hover::after, .ap-search:focus-within::after { content: ''; position: absolute; top: 100%; right: 0; width: 220px; height: 18px; }
}
.ap-header .ap-login { background: #756bb0; border: 0; border-radius: 30px; padding: 5px 16px; font-size: 16px; }
.ap-header .ap-login:hover { color: #fff; background: #8b80c6; }
.ap-main-nav a:hover, .ap-main-nav a.is-active { color: #d4c8f2; border-color: #b9a9df; }
.ap-member-bar { background: #423562; }
.ap-member-nav {
    flex-wrap: wrap;
}
.ap-member-nav a[aria-current="page"] {
    color: #e6dcff;
}
.ap-greeting strong, .ap-member-nav a:hover { color: #e6dcff; }
/* Member inbox: roomy reading area, separate from the sticky navigation. */
.inbox.ap-inbox { width: min(880px, calc(100% - 56px)); max-width: none; margin: 48px auto 72px; padding: 0; background: transparent; color: var(--ap-ink); font: 18px/1.6 'Cabin', sans-serif; }
.ap-inbox h1 { margin: 0 0 10px; color: var(--ap-ink); font: 700 36px/1.2 'Cabin', sans-serif; }
.ap-inbox-intro { margin: 0 0 28px; color: var(--ap-muted); }
.ap-mail-list { display: grid; gap: 12px; }
.ap-mail-item { border: 2px solid #e2dcef; border-radius: 12px; background: #fff; overflow: hidden; }
.ap-mail-item summary { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 18px; align-items: center; gap: 14px; padding: 18px 22px; list-style: none; background: #faf8fd; cursor: pointer; font-weight: 400; }
.ap-mail-item summary::-webkit-details-marker { display: none; }
.ap-mail-item summary:hover { background: #eee7f8; }
.ap-mail-item summary:focus-visible { outline: 3px solid #ae95df; outline-offset: -4px; }
.ap-mail-item.is-unread summary { background: #f1ebf9; font-weight: 700; }
.ap-mail-icon, .ap-mail-chevron { color: #8170b0; }
.ap-mail-subject { overflow-wrap: anywhere; }
.ap-mail-date { color: #756b84; font-size: 15px; font-weight: 400; white-space: nowrap; }
.ap-mail-chevron { font-size: 14px; transition: transform .2s; }
.ap-mail-item[open] { border-color: #bcaed4; }
.ap-mail-item[open] summary { border-bottom: 1px solid #e2dcef; }
.ap-mail-item[open] .ap-mail-chevron { transform: rotate(180deg); }
.ap-mail-body { padding: 26px 28px; overflow-x: auto; overflow-wrap: anywhere; line-height: 1.7; }
.ap-mail-body img { max-width: 100%; height: auto; }
.ap-mail-body a { color: #7561ac; text-decoration: underline; text-underline-offset: 3px; }
.ap-mail-body a:hover { color: #5d4789; }
.ap-inbox-empty { padding: 28px; border: 2px solid #e2dcef; border-radius: 12px; background: #f8f6fb; }
.ap-home { line-height: 1.5; background: #fff; padding-bottom: 68px; }
.ap-home *, .ap-video-grid *, .ap-footer * { box-sizing: border-box; }
.ap-home h2, .ap-home h3 { font-family: 'Cabin', sans-serif; font-weight: 700; }
.ap-home .ap-section h2, .ap-home .ap-members h2 { font-size: 36px; line-height: 1.2; letter-spacing: .01em; }
.ap-home .ap-hero { min-height: 560px; padding: 48px 0 64px; background: #17132e url('../hpimages/home-2026/hero-door.webp') center center / auto clamp(560px, 42.857vw, 660px) no-repeat; }
.ap-hero::before { display: none; }
.ap-hero-copy { max-width: 820px; padding-left: 48px; }
.ap-home .ap-hero h1 { font-family: 'Lora', Georgia, serif; font-size: clamp(60px, 5.714vw, 80px); line-height: 1.2; letter-spacing: -.025em; color: #e5e0ec; margin-bottom: 34px; }
.ap-hero h1 strong { font-weight: 700; }
.ap-home .ap-hero-lead { font-size: 40px; line-height: 1.2; color: #dfd9eb; margin-bottom: 44px; }
.ap-home .ap-button-purple { background: #594b85; color: #f2eafc; border-radius: 40px; font-size: 36px; font-weight: 400; padding: 3px 28px; margin-left: 60px; }
.ap-home .ap-button-purple:hover { background: #6b5a9f; }
.ap-home .ap-features { gap: 22px; margin-top: -36px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ap-feature { position: relative; display: block; padding: 22px 20px 24px; border: 2px solid #e2dcef; border-radius: 12px; box-shadow: none; background: #fff; }
.ap-feature:hover { transform: none; box-shadow: 0 4px 16px #4433660d; }
.ap-feature-icon { width: 48px; height: 48px; font-size: 21px; background: #eee8f8; color: #a699ce; margin: 0 0 8px; }
.ap-home .ap-feature h2 { font-size: 25px; margin-bottom: 10px; }
.ap-home .ap-feature p { font-size: 16px; margin: 0; }
.ap-tag-badge { position: absolute; top: 12px; right: 16px; padding: 3px 20px; background: #eee8f8; color: #7668ac; border-radius: 24px; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.ap-sky { margin: 22px 6px 0; padding: 20px 24px 26px; gap: 14px; border-color: #ece4f4; background: #f4eefb; font-size: 18px; line-height: 1.5; }
.ap-sky-label { font-size: 27px; color: #28232f; text-transform: none; letter-spacing: 0; }
.ap-home .ap-section { padding: 0; margin-top: 30px; }
.ap-home .ap-discover-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
.ap-about { display: grid; grid-template-columns: 1fr 1.13fr; padding: 10px; border: 2px solid #e2dcef; border-radius: 14px; background: #f8f6fb; align-self: stretch; gap: 0; }
.ap-portrait-placeholder { min-height: 390px; border: 2px solid #ddd4ed; background: #e5def0; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 35px; color: #a99acb; }
.ap-portrait-placeholder i { font-size: 60px; }
.ap-portrait-placeholder span { color: #8271b0; font-size: 16px; text-transform: uppercase; font-weight: 700; }
.ap-portrait-photo { position: relative; overflow: hidden; }
.ap-portrait-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ap-about-copy { padding: 28px 20px 0 30px; }
.ap-home .ap-eyebrow { font-size: 15px; color: #8170b0; letter-spacing: .02em; margin-bottom: 14px; }
.ap-home .ap-about h2 { font-size: 29px; margin: 0 0 34px; }
.ap-about-copy > p:not(.ap-eyebrow) { font-size: 19px; line-height: 1.5; margin-bottom: 16px; }
.ap-reading { padding: 26px 22px; border: 2px solid #e2dcef; border-radius: 14px; }
.ap-home .ap-reading h2 { font-size: 31px; margin-bottom: 26px; }
.ap-article { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 18px 14px; margin-top: 12px; border: 0; border-radius: 8px; background: #f8f5fc; align-items: start; }
.ap-small-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e9e0f5; color: #a899d0; font-size: 18px; flex-shrink: 0; }
.ap-home .ap-article h3 { font-size: 21px; margin: 0 0 8px; }
.ap-home .ap-article p { font-size: 16px; line-height: 1.45; margin: 0 0 10px; }
.ap-article .ap-text-link { display: block; text-align: right; }
.ap-home .ap-text-link { color: #7663ab; font-size: 18px; }
.ap-home a.ap-text-link:hover,
.ap-home .ap-article:hover h3,
.ap-home .ap-article:focus-visible h3,
.ap-my-courses a.ap-course:hover .ap-text-link { color: #5d4789; }
.ap-home .ap-members { background: #766bb2; color: #f6f2ff; border-radius: 16px; padding: 44px 32px 20px; margin-top: 28px; }
.ap-members.ap-members-logged { background: #443568; }
.ap-home .ap-members h2 { color: #fff; margin: 0 0 24px; }
.ap-home .ap-members > p { color: #e2d9f5; font-size: 18px; margin-bottom: 24px; }
.ap-member-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ap-member-card { display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 2px solid #ded5ee; border-radius: 10px; padding: 20px 14px 12px; color: var(--ap-ink); }
.ap-member-card > div { display: flex; flex-direction: column; min-width: 0; align-self: stretch; flex: 1; }
.ap-home .ap-member-card h3 { font-size: 21px; margin: 0 0 6px; }
.ap-home .ap-member-card p { color: var(--ap-muted); font-size: 16px; line-height: 1.3; margin-bottom: 14px; }
.ap-home .ap-member-card .ap-text-link { margin-top: auto; font-size: 16px; }
.ap-member-actions { display: flex; gap: 20px; justify-content: space-between; align-items: center; margin-top: 20px; }
.ap-member-actions a, .ap-member-actions .ap-member-login { color: #e9e1fa; font-size: 18px; line-height: 1.5; font-weight: 700; letter-spacing: .025em; }
.ap-member-actions .ap-member-login { background: #46356b; min-width: 244px; padding: 14px 32px; border: 0; border-radius: 40px; text-align: center; font-family: 'Cabin', sans-serif; cursor: pointer; }
.ap-member-actions .ap-member-login:focus-visible { outline: 3px solid #d6ccef; outline-offset: 3px; }
.ap-home .ap-zodiac { text-align: left; background: #fff; border: 0; margin-top: 46px; }
.ap-home .ap-section-intro { font-size: 19px; color: var(--ap-muted); margin: 8px 0 16px; }
.ap-sign-grid { background: #f8f6fb; padding: 24px 18px; gap: 28px 16px; }
.ap-sign { padding: 8px; }
.ap-sign img { width: 140px; height: 140px; }
.ap-sign span { font-size: 17px; }
.ap-home .ap-courses { background: #fff; border: 0; margin-top: 42px; }
.ap-section-heading { align-items: center; margin-bottom: 18px; gap: 16px; }
.ap-home .ap-section-heading .ap-section-intro { margin-bottom: 0; }
.ap-section-heading > .ap-text-link { font-size: 19px; }
/* Fixed image ratio + flexible body. Each row has one shared card height. */
.ap-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.ap-video-grid .ap-course { display: flex; flex-direction: column; min-width: 0; padding: 12px; border: 2px solid #ddd5ed; border-radius: 13px; background: #fff; text-decoration: none; color: var(--ap-ink); box-shadow: none; }
.ap-video-grid .ap-course:hover { box-shadow: 0 4px 16px #44336612; }
.ap-video-grid .ap-course-image { flex: none; width: 100%; aspect-ratio: 16 / 11; border-radius: 8px; overflow: hidden; background: #e8e5ed; }
.ap-video-grid .ap-course-image::after { display: none; }
.ap-video-grid .ap-course-image img { width: 100%; height: 100%; object-fit: cover; }
.ap-video-grid .ap-play { width: 58px; height: 58px; background: #796bb6; color: #fff; border: 0; backdrop-filter: none; font-size: 24px; }
.ap-video-grid .ap-course-copy { display: flex; flex-direction: column; flex: 1; padding: 14px 6px 2px; min-width: 0; overflow-wrap: anywhere; }
.ap-home .ap-video-grid .ap-course-copy h3, .ap-my-courses .ap-video-grid .ap-course-copy h3 { font: 700 25px/1.25 'Cabin', sans-serif; color: var(--ap-ink); margin: 0 0 12px; }
.ap-home .ap-video-grid .ap-course-copy p, .ap-my-courses .ap-video-grid .ap-course-copy p { display: block; overflow: visible; -webkit-line-clamp: unset; margin: 0 0 24px; font: 400 19px/1.5 'Cabin', sans-serif; color: var(--ap-muted); }
.ap-home .ap-video-grid .ap-text-link, .ap-my-courses .ap-video-grid .ap-text-link { margin-top: auto; color: #7561ac; font: 700 19px/1.4 'Cabin', sans-serif; }
.ap-my-courses.ap-catalog-courses { background: #fff; }
.ap-my-courses.ap-catalog-courses h1 { font: 700 36px/1.25 'Cabin', sans-serif; }
.ap-home .ap-books { margin-top: 30px; }
.ap-home .ap-book-grid { gap: 30px; }
.ap-home .ap-book-cover { height: 265px; padding: 0; background: transparent; border-radius: 0; align-items: center; }
.ap-home .ap-book-cover img { filter: none; }
/* Site-wide footer, including every inner page that uses layout1. */
.ap-site #footer.ap-footer { padding: 42px 0 22px; background: #171127; border-top: 3px solid #8270b1; color: #ada3c0; font: 17px/1.6 'Cabin', sans-serif; text-align: left; }
.ap-footer-grid { display: grid; grid-template-columns: 1.65fr 1fr .85fr 1.2fr; gap: 48px; }
.ap-footer-brand { border-right: 1px solid #30253f; padding-right: 42px; }
.ap-footer-brand img { width: 100%; max-width: 380px; height: auto; }
.ap-footer-logo { position: relative; display: block; width: 100%; max-width: 380px; }
.ap-footer-logo img { display: block; opacity: 0; }
.ap-footer-logo::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: #d6ccef; -webkit-mask: url('../hpimages/footer_logo.png') center / contain no-repeat; mask: url('../hpimages/footer_logo.png') center / contain no-repeat; }
.ap-footer-brand p { font-size: 17px; margin: 14px 0 34px; }
.ap-footer h2 { font: 700 13px/1.5 'Cabin', sans-serif; text-transform: uppercase; letter-spacing: .04em; color: #a699bd; margin: 14px 0 20px; }
.ap-footer nav a { display: block; color: #d3cade; margin-bottom: 14px; text-decoration: none; }
.ap-footer a:hover { color: #fff; }
.ap-footer .ap-footer-social { justify-content: flex-start; gap: 18px; margin-bottom: 22px; }
.ap-footer-social a { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid #685581; background: #302641; border-radius: 50%; color: #eee6fb; }
.ap-footer-social i { font-size: 27px; }
.ap-footer .ap-footer-join { display: inline-block; background: #756bb1; border-radius: 40px; padding: 10px 24px; color: #fff; font-size: 17px; font-weight: 700; text-decoration: none; }
.ap-footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #382b4b; font-size: 13px; color: #958ba7; }
.ap-footer-bottom a { color: inherit; text-decoration: none; }
/* Shared login popup: two fields on desktop, one column on phones. */
.ap-login-popup .mfp-content { max-width: 1100px; }
.ap-login-dialog { max-width: 1100px; padding: 44px 32px 28px; background: #443568; color: #e5ddf3; border: 0; border-radius: 16px; }
.ap-home .ap-login-inline { max-width: none; width: 100%; margin-top: 24px; box-shadow: none; }
.ap-login-dialog .ap-login-heading p { margin: 0; }
.ap-login-heading { text-align: left; padding: 0 40px 0 0; margin-bottom: 16px; }
.ap-login-dialog h2 { color: #fff; font: 700 36px/1.25 'Cabin', sans-serif; letter-spacing: .01em; margin-bottom: 18px; }
.ap-login-dialog .ap-login-heading p { font-size: 18px; }
.ap-login-dialog form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.ap-login-field { margin: 0; }
.ap-login-field label { font-size: 16px; margin-bottom: 7px; }
.ap-login-field input { height: 60px; border-radius: 10px; font-size: 19px; }
.ap-password-toggle { top: 8px; }
.ap-login-dialog a { color: #ddd1f4; text-decoration: none; }
.ap-login-dialog .ap-login-forgot { grid-column: 1; grid-row: 3; text-align: left; align-self: end; margin: 0; font-size: 18px; font-weight: 700; }
.ap-login-dialog .ap-login-error { grid-column: 1 / -1; margin: 0; color: #ffe1e7; }
.ap-login-dialog .ap-login-error[hidden] { display: none; }
.ap-login-submit { grid-column: 2; grid-row: 2; justify-self: end; width: 240px; min-height: 52px; padding: 10px 20px; border-radius: 40px; color: #48376c; background: #bcaceb; font: 700 17px/1.4 'Cabin', sans-serif; }
.ap-login-submit:hover { background: #d0c1f6; }
.ap-login-submit > span:last-child { font: inherit; }
.ap-login-membership { margin: 12px 0 0; padding: 0; border: 0; text-align: center; }
.ap-login-membership p { display: none; }
.ap-login-membership a { font-size: 18px; }
.ap-login-links { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; gap: 130px; margin-top: 6px; }
.ap-login-links .ap-login-membership { margin: 0; padding: 0; text-align: left; }
.ap-login-popup button.mfp-close { color: #e2d8f5; top: 20px; right: 20px; }
.ap-login-dialog a:hover { color: #fff; }
.ap-login-popup.ap-forgotten-popup .mfp-content { max-width: 620px; }
.ap-login-dialog.ap-forgotten-dialog { max-width: 620px; padding: 36px 32px 28px; }
.ap-forgotten-dialog h2 { font-size: 32px; }
.ap-forgotten-dialog form { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.ap-forgotten-dialog .ap-login-submit { grid-column: 1; grid-row: auto; width: auto; min-width: 220px; }
.ap-forgotten-dialog :focus-visible { outline: 2px solid #ae95df; outline-offset: 4px; }
.ap-header :focus-visible, .ap-home :focus-visible, .ap-footer :focus-visible, .ap-video-grid :focus-visible { outline: 3px solid #ae95df; outline-offset: 4px; }
@media (max-width: 1200px) {
    .ap-shell { width: calc(100% - 56px); }
    .ap-header-main { min-height: 76px; }
    .ap-brand { width: 250px; }
    .ap-home .ap-hero h1 { font-size: 60px; }
    .ap-hero-copy { padding-left: 20px; max-width: 660px; }
    .ap-home .ap-hero-lead { font-size: 30px; }
    .ap-home .ap-button-purple { font-size: 26px; margin-left: 30px; }
    .ap-about-copy { padding: 24px 18px; }
    .ap-home .ap-about h2 { font-size: 25px; margin-bottom: 22px; }
    .ap-portrait-placeholder { min-height: 360px; }
    .ap-home .ap-reading h2 { font-size: 28px; }
    .ap-home .ap-member-card h3 { font-size: 18px; }
    .ap-member-actions { flex-wrap: wrap; }
    .ap-footer-grid { gap: 28px; }
    .ap-footer-brand { padding-right: 24px; }
}
@media (max-width: 960px) {
    .ap-home .ap-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ap-home .ap-discover-grid { grid-template-columns: 1fr; }
    .ap-about { grid-template-columns: .85fr 1.15fr; }
    .ap-portrait-placeholder { min-height: 330px; }
    .ap-about-copy { padding: 24px 30px; }
    .ap-home .ap-about h2 { font-size: 29px; }
    .ap-member-cards { grid-template-columns: 1fr; gap: 12px; }
    .ap-home .ap-member-card h3 { font-size: 21px; }
    .ap-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ap-sign-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ap-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
    .ap-footer-brand { border: 0; }
    .ap-home .ap-book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 761px) and (max-width: 1200px) {
    .ap-home .ap-hero { min-height: 520px; background-size: auto 520px; background-position: 82% center; }
    .ap-hero-copy { max-width: 60%; padding-left: 10px; }
    .ap-home .ap-hero h1 { font-size: clamp(34px, 5vw, 60px); }
    .ap-home .ap-hero-lead { font-size: 26px; }
    .ap-home .ap-button-purple { font-size: 24px; margin-left: 0; }
}
@media (min-width: 601px) and (max-width: 760px) {
    .ap-home .ap-hero { min-height: 690px; align-items: flex-start; padding: 36px 0 350px; background-position: 88% bottom; background-size: auto 420px; }
    .ap-hero::before { display: block; background: linear-gradient(#17132e 0%, #17132e 32%, transparent 60%); }
    .ap-hero-copy { padding-left: 8px; }
    .ap-home .ap-hero h1 { font-size: 48px; margin-bottom: 22px; }
    .ap-home .ap-hero-lead { font-size: 26px; margin-bottom: 24px; }
    .ap-home .ap-button-purple { margin-left: 0; }
}
@media (max-width: 600px) {
    .inbox.ap-inbox { width: calc(100% - 32px); margin: 30px auto 44px; font-size: 17px; }
    .ap-inbox h1 { font-size: 28px; }
    .ap-inbox-intro { margin-bottom: 22px; }
    .ap-mail-item summary { grid-template-columns: 20px minmax(0, 1fr) 16px; gap: 6px 10px; padding: 16px 14px; }
    .ap-mail-date { grid-column: 2; grid-row: 2; font-size: 14px; }
    .ap-mail-chevron { grid-column: 3; grid-row: 1 / 3; }
    .ap-mail-body { padding: 20px 16px; }
    .ap-shell { width: calc(100% - 32px); }
    .ap-header-main { min-height: 70px; gap: 16px; }
    .ap-brand { width: 205px; max-width: calc(100% - 96px); }
    .ap-home { padding-bottom: 40px; }
    .ap-home .ap-hero { min-height: 660px; align-items: flex-start; padding: 32px 0 345px; background-position: 88% bottom; background-size: auto 420px; }
    .ap-hero::before { display: block; background: linear-gradient(#17132e 0%, #17132e 32%, transparent 60%); }
    .ap-hero-copy { padding-left: 8px; }
    .ap-home .ap-hero h1 { font-size: clamp(33px, 8.6vw, 48px); line-height: 1.22; margin-bottom: 20px; }
    .ap-home .ap-hero-lead { font-size: 23px; margin-bottom: 22px; }
    .ap-home .ap-button-purple { margin: 0; padding: 7px 18px; font-size: 22px; }
    .ap-home .ap-features { gap: 12px; margin-top: -24px; }
    .ap-feature { padding: 18px 12px; }
    .ap-feature-icon { width: 40px; height: 40px; font-size: 18px; }
    .ap-home .ap-feature h2 { font-size: 20px; margin-bottom: 8px; }
    .ap-home .ap-feature p { font-size: 16px; }
    .ap-tag-badge { top: 8px; right: 8px; font-size: 9px; padding: 2px 8px; }
    .ap-sky { margin-inline: 0; padding: 18px 14px; }
    .ap-sky-label { font-size: 24px; }
    .ap-home .ap-section h2, .ap-home .ap-members h2 { font-size: 27px; }
    .ap-home .ap-section { margin-top: 26px; }
    .ap-about { grid-template-columns: .8fr 1.2fr; padding: 8px; }
    .ap-portrait-placeholder { min-height: 330px; gap: 20px; }
    .ap-portrait-placeholder i { font-size: 40px; }
    .ap-portrait-placeholder span { font-size: 12px; }
    .ap-about-copy { padding: 16px 8px 12px 16px; }
    .ap-home .ap-about h2 { font-size: 24px; margin-bottom: 20px; }
    .ap-home .ap-eyebrow { font-size: 12px; }
    .ap-about-copy > p:not(.ap-eyebrow) { font-size: 16px; }
    .ap-reading { padding: 22px 14px; }
    .ap-article { grid-template-columns: 32px minmax(0, 1fr); padding: 14px 10px; gap: 10px; }
    .ap-small-icon { width: 32px; height: 32px; font-size: 15px; }
    .ap-home .ap-article h3 { font-size: 19px; }
    .ap-home .ap-members { padding: 28px 18px 22px; }
    .ap-home .ap-members h2 { margin-bottom: 16px; }
    .ap-home .ap-members > p { font-size: 16px; }
    .ap-member-card { padding: 16px 12px; }
    .ap-member-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
    .ap-member-actions .ap-member-login { align-self: stretch; min-width: 0; }
    .ap-sign-grid { padding: 18px 6px; gap: 18px 6px; }
    .ap-sign img { width: 90px; height: 90px; max-width: 100%; }
    .ap-sign { padding: 2px; }
    .ap-sign span { font-size: 14px; }
    .ap-home .ap-section-intro { font-size: 16px; }
    .ap-section-heading { align-items: flex-start; }
    .ap-section-heading > .ap-text-link { font-size: 16px; }
    .ap-home .ap-video-grid, .ap-my-courses .ap-video-grid { grid-template-columns: 1fr; gap: 20px; }
    .ap-video-grid .ap-course-copy, .ap-my-courses .ap-video-grid .ap-course-copy { padding: 14px 6px 4px; }
    .ap-home .ap-video-grid .ap-course-copy h3, .ap-my-courses .ap-video-grid .ap-course-copy h3 { font-size: 23px; }
    .ap-home .ap-video-grid .ap-course-copy p, .ap-my-courses .ap-video-grid .ap-course-copy p { font-size: 17px; }
    .ap-home .ap-video-grid .ap-text-link, .ap-my-courses .ap-video-grid .ap-text-link { font-size: 17px; }
    .ap-home .ap-book-grid { gap: 22px 16px; }
    .ap-home .ap-book-cover { height: 160px; }
    .ap-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
    .ap-footer-brand { grid-column: 1 / -1; padding: 0; }
    .ap-footer-brand img { max-width: 300px; }
    .ap-footer-logo { max-width: 300px; }
    .ap-footer-brand p { margin-bottom: 24px; }
    .ap-footer h2 { font-size: 12px; }
    .ap-footer nav a { font-size: 15px; overflow-wrap: anywhere; }
    .ap-footer-bottom { flex-direction: column; gap: 8px; font-size: 12px; }
    .ap-login-dialog { padding: 28px 20px 24px; }
    .ap-login-dialog h2 { font-size: 28px; }
    .ap-login-dialog .ap-login-heading p { font-size: 16px; }
    .ap-login-dialog form { display: flex; flex-direction: column; gap: 16px; }
    .ap-login-submit { width: 100%; order: 1; }
    .ap-login-dialog .ap-login-forgot { align-self: flex-start; margin-top: 6px; }
    .ap-login-membership { margin-top: 20px; text-align: left; }
    .ap-login-links { order: 2; flex-direction: column; align-items: flex-start; gap: 16px; }
    .ap-login-popup button.mfp-close { top: 12px; right: 10px; }
    .ap-login-dialog.ap-forgotten-dialog { padding: 28px 20px 24px; }
    .ap-forgotten-dialog h2 { font-size: clamp(24px, 7vw, 28px); }
    .ap-forgotten-dialog .ap-login-submit { width: 100%; min-width: 0; }
}
