:root {
    color-scheme: light dark;
    --page: #faf9f6;
    --surface: #ffffff;
    --ink: #292725;
    --muted: #68635e;
    --line: #d8d3cd;
    --accent: #920c21;
    --accent-soft: #f3e8e8;
    --footer: #efede8;
    --info-bg: #eaf3fc;
    --info-ink: #143f66;
    --info-line: #86afd2;
    --focus: #075fb6;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--page); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 500; }
section, footer, main { scroll-margin-top: 2rem; }
.wrap { width: min(1120px, calc(100% - 6rem)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 10; padding: .75rem 1rem; color: var(--ink); background: var(--surface); }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.brand { display: block; width: 250px; flex-shrink: 0; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.site-header nav a { padding-block: .65rem; font-size: .9rem; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 5rem; align-items: center; padding-block: 2rem 2rem; }
.eyebrow { color: var(--accent); font-size: .72rem; line-height: 1.6; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.intro-copy > .eyebrow { display: flex; align-items: center; gap: .75rem; }
.small-line { width: 1.8rem; height: 1px; background: currentColor; }
h1 { margin-top: 1.35rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 3.6vw, 3.25rem); letter-spacing: -.035em; line-height: 1.15; }
.lead { margin-top: 1.6rem; color: var(--muted); font-size: 1.05rem; }
.text-link { display: inline-flex; gap: 1.7rem; align-items: center; margin-top: 1.6rem; padding-block: .5rem; color: var(--accent); font-size: .9rem; font-weight: 600; }
.text-link span { font-size: 1.3rem; }
.contact { position: relative; padding: 2.2rem 2.4rem; background: var(--surface); border: 1px solid var(--line); }
.contact::before, .contact::after { content: ""; position: absolute; width: 24px; height: 24px; border-color: var(--accent); border-style: solid; }
.contact::before { left: -1px; top: -1px; border-width: 2px 0 0 2px; }
.contact::after { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }
.contact h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.9rem; margin-block: .7rem 1.2rem; }
.contact-name { color: var(--muted); font-size: .9rem; }
address { font-style: normal; }
address > * { display: block; }
.phone { width: fit-content; margin-block: .15rem .35rem; font-size: 1.55rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.email { width: fit-content; font-size: .95rem; overflow-wrap: anywhere; }
.address-label { margin-top: 1.25rem; color: var(--muted); font-size: .75rem; }
address > span:last-child { margin-top: .25rem; font-size: .95rem; }
.notice { display: flex; gap: 1.2rem; padding: 1.5rem 1.75rem; border: 1px solid var(--info-line); border-left: 3px solid var(--info-line); background: var(--info-bg); color: var(--info-ink); }
.info-icon { flex: 0 0 1.5rem; height: 1.5rem; border: 1.5px solid currentColor; border-radius: 50%; text-align: center; line-height: 1.3rem; font-family: Georgia, serif; font-weight: bold; }
.notice-content { min-width: 0; }
.notice h2 { font-family: inherit; font-size: .8rem; line-height: 1.5; font-weight: 650; letter-spacing: .03em; }
.notice-text { margin-top: .5rem; white-space: pre-line; overflow-wrap: anywhere; font-size: 1.08rem; line-height: 1.6; }
.notice-date { margin-top: .85rem; font-size: .72rem; }
.school { padding-block: 2rem 3rem; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2 { margin-top: .6rem; font-family: Georgia, "Times New Roman", serif; font-size: 2.8rem; letter-spacing: -.03em; }
.section-heading > p { color: var(--muted); font-size: .9rem; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.price-panel { padding: 1.7rem 2rem; background: var(--surface); border: 1px solid var(--line); }
.price-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; margin-bottom: 1.3rem; }
.price-heading h3, .bundle h3 { font-size: 1.3rem; }
.price { font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; white-space: nowrap; line-height: 1.2; font-variant-numeric: lining-nums; }
.price span { font-family: "Segoe UI", Arial, sans-serif; font-size: .68rem; letter-spacing: .05em; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .95rem; }
th { color: var(--muted); font-size: .74rem; font-weight: 500; padding-bottom: .7rem; }
th:first-child, td:first-child { width: 27%; padding-right: 1rem; }
td { padding-block: .65rem; border-top: 1px solid var(--line); }
.class-and-bundle { display: flex; flex-direction: column; gap: 1.5rem; }
.class-and-bundle > .price-panel { flex: 1; }
.bundle { flex: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.6rem 2rem; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent); }
.bundle > div > p { font-size: .8rem; margin-top: .5rem; }
.tax-note { color: var(--muted); font-size: .75rem; margin-top: 1rem; }
.credentials { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 2rem 3.5rem; }
.credentials > p { color: var(--muted); font-size: 1.05rem; }
.credentials strong { color: var(--ink); font-weight: 500; }
.credential-logos { display: flex; flex-wrap: wrap; gap: 1rem; }
.credential { display: grid; place-items: center; width: 104px; height: 104px; padding: 9px; }
.credential img { width: 86px; height: 86px; object-fit: contain; }
.site-footer { background: var(--footer); border-top: 1px solid var(--line); padding-block: 2.8rem 1.3rem; }
.imprint { display: grid; grid-template-columns: .85fr 1fr 1.25fr 1.2fr; gap: 2rem; font-size: .8rem; }
.imprint h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; }
.imprint h3 { font-size: .75rem; font-weight: 650; margin-bottom: .85rem; }
.imprint p { color: var(--muted); overflow-wrap: anywhere; }
.imprint p + p { margin-top: .65rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.footer-bottom a { padding-block: .25rem; }

@media (prefers-color-scheme: dark) {
    :root {
        --page: #1c1c1d; --surface: #242425; --ink: #f0ece6; --muted: #bbb6b0;
        --line: #494546; --accent: #f1a1a9; --accent-soft: #362529; --footer: #171718;
        --info-bg: #172e44; --info-ink: #d0e7ff; --info-line: #6097c5; --focus: #8bc8ff;
    }
}

@media (max-width: 900px) {
    .wrap { width: calc(100% - 3rem); }
    .intro { gap: 2rem; padding-top: 3.5rem; grid-template-columns: 1.15fr 1fr; }
    .contact, .price-panel, .bundle { padding: 1.5rem; }
    .imprint { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    .wrap { width: calc(100% - 2.5rem); }
    .site-header { align-items: flex-start; flex-direction: column; gap: .75rem; padding-block: 1.3rem 1rem; }
    .brand { width: 220px; margin-left: -.3rem; }
    .site-header nav { width: 100%; gap: .5rem 1.6rem; }
    .intro { grid-template-columns: 1fr; padding-block: 2.7rem 2rem; gap: 2rem; }
    h1 { font-size: clamp(2rem, 7.5vw, 2.8rem); }
    .intro-copy > .eyebrow { font-size: .65rem; }
    .lead { font-size: 1rem; }
    .contact { padding: 1.6rem; }
    .notice { gap: .8rem; padding: 1.2rem 1rem; }
    .notice-text { font-size: 1rem; }
    .school { padding-block: 1.5rem 1.5rem; }
    .section-heading { display: block; margin-bottom: 1.5rem; }
    .section-heading h2 { font-size: 2.5rem; }
    .section-heading > p { margin-top: 1rem; }
    .section-heading > p br { display: none; }
    .price-grid { grid-template-columns: 1fr; }
    .credentials { flex-direction: column; align-items: flex-start; gap: 1.2rem; padding-block: 1.5rem 2.5rem; }
    .credential-logos { gap: .5rem; }
    .credential { width: 82px; height: 88px; padding: 7px; }
    .credential img { width: 68px; height: 74px; }
    .imprint { grid-template-columns: 1fr; gap: 1.6rem; }
    .footer-bottom { flex-wrap: wrap; }
}

@media (forced-colors: active) {
    .brand img, .credential img { color-scheme: light; background: white; }
    .notice, .bundle, .contact, .price-panel { border: 1px solid CanvasText; }
}

@media print {
    :root { color-scheme: light; --page: #fff; --surface: #fff; --ink: #000; --muted: #333; --line: #aaa; --accent: #600; --accent-soft: #fff; --footer: #fff; --info-bg: #fff; --info-ink: #000; --info-line: #666; }
    .wrap { width: 100%; }
    .site-header nav, .text-link, .footer-bottom a, .skip-link { display: none; }
    .brand img, .credential img { color-scheme: light; }
    .intro, .school { padding-block: 1.5rem; }
    .contact, .notice, .price-panel, .bundle, .imprint { break-inside: avoid; }
    .credentials { padding-block: 1rem; }
}
