:root {
    --teal:#08A6B5;
    --blue:#1769AA;
    --pink:#E92F72;
    --green:#65B82E;
    --yellow:#FFC928;
    --navy:#123B5D;
    --ink:#25384a;
    --muted:#617486;
    --pale:#eff9fa;
    --white:#fff;
    --line:#dce8ee;
    --shadow:0 20px 55px rgba(18,59,93,.12)
}
/* v1 */
* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    color:var(--ink);
    font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    line-height:1.65;
    background:#fff
}

a {
    color:inherit
}

.wrap {
    width:min(1120px,calc(100% - 40px));
    margin-inline:auto
}

header {
    position:sticky;
    top:0;
    z-index:10;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(220,232,238,.8)
}

.nav {
    min-height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px
}

.brand {
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:var(--navy);
    font-weight:850;
    letter-spacing:-.03em;
    font-size:1.18rem
}

.brand img {
    width:56px;
    height:52px;
    object-fit:contain
}

.brand small {
    display:block;
    font-size:.68rem;
    letter-spacing:.02em;
    color:var(--muted);
    font-weight:650;
    margin-top:-4px
}

.navlinks {
    display:flex;
    align-items:center;
    gap:28px
}

.navlinks a {
    text-decoration:none;
    font-weight:700;
    font-size:.93rem
}

.navlinks a:hover {
    color:var(--teal)
}

.hero {
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,#f1fbfc 0%,#fff 58%,#f2f7ff 100%);
    padding:76px 0 80px
}

.hero:before,.hero:after {
    content:"";
    position:absolute;
    border-radius:50%;
    pointer-events:none
}

.hero:before {
    width:310px;
    height:310px;
    background:rgba(8,166,181,.08);
    top:-155px;
    right:5%
}

.hero:after {
    width:180px;
    height:180px;
    background:rgba(233,47,114,.07);
    bottom:-95px;
    left:-60px
}

.hero-grid {
    position:relative;
    display:grid;
    grid-template-columns:1.08fr .92fr;
    align-items:center;
    gap:48px
}

.eyebrow {
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:#087985;
    font-weight:800;
    font-size:.82rem;
    letter-spacing:.12em;
    text-transform:uppercase
}

.eyebrow:before {
    content:"";
    width:24px;
    height:3px;
    border-radius:3px;
    background:var(--pink)
}

h1 {
    font-size:clamp(2.6rem,5vw,4.6rem);
    line-height:1.04;
    letter-spacing:-.055em;
    color:var(--navy);
    margin:18px 0 22px;
    max-width:650px
}

h1 span {
    color:var(--blue)
}

.lead {
    font-size:clamp(1.08rem,1.8vw,1.25rem);
    line-height:1.75;
    color:#536a7b;
    max-width:590px;
    margin:0 0 30px
}

.actions {
    display:flex;
    gap:13px;
    flex-wrap:wrap
}

.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    text-decoration:none;
    font-weight:800;
    border-radius:999px;
    padding:13px 22px;
    transition:transform .2s,box-shadow .2s
}

.btn:hover {
    transform:translateY(-2px);
    box-shadow:0 10px 22px rgba(18,59,93,.13)
}

.btn-primary {
    background:var(--green);
    color:#14391b
}

.btn-secondary {
    background:#fff;
    border:1px solid #c9dce6;
    color:var(--navy)
}

.hero-art {
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative
}

.logo-card {
    width:min(100%,430px);
    aspect-ratio:1/1;
    display:grid;
    place-items:center;
    background:white;
    border:1px solid rgba(220,232,238,.85);
    border-radius:38px;
    box-shadow:var(--shadow);
    padding:28px;
    transform:rotate(1deg)
}

.logo-card img {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain
}

.float-tag {
    position:absolute;
    right:-10px;
    bottom:0px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:13px 17px;
    box-shadow:0 12px 30px rgba(18,59,93,.5);
    font-weight:800;
    color:var(--navy);
    font-size:.9rem
}

.float-tag span {
    color:var(--pink)
}

.values {
    padding:52px 0
}

.section-heading {
    text-align:center;
    max-width:690px;
    margin:0 auto 34px
}

.section-heading h2 {
    font-size:clamp(1.8rem,3vw,2.5rem);
    letter-spacing:-.04em;
    color:var(--navy);
    line-height:1.2;
    margin:0 0 12px
}

.section-heading p {
    color:var(--muted);
    margin:0
}

.cards {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px
}

.value-card {
    padding:27px 25px;
    border:1px solid var(--line);
    border-radius:22px;
    background:#fff;
    box-shadow:0 8px 25px rgba(18,59,93,.045)
}

.icon {
    width:62px;
    height:62px;
    border-radius:18px;
    display:grid;
    place-items:center;
    font-size:1.75rem;
    margin-bottom:18px
}

.icon.teal {
    background:#e4f8fa
}

.icon.pink {
    background:#fff0f5
}

.icon.yellow {
    background:#fff7d9
}

.value-card h3 {
    color:var(--navy);
    font-size:1.12rem;
    margin:0 0 8px
}

.value-card p {
    color:var(--muted);
    font-size:.96rem;
    margin:0
}

.community {
    padding:48px 0;
    background:var(--navy);
    color:white;
    position:relative;
    overflow:hidden
}

.community:after {
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    border:65px solid rgba(8,166,181,.18);
    border-radius:50%;
    right:-140px;
    top:-170px
}

.community-inner {
    position:relative;
    z-index:1;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px
}

.community h2 {
    font-size:clamp(1.8rem,3vw,2.5rem);
    letter-spacing:-.04em;
    line-height:1.2;
    margin:0 0 12px
}

.community p {
    margin:0;
    color:#d5e5ee;
    max-width:660px
}

.community .btn {
    flex-shrink:0
}

.contact {
    padding:54px 0;
    background:linear-gradient(180deg,#f5fbfc 0%,#fff 100%)
}

.general-enquiry-note {
    margin:0 0 20px;
    padding:14px 16px;
    border-left:4px solid var(--teal);
    border-radius:8px;
    background:#f1fbfc;
    color:var(--navy);
    font-size:.94rem;
}

.general-enquiry-note a {
    color:var(--blue);
    font-weight:700;
    text-decoration:underline;
    text-underline-offset:2px;
}

.contact-grid {
    display:grid;
    grid-template-columns:.85fr 1.15fr;
    gap:56px;
    align-items:start
}

.contact-copy h2 {
    font-size:clamp(2rem,3.3vw,2.8rem);
    letter-spacing:-.045em;
    line-height:1.15;
    color:var(--navy);
    margin:10px 0 17px
}

.contact-copy p {
    color:var(--muted)
}

.contact-note {
    display:flex;
    gap:12px;
    align-items:flex-start;
    margin-top:25px;
    padding:16px;
    border-radius:16px;
    background:#e8f8fa;
    color:#27616b;
    font-size:.92rem
}

.contact-note strong {
    display:block;
    color:var(--navy)
}

form {
    background:#fff;
    padding:28px;
    border:1px solid var(--line);
    border-radius:24px;
    box-shadow:var(--shadow)
}

.form-row {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px
}

.field {
    margin-bottom:17px
}

.field label {
    display:block;
    color:var(--navy);
    font-size:.9rem;
    font-weight:750;
    margin-bottom:7px
}

.field input,.field textarea {
    width:100%;
    border:1px solid #cbdbe4;
    border-radius:11px;
    padding:12px 13px;
    font:inherit;
    color:var(--ink);
    background:#fff;
    outline:none
}

.field input:focus,.field textarea:focus {
    border-color:var(--teal);
    box-shadow:0 0 0 3px rgba(8,166,181,.14)
}

.field textarea {
    min-height:140px;
    resize:vertical
}

.submit {
    border:0;
    cursor:pointer;
    font:inherit;
    font-weight:800;
    width:100%;
    padding:14px 20px;
    border-radius:999px;
    background:var(--green);
    color:#173a1c
}

.submit:hover {
    background:#55a521
}

.status {
    padding:13px 15px;
    border-radius:12px;
    margin:0 0 18px;
    background:#eaf8e4;
    color:#285d1c;
    font-weight:650
}

.honeypot {
    position:absolute;
    left:-10000px;
    width:1px;
    height:1px;
    overflow:hidden
}

footer {
    background:#0d2e49;
    color:#d2e1ea;
    padding:25px 0
}

.footer-inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    font-size:.88rem
}

.footer-brand {
    font-weight:800;
    color:white
}

footer a {
    color:#fff;
    text-decoration:none
}

footer a:hover {
    text-decoration:underline
}

.dot {
    color:var(--yellow);
    padding:0 5px
}

@media(max-width:800px) {
    .hero {
        padding:54px 0 60px
    }

    .hero-grid {
        grid-template-columns:1fr;
        gap:35px
    }

    .hero-copy {
        text-align:center
    }

    .hero-copy .lead {
        margin-inline:auto
    }

    .actions {
        justify-content:center
    }

    .logo-card {
        width:min(82%,360px);
        border-radius:28px
    }

    .float-tag {
        right:4%;
        bottom:-10px
    }

    .cards {
        grid-template-columns:1fr
    }

    .value-card {
        padding:23px
    }

    .community-inner {
        align-items:flex-start;
        flex-direction:column
    }

    .contact-grid {
        grid-template-columns:1fr;
        gap:28px
    }

    .nav {
        min-height:72px
    }

    .brand img {
        width:47px;
        height:46px
    }

    .navlinks {
        gap:15px
    }


}

@media(max-width:480px) {
    .wrap {
        width:min(100% - 30px,1120px)
    }

    .hero {
        padding-top:42px
    }

    .logo-card {
        width:90%;
        padding:20px
    }

    .float-tag {
        font-size:.78rem;
        padding:10px 12px
    }

    .form-row {
        grid-template-columns:1fr;
        gap:0
    }

    form {
        padding:20px
    }

    .values,.contact {
        padding:56px 0
    }

    .footer-inner {
        flex-direction:column;
        text-align:center;
        gap:5px
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto
    }

    *,*:before,*:after {
        transition:none!important
    }

}

/* Timetable page */
.timetable-hero {
    padding:54px 0 10px;
    background:linear-gradient(135deg,#f1fbfc 0%,#fff 60%,#f2f7ff 100%)
}

.timetable-hero h1 {
    margin:14px 0 16px
}

.timetable-hero h1 span {
    color:var(--blue)
}

.timetable-hero .lead {
    max-width:850px;
    margin-bottom:22px
}

.timetable-main {
    padding:10px 0 70px
}

.key-panel {
    padding:22px 24px;
    border:1px solid var(--line);
    border-radius:20px;
    background:#fff;
    margin-bottom:24px
}

.key-panel h2 {
    margin:0 0 13px;
    color:var(--navy);
    font-size:1.15rem
}

.key-items {
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:12px 18px;
    width:100%
}

.key-item {
    display:flex;
    align-items:center;
    min-width:0;
    gap:9px;
    font-size:.92rem;
    font-weight:700
}

.key-swatch {
    width:200px;
    min-width:200px;
    height:38px;
    box-sizing:border-box;
    text-align:center;
    border:1px solid rgba(18,59,93,.2);
    border-radius:4px;
    display:inline-flex;
    align-items:center;
    justify-content:center
}

.key-swatch.blue {
    background:#c9dcf7
}

.key-swatch.green {
    background:#b8d8ad
}

.key-swatch.yellow {
    background:#ffe58a
}

.key-swatch.pink {
    background:#e92f72
}

.selection-bar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:18px 20px;
    border-radius:18px;
    background:#123b5d;
    color:#fff;
    margin-bottom:28px
}

.selection-bar strong {
    font-size:1.1rem
}

.selection-bar p {
    margin:3px 0 0;
    color:#d7e5ee;
    font-size:.9rem
}

.selection-bar .btn {
    white-space:nowrap
}

.clear-selection {
    padding:10px 16px
}

.day-section {
    margin:0 0 34px
}

.day-heading {
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:12px;
    margin:0 0 13px;
    border-bottom:2px solid var(--line);
    padding-bottom:8px
}

.day-heading h2 {
    margin:0;
    color:var(--navy);
    font-size:1.55rem;
    letter-spacing:-.03em
}

.day-heading span {
    font-size:.85rem;
    color:var(--muted)
}

.lesson-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:13px
}

.lesson-card {
    position:relative;
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:17px 42px 17px 15px;
    border:2px solid transparent;
    border-radius:15px;
    color:#1e3445;
    cursor:pointer;
    min-height:130px;
    transition:border-color .15s,transform .15s,box-shadow .15s
}

.lesson-card:hover {
    transform:translateY(-1px);
    box-shadow:0 7px 18px rgba(18,59,93,.08)
}

.lesson-card.blue {
    background:#e2edfc
}

.lesson-card.green {
    background:#e1f0dc
}

.lesson-card.yellow {
    background:#fff3c5
}

.lesson-card.pink {
    background:#fde1ec
}

.lesson-card input {
    width:20px;
    height:20px;
    flex:0 0 20px;
    margin:2px 0 0;
    accent-color:var(--navy);
    cursor:pointer
}

.lesson-content {
    display:block;
    min-width:0
}

.lesson-time {
    display:block;
    font-size:.82rem;
    font-weight:800;
    color:#42596a;
    margin-bottom:5px;
    font-variant-numeric:tabular-nums
}

.lesson-title {
    display:block;
    font-weight:850;
    line-height:1.35;
    color:#123b5d
}

.lesson-level {
    display:block;
    font-size:.8rem;
    font-weight:650;
    margin-top:7px;
    color:#42596a
}

.lesson-note {
    margin:5px 0 0;
    font-size:.82rem;
    color:#42596a;
    line-height:1.45
}

.select-indicator {
    position:absolute;
    right:15px;
    top:13px;
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.8);
    color:var(--navy);
    font-size: .9rem;
    font-weight:800
}

.lesson-card.is-selected {
    border-color:var(--navy);
    box-shadow:0 0 0 2px rgba(18,59,93,.08)
}

.lesson-card.is-selected .select-indicator {
    background:var(--navy);
    color:#fff
}

.enquiry-panel {
    display:grid;
    grid-template-columns:.85fr 1.15fr;
    gap:32px;
    margin-top:42px;
    padding:30px;
    border:1px solid var(--line);
    border-radius:24px;
    background:linear-gradient(135deg,#f1fbfc,#fff);
    align-items:start
}

.enquiry-intro h2 {
    color:var(--navy);
    font-size:clamp(1.6rem,2.5vw,2.2rem);
    line-height:1.2;
    letter-spacing:-.04em;
    margin:10px 0 12px
}

.enquiry-intro p {
    color:var(--muted)
}

.selected-summary {
    padding:13px;
    border-radius:12px;
    background:#fff;
    border:1px solid var(--line);
    font-size:.88rem;
    overflow-wrap:anywhere
}

.enquiry-fields form {
    margin:0
}

.enquiry-fields .submit {
    margin-top:3px
}

.privacy-note {
    font-size:.8rem;
    color:var(--muted);
    margin:12px 2px 0
}

.timetable-date-note {
    font-size:.84rem;
    color:var(--muted);
    margin-top:24px
}

.navlinks a[aria-current="page"] {
    color:var(--teal)
}

@media(max-width:900px) {
    .lesson-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }

    .enquiry-panel {
        grid-template-columns:1fr;
        gap:12px
    }

}

@media(max-width:600px) {
    .timetable-hero {
        padding:40px 0 5px
    }

    .timetable-main {
        padding-top:10px
    }

    .key-panel {
        padding:18px
    }

    .key-items {
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:11px
    }

    .key-item {
        font-size:.82rem;
        align-items:flex-start
    }

    .selection-bar {
        align-items:flex-start;
        flex-direction:column;
        padding:17px
    }

    .lesson-grid {
        grid-template-columns:1fr;
        gap:10px
    }

    .lesson-card {
        min-height:0;
        padding:15px 42px 15px 13px
    }

    .day-heading h2 {
        font-size:1.35rem
    }

    .enquiry-panel {
        padding:20px;
        margin-top:32px
    }

    .timetable-hero .btn {
        width:100%
    }

}

@media(prefers-reduced-motion:reduce) {
    .lesson-card {
        transition:none
    }

}


/* Timetable colour key labels are written inside their colour swatches. */
.key-swatch {
    width:200px;
    min-width:200px;
    min-height:34px;
    padding:5px 9px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-style:normal;
    font-size:.76rem;
    line-height:1.2;
    font-weight:800;
    text-align:center;
    white-space:normal;
    color:var(--navy);
}

.key-swatch.pink {
    color:#fff;
}

.day-section {
    border:1px solid var(--line);
    border-radius:16px;
    overflow:hidden;
    background:#fff;
    margin-bottom:14px;
}

.day-section > .day-heading {
    cursor:pointer;
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:0;
    padding:17px 20px;
    border:0;
    background:#f5fafc;
}

.day-section > .day-heading::-webkit-details-marker {
    display:none;
}

.day-section > .day-heading::before {
    content:"+";
    flex:0 0 30px;
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--teal);
    color:#fff;
    font-size:.9rem;
    font-weight:800;
    order:3;
}

.day-section[open] > .day-heading::before {
    content:"−";
}

.day-section[open] > .day-heading {
    border-bottom:1px solid var(--line);
}

.day-section .day-heading h2 {
    flex:1;
    min-width:0;
}

.day-summary {
    display:block;
    margin-top:4px;
    font-size:.88rem;
    font-weight:650;
    letter-spacing:0;
    color:var(--muted);
}

.day-count {
    flex:0 0 auto;
    text-align:right;
    font-size:.82rem;
    color:var(--muted);
}

.toggle-hint {
    color:var(--blue);
    font-weight:800;
    white-space:nowrap;
}

.day-section .lesson-grid {
    padding:16px;
}

@media(max-width:700px) {
    .day-section > .day-heading {
        gap:9px;
        padding:14px;
    }

    .day-section .day-heading h2 {
        font-size:1.1rem;
        line-height:1.35;
    }

    .day-summary {
        display:block;
        margin-top:4px;
        font-size:.84rem;
    }

    .day-count {
        max-width:90px;
        font-size:.74rem;
    }

    .toggle-hint {
        display:block;
    }

    .day-section .lesson-grid {
        padding:11px;
    }

    .key-items {
        align-items:stretch;
    }

    .key-swatch {
        min-width:0;
        width:100%;
        min-height:38px;
    }

    .key-item {
        flex:1 1 calc(50% - 8px);
    }
}

/* Wider colour-key swatches on desktop, with flexible spacing at narrower widths. */
@media (min-width:601px) and (max-width:1000px) {
    .key-items {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:12px 18px;
    }

    .key-swatch {
        width:100%;
        min-width:0;
    }
}

@media (max-width:600px) {
    .key-swatch {
        width:100%;
        min-width:0;
    }
}


/* Mobile navigation toggle */
.nav {
    position:relative;
}

.nav-toggle {
    display:none;
    width:44px;
    height:44px;
    padding:10px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
    color:var(--navy);
    cursor:pointer;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
}

.nav-toggle span {
    display:block;
    width:21px;
    height:2px;
    border-radius:2px;
    background:currentColor;
}

.choice-field {
    min-width:0;
    margin:0 0 18px;
    padding:16px;
    border:1px solid var(--line);
    border-radius:14px;
}

.choice-field legend {
    padding:0 6px;
    color:var(--navy);
    font-weight:750;
}

.radio-options {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.radio-options label {
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-width:130px;
    padding:11px 15px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
    color:var(--ink);
    cursor:pointer;
}

.radio-options input {
    accent-color:var(--teal);
    width:17px;
    height:17px;
    margin:0;
}

@media (max-width:800px) {
    .nav-toggle {
        display:flex;
        flex-shrink:0;
        margin-left:auto;
    }

    .navlinks,
    .timetable-page .navlinks {
        display:none;
        position:absolute;
        top:calc(100% - 1px);
        left:0;
        right:0;
        z-index:20;
        padding:12px;
        border:1px solid var(--line);
        border-radius:0 0 16px 16px;
        background:#fff;
        box-shadow:0 16px 28px rgba(18,59,93,.12);
        flex-direction:column;
        align-items:stretch;
        gap:0;
    }

    .navlinks.is-open,
    .timetable-page .navlinks.is-open {
        display:flex;
    }

    .navlinks a {
        display:block;
        padding:13px 14px;
        border-radius:8px;
    }

}

/* Keep the enquiry confirmation visible below the sticky navigation. */
#form-status { scroll-margin-top: 110px; }

/* Expandable Maths topic lists */
.maths-topics {
    margin: 22px 0 24px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f7fbfc;
}
.maths-topics h3 {
    margin: 0 0 6px;
    color: var(--navy);
}
.maths-topics-intro {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: .94rem;
}
.maths-topic-level {
    margin-top: 8px;
    border: 1px solid #d6e2e9;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.maths-topic-level summary {
    position: relative;
    padding: 13px 42px 13px 15px;
    color: var(--navy);
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}
.maths-topic-level summary::-webkit-details-marker {
    display: none;
}
.maths-topic-level summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue);
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 500;
}
.maths-topic-level[open] summary {
    border-bottom: 1px solid #e2ebef;
    background: #f0f8fa;
}
.maths-topic-level[open] summary::after {
    content: "−";
}
.maths-topic-level summary:focus-visible {
    outline: 3px solid rgba(8,166,181,.35);
    outline-offset: -3px;
}
.maths-topic-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 5px;
    margin: 0;
    padding: 15px 20px 17px 36px;
    color: var(--ink);
}
.maths-topic-list li {
    padding-left: 2px;
}
.parental-responsibility {
    padding: 25px 0;
    background: #e8f8fa;
    border-top: 1px solid #c9e9ed;
    border-bottom: 1px solid #c9e9ed;
}
.parental-responsibility p {
    max-width: 1050px;
    margin: 0 auto;
    padding: 18px 24px;
    border-left: 6px solid var(--teal);
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 400;
    line-height: 1.45;
    text-align: center;
    box-shadow: 0 8px 24px rgba(18,59,93,.08);
}
.parental-responsibility p strong {
    font-weight: 800;
}
.parental-responsibility--compact p {
    font-size: .94rem;
}
@media (max-width: 600px) {
    .maths-topics {
        padding: 14px;
    }
    .maths-topic-list {
        grid-template-columns: 1fr;
        row-gap: 6px;
        padding: 13px 16px 15px 34px;
    }
    .parental-responsibility {
        padding: 18px 0;
    }
    .parental-responsibility p {
        padding: 15px 16px;
        text-align: left;
    }
}
