/* R3 screenshot correction: one shared contract per media purpose.
   Brand CSS is linked explicitly in HTML; no late or duplicate @import. */
:root {
  --ink: #133f35;
  --deep: #103f35;
  --paper: #fffcf6;
  --gold: #edc57b;
  --line: #bacbbd;
  --muted: #52665b;
  --cream: #f4eedf;
  --peach: #f5dfd1;
  --lavender: #e7e8f6;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body.mk { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 Arial, Helvetica, sans-serif; overflow-wrap: break-word; }
/* Static store links remain usable without JavaScript or consent. Badge pixels
   retain the official artwork; the surrounding padding supplies clear space. */
.mk .download-section { background: var(--cream); padding: 24px 0; }
.mk .download-section p { margin: 0 0 8px; }
.mk .store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mk .store-badge { display: inline-flex; flex: 0 0 auto; padding: 10px; }
.mk .store-badge img { display: block; height: 40px; width: auto; max-width: none; }
button, input, select { font: inherit; color: inherit; }
button, a, input, select, summary { touch-action: manipulation; }
button, summary, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #a24419; outline-offset: 4px; border-radius: 4px; }
button, input, select { min-height: 46px; }
button { border: 1px solid var(--line); border-radius: 100px; padding: .55em 1em; background: transparent; }
input, select { border: 1px solid #789183; border-radius: 10px; background: #fffdf8; padding: .6em .8em; max-width: 100%; }
label { display: block; font-weight: 600; }
input { display: block; width: 100%; margin-top: .4em; }
input[type=radio] { width: 20px; height: 20px; min-height: 0; flex: 0 0 20px; accent-color: var(--deep); margin: 0; }
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.04em; line-height: 1.13; }
h1 { font-size: clamp(2.5rem,4.5vw,4.7rem); max-width: 20ch; margin-bottom: .5em; }
h2 { font-size: clamp(2rem,3.2vw,3.3rem); max-width: 24ch; margin-bottom: .6em; }
h3 { font-size: 1.25rem; line-height: 1.35; margin-bottom: .8em; letter-spacing: -.02em; }
p { margin-bottom: 1.15em; }
mark { background: var(--gold); color: #173c31; border-radius: 3px; padding: 0 .13em; }
.wrap { width: min(1200px,calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 76px; }
.section-head { max-width: 780px; margin-bottom: 32px; }
.lead { font-size: clamp(1.08rem,1.5vw,1.28rem); line-height: 1.6; max-width: 65ch; }
.eyebrow { font-size: .78rem; text-transform: uppercase; font-weight: 700; letter-spacing: .12em; line-height: 1.6; margin-bottom: 1.2em; }
.small, figcaption { font-size: .9rem; line-height: 1.6; }
.supporting-copy, .actions + p { margin-top: 24px; max-width: 70ch; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
html:not(.js) [data-js-only], .lesson:not(.enhanced) [data-js-only], .lesson.enhanced [data-static-only] { display: none; }
.preview-note { background: var(--ink); color: white; text-align: center; font-size: .75rem; letter-spacing: .08em; padding: 4px 12px; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--gold); padding: 12px; }
.skip:focus { top: 10px; }
/* Header and responsive navigation. Menus scroll only when the viewport is short. */
header { background: var(--paper); border-bottom: 1px solid #d9dfd2; position: relative; z-index: 20; }
.head { display: flex; align-items: center; gap: 20px; min-height: 94px; padding-block: 14px; }
.brand { text-decoration: none; flex: none; }
.head .lingeva-brand { padding: 8px 10px; border-radius: 14px; }
.head .lingeva-brand .lingeva-brand__logo { width: 42px; height: 42px; }
.head .lingeva-brand .lingeva-brand__name { font-size: 11px; }
.head .lingeva-brand .lingeva-brand__slogan { font-size: 14px; white-space: nowrap; }
#main-nav { display: flex; flex: 1; min-width: 0; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 18px; font-size: .9rem; }
.nav-link { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav-link > span { display: none; }
.nav-features { position: relative; }
.nav-features summary { padding: 8px; min-height: 44px; list-style: none; }
.nav-features summary::after { content: '⌄'; margin-left: 8px; }
.nav-features > div { position: absolute; width: min(22rem,calc(100vw - 48px)); right: 0; top: 100%; display: grid; padding: 18px; gap: 4px; max-height: 70dvh; overflow-y: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 15px 40px #103f3520; }
.locale-nav { flex: none; display: flex; align-items: center; font-size: .8rem; }
.locale-nav a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; text-decoration: none; }
.locale-nav a[aria-current] { font-weight: 700; background: #e4ecd9; border-radius: 9px; }
.menu-toggle { display: none; width: 46px; height: 46px; min-width: 46px; padding: 11px; border: 0; border-radius: 10px; align-items: center; justify-content: center; }
.menu-toggle svg { width: 24px; height: 24px; flex: none; }
.menu-toggle .menu-icon-close, .menu-toggle[aria-expanded=true] .menu-icon-open { display: none; }
.menu-toggle[aria-expanded=true] .menu-icon-close { display: block; }
.menu-toggle:hover, .menu-toggle[aria-expanded=true] { background: #e4ecd9; }
html:not(.js) #main-nav { display: grid; max-height: none; }
/* Original scene artwork is decorative context; product images use a separate contract. */
.hero { background: var(--deep); color: var(--paper); padding: 72px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-copy h1 { max-width: 15ch; }
.hero-copy .small { margin: 28px 0 0; }
.hero-visual { min-width: 0; }
.hero-scene { position: relative; padding-bottom: 48px; }
.hero-art { width: 100%; border-radius: 100px 100px 26px 26px; aspect-ratio: 3/2; object-fit: cover; }
.art-caption { font-size: .85rem; text-align: right; margin: 24px 0 0; color: #d5e6d2; }
.phrase-ticket { position: absolute; left: -24px; bottom: 0; max-width: 92%; background: var(--paper); border-radius: 18px; transform: rotate(-3deg); box-shadow: 0 16px 45px #001a1738; color: var(--ink); padding: 22px 26px; }
.phrase-ticket .eyebrow { font-size: .72rem; display: block; margin-bottom: 8px; }
.phrase-ticket p { font: 2rem/1.3 Georgia,serif; margin: 0 0 8px; }
.phrase-ticket > span:last-child { font-size: .85rem; }
.hero-product-proof { display: grid; grid-template-columns: minmax(0,320px) minmax(0,1fr); align-items: start; gap: 32px; margin: 64px auto 0; padding: 28px; border-radius: 24px; background: #e9efdd; color: var(--ink); max-width: 960px; }
.hero-product-proof h2 { font-size: 2.2rem; }
.hero-product-proof .connection-strip { margin-top: 24px; }
.hero-product-proof .connection-strip > div { padding: 12px; }
.hero-product-proof .connection-strip h3 { font-size: .85rem; }
.hero-product-proof .connection-strip p { font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: .4em; padding: 12px 22px; border: 1px solid var(--deep); border-radius: 100px; background: var(--deep); color: white; text-decoration: none; font-size: .95rem; font-weight: 700; line-height: 1.5; max-width: 100%; }
.button:hover { background: #28654f; }
.button.gold { background: var(--gold); border-color: var(--gold); color: #173c31; }
.button.gold:hover { background: #ffdda0; }
.button.outline, .button.quiet { background: transparent; color: var(--ink); border-color: #789183; }
.hero .button.outline, .green .button.outline { border-color: #d5e4cf; background: transparent; color: white; }
.text-link { display: inline-block; max-width: 100%; font-size: .98rem; font-weight: 700; padding-block: 10px; }
.cream { background: var(--cream); }
.peach { background: var(--peach); }
.lavender { background: var(--lavender); }
.green { background: var(--deep); color: var(--paper); }
.green .eyebrow { color: var(--gold); }
.green .small { color: #d9e9d9; }
.green .button:not(.outline) { background: var(--gold); color: var(--deep); border-color: var(--gold); }
/* Content and its own proof follow one DOM reading sequence, without CSS order. */
.feature-split { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 48px; align-items: start; }
.feature-copy { max-width: 65ch; }
.feature-copy .routine { margin-top: 28px; }
.skill-pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: start; }
.skill-pair + h3, .skill-pair + p { margin-top: 32px; }
.feature-proof { min-width: 0; }
.feature-proof > h2 { font-size: 2.1rem; }
.feature-proof > p { max-width: 60ch; }
.feature-proof > .product-capture { margin-block: 28px; }
/* A label and caption are OUTSIDE the ornament. Images never receive cover crops.
   A coherent source excerpt and its on-demand full view are defined in provenance. */
.product-capture { width: 100%; max-width: 440px; color: var(--ink); margin-inline: auto; }
.capture-label { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 14px; }
.capture-surface { display: flex; justify-content: center; padding: 32px 20px 20px; background: #e3d4b4; border-radius: 70px 70px 22px 22px; }
.capture-image { width: auto; height: auto; max-width: 100%; max-height: 38rem; object-fit: contain; border: 1px solid #d5ddce; border-radius: 12px; background: white; }
.product-capture--summary { max-width: 410px; }
.product-capture--summary .capture-image { max-height: 29rem; }
.product-capture--hero { max-width: 320px; }
.product-capture--hero .capture-image { max-height: 21rem; }
.product-capture--hero .capture-surface { padding: 18px 14px 14px; border-radius: 40px 40px 18px 18px; }
.product-capture figcaption { padding-top: 16px; }
.capture-language { font-weight: 700; display: block; margin-bottom: 8px; }
.product-capture figcaption p { margin: 0 0 8px; }
.image-link { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; gap: 6px; font-weight: 700; }
.green .product-capture { color: var(--paper); }
:is(.hero,.green) :is(a,button):focus-visible { outline-color: var(--gold); }
.hero-product-proof :is(a,button):focus-visible { outline-color: #a24419; }
.hero-product-proof .product-capture { color: var(--ink); }
.connection-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid #aebbad; border-radius: 22px; overflow: hidden; }
.connection-strip > div { padding: 24px; }
.connection-strip > div + div { border-left: 1px solid #b6c4ae; }
.connection-strip h3 { font-size: 1rem; margin-bottom: 12px; }
.connection-strip p { font: 1.4rem/1.4 Georgia,serif; margin: 0; }
.connection-strip + .feature-split, .connection-strip + .button { margin-top: 32px; }
.step-number { display: block; font-size: .8rem; margin-bottom: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; margin: 20px 0 28px; }
.filters label { font-size: .95rem; flex: 1 1 180px; max-width: 360px; }
.filters select { display: block; width: 100%; margin-top: 7px; }
.scenario-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-bottom: 24px; }
.scenario-card { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); overflow: hidden; }
.scenario-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.scenario-card > div { padding: 22px; }
.scenario-card .eyebrow { font-size: .78rem; margin-bottom: 8px; }
.scenario-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.level-explorer { background: #e7efdc; border: 1px solid #bbcdb0; border-radius: 24px; padding: 32px; color: var(--ink); }
.level-nav { display: flex; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid #becdb8; padding-bottom: 20px; margin-bottom: 26px; }
.level-nav button { min-width: 52px; border: 1px solid #658673; }
.level-nav [aria-pressed=true] { background: var(--deep); color: white; }
.level-explorer article { max-width: 850px; }
.level-example, .rule { font-family: Georgia,serif; font-size: 1.35rem; line-height: 1.5; }
.rule { font-size: 1.9rem; }
.routine { background: var(--cream); color: var(--ink); padding: 26px; border-radius: 20px; margin: 0 0 20px; }
.routine select { margin: 8px 0 18px; min-width: 110px; }
.exam-explorer { background: #fffdf7; border: 1px solid #afb8cb; color: var(--ink); padding: 26px; border-radius: 20px; margin: 0 0 24px; }
.exam-explorer select { display: block; margin-top: 8px; margin-bottom: 26px; }
.exam-task { padding: 24px; border-radius: 18px; background: #f5efdf; }
.exam-task blockquote { margin: 24px 0; font: 1.3rem/1.6 Georgia,serif; border-left: 3px solid #9d7434; padding-left: 18px; }
.exam-task legend { font: 1rem/1.6 Arial,sans-serif; }
.exam-task details { margin-top: 20px; }
.page-hero { padding: 56px 0; background: var(--cream); }
.page-hero h1 { max-width: 24ch; }
.page-hero .eyebrow { text-transform: none; letter-spacing: .02em; }
.editorial-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; margin-bottom: 40px; }
.editorial-grid h2 { font-size: 2.1rem; }
.learning-guide .guide-content { max-width: 920px; }
.learning-guide section { margin-top: 2.5rem; }
.learning-guide h2 { scroll-margin-top: 7rem; }
.learning-guide li { margin-block: .65rem; }
.guide-toc { padding: 1.25rem; border: 1px solid var(--line); border-radius: 12px; }
.guide-toc ul { margin-bottom: 0; }
.guide-table { width: 100%; }
.guide-table table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .95rem; }
.guide-table caption { text-align: left; font-weight: 700; margin-bottom: .75rem; }
.guide-table td, .guide-table th { padding: .65rem .45rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.related-card { padding: 22px 0; border-top: 2px solid #9faf9c; font-size: 1.12rem; }
.plan-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; margin-bottom: 24px; }
.plan-grid article { padding: 32px; border: 1px solid #bac6b7; border-radius: 24px; }
.plan-grid article:last-child { background: #e5ecd8; }
.plan-grid h3 { font: 2.3rem/1.15 Georgia,serif; }
/* Pricing-only presentation. Billing, eligibility and store destinations are unchanged. */
.mk .pricing-section { padding-top: 28px; }
.mk .offer-campaign { padding: 24px; margin-bottom: 28px; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 20px; background: #f0f4ec; color: var(--deep); overflow-wrap: anywhere; }
.mk .offer-campaign-label { display: inline-block; margin-bottom: 14px; border-radius: 100px; padding: 5px 12px; background: var(--gold); color: var(--ink); font-size: .85rem; font-weight: 700; }
.mk .offer-campaign h2 { font: 2rem/1.2 Georgia,serif; margin-bottom: 14px; }
.mk .offer-campaign p { max-width: 80ch; }
.mk .offer-campaign .offer-campaign-deadline { margin-bottom: 8px; }
.mk .offer-campaign-eligibility { font-size: .9rem; margin: 16px 0 0; }
.mk .intro-prices { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.mk .intro-period,.mk .renewal-label { font-size: .85rem; margin-bottom: 8px; }
.mk .intro-prices dl { margin: 0 0 10px; }
.mk .intro-prices dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.mk .intro-prices dt { font-size: .9rem; }
.mk .intro-prices dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 0; }
.mk .intro-prices dd strong { font-size: 1.7rem; line-height: 1.2; }
.mk .intro-saving { display: inline-block; padding: 3px 6px; border-radius: 6px; font-size: .78rem; font-weight: 700; color: var(--deep); background: #e6eddd; }
.mk .intro-full-period { font-size: .9rem; margin: 0; }
.mk .intro-store-deadline { font-size: .85rem; margin: 12px 0 0; }
.mk [data-campaign-store][hidden] { display: none; }
.mk .premium-option--best .intro-prices { border-color: #779b89; }
.mk .premium-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.mk .premium-option { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fffdf8; }
.mk .premium-option--best { background: var(--deep); color: #fff8eb; border-color: var(--deep); }
.mk .premium-option--best .button.outline { color: #fff8eb; border-color: #d5e4cf; }
.mk .premium-option--best .button.outline:focus-visible { outline-color: var(--gold); }
.mk .price-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.mk .price-heading h2 { font-family: inherit; font-size: 1.2rem; font-weight: 600; line-height: 1.35; letter-spacing: normal; margin: 0; }
.mk .best-value { border-radius: 100px; padding: 4px 10px; background: var(--gold); color: var(--ink); font-size: .78rem; font-weight: 700; }
.mk .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 10px; }
.mk .price strong { font-size: 2.2rem; font-weight: 650; line-height: 1.2; }
.mk .price span { font-size: .95rem; }
.mk .price-equivalent { font-size: .9rem; margin-bottom: 0; }
.mk .pricing-disclaimer { margin: 20px 0 8px; max-width: 90ch; }
.mk .pricing-trial { margin-bottom: 24px; max-width: 90ch; }
.mk .pricing-subscribe { margin-bottom: 36px; }
.mk .pricing-subscribe > p { font-weight: 600; margin-bottom: 8px; }
.mk .pricing-comparison h2 { font: 2rem/1.2 Georgia,serif; }
.mk .offer-discovery { padding: clamp(20px,4vw,36px); border: 1px solid var(--line); border-radius: 20px; background: #fff; color: #163b2d; overflow-wrap: anywhere; }
.mk .pricing-section .offer-discovery { margin: 24px 0; }
.mk .offer-discovery h2 { font: 2rem/1.2 Georgia,serif; margin: 0 0 16px; }
.mk .offer-discovery p { max-width: 85ch; }
.mk .offer-discovery .pricing-trial { font-weight: 700; margin-bottom: 16px; }
.mk .offer-authorization { padding-left: 16px; border-left: 3px solid #aa8440; }
.mk .offer-terms { display: grid; gap: 24px; margin: 28px 0; }
.mk .offer-terms dt { font-weight: 700; margin-bottom: 8px; }
.mk .offer-terms dd { margin: 0; max-width: 85ch; }
.mk .offer-discovery .actions { align-items: center; }
@media(min-width: 1000px) { .mk .offer-terms { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.mk .free-price { font-size: 1.6rem; font-weight: 650; margin-bottom: 12px; }
@media (max-width: 760px) {
  .mk .premium-options { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .mk .premium-option { padding: 18px 20px; }
  .mk .price-heading { margin-bottom: 10px; }
}
.about-art { width: min(100%,800px); border-radius: 36px; margin-bottom: 32px; }
.faq { max-width: 900px; margin-inline: auto; }
.faq details { border-bottom: 1px solid #b3c2b5; padding: 22px 0; }
summary { padding-block: 10px; min-height: 44px; }
.faq summary { font-size: 1.15rem; font-weight: 600; }
.faq p { margin: 20px 0 0; }
/* Portrait recording: native aspect ratio, no second frame or cover crop. */
.walkthrough { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,390px); gap: 32px 48px; align-items: start; margin-block: 64px 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.walkthrough-intro h3 { font: 2rem/1.15 Georgia,serif; }
.media-note { font-weight: 700; }
.walkthrough-player { width: 100%; max-width: 390px; justify-self: center; }
.walkthrough video { width: 100%; height: auto; aspect-ratio: 390/980; object-fit: contain; background: #fffdf7; border: 1px solid var(--line); border-radius: 10px; }
.walkthrough-transcript { grid-column: 1/-1; }
.walkthrough-transcript summary { font-weight: 700; }
[data-video-status] { margin: 16px 0; }
/* Dialog is a full viewport inspection surface, not an embedded scrolling pane. */
.image-viewer { width: min(960px,calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.image-viewer::backdrop { background: #06281fd9; }
.viewer-bar { display: flex; justify-content: space-between; gap: 20px; align-items: start; position: sticky; top: -24px; background: var(--paper); padding-block: 12px; z-index: 1; }
.viewer-bar h2 { font: 1.3rem/1.4 Arial,sans-serif; letter-spacing: 0; margin: 0; }
.viewer-bar button { flex: none; max-width: 45%; border-color: #789183; }
.image-viewer > p { margin-block: 18px; }
[data-viewer-canvas] > img { width: auto; height: auto; max-width: 100%; margin-inline: auto; }
[data-viewer-original] { display: inline-block; margin-top: 24px; padding: 10px 0; }
.drills { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.drills > .lead { grid-column: 1/-1; }
.drill { padding: 26px; border: 1px solid var(--line); background: #f6f2e5; border-radius: 20px; }
.drill details { font-size: .95rem; margin-top: 20px; }
.word-tokens { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.word-tokens button { font-size: .95rem; background: white; padding: 6px 10px; }
.vocab-demo { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); border: 1px solid #a9bea8; border-radius: 24px; margin: 32px 0; }
.word-card { background: #e4edda; padding: 32px; border-radius: 24px 0 0 24px; }
.word-card h3 { font: 3.1rem/1.2 Georgia,serif; }
.word-card h3 small { display: block; font-size: 1.4rem; }
.vocab-practice { padding: 32px; }
.vocab-practice .level-nav { margin-bottom: 18px; gap: 8px; }
/* Retained connected-lesson layout, with state-specific action emphasis. */
.lesson { background: var(--paper); border: 1px solid #a6bca8; border-radius: 24px; color: var(--ink); }
.lesson-top { padding: 20px 28px; display: flex; gap: 16px; justify-content: space-between; align-items: center; background: #e9efdf; border-radius: 24px 24px 0 0; }
.lesson-top p { margin: 0; }
.lesson-top button { font-size: .9rem; flex: 0 1 auto; min-width: 0; max-width: 100%; }
.stage-nav { display: flex; border-bottom: 1px solid var(--line); background: #f3f5ed; }
.stage-nav a { flex: 1; min-width: 0; padding: 20px 12px; text-align: center; font-weight: 600; text-decoration: none; font-size: .95rem; }
.stage-nav [aria-current=step] { background: var(--deep); color: white; }
.stage { padding: 32px; }
.lesson-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 32px; }
.lesson .aside { background: #ecefdf; border-radius: 18px; padding: 24px; }
.lesson .aside p { font-size: .98rem; }
.dialogue { display: grid; gap: 14px; margin-top: 22px; }
.line { background: #e6efdf; padding: 20px; border-radius: 2px 18px 18px; }
.line.you { margin-left: 24px; background: #f3dfbb; }
.line > span { font-size: .85rem; font-weight: 600; }
.line p { margin: 8px 0; font: 1.25rem/1.5 Georgia,serif; }
.contrast { width: 100%; border-collapse: collapse; font-size: .95rem; }
.contrast td, .contrast th { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font: 1.65rem/1.4 Georgia,serif; max-width: 100%; }
.choices { display: grid; gap: 10px; margin: 20px 0; }
.choice { display: flex; align-items: center; gap: 12px; padding: 13px 17px; border: 1px solid #96ae96; border-radius: 10px; margin: 8px 0; font-weight: 400; background: #fffdf7; }
.choice:has(input:checked) { border-color: #204e37; background: #e7edda; }
.answer-actions { align-items: stretch; min-height: 108px; align-content: start; }
.answer-actions .button { font-size: .93rem; }
.feedback:not(:empty) { border-left: 4px solid #397951; padding: 16px; background: #e6f1df; margin-top: 22px; }
.feedback.wrong { border-color: #af6632; background: #faedda; }
.feedback p { margin: 10px 0 0; }
.next-row { display: flex; align-items: start; justify-content: space-between; gap: 28px; padding: 24px 28px; border-top: 1px solid var(--line); font-size: .95rem; }
.next-row p { margin: 0; max-width: 65ch; }
.next-row a { max-width: 38%; flex-shrink: 0; font-weight: 600; }
.source-question { margin-top: 40px; padding: 28px; border-left: 4px solid #789183; background: var(--cream); border-radius: 0 18px 18px 0; }
/* Concise destination labels in real grouped navigation. Legal wording unchanged. */
footer { padding: 56px 0 28px; background: #ecefdc; color: var(--ink); }
.footer-top { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,2fr); gap: 48px; padding-bottom: 32px; }
.footer-top > div > p { max-width: 38ch; margin-top: 24px; }
.footer-navigation { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.footer-navigation h2 { font: 1.05rem/1.4 Arial,sans-serif; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
.footer-navigation ul { list-style: none; padding: 0; margin: 0; }
.footer-link { display: flex; align-items: center; min-height: 44px; text-decoration: none; padding-block: 8px; }
.footer-link span { display: none; }
.legal-links { display: flex; gap: 10px 22px; flex-wrap: wrap; border-top: 1px solid #b5c4ad; padding: 20px 0; font-size: .95rem; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
footer .small { color: #46614e; }
.final-cta h2 { max-width: 25ch; }
.final-cta > .small { margin: 28px 0 0; }
/* Breakpoints follow minimum useful content widths, not device names. */
@media (min-width:1101px) {
  .hero-copy h1 { font-size: 4.5rem; }
}
@media (max-width:1100px) {
  .wrap { width: calc(100% - 56px); }
  .head { gap: 14px; }
  #main-nav { column-gap: 12px; }
  .hero-grid { gap: 32px; }
  .feature-split { gap: 32px; }
  .drills { grid-template-columns: minmax(0,1fr); }
  .footer-top { grid-template-columns: minmax(0,1fr); gap: 24px; }
}
@media (max-width:900px) {
  .head { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; }
  .js .menu-toggle { display: inline-flex; }
  #main-nav { display: none; grid-column: 1/-1; width: 100%; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); max-height: max(88px,calc(100dvh - var(--menu-viewport-top,140px) - 16px)); overflow-y: auto; }
  .head:has([data-menu][aria-expanded=true]) #main-nav { display: grid; justify-content: stretch; gap: 10px; }
  .locale-nav { grid-column: 3; grid-row: 1; }
  .nav-features > div { position: static; width: 100%; max-height: none; box-shadow: none; margin-top: 10px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .hero-copy h1 { max-width: 20ch; font-size: clamp(2.8rem,7vw,4.5rem); }
  .hero-visual { max-width: 610px; width: 100%; justify-self: center; }
  .hero-art { border-radius: 65px 65px 20px 20px; }
  .phrase-ticket { left: 16px; bottom: 0; }
  .feature-split, .skill-pair, .editorial-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .feature-split .product-capture { margin-inline: 0; }
  .feature-proof { max-width: 700px; }
  .feature-proof .product-capture { margin-inline: 0; }
  .speaking-proof-groups { gap: 52px; }
  .scenario-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .scenario-card:last-child:nth-child(odd) { grid-column: 1/-1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .scenario-card:last-child:nth-child(odd) img { height: 100%; }
  .lesson-grid, .vocab-demo { grid-template-columns: minmax(0,1fr); }
  .word-card { border-radius: 24px 24px 0 0; }
  .related-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .walkthrough { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .walkthrough-player { justify-self: start; }
  .hero-product-proof { grid-template-columns: minmax(0,1fr); max-width: 610px; }
  .hero-product-proof .product-capture { margin-inline: 0; }
}
/* Keep the compact header's 94px minimum (minus 28px padding) in its
   first row when the menu adds a second row, so the trigger does not move. */
@media (min-width:601px) and (max-width:900px) {
  .head { grid-template-rows: minmax(66px,auto); }
}
@media (max-width:600px) {
  body.mk { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .section { padding-block: 52px; }
  .head { grid-template-columns: minmax(0,1fr) auto; padding-block: 12px; }
  .head .lingeva-brand { padding: 6px 7px; gap: 6px; }
  .head .lingeva-brand .lingeva-brand__logo { width: 34px; height: 34px; }
  .head .lingeva-brand .lingeva-brand__name { font-size: 9px; }
  .head .lingeva-brand .lingeva-brand__slogan { font-size: 12px; }
  .locale-nav { grid-column: 1/-1; grid-row: 2; justify-self: end; }
  #main-nav { grid-row: 3; }
  .hero { padding-block: 40px 52px; }
  .hero-copy h1 { font-size: 2.55rem; max-width: 17ch; }
  .hero-art { border-radius: 45px 45px 18px 18px; }
  .phrase-ticket { padding: 16px; left: 8px; }
  .phrase-ticket p { font-size: 1.55rem; }
  .hero-product-proof { padding: 20px; margin-top: 36px; gap: 24px; }
  .hero-product-proof h2 { font-size: 1.9rem; }
  .connection-strip { grid-template-columns: 1fr; }
  .connection-strip > div + div { border-left: 0; border-top: 1px solid #b6c4ae; }
  .connection-strip > div { padding: 18px; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-card, .scenario-card:last-child:nth-child(odd) { grid-column: auto; display: block; }
  .scenario-card img, .scenario-card:last-child:nth-child(odd) img { height: auto; aspect-ratio: 3/2; }
  .capture-surface { padding: 28px 16px 16px; border-radius: 56px 56px 18px 18px; }
  .capture-label { margin-bottom: 12px; }
  .product-capture figcaption { padding-top: 14px; }
  .feature-proof > h2 { font-size: 1.9rem; }
  .plan-grid { grid-template-columns: minmax(0,1fr); }
  .plan-grid article, .level-explorer, .routine, .exam-explorer, .drill, .word-card, .vocab-practice { padding: 22px; }
  .exam-task { padding: 18px; }
  .page-hero { padding-block: 36px; }
  .page-hero h1 { font-size: 2.45rem; }
  .lesson-top { padding: 16px; flex-wrap: wrap; }
  .lesson-top strong { font-size: 1rem; }
  .stage-nav a { padding: 16px 8px; font-size: .85rem; }
  .stage { padding: 20px; }
  .lesson .aside { padding: 20px; }
  .next-row { display: block; padding: 22px; }
  .next-row a { display: inline-block; max-width: 100%; margin-top: 18px; }
  .answer-actions { min-height: 160px; }
  .answer-actions .button { padding: 10px 16px; }
  .footer-navigation { grid-template-columns: repeat(auto-fit,minmax(min(100%,10rem),1fr)); gap: 28px 20px; }
  .viewer-bar { gap: 12px; }
  .image-viewer { padding: 16px; }
  .viewer-bar { top: -16px; }
}
html[lang=vi] h1, html[lang=vi] h2 { font-family: Arial,Helvetica,sans-serif; letter-spacing: -.035em; font-weight: 500; }
html[lang=vi] h3:not([lang=de]), html[lang=vi] .level-example { font-family: Arial,Helvetica,sans-serif; }
@keyframes follow-phrase { 0%,100% { background: transparent; } 20%,80% { background: #edc57b80; } }
@media (prefers-reduced-motion:no-preference) {
  .connection-strip.flow-seen > div { animation: follow-phrase 1.4s ease-in-out 1; }
  .connection-strip.flow-seen > div:nth-child(2) { animation-delay: 1.4s; }
  .connection-strip.flow-seen > div:nth-child(3) { animation-delay: 2.8s; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .phrase-ticket { transform: none; }
}
@media print {
  header, footer, .preview-note, .actions, .menu-toggle, .image-viewer { display: none; }
  .section { padding-block: 24px; }
  .wrap { width: 100%; }
  .stage[hidden] { display: block !important; }
  .hero { color: var(--ink); background: white; }
}

/* Public authored lessons: written practice with native answer disclosure. */
.initial-learning-content section + section { margin-top: 2.5rem; }
.initial-learning-content .practice-exercise { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; margin: 1rem 0; }
.initial-learning-content .practice-exercise > p:first-child { margin-top: 0; }
.initial-learning-content .practice-dialogue { padding-left: 1.4rem; }
.initial-learning-content .practice-dialogue > li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.initial-learning-content .practice-dialogue p { margin: .35rem 0; }
.initial-learning-content details > summary { cursor: pointer; }
.initial-learning-content a:focus-visible, .initial-learning-content summary:focus-visible { outline: 3px solid #a76f10; outline-offset: 4px; }
@media (max-width: 520px) {
 .initial-learning-content .guide-table table { font-size: .86rem; }
 .initial-learning-content .guide-table td, .initial-learning-content .guide-table th { padding: .5rem .3rem; }
}

/* App screenshots within public learning articles: retain the complete capture. */
.article-app-figure{display:grid;grid-template-columns:minmax(0,22rem) minmax(0,1fr);gap:1.75rem;align-items:center;margin:2rem 0;padding:1.25rem;border:1px solid #d8dfd8;border-radius:1.25rem;background:#f5f4ee;break-inside:avoid}
.article-app-figure__image{min-width:0;max-width:22rem;margin:0 auto;width:100%}
.article-app-figure__image>a{display:block;border-radius:.75rem}
.article-app-figure img{display:block;width:100%;height:auto;max-width:100%;border:1px solid #d8dfd8;border-radius:.75rem}
.article-app-figure figcaption{min-width:0;overflow-wrap:anywhere}
.article-app-figure__label{margin:0 0 .65rem;font-size:.83rem;font-weight:700;color:#103d34}
.article-app-figure__title{font-size:1.2rem;font-weight:700;color:#103d34;line-height:1.35}
.article-app-figure__note{font-size:.85rem;line-height:1.5;color:#505c54}
.article-app-figure__open{display:inline-block;padding:.5rem 0;font-weight:600;text-decoration:underline;text-underline-offset:.2em}
.article-app-figure a:focus-visible{outline:3px solid #103d34;outline-offset:4px}
.mk[data-page] .feature-split>div:only-child{grid-column:1/-1}
@media(max-width:700px){.article-app-figure{grid-template-columns:minmax(0,1fr);gap:1rem;padding:1rem}.article-app-figure__image{max-width:24rem}}


/* Additive subscription handoff and content discovery. */
.subscription-handoff{scroll-margin-top:6rem;margin:2rem 0;padding:1.5rem;border:1px solid var(--line,#d8d5c9);border-radius:1rem;background:var(--cream,#fff8eb)}
.subscription-handoff li{margin:.7rem 0}.premium-option .button{margin-top:1rem}.contextual-cta .final-cta{text-align:left}.contextual-cta .actions{justify-content:flex-start}.footer-navigation{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){.footer-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.footer-navigation{grid-template-columns:1fr}.subscription-handoff{padding:1rem}}


/* Illustrated learning guides: isolated, accessible teaching layouts. */
.illustrated-guide{--ink:#133f35;--deep:#103f35;--paper:#fffcf6;--gold:#edc57b;--line:#bacbbd;--muted:#52665b;--lavender:#e7e8f6;--peach:#f5dfd1}
.illustrated-guide .guide-content{max-width:1000px}.illustrated-guide h2{margin-top:2rem}.guide-table{overflow-x:auto;margin:1.4rem 0}.guide-table table{width:100%;border-collapse:collapse}.guide-table td,.guide-table th{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid #bacbbd;min-width:110px}.guide-table thead{background:#103f35;color:#fffcf6}.german-example{background:#f4eedf;border-left:3px solid #edc57b;padding:18px;font-family:Georgia,serif;line-height:1.8}.guide-answer{padding:16px;border:1px solid #bacbbd;border-radius:10px;margin:18px 0}.guide-answer summary{cursor:pointer;min-height:30px;font-weight:bold}.guide-audio{padding:14px;border:1px solid #bacbbd;border-radius:10px;margin:14px 0}.guide-audio audio{width:100%;max-width:600px}.guide-editorial{margin:24px 0}.guide-editorial img{width:100%;height:auto;border-radius:16px}.guide-editorial figcaption{font-size:14px}.visual-module{margin:30px 0}.visual-module .frame{padding:28px;border:1px solid var(--line);border-radius:18px;background:#f4eedf}.visual-module figcaption{font-size:14px;margin-top:12px}.visual-module .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.visual-module .cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}.visual-module .card{padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--paper);min-width:0}.visual-module h3{font-size:28px}.visual-module svg{max-width:100%}.illustrated-guide a{overflow-wrap:anywhere}
@media(max-width:720px){.guide-table td,.guide-table th{padding:8px;font-size:14px}.illustrated-guide .wrap{padding-left:18px;padding-right:18px}.visual-module .cards,.visual-module .cards.two{grid-template-columns:1fr}.visual-module .frame{padding:18px 15px}}

.visual-module{margin:28px 0 30px}.visual-module *{box-sizing:border-box}.visual-module .frame{background:var(--cream);border:1px solid var(--line);border-radius:20px;padding:26px}.visual-module .frame>p:last-child{margin-bottom:0}.visual-module figcaption{font-size:14px;line-height:1.6;color:var(--muted);padding:14px 2px 0}.visual-module figure{margin:0}.visual-module .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.visual-module .cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}.visual-module .card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:20px;min-width:0}.visual-module .card:nth-child(3n+2){background:#f9efdb}.visual-module .card:nth-child(3n+3){background:#eeeef7}.visual-module .card h4{margin:5px 0 12px;font-size:16px;line-height:1.4}.visual-module .card p:last-child{margin-bottom:0}.visual-module .step-number{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;font-size:13px;font-weight:700;margin-bottom:8px}.visual-module .german{font-family:Georgia,'Times New Roman',serif;font-size:23px;line-height:1.45;letter-spacing:-.02em;margin:10px 0 14px;overflow-wrap:anywhere}.visual-module .explanation{font-size:14px;line-height:1.6;color:var(--muted);margin:10px 0 0}.visual-module .notice{background:var(--deep);color:var(--paper);border-radius:15px;padding:24px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:20px}.visual-module .notice-text{white-space:pre-line;font-size:20px;line-height:1.6}.visual-module .notice .eyebrow{color:var(--gold)}.visual-module .practice{background:#fffaf0;border:1px solid #c8b889;border-radius:14px;padding:22px;margin-top:20px}.visual-module details{margin-top:14px;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:12px 16px}.visual-module summary{cursor:pointer;font-size:14px;font-weight:700;min-height:26px}.visual-module details[open] summary{margin-bottom:12px}.visual-module .solution{font-size:16px;line-height:1.6}.visual-module .solution p:last-child{margin-bottom:0}.visual-module .vignette{height:90px;margin:auto auto 14px;max-width:130px;display:block}.visual-module .token-line{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px;margin:16px 0}.visual-module .token{display:flex;flex-direction:column;gap:7px;justify-content:flex-end;padding:12px 15px;border:1px solid var(--line);border-radius:10px;background:var(--paper);font:23px/1.3 Georgia,serif}.visual-module .token small{font:700 10px/1.2 Arial,sans-serif;text-transform:uppercase;letter-spacing:.06em}.visual-module .token.verb{background:var(--deep);color:white}.visual-module .token.dative{background:var(--gold);border-bottom:4px solid #947139}.visual-module .token.accusative{background:var(--lavender);border-bottom:4px double #636884}.visual-module .rail{border-bottom:1px solid var(--line);padding:5px 0 18px;margin-bottom:18px}.visual-module .rail:last-of-type{border-bottom:0;margin-bottom:0}.visual-module .speech{background:var(--paper);border:1px solid var(--line);border-radius:18px 18px 18px 3px;padding:20px;margin:14px 55px 14px 0}.visual-module .speech.alt{background:var(--peach);border-radius:18px 18px 3px 18px;margin-left:55px;margin-right:0}.visual-module .speech p:last-child{margin-bottom:0}.visual-module .status-strip{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.visual-module .status-strip>div{padding:17px;border-radius:10px;background:var(--paper);border:1px solid var(--line)}.visual-module .status-strip .confirmed{background:#e3edde}.visual-module .table-scroll{overflow-x:auto}.visual-module table{border-collapse:collapse;width:100%;font-size:15px;background:var(--paper);table-layout:fixed}.visual-module th,.visual-module td{padding:17px 13px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;overflow-wrap:anywhere}.visual-module thead th{background:var(--deep);color:var(--paper);font-size:15px}.visual-module thead th:first-child{width:21%}.visual-module .phoneme{font-size:46px;line-height:1.2;color:var(--deep);font-family:Arial,sans-serif;margin:10px 0}.visual-module mark{background:var(--gold);padding:1px 3px;color:var(--deep);border-radius:3px}.visual-module .sound-words{font-size:24px;font-family:Georgia,serif;line-height:1.7}.visual-module .sentence-grid{display:grid;grid-template-columns:1.2fr .65fr 1.3fr 1fr;gap:7px}.visual-module .sentence-grid .slot{background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:12px;font:21px/1.4 Georgia,serif;overflow-wrap:anywhere}.visual-module .sentence-grid .slot.aux,.visual-module .sentence-grid .slot.part{background:var(--deep);color:var(--paper)}.visual-module .sentence-grid small{display:block;font:700 10px/1.3 Arial,sans-serif;letter-spacing:.03em;margin-bottom:7px;opacity:.8}.visual-module .before-after{display:grid;grid-template-columns:1fr;gap:16px}.visual-module .before-after .card:first-child{background:var(--peach)}.visual-module .before-after .card:last-child{background:#e7eddf}.visual-module .email{background:var(--paper);border:1px solid var(--line);border-radius:15px;overflow:hidden}.visual-module .email-bar{padding:13px 22px;background:var(--deep);color:var(--paper);font-size:13px}.visual-module .email-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:20px;padding:17px 22px;border-bottom:1px solid #e2e7df}.visual-module .email-row:last-child{border:0}.visual-module .email-row .german{font-size:21px;margin:0;white-space:pre-line}.visual-module .email-note{border-left:2px solid var(--gold);padding-left:14px;font-size:13px;line-height:1.55}.visual-module .email-note b{display:block;margin-bottom:7px}.visual-module .callouts{margin-top:16px}.visual-module .callouts .card{padding:16px}.visual-module .callouts p{font-size:14px}.visual-module .callouts h4{font-size:14px}.visual-module .source-links{font-size:12px;display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:12px}.visual-module .source-links a{overflow-wrap:anywhere}.visual-module .audio-note{border-left:3px solid #a1782f;padding:10px 14px;background:#fbefd6;font-size:13px;margin:18px 0 0}
@media(max-width:1000px){.visual-module .cards{grid-template-columns:1fr}.visual-module .sentence-grid{grid-template-columns:1.1fr .65fr 1.2fr 1fr}.visual-module .sentence-grid .slot{font-size:18px;padding:8px}.visual-module .card .vignette{height:72px}.visual-module .cards.object-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.visual-module .cards.object-cards .card{padding:15px}.visual-module .object-cards .german{font-size:21px}}
@media(max-width:720px){.visual-module .frame{padding:18px 15px;border-radius:15px}.visual-module .cards,.visual-module .cards.two,.visual-module .cards.object-cards{grid-template-columns:1fr}.visual-module .card{padding:18px}.visual-module .card .vignette{height:84px}.visual-module .notice{display:block;padding:20px}.visual-module .notice-text{font-size:19px}.visual-module .speech,.visual-module .speech.alt{margin:12px 0;padding:17px}.visual-module .german{font-size:22px}.visual-module .status-strip{grid-template-columns:1fr}.visual-module .sentence-grid{grid-template-columns:1fr 1fr;gap:7px}.visual-module .sentence-grid .slot{font-size:21px;padding:12px}.visual-module .email-row{grid-template-columns:1fr;gap:12px;padding:17px}.visual-module .email-note{font-size:13px}.visual-module th,.visual-module td{padding:12px 7px;font-size:12px}.visual-module thead th{font-size:12px}.visual-module .token{font-size:21px;padding:10px}.visual-module .practice{padding:17px}}
@media(max-width:720px){.visual-module thead th:first-child{width:29%}.visual-module tbody th{word-break:normal;overflow-wrap:normal;hyphens:auto}}
.visual-module .frame{break-inside:avoid}.visual-module .german{font-size:18px}

/* Sourced English guide articles */
/* Source-led learning articles. Append after the shared marketing stylesheet. */
.researched-guide {
  width: 100%;
  max-width: 78ch;
  min-width: 0;
  margin-inline: auto;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.researched-guide :is(article, section, header, aside, div) {
  min-width: 0;
}

.researched-guide article > header {
  position: static;
  z-index: auto;
  padding: 0 0 1rem;
  border: 0;
  background: transparent;
}

.researched-guide section {
  margin-top: 2.2rem;
}

.researched-guide :is(h2, h3) {
  max-width: none;
  color: var(--deep);
  scroll-margin-top: 5rem;
}

.researched-guide h2 {
  margin: 2.4rem 0 .9rem;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -.025em;
  text-wrap: pretty;
}

.researched-guide h3 {
  margin: 1.6rem 0 .65rem;
  font-size: 1.2rem;
  line-height: 1.35;
}

.researched-guide p {
  margin: 0 0 1.1rem;
}

.researched-guide :is(.answer, .lead) {
  max-width: none;
  margin-bottom: 1.4rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.researched-guide .answer {
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: var(--cream);
}

.researched-guide :is(ul, ol) {
  margin: 1rem 0 1.5rem;
  padding-left: 1.6rem;
}

.researched-guide li {
  padding-left: .15rem;
  margin: .75rem 0;
}

.researched-guide li::marker {
  color: var(--deep);
  font-weight: 700;
}

.researched-guide a {
  color: var(--deep);
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

.researched-guide a:hover {
  text-decoration-thickness: .14em;
}

.researched-guide :is(a, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 4px;
  border-radius: 4px;
}

.researched-guide :is(blockquote, .example) {
  margin: 1.35rem 0;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: var(--cream);
  color: var(--ink);
}

.researched-guide blockquote[lang="de"] {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.08rem;
  line-height: 1.8;
}

.researched-guide :is(blockquote, .example, .exercise, details, .cta) p:last-child {
  margin-bottom: 0;
}

.researched-guide .example > strong + p {
  margin-top: .5rem;
}

.researched-guide .exercise {
  margin: 1.35rem 0;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.researched-guide details {
  margin: 1rem 0;
  padding: .3rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}

.researched-guide summary {
  min-height: 44px;
  padding-block: .6rem;
  font-weight: 700;
  line-height: 1.5;
}

.researched-guide details[open] summary {
  margin-bottom: .55rem;
  border-bottom: 1px solid var(--line);
}

.researched-guide :is(.scroll, .table-scroll) {
  max-width: 100%;
  margin: 1.35rem 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--muted) var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.researched-guide .table-scroll > .scroll {
  margin: 0;
  border: 0;
  border-radius: 0;
}

.researched-guide table {
  width: 100%;
  min-width: 32rem;
  margin: 0;
  border-collapse: collapse;
  table-layout: auto;
  background: var(--paper);
  font-size: .94rem;
  line-height: 1.55;
}

.researched-guide caption {
  padding: .9rem 1rem;
  text-align: left;
  color: var(--deep);
  font-weight: 700;
  background: var(--cream);
}

.researched-guide :is(th, td) {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

.researched-guide thead th {
  background: var(--deep);
  color: var(--paper);
  font-weight: 700;
}

.researched-guide tbody th {
  color: var(--deep);
  font-weight: 700;
}

.researched-guide tbody tr:nth-child(even) {
  background: #f6f3e9;
}

.researched-guide tbody tr:last-child :is(th, td) {
  border-bottom: 0;
}

.researched-guide figure {
  margin: 1.7rem 0;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}

.researched-guide figure :is(svg, img) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.researched-guide figcaption {
  margin-top: .75rem;
  padding-inline: .2rem;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}

.researched-guide :is(.small, .sources) {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}

.researched-guide ul.sources {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.researched-guide ul.sources li {
  margin: .85rem 0;
}

.researched-guide .cta:not(a) {
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid var(--deep);
  border-radius: 18px;
  background: var(--deep);
  color: var(--paper);
}

.researched-guide .cta:not(a) :is(h2, h3, a) {
  color: var(--paper);
}

.researched-guide .cta:not(a) h2 {
  margin-top: 0;
  font-size: clamp(1.65rem, 2.2vw, 2rem);
}

.researched-guide :is(a.cta, .cta:not(a) > a, .cta .button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  margin-top: 1rem;
  padding: .75rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 100px;
  background: var(--gold);
  color: var(--deep);
  text-align: center;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.45;
}

.researched-guide a.cta {
  margin: .85rem 0 .2rem;
  border-color: var(--deep);
  background: var(--deep);
  color: var(--paper);
}

.researched-guide :is(a.cta, .cta:not(a) > a, .cta .button):hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.researched-guide .cta:not(a) :is(a, summary):focus-visible {
  outline-color: var(--gold);
  outline-offset: 5px;
}

@media (max-width: 640px) {
  .researched-guide {
    font-size: 1rem;
    line-height: 1.7;
  }

  .researched-guide h2 {
    margin-top: 2rem;
    font-size: 1.6rem;
  }

  .researched-guide :is(.answer, blockquote, .example, .exercise, .cta:not(a)) {
    padding: 1rem;
  }

  .researched-guide :is(th, td) {
    padding: .75rem .85rem;
  }

  .researched-guide figure {
    padding: .5rem;
  }

  .researched-guide :is(figure.learning-visual, figure[data-illustration="dtb-information-practice-flow"]) {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .researched-guide :is(figure.learning-visual, figure[data-illustration="dtb-information-practice-flow"]) svg {
    min-width: 30rem;
  }

  .researched-guide :is(a.cta, .cta:not(a) > a, .cta .button) {
    border-radius: 14px;
  }
}

@media print {
  .researched-guide :is(.scroll, .table-scroll, figure) {
    overflow: visible;
  }

  .researched-guide table {
    min-width: 0;
    font-size: .8rem;
  }

  .researched-guide :is(figure, blockquote, .example, .exercise) {
    break-inside: avoid;
  }
}

.researched-guide .article-contents { padding: 1.25rem 1.5rem; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; }
.researched-guide .article-contents h2 { margin-top: 0; font-size: 1.35rem; }
.researched-guide .article-contents ol { margin-bottom: 0; }
