.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
button.btn { font-family: inherit; cursor: pointer; }
.practice-status { font-size: 14px; line-height: 1.5; margin: 16px 0; }
.practice-frame { display: block; width: 100%; height: 740px; border: 0; border-radius: 12px; background: #f8fafc; visibility: hidden; }
.practice-frame.is-ready { visibility: visible; }
.practice-links { margin-top: 18px; }
.practice-period { margin: 18px 0; }
.practice-period label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; min-width: 0; }
.practice-period input, .practice-period select { width: 100%; min-height: 44px; padding: 9px; border: 1px solid var(--ink-2); background: #fff; color: var(--ink); border-radius: 0; font: 500 16px Onest, sans-serif; }
.practice-years { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-top: 10px; }
.practice-years .btn { min-height: 44px; width: auto; }
.practice-period-error { font-size: 14px; margin-top: 12px; color: #9f2a18; }
#apply-practice-period { margin-top: 16px; }
@media(max-width:390px) { .practice-years { grid-template-columns: 1fr 1fr; } .practice-years .btn { grid-column: 1 / -1; width: 100%; } }
.demo-intro, .time-calc, .refund { margin: 42px auto; max-width: 960px; padding: 24px var(--pad); }
.demo-intro p, .time-calc p, .refund p { margin: 14px 0 22px; }
.calc-inputs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.calc-inputs label, .teacher-demo label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.calc-inputs input, .teacher-demo input, .teacher-demo select, .teacher-demo textarea { width: 100%; min-height: 46px; border: 1px solid #8f968d; background: #fff; color: #1d1a17; padding: 10px; border-radius: 7px; font: inherit; }
.calc-output { background: #f1e7d8; color: var(--ink); padding: 20px; font-size: 21px; font-weight: 700; border-left: 4px solid var(--coral); }
.offer-grid { margin: 70px var(--pad) 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer { border: 2px solid var(--ink); padding: 28px; background: #fff; color: var(--ink); display: flex; flex-direction: column; gap: 20px; }
.teachers .offer .eyebrow { color: var(--coral-dark); }
.teachers .offer em { color: var(--coral-dark); }
.teachers .time-calc .note { color: #c9c4d0; }
.teachers .refund .text-button { color: var(--yellow); }
.offer .btn { margin-top: auto; }
.refund { border-top: 1px solid var(--line); }
.text-button { font: inherit; font-weight: 700; border: 0; background: transparent; padding: 8px 0; text-decoration: underline; cursor: pointer; color: var(--ink); }
.teacher-demo { width: min(900px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid #c6cfc7; border-radius: 18px; background: #f7f9f6; color: #1d1a17; font: 16px/1.5 Onest, sans-serif; overscroll-behavior: contain; color-scheme: only light; }
.teacher-demo::backdrop { background: rgb(19 28 24 / 65%); }
.demo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px; background: #fff; border-bottom: 1px solid #d9e0d7; }
.demo-head b { font-size: 21px; }
.demo-head p { font-size: 12px; margin-top: 6px; color: #58635a; }
.demo-body { padding: 24px; }
.demo-body h2, .demo-body h3 { margin: 16px 0; }
.demo-body h2 { font-size: 25px; line-height: 1.3; }
.demo-body h3 { font-size: 20px; line-height: 1.4; }
.demo-body p { margin: 12px 0; }
.demo-button { min-height: 44px; padding: 9px 14px; background: #fff; color: #1f4330; border: 1px solid #a8bca6; border-radius: 8px; font: 600 14px Onest, sans-serif; cursor: pointer; }
.demo-toolbar, .demo-tabs { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 20px; }
.demo-tabs { padding-bottom: 15px; border-bottom: 1px solid #d9e0d7; }
.demo-tabs [aria-pressed="true"] { color: #fff; background: #245f48; border-color: #245f48; }
.demo-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.demo-students { display: grid; gap: 10px; }
.demo-student { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 12px; width: 100%; text-align: left; background: white; border: 1px solid #d3ddd2; border-radius: 10px; padding: 16px; color: #1d1a17; font: inherit; cursor: pointer; }
.demo-student span { font-size: 13px; }
.demo-tag { background: #e8f1df; color: #34552b; padding: 5px 8px; border-radius: 6px; }
.demo-tag.is-debt { background: #fff0d7; color: #72501e; }
.demo-card { background: #fff; border: 1px solid #d3ddd2; padding: 20px; border-radius: 12px; margin: 14px 0; }
.demo-card .demo-button { margin: 6px; }
.demo-notice { margin: 0; padding: 0 24px 20px; color: #245f48; font-size: 14px; }
.teacher-demo form { display: grid; gap: 20px; margin-top: 20px; }
.teacher-demo textarea { margin: 16px 0; resize: vertical; }
.teacher-demo .btn { margin: 14px 12px 0 0; }
@media(max-width:680px) { .calc-inputs, .offer-grid, .demo-filters { grid-template-columns: 1fr 1fr; } .offer-grid { grid-template-columns: 1fr; } .demo-head, .demo-body { padding: 16px; } .demo-student { grid-template-columns: 1fr auto; } .teacher-demo .demo-head .demo-button { flex-shrink: 0; } }
@media(max-width:380px) { .calc-inputs { grid-template-columns: 1fr; } }


body[data-aud="student"] .hero { grid-template-columns: 1.08fr 1fr; max-width: 1440px; width: 100%; margin-inline: auto; }
body[data-aud="student"] .hero-text { padding: 36px clamp(24px, 4vw, 56px); }
body[data-aud="student"] .hero h1 { font-size: clamp(42px, 4vw, 62px); }
body[data-aud="student"] .hero .lead { font-size: 19px; max-width: 29em; }
body[data-aud="student"] .hero .cta { gap: 12px; }
body[data-aud="student"] .hero .btn { font-size: 16px; padding-inline: 20px; }
.hero-preview { padding: 24px 28px; background: var(--coral); background-image: linear-gradient(#ffffff24 1px, transparent 1px), linear-gradient(90deg, #ffffff24 1px, transparent 1px); background-size: 48px 48px; border-left: 1px solid var(--ink); }
.preview-label { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 700; }
.preview-scene { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 24px; }
.preview-phone { width: 210px; flex: 0 0 210px; border-radius: var(--r-md, 14px); padding: 6px; box-shadow: var(--shadow); }
.preview-phone img { border-radius: var(--r-sm, 8px); }
.preview-scene .preview-caption { max-width: 12em; font-size: 17px; line-height: 1.5; }
.preview-scene .preview-caption b { display: block; margin-top: 10px; }
.period-manual-label { margin-top: 18px; font-size: 14px; font-weight: 600; }
.period-manual { margin-top: 8px; }
.period-manual label { display: grid; gap: 5px; min-width: 0; font-size: 13px; font-weight: 600; }
.period-manual input { width: 100%; min-height: 44px; padding: 9px; border: 1px solid var(--ink-2); background: #fff; color: var(--ink); font: 500 16px Onest, sans-serif; }
.period-manual .practice-years { margin: 0; }
.practice-section { padding: 36px var(--pad) 48px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.practice-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; max-width: 1280px; margin: 0 auto 26px; }
.practice-heading .eyebrow { margin-bottom: 10px; }
.practice-heading h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
.practice-heading h2 em { color: var(--coral-dark); }
.practice-heading > p { max-width: 25em; font-size: 16px; color: var(--ink-2); }
.first-question { display: block; padding: 24px; max-width: 1280px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); }
.question-label { margin-bottom: 12px; color: var(--ink); }
.practice-frame { height: 540px; border-radius: 0; background: var(--paper); }
.practice-status { margin: 12px 0; color: var(--ink-2); }
.practice-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 18px; }
.practice-links .btn { width: auto; min-height: 48px; padding: 10px 18px; font-size: 16px; }
.practice-links .browser-alternative { margin: 0; }
@media(max-width:1100px) and (min-width:721px) {
  body[data-aud="student"] .hero { grid-template-columns: 1.15fr 1fr; }
  body[data-aud="student"] .hero-text { padding: 28px; }
  .hero-preview { padding-inline: 20px; }
  .preview-scene { flex-direction: column; gap: 16px; }
  .preview-phone { width: 160px; flex-basis: auto; }
  .preview-scene .preview-caption { max-width: none; font-size: 15px; text-align: center; }
  .preview-scene .preview-caption b { display: inline; }
  .practice-heading { gap: 24px; }
}
@media(max-width:720px) {
  body[data-aud="student"] .hero { grid-template-columns: 1fr; }
  body[data-aud="student"] .hero-text { padding: 24px 20px 30px; border-right: 0; }
  body[data-aud="student"] .hero h1 { font-size: clamp(39px, 9vw, 52px); }
  body[data-aud="student"] .hero .lead { font-size: 17px; margin-top: 18px; }
  body[data-aud="student"] .hero .cta { margin-top: 22px; }
  body[data-aud="student"] .hero .btn { min-height: 48px; padding: 10px 16px; font-size: 15px; }
  .hero-preview { display: none; }
  .period-manual .practice-years { grid-template-columns: 1fr 1fr auto; gap: 8px; }
  .period-manual .practice-years .btn { grid-column: auto; font-size: 14px; padding-inline: 10px; }
  .practice-section { padding: 30px 16px; }
  .practice-heading { display: block; margin-bottom: 20px; }
  .practice-heading > p { margin-top: 14px; }
  .practice-heading .eyebrow { font-size: 12px; }
  .first-question { padding: 16px 12px; }
  .question-label { flex-wrap: wrap; font-size: 13px; }
  .practice-frame { height: 820px; }
  .practice-links { align-items: stretch; flex-direction: column; gap: 14px; }
  .practice-links .btn { width: 100%; }
  .practice-links .browser-alternative { text-align: center; }
}
@media(max-width:380px) {
  .period-manual .practice-years { grid-template-columns: 1fr 1fr; }
  .period-manual .practice-years .btn { grid-column: 1 / -1; width: 100%; }
}


.demo-button.is-primary { background: #245f48; border-color: #245f48; color: #fff; }
.demo-x { min-width: 44px; padding: 0; font-size: 24px; line-height: 1; flex-shrink: 0; }
.demo-link { min-height: 44px; padding: 8px 0; border: 0; background: none; color: #245f48; font: 600 14px Onest, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.demo-head { align-items: center; padding: 16px 22px; }
.demo-toolbar { justify-content: space-between; flex-wrap: nowrap; margin-bottom: 14px; }
.demo-group { grid-auto-flow: column; align-items: center; gap: 10px; }
.demo-group select { width: auto; }
.demo-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.demo-student { grid-template-columns: 1fr auto; gap: 6px 12px; }
.demo-student strong { font-size: 16px; }
.demo-student .demo-stat { grid-column: 1 / -1; color: #58635a; }
.demo-tag { white-space: nowrap; font-size: 12px; font-weight: 600; }
.demo-hint { font-size: 13px; color: #58635a; }
.demo-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid #d9e0d7; text-align: center; }
.teacher-demo .demo-foot .btn { margin: 0; width: 100%; max-width: 420px; }
.demo-foot p { margin: 8px 0 0; font-size: 14px; color: #58635a; }
.demo-notice:empty { display: none; }
.demo-notice { padding-top: 4px; font-weight: 600; }
.demo-offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.teacher-demo .demo-offer-actions .btn { margin: 0; }
