/* Readable type at desktop and mobile sizes; preserve the COLORS palette. */
:root{--ink:#153650;--muted:#3f5568}
body{font-size:16px;font-weight:500;line-height:1.9}
p,li,label{line-height:1.9}
.hero-desc,.section-title>p:last-child,.principles p,.story-photo p:not(.eyebrow),.heading-row>p,.age-panel p,.age-panel li,.annual li p,.lesson-grid p,.safety article p,.flow-grid p,.quote-note p,.after-trial>div>p:not(.eyebrow),.faq details>p,.contact>div>p:not(.eyebrow),.contact-note p,.portal-teaser p:not(.eyebrow){font-size:16px;color:var(--muted);font-weight:500}
.hero-desc{line-height:2.1}
.hero-lead{font-size:23px}
.hero-spec{font-size:13px;flex-wrap:wrap;gap:10px}
.hero-spec span{font-size:13px;color:#294e6a}
.brand span{font-size:13px;max-width:125px;flex-shrink:0}
header nav{font-size:14px;gap:20px;flex-wrap:wrap;justify-content:flex-end}
header{gap:24px}
.button,.button.small,.portal-teaser .button,.after-trial .button{font-size:16px;line-height:1.6;white-space:normal}
.button.small{padding:12px 18px}
.text-link,.intro-strip a,.schedule-list .text-link{font-size:15px;font-weight:600}
.eyebrow,.portal-top .eyebrow{font-size:13px;letter-spacing:.09em;font-weight:700}
.preview-note{font-size:13px;font-weight:600}
.tag,.age-panel .tag,.checklist .tag{font-size:14px;font-weight:700}
.footnote,.checklist .footnote{font-size:13px!important;color:#43596b;font-weight:500}
.photo-caption,.story-photo small,.after-trial small{font-size:13px;font-weight:500}
.photo-caption{background:#14334ee6;color:white}
.principles h3,.age-panel h3,.annual h3,.checklist h3{font-size:23px}
.safety h3,.flow-grid h3,.quote-note strong,.contact-note strong{font-size:19px}
.age-tabs small{font-size:15px}
.annual ol{grid-template-columns:repeat(4,minmax(0,1fr))}
.annual span{font-size:18px;font-weight:700}
.annual strong{font-size:22px}
.faq summary,summary{font-size:17px}
.checklist label{font-size:16px;align-items:flex-start}
.checklist input[type=checkbox]{width:21px;height:21px;margin-top:5px}
form>label,.field-row>label{font-size:16px;font-weight:700;gap:9px}
input,select,textarea{font-size:17px;font-weight:500;padding:12px;line-height:1.7}
textarea::placeholder{font-size:15px;color:#506577;opacity:1}
em{font-size:13px;font-weight:700;color:#aa2731}
footer{font-size:15px;flex-wrap:wrap}
footer small{font-size:13px;color:var(--muted)}
dialog>p,dialog pre{font-size:16px;line-height:1.9}
dialog pre{font-family:inherit;max-height:40vh}
dialog{width:min(700px,92vw)}
.portal-shell{grid-template-columns:250px minmax(0,1fr)}
.portal-shell aside>p:not(.eyebrow){font-size:14px;color:var(--muted)}
.portal-shell aside nav button{font-size:16px;font-weight:600;padding:14px 12px}
.portal-shell aside nav span{font-size:22px}
.aside-note,.aside-note strong{font-size:14px;color:var(--muted)}
.portal-top h1:after{font-size:16px;font-weight:500;color:white;letter-spacing:.03em}
.demo-pill,.portal-top .demo-pill{font-size:13px;font-weight:700;line-height:1.6}
.demo-alert,.media-note{font-size:15px;font-weight:600;line-height:1.9}
.demo-alert{color:#5a4d23}
.media-note{color:#633075}
.dashboard-summary span{font-size:15px;color:#3e566d;font-weight:700}
.dashboard-summary p{font-size:16px;color:var(--muted);font-weight:500;opacity:1}
.dashboard-summary h2{font-size:26px}
.dashboard-summary h2 small{font-size:16px}
.dashboard-summary article:nth-child(2) h2{color:#715605}
.calendar-heading{flex-wrap:wrap}
.calendar-heading .button{font-size:15px}
.month-controls h2{font-size:23px}
.month-controls button{width:38px;height:38px;font-size:19px}
.calendar-scroll{overflow-x:auto}
.week-labels,.calendar-grid{min-width:840px}
.week-labels{font-size:15px;font-weight:700}
.day{min-height:115px;padding:9px;font-size:15px;font-weight:600}
.day-number{width:29px;height:29px}
.calendar-event{font-size:13px;font-weight:600;line-height:1.7;padding:6px}
.calendar-key{font-size:13px;font-weight:600;color:var(--muted);line-height:1.8;gap:10px}
.schedule-list h2{font-size:23px}
.event-row{flex-wrap:wrap}
.event-date{font-size:27px;min-width:92px}
.event-date small{font-size:15px}
.event-row h3{font-size:18px}
.event-row p{font-size:15px;color:var(--muted)}
.event-row .event-state,.event-row .remove-event{font-size:13px;font-weight:700;line-height:1.7}
.event-row .remove-event{padding:7px 12px;color:#76501e}
.portal-main section>.heading-row p:not(.eyebrow){font-size:16px;color:var(--muted)}
.media-filters button{font-size:16px;font-weight:600;padding:8px 20px}
.media-empty h3{font-size:23px}
.media-empty p{font-size:16px;color:var(--muted)}
.media-empty small{font-size:14px;color:var(--muted)}
.media-card h3{font-size:16px}
.media-card p,.remove-media{font-size:14px;font-weight:500}
.document-card{flex-wrap:wrap}
.document-card h3,.operating-note h3{font-size:21px}
.document-card p,.operating-note p,.operating-note ul{font-size:16px;color:var(--muted)}
.document-card a{font-size:15px;white-space:normal}
.document-card>span{font-size:14px;font-weight:700}
#event-error{font-size:16px;font-weight:600}
@media(max-width:1250px){
  .brand span{display:none}
  header nav{gap:14px;font-size:14px}
  .annual{grid-template-columns:1fr}
  .annual h3 br{display:none}
  .flow-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .flow-grid article+article:before{display:none}
  .portal-shell{grid-template-columns:230px minmax(0,1fr)}
  .dashboard-summary{grid-template-columns:1fr}
  .portal-top{display:block}
  .portal-top .demo-pill{display:inline-block;margin-top:16px}
}
@media(max-width:1100px){
  header nav{display:none}
  .menu-button{display:block;background:white;border:1px solid #9dcce8;border-radius:8px;color:#006fa8;font-size:15px;font-weight:600;padding:10px 15px}
  #mobile-nav{top:90px;font-size:16px}
  .story-photo{grid-template-columns:1fr}
  .story-photo img{height:360px}
  .story-photo>div{padding:35px}
  .story-photo p:not(.eyebrow) br{display:none}
  .portal-teaser{flex-wrap:wrap}
}
@media(max-width:760px){
  body{font-size:16px}
  .hero h1{font-size:clamp(29px,7.8vw,42px)}
  .hero .sun{right:5%;font-size:35px;top:87px}
  .hero-lead{font-size:20px}
  .hero .eyebrow{font-size:12px;letter-spacing:.05em}
  .hero-desc{font-size:16px}
  .hero-desc br{display:none}
  .hero .button{font-size:16px;gap:18px}
  .hero-spec,.hero-spec span{font-size:13px}
  .hero-spec{gap:8px}
  .hero-spec span{padding:5px 10px!important}
  .hero .text-link,.intro-strip a,.text-link{font-size:15px}
  .preview-note{font-size:12px}
  .eyebrow{font-size:12px;letter-spacing:.08em}
  .intro-strip p{font-size:20px}
  .section-title>p:last-child,.principles p,.story-photo p:not(.eyebrow),.heading-row>p,.age-panel p,.age-panel li,.annual li p,.safety article p,.flow-grid p,.faq details>p,.contact>div>p:not(.eyebrow),.contact-note p{font-size:16px}
  .story-photo img{height:270px}
  .story-photo>div{padding:28px}
  .age-tabs small{font-size:13px;line-height:1.6;padding:0 5px;min-height:42px}
  .age-tabs button{font-size:30px}
  .age-panel h3{font-size:21px}
  .annual ol{grid-template-columns:repeat(2,minmax(0,1fr))}
  .annual li{padding:16px!important}
  .annual strong{font-size:21px}
  .flow-grid h3{font-size:18px}
  .flow-grid article{padding:16px 14px}
  .flow-grid p{font-size:15px}
  .checklist label{font-size:16px}
  .after-trial .button{font-size:15px}
  .faq summary{font-size:17px}
  .field-row{grid-template-columns:1fr;gap:0}
  .contact h2{font-size:27px}
  .portal-teaser .button{font-size:16px}
  footer p{font-size:15px}
  footer small{font-size:13px}
  .portal-shell{grid-template-columns:minmax(0,1fr)}
  .portal-shell aside h2{font-size:18px}
  .portal-shell aside nav{flex-wrap:wrap;gap:8px}
  .portal-shell aside nav button{font-size:15px;padding:10px 12px;white-space:normal}
  .portal-shell aside nav span{font-size:20px;margin-right:7px}
  .portal-body header .text-link{font-size:14px}
  .portal-main{padding-left:5%;padding-right:5%}
  .portal-top{padding:24px 22px}
  .portal-top .eyebrow{font-size:12px;letter-spacing:.03em}
  .portal-top h1{font-size:26px}
  .portal-top h1:after{font-size:15px;max-width:none}
  .portal-top .demo-pill{position:static;font-size:12px;padding:4px 10px}
  .demo-alert,.media-note{font-size:15px}
  .dashboard-summary h2{font-size:25px}
  .calendar-heading .button{font-size:15px;padding:11px 16px}
  .month-controls{gap:15px}
  .month-controls h2{font-size:22px}
  .calendar-key{font-size:13px;gap:8px;padding:15px}
  .event-row{gap:12px;padding:16px}
  .event-date{font-size:26px;min-width:80px}
  .event-row h3{font-size:18px}
  .event-row p{font-size:15px}
  .event-row .event-state{font-size:13px}
  .schedule-list .text-link{font-size:15px}
  .media-empty h3{font-size:22px}
  .media-empty p{font-size:16px}
  .media-empty small{font-size:14px}
  .media-grid{grid-template-columns:1fr}
  .media-open img,.media-open video{height:220px}
  .media-card>div{padding:16px}
  .document-card h3{font-size:20px}
  .document-card a{font-size:15px}
}
/* Let Japanese text wrap at meaningful boundaries, rather than anywhere. */
p,li,label,h1,h2,h3,summary,a,button,small,.tag,.calendar-event,.demo-alert,.media-note{
  word-break:normal;
  overflow-wrap:normal;
  line-break:strict;
  text-wrap:pretty;
}
@supports(word-break:auto-phrase){
  p,li,label,h1,h2,h3,summary,a,button,small,.tag,.calendar-event,.demo-alert,.media-note{word-break:auto-phrase}
}
.phrase{display:inline-block;white-space:nowrap;vertical-align:baseline}
.button-label{min-width:0;text-align:left;flex:1}
.button b{flex-shrink:0}
.heading-row>div,.heading-row>p,.hero-copy,.section-title,.principles article>div,.story-photo>div,.age-panel>div,.after-trial>div,.contact>div,.portal-teaser>div{min-width:0}
.heading-row>p{flex-shrink:0;max-width:50%}
.hero h1 .hero-first-line{white-space:nowrap}
.hero .sun{pointer-events:none;top:auto;bottom:20px;right:8%}
.age-tabs small{min-height:0;padding-block:3px}
.age-panel h3{line-height:1.85}
/* Keep phrases readable when columns become narrow. */
@media(min-width:761px) and (max-width:1250px){
  .hero{grid-template-columns:1.15fr 1fr}
  .hero h1{font-size:clamp(30px,3.7vw,44px)}
  .approach{grid-template-columns:1fr;gap:38px}
  .age-panel{grid-template-columns:1fr;gap:25px}
  .after-trial,.contact{grid-template-columns:1fr;gap:35px}
}
@media(max-width:760px){
  .hero h1{font-size:clamp(26px,7.3vw,42px)}
  .hero .sun{top:auto;bottom:12px;right:6%;font-size:32px}
  .heading-row>p{max-width:none}
  .section h2{font-size:clamp(25px,6.7vw,32px)}
  .age-tabs small{font-size:14px;min-height:52px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;column-gap:0}
  .button{column-gap:15px;padding-inline:20px}
  .hero .text-link{padding-right:35px}
}
@media(max-width:380px){
  .flow-grid{grid-template-columns:1fr}
  .checklist h3,.age-panel h3{font-size:20px}
  .section h2{font-size:25px}
}
@media print{body{font-size:12px}.calendar-grid,.week-labels{min-width:0}.calendar-event{font-size:10px}.portal-shell{display:block}.portal-shell aside{display:none}.hero-desc,.principles p,.flow-grid p,.annual li p,.contact-note p{font-size:12px}.hero .sun{display:none}}
