:root {
      --blue: #68a9e8;
      --blue-strong: #2878c7;
      --blue-deep: #1c5e9e;
      --blue-pale: #eef7ff;
      --blue-wash: #f7fbff;
      --ink: #1e2936;
      --muted: #697786;
      --line: #e4eaf0;
      --white: #fff;
      --sans: "PingFang TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif;
      --shadow: 0 12px 38px rgba(46, 94, 139, .08);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; }
    .wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
    .topbar { position: sticky; top: 0; z-index: 4; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
    .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 750; letter-spacing: -.045em; }
    .brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--blue-pale); }
    .nav { display: flex; align-items: center; gap: 25px; color: #536273; font-size: 13px; }
    .nav a:not(.nav-book):hover { color: var(--blue-deep); }
    .nav-book, .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid var(--blue-strong); border-radius: 9px; color: #fff; background: var(--blue-strong); font-size: 13px; font-weight: 650; transition: transform .18s, background .18s, box-shadow .18s; cursor: pointer; }
    .nav-book:hover, .button:hover { transform: translateY(-1px); background: var(--blue-deep); box-shadow: 0 5px 15px rgba(40,120,199,.18); }
    .profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 42px; padding-top: 38px; }
    .intro-copy { padding: 0 2px; }
    .profile-identity { display: flex; align-items: center; gap: 20px; }
    .profile-avatar { flex: 0 0 auto; width: 110px; height: 110px; border: 4px solid #fff; border-radius: 50%; object-fit: cover; object-position: 50% 50%; box-shadow: 0 0 0 2px #c6e2f6, 0 7px 20px rgba(46,94,139,.11); }
    .identity-text { min-width: 0; }
    .identity-text h1 { margin: 4px 0 1px; }
    .eyebrow { color: var(--blue-deep); font-size: 12px; font-weight: 700; letter-spacing: .07em; }
    h1 { margin: 8px 0 2px; font-size: 29px; line-height: 1.35; letter-spacing: -.045em; }
    .teacher-title { margin: 0; color: var(--muted); font-size: 13px; }
    .intro-text { max-width: 650px; margin: 14px 0 15px; color: #536273; font-size: 14px; line-height: 1.9; }
    .chips { display: flex; flex-wrap: wrap; gap: 8px; }
    .chip { padding: 5px 10px; border: 1px solid #dcebf7; border-radius: 999px; color: #3c6f99; background: #f6fbff; font-size: 11px; }
    .booking { position: sticky; top: 92px; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
    .booking-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
    .trial-badge { padding: 5px 9px; border-radius: 999px; color: var(--blue-deep); background: var(--blue-pale); font-size: 11px; font-weight: 700; white-space: nowrap; }
    .price { display: flex; align-items: baseline; gap: 7px; margin: 7px 0 5px; }
    .price strong { font-size: 29px; letter-spacing: -.05em; }
    .price span { color: var(--muted); font-size: 12px; }
    .booking-note { margin: 0; padding-bottom: 16px; color: var(--muted); font-size: 11px; border-bottom: 1px solid var(--line); }
    .rate-row { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0 14px; color: #526171; font-size: 12px; }
    .rate-row strong { color: var(--ink); font-weight: 650; }
    .booking .button { width: 100%; }
    .booking-overlay { position: fixed; inset: 0; z-index: 20; display: none; place-items: center; padding: 24px; background: rgba(24, 39, 54, .46); }
    .booking-overlay.open { display: grid; }
    .booking-dialog { width: min(940px, 100%); max-height: min(92vh, 820px); display: grid; grid-template-columns: minmax(0, 1fr) 280px; overflow: auto; border-radius: 18px; background: #fff; box-shadow: 0 24px 80px rgba(20, 43, 66, .24); }
    .booking-main { min-width: 0; padding: 27px 30px 24px; }
    .booking-modal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
    .booking-modal-top h2 { margin: 3px 0 0; font-size: 24px; }
    .booking-modal-subtitle { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
    .booking-close { width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; font-size: 19px; }
    .duration-block { margin-top: 22px; }
    .booking-label-small { margin: 0 0 9px; color: var(--ink); font-size: 13px; font-weight: 700; }
    .duration-options { display: flex; gap: 8px; }
    .duration-option { min-width: 110px; min-height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; color: #526171; background: #fff; cursor: pointer; font-size: 12px; }
    .duration-option[aria-pressed="true"] { border-color: var(--blue-strong); color: var(--blue-deep); background: var(--blue-pale); font-weight: 700; }
    .calendar-block { margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); }
    .calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
    .calendar-range { font-size: 14px; font-weight: 700; }
    .calendar-nav { display: flex; gap: 7px; }
    .calendar-nav button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
    .calendar-nav button:disabled { opacity: .4; cursor: default; }
    .date-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
    .date-option { min-height: 71px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--line); border-radius: 9px; color: #84909b; background: #fff; font-size: 10px; }
    .date-option strong { font-size: 17px; font-weight: 600; }
    .date-option.available { border-color: #c7e1f5; color: var(--blue-deep); cursor: pointer; }
    .date-option.available:hover, .date-option.selected { border-color: var(--blue-strong); color: var(--blue-deep); background: var(--blue-pale); }
    .date-option.selected { box-shadow: inset 0 0 0 1px var(--blue-strong); }
    .date-option:disabled { opacity: .45; }
    .timezone-label { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
    .time-block { margin-top: 18px; }
    .time-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .time-option { min-height: 39px; border: 1px solid #c9dff0; border-radius: 8px; color: var(--blue-deep); background: #fff; cursor: pointer; font-size: 12px; font-weight: 600; }
    .time-option:hover, .time-option.selected { border-color: var(--blue-strong); background: var(--blue-pale); }
    .availability-note { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
    .booking-modal-footer { position: sticky; bottom: -24px; display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 20px -30px -24px; padding: 14px 30px; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); }
    .selection-caption { color: var(--muted); font-size: 11px; }
    .booking-continue { min-width: 112px; min-height: 42px; border: 1px solid var(--blue-strong); border-radius: 8px; color: #fff; background: var(--blue-strong); cursor: pointer; font-size: 13px; font-weight: 700; }
    .booking-continue:disabled { border-color: #d8e1e8; color: #8e9aa5; background: #edf1f4; cursor: default; }
    .booking-side { padding: 30px 24px; border-left: 1px solid var(--line); background: var(--blue-wash); }
    .booking-side h3 { margin: 13px 0 6px; font-size: 17px; }
    .booking-side p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
    .selection-card { margin-top: 20px; padding: 14px; border: 1px solid #dbeaf5; border-radius: 10px; background: #fff; }
    .selection-card span { display: block; color: var(--muted); font-size: 10px; }
    .selection-card strong { display: block; margin-top: 4px; font-size: 13px; }
    .booking-side .booking-disclaimer { margin-top: 15px; font-size: 10px; }
    .booking-result { padding-top: 22px; }
    .booking-result h3 { margin: 0 0 8px; font-size: 21px; }
    .booking-result p { color: var(--muted); font-size: 13px; line-height: 1.8; }
    .result-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
    .result-actions .button, .result-actions .outline-button { flex: 1; }
    .booking-picker[hidden], .booking-result[hidden] { display: none; }
    body.modal-open { overflow: hidden; }
    @media (max-width: 720px) {
      .booking-overlay { padding: 0; align-items: stretch; }
      .booking-dialog { width: 100%; height: 100%; max-height: 100vh; grid-template-columns: 1fr; grid-template-rows: 1fr auto; border-radius: 0; }
      .booking-main { padding: 19px 16px 20px; overflow-y: auto; }
      .booking-modal-top h2 { font-size: 21px; }
      .date-strip { gap: 4px; }
      .date-option { min-height: 65px; font-size: 9px; }
      .date-option strong { font-size: 15px; }
      .time-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .booking-modal-footer { bottom: -20px; margin: 18px -16px -20px; padding: 12px 16px; }
      .booking-side { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); border-left: 0; }
      .booking-side h3, .booking-side > p, .booking-side .booking-disclaimer { display: none; }
      .selection-card { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 0; padding: 10px 12px; }
      .selection-card strong { margin-top: 0; }
    }
    .booking-secondary { display: flex; justify-content: center; margin-top: 12px; color: var(--blue-deep); font-size: 12px; font-weight: 600; }
    .booking-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
    .fact { flex: 1 1 auto; display: flex; align-items: baseline; gap: 7px; padding: 9px 12px; border-radius: 9px; background: var(--blue-wash); }
    .fact strong { font-size: 13px; font-weight: 650; }
    .fact span { color: var(--muted); font-size: 10px; }
    .style-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; margin: 26px 0 0; padding: 19px 21px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
    .style-card h2 { margin: 0 0 4px; font-size: 15px; }
    .style-card p { margin: 0; color: var(--muted); font-size: 12px; }
    .style-tags { justify-content: flex-end; }
    .section { padding: 66px 0; border-top: 1px solid var(--line); }
    .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
    .section-kicker { color: var(--blue-deep); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
    h2 { margin: 6px 0 0; font-size: clamp(22px, 3vw, 29px); letter-spacing: -.04em; line-height: 1.4; }
    .section-heading p { max-width: 430px; margin: 0; color: var(--muted); font-size: 13px; }
    .course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .course { min-height: 123px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff; transition: border-color .2s, transform .2s; }
    .course:hover { border-color: #a6d0f3; transform: translateY(-2px); }
    .course-no { color: #82b9e7; font-size: 11px; font-weight: 700; }
    .course h3 { margin: 12px 0 5px; font-size: 14px; line-height: 1.5; }
    .course p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
    .method-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
    .method-item { padding: 20px; background: #fff; }
    .method-item + .method-item { border-left: 1px solid var(--line); }
    .method-num { color: var(--blue-strong); font-size: 11px; font-weight: 700; }
    .method-item h3 { margin: 8px 0 5px; font-size: 14px; }
    .method-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
    .contact-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px; border: 1px solid #d5e8f7; border-radius: 13px; background: var(--blue-pale); }
    .contact-bar h2 { font-size: 20px; }
    .contact-bar p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
    .contact-links { display: flex; flex-wrap: wrap; gap: 9px; }
    .contact-links .button { white-space: nowrap; }
    .outline-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid #b9d8ef; border-radius: 9px; color: var(--blue-deep); background: #fff; font-size: 12px; font-weight: 650; }
    footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px 0 30px; color: var(--muted); font-size: 11px; }
    .mobile-book { display: none; }
    :focus-visible { outline: 3px solid #2878c7; outline-offset: 3px; }
    @media (max-width: 900px) {
      .profile-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 23px; }
      .course-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 720px) {
      .wrap { width: min(100% - 32px, 560px); }
      .topbar { height: 64px; padding: 0 16px; }
      .nav { gap: 12px; }
      .nav a:not(.nav-book) { display: none; }
      .nav-book { min-height: 38px; padding: 0 12px; font-size: 11px; }
      .profile-layout { grid-template-columns: 1fr; gap: 17px; padding-top: 19px; }
      .profile-identity { gap: 13px; }
      .profile-avatar { width: 88px; height: 88px; }
      .intro-copy { padding-top: 0; }
      .booking { position: static; padding: 18px; }
      .booking-facts { grid-template-columns: 1fr; }
      .style-card { grid-template-columns: 1fr; gap: 12px; padding: 17px; }
      .style-tags { justify-content: flex-start; }
      .section { padding: 48px 0; }
      .section-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
      .course-grid { gap: 9px; }
      .course { min-height: 120px; padding: 13px; }
      .method-strip { grid-template-columns: 1fr; }
      .method-item + .method-item { border-left: 0; border-top: 1px solid var(--line); }
      .contact-bar { align-items: flex-start; flex-direction: column; padding: 20px; }
      .contact-links { width: 100%; }
      .contact-links > * { flex: 1; }
      footer { align-items: flex-start; flex-direction: column; gap: 4px; padding-bottom: 88px; }
      .mobile-book { position: fixed; z-index: 5; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -5px 20px rgba(40,75,110,.07); }
      .mobile-book-info { color: var(--muted); font-size: 10px; line-height: 1.35; }
      .mobile-book-info strong { display: block; color: var(--ink); font-size: 14px; }
      .mobile-book .button { min-height: 42px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
    }

.contact-section { padding-bottom: 54px; }
