/* Student introduction: preserve the existing light brand and native CSS.
   DESIGN_VARIANCE: 4; MOTION_INTENSITY: 1; VISUAL_DENSITY: 5.
   Explanations intentionally have room for the requested detailed examples.
   Shapes: 12px for grouped examples, 9px for controls, plain story rows. */
body.student-landing {
    --muted: #312331;
    --student-tint: #f6ecef;
    --student-border: #e5dce0;
    --student-surface: #fffefd;
    font-size: 16px;
    line-height: 2;
}

body.student-landing .container {
    width: min(1240px, calc(100% - 64px));
}

body.student-landing :is(main, section, article, aside, dl, li) {
    min-width: 0;
}

body.student-landing :is(p, li, dt, dd, h1, h2, h3, h4) {
    overflow-wrap: anywhere;
}

body.student-landing :is(h2, h3, h4) {
    line-height: 1.8;
}

body.student-landing :is(a, button, summary):focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

body.student-landing [id] {
    scroll-margin-top: 100px;
}

body.student-landing .header-inner {
    height: 80px;
    gap: 20px;
}

body.student-landing .main-nav {
    gap: 20px;
    font-size: 14px;
}

body.student-landing .main-nav a,
body.student-landing .header-login {
    min-height: 44px;
}

body.student-landing .main-nav a {
    display: inline-flex;
    align-items: center;
}

body.student-landing .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 44px;
    padding-block: 52px 64px;
    min-height: 0;
}

body.student-landing .hero h1 {
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.8;
    letter-spacing: -.7px;
}

body.student-landing .hero-description {
    max-width: 550px;
    font-size: 17px;
    line-height: 2;
}

body.student-landing .hero :is(.eyebrow, .hero-reassurance),
body.student-landing .hero-links {
    font-size: 14px;
}

body.student-landing .hero-actions .button {
    font-size: 15px;
    white-space: nowrap;
}

body.student-landing .button {
    transition: none;
}

body.student-landing .button:hover {
    transform: none;
}

body.student-landing .button:active {
    filter: brightness(.94);
}

body.student-landing .workspace-preview {
    transform: none;
}

body.student-landing .preview-top {
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 16px;
    font-size: 14px;
}

body.student-landing .preview-label,
body.student-landing .preview-heading small,
body.student-landing .sample-caption {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

body.student-landing .preview-body {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
}

body.student-landing .preview-main {
    padding: 22px 22px 18px;
}

body.student-landing .preview-heading h2 {
    font-size: 17px;
    line-height: 1.9;
}

body.student-landing .preview-switch {
    flex-wrap: wrap;
    width: 100%;
    gap: 4px;
    margin-block: 18px;
}

body.student-landing .preview-switch button {
    flex: 1 1 160px;
    min-height: 46px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
}

body.student-landing .preview-switch button.active {
    color: var(--accent);
    box-shadow: inset 0 -2px 0 var(--accent);
}

body.student-landing .sample-metrics {
    gap: 10px;
}

body.student-landing .sample-metrics > div {
    padding: 12px;
}

body.student-landing .sample-metrics span {
    font-size: 13px;
    line-height: 1.8;
    white-space: normal;
}

body.student-landing .sample-metrics small {
    font-size: 12px;
    line-height: 1.8;
    white-space: normal;
}

body.student-landing .sample-list,
body.student-landing .sample-list b,
body.student-landing .sample-list .sample-list-head,
body.student-landing .sample-list-head strong {
    font-size: 14px;
    line-height: 1.9;
}

body.student-landing .sample-list > div {
    gap: 10px;
    padding-block: 12px;
    align-items: flex-start;
}

body.student-landing .sample-list > div > span:first-child {
    align-items: flex-start;
    min-width: 0;
}

body.student-landing .sample-avatar {
    margin-top: 3px;
    width: 25px;
    height: 25px;
    font-size: 12px;
}

body.student-landing .status {
    font-size: 12px;
    line-height: 1.8;
    white-space: normal;
    flex-shrink: 0;
    max-width: 45%;
}

body.student-landing .sample-caption {
    margin-block-start: 16px;
}

body.student-landing .floating-note strong {
    font-size: 14px;
}

body.student-landing .floating-note small {
    font-size: 12px;
}

body.student-landing .scope-strip > .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
}

body.student-landing .scope-strip span,
body.student-landing .scope-strip span:first-child {
    font-size: 14px;
    line-height: 1.9;
    white-space: normal;
}

body.student-landing .section {
    padding-block: 64px;
}

body.student-landing .section-heading {
    display: block;
    margin-block-end: 32px;
}

body.student-landing :is(.section-heading, .student-overview, .student-scenario, .student-secondary) h2 {
    font-size: clamp(25px, 2.2vw, 32px);
    letter-spacing: -.4px;
}

body.student-landing .section-heading > p,
body.student-landing .student-overview > p,
body.student-landing .student-scenario > p {
    max-width: 80ch;
    margin-block-start: 14px;
    font-size: 16px;
    line-height: 2;
}

body.student-landing .contents-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin-block-start: 28px;
}

body.student-landing .contents-nav :is(ol, ul) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    list-style: none;
    padding: 0;
    margin: 0;
}

body.student-landing .contents-nav > a,
body.student-landing .contents-nav li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 8px;
    color: var(--accent);
    font-size: 15px;
    text-decoration: underline;
    text-decoration-color: var(--student-border);
    text-underline-offset: 6px;
}

body.student-landing .contents-nav a:hover {
    text-decoration-color: var(--accent);
}

body.student-landing .feature-story {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    gap: 42px;
    padding-block: 42px;
    border-block-start: 1px solid var(--student-border);
}

body.student-landing .story-copy h3 {
    font-size: clamp(22px, 1.9vw, 27px);
    margin-block-end: 16px;
    letter-spacing: -.3px;
}

body.student-landing .story-copy p {
    font-size: 16px;
    line-height: 2;
    max-width: 74ch;
    margin-block: 12px;
}

body.student-landing .story-copy :is(ul, ol) {
    margin-block: 14px;
    padding-inline-start: 23px;
    color: var(--muted);
    font-size: 16px;
    line-height: 2;
}

body.student-landing .story-copy li {
    padding-block: 4px;
    padding-inline-start: 4px;
}

body.student-landing .story-copy li::marker {
    color: var(--accent);
}

body.student-landing .story-number {
    display: block;
    margin-block-end: 8px;
    color: var(--muted);
    font-size: 14px;
}

body.student-landing .story-example {
    padding: 25px 28px;
    border: 1px solid var(--student-border);
    border-radius: 12px;
    background: var(--student-surface);
}

body.student-landing .example-label {
    display: block;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    margin-block-end: 8px;
}

body.student-landing .story-example h4 {
    margin-block: 0 12px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
}

body.student-landing .story-example :is(p, li, dt, dd) {
    font-size: 15px;
    line-height: 2;
}

body.student-landing .story-example p + p {
    margin-block-start: 12px;
}

body.student-landing .story-example :is(ol, ul) {
    margin-block: 14px;
    padding-inline-start: 23px;
    color: var(--muted);
}

body.student-landing .story-example li {
    padding-block: 5px;
}

body.student-landing .story-example li::marker {
    color: var(--accent);
    font-weight: 700;
}

body.student-landing .story-example dl {
    display: grid;
    grid-template-columns: minmax(92px, .65fr) minmax(0, 1fr);
    gap: 8px 18px;
    margin-block: 16px;
}

body.student-landing .story-example dt {
    color: var(--muted);
}

body.student-landing .story-example dd {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
}

body.student-landing .story-example .example-note {
    border-block-start: 1px solid var(--line);
    padding-block-start: 12px;
    margin-block-start: 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.95;
}

body.student-landing .student-principle,
body.student-landing .student-access-note {
    border-inline-start: 3px solid var(--accent);
    padding: 18px 22px;
    margin-block: 24px;
    background: var(--student-tint);
    color: var(--ink);
}

body.student-landing .student-principle p,
body.student-landing .student-access-note p {
    color: var(--muted);
    font-size: 16px;
    line-height: 2;
}

body.student-landing .student-principle strong,
body.student-landing .student-access-note strong {
    color: var(--ink);
}

body.student-landing .student-assessments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
    margin-block: 24px;
}

body.student-landing .student-assessments > div {
    padding-inline-start: 16px;
    border-inline-start: 2px solid var(--student-border);
}

body.student-landing .student-assessments dt {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-block-end: 6px;
}

body.student-landing .student-assessments dd {
    margin: 0;
    font-size: 15px;
    line-height: 2;
    color: var(--muted);
}

body.student-landing .student-scenario {
    padding-block: 56px;
    border-block-start: 1px solid var(--student-border);
}

body.student-landing .scenario-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    list-style: none;
    padding: 0;
    margin-block: 32px 0;
}

body.student-landing .scenario-steps > li {
    padding-inline-start: 18px;
    border-inline-start: 2px solid var(--student-border);
}

body.student-landing .scenario-steps h3,
body.student-landing .scenario-steps strong {
    display: block;
    font-size: 18px;
    line-height: 1.8;
    color: var(--ink);
    margin-block-end: 12px;
}

body.student-landing .scenario-steps p {
    font-size: 15px;
    line-height: 2;
}

body.student-landing .student-tracks .tracks-grid {
    border-block: 0;
    padding-block: 0;
    gap: 28px;
}

body.student-landing .student-tracks .tracks-grid article,
body.student-landing .student-tracks .tracks-grid article:first-child,
body.student-landing .student-tracks .tracks-grid article:last-child {
    padding: 0;
    border: 0;
    border-inline-start: 2px solid var(--student-border);
    padding-inline-start: 20px;
}

body.student-landing .student-tracks .tracks-grid h3 {
    margin-block: 0 12px;
    font-size: 21px;
}

body.student-landing .student-tracks .tracks-grid p,
body.student-landing .data-note {
    font-size: 15px;
    line-height: 2;
}

body.student-landing .faq-section {
    padding-block: 64px;
}

body.student-landing .faq-intro > p:not(.eyebrow),
body.student-landing .faq-list details p {
    font-size: 16px;
    line-height: 2;
}

body.student-landing .faq-list details {
    padding-block: 18px;
}

body.student-landing .faq-list summary {
    min-height: 44px;
    font-size: 17px;
    line-height: 1.9;
}

body.student-landing .faq-list details p {
    padding-block: 14px 0;
}

body.student-landing .text-link {
    min-height: 44px;
    font-size: 15px;
    line-height: 1.9;
}

body.student-landing .start-section {
    padding: 40px;
    background: var(--student-tint);
    border: 1px solid var(--student-border);
    color: var(--ink);
}

body.student-landing .start-section h2 {
    font-size: 29px;
    line-height: 1.9;
}

body.student-landing .start-copy > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 2;
    color: var(--muted);
}

body.student-landing .start-copy .start-note {
    font-size: 14px !important;
    line-height: 2;
    color: var(--muted) !important;
}

body.student-landing .start-section .light {
    color: var(--student-surface);
    background: var(--accent);
    font-size: 15px;
}

body.student-landing .start-section .light:hover {
    background: #892240;
}

body.student-landing .start-art > span {
    color: var(--accent);
}

body.student-landing .start-art b {
    color: var(--muted);
    font-size: 14px;
}

body.student-landing .student-secondary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 36px;
}

body.student-landing .student-secondary p {
    max-width: 78ch;
    font-size: 15px;
    line-height: 2;
    margin-block-start: 12px;
}

body.student-landing .student-secondary .text-link {
    flex-shrink: 0;
}

body.student-landing .footer-main > p,
body.student-landing .footer-main nav {
    font-size: 14px;
    line-height: 2;
}

body.student-landing .footer-main {
    flex-wrap: wrap;
    gap: 24px 36px;
}

body.student-landing .footer-main nav {
    flex-wrap: wrap;
    gap: 10px 22px;
}

body.student-landing .footer-main nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

body.student-landing .footer-bottom {
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 1150px) {
    body.student-landing .main-nav {
        gap: 14px;
        font-size: 13px;
    }

    body.student-landing .header-login {
        font-size: 13px;
        gap: 12px;
        padding-inline: 12px;
    }

    body.student-landing .hero {
        gap: 30px;
    }

    body.student-landing .feature-story {
        gap: 30px;
    }
}

@media (max-width: 980px) {
    body.student-landing .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    body.student-landing .hero-visual {
        width: 640px;
        max-width: 100%;
    }

    body.student-landing .main-nav {
        top: 79px;
    }

    body.student-landing .feature-story {
        grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
        gap: 24px;
    }

    body.student-landing .story-example {
        padding: 22px;
    }

    body.student-landing .scenario-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

@media (max-width: 767px) {
    body.student-landing .container {
        width: calc(100% - 36px);
    }

    body.student-landing .header-inner {
        height: 76px;
        gap: 10px;
    }

    body.student-landing .main-nav {
        top: 75px;
    }

    body.student-landing .main-nav a {
        font-size: 15px;
    }

    body.student-landing .header-login {
        font-size: 12px;
        padding-inline: 10px;
    }

    body.student-landing [id] {
        scroll-margin-top: 92px;
    }

    body.student-landing .hero {
        padding-block: 32px 42px;
    }

    body.student-landing .hero-copy {
        text-align: start;
    }

    body.student-landing .hero h1 {
        font-size: clamp(29px, 6.8vw, 36px);
        line-height: 1.85;
        letter-spacing: -.4px;
    }

    body.student-landing .hero-description {
        padding-inline: 0;
        font-size: 16px;
    }

    body.student-landing .hero :is(.eyebrow, .hero-actions, .hero-reassurance),
    body.student-landing .hero-links {
        justify-content: flex-start;
    }

    body.student-landing .hero-actions .button {
        flex: 1 1 220px;
    }

    body.student-landing .section,
    body.student-landing .faq-section,
    body.student-landing .student-scenario {
        padding-block: 44px;
    }

    body.student-landing .feature-story {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding-block: 30px;
    }

    body.student-landing .story-copy h3 {
        font-size: 23px;
    }

    body.student-landing .story-example {
        padding: 20px;
    }

    body.student-landing .contents-nav,
    body.student-landing .contents-nav :is(ol, ul) {
        grid-template-columns: minmax(0, 1fr);
    }

    body.student-landing .student-assessments,
    body.student-landing .student-tracks .tracks-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.student-landing .student-tracks .tracks-grid h3 {
        display: block;
        margin-inline: 0;
    }

    body.student-landing .student-principle,
    body.student-landing .student-access-note {
        padding: 16px 18px;
    }

    body.student-landing .student-secondary {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-block: 28px;
    }

    body.student-landing .start-section {
        padding: 26px 24px;
    }

    body.student-landing .start-section h2 {
        font-size: 25px;
    }

    body.student-landing .faq-list summary {
        font-size: 16px;
    }

    body.student-landing .faq-list details p {
        padding-inline: 0;
    }

    body.student-landing .footer-main > p {
        max-width: none;
        margin-inline: 0;
    }
}

@media (max-width: 480px) {
    body.student-landing .preview-main {
        padding: 18px 16px;
    }

    body.student-landing .sample-metrics {
        grid-template-columns: minmax(0, 1fr);
    }

    body.student-landing .sample-metrics > div {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0 12px;
    }

    body.student-landing .sample-metrics small {
        grid-column: 1;
    }

    body.student-landing .sample-metrics strong {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    body.student-landing .sample-list > div {
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    body.student-landing .status {
        max-width: 100%;
    }

    body.student-landing .scenario-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    body.student-landing .story-example dl {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    body.student-landing .story-example dd {
        margin-block-end: 12px;
    }

    body.student-landing .floating-note {
        position: static;
        margin-block-start: 14px;
        transform: none;
        padding: 12px 16px;
    }
}

@media (max-width: 359px) {
    body.student-landing .container {
        width: calc(100% - 28px);
    }

    body.student-landing .header-login {
        font-size: 11px;
        padding-inline: 8px;
    }

    body.student-landing .story-example {
        padding: 18px;
    }
}

@media print {
    body.student-landing {
        font-size: 12px;
        line-height: 1.9;
    }

    body.student-landing .container {
        width: 100%;
    }

    body.student-landing .contents-nav,
    body.student-landing .hero-visual {
        display: none;
    }

    body.student-landing .feature-story {
        gap: 18px;
        padding-block: 24px;
        break-inside: avoid;
    }

    body.student-landing .student-scenario,
    body.student-landing .faq-section {
        padding-block: 24px;
    }
}

/* Public audience benefits and the fixed medicine sample. */
body.student-landing .audience-section { padding-block: 38px; }
body.student-landing .audience-section h2 { font-size: 28px; margin-block-end: 24px; }
body.student-landing .audience-rows { display: grid; gap: 24px; }
body.student-landing .audience-rows article { display: grid; grid-template-columns: 110px minmax(0,1fr) 190px; gap: 6px 24px; align-items: start; padding-inline-start: 20px; border-inline-start: 3px solid var(--student-border); }
body.student-landing .audience-rows h3 { font-size: 21px; grid-row: 1 / 3; }
body.student-landing .role-benefit { color: var(--accent); font-size: 18px; }
body.student-landing .audience-rows p { grid-column: 2; font-size: 16px; line-height: 2; }
body.student-landing .audience-rows a { grid-column: 3; grid-row: 1 / 3; }
body.student-landing .product-highlights { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 48px; padding-block: 36px; }
body.student-landing .product-highlights a { display: block; padding: 12px 20px; border-inline-start: 3px solid var(--accent); }
body.student-landing .product-highlights strong { display: block; color: var(--ink); font-size: 20px; }
body.student-landing .product-highlights span { display: block; color: var(--muted); font-size: 15px; line-height: 2; margin-block-start: 6px; }
body.student-landing .major-topics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 28px; }
body.student-landing .major-sample .button { margin-block: 20px 8px; font-size: 15px; }
body.student-landing .quota-emphasis { padding: 20px 24px; background: var(--student-tint); border-inline-start: 3px solid var(--accent); margin-block: 20px; }
body.student-landing .quota-emphasis h4 { font-size: 20px; line-height: 1.9; color: var(--accent); }
body.medicine-page .medicine-main { padding-block: 42px; }
body.medicine-page .medicine-intro { max-width: 80ch; margin-block-end: 36px; }
body.medicine-page h1 { font-size: clamp(30px,4vw,44px); line-height: 1.8; margin-block: 12px; }
body.medicine-page .medicine-lead { font-size: 20px; line-height: 2; color: var(--ink); }
body.medicine-page .medicine-intro > p { margin-block: 12px; }
body.medicine-page .medicine-layout { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 42px; align-items: start; }
body.medicine-page .medicine-contents { position: sticky; top: 104px; max-height: calc(100dvh - 125px); overflow-y: auto; background: var(--student-tint); padding: 22px; border-radius: 10px; }
body.medicine-page .medicine-contents h2 { font-size: 20px; }
body.medicine-page .medicine-contents ol { padding-inline-start: 22px; margin-block-start: 12px; }
body.medicine-page .medicine-contents a { display: block; padding-block: 7px; color: var(--accent); font-size: 14px; line-height: 1.9; }
body.medicine-page .medicine-topic { border-block-start: 1px solid var(--student-border); padding-block: 30px; }
body.medicine-page .medicine-topic h2 { font-size: 26px; line-height: 1.8; margin-block-end: 12px; }
body.medicine-page .medicine-topic h3 { font-size: 20px; line-height: 1.9; margin-block: 22px 8px; }
body.medicine-page .medicine-topic p { font-size: 16px; line-height: 2.05; margin-block: 10px; }
body.medicine-page .medicine-topic .medicine-topic-note { color: var(--ink); }
body.medicine-page .medicine-topic .medicine-references { font-size: 13px; }
body.medicine-page .medicine-references a, body.medicine-page .medicine-source-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
body.medicine-page .medicine-source-list { padding-inline-start: 24px; }
body.medicine-page .medicine-source-list li { margin-block: 18px; }
body.medicine-page .medicine-source-list li p { font-size: 14px; }
body.medicine-page .medicine-next { background: var(--student-tint); padding: 28px; margin-block: 26px; border-radius: 10px; }
body.medicine-page .medicine-next h2 { font-size: 26px; }
body.medicine-page .medicine-next > p { margin-block: 12px; }
body.medicine-page .medicine-next .hero-actions { margin-block: 20px; }
@media (max-width: 980px) {
    body.student-landing .audience-rows article { grid-template-columns: 90px minmax(0,1fr); }
    body.student-landing .audience-rows a { grid-column: 2; grid-row: auto; }
    body.medicine-page .medicine-layout { grid-template-columns: 220px minmax(0,1fr); gap: 24px; }
}
@media (max-width: 767px) {
    body.student-landing .audience-rows article { display: block; }
    body.student-landing .role-benefit { display: block; margin-block: 8px; }
    body.student-landing .product-highlights, body.student-landing .major-topics { grid-template-columns: minmax(0,1fr); }
    body.student-landing .audience-rows a { display: inline-flex; margin-block-start: 8px; }
    body.medicine-page .medicine-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
    body.medicine-page .medicine-contents { position: static; max-height: none; }
    body.medicine-page .header-inner { height: auto; min-height: 76px; flex-wrap: wrap; padding-block: 10px; }
    body.medicine-page .header-inner > a.text-link { font-size: 13px; }
    body.medicine-page .medicine-topic h2 { font-size: 24px; }
    body.medicine-page .medicine-next { padding: 22px; }
}
@media print {
    body.medicine-page .medicine-layout { display: block; }
    body.medicine-page .medicine-contents, body.medicine-page .medicine-next { display: none; }
}
