/* Approved mobile layout. Desktop remains unchanged. */
.mobile-beta{display:none}
@media(max-width:900px){
  html{scroll-padding-top:78px}
  html .nav-actions>[data-open-email-access]{display:none}
  html .mobile-beta{display:flex;justify-content:center;width:100%;min-height:48px;margin-top:16px;font-size:15px}
  .mobile-nav a{min-height:48px;display:flex;align-items:center}
  html .hero-role-group{text-align:left;margin-bottom:12px}
  html #top .hero-role-lead{text-align:left;font-size:clamp(19.55px,5.695vw,28.9px);white-space:nowrap;margin-bottom:7px}
  html .hero-role-line{justify-content:flex-start;gap:7px;height:48px;letter-spacing:-.025em}
  html .hero-role-field{--role-slot-height:48px}
  html .hero{padding-top:28px}
  html .hero-copy>.hero-art{width:min(78%,340px);margin:16px auto 24px;padding:5px 0 36px;transform:none!important}
  html .hero-people{aspect-ratio:1.5}
  html .hero-note.hero-note-side-tab{width:calc(100% + 20px);max-width:none;left:-10px;bottom:0}
  html .hero-note-content{gap:6px;padding:10px 9px}
  html .hero-note-content strong{font-size:11px}
  html .hero-note-content>div>span{font-size:10px;margin-top:4px}
  html .hero-note .fiona-mark{width:17px;flex-basis:17px}
  html .hero-note>.hero-review-action{min-width:58px;padding:10px 8px;font-size:12px}
  html .hero-copy>.integrations-intro{font-size:15px;line-height:1.6;margin-top:18px}
  html .hero-actions{margin-top:0}
  html .email-cta{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:8px;border-radius:12px}
  html .email-cta input{width:100%;min-height:48px;font-size:16px;padding:10px 14px;text-align:left}
  html .email-cta .button{width:100%;min-height:50px;justify-content:center;font-size:15px;margin:0}
  html .hero-note.hero-note-side-tab{position:relative;left:auto;bottom:auto;width:100%;max-width:none;transform:none!important;margin-top:12px}
  html .hero-note-content{padding:14px 12px;gap:10px}
  html .hero-note-content strong{font-size:15px;line-height:1.35}
  html .hero-note-content>div>span{font-size:14px;line-height:1.45}
  html .hero-note>.hero-review-action{font-size:14px;min-width:66px}
  html .hero-copy>.hero-art{width:100%;max-width:400px;padding-bottom:0;margin-bottom:22px}
  html .hero-art-mat{width:76%;margin:auto}
  html #day-title{white-space:normal;font-size:34px;line-height:1.06}
  html #day-title .serif{display:block}
  html .scene-caption strong{font-size:17px}
  html .scene-caption p{font-size:14px}
  html .practice-description{font-size:16px;line-height:1.65}
  html .signup-choices{grid-template-columns:1fr}
  html .signup-choices label{font-size:14px;min-height:48px}
  html .dialog-close{min-height:48px;min-width:48px}
  #a-better-day.is-paper-story{min-height:350svh;height:350svh}
  #a-better-day.is-paper-story .day-sticky{position:sticky;top:70px;height:calc(100svh - 70px);min-height:0;max-height:none;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:12px;padding-block:12px;width:var(--site-frame-width)}
  #a-better-day.is-paper-story #day-title{font-size:clamp(26px,7vw,34px);white-space:normal;line-height:1.03}
  #a-better-day.is-paper-story #day-title .serif{display:block}
  #a-better-day.is-paper-story .day-heading{width:100%;align-self:stretch;flex:none}
  #a-better-day.is-paper-story .day-copy{position:static;top:auto}
  #a-better-day.is-paper-story .day-copy>p{font-size:13px;line-height:1.45;margin:0;max-width:none}
  #a-better-day.is-paper-story .story-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:10px}
  #a-better-day.is-paper-story .story-step{border:1px solid var(--line);border-radius:3px;padding:0;min-height:40px;justify-content:center}
  #a-better-day.is-paper-story .story-step>span:not(.step-number),#a-better-day.is-paper-story .story-step-indicator,#a-better-day.is-paper-story .story-step::before{display:none}
  #a-better-day.is-paper-story .story-step.is-active{background:var(--neon);border-color:var(--neon)}
  #a-better-day.is-paper-story .step-number{font-size:14px}
  #a-better-day.is-paper-story .story-visual{width:100%;max-width:450px;align-self:center;clip-path:inset(-5px -5px -8px -5px)}
  #a-better-day.is-paper-story .story-slides{display:grid;gap:0}
  #a-better-day.is-paper-story .story-slide{grid-area:1/1}
  #a-better-day.is-paper-story .story-slide img{height:clamp(150px,27svh,270px);aspect-ratio:auto;object-fit:contain}
  #a-better-day.is-paper-story .scene-topline{padding:7px 12px 0;font-size:5px}
  #a-better-day.is-paper-story .scene-caption{min-height:90px;padding:12px;gap:8px}
  #a-better-day.is-paper-story .scene-caption strong{font-size:15px}
  #a-better-day.is-paper-story .scene-caption p{font-size:13px;line-height:1.4}
}
@media(max-width:900px){
  html{--mobile-section-title:clamp(26px,7.6vw,30px);--section-pin-top:70px}
  html .site-header{position:sticky;top:0;z-index:100;transform:none}
  html #top .hero-role-group{margin-bottom:8px}
  html #top .hero-copy>.hero-art{margin-top:12px;margin-bottom:16px}
  html #top .hero-copy>.integrations-intro{margin-top:14px;font-size:14px}
  html #top .hero-copy>.integrations-intro>strong{display:none}
  html #top .logo-river{margin-top:20px}
  html #top .hero-note.hero-note-side-tab{display:block;min-height:0;padding:0}
  html #top .hero-note-content{padding:14px 16px;gap:12px;text-align:left}
  html #top .hero-note-content strong{font-size:16px;line-height:1.4;font-weight:500}
  html #top .hero-note-content>div>span{display:block}
  html #top .hero-note-content>div>.hero-example-label{font-size:10px;line-height:1.4;letter-spacing:.06em;text-transform:uppercase;color:var(--stone);margin:0 0 4px}
  html #top .hero-review-action{display:none}
  html #a-better-day .day-copy{display:none}
  html #a-better-day.is-paper-story .day-sticky{gap:20px}
  html #a-better-day.is-paper-story .story-slide img{height:clamp(200px,34svh,330px)}
  html #a-better-day.is-paper-story .scene-caption{padding:16px;min-height:100px}
  html #a-better-day.is-paper-story .scene-caption strong{font-size:16px}
  html #a-better-day.is-paper-story .scene-caption p{font-size:14px}
  html #a-better-day #day-title,
  html #practice-story #practice-story-title,
  html #your-firm #faq-title,
  html #request-access #closing-title{font-size:var(--mobile-section-title);line-height:1.08;letter-spacing:-.045em;white-space:normal;margin:0}
  html #day-title .serif,
  html #practice-story-title .serif,
  html #faq-title .serif{display:block;font-size:inherit}
  html .practice-tools,
  html .practice-chapters{display:none}
  html .practice-story.is-scroll-story{height:460svh}
  html .is-scroll-story .practice-story-sticky{top:70px;height:calc(100svh - 70px);min-height:0;max-height:none;justify-content:center;padding-block:16px;gap:20px}
  html .is-scroll-story .practice-story-heading{margin:0;flex:none}
  html .is-scroll-story .practice-scenes{flex:none;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:18px;overflow:clip;overflow-clip-margin:4px}
  html .is-scroll-story .practice-visual-viewport{grid-area:1/1;justify-content:center;padding:0}
  /* Fill the copy column, retaining the exact one-scene 3:2 crop and hidden overflow. */
  html .is-scroll-story .practice-panorama-screen{height:auto;width:100%;max-width:100%;aspect-ratio:3/2;margin:0;overflow:hidden}
  html .is-scroll-story .practice-scene{grid-area:2/1;padding:0;align-items:center}
  html .practice-copy{width:100%;padding:0}
  html .practice-copy h4{font-size:26px;line-height:1.12;margin-bottom:12px}
  html .practice-description{font-size:15px;line-height:1.6;max-width:none}
  html #your-firm .human-art{display:none}
  html #your-firm{grid-template-columns:minmax(0,1fr);gap:20px}
  html #your-firm .human-copy{width:100%;max-width:none;margin:0}
  html #your-firm summary{font-size:14px;min-height:60px;padding-block:15px;gap:12px}
  html #your-firm .faq-answer p{font-size:14px;line-height:1.55;padding-bottom:16px}
  html #your-firm.is-pinned-ending{height:260svh;padding-block:0}
  html #your-firm.is-pinned-ending>.ending-faq-stage{top:70px;min-height:calc(100svh - 70px);display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:20px;padding-block:16px}
  html #your-firm .faq-heading{width:100%;align-self:stretch}
  html #request-access #closing-title{white-space:nowrap;margin-bottom:20px}
  html #closing-title br{display:none}
  html #closing-title .serif{display:inline;font-size:inherit}
}
