/* ==========================================================================
   Anestha — Landing page
   Palette and type recreated from the Anestha branding handoff design.
   ========================================================================== */

:root {
  --bg:            oklch(0.99 0.004 230);   /* near-white page background   */
  --ink:           oklch(0.20 0.022 235);   /* primary dark text / dark bg  */
  --accent:        oklch(0.56 0.115 235);   /* brand blue                   */
  --accent-hover:  oklch(0.50 0.115 235);
  --teal:          oklch(0.74 0.10 200);    /* brand teal accent            */
  --border:        oklch(0.95 0.012 220);
  --border-strong: oklch(0.89 0.014 220);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.mark { display: block; flex: none; }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 10px;
  white-space: nowrap;
  border: none;
  box-shadow: none;
  transition: background-color 0.15s ease;
  cursor: pointer;
}
.btn:focus { outline: none; }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px oklch(0.56 0.115 235 / 0.3);
}
.btn--sm { font-size: 15px; padding: 11px 20px; border-radius: 9px; }
.btn--lg { font-size: 16px; }

.btn--primary { color: var(--bg); background: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary.btn--lg { padding: 15px 28px; }

.btn--ghost {
  color: oklch(0.28 0.025 232);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  padding: 14px 26px;
}
.btn--ghost:hover { background: oklch(0.97 0.008 220); }

.btn--light { color: var(--ink); background: var(--bg); padding: 14px 26px; }
.btn--light:hover { background: oklch(0.92 0.012 220); }

.btn--outline-light {
  color: var(--bg);
  background: transparent;
  border: 1px solid oklch(0.50 0.04 230);
  padding: 13px 24px;
}
.btn--outline-light:hover { background: oklch(0.26 0.045 240); }

.btn--outline-dark {
  color: var(--bg);
  background: transparent;
  border: 1px solid oklch(0.40 0.03 230);
  padding: 14px 28px;
}
.btn--outline-dark:hover { background: oklch(0.26 0.03 235); }

.cta .btn--primary.btn--lg { padding: 15px 30px; }

/* ---- Shared bits ----------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow--lg {
  font-size: 12px;
  letter-spacing: 0.28em;
  margin-bottom: 22px;
}
.eyebrow--teal { color: var(--teal); margin-bottom: 18px; }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 40px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 42px;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  max-width: 620px;
}
.section__title--mb { margin-bottom: 56px; }
.section__title--wide { max-width: 660px; }
.section__lede {
  font-size: 17px;
  line-height: 1.6;
  color: oklch(0.42 0.025 232);
  max-width: 560px;
  margin: 0 0 56px;
}

/* ---- Nav ------------------------------------------------------------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 40px;
}
.nav__brand { display: flex; align-items: center; gap: 11px; }
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link { font-size: 15px; color: oklch(0.40 0.025 232); }
.nav__link:hover { color: var(--ink); }

/* ---- Hero ------------------------------------------------------------ */
.hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 40px 40px;
  text-align: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.hero__lede {
  font-size: 19px;
  line-height: 1.6;
  color: oklch(0.42 0.025 232);
  max-width: 580px;
  margin: 0 auto 34px;
}
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}
.platform-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.58 0.028 230);
}
.platform-line__sep { color: oklch(0.80 0.02 220); }

/* ---- Device showcase ------------------------------------------------- */
.showcase {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 40px 28px;
}
.device { max-width: 900px; margin: 0 auto; }
.device__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 36px 80px -34px rgba(13, 30, 40, 0.55);
}

/* ---- Platforms ------------------------------------------------------- */
.platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.platform {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid oklch(0.92 0.012 220);
  border-radius: 12px;
  background: var(--bg);
}
.platform__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.platform__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.56 0.028 230);
}

/* ---- Trust strip ----------------------------------------------------- */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: oklch(0.985 0.006 225);
}
.trust__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 40px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.55 0.025 232);
}

/* ---- Features -------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
}
.feature__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: oklch(0.95 0.014 220);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.feature__text {
  font-size: 15px;
  line-height: 1.6;
  color: oklch(0.44 0.025 232);
  margin: 0;
}

/* ---- How it works ---------------------------------------------------- */
.how {
  background: oklch(0.985 0.006 225);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 40px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 18px;
}
.step__rule {
  height: 1px;
  background: oklch(0.90 0.014 220);
  margin-bottom: 18px;
}
.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 10px;
}
.step__text {
  font-size: 15px;
  line-height: 1.6;
  color: oklch(0.44 0.025 232);
  margin: 0;
}

/* ---- Curriculum ------------------------------------------------------ */
.curriculum {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.curriculum__available {
  padding: 38px;
  border: 1px solid oklch(0.82 0.06 200);
  border-radius: 16px;
  background: oklch(0.985 0.012 200);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.42 0.07 200);
  background: oklch(0.92 0.04 200);
  padding: 6px 11px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(0.62 0.12 195);
}
.curriculum__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.curriculum__text {
  font-size: 15px;
  line-height: 1.6;
  color: oklch(0.42 0.025 232);
  margin: 0 0 24px;
}
.curriculum__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.curriculum__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: oklch(0.30 0.025 232);
}
.curriculum__bullet { color: oklch(0.62 0.12 195); }

.roadmap {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
}
.roadmap__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.56 0.028 230);
  margin-bottom: 20px;
}
.roadmap__list { display: flex; flex-direction: column; gap: 2px; }
.roadmap__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid oklch(0.96 0.01 220);
}
.roadmap__row:last-child { border-bottom: none; }
.roadmap__name { font-size: 15px; color: oklch(0.45 0.025 232); }
.roadmap__soon {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: oklch(0.65 0.025 230);
}

/* ---- Educators / B2B ------------------------------------------------- */
.educators {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px 88px;
}
.educators__card {
  background: oklch(0.30 0.055 240);
  border-radius: 20px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  color: var(--bg);
}
.educators__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 38px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.educators__text {
  font-size: 16px;
  line-height: 1.65;
  color: oklch(0.86 0.018 220);
  margin: 0 0 28px;
  max-width: 440px;
}
.educators__actions { display: flex; gap: 12px; }
.educators__points { display: flex; flex-direction: column; gap: 14px; }
.point {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: oklch(0.26 0.045 240);
  border-radius: 12px;
}
.point__arrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  flex: none;
}
.point__text { font-size: 15px; color: oklch(0.92 0.012 220); }

/* ---- CTA ------------------------------------------------------------- */
.cta { background: var(--ink); color: var(--bg); }
.cta__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 40px;
  text-align: center;
}
.cta__mark { margin: 0 auto 26px; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 46px;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.cta__text {
  font-size: 18px;
  line-height: 1.6;
  color: oklch(0.82 0.018 220);
  max-width: 500px;
  margin: 0 auto 32px;
}
.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* ---- Footer ---------------------------------------------------------- */
.footer { background: oklch(0.16 0.02 235); color: var(--bg); }
.footer__top {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 40px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}
.footer__blurb {
  font-size: 14px;
  line-height: 1.6;
  color: oklch(0.70 0.02 225);
  max-width: 260px;
  margin: 0;
}
.footer__heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.62 0.03 220);
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
  color: oklch(0.80 0.018 222);
}
.footer__links a:hover { color: var(--bg); }
.footer__bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 40px 40px;
  border-top: 1px solid oklch(0.24 0.02 235);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: oklch(0.58 0.025 225);
}
.footer__tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: oklch(0.58 0.025 225);
}

/* ---- Contact form ---------------------------------------------------- */
.contact {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 40px;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact__lede { margin-bottom: 24px; }
.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: oklch(0.42 0.025 232);
}
.contact__detail-arrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  flex: none;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  box-shadow: 0 14px 40px -30px rgba(13, 30, 40, 0.28);
}
.field { display: flex; flex-direction: column; gap: 7px; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field--hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.field__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.45 0.025 232);
}
.field__optional { text-transform: none; letter-spacing: 0; color: oklch(0.60 0.02 230); }
.field__input {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: oklch(0.99 0.004 230);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.56 0.115 235 / 0.15);
}
.field__textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
select.field__input { appearance: none; cursor: pointer; }

.contact-form__footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.contact-form__status {
  margin: 0;
  font-size: 14px;
  color: oklch(0.45 0.025 232);
}
.contact-form__status.is-success { color: oklch(0.50 0.10 200); }
.contact-form__status.is-error { color: oklch(0.55 0.16 25); }
.contact-form__status.is-pending { color: oklch(0.50 0.025 232); }

/* ---- Video lightbox -------------------------------------------------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal[hidden] { display: none; }
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0.16 0.02 235 / 0.72);
  backdrop-filter: blur(2px);
}
.video-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
}
.video-modal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
}
.video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: var(--bg);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.video-modal__close:hover { background: oklch(0.99 0.004 230 / 0.15); }
.video-modal__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px oklch(0.99 0.004 230 / 0.4);
}

/* ==========================================================================
   Responsive — the design is authored at 1280px; these breakpoints keep it
   legible and intact on tablet and mobile.
   ========================================================================== */
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; gap: 16px; }
  .nav__links { gap: 22px; flex-wrap: wrap; }

  .hero__title { font-size: 46px; }

  .section__title { font-size: 34px; }

  .steps { grid-template-columns: 1fr; gap: 28px; }

  .curriculum { grid-template-columns: 1fr; }

  .educators__card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 32px;
  }
  .educators__title { font-size: 32px; }

  .cta__title { font-size: 36px; }

  .contact__inner { grid-template-columns: 1fr; gap: 36px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .nav, .hero, .showcase, .section, .how__inner, .educators,
  .cta__inner, .contact, .footer__top, .footer__bottom, .trust__inner {
    padding-left: 22px;
    padding-right: 22px;
  }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .field--half { grid-column: 1 / -1; }
  .hero { padding-top: 40px; }
  .hero__title { font-size: 38px; }
  .hero__lede { font-size: 17px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .feature-grid { grid-template-columns: 1fr; }
  .curriculum__items { grid-template-columns: 1fr; }

  .educators__actions { flex-direction: column; }
  .educators__actions .btn { width: 100%; }

  .cta__actions { flex-direction: column; }
  .cta__actions .btn { width: 100%; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}
