:root {
  --ink: #061827;
  --navy: #071b2d;
  --navy-3: #123755;
  --blue: #86a8c0;
  --blue-2: #d9e8f1;
  --white: #ffffff;
  --line-dark: rgba(255, 255, 255, 0.16);
  --radius: 8px;
  --container: 1180px;
  --display: "Newsreader", Georgia, serif;
  --body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--navy); }
body {
  min-width: 320px;
  min-height: 100svh;
  font-family: var(--body);
  color: var(--ink);
  background: var(--navy);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.055;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 34px 34px;
  mix-blend-mode: overlay;
}
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }

.container {
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(6, 24, 39, 0.9), rgba(6, 24, 39, 0.55));
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
  animation: headerDrop 720ms cubic-bezier(.2,.8,.2,1) both;
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 158px;
}
.brand img {
  width: 148px;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 600;
}
.nav a:not(.nav-cta) {
  position: relative;
  padding: 10px 0;
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.nav-cta:hover { transform: translateY(-2px); background: var(--blue-2); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28); }
.menu-toggle { display: none; }

.scheduler-page {
  min-height: 100svh;
  padding-top: 72px;
  background: var(--white);
}
.scheduler-frame {
  display: block;
  width: 100%;
  height: calc(100svh - 72px);
  min-height: calc(100svh - 72px);
  border: 0;
  background: var(--white);
}

@keyframes headerDrop {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .header-inner { min-height: 64px; }
  .brand img { width: 138px; }
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 14px 18px;
    background: var(--navy);
    border-bottom: 1px solid var(--line-dark);
  }
  .nav.open { display: grid; }
  .nav a { padding: 14px 0; }
  .nav-cta { margin-top: 8px; color: var(--navy); }
  .menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    color: var(--white);
  }
  .scheduler-page {
    padding-top: 64px;
  }
  .scheduler-frame {
    height: calc(100svh - 64px);
    min-height: calc(100svh - 64px);
  }
}
