:root {
  --navy: #18233a;
  --navy-2: #23314d;
  --blue: #2f64df;
  --blue-dark: #2452bf;
  --blue-light: #edf3ff;
  --teal: #148274;
  --teal-light: #eaf6f3;
  --amber: #d99a2b;
  --paper: #ffffff;
  --canvas: #f7f8fa;
  --canvas-warm: #f5f3ee;
  --line: #dde2ea;
  --line-dark: #cdd4df;
  --text: #1d293d;
  --muted: #677286;
  --soft-text: #8b94a4;
  --shadow-sm: 0 8px 24px rgba(24, 35, 58, .07);
  --shadow-lg: 0 28px 80px rgba(24, 35, 58, .13);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; overflow-x: hidden; scroll-behavior: smooth; background: var(--canvas); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-height: 100dvh; margin: 0; overflow-x: hidden; background: var(--canvas); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
.skip-link { position: fixed; z-index: 1000; top: -5rem; left: 1rem; padding: .7rem 1rem; border-radius: 8px; background: var(--navy); color: white; }
.skip-link:focus { top: 1rem; }

.site-header { height: calc(76px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); position: relative; z-index: 50; border-bottom: 1px solid rgba(221, 226, 234, .8); background: rgba(247, 248, 250, .94); }
.nav-shell { width: min(1240px, calc(100% - 2.5rem)); height: 76px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; justify-self: start; text-decoration: none; }
.brand-mark { width: 40px; height: 38px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 10px; background: var(--blue); color: white; }
.brand-mark svg { width: 28px; height: 24px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark circle { fill: #f5b84b; stroke: none; }
.brand-copy strong, .brand-copy small { display: block; line-height: 1.05; }
.brand-copy strong { color: var(--navy); font-size: .98rem; font-weight: 760; letter-spacing: -.025em; }
.brand-copy small { margin-top: .25rem; color: var(--soft-text); font-size: .61rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: .1rem; }
.site-header nav a { padding: .55rem .72rem; border-radius: 7px; color: #4f5c70; font-size: .78rem; font-weight: 680; text-decoration: none; }
.site-header nav a:hover { background: white; color: var(--navy); }
.nav-actions { display: flex; align-items: center; justify-self: end; gap: .3rem; }
.sign-in-link { padding: .58rem .8rem; color: #4f5c70; font-size: .78rem; font-weight: 720; text-decoration: none; }
.sign-in-link:hover { color: var(--blue); }

.button { min-height: 50px; padding: .82rem 1.15rem; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; border: 1px solid transparent; border-radius: 9px; font-size: .83rem; font-weight: 760; text-decoration: none; transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 9px 22px rgba(47, 100, 223, .2); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 12px 28px rgba(47, 100, 223, .25); }
.button-light { flex: 0 0 auto; background: white; color: var(--navy); box-shadow: 0 10px 30px rgba(6, 12, 26, .18); }
.button-light:hover { color: var(--blue); }
.text-link { min-height: 50px; padding: .75rem .15rem; display: inline-flex; align-items: center; gap: .55rem; color: var(--navy); font-size: .82rem; font-weight: 740; text-decoration: none; }
.text-link:hover { color: var(--blue); }
.mobile-sign-in { display: none; }

.hero { width: min(1240px, calc(100% - 2.5rem)); min-height: 710px; margin: 0 auto; padding: clamp(4.3rem, 7.5vw, 7.5rem) 0 clamp(4.5rem, 8vw, 7rem); display: grid; grid-template-columns: minmax(0, .86fr) minmax(560px, 1.14fr); align-items: center; gap: clamp(3.5rem, 6vw, 6.5rem); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--blue); font-size: .66rem; line-height: 1.3; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow > span { width: 22px; height: 1px; background: currentColor; }
.eyebrow.light { color: #a8c0f5; }
h1, h2 { color: var(--navy); font-weight: 740; letter-spacing: -.052em; }
h1 { max-width: 680px; margin: 1.05rem 0 1.45rem; font-size: clamp(3.4rem, 5.15vw, 5.3rem); line-height: .98; }
h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 590px; margin-bottom: 1.9rem; color: var(--muted); font-size: clamp(1.03rem, 1.35vw, 1.16rem); line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.hero-assurances { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .65rem 1.05rem; color: #647084; font-size: .7rem; font-weight: 650; }
.hero-assurances span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-assurances svg { width: 16px; height: 16px; fill: none; stroke: var(--teal); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }

.product-stage { min-width: 0; position: relative; }
.product-stage::before { content: ""; position: absolute; inset: -13% -9% -15% 17%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(47,100,223,.12), rgba(47,100,223,0) 70%); }
.product-window { overflow: hidden; border: 1px solid #d3d9e3; border-radius: 15px; background: white; box-shadow: var(--shadow-lg); }
.window-bar { min-height: 58px; padding: 0 1rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); background: white; }
.mini-brand { display: flex; align-items: center; gap: .5rem; }
.mini-brand strong { color: var(--navy); font-size: .68rem; letter-spacing: -.02em; }
.mini-logo { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: var(--blue); color: white; font-size: .55rem; font-weight: 850; }
.window-nav { display: flex; align-items: center; gap: 1.2rem; align-self: stretch; }
.window-nav span { display: flex; align-items: center; position: relative; color: var(--soft-text); font-size: .58rem; font-weight: 720; }
.window-nav span.active { color: var(--navy); }
.window-nav span.active::after { content: ""; height: 2px; position: absolute; right: 0; bottom: -20px; left: 0; border-radius: 2px; background: var(--blue); }
.profile-dot { width: 28px; height: 28px; display: grid; place-items: center; justify-self: end; border-radius: 50%; background: var(--navy); color: white; font-size: .58rem; font-weight: 800; }
.window-content { min-height: 430px; padding: clamp(1.3rem, 3vw, 2rem); background: #f8f9fb; }
.window-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.window-heading small, .window-heading strong, .window-heading p { display: block; }
.window-heading small { color: var(--blue); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.window-heading strong { margin-top: .28rem; color: var(--navy); font-size: 1.25rem; letter-spacing: -.035em; }
.window-heading p { margin: .16rem 0 0; color: var(--muted); font-size: .68rem; }
.streak { padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--muted); font-size: .58rem; font-weight: 700; }
.streak b { color: var(--teal); }
.session-card { min-height: 105px; margin-top: 1.35rem; padding: 1rem; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 1rem; border: 1px solid #e2e6ed; border-radius: 12px; background: white; box-shadow: var(--shadow-sm); }
.subject-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 10px; background: var(--blue); color: white; font-size: 1rem; font-weight: 780; }
.session-copy small, .session-copy strong, .session-copy span { display: block; }
.session-copy small { color: var(--soft-text); font-size: .55rem; font-weight: 780; letter-spacing: .07em; text-transform: uppercase; }
.session-copy strong { margin: .25rem 0 .16rem; color: var(--navy); font-size: .88rem; }
.session-copy span { color: var(--muted); font-size: .61rem; }
.session-action { min-width: 70px; padding: .58rem .7rem; border-radius: 7px; background: var(--navy); color: white; text-align: center; font-size: .6rem; font-weight: 750; }
.session-action b { margin-left: .3rem; }
.window-grid { margin-top: .85rem; display: grid; grid-template-columns: 1.35fr .8fr; gap: .85rem; }
.rhythm-panel, .next-panel { min-height: 140px; padding: 1rem; border: 1px solid var(--line); border-radius: 11px; background: white; }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.panel-heading small, .panel-heading strong { display: block; }
.panel-heading small, .next-panel > small { color: var(--soft-text); font-size: .54rem; font-weight: 780; letter-spacing: .07em; text-transform: uppercase; }
.panel-heading strong { margin-top: .2rem; color: var(--navy); font-size: .72rem; }
.panel-heading > span { color: var(--teal); font-size: .56rem; font-weight: 800; }
.day-row { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: .45rem; }
.day-row div { display: grid; justify-items: center; gap: .32rem; }
.day-row i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: #edf0f4; color: white; font-size: .55rem; font-style: normal; font-weight: 850; }
.day-row i.partial { background: #b8ddd6; }
.day-row i.complete { background: var(--teal); }
.day-row small { color: var(--soft-text); font-size: .5rem; }
.next-panel > strong, .next-panel > span { display: block; }
.next-panel > strong { margin: .65rem 0 .18rem; color: var(--navy); font-size: .72rem; }
.next-panel > span { color: var(--muted); font-size: .56rem; }
.subject-line { margin-top: 1.45rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.subject-line i { height: 3px; border-radius: 2px; background: #d8e1f5; }
.subject-line i:nth-child(1) { background: var(--blue); }
.parent-glance { position: absolute; right: -18px; bottom: -30px; padding: .8rem .95rem; display: flex; align-items: center; gap: .65rem; border: 1px solid #d7e0df; border-radius: 10px; background: white; box-shadow: 0 16px 38px rgba(24,35,58,.14); }
.glance-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--teal-light); color: var(--teal); }
.glance-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.parent-glance small, .parent-glance strong { display: block; }
.parent-glance small { color: var(--soft-text); font-size: .52rem; font-weight: 760; text-transform: uppercase; letter-spacing: .07em; }
.parent-glance strong { margin-top: .12rem; color: var(--navy); font-size: .67rem; }

.proof-bar { min-height: 116px; padding: 0 max(1.25rem, env(safe-area-inset-right)) 0 max(1.25rem, env(safe-area-inset-left)); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.proof-bar > div { padding: 1.45rem clamp(1rem, 3vw, 2.2rem); display: grid; grid-template-columns: auto 1fr; align-content: center; gap: .1rem .75rem; border-right: 1px solid var(--line); }
.proof-bar > div:last-child { border-right: 0; }
.proof-bar > div > span { grid-row: 1 / 3; color: var(--blue); font-size: .6rem; font-weight: 820; letter-spacing: .08em; }
.proof-bar strong { color: var(--navy); font-size: .75rem; }
.proof-bar small { color: var(--muted); font-size: .64rem; }

.section { width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(6rem, 10vw, 9rem) 0; }
.section-heading h2, .rhythm-copy h2, .trust-copy h2, .final-cta h2 { margin: .75rem 0 0; font-size: clamp(2.5rem, 4.5vw, 4.3rem); line-height: 1.02; }
.centred-heading { max-width: 770px; margin: 0 auto clamp(4rem, 7vw, 6rem); text-align: center; }
.centred-heading .eyebrow { justify-content: center; }
.centred-heading p { max-width: 640px; margin: 1.2rem auto 0; color: var(--muted); font-size: .94rem; }

.role-showcase { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.role-showcase + .role-showcase { margin-top: clamp(7rem, 12vw, 11rem); }
.role-showcase-parent { grid-template-columns: 1.22fr .78fr; }
.role-copy h3 { margin: 1.4rem 0 .8rem; color: var(--navy); font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.06; letter-spacing: -.045em; }
.role-copy > p { color: var(--muted); font-size: .88rem; line-height: 1.7; }
.role-label { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid #d6ddec; border-radius: 7px; background: white; }
.role-label span { padding: .45rem .58rem; background: var(--blue); color: white; font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.role-label small { padding: .45rem .65rem; color: var(--muted); font-size: .6rem; font-weight: 680; }
.role-label.parent span { background: var(--teal); }
.tick-list { margin: 1.5rem 0 0; padding: 0; display: grid; gap: .72rem; list-style: none; }
.tick-list li { position: relative; padding-left: 1.6rem; color: #4f5c70; font-size: .76rem; font-weight: 650; }
.tick-list li::before { content: ""; width: 15px; height: 15px; position: absolute; top: .12rem; left: 0; border-radius: 50%; background: var(--teal-light); }
.tick-list li::after { content: ""; width: 5px; height: 3px; position: absolute; top: .43rem; left: 5px; border-bottom: 1.5px solid var(--teal); border-left: 1.5px solid var(--teal); transform: rotate(-45deg); }

.student-ui, .parent-ui { overflow: hidden; border: 1px solid #d7dde7; border-radius: 15px; background: white; box-shadow: var(--shadow-lg); }
.ui-toolbar { height: 52px; padding: 0 1.2rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--navy); font-size: .66rem; font-weight: 750; }
.ui-toolbar small { color: var(--muted); font-size: .58rem; }
.student-ui { min-height: 470px; padding-bottom: 1.2rem; text-align: center; }
.completion-mark { width: 64px; height: 64px; margin: 3rem auto 1rem; display: grid; place-items: center; border-radius: 50%; background: var(--teal-light); color: var(--teal); }
.completion-mark svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.completion-kicker { color: var(--teal); font-size: .62rem; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.completion-title { display: block; margin-top: .42rem; color: var(--navy); font-size: 1.5rem; letter-spacing: -.035em; }
.student-ui > p { margin: .35rem auto 1.8rem; color: var(--muted); font-size: .72rem; }
.completion-summary { width: calc(100% - 3rem); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 10px; background: #fafbfc; }
.completion-summary span { padding: .9rem .6rem; color: var(--muted); font-size: .58rem; border-right: 1px solid var(--line); }
.completion-summary span:last-child { border-right: 0; }
.completion-summary b { display: block; margin-bottom: .18rem; color: var(--navy); font-size: 1rem; }
.ui-actions { margin: 1.25rem 1.5rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .62rem; }
.ui-actions b { padding: .58rem .72rem; border-radius: 7px; background: var(--navy); color: white; }

.parent-ui { min-height: 480px; padding: 1.4rem; background: #f8f9fb; }
.parent-ui-top { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.parent-ui-top small, .parent-ui-top strong { display: block; }
.parent-ui-top small { color: var(--blue); font-size: .55rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.parent-ui-top strong { margin-top: .2rem; color: var(--navy); font-size: 1.15rem; letter-spacing: -.03em; }
.parent-ui-top > span { padding: .45rem .58rem; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--muted); font-size: .55rem; font-weight: 700; }
.metric-row { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.metric-row > div { padding: .85rem; border: 1px solid var(--line); border-radius: 9px; background: white; }
.metric-row small, .metric-row strong, .metric-row span { display: block; }
.metric-row small { color: var(--soft-text); font-size: .5rem; font-weight: 760; text-transform: uppercase; letter-spacing: .07em; }
.metric-row strong { margin: .38rem 0 .1rem; color: var(--navy); font-size: 1.08rem; }
.metric-row span { color: var(--muted); font-size: .51rem; }
.progress-chart { margin-top: .65rem; padding: .9rem; border: 1px solid var(--line); border-radius: 9px; background: white; }
.chart-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.chart-top strong { color: var(--navy); font-size: .63rem; }
.chart-top span { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); font-size: .5rem; }
.chart-top i { width: 7px; height: 7px; border-radius: 2px; background: var(--teal); }
.chart-bars { height: 135px; margin-top: .7rem; padding-top: .5rem; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: .65rem; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, #eef1f5 0, #eef1f5 1px, transparent 1px, transparent 42px); }
.chart-bars > div { height: 100%; display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: end; gap: .28rem; }
.chart-bars i { width: 16px; display: block; border-radius: 4px 4px 0 0; background: var(--teal); }
.chart-bars i.soft { background: #abd7cf; }
.chart-bars small { padding-bottom: .35rem; color: var(--soft-text); font-size: .46rem; }
.review-row { margin-top: .65rem; padding: .75rem .85rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid #d9e4f7; border-radius: 8px; background: #f1f5fd; color: var(--muted); font-size: .57rem; }
.review-row span { display: flex; align-items: center; gap: .45rem; }
.review-row span b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--blue); color: white; }
.review-row > strong { color: var(--blue); }

.process-section { padding: 0 1.25rem; }
.process-shell { width: min(1240px, 100%); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem); border-radius: 18px; background: var(--navy); color: white; }
.process-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.process-heading h2 { max-width: 720px; margin: .7rem 0 0; color: white; font-size: clamp(2.5rem, 4.5vw, 4.3rem); line-height: 1.02; }
.process-heading > p { max-width: 380px; margin: 0; color: rgba(255,255,255,.61); font-size: .82rem; }
.process-list { margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.process-list li { padding: 0 clamp(1.2rem, 3vw, 2rem); display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 1rem; border-right: 1px solid rgba(255,255,255,.13); }
.process-list li:first-child { padding-left: 0; }
.process-list li:last-child { padding-right: 0; border-right: 0; }
.process-list li > span { color: #8eabe8; font-size: .62rem; font-weight: 820; letter-spacing: .08em; }
.process-list h3 { margin: 0 0 .55rem; color: white; font-size: .95rem; }
.process-list p { margin: 0; color: rgba(255,255,255,.58); font-size: .72rem; }

.rhythm-section { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.rhythm-copy > p { max-width: 440px; margin: 1.2rem 0 1.6rem; color: var(--muted); font-size: .86rem; }
.rhythm-legend { display: flex; flex-wrap: wrap; gap: .8rem; color: var(--muted); font-size: .58rem; font-weight: 680; }
.rhythm-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.rhythm-legend i { width: 10px; height: 10px; display: block; border-radius: 3px; background: #e8ebef; }
.rhythm-legend i.partial { background: #abd7cf; }
.rhythm-legend i.complete { background: var(--teal); }
.calendar-card { min-width: 0; padding: 1.5rem; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow-sm); }
.calendar-top { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.calendar-top small, .calendar-top strong { display: block; }
.calendar-top small { color: var(--soft-text); font-size: .55rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.calendar-top strong { margin-top: .15rem; color: var(--navy); font-size: 1rem; }
.calendar-top > span { color: var(--teal); font-size: .56rem; font-weight: 750; }
.calendar-months { margin: 1.8rem 0 .55rem; display: grid; grid-template-columns: repeat(7, 1fr); color: var(--soft-text); font-size: .49rem; font-weight: 700; }
.calendar-grid { display: grid; grid-template-rows: repeat(7, 12px); grid-auto-flow: column; grid-auto-columns: 12px; justify-content: space-between; gap: 4px; }
.calendar-grid i { display: block; border-radius: 3px; background: #e8ebef; }
.calendar-grid i.partial { background: #abd7cf; }
.calendar-grid i.complete { background: var(--teal); }

.trust-section { width: min(1240px, calc(100% - 2.5rem)); padding-top: 0; }
.trust-panel { padding: clamp(2.4rem, 6vw, 5rem); display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); border-radius: 18px; background: #1d2a43; color: white; }
.trust-copy h2 { max-width: 750px; color: white; }
.trust-copy p { max-width: 750px; margin: 1.2rem 0 0; color: rgba(255,255,255,.62); font-size: .83rem; line-height: 1.7; }
.subject-list { display: grid; gap: .55rem; }
.subject-list span { min-height: 48px; padding: .5rem .65rem; display: flex; align-items: center; gap: .7rem; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; color: rgba(255,255,255,.8); font-size: .7rem; font-weight: 650; }
.subject-list i { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 6px; background: rgba(255,255,255,.1); color: #b6c9f0; font-size: .5rem; font-style: normal; font-weight: 820; }

.questions-section { padding-top: 2rem; }
.question-heading { display: grid; grid-template-columns: 1fr .55fr; align-items: end; gap: 4rem; }
.question-heading > p { margin: 0; color: var(--muted); font-size: .84rem; }
.question-list { margin-top: 3.2rem; border-top: 1px solid var(--line-dark); }
.question-list details { border-bottom: 1px solid var(--line-dark); }
.question-list summary { min-height: 76px; padding: 1.2rem 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: var(--navy); font-size: .9rem; font-weight: 720; cursor: pointer; list-style: none; }
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary span { color: var(--blue); font-size: 1.15rem; font-weight: 400; transition: transform .15s ease; }
.question-list details[open] summary span { transform: rotate(45deg); }
.question-list details p { max-width: 720px; margin: -.4rem 0 1.5rem; color: var(--muted); font-size: .8rem; }

.final-cta { width: min(1240px, calc(100% - 2.5rem)); margin: 0 auto 1.25rem; padding: clamp(2.5rem, 6vw, 5rem); display: flex; align-items: center; justify-content: space-between; gap: 4rem; border-radius: 18px; background: var(--blue); color: white; }
.final-cta h2 { max-width: 730px; color: white; }
.final-cta p { margin: .8rem 0 0; color: rgba(255,255,255,.72); font-size: .84rem; }

.site-footer { width: min(1240px, calc(100% - 2.5rem)); min-height: 250px; margin: 0 auto; padding: 3.5rem 0 max(2rem, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1.2fr .8fr .6fr; align-content: center; gap: 2rem; color: var(--muted); }
.footer-main > p { max-width: 360px; margin: 1rem 0 0; font-size: .7rem; }
.footer-links { display: grid; justify-content: start; gap: .55rem; }
.footer-links a, .footer-sign-in { font-size: .7rem; font-weight: 680; text-decoration: none; }
.footer-links a:hover, .footer-sign-in:hover { color: var(--blue); }
.footer-sign-in { align-self: start; justify-self: end; color: var(--blue); }
.footer-bottom { padding-top: 1.3rem; display: flex; justify-content: space-between; gap: 2rem; grid-column: 1 / -1; border-top: 1px solid var(--line); color: var(--soft-text); font-size: .61rem; }

@media (max-width: 1040px) {
  .nav-shell { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .product-stage { width: min(720px, 100%); justify-self: center; }
  .role-showcase, .role-showcase-parent { grid-template-columns: 1fr; }
  .role-copy { max-width: 660px; }
  .role-showcase-parent .parent-ui { order: 2; }
  .role-showcase-parent .role-copy { order: 1; }
  .student-ui, .parent-ui { width: min(720px, 100%); }
  .process-heading { display: block; }
  .process-heading > p { margin-top: 1rem; }
  .rhythm-section { grid-template-columns: 1fr; }
  .rhythm-copy { max-width: 660px; }
  .calendar-card { width: min(760px, 100%); }
}

@media (max-width: 720px) {
  .site-header { height: calc(68px + env(safe-area-inset-top)); }
  .nav-shell { width: min(100% - 1.5rem, 1240px); height: 68px; gap: .75rem; }
  .brand-copy small { display: none; }
  .brand-mark { width: 37px; height: 35px; flex-basis: 37px; }
  .brand-mark svg { width: 26px; }
  .nav-actions { gap: .12rem; }
  .sign-in-link { min-height: 38px; padding: .55rem .72rem; display: inline-flex; align-items: center; border: 1px solid var(--line-dark); border-radius: 7px; background: white; color: var(--navy); font-size: .7rem; }
  .hero { width: min(100% - 1.5rem, 1240px); padding: 4.2rem 0 4.5rem; gap: 3.5rem; }
  h1 { font-size: clamp(3.05rem, 14.8vw, 4.7rem); line-height: .96; }
  .hero-lead { font-size: .98rem; }
  .hero-actions { align-items: stretch; gap: .65rem; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .hero-actions .mobile-sign-in { display: inline-flex; min-height: 42px; padding-block: .35rem; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
  .hero-actions .product-link { display: none; }
  .hero-assurances { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
  .product-window { border-radius: 12px; }
  .window-bar { min-height: 48px; grid-template-columns: 1fr auto; }
  .window-nav { display: none; }
  .window-content { min-height: 400px; padding: 1rem; }
  .window-heading strong { font-size: 1rem; }
  .streak { display: none; }
  .session-card { grid-template-columns: 45px 1fr; gap: .75rem; }
  .subject-icon { width: 45px; height: 45px; }
  .session-action { grid-column: 1 / -1; width: 100%; }
  .window-grid { grid-template-columns: 1fr; }
  .next-panel { display: none; }
  .parent-glance { right: -5px; bottom: -27px; }
  .proof-bar { grid-template-columns: 1fr 1fr; padding: 0; }
  .proof-bar > div { border-bottom: 1px solid var(--line); }
  .proof-bar > div:nth-child(2) { border-right: 0; }
  .proof-bar > div:nth-child(3), .proof-bar > div:nth-child(4) { border-bottom: 0; }
  .proof-bar > div { padding: 1.2rem .9rem; }
  .proof-bar small { display: none; }
  .section { width: min(100% - 2rem, 1120px); padding: 5.5rem 0; }
  .section-heading h2, .rhythm-copy h2, .trust-copy h2, .final-cta h2 { font-size: clamp(2.35rem, 12vw, 3.7rem); }
  .centred-heading { text-align: left; }
  .centred-heading .eyebrow { justify-content: flex-start; }
  .centred-heading p { margin-left: 0; }
  .role-showcase { gap: 2.5rem; }
  .role-showcase + .role-showcase { margin-top: 7rem; }
  .student-ui { min-height: 445px; }
  .completion-summary { width: calc(100% - 1.5rem); }
  .completion-summary span { padding: .8rem .35rem; }
  .ui-actions { margin-inline: .75rem; }
  .parent-ui { min-height: 0; padding: .85rem; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .metric-row > div:last-child { grid-column: 1 / -1; }
  .chart-bars { gap: .35rem; }
  .review-row { align-items: start; }
  .review-row > strong { white-space: nowrap; }
  .process-section { padding: 0 .5rem; }
  .process-shell { padding: 3.3rem 1.3rem; border-radius: 14px; }
  .process-list { grid-template-columns: 1fr; gap: 0; }
  .process-list li, .process-list li:first-child, .process-list li:last-child { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .process-list li:last-child { border-bottom: 0; }
  .rhythm-section { gap: 2.5rem; }
  .calendar-card { padding: 1rem; }
  .calendar-grid { grid-template-rows: repeat(7, 9px); grid-auto-columns: 9px; gap: 3px; }
  .trust-section { width: calc(100% - 1rem); }
  .trust-panel { padding: 2.3rem 1.3rem; grid-template-columns: 1fr; gap: 2.5rem; border-radius: 14px; }
  .question-heading { grid-template-columns: 1fr; gap: 1rem; }
  .question-list { margin-top: 2rem; }
  .question-list summary { min-height: 68px; font-size: .82rem; }
  .final-cta { width: calc(100% - 1rem); padding: 2.5rem 1.35rem; display: block; border-radius: 14px; }
  .final-cta .button { width: 100%; margin-top: 1.5rem; }
  .site-footer { width: min(100% - 2rem, 1240px); grid-template-columns: 1fr 1fr; }
  .footer-main { grid-column: 1 / -1; }
  .footer-sign-in { justify-self: end; }
  .footer-bottom { display: grid; gap: .35rem; }
}

@media (max-width: 390px) {
  .brand-copy strong { font-size: .88rem; }
  .sign-in-link { padding-inline: .62rem; font-size: .68rem; }
  .hero-assurances { grid-template-columns: 1fr; }
  .proof-bar strong { font-size: .68rem; }
  .completion-summary span { font-size: .5rem; }
  .chart-bars i { width: 12px; }
  .calendar-grid { grid-template-rows: repeat(7, 8px); grid-auto-columns: 8px; gap: 2.5px; }
}

@media (max-width: 340px) {
  .brand-copy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
