:root {
  --brand: #0ea5e9;
  --brand-dark: #0284c7;
  --text: #0f172a;
  --muted: #475569;
  --bg: #fff;
  --ring: #e6e9ef;
  --max: 1280px;
  --header-h: 72px;
}

/* Resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Focus styles */
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(14, 165, 233, .35);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Header */
header.site-chrome {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

header.site-chrome.scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

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

.row {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Brand/Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform .2s;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand img {
  height: 42px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Desktop Navigation */
nav.links {
  display: none;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
}

nav.links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .2s;
}

nav.links a:hover {
  color: var(--brand);
  background: rgba(14, 165, 233, .08);
}

nav.links .book {
  background: var(--brand);
  color: white !important;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: all .2s;
}

nav.links .book:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, .25);
}

@media (min-width: 960px) {
  nav.links {
    display: flex;
  }
}

/* Menu Button */
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(0, 0, 0, .1);
  border-radius: 12px;
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: all .2s;
}

.menu:hover {
  background: rgba(14, 165, 233, .08);
  border-color: var(--brand);
  color: var(--brand);
}

.menu svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
}

@media (min-width: 960px) {
  .menu {
    display: none;
  }
}

/* Mobile Drawer */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, .44);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 2000;
}

.scrim.show {
  opacity: 1;
  pointer-events: auto;
}

#mobile {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(92vw, 420px);
  background: white;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0, 0, 0, .1);
}

#mobile.active {
  transform: translateX(0);
}

.mhd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  margin-bottom: 20px;
}

.mhd strong {
  font-size: 18px;
  color: var(--text);
}

#closeBtn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, .1);
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}

#closeBtn:hover {
  background: rgba(14, 165, 233, .08);
  border-color: var(--brand);
}

#closeBtn svg {
  width: 20px;
  height: 20px;
}

.mgrid {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.mbtn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(14, 165, 233, .04);
  border: 1px solid rgba(14, 165, 233, .1);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all .2s;
}

.mbtn[data-book] {
  justify-content: center;
  padding: 18px 0;
  background: linear-gradient(135deg, rgba(14,165,233,0.92), rgba(56,189,248,0.82));
  color: #fff;
  font-weight: 800;
  font-size: 1.18rem;
  border-radius: 999px;
  border: 2px solid rgba(14,165,233,0.22);
  box-shadow: 0 8px 32px rgba(14,165,233,0.13);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  letter-spacing: 0.01em;
}

.mbtn:hover {
  background: rgba(14, 165, 233, .1);
  border-color: var(--brand);
  transform: translateX(4px);
}

.mbtn[data-book]:hover {
  background: linear-gradient(135deg, rgba(14,165,233,1), rgba(56,189,248,0.95));
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 12px 36px rgba(14,165,233,0.18);
  transform: translateY(-2px) scale(1.03);
}

.mbtn span {
  opacity: .6;
  font-size: 18px;
}

.mcta {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.mcta a {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all .2s;
}

.mcta .call {
  background: var(--brand);
  color: white;
}

.mcta .call:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.mcta .txt {
  background: #25D366;
  color: white;
}

.mcta .txt:hover {
  background: #1fb855;
  transform: translateY(-1px);
}

body.noscroll {
  height: 100vh;
  overflow: hidden;
}

/* Footer */
footer {
  background: #0b1220;
  color: #d1d5db;
  padding: 60px 0 30px;
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

footer h4 {
  color: white;
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 700;
}

footer a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  padding: 6px 0;
  transition: color .3s;
}

footer a:hover {
  color: var(--brand);
}

.copy {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 20px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

/* Modal */
.sd-modal[hidden] {
  display: none;
}

.sd-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
}

.sd-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .55);
  backdrop-filter: saturate(120%) blur(2px);
}

.sd-modal__panel {
  position: relative;
  background: white;
  border-radius: 16px;
  width: min(920px, 92vw);
  height: min(92vh, 860px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  padding: 12px;
}

.sd-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}

.sd-modal__close:hover {
  background: rgba(14, 165, 233, .08);
  border-color: var(--brand);
}

#sd-book-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

.sr-only {
  position: absolute;
  left: -9999px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }
  
  .brand img {
    height: 36px;
  }
  
  .brand-name {
    font-size: 18px;
  }
  
  .brand-tagline {
    font-size: 10px;
  }
}

/* Respect reduced motion to improve UX/CLS */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}