body { margin: 0; }
html { scroll-behavior: smooth; }
.site {
  --bg: #FFFFFF; --band: #F5F8FC; --surface: #F7F9FC; --border: #E1E7F0;
  --text: #18212F; --muted: #5B6678; --accent: #1F51A8; --accent-hover: #17407F;
  --accent-text: #1F51A8; --tint: #E9F0FB; --navy: #13305E; --on-accent: #FFFFFF;
  --navy-border: #13305E; --placeholder: #E4EAF3;
  background: var(--bg); color: var(--text);
  font-family: 'Source Sans 3', system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  min-height: 100vh;
}
.site.dark {
  --bg: #0D1829; --band: #112038; --surface: #14243D; --border: #233957;
  --text: #E8EEF7; --muted: #A6B3C7; --accent: #2D62C4; --accent-hover: #3A71D6;
  --accent-text: #8FB2F0; --tint: #19305A; --navy: #1A3B70; --on-accent: #FFFFFF;
  --navy-border: #34588F; --placeholder: #1C2E4B;
}
@media (prefers-color-scheme: dark) {
  .site.auto {
    --bg: #0D1829; --band: #112038; --surface: #14243D; --border: #233957;
    --text: #E8EEF7; --muted: #A6B3C7; --accent: #2D62C4; --accent-hover: #3A71D6;
    --accent-text: #8FB2F0; --tint: #19305A; --navy: #1A3B70; --on-accent: #FFFFFF;
    --navy-border: #34588F; --placeholder: #1C2E4B;
  }
}
.site * { box-sizing: border-box; }
.site h1, .site h2, .site h3, .site .btn, .site .label, .site .wordmark {
  font-family: 'Archivo', system-ui, sans-serif;
}
.site h1, .site h2, .site h3 { letter-spacing: -0.02em; line-height: 1.15; margin: 0; font-weight: 700; }
.site p { margin: 0; }
.site a { color: var(--accent-text); }
.site a:hover { color: var(--accent-hover); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid var(--accent); cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.site a.btn-primary, .site button.btn-primary { background: var(--accent); color: var(--on-accent); }
.site a.btn-primary:hover, .site button.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.site a.btn-outline { background: transparent; color: var(--accent-text); border-color: var(--accent-text); }
.site a.btn-outline:hover { background: var(--tint); color: var(--accent-text); }
.site a.btn-light { background: #FFFFFF; color: #13305E; border-color: #FFFFFF; }
.site a.btn-light:hover { background: #E9F0FB; color: #13305E; border-color: #E9F0FB; }
.btn-full { width: 100%; }

.header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.wordmark { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; }
.site a.wordmark, .site a.wordmark:hover { color: var(--text); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.site .nav a { color: var(--muted); text-decoration: none; font-size: 16px; font-weight: 600; }
.site .nav a:hover { color: var(--accent-text); }
.header .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }

.hero { background: var(--band); padding: 88px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.hero h1 { font-size: 54px; margin-bottom: 24px; }
.hero-copy p { color: var(--text); font-size: 19px; max-width: 600px; }
.hero-copy p + p { margin-top: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-copy p.lead { font-size: 21px; line-height: 1.5; }
.hero-copy p.call-note { margin-top: 16px; font-size: 15px; color: var(--muted); }
.sem-callout { margin-top: 32px; max-width: 600px; background: var(--tint); border-radius: 12px; padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.sem-callout > div { flex: 1 1 300px; min-width: 0; }
.hero-copy .sem-callout p { font-size: 15px; color: var(--text); margin: 0; }
.hero-copy .sem-callout p.sem-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 4px; }
.sem-callout .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; background: var(--bg); }
.fine-link { margin-top: 10px !important; font-size: 15px; }
.tutor { display: flex; flex-direction: column; gap: 16px; justify-self: end; width: 250px; }
.headshot {
  width: 250px; height: auto; aspect-ratio: 4 / 5; border-radius: 12px; background: var(--placeholder);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 15px;
}
.tutor-name { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 18px; }
.tutor-role { color: var(--accent-text); font-weight: 600; font-size: 15px; }
.tutor-bio { color: var(--muted); font-size: 15px; margin-top: 6px !important; }

.section { padding: 104px 0; }
.section h2 { font-size: 38px; margin-bottom: 16px; }
.intro { color: var(--muted); font-size: 18px; max-width: 680px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; align-items: stretch; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px 28px; display: flex; flex-direction: column; }
.card h3 { font-size: 21px; }
.price { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 34px; letter-spacing: -0.02em; margin-top: 14px; line-height: 1.2; }
.price span { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.per { color: var(--muted); font-size: 15px; margin-top: 4px !important; }
.who { margin-top: 18px !important; font-size: 16px; }
.card hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; width: 100%; }
.perks-label { font-weight: 600; font-size: 15px; margin-bottom: 12px !important; }
.perks { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.perks svg { flex: none; margin-top: 3px; color: var(--accent-text); }
.card.featured { background: var(--navy); border-color: var(--navy-border); color: #FFFFFF; }
.card.featured .price span, .card.featured .per { color: #C5D3EC; }
.card.featured hr { border-top-color: rgba(255,255,255,0.18); }
.card.featured .perks svg { color: #A9C4F2; }
.featured-tag { align-self: flex-start; background: #E9F0FB; color: #13305E; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.fine { color: var(--muted); font-size: 15px; margin-top: 28px !important; max-width: 860px; }

.seminars { background: var(--bg); }
.list { margin-top: 44px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.row { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 26px 28px; }
.row + .row { border-top: 1px solid var(--border); }
.when { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 14px; line-height: 1.5; }
.row h3 { font-size: 19px; margin-bottom: 4px; }
.row p { color: var(--muted); font-size: 16px; }
.row .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; white-space: nowrap; }
.after-list { margin-top: 20px !important; font-size: 16px; }
.disclosure { margin-top: 12px !important; font-size: 16px; color: var(--muted); max-width: 760px; }

.how { border-top: 1px solid var(--border); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.how-copy p { font-size: 18px; }
.how-copy p + p { margin-top: 18px; }
.ph { border: 1.5px dashed var(--border); border-radius: 12px; padding: 32px 28px; background: var(--surface); }
.ph-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.ph h3 { font-size: 20px; margin: 10px 0 10px; }
.ph p { color: var(--muted); font-size: 16px; }

.faq-wrap { background: var(--bg); border-top: 1px solid var(--border); }
.faq { margin-top: 36px; max-width: 820px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--accent-text); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 720px; }

.contact { border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 44px; align-items: start; }
.call-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px 28px; }
.call-box h3 { font-size: 22px; margin-bottom: 10px; }
.call-box ul { margin: 20px 0 28px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 15px; }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 14px; min-height: 46px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.85; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent-text); outline-offset: 1px; border-color: var(--accent-text); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-note { font-size: 15px; color: var(--muted); }
.thanks { background: var(--tint); border-radius: 12px; padding: 28px; font-size: 18px; }

.footer { background: var(--band); padding: 56px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site .footer-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site .footer-links a:hover { color: var(--accent-text); }
.footer-legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); max-width: 900px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero h1 { font-size: 38px; }
  .hero-copy p { font-size: 18px; }
  .tutor { justify-self: stretch; width: auto; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 18px; align-items: start; }
  .headshot { width: 100px; font-size: 12px; }
  .section { padding: 72px 0; }
  .section h2 { font-size: 30px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px 20px; }
  .row .btn { width: 100%; margin-top: 10px; }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .header .btn { padding: 10px 14px; font-size: 14px; }
  .wordmark { font-size: 20px; }
  .btn-row .btn { width: 100%; }
  .sem-callout .btn { width: 100%; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .call-box { padding: 26px 20px; }
  .card { padding: 28px 22px; }
}

[hidden] { display: none !important; }

.cta-short { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; color: var(--text); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(19, 48, 94, 0.12); }
.site .mnav nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 14px; border-radius: 8px; }
.site .mnav nav a:hover { background: var(--tint); color: var(--accent-text); }
@media (max-width: 900px) {
  .mnav { display: block; }
  .header-row { gap: 10px; }
  .header .wordmark { margin-right: auto; }
}
@media (max-width: 520px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
}

.site .nav a, .header .btn { white-space: nowrap; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .mnav { display: block; }
  .header-row { gap: 10px; }
  .header .wordmark { margin-right: auto; }
}
