/* =========================================================
   OChem Office Hours — design system
   ========================================================= */
:root {
  --bg: #f7f4ec;
  --bg-soft: #efece1;
  --surface: #fffdf8;
  --ink: #14251d;
  --ink-soft: #45594d;
  --muted: #5b6d61;
  --line: #dcd8c9;
  --line-strong: #c8c4b2;
  --green: #0e5c43;
  --green-dark: #0a3d2d;
  --green-deep: #082b20;
  --green-soft: #e2efe6;
  --green-mist: #edf5ee;
  --lime: #c8f169;
  --lime-soft: #f0fad8;
  --amber: #d99a35;
  --danger: #b42318;
  --paper: #fffdf7;
  --shadow-sm: 0 10px 30px rgba(20, 37, 29, 0.07);
  --shadow-md: 0 24px 60px rgba(20, 37, 29, 0.12);
  --shadow-lg: 0 34px 90px rgba(20, 37, 29, 0.16);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0 0 0.6em; line-height: 1.1; }
h1, h2 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.03em; }
h3 { font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
figure { margin: 0; }
blockquote { margin: 0; }

::selection { background: var(--lime); color: var(--green-dark); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 48px, var(--maxw));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--green-dark);
  color: #fff;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; }

/* Typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow-lime { color: var(--lime); }

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(14, 92, 67, 0.45);
  animation: pulse 2.2s ease-out infinite;
}
.eyebrow .pulse-dot + * { margin-left: 0; }
.eyebrow:has(.pulse-dot)::before { display: none; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 92, 67, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(14, 92, 67, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 92, 67, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 26px rgba(14, 92, 67, 0.2);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 16px 32px rgba(14, 92, 67, 0.26); }
.btn-lime {
  background: var(--lime);
  color: var(--green-deep);
  box-shadow: 0 12px 26px rgba(200, 241, 105, 0.22);
}
.btn-lime:hover { background: #d6f884; }
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--line-strong);
}
.btn-outline:hover { background: var(--green-soft); border-color: var(--green); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-ghost-light {
  background: transparent;
  color: #f3f8f4;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }
.btn-small { padding: 0.62rem 1rem; font-size: 0.84rem; }
.btn-lg { padding: 1rem 1.55rem; font-size: 0.98rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 236, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  background: rgba(247, 244, 236, 0.97);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(20, 37, 29, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 80px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  color: var(--green);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-text span {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav > a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.site-nav > a:hover { color: var(--green); }
.site-nav > a:hover::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(200, 241, 105, 0.28), transparent 62%),
    radial-gradient(700px 520px at 6% 12%, rgba(14, 92, 67, 0.08), transparent 62%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76' viewBox='0 0 76 76'%3E%3Cpath d='M38 5 67 22v32L38 71 9 54V22Z' fill='none' stroke='%230e5c43' stroke-opacity='.075' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.15) 80%, transparent);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.15) 80%, transparent);
  pointer-events: none;
}
.hero-orbit {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -150px;
  top: -220px;
  border: 1px solid rgba(14, 92, 67, 0.12);
  border-radius: 50%;
  pointer-events: none;
}
.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(14, 92, 67, 0.1);
  border-radius: 50%;
}
.hero-orbit::before { inset: 60px; }
.hero-orbit::after { inset: 130px; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  line-height: 0.97;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.hero h1 em {
  position: relative;
  font-style: italic;
  font-weight: 500;
  color: var(--green);
  isolation: isolate;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 1%;
  right: -1%;
  bottom: 0.08em;
  height: 0.16em;
  border-radius: 999px;
  background: var(--lime);
  transform: rotate(-1.2deg);
}
.hero-lead {
  max-width: 58ch;
  margin-bottom: 1.8rem;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.7rem;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin: 0 0 1.2rem;
  list-style: none;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
}
.check-dot {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 800;
  flex: none;
}
.hero-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Hero visual */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
  transition: transform 0.35s ease;
}
.hero-card:hover { transform: rotate(0deg) translateY(-3px); }
.hero-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 92px;
  height: 25px;
  transform: translateX(-50%) rotate(-2.5deg);
  background: rgba(200, 241, 105, 0.78);
  border-left: 1px dashed rgba(20, 37, 29, 0.18);
  border-right: 1px dashed rgba(20, 37, 29, 0.18);
  box-shadow: 0 3px 8px rgba(20, 37, 29, 0.06);
}
.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a9b68;
  animation: live 2s ease-out infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(26, 155, 104, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(26, 155, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 155, 104, 0); }
}
.hero-card-meta { color: var(--muted); font-size: 0.73rem; font-weight: 600; }
.hero-card-label {
  margin: 1.2rem 0 0.15rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-card h2 {
  margin: 0 0 0.9rem;
  font-size: 1.85rem;
  line-height: 1.05;
}
.reaction-board {
  margin-bottom: 0.9rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(rgba(14, 92, 67, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 92, 67, 0.045) 1px, transparent 1px),
    #fbfaf2;
  background-size: 20px 20px;
}
.reaction-board svg { width: 100%; height: auto; }
.reaction-board .bond { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.reaction-board .atom text { fill: var(--ink); font-family: var(--font-body); font-size: 14px; font-weight: 600; }
.reaction-board .reaction-arrow line,
.reaction-board .reaction-arrow path { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reaction-board .reaction-arrow text { fill: var(--green); font-family: var(--font-body); font-size: 13px; font-weight: 700; }
.reaction-board .annotation text { fill: var(--muted); font-family: var(--font-body); font-size: 10px; font-weight: 500; }
.reaction-board .curly { fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; }
.hero-card-note {
  display: flex;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid #dcebb8;
  border-radius: 12px;
  background: var(--lime-soft);
}
.note-arrow { color: var(--green); font-size: 1.1rem; line-height: 1.2; }
.hero-card-note p { margin: 0; color: var(--green-dark); font-size: 0.82rem; line-height: 1.5; }
.hero-card-note strong { display: block; margin-bottom: 0.1rem; }
.hero-card-foot {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.hero-card-foot p { margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.4; }
.mini-avatar,
.quote-avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.float-badge {
  position: absolute;
  z-index: 2;
  padding: 0.7rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.float-badge strong { display: block; font-size: 0.78rem; color: var(--ink); }
.float-badge span { display: block; margin-top: 0.1rem; font-size: 0.66rem; color: var(--muted); }
.float-one { top: 4%; right: -4%; transform: rotate(2.5deg); }
.float-two { bottom: 5%; left: -5%; transform: rotate(-2deg); }

/* Course strip */
.course-strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.course-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.1rem 0;
}
.course-strip-inner p {
  margin: 0;
  flex: none;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.course-strip-inner ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  list-style: none;
}
.course-strip-inner li {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg);
}

/* Section fundamentals */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.section-lede {
  max-width: 46ch;
  margin: 0 0 0.15rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

/* Topic cards */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.topic-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.topic-card:hover {
  transform: translateY(-4px);
  border-color: #b8cfb9;
  box-shadow: var(--shadow-sm);
}
.topic-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 13px;
  background: var(--green-soft);
  color: var(--green);
}
.topic-icon svg { width: 23px; height: 23px; }
.topic-card h3 { margin-bottom: 0.45rem; font-size: 1.06rem; }
.topic-card p { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: 0.91rem; line-height: 1.55; }
.topic-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Tutor */
.tutor-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.tutor-visual {
  position: relative;
  width: min(100%, 430px);
  margin-inline: auto;
}
.tutor-card {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.8rem;
  text-align: center;
  color: #eaf3ec;
  background:
    radial-gradient(430px 260px at 82% -10%, rgba(200, 241, 105, 0.16), transparent 62%),
    radial-gradient(360px 260px at 8% 112%, rgba(200, 241, 105, 0.07), transparent 60%),
    var(--green-dark);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}
.tutor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='68' viewBox='0 0 68 68'%3E%3Cpath d='M34 4 60 19v30L34 64 8 49V19Z' fill='none' stroke='%23ffffff' stroke-opacity='.055' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 68px 68px;
  pointer-events: none;
}
.tutor-card > * { position: relative; z-index: 1; }
.tutor-card-eyebrow {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--lime);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tutor-monogram {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #d9fa8c, var(--lime) 54%, #a8d84a);
  color: var(--green-deep);
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.tutor-card h3 {
  margin: 0 0 0.15rem;
  color: #fff;
  font-size: 1.45rem;
}
.tutor-card > p { margin: 0; color: #b9cbbf; font-size: 0.85rem; }
.tutor-card .tutor-card-quote {
  margin: 1.15rem 0 1.1rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #d9e6dc;
  font-family: var(--font-head);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.5;
}
.tutor-card-foot {
  display: inline-block;
  padding: 0.32rem 0.65rem;
  border: 1px solid rgba(200, 241, 105, 0.3);
  border-radius: 999px;
  color: var(--lime);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.tutor-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  padding: 0.7rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  line-height: 1.1;
}
.tutor-badge strong {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.03em;
}
.tutor-badge span {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.tutor-badge-one { top: 1.6rem; left: -1.6rem; }
.tutor-badge-two { right: -1.6rem; bottom: 2.4rem; }
.tutor-copy {
  max-width: 600px;
}
.tutor-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.tutor-copy > p:not(.eyebrow) {
  max-width: 56ch;
  margin: 0 0 0.8rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}
.tutor-copy > .tutor-lead {
  color: var(--ink);
  font-size: 1.07rem;
  font-weight: 500;
  line-height: 1.6;
}
.credential-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.credential-list li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.65rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.credential-list li::before {
  content: "✓";
  position: absolute;
  top: 0.95rem;
  left: 0.95rem;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
}
.credential-list strong {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--ink);
  font-size: 0.89rem;
}
.credential-list span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
.tutor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

/* Dark section */
.section-dark {
  position: relative;
  overflow: hidden;
  color: #eaf3ec;
  background:
    radial-gradient(760px 420px at 82% -10%, rgba(200, 241, 105, 0.14), transparent 62%),
    radial-gradient(620px 420px at 8% 110%, rgba(200, 241, 105, 0.06), transparent 60%),
    var(--green-dark);
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76' viewBox='0 0 76 76'%3E%3Cpath d='M38 5 67 22v32L38 71 9 54V22Z' fill='none' stroke='%23ffffff' stroke-opacity='.055' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 76px 76px;
  pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }
.section-head-dark .section-lede { color: #b9cbbf; }
.section-dark h2 { color: #fff; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  counter-reset: step;
}
.step-card {
  position: relative;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  backdrop-filter: blur(6px);
}
.step-number {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--font-head);
  font-size: 2.45rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lime);
}
.step-card h3 { margin-bottom: 0.45rem; color: #fff; font-size: 1.08rem; }
.step-card p { margin: 0 0 1.1rem; color: #b9cbbf; font-size: 0.9rem; line-height: 1.58; }
.step-tag {
  display: inline-block;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(200, 241, 105, 0.28);
  border-radius: 6px;
  color: var(--lime);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.dark-note {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.4rem;
  padding: 1rem 1.15rem;
  background: rgba(200, 241, 105, 0.07);
  border: 1px solid rgba(200, 241, 105, 0.18);
  border-radius: 14px;
}
.dark-note-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(200, 241, 105, 0.12);
  color: var(--lime);
}
.dark-note-icon svg { width: 18px; height: 18px; }
.dark-note p { margin: 0; color: #c4d6c9; font-size: 0.86rem; line-height: 1.55; }
.dark-note strong { color: #fff; }

/* Pricing */
.consult-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
  padding: 1.5rem 1.7rem;
  background:
    radial-gradient(420px 180px at 92% 0%, rgba(200, 241, 105, 0.4), transparent 70%),
    linear-gradient(120deg, var(--green-soft), #f7faed);
  border: 1px solid #cfe2d1;
  border-radius: 22px;
}
.consult-banner > div { max-width: 640px; }
.banner-eyebrow {
  margin: 0 0 0.2rem;
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.consult-banner h3 { margin: 0 0 0.25rem; font-family: var(--font-head); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.02em; }
.consult-banner p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.price-card-featured {
  position: relative;
  color: #eaf3ec;
  background:
    radial-gradient(340px 220px at 90% 0%, rgba(200, 241, 105, 0.15), transparent 65%),
    var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}
.popular-tag {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--green-deep);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-label {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.price-card-featured .price-label { color: #a9c2b2; }
.price {
  margin: 0;
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.price .currency {
  margin-right: 0.05em;
  font-size: 1.6rem;
  font-weight: 500;
  vertical-align: 0.5em;
}
.price-sub { margin: 0.35rem 0 0.9rem; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.price-card-featured .price-sub { color: #a9c2b2; }
.price-copy { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.55; }
.price-card-featured .price-copy { color: #c4d6c9; }
.feature-list {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.58rem;
  font-weight: 800;
}
.price-card-featured .feature-list li { color: #d5e3d8; }
.price-card-featured .feature-list li::before { background: rgba(200, 241, 105, 0.16); color: var(--lime); }
.price-card .btn { margin-top: auto; }
.price-card-featured .price-fine { color: #9fb8a8; }
.price-fine { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.7rem; text-align: center; }
.pricing-note { margin: 1.3rem 0 0; color: var(--muted); font-size: 0.8rem; text-align: center; }

/* Scheduling */
.book-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.book-copy h2 { margin-bottom: 0.9rem; font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.03; }
.book-copy > p { color: var(--ink-soft); font-size: 0.98rem; max-width: 50ch; }
.check-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.3rem 0 1.7rem;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.06rem;
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.64rem;
  font-weight: 800;
}
.book-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.scheduler-preview { position: relative; }
.scheduler-window {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1deg);
}
.scheduler-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.9rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}
.window-dots { display: inline-flex; gap: 5px; }
.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5d0c0;
}
.window-dots i:first-child { background: #e3b0a8; }
.window-dots i:nth-child(2) { background: #e6cf9e; }
.window-dots i:last-child { background: #b6d3ac; }
.preview-chip {
  padding: 0.16rem 0.4rem;
  border-radius: 4px;
  background: var(--lime-soft);
  color: var(--green);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scheduler-body { padding: 1.35rem 1.4rem 1.15rem; }
.scheduler-kicker {
  margin: 0 0 0.15rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.scheduler-body h3 { margin: 0 0 1rem; font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; }
.mini-calendar {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffefb;
}
.cal-month {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
}
.cal-head,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.cal-head { margin-bottom: 0.2rem; color: var(--muted); font-size: 0.6rem; font-weight: 700; }
.cal-grid span {
  display: grid;
  place-items: center;
  min-height: 1.65rem;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
}
.cal-grid .muted { color: #c9c4b5; font-weight: 400; }
.cal-grid .selected { background: var(--green); color: #fff; }
.time-slots { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.time-slots span {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
}
.time-slots .selected { background: var(--green); border-color: var(--green); color: #fff; }
.scheduler-foot { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.66rem; }
.scheduler-caption { margin: 0.85rem 0 0; color: var(--muted); font-size: 0.76rem; text-align: center; }

/* Testimonials */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.quote-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.quote-card::before {
  content: "“";
  height: 0.55em;
  font-family: var(--font-head);
  font-size: 3.4rem;
  line-height: 0.75;
  color: var(--lime);
}
.stars { margin: 0.6rem 0 0.7rem; color: var(--amber); font-size: 0.82rem; letter-spacing: 0.18em; }
.quote-card blockquote {
  flex-grow: 1;
  margin-bottom: 1.2rem;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.quote-card figcaption { display: flex; align-items: center; gap: 0.7rem; }
.quote-avatar { width: 38px; height: 38px; background: var(--green-soft); color: var(--green); }
.quote-card figcaption strong { display: block; font-size: 0.86rem; }
.quote-card figcaption small { display: block; color: var(--muted); font-size: 0.73rem; }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.faq-intro { position: sticky; top: 108px; }
.faq-intro h2 { margin-bottom: 0.9rem; font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.03; }
.faq-intro p { max-width: 34ch; color: var(--ink-soft); font-size: 0.95rem; }
.faq-intro .btn { margin-top: 0.5rem; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item[open] summary { color: var(--green); }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--green-soft); border-color: var(--green-soft); }
.faq-item p {
  max-width: 62ch;
  margin: 0;
  padding: 0 2.2rem 1.15rem 0;
  color: var(--ink-soft);
  font-size: 0.91rem;
  line-height: 1.6;
}

/* Final CTA */
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.8rem, 6.5vw, 5rem) clamp(1.5rem, 6vw, 5rem);
  text-align: center;
  background:
    radial-gradient(700px 340px at 50% 120%, rgba(200, 241, 105, 0.14), transparent 65%),
    var(--green-dark);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76' viewBox='0 0 76 76'%3E%3Cpath d='M38 5 67 22v32L38 71 9 54V22Z' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 76px 76px;
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  width: 420px;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(200, 241, 105, 0.24), transparent);
  pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel .eyebrow { justify-content: center; }
.cta-panel h2 {
  max-width: 16ch;
  margin: 0 auto 0.9rem;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.cta-panel > p {
  max-width: 52ch;
  margin: 0 auto 1.8rem;
  color: #c4d6c9;
  font-size: 1rem;
}
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }

/* Footer */
.site-footer {
  padding: 4rem 0 1.5rem;
  color: #c8d8cd;
  background: var(--green-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.brand-footer { color: var(--lime); }
.brand-footer .brand-text { color: #fff; }
.brand-footer .brand-text span { color: #8da99a; }
.footer-brand-col > p {
  max-width: 42ch;
  margin: 1rem 0 0;
  color: #93aa9c;
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer-col h3 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 0.45rem;
  color: #a7bcae;
  font-size: 0.88rem;
}
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: #7f9a89;
  font-size: 0.76rem;
}
.footer-bottom p { margin: 0; }

/* Dialog */
.action-dialog {
  width: min(94vw, 500px);
  max-height: min(88vh, 720px);
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(8, 43, 32, 0.35);
}
.action-dialog::backdrop {
  background: rgba(8, 43, 32, 0.58);
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 0;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.dialog-close:hover { background: var(--line); }
.dialog-inner { padding: 1.8rem; }
.dialog-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.9rem;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 13px;
}
.dialog-icon svg { width: 23px; height: 23px; }
.dialog-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.dialog-inner > p { color: var(--ink-soft); font-size: 0.92rem; }
.dialog-summary {
  display: grid;
  gap: 0.6rem;
  margin: 1.1rem 0;
  padding: 1rem;
  background: var(--bg-soft);
  border-radius: 12px;
}
.dialog-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.dialog-actions .btn { flex: 1 1 auto; }
.dialog-note { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.75rem; line-height: 1.5; }
.dialog-inner code {
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.82em;
}

/* Booking page */
.booking-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
  background:
    radial-gradient(760px 380px at 50% -20%, rgba(200, 241, 105, 0.3), transparent 65%),
    var(--bg);
}
.booking-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76' viewBox='0 0 76 76'%3E%3Cpath d='M38 5 67 22v32L38 71 9 54V22Z' fill='none' stroke='%230e5c43' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
  pointer-events: none;
}
.booking-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.success-mark {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 1.2rem;
  color: var(--green-deep);
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(14, 92, 67, 0.18);
}
.success-mark svg { width: 30px; height: 30px; }
.booking-hero .eyebrow { justify-content: center; }
.booking-hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.booking-lead {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.demo-banner {
  max-width: 640px;
  margin: 1.6rem auto 0;
  padding: 0.9rem 1.1rem;
  text-align: left;
  background: var(--lime-soft);
  border: 1px solid #dcebb8;
  border-radius: 12px;
}
.demo-banner strong { display: block; color: var(--green-dark); font-size: 0.85rem; }
.demo-banner p { margin: 0.15rem 0 0; color: var(--green-dark); font-size: 0.82rem; line-height: 1.5; }
.demo-banner code {
  padding: 0.08rem 0.28rem;
  border-radius: 4px;
  background: rgba(14, 92, 67, 0.1);
  font-size: 0.85em;
}
.booking-content { padding: 0 0 clamp(4rem, 8vw, 6rem); background: var(--bg); }
.booking-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 1.2rem;
  align-items: start;
}
.booking-main,
.booking-side { display: grid; gap: 1.2rem; }
.panel {
  padding: 1.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.panel h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.status-pill {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-pill.free { background: var(--lime-soft); color: var(--green-dark); }
.order-summary { display: grid; gap: 0.7rem; }
.order-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.order-row:last-child { padding-bottom: 0; border-bottom: 0; }
.order-row strong { color: var(--ink); font-size: 0.95rem; text-align: right; }
.order-row.total strong { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: -0.02em; }
.schedule-panel .eyebrow { margin-bottom: 0.5rem; }
.schedule-panel > p { max-width: 58ch; color: var(--ink-soft); font-size: 0.93rem; }
.schedule-actions { margin: 1.2rem 0 0; }
.schedule-actions .btn { width: 100%; }
.scheduler-missing {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: #fdf4e2;
  border: 1px solid #f0d9ad;
  border-radius: 10px;
}
.scheduler-missing p { margin: 0; color: #74531a; font-size: 0.83rem; line-height: 1.5; }
.scheduler-missing code {
  padding: 0.08rem 0.28rem;
  border-radius: 4px;
  background: rgba(116, 83, 26, 0.1);
  font-size: 0.85em;
}
.panel-note { margin: 0.85rem 0 0; color: var(--muted); font-size: 0.76rem; }
.prepare-panel h2,
.help-panel h2 { margin-bottom: 0.8rem; font-size: 1.25rem; }
.prepare-panel .check-list { margin: 0; }
.help-panel p { color: var(--ink-soft); font-size: 0.9rem; }
.help-panel a { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.help-panel .btn { margin-top: 0.3rem; }

/* Testing access gate */
html:not(.access-granted):not(.access-disabled) { overflow: hidden; }
html:not(.access-granted):not(.access-disabled) body > :not(.access-gate):not(script) {
  visibility: hidden;
}
.access-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  overflow-y: auto;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(200, 241, 105, 0.28), transparent 62%),
    radial-gradient(700px 520px at 6% 12%, rgba(14, 92, 67, 0.08), transparent 62%),
    var(--bg);
}
.access-gate::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76' viewBox='0 0 76 76'%3E%3Cpath d='M38 5 67 22v32L38 71 9 54V22Z' fill='none' stroke='%230e5c43' stroke-opacity='.075' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.15) 80%, transparent);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.15) 80%, transparent);
  pointer-events: none;
}
.access-gate-card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.access-gate-brand { margin-bottom: 1.5rem; }
.access-gate-brand .brand-mark { width: 40px; height: 40px; }
.access-gate h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.access-gate-copy {
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.access-gate-form label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.access-gate-field { display: flex; gap: 0.6rem; }
.access-gate-field input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}
.access-gate-field input:focus-visible {
  outline: 3px solid rgba(14, 92, 67, 0.22);
  outline-offset: 2px;
  border-color: var(--green);
}
.access-gate-field .btn { flex: none; border-radius: 12px; }
.access-gate-error {
  margin: 0.7rem 0 0;
  padding: 0.6rem 0.75rem;
  background: #fdecea;
  border: 1px solid #f3c7c3;
  border-radius: 8px;
  color: var(--danger);
  font-size: 0.82rem;
  line-height: 1.5;
}
.access-gate-help {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}
.access-granted .access-gate,
.access-disabled .access-gate { display: none; }

/* Reveal animations */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.js .price-card-featured[data-reveal].is-visible { transform: translateY(-8px); }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: min(100%, 580px); margin-inline: auto; }
  .float-badge { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
  .section-lede { max-width: 62ch; }
  .book-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .scheduler-preview { width: min(100%, 620px); }
  .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
  .faq-intro { position: static; }
  .tutor-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .tutor-visual { width: min(100%, 380px); }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-side { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .price-card-featured { transform: none; order: -1; }
  .js .price-card-featured[data-reveal].is-visible { transform: none; }
  .steps { grid-template-columns: 1fr; max-width: 620px; }
  .quote-grid { grid-template-columns: 1fr; max-width: 620px; }
  .quote-card blockquote { font-size: 1.28rem; }
  .consult-banner { flex-direction: column; align-items: flex-start; }
  .consult-banner .btn { width: 100%; }
  .booking-side { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--maxw)); }
  html { scroll-padding-top: 84px; }
  .header-inner { min-height: 70px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text { font-size: 1.05rem; }
  .brand-text span { font-size: 0.56rem; letter-spacing: 0.08em; }
  .header-actions > .btn-primary { display: none; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 16px 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(20, 37, 29, 0.1);
  }
  .site-nav.open { display: flex; }
  .site-nav > a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.95rem;
  }
  .site-nav > a::after { display: none; }
  .site-nav > a:last-child { border-bottom: 0; }
  .nav-cta-mobile {
    display: block;
    margin-top: 0.7rem;
    padding: 0.75rem 1rem !important;
    border: 0 !important;
    border-radius: 10px;
    background: var(--green);
    color: #fff !important;
    text-align: center;
  }
  .hero { padding-top: 2.8rem; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .hero-actions,
  .book-actions,
  .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn,
  .book-actions .btn,
  .cta-actions .btn { width: 100%; }
  .hero-card { padding: 1.2rem; }
  .hero-card h2 { font-size: 1.55rem; }
  .hero-points { flex-direction: column; gap: 0.5rem; }
  .course-strip-inner { flex-direction: column; align-items: flex-start; gap: 0.7rem; padding: 1rem 0; }
  .course-strip-inner ul { justify-content: flex-start; }
  .topic-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: clamp(2rem, 8vw, 2.7rem); }
  .tutor-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; width: 100%; }
  .tutor-card { grid-column: 1 / -1; }
  .tutor-badge { position: static; }
  .tutor-actions { flex-direction: column; align-items: stretch; }
  .tutor-actions .btn { width: 100%; }
  .consult-banner { padding: 1.25rem; }
  .pricing-note { text-align: left; }
  .scheduler-window { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .booking-hero { padding-top: 2.4rem; }
  .booking-hero h1 { font-size: clamp(2.2rem, 9vw, 3.1rem); }
  .booking-side { grid-template-columns: 1fr; }
  .order-row { flex-direction: column; gap: 0.2rem; }
  .order-row strong { text-align: left; }
  .panel { padding: 1.3rem; }
}

@media (max-width: 480px) {
  .hero-card-top { align-items: flex-start; }
  .hero-card-meta { padding-top: 0.25rem; }
  .reaction-board { padding: 0.3rem; }
  .hero-card-note { flex-direction: column; gap: 0.3rem; }
  .price { font-size: 3rem; }
  .quote-card { padding: 1.25rem; }
  .tutor-card { padding: 1.5rem 1.2rem; }
  .tutor-monogram { width: 92px; height: 92px; font-size: 2.1rem; }
  .access-gate-field { flex-direction: column; }
  .access-gate-field .btn { width: 100%; }
  .faq-item summary { padding: 1rem 0; font-size: 0.93rem; }
  .faq-item p { padding-right: 0; }
  .cta-panel { border-radius: 22px; }
  .dialog-inner { padding: 1.4rem; }
  .dialog-actions { flex-direction: column; }
  .dialog-actions .btn { width: 100%; }
  .cal-grid span { min-height: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .price-card-featured[data-reveal].is-visible { transform: translateY(-8px); }
}

