:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #17222b;
  --ink-2: #4a5a66;
  --muted: #7a8794;
  --line: #e6e2d7;
  --accent: #1f6f6c;
  --accent-2: #d97759;
  --accent-soft: #eaf3f2;
  --shadow: 0 2px 4px rgba(23, 34, 43, 0.04), 0 12px 32px rgba(23, 34, 43, 0.06);
  --radius: 14px;
  --radius-sm: 8px;
  --f-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --container: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease;
}
a:hover { border-bottom-color: currentColor; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  border-bottom: 0;
}
.brand-mark {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 13px;
  color: var(--muted);
}
.brand-sub a {
  color: var(--muted);
  text-decoration: underline;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
}
.site-nav a { color: var(--ink-2); border-bottom: 0; }
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
}
.nav-cta:hover { background: #17605e; }

/* Hero */
.hero {
  padding: 96px 0 72px;
  background: radial-gradient(90% 60% at 50% 0%, rgba(31, 111, 108, 0.06), transparent 60%);
}
.hero h1 {
  font-family: var(--f-serif);
  font-size: clamp(38px, 5.5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  max-width: 780px;
}
.hero .lead {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 32px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.hint {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform 80ms ease, background 120ms ease, border-color 120ms ease;
  border-bottom: 0;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #17605e; }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--ink); }

/* Tutors */
.tutors {
  padding: 60px 0 40px;
}
.section-head {
  margin-bottom: 26px;
}
.section-head h2 {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3.6vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.section-sub {
  color: var(--ink-2);
  font-size: 15.5px;
  margin: 0;
  max-width: 640px;
}
.tutor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tutor-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tutor-head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.tutor-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}
.tutor-head h3 {
  font-family: var(--f-serif);
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}
.tutor-sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.tutor-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tutor-tags li {
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
.tutor-bio {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.tutor-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 4px 0 8px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tutor-facts > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tutor-facts dt {
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.tutor-facts dd {
  font-size: 15px;
  color: var(--ink);
  margin: 0;
  font-weight: 500;
}
.tutor-contact { width: 100%; }
.tutor-card-placeholder {
  background: transparent;
  border-style: dashed;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
}
.tutor-placeholder-inner h3 {
  font-family: var(--f-serif);
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tutor-placeholder-inner p {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0;
  max-width: 320px;
}

/* Value */
.value {
  padding: 40px 0 80px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 {
  font-family: var(--f-serif);
  font-size: 20px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* Waitlist */
.waitlist {
  padding: 60px 0 80px;
  background: var(--accent-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.waitlist-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.waitlist-panel h2 {
  font-family: var(--f-serif);
  font-size: 26px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.waitlist-panel > p {
  color: var(--ink-2);
  margin: 0 0 20px;
  font-size: 15px;
}

.wl-form label {
  display: block;
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: 12px;
}
.wl-form input,
.wl-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 120ms ease, background 120ms ease;
}
.wl-form input:focus,
.wl-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.wl-form textarea { resize: vertical; }
.wl-form .btn { width: 100%; margin-top: 8px; }
.form-status {
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-2);
}
.form-status.error { color: #b3391f; }
.form-status.ok { color: var(--accent); }

/* FAQ */
.faq {
  padding: 80px 0 100px;
}
.faq h2 {
  font-family: var(--f-serif);
  font-size: 32px;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::after {
  content: "+";
  color: var(--muted);
  font-size: 22px;
  transition: transform 200ms ease;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 60px;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
}
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 820px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .grid-3, .grid-2, .tutor-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
  .value { padding: 20px 0 60px; }
  .waitlist { padding: 40px 0 60px; }
  .faq { padding: 60px 0 80px; }
}
