/* Adapted from Brclio Design System landing template. */
:root {
  --blue: #2b7fd8; --blue-deep: #195ca3; --yellow: #f4d758; --red: #e84a5f;
  --cream: #fefcf6; --cream-dark: #faf6eb; --ink: #1a1a2e; --ink-light: #4a4a5a;
  --dark-panel: #151821; --line: #dedacd;
  --serif: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 16px; line-height: 1.75; color: var(--ink); background: var(--cream); }
::selection { background: var(--yellow); color: var(--ink); }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
.container { width: min(1300px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; left: 20px; top: -100px; background: var(--yellow); color: var(--ink); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 750; white-space: nowrap; letter-spacing: -.6px; }
.brand img { flex-shrink: 0; }
.brand-note { font-size: 12px; font-weight: 500; color: var(--ink-light); letter-spacing: 0; }
.header-inner nav { display: flex; gap: clamp(18px, 2.5vw, 36px); font-size: 14px; }
.header-inner nav a, .back-link, .footer-links a { text-underline-offset: 6px; }
.header-inner nav a:hover, .back-link:hover, .footer-links a:hover { text-decoration: underline; text-decoration-color: var(--blue); }
.header-inner nav a:last-child { color: var(--blue-deep); font-weight: 650; }
.back-link { font-size: 13px; color: var(--ink-light); white-space: nowrap; }
.hero { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 80px); align-items: center; min-height: min(840px, calc(100svh - 86px)); padding-block: clamp(56px, 7vw, 104px); }
.eyebrow { color: var(--blue-deep); font-size: 11px; letter-spacing: .14em; font-weight: 700; line-height: 1.7; }
.label-dot { display: inline-block; width: 7px; height: 7px; background: var(--red); border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
h1 { margin-block: 24px; font-family: var(--serif); font-size: clamp(40px, 4.2vw, 62px); font-weight: 900; letter-spacing: -.055em; line-height: 1.35; }
.text-highlight { background: linear-gradient(transparent 70%, var(--yellow) 70%, var(--yellow) 93%, transparent 93%); }
.hero-intro { font-size: 15px; line-height: 1.95; color: var(--ink-light); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 12px 21px; font-size: 14px; border-radius: 7px; font-weight: 650; transition: transform .18s, background .18s; }
.button-blue { background: var(--blue-deep); color: var(--cream); }
.button-blue:hover { background: #124b86; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 650; color: var(--blue-deep); text-decoration: underline; text-decoration-color: #b4cce3; text-underline-offset: 6px; }
.text-link:hover { background: var(--yellow); text-decoration-color: currentColor; }
.hero-note { margin-top: 22px; color: #64636b; font-size: 11px; letter-spacing: .03em; }
.book-feature { min-width: 0; padding-top: 12px; }
.book-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 13px; font-size: 10px; color: #6b685f; letter-spacing: .12em; }
.book-art { width: 100%; border: 1px solid #ede4d3; }
.book-feature figcaption { position: relative; padding: 24px 0 20px; border-bottom: 1px solid var(--line); }
.book-feature figcaption .eyebrow { color: #746544; letter-spacing: .07em; font-size: 11px; }
.book-feature h2 { font-family: var(--serif); font-size: clamp(19px, 1.9vw, 26px); font-weight: 800; margin-block: 9px; letter-spacing: -.025em; }
.book-feature figcaption > p:not(.eyebrow) { font-size: 13px; color: var(--ink-light); }
.book-feature figcaption .text-link { margin-top: 16px; }
.book-footnote { display: block; margin-top: 13px; text-align: right; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 16px; color: var(--blue-deep); }
.audience-strip { background: var(--cream-dark); border-block: 1px solid var(--line); padding-block: 28px; }
.audience-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.audience-inner > p { flex-shrink: 0; font-size: 13px; color: var(--ink-light); }
.audience-inner strong { color: var(--ink); font-weight: 550; }
.audience-inner ul { list-style: none; padding: 0; margin: 0; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 14px 25px; }
.audience-inner li { color: var(--ink-light); font-size: 12px; }
.audience-inner li::before { content: '＋'; color: var(--blue); margin-right: 8px; }
.section { padding-block: clamp(70px, 8vw, 116px); }
.courses-section { background: var(--dark-panel); color: var(--cream); }
.course-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 7vw, 110px); align-items: start; }
.course-heading { position: sticky; top: 60px; }
.course-heading .eyebrow { color: #91bdeb; }
.course-heading h2 { font-family: var(--serif); font-size: clamp(29px, 3.15vw, 44px); line-height: 1.55; letter-spacing: -.035em; margin-block: 20px 24px; }
.course-heading > p:not(.eyebrow):not(.enrollment) { font-size: 14px; color: #c1c2cb; margin-top: 18px; }
.enrollment { color: var(--yellow); font-size: 15px; font-weight: 600; }
.enrollment span { margin-right: 7px; }
.text-link-light { color: var(--yellow); text-decoration-color: #776f4f; margin-top: 28px; }
.text-link-light:hover { color: var(--ink); }
.course-list { border-top: 1px solid #454853; }
.course-row { padding-block: 28px; border-bottom: 1px solid #454853; display: grid; grid-template-columns: 24px minmax(0, 1fr) 28px; gap: 19px; }
.course-number { font-family: 'Fraunces', Georgia, serif; font-size: 14px; color: #91bdeb; padding-top: 4px; }
.course-row h3 { font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; line-height: 1.5; margin-bottom: 10px; }
.course-row p { color: #c1c2cb; font-size: 13px; line-height: 1.9; }
.course-tags { display: block; margin-top: 12px; font-size: 10px; color: #adb1c1; letter-spacing: .035em; }
.course-mark { color: var(--yellow); font-size: 21px; line-height: 1.6; text-align: right; }
.section-heading h2 { font-family: var(--serif); font-size: clamp(27px, 3vw, 40px); line-height: 1.5; letter-spacing: -.035em; margin-block: 13px; }
.section-heading > p:last-child { font-size: 14px; color: var(--ink-light); }
.steps-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 46px 0 0; gap: 40px; }
.steps-layout li { border-top: 1px solid var(--line); padding-top: 23px; }
.step-number { display: block; color: var(--blue); font-family: 'Fraunces', Georgia, serif; font-size: 36px; font-style: italic; line-height: 1.2; margin-bottom: 22px; }
.steps-layout h3 { font-size: 17px; font-weight: 650; margin-bottom: 10px; }
.steps-layout p { font-size: 13px; color: var(--ink-light); max-width: 310px; }
.contact-section { background: #f7ecc0; border-block: 1px solid #e5d9ad; }
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.contact-copy h2 { font-family: var(--serif); font-size: clamp(28px, 3.15vw, 43px); line-height: 1.55; letter-spacing: -.035em; margin-block: 20px 24px; }
.contact-copy h2 span { color: var(--blue-deep); }
.contact-copy > p:not(.eyebrow):not(.contact-note) { font-size: 15px; color: var(--ink-light); }
.contact-prompt { margin-top: 27px; }
.contact-prompt > span { font-size: 11px; color: #69614b; }
.contact-prompt > p { font-size: 14px; margin-top: 8px; font-weight: 550; }
.contact-copy .contact-note { font-size: 11px; color: #69614b; margin-top: 24px; }
.contact-qr { width: min(100%, 310px); justify-self: center; text-align: center; }
.qr-heading { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 15px; font-weight: 650; margin-bottom: 16px; }
.qr-heading span { font-size: 26px; color: var(--blue-deep); }
.qr-image-button { display: block; padding: 0; background: transparent; border: 0; width: 100%; border-radius: 5px; overflow: hidden; }
.qr-image-button img { width: 100%; }
.qr-image-button:hover { outline: 2px solid var(--blue-deep); outline-offset: 4px; }
.qr-instruction { font-size: 12px; margin-top: 15px; color: var(--ink-light); }
.qr-save { display: inline-flex; gap: 12px; align-items: center; padding: 8px 16px; margin-top: 10px; border: 1px solid #b4a986; border-radius: 5px; font-size: 12px; font-weight: 550; min-height: 42px; }
.qr-save:hover { background: var(--yellow); }
.save-status { font-size: 12px; color: var(--blue-deep); }
.save-status:not(:empty) { margin-top: 10px; }
.qr-mobile-note { font-size: 10px; color: #69614b; margin-top: 12px; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 36px; }
.footer-brand { font-size: 24px; font-weight: 800; letter-spacing: -1px; }
.footer-brand span { color: var(--red); }
.page-footer p { margin-top: 4px; font-size: 11px; color: var(--ink-light); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 26px; font-size: 11px; color: var(--ink-light); }
.qr-dialog { width: min(540px, calc(100% - 28px)); max-height: calc(100dvh - 32px); border: 1px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink); padding: 22px; overflow: auto; }
.qr-dialog::backdrop { background: rgb(21 24 33 / 72%); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.dialog-heading h2 { font-size: 16px; line-height: 1.5; font-weight: 650; }
.dialog-close { border: 1px solid var(--line); border-radius: 5px; color: var(--ink-light); background: var(--cream-dark); padding: 8px 12px; font-size: 12px; flex-shrink: 0; min-height: 42px; }
.qr-dialog > img { max-height: 65dvh; width: auto; margin-inline: auto; }
.qr-dialog > p { font-size: 12px; text-align: center; margin-top: 16px; color: var(--ink-light); }
@media (min-width: 1500px) { .hero { min-height: 820px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .brand-note { display: none; }
  .hero { gap: 35px; }
  .course-layout { gap: 44px; grid-template-columns: .85fr 1.15fr; }
  .audience-inner ul { gap: 10px 17px; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; min-height: 94px; padding-block: 16px; gap: 12px 20px; }
  .header-inner nav { order: 3; width: 100%; justify-content: space-between; gap: 16px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 48px 44px; gap: 38px; }
  h1 { font-size: clamp(40px, 7.5vw, 61px); }
  .hero-intro br:nth-child(2) { display: none; }
  .hero-actions { gap: 22px; }
  .book-feature { max-width: 680px; width: 100%; justify-self: center; }
  .book-feature h2 { font-size: 25px; }
  .audience-inner { align-items: flex-start; flex-direction: column; gap: 18px; }
  .audience-inner ul { justify-content: flex-start; }
  .course-layout { grid-template-columns: 1fr; gap: 36px; }
  .course-heading { position: static; }
  .course-heading h2 { font-size: 36px; }
  .contact-layout { grid-template-columns: 1fr 300px; gap: 28px; }
  .contact-copy h2 { font-size: 27px; }
  .contact-prompt > p br { display: none; }
  .steps-layout { gap: 25px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 24px; }
  .container { width: calc(100% - 40px); }
  .brand { font-size: 20px; }
  .brand img { width: 30px; height: 30px; }
  .back-link { font-size: 11px; }
  .header-inner nav { font-size: 13px; }
  .hero { padding-top: 40px; }
  h1 { font-size: clamp(35px, 9.3vw, 51px); margin-block: 20px; }
  .hero-intro { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 25px; }
  .hero-note { margin-top: 22px; font-size: 10px; }
  .book-feature h2 { font-size: clamp(18px, 5vw, 25px); }
  .book-feature figcaption { padding-top: 20px; }
  .book-footnote { font-size: 14px; }
  .book-label { font-size: 9px; }
  .audience-strip { padding-block: 23px; }
  .audience-inner li { font-size: 11px; }
  .section { padding-block: 58px; }
  .course-heading h2 { font-size: 31px; }
  .course-heading > p:not(.eyebrow):not(.enrollment) { font-size: 13px; }
  .course-row { gap: 12px; grid-template-columns: 22px minmax(0, 1fr) 20px; padding-block: 24px; }
  .course-row h3 { font-size: 17px; }
  .course-row p { font-size: 12px; }
  .course-mark { font-size: 18px; }
  .course-tags { font-size: 9px; }
  .section-heading h2 { font-size: 27px; }
  .steps-layout { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
  .steps-layout li { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; padding-top: 22px; }
  .step-number { grid-row: span 2; font-size: 31px; margin: 0; }
  .steps-layout h3 { font-size: 16px; margin-bottom: 8px; }
  .steps-layout p { max-width: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .contact-copy h2 { font-size: clamp(26px, 6.8vw, 36px); }
  .contact-qr { width: min(100%, 300px); }
  .page-footer { align-items: flex-start; flex-direction: column; padding-block: 30px; gap: 22px; }
  .footer-links { gap: 12px 20px; }
  .qr-dialog { padding: 16px; }
  .dialog-heading h2 { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
