/* Academic study interface: navy ink, cobalt diagrams and restrained gold. */
.homepage { --ink:#162c66; --muted:#5d6c84; --paper:#fafbfe; --gold:#d6b560; --line:#dce3ef; }
.homepage .hero { grid-template-columns:.69fr 1.31fr; gap:45px; padding-top:65px; padding-bottom:55px; align-items:center; }
.homepage .hero h1 { font-size:clamp(39px,3.6vw,55px); letter-spacing:-2.1px; line-height:1.13; max-width:440px; margin-bottom:24px; }
.homepage .hero-copy>p { font-size:14px; line-height:1.85; max-width:385px; }
.homepage .release-label { background:none; border:0; border-radius:0; padding:0; font-size:12px; font-weight:650; color:#455b83; margin-bottom:23px; }
.homepage .hero-actions { flex-wrap:wrap; gap:17px; }
.homepage .hero-actions .btn { font-size:12px; padding:14px 19px; }
.homepage .hero-actions .quiet-link { font-size:11px; text-decoration:underline; text-underline-offset:5px; }
.academic-hero-details { display:grid; gap:18px; border-top:1px solid #dce3ef; margin-top:30px; padding-top:25px; }
.academic-hero-details strong { display:block; font-size:12px; margin-bottom:5px; }
.academic-hero-details span { font-size:11px; color:#5d6c84; }
.homepage .hero-copy>.academic-access-note { font-size:10px; margin:23px 0 0; color:#64718a; }
.homepage .study-showcase { width:100%; max-width:none; padding:0; scroll-margin-top:110px; }
.academic-preview-label { display:flex; justify-content:space-between; gap:10px; font-size:10px; color:#64718a; margin-bottom:12px; }
.academic-preview-label span:first-child { color:#162c66; font-weight:700; }
.study-window { background:white; border:1px solid #c6d1e3; border-radius:9px; overflow:hidden; box-shadow:0 18px 40px #162c6610; }
.academic-course-switch { display:grid; grid-template-columns:1fr 1.3fr; background:#edf1f8; border-bottom:1px solid #dce3ef; padding:6px; gap:5px; }
.academic-course-switch button { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:5px 10px; min-height:54px; padding:9px; border:1px solid transparent; border-radius:5px; background:transparent; font-size:12px; font-weight:700; color:#64718a; }
.academic-course-switch button span { font-size:9px; font-weight:500; }
.academic-course-switch button[aria-pressed=true] { background:#162c66; color:white; border-color:#162c66; }
.academic-course-switch button[aria-pressed=true] span { color:#c7d3ec; }
.study-preview-tabs { display:flex; gap:23px; padding:0 24px; margin:0; border-bottom:1px solid #e2e7f0; }
.study-preview-tabs button { min-height:47px; background:none; border:0; border-bottom:2px solid transparent; padding:12px 0 10px; font-size:10px; font-weight:600; color:#64718a; }
.study-preview-tabs button[aria-selected=true] { color:#162c66; border-bottom-color:#b78f38; }
.study-course[hidden],.study-preview-panel[hidden] { display:none; }
.academic-topic { padding:25px 24px 0; }
.academic-topic>p { font-size:9px; font-weight:600; color:#64718a; margin:0 0 9px; }
.academic-topic h2 { font-size:21px; line-height:1.35; letter-spacing:-.65px; margin:0; max-width:500px; }
.study-preview-panel { padding:22px 24px 24px; min-height:375px; }
.academic-question-grid { display:grid; grid-template-columns:1.4fr 1fr; gap:22px; align-items:start; }
.homepage .study-showcase .question-sheet { position:static; width:100%; max-width:none; transform:none; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; min-width:0; }
.question-intro { font-size:11px; margin:0 0 12px; line-height:1.7; }
.academic-equation { font-family:Cambria,'Times New Roman',serif; font-size:22px; color:#162c66; line-height:1.6; margin:0 0 18px; white-space:normal; }
.academic-parts { padding-left:20px; margin:0 0 21px; font-size:11px; line-height:1.85; }
.academic-parts li { padding-left:5px; margin-bottom:10px; }
.academic-parts li::marker { color:#64718a; }
.academic-answer-form fieldset { margin:0; padding:0; border:0; min-width:0; }
.academic-answer-form legend { font-size:10px; font-weight:650; margin-bottom:11px; line-height:1.6; }
.coordinate-fields { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.coordinate-fields label { display:flex; align-items:center; gap:6px; font-family:Cambria,'Times New Roman',serif; font-size:16px; }
.coordinate-fields input { width:61px; min-height:43px; border:1px solid #aebed7; border-radius:4px; font:13px Manrope,sans-serif; padding:9px; background:white; color:#162c66; }
.coordinate-fields input[aria-invalid=true] { border-color:#aa543c; }
.coordinate-fields .academic-check { background:#162c66; color:white; font-size:10px; min-height:43px; padding:10px 12px; border-radius:4px; border:1px solid #162c66; }
.academic-feedback { font-size:9px; color:#64718a; line-height:1.8; min-height:33px; margin:12px 0; }
.academic-feedback.is-correct { color:#24603a; }
.academic-feedback.is-wrong { color:#9a432c; }
.academic-question-tools { border-top:1px solid #e2e7f0; padding-top:4px; display:flex; gap:6px 17px; flex-wrap:wrap; align-items:start; }
.academic-question-tools details { flex:1; min-width:100px; }
.academic-question-tools summary,.academic-question-tools button { font-size:9px; color:#455b83; min-height:44px; padding:12px 0; cursor:pointer; line-height:1.7; }
.academic-question-tools button { background:none; border:0; text-decoration:underline; text-underline-offset:3px; }
.academic-question-tools details p { font-size:10px; line-height:1.8; margin:0 0 12px; }
.academic-figure { margin:0; padding:11px 0 0; min-width:0; }
.academic-graph { display:block; width:100%; height:auto; background:#fafbfe; border:1px solid #e4eaf3; border-radius:5px; stroke:none; }
.graph-grid path { fill:none; stroke:#e0e6ef; stroke-width:1; }
.graph-axes path { fill:none; stroke:#7a8aab; stroke-width:1; }
.graph-labels { font:10px Manrope,sans-serif; fill:#6c7c97; }
.graph-curve,.graph-line { fill:none; stroke:#254edb; stroke-width:2.5; stroke-linecap:round; }
.graph-line { stroke:#a47b26; stroke-width:2; }
.academic-figure figcaption { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; font-size:8px; color:#455b83; margin-top:10px; }
.graph-key-curve::before,.graph-key-line::before { content:''; display:inline-block; width:12px; height:2px; background:#254edb; vertical-align:middle; margin-right:4px; }
.graph-key-line::before { background:#a47b26; }
.academic-figure>p { font-size:8px; text-align:center; line-height:1.7; margin:9px 0; }
.academic-concept { max-width:560px; }
.academic-concept h3 { font-size:21px; letter-spacing:-.6px; margin:0 0 15px; }
.academic-concept p { font-size:12px; line-height:1.85; }
.academic-concept .academic-equation { font-size:27px; background:#f2f5fb; border-left:2px solid #254edb; padding:15px 20px; margin:22px 0; }
.study-next { display:inline-flex; align-items:center; min-height:44px; border:1px solid #bbc8dd; border-radius:4px; background:white; font-size:10px; font-weight:650; padding:10px 14px; color:#162c66; }
.academic-solution { margin:0 0 22px; padding-left:21px; }
.academic-solution li { padding-left:9px; margin-bottom:17px; font-size:11px; }
.academic-solution li::marker { color:#a47b26; font-weight:700; }
.academic-solution strong,.academic-solution span { display:block; line-height:1.8; }
.academic-solution span { color:#5d6c84; margin-top:4px; }
.academic-takeaway { padding:12px 15px; background:#f2f5fb; font-size:10px; line-height:1.7; margin-bottom:18px; }
.study-window-footer { display:flex; justify-content:space-between; gap:10px; border-top:1px solid #e2e7f0; background:#f7f9fc; color:#64718a; padding:12px 24px; font-size:8px; }
.study-preview-footnote { color:#64718a; font-size:9px; text-align:left; line-height:1.7; margin:11px 0 0; }
.study-showcase :is(button,input,a,summary):focus-visible { outline:3px solid #254edb; outline-offset:3px; }
.homepage .qualification-inner>span { max-width:190px; }
.homepage .mini-book { display:none; }
.home-steps { gap:35px; }
.home-step { border-top:2px solid #c4d0e4; padding-top:23px; }
.home-step-heading>span { font-size:18px; color:#64718a; }
.home-step h3 { font-size:19px; }
.home-step p,.home-step>a { margin-left:0; }
.home-step p { font-size:12px; max-width:none; margin-top:15px; }
.method-example { padding:20px 0; font-family:Cambria,'Times New Roman',serif; font-size:24px; min-height:85px; color:#254edb; }
.home-format-panel.real-preview { background:white; border:1px solid #cdd8ea; border-radius:8px; overflow:hidden; width:100%; }
.real-preview-heading { display:flex; align-items:center; gap:8px; padding:16px 20px; font-size:11px; border-bottom:1px solid #e1e7f1; background:#f8faff; }
.real-preview-heading .tiny-dot { width:6px; height:6px; }
.home-format-panel.real-preview>img { width:100%; height:auto; aspect-ratio:1.3; object-fit:contain; padding:16px; background:#fafbfe; }
.home-format-panel.real-preview figcaption { padding:15px 20px; border-top:1px solid #e1e7f1; }
.real-device-scene { display:grid; grid-template-columns:1fr 1.3fr .7fr; align-items:end; gap:24px; max-width:1000px; margin:45px auto 35px; }
.real-device-scene figure { margin:0; min-width:0; }
.real-device-scene .real-device-screen { overflow:hidden; background:#e6ecf5; border:7px solid #091a3d; border-radius:13px; box-shadow:0 20px 35px #06132f55; }
.home-devices .real-device-scene img { display:block; width:100%; max-width:100%; height:auto; margin:0; }
.real-device-scene .real-device-laptop { grid-column:1 / 3; grid-row:1; width:88%; justify-self:center; padding-bottom:25px; }
.real-device-scene .real-device-laptop .real-device-screen { border-radius:14px 14px 3px 3px; border-width:8px; }
.real-device-base { height:13px; background:#b4c1d8; margin:0 -18px; border-radius:0 0 50% 50% / 0 0 100% 100%; }
.real-device-scene .real-device-tablet { grid-column:2; grid-row:1; width:75%; justify-self:end; z-index:1; padding-top:110px; }
.real-device-tablet .real-device-screen { transform:rotate(3deg); }
.real-device-scene .real-device-phone { grid-column:3; grid-row:1; width:90%; max-width:170px; padding-bottom:8px; }
.real-device-phone .real-device-screen { border-radius:21px; border-width:6px; }
.real-device-scene figcaption { font-size:10px; text-align:center; margin-top:17px; color:#c5cfe2; }
.practice-page .home-formats,.practice-page .home-devices,.practice-page #practice-expansion { display:none; }
.question-intro,.academic-parts { font-size:12px; }
.academic-feedback { font-size:10px; }
.academic-figure figcaption,.academic-figure>p { font-size:9px; }
@media(max-width:1100px) {
  .homepage .hero { grid-template-columns:1fr; gap:34px; }
  .homepage .hero-copy { display:grid; grid-template-columns:1.1fr 1fr; column-gap:55px; max-width:none; }
  .homepage .hero-copy .release-label { grid-column:1 / 3; }
  .homepage .hero h1 { grid-column:1; grid-row:2 / 5; font-size:47px; }
  .homepage .hero-copy>p { grid-column:2; margin-bottom:20px; }
  .homepage .hero-actions { grid-column:2; }
  .academic-hero-details { display:none; }
  .homepage .hero-copy>.academic-access-note { grid-column:2; margin-top:17px; }
  .homepage .study-showcase { max-width:none; }
  .academic-question-grid { grid-template-columns:1.25fr 1fr; gap:36px; }
  .study-preview-panel { min-height:360px; }
}
@media(max-width:650px) {
  .homepage .hero { padding-top:32px; padding-bottom:35px; }
  .homepage .hero-copy { display:block; }
  .homepage .hero h1 { font-size:clamp(36px,8.5vw,49px); letter-spacing:-1.6px; max-width:500px; }
  .homepage .hero-copy>p { font-size:13px; max-width:none; }
  .homepage .release-label { font-size:10px; margin-bottom:19px; }
  .academic-preview-label { font-size:9px; }
  .academic-preview-label span:last-child { display:none; }
  .academic-course-switch { grid-template-columns:1fr 1.2fr; }
  .academic-course-switch button { display:block; font-size:10px; text-align:left; padding:10px; }
  .academic-course-switch button span { display:block; font-size:8px; margin-top:4px; }
  .academic-topic { padding:22px 18px 0; }
  .academic-topic h2 { font-size:21px; }
  .study-preview-tabs { padding:0 18px; gap:22px; }
  .study-preview-tabs button { font-size:10px; }
  .study-preview-panel { padding:20px 18px; min-height:0; }
  .academic-question-grid { grid-template-columns:1fr; gap:20px; }
  .academic-equation { font-size:23px; }
  .question-intro,.academic-parts { font-size:12px; }
  .academic-answer-form legend { font-size:11px; }
  .coordinate-fields input { min-height:44px; width:62px; }
  .coordinate-fields .academic-check { min-height:44px; font-size:10px; }
  .academic-feedback { font-size:10px; }
  .academic-question-tools summary,.academic-question-tools button { font-size:10px; }
  .academic-figure { max-width:340px; width:100%; margin:0 auto; padding-top:0; }
  .academic-figure>p,.academic-figure figcaption { font-size:9px; }
  .study-window-footer { padding:12px 18px; flex-wrap:wrap; }
  .home-steps { gap:28px; }
  .method-example { padding:15px 0; min-height:0; }
  .real-device-scene { grid-template-columns:1fr .65fr; gap:8px; margin:35px 0 25px; }
  .real-device-scene .real-device-laptop { grid-column:1 / 3; width:94%; padding-bottom:125px; }
  .real-device-scene .real-device-tablet { grid-column:1; padding-top:150px; width:70%; justify-self:center; }
  .real-device-scene .real-device-phone { grid-column:2; width:75%; padding-bottom:0; justify-self:start; }
  .real-device-scene .real-device-screen,.real-device-scene .real-device-laptop .real-device-screen { border-width:5px; }
  .real-device-scene figcaption { font-size:9px; margin-top:10px; }
  .real-device-laptop figcaption { display:none; }
  .home-format-panel.real-preview>img { padding:8px; }
  .home-format-panel.real-preview figcaption { padding:12px; }
}
