:root { color-scheme: light; font: 16px/1.55 system-ui,-apple-system,"PingFang SC",sans-serif; color: #122e2a; background: #f4f8f5; }
* { box-sizing: border-box; }
[hidden] { display:none !important; }
body, h1, h2, p { margin: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
.shell { max-width: 58rem; width: min(100% - 2rem,58rem); margin: auto; }
.top { background: #fff; border-bottom: 1px solid #d8e6de; }
.top-inner, .watch-heading, .intro-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.top-inner { min-height: 3.65rem; }
.brand, .app-link, .primary, .secondary { text-decoration: none; font-weight: 700; }
.brand { display: inline-flex; gap: .5rem; align-items: center; color: #132c29; }
.brand-icon { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: .5rem; background: #155c4e; color: #fff; }
.app-link { border: 1px solid #bdcec6; border-radius: .55rem; padding: .3rem .65rem; }
main { display: grid; gap: 1.6rem; padding-top: 1.25rem; padding-bottom: 1.4rem; }
.intro { background: #132c29; color: #f2fbf7; border-radius: 1rem; padding: clamp(1.25rem,4.5vw,2.35rem); }
.intro h1 { font-size: clamp(1.65rem,5.6vw,2.4rem); line-height: 1.16; letter-spacing: -.035em; }
.intro p { margin: .65rem 0 .9rem; color: #e2f0e9; max-width: 34em; }
.intro-actions { justify-content: flex-start; flex-wrap: wrap; }
.primary, .secondary { display: inline-block; padding: .48rem .8rem; border-radius: .55rem; border: 1px solid transparent; }
.primary { color: #fff; background: #155c4e; }
.intro .primary { background: #d0e9dc; color: #122e2a; }
.secondary { color: #155144; background: #edf6f0; border-color: #c9bfb8; }
.intro .secondary { color: #f2fbf7; background: transparent; border-color: #8caaa0; }
h2 { font-size: 1.26rem; line-height: 1.25; }
.course-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; margin-top: .65rem; }
.course { display: grid; gap: .15rem; min-width: 0; padding: .7rem .8rem; text-align: left; background: #fff; border: 1px solid #cdded3; color: #132c29; border-radius: .75rem; }
.course[aria-pressed="true"] { border-color: #407d6d; background: #e5f2ea; }
.course span, .watch-heading p { font-size: .88rem; color: #31574c; }
.course strong { font-size: 1.03rem; }
.course-tag { font-weight: 700; }
.watch, .trial { border-radius: 1rem; background: #fff; border: 1px solid #d7e5dc; padding: .85rem 1rem 1rem; }
.watch-heading { align-items: end; }
.watch-heading h2 { margin-top: .12rem; }
#watch-kind { font-size: .86rem; color: #31574c; flex: none; }
.language-list { display: flex; flex-wrap: wrap; gap: .37rem; margin: .68rem 0; }
.language { border: 1px solid #c5d8d0; background: white; border-radius: 3rem; padding: .36rem .58rem; color: #264b40; font-size: .89rem; line-height: 1.5; }
.language[aria-pressed="true"] { background: #155c4e; border-color: #155c4e; color: #fff; }
.film { background: #122320; border-radius: .65rem; text-align: center; overflow: hidden; }
video { display: block; width: min(100%,19rem); aspect-ratio: 9/16; max-height: 31rem; margin: 0 auto; background: #122320; }
#media-message { padding: 1.25rem .9rem; color: #e2f0e9; }
.trial p { margin: .5rem 0; }
.trial-status { color: #23564a; }
.trial-status:empty { display: none; }
form { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
form label { flex-basis: 100%; font-weight: 650; }
form input { width: min(100%, 17rem); padding: .45rem .6rem; border: 1px solid #8cae9e; border-radius: .55rem; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #87653d; outline-offset: 2px; }
footer { color: #49665e; padding-bottom: 1.2rem; }
@media(max-width: 35rem) {
  main { gap: 1rem; }
  .course-list { grid-template-columns: 1fr; }
  .watch, .trial { padding: .72rem .65rem .8rem; }
  video { width: min(100%,16.5rem); }
}
