/* Kathy Prokop Nursing Tutoring: brand tokens from the Direction B kit */
:root {
  --sage: #2F5D50;
  --sage-dark: #1F4036;
  --coral: #E8836A;
  --coral-wash: #FBE3DB;
  --mint: #D3E4DC;
  --paper: #F7F8F5;
  --white: #FFFFFF;
  --charcoal: #1E2422;
  --muted: #3F4845;
  --line: #DCE5E0;

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --wrap: 1120px;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--sage); }
a:hover { color: var(--sage-dark); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-head); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 16px; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--sage); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 8px; }

.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage);
}
.section-title { font-weight: 800; font-size: clamp(30px, 4vw, 40px); line-height: 1.15; }
.lead { color: var(--muted); max-width: 720px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 12px;
  font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--sage);
  transition: background-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--sage); color: var(--white); }
.btn--primary:hover { background: var(--sage-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--sage); }
.btn--ghost:hover { background: var(--mint); color: var(--sage-dark); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand__sub { font-family: var(--font-head); font-weight: 500; font-size: 14px; color: var(--sage); }
.nav { display: flex; align-items: center; gap: 24px; font-weight: 500; font-size: 16px; }
.nav a:not(.btn) { color: var(--charcoal); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--sage); text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__badge {
  align-self: flex-start; padding: 6px 14px; border-radius: 999px;
  background: var(--mint); font-size: 14px; font-weight: 600;
}
.hero h1 { font-weight: 800; font-size: clamp(38px, 5.4vw, 58px); line-height: 1.08; letter-spacing: -0.03em; }
.hero__intro { font-size: 20px; line-height: 1.55; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { font-size: 15px; color: var(--muted); }
.hero__photo { flex: 0 1 400px; min-width: 0; display: flex; justify-content: center; padding-right: 20px; }
.photo-frame { position: relative; width: 100%; max-width: 400px; }
.photo-frame::before {
  content: ""; position: absolute; inset: 20px -20px -20px 20px;
  border-radius: 28px; background: var(--mint);
}
.photo-frame img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }

/* Topic cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.card h3 { font-size: 20px; }
.card p { font-size: 16px; color: var(--muted); }
.card svg { width: 32px; height: 32px; stroke: var(--sage); }
.note { margin-top: 24px; font-size: 15px; color: var(--muted); }

/* About */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.about__photo { flex: 1 1 240px; display: flex; justify-content: center; }
.about__photo img { width: 240px; height: 240px; object-fit: cover; border-radius: 50%; border: 6px solid var(--white); box-shadow: 0 1px 0 var(--line); }
.about__copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.credentials { font-size: 16px; font-weight: 600; letter-spacing: 0.04em; color: var(--sage); }
.about__copy > p:not(.eyebrow):not(.credentials) { color: var(--muted); }
.highlights { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.highlights li {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 2px;
}
.highlights strong { font-family: var(--font-head); font-size: 19px; color: var(--sage); }
.highlights strong.big { font-size: 26px; }
.highlights span { font-size: 15px; color: var(--muted); }

/* Pricing */
.pricing { background: var(--sage); color: var(--white); }
.pricing .eyebrow { color: var(--mint); }
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 36px; }
.price-card {
  position: relative; background: var(--white); color: var(--charcoal);
  border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 10px;
}
.price-card h3 { font-size: 22px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price strong { font-family: var(--font-head); font-weight: 800; font-size: 52px; line-height: 1; }
.price span, .price-card > p:last-child { color: var(--muted); }
.tag {
  position: absolute; top: 20px; right: 20px; padding: 4px 12px; border-radius: 999px;
  background: var(--coral-wash); font-size: 13px; font-weight: 600;
}

/* How it works + booking */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--mint); font-weight: 700;
}
.steps strong { font-family: var(--font-head); font-size: 19px; }
.steps span:last-child { font-size: 16px; color: var(--muted); }
.booking {
  margin-top: 32px; background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
}
/* Starting height only: the page script resizes it to Calendly's real content height. */
.calendly-inline-widget { min-width: 320px; height: 720px; }
.calendly-inline-widget iframe { height: 100% !important; }
.booking__fallback { padding: 16px 24px 24px; text-align: center; font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 19px; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 500; color: var(--sage); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-top: 6px; }

/* Footer */
.site-footer { background: var(--charcoal); color: var(--mint); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 40px; padding-bottom: 40px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--mint); }
.footer-name { font-family: var(--font-head); font-weight: 700; color: var(--white); }
.disclaimer { flex-basis: 100%; font-size: 13px; color: #A9BDB4; }

/* Phones */
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 64px; }
  .hero .wrap { gap: 40px; }
  .brand { gap: 10px; }
  .brand svg { width: 38px; height: 38px; }
  .brand__name { font-size: 17px; white-space: nowrap; }
  .brand__sub { font-size: 13px; }
  .btn--small { padding: 0 14px; font-size: 15px; }
  .hero__photo { display: none; } /* the About section's round photo covers phones */
}

/* Booking confirmation page (/booked/) */
.confirm { padding: 64px 0 96px; }
.confirm__wrap { display: flex; justify-content: center; }
.confirm__card {
  width: 100%; max-width: 680px; background: var(--white); border: 1px solid var(--line);
  border-radius: 24px; padding: 48px 40px; display: flex; flex-direction: column; gap: 20px;
}
.confirm__check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--sage);
  display: flex; align-items: center; justify-content: center;
}
.confirm__check svg { width: 34px; height: 34px; }
.confirm h1 { font-weight: 800; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.confirm__lead { font-size: 19px; color: var(--muted); }
.confirm__when {
  background: var(--mint); border-radius: 14px; padding: 16px 20px;
  display: flex; flex-direction: column; gap: 2px;
}
.confirm__when[hidden] { display: none; }
.confirm__when-label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-dark); }
.confirm__when strong { font-family: var(--font-head); font-size: 20px; }
.confirm__subtitle { font-size: 22px; margin-top: 8px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--muted); }
.checklist strong { color: var(--charcoal); }
.checklist__icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--paper);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
}
.checklist__icon svg { width: 22px; height: 22px; stroke: var(--sage); }
.confirm__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 720px) {
  .confirm { padding: 32px 0 64px; }
  .confirm__card { padding: 32px 22px; border-radius: 20px; }
}
