/* Small-screen reading and touch layout. Loaded after the base stylesheet. */
.mobile-offer { display: none; }
.legal { display: grid; grid-template-columns: 215px 1fr; gap: 45px; border-top: 1px solid #d8e2de; }
.legal-main { max-width: 790px; }
.legal-intro { color: #466064; font-size: 1.04rem; max-width: 710px; }
.legal details { border-bottom: 1px solid #d8e2de; padding: 20px 0; }
.legal summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal summary::after { content: '+'; font-size: 1.3rem; font-weight: 400; }
.legal details[open] summary::after { content: '−'; }
.legal-copy { color: #466064; font-size: .94rem; padding: 10px 0 2px; }
.legal-copy p { max-width: 720px; }

:where(a, button, summary):focus-visible {
  outline: 3px solid #d9ad6c;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  html { scroll-padding-bottom: 84px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .wrap { width: min(100% - 32px, 520px); }

  .header-inner { min-height: 64px; }
  .site-header .wordmark { min-height: 44px; }
  .site-header .nav-buy {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
  }

  .hero-grid { padding: 42px 0 70px; gap: 32px; }
  .eyebrow { font-size: .67rem; line-height: 1.45; letter-spacing: .14em; }
  .hero h1 { font-size: clamp(2.55rem, 11.4vw, 3.7rem); line-height: 1.04; }
  .lead { font-size: 1rem; line-height: 1.55; }
  .hero-actions { margin-top: 25px; gap: 8px; }
  .hero-actions .button { width: 100%; min-height: 50px; }
  .hero-actions .underlink { min-height: 44px; display: inline-flex; align-items: center; }
  .proof-row { margin-top: 22px; gap: 8px; line-height: 1.45; }
  .proof-row span + span:before { margin-right: 8px; }
  .cover-stage img { width: min(240px, 72%); max-height: none; }
  .cover-caption { margin-top: 22px; line-height: 1.5; }
  .wave { height: 45px; }

  .section { padding-top: 66px; padding-bottom: 66px; }
  .section-label { margin-bottom: 20px; }
  h2 { font-size: clamp(2.1rem, 8.7vw, 2.8rem); line-height: 1.11; }
  .intro-main > p:last-child, .section-head > p, .about-main > p { font-size: 1rem; }
  .feature-band { padding: 24px 0; }
  .feature-grid article { padding: 18px 8px; }
  .feature-grid article p { margin-bottom: 0; }
  .chapters li { padding: 17px 0; }
  .chapters li strong { line-height: 1.4; }

  .sample { padding: 66px 0; }
  .sample-card { min-height: 0; padding: 27px; }
  .buy-section { padding: 66px 0; scroll-margin-top: 8px; }
  .buy-grid { gap: 34px; }
  .buy-card { padding: 27px; scroll-margin-top: 16px; }
  .buy-title { font-size: 2rem; }
  .price { font-size: 3rem; }
  .button-dark { min-height: 54px; text-align: center; }
  .faq summary { min-height: 48px; align-items: center; }
  footer { padding: 56px 0 28px; }
  .footer-grid { gap: 17px; }
  .footer-bottom { margin-top: 38px; }
  .legal { display: block; }
  .legal-intro { font-size: 1rem; }
  .legal-copy { font-size: .91rem; }

  .mobile-offer {
    position: fixed;
    z-index: 20;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 68px;
    padding: 8px max(16px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: #f7f6ef;
    color: #143439;
    border-top: 1px solid #d8e2de;
    box-shadow: 0 -8px 25px #092b3126;
  }
  .mobile-offer > span { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
  .mobile-offer small { color: #54716f; font-size: .68rem; letter-spacing: .06em; }
  .mobile-offer strong { font: 1.55rem Georgia, serif; }
  .mobile-offer a {
    min-height: 48px;
    padding: 10px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    background: #10343a;
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }
  .mobile-offer[hidden] { display: none; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .site-header .wordmark { font-size: .63rem; }
  .site-header .nav-buy { font-size: .72rem !important; padding-inline: 8px; }
  .hero h1 { font-size: 2.45rem; }
  .buy-card { padding: 22px; }
  .mobile-offer a { padding-inline: 11px; font-size: .8rem; }
}
