/* Product stories extend the existing paper, serif type and otter palette. */
.room-intro { top: 112px; }
.room-intro .room-title { font-size: clamp(2.5rem,4.6vw,4.4rem); line-height: 1.08; margin: 12px auto 16px; max-width: 950px; text-wrap: balance; }
.room-intro .intro-benefit { max-width: 650px; margin: 0 auto; font-size: 1.0625rem; line-height: 1.6; color: var(--otter-dark); text-wrap: pretty; }
.room-intro .otter-line { display: block; margin-top: 10px; font: 500 1.35rem/1.3 var(--display); }
.content-page .header { position: relative; }
.story { max-width: 1280px; margin: auto; padding: 28px 5% 80px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; line-height: 1.6; color: var(--muted); margin: 10px 0 44px; }
.breadcrumbs a:hover { text-decoration: underline; }
.story-hero { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 7%; align-items: center; }
.story-hero.text-only { display: block; max-width: 850px; }
.story .eyebrow { font-size: .875rem; }
.story h1 { font-size: clamp(2.7rem,4.8vw,4.5rem); line-height: 1.06; letter-spacing: -.045em; margin: 18px 0 26px; text-wrap: balance; }
.story .lead { font-size: 1.125rem; line-height: 1.8; color: var(--otter-dark); }
.story .availability { margin: 24px 0; border-left: 3px solid var(--brand-green); padding: 4px 0 4px 18px; font-size: .9375rem; line-height: 1.7; color: var(--muted); }
.story-figure { margin: 0; }
.story-figure img { display: block; width: 100%; max-width: 410px; height: auto; margin: auto; border-radius: 9px; box-shadow: 0 8px 34px #382b2315; }
.story-figure figcaption { font-size: .875rem; line-height: 1.6; color: var(--muted); margin: 20px auto 0; max-width: 410px; }
.story-body { max-width: 800px; margin: 72px 0 0; }
.story-body section { padding: 34px 0; border-top: 1px solid var(--line); }
.story-body h2 { font-size: clamp(1.8rem,3vw,2.5rem); line-height: 1.2; margin-bottom: 20px; }
.story-body h3 { font: 500 1.5rem/1.3 var(--display); margin: 26px 0 12px; }
.story-body p,.story-body li { font-size: 1.0625rem; line-height: 1.85; }
.story-body p+p { margin-top: 16px; }
.story-body ol,.story-body ul { padding-left: 24px; }
.story-body li { padding-left: 7px; margin-bottom: 14px; }
.story-body a { text-decoration: underline; text-underline-offset: 4px; }
.story-related { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 30px; }
.story-related a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 5px; }
.content-page .footer { border-top: 1px solid var(--line); }
.footer nav { flex-wrap: wrap; }
@media(max-width:760px) {
  .shelf-home { min-height: 790px; }
  .room-intro { top: 112px; left: 6%; right: 6%; }
  .room-intro .room-title { font-size: clamp(2.35rem,8vw,3.7rem); }
  .room-intro .intro-benefit { font-size: 1rem; line-height: 1.6; max-width: 500px; }
  .room-intro .otter-line { font-size: 1.2rem; }
  .story { padding: 20px 6% 56px; }
  .breadcrumbs { margin-bottom: 30px; }
  .story-hero { grid-template-columns: 1fr; gap: 36px; }
  .story h1 { font-size: clamp(2.3rem,9vw,3.4rem); }
  .story .lead { font-size: 1.0625rem; }
  .story-figure img { max-width: 360px; }
  .story-body { margin-top: 44px; }
}

/* A linked worksheet and word card explain language support in the existing paper theme. */
.language-example { margin: 0; min-width: 0; }
.example-label { display: block; font-size: .875rem; line-height: 1.5; font-weight: 600; color: var(--brand-green); letter-spacing: .025em; }
.example-source { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper, #fffefa); }
.example-source p { display: inline-block; margin-top: 20px; padding: 10px 12px; border: 2px solid var(--brand-green); border-radius: 50% / 40%; font: 500 1.4rem/1.5 var(--display); }
.example-connection { height: 28px; margin-left: 44px; border-left: 2px solid var(--brand-green); }
.example-card { padding: 28px; background: #fffefa; border: 1px solid #c9d3c7; border-radius: 14px; box-shadow: 0 10px 30px #382b2310; }
.example-card h2 { font: 500 1.75rem/1.2 var(--display); margin: 14px 0; }
.example-card p { font-size: 1rem; line-height: 1.65; margin-top: 10px; }
.example-german { padding: 18px 0; margin: 18px 0; border-block: 1px solid var(--line); }
.example-card .example-starter { font: 500 1.25rem/1.5 var(--display); }
.language-example figcaption { font-size: .875rem; line-height: 1.6; color: var(--muted); margin: 18px 0 0; }
@media(max-width:760px) {
  .example-source,.example-card { padding: 22px; }
  .example-source p { font-size: 1.2rem; }
}



/* The iPhone companion continues the native app insight in the same paper palette. */
.phone-figure { margin: 0; min-width: 0; }
.phone-device { width: min(100%,294px); margin-inline: auto; padding: 7px; border: 1px solid #665f54; border-radius: 38px; background: #252621; box-shadow: 0 2px 3px #0002, 0 24px 52px -18px #3b2d2b55; }
.phone-device img { display: block; width: 100%; max-width: none; height: auto; border-radius: 30px; }
.phone-figure figcaption { max-width: 340px; text-align: center; margin: 22px auto 0; font-size: .8125rem; line-height: 1.6; color: var(--muted); }
.story-phone { margin: 38px 0 8px; }
.story-phone .phone-device img { margin: 0; box-shadow: none; }
.story section[id] { scroll-margin-top: 28px; }

/* A single story: the cabinet, help in context, then studying in the same notes. */
.header nav { gap: 22px; }
.header .nav-chapter { white-space: nowrap; }
.room-intro .room-kicker { font-size: .75rem; letter-spacing: .085em; }
.room-intro .room-title { font-size: clamp(3rem,5.5vw,5rem); margin-block: 14px 20px; }
.room-intro .intro-benefit { max-width: 620px; }
.chapter { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); align-items: center; gap: 48px 8%; border-top: 1px solid var(--line); }
.chapter-copy { min-width: 0; }
.chapter .eyebrow { font-size: .75rem; letter-spacing: .12em; color: var(--brand-green); margin-bottom: 24px; }
.chapter h2 { font-size: clamp(2.5rem,4.3vw,4.1rem); line-height: 1.07; letter-spacing: -.04em; text-wrap: balance; }
.chapter-lead { font-size: 1.0625rem; line-height: 1.75; color: var(--muted); margin-top: 24px; max-width: 470px; }
.chapter h3 { font: 500 1.55rem/1.25 var(--display); letter-spacing: -.02em; margin-bottom: 12px; }
.chapter-visual { margin: 0; min-width: 0; }
.chapter-visual figcaption { text-align: center; font-size: .8125rem; color: var(--muted); line-height: 1.6; max-width: 430px; margin: 16px auto 0; }
.chapter .ipad-preview { max-width: 470px; }
.structure-list { margin: 30px 0 0; }
.structure-list>div { border-top: 1px solid var(--line); padding: 17px 0; }
.structure-list dt { color: var(--ink); font-size: 1rem; font-weight: 600; }
.structure-list dd { margin: 6px 0 0; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.chapter-understand .chapter-copy { grid-column: 2; grid-row: 1; }
.chapter-understand .chapter-visual { grid-column: 1; grid-row: 1; }
.chapter .feature-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 24px; }
.chapter .feature-choices button { border: 1px solid var(--line); padding-inline: 24px; }
.chapter .feature-choices [aria-selected=true] { background: var(--brand-green); border-color: var(--brand-green); color: white; }
.feature-detail { min-height: 182px; }
.feature-detail>p,.phone-continuation>p { font-size: 1rem; line-height: 1.75; color: var(--muted); }
.chapter .text-link { margin-top: 16px; text-decoration: underline; text-underline-offset: 5px; }
.chapter-note { font-size: .8125rem; line-height: 1.7; color: var(--muted); margin-top: 22px; }
.demo-disclosure { grid-column: 1/-1; width: 100%; border-block: 1px solid var(--line); }
.demo-disclosure>summary { display: flex; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font: 500 1.65rem/1.25 var(--display); }
.demo-disclosure>summary::-webkit-details-marker { display: none; }
.demo-disclosure>summary>span:first-child { flex: 1 1 auto; min-width: 0; }
.demo-summary-note { font: 400 .8125rem/1.5 -apple-system,BlinkMacSystemFont,sans-serif; color: var(--muted); margin-left: auto; }
.disclosure-icon { font: 300 1.8rem/1 sans-serif; color: var(--brand-green); }
.demo-disclosure[open] .disclosure-icon { transform: rotate(45deg); }
.demo-disclosure .demo-section { padding: 12px 0 28px; }
.phone-continuation { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 30px; }
.learning-devices { position: relative; padding-bottom: 44px; }
.learning-ipad { width: 89%; margin-left: -4%; }
.learning-devices .phone-device { position: absolute; z-index: 3; bottom: 65px; right: -1%; width: 32%; padding: 5px; border-radius: 24px; }
.learning-devices .phone-device img { border-radius: 18px; }
.learning-devices figcaption { position: absolute; inset: auto 0 0; }
.essentials { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 40px; border-top: 1px solid var(--line); }
.essentials h2 { font-size: 1.6rem; line-height: 1.3; letter-spacing: -.02em; }
.essentials p { font-size: .9375rem; line-height: 1.7; color: var(--muted); margin-top: 12px; max-width: 630px; }
.essentials .text-link { flex-shrink: 0; text-decoration: underline; text-underline-offset: 5px; }
@media(min-width:761px) and (max-width:1090px) {
  .header nav { gap: 16px; }
  .header .store-label-full { display: none; }
  .header .store-label-short { display: inline; }
  .header .nav-try { padding-inline: 18px; }
  .header .nav-faq { display: none; }
  .chapter { column-gap: 5%; }
}
@media(max-width:760px) {
  .header { display: grid; grid-template-columns: 1fr 44px auto; gap: 8px 12px; }
  .header nav { display: contents; }
  .header .wordmark { grid-row: 1; grid-column: 1; }
  .header .language-link { grid-row: 1; grid-column: 2; margin: 0; }
  .header .nav-try { grid-row: 1; grid-column: 3; }
  .header .nav-chapter { display: block; grid-row: 2; font-size: .8125rem; min-height: 44px; padding: 14px 0 6px; }
  .header { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .header .language-link { justify-self: end; }
  .header .nav-try { justify-self: end; }
  .header .nav-chapter:nth-child(2) { text-align: center; }
  .header .nav-chapter:nth-child(3) { text-align: right; }
  .header .nav-faq { display: none; }
  .room-intro { top: 164px; }
  .room-intro .room-title { font-size: clamp(2.7rem,9.5vw,4.4rem); line-height: 1.04; }
  .room-intro .room-kicker { font-size: .6875rem; letter-spacing: .04em; }
  .room-intro .intro-benefit { font-size: .9375rem; line-height: 1.65; max-width: 460px; }
  .room-intro .intro-benefit br { display: none; }
  .shelf-home { min-height: 790px; }
  .chapter { grid-template-columns: 1fr; gap: 32px; }
  .chapter h2 { font-size: clamp(2.5rem,9vw,3.7rem); }
  .chapter h2 br { display: none; }
  .chapter .eyebrow { margin-bottom: 18px; }
  .chapter-lead { margin-top: 20px; font-size: 1rem; }
  .chapter-understand .chapter-copy,.chapter-understand .chapter-visual { grid-column: auto; grid-row: auto; }
  .chapter .ipad-preview { max-width: 390px; }
  .chapter .feature-choices { justify-content: flex-start; }
  .feature-detail { min-height: 0; }
  .demo-disclosure>summary { font-size: 1.35rem; padding-block: 20px; }
  .demo-summary-note { display: none; }
  .disclosure-icon { margin-left: auto; }
  .learning-devices { max-width: 440px; width: 100%; margin-inline: auto; }
  .learning-ipad { margin-left: 0; width: 87%; }
  .learning-devices .phone-device { right: 0; }
  .essentials { display: block; padding-block: 32px; }
  .essentials .text-link { margin-top: 16px; }
}
