:root { color-scheme: dark; --app-bg: #121212; --app-ink: #f6f4f0; --app-muted: #bdbbb7; --app-line: #383735; font-family: Inter, Arial, sans-serif; }
* { box-sizing: border-box; }
body.asa-app { margin: 0; background: var(--app-bg); color: var(--app-ink); }
.app-skip { position: absolute; left: 1rem; top: 0; transform: translateY(-110%); z-index: 4; padding: .75rem; background: #fff; color: #111; }
.app-skip:focus { transform: translateY(0); }
.asa-app :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.app-mast { border-bottom: 1px solid var(--app-line); }
.app-mast > div, .app-nav > div, .asa.app-main { width: min(100% - 40px, 940px); margin: 0 auto; }
.app-mast > div { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.app-brand { display: inline-flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; min-height: 44px; }
.app-brand img { display: block; width: clamp(104px, 13vw, 151px); height: auto; }
.app-brand span { border-left: 1px solid #5d5b58; padding-left: 12px; font-size: 13px; }
.app-back { display: inline-flex; align-items: center; gap: 5px; color: var(--app-muted); font-size: 13px; min-height: 44px; text-decoration: none; }
.app-back:hover { color: white; }
.app-nav { border-bottom: 1px solid var(--app-line); background: #191919; }
.app-nav > div { display: flex; gap: 26px; }
.app-nav a { display: flex; gap: 8px; align-items: center; color: var(--app-muted); border-bottom: 2px solid transparent; min-height: 54px; text-decoration: none; font-size: 14px; font-weight: 550; }
.app-nav a[aria-current] { color: #fff; border-color: #fff; }
.app-nav svg { display: block; height: 21px; width: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.asa.app-main { background: transparent; --aa-bg: #121212; --aa-surface: #1b1b1b; --aa-ink: #f6f4f0; --aa-muted: #bdbbb7; padding: clamp(26px,5vw,58px) 0 64px; font-family: Inter, Arial, sans-serif; }
.asa.app-main > h1 { font: 400 clamp(39px,7vw,76px)/1.01 "Apfel Grotezk", Arial, sans-serif; letter-spacing: -.045em; margin: 0 0 clamp(22px,4vw,35px); }
.asa.app-main h2 { font: 400 clamp(26px,4vw,39px)/1.09 "Apfel Grotezk", Arial, sans-serif; letter-spacing: -.035em; }
.asa.app-main :is(h1,h2,h3,p) { color: inherit; }
.asa.app-main :is(.app-panel,.app-section,.app-detail) > p { color: var(--app-muted); }
.asa.app-main .app-hero { display: grid; grid-template-columns: 1.23fr 1fr; isolation: isolate; border: 1px solid #44413f; background: #22211f; border-radius: 20px; overflow: hidden; }
.asa.app-main .app-hero-copy { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; gap: 14px; padding: clamp(20px,4.4vw,53px); }
.asa.app-main .app-hero-copy > * { margin: 0; }
.asa.app-main .app-hero-copy h2 { font-size: clamp(32px,5.7vw,65px); }
.asa.app-main .app-hero-copy > p:not(.app-kicker) { max-width: 40ch; color: #d5d2cc; line-height: 1.55; }
.asa.app-main .app-hero-copy .app-primary { margin-top: 2px; }
.asa.app-main .app-portrait { display: block; width: 100%; height: 100%; max-height: 400px; min-height: 240px; object-fit: cover; object-position: 50% 32%; }
.asa.app-main .app-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 650; color: var(--app-muted); }
.asa.app-main .app-link { display: inline-flex; align-items: center; gap: .35em; margin-right: 16px; min-height: 44px; color: var(--app-ink); text-decoration: underline; text-underline-offset: 5px; }
.asa.app-main .app-primary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; background: #faf8f4; color: #121212; border: 0; border-radius: 100px; padding: 10px 18px; white-space: normal; text-decoration: none; }
.asa.app-main .app-primary:hover { background: #dedbd5; color: #121212; }
.asa.app-main .app-panel, .asa.app-main .app-detail { background: #1b1b1b; border: 1px solid var(--app-line); border-radius: 16px; padding: clamp(18px,3.5vw,34px); }
.asa.app-main :is(.app-section,.app-panel,.app-detail) { margin: 24px 0; }
.asa.app-main .app-section { margin-top: clamp(32px,5vw,55px); }
.asa.app-main .app-panel > :first-child, .asa.app-main .app-detail > h2 { margin-top: 0; }
.asa.app-main .app-panel > :last-child { margin-bottom: 0; }
.asa.app-main .app-row { display: flex; align-items: center; gap: 14px; padding: 16px 2px; border-block-start: 1px solid var(--app-line); color: var(--app-ink); text-decoration: none; }
.asa.app-main .app-row:hover, .asa.app-main .app-link:hover { color: white; }
.asa.app-main .app-row > span:last-child { margin-left: auto; }
.asa.app-main .app-row strong { font-family: "Apfel Grotezk", Arial, sans-serif; font-weight: 400; font-size: clamp(21px,3vw,28px); line-height: 1.15; }
.asa.app-main .app-row small { display: block; color: var(--app-muted); margin-top: 3px; }
.app-thumb { width: 54px; height: 54px; border-radius: 9px; object-fit: cover; }
.asa.app-main .app-segments { display: flex; gap: 7px; margin: 0 0 20px; }
.asa.app-main .app-segments a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 30px; border: 1px solid var(--app-line); color: var(--app-muted); padding: 7px 17px; text-decoration: none; }
.asa.app-main .app-segments a[aria-current] { background: #eee; color: #111; }
.asa.app-main .asa-learning { margin: 20px 0 0; }
.asa.app-main .asa-login-box { max-width: 520px; }
.asa.app-main :is(summary,button,a) { touch-action: manipulation; }
.asa.app-main summary { cursor: pointer; min-height: 44px; align-content: center; }
.asa.app-main button[hidden],.asa-app [hidden] { display: none !important; }
.asa.app-main .asa-activity-info { margin-top: 30px; }
.asa.app-main input[type="file"] { max-width: 100%; }
.asa.app-main .asa-ring-unit { display: inline-flex; }
@media (max-width: 680px) {
    .app-mast > div, .asa.app-main { width: calc(100% - 32px); }
    .app-mast > div { min-height: 64px; }
    .app-nav { position: fixed; inset: auto 0 0; z-index: 3; border-top: 1px solid #42413f; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom,0px); }
    .app-nav > div { width: 100%; gap: 0; justify-content: space-around; }
    .app-nav a { flex: 1 1 0; flex-direction: column; gap: 3px; font-size: 11px; min-height: 58px; padding: 8px 1px 5px; border: 0; }
    .app-nav a[aria-current] { background: #2a2a2a; box-shadow: inset 0 2px #f4f2ee; }
    .asa.app-main { padding-bottom: calc(90px + env(safe-area-inset-bottom,0px)); }
    .asa.app-main .app-hero { grid-template-columns: minmax(0,1.4fr) minmax(0,.9fr); border-radius: 15px; }
    .asa.app-main .app-hero-copy { padding: 17px 14px; gap: 10px; }
    .asa.app-main .app-hero-copy h2 { font-size: clamp(28px,7.8vw,45px); }
    .asa.app-main .app-hero-copy > p:not(.app-kicker) { font-size: 14px; }
    .asa.app-main .app-kicker { font-size: 9px; }
    .asa.app-main .app-portrait { max-height: 340px; min-height: 230px; object-position: 48% 33%; }
    .asa.app-main .app-primary { font-size: 14px; padding: 8px 13px; }
    .app-brand { gap: 8px; }
    .app-brand span { padding-left: 8px; }
}
@media (display-mode: standalone) { .asa-app [data-install] { display: none; } }

.asa.app-main .app-catalog-group { margin: 28px 0 40px; }
.asa.app-main .app-catalog-group > :is(h2,h3) { margin: 0 0 14px; }
.asa.app-main .app-offers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.asa.app-main .app-offers li { display: flex; margin: 0; padding: 0; min-width: 0; }
.asa.app-main .app-offer { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; width: 100%; overflow: hidden; background: #1c1c1b; border: 1px solid var(--app-line); border-radius: 16px; color: var(--app-ink); text-decoration: none; }
.asa.app-main .app-offer:hover, .asa.app-main .app-offer:focus-visible { border-color: #aaa7a3; }
.asa.app-main .app-offer-image { display: block; width: 100%; height: auto; aspect-ratio: 2.5; object-fit: cover; object-position: center 37%; grid-column: 1/-1; }
.asa.app-main .app-offer-copy { min-width: 0; padding: 14px 0 17px 16px; }
.asa.app-main .app-offer-copy small { display: block; color: var(--app-muted); font-size: 13px; line-height: 1.35; margin: 0 0 4px; }
.asa.app-main .app-offer-copy strong { display: block; font: 400 clamp(21px,2.6vw,28px)/1.1 "Apfel Grotezk",Arial,sans-serif; overflow-wrap: anywhere; }
.asa.app-main .app-offer-arrow { padding: 0 15px 0 8px; color: var(--app-muted); }
.asa.app-main .app-offers-compact .app-offer { grid-template-columns: auto minmax(0,1fr) auto; }
.asa.app-main .app-offers-compact .app-offer:not(:has(img)) { grid-template-columns: minmax(0,1fr) auto; }
.asa.app-main .app-offers-compact .app-offer-image { grid-column: auto; width: 68px; height: 100%; min-height: 76px; }
.asa.app-main .app-offer-label { margin: 16px 0 8px; }
.asa.app-main .app-offer-header { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: clamp(16px,4vw,42px); align-items: center; }
.asa.app-main .app-offer-header:not(:has(img)) { display: block; }
.asa.app-main .app-cover { display: block; width: 100%; aspect-ratio: 1.75; height: auto; object-fit: cover; object-position: center 35%; border-radius: 14px; }
.asa.app-main .app-summary, .asa.app-main .app-plan a { color: var(--app-ink); }
.asa.app-main .app-summary { font-size: 14px; font-weight: 600; }
.asa.app-main .app-sample { scroll-margin: 18px; }
.asa.app-main .app-sample :is(p,details), .asa.app-main .app-plan p { max-width: 70ch; line-height: 1.58; }
.asa.app-main .app-sample .asa-lesson-film { max-width: 640px; margin: 24px 0; }
.asa.app-main .app-sample video { display: block; width: 100%; border-radius: 10px; }
.asa.app-main .app-sample figcaption { margin-top: 5px; color: var(--app-muted); font-size: 13px; }
.asa.app-main .app-sample details { border-top: 1px solid var(--app-line); margin-top: 20px; padding-top: 4px; }
.asa.app-main .app-sample summary { font-weight: 650; }
.asa.app-main .app-plan ol { margin: 0; padding-left: 1.7em; }
.asa.app-main .app-plan li { padding: 9px 0 9px 4px; border-bottom: 1px solid var(--app-line); }
@media (max-width: 640px) {
    .asa.app-main .app-offers { grid-template-columns: minmax(0,1fr); gap: 9px; }
    .asa.app-main .app-offer { grid-template-columns: auto minmax(0,1fr) auto; border-radius: 12px; }
    .asa.app-main .app-offer:not(:has(img)) { grid-template-columns: minmax(0,1fr) auto; }
    .asa.app-main .app-offer-image { grid-column: auto; width: clamp(64px,19vw,92px); height: 100%; min-height: 85px; }
    .asa.app-main .app-offer-copy { padding: 12px 0 12px 12px; }
    .asa.app-main .app-offer-copy small { font-size: 12px; }
    .asa.app-main .app-offer-arrow { padding-right: 11px; }
    .asa.app-main .app-offer-header { grid-template-columns: 1fr; }
}
