:root {
  --ink: #10172a;
  --muted: rgba(16, 23, 42, 0.68);
  --soft: rgba(255, 255, 255, 0.72);
  --line: rgba(16, 23, 42, 0.1);
  --accent: #00cfff;
  --brand-gradient: linear-gradient(135deg, #0050f0 0%, #00cfff 28%, #40ff60 48%, #ffb85c 64%, #ff375f 80%, #2f3dff 100%);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(950px 620px at 8% 4%, rgba(0, 207, 255, 0.22), transparent 62%),
    radial-gradient(860px 590px at 94% 6%, rgba(255, 55, 95, 0.16), transparent 60%),
    radial-gradient(780px 520px at 52% 100%, rgba(255, 184, 92, 0.16), transparent 62%),
    linear-gradient(145deg, #f8fbff, #fffdf7 48%, #f7fbff);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.book-page {
  min-height: 100vh;
  overflow-x: hidden;
  padding: 24px;
}

.book-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.book-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.08);
  padding: 12px 16px;
  backdrop-filter: blur(24px);
}

.book-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.book-brand-text {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.book-brand-gradient {
  background: var(--brand-gradient);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bookGradient 12s ease-in-out infinite alternate;
}

.book-nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.book-nav-links a,
.book-support-link {
  border: 1px solid rgba(16, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(16, 23, 42, 0.72);
  font-size: 0.9rem;
  font-weight: 760;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.book-nav-links a:last-child {
  border: 1.5px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)) padding-box,
    var(--brand-gradient) border-box;
  background-size: 100% 100%, 220% 220%;
  color: var(--ink);
  box-shadow: none;
  animation: bookGradient 12s ease-in-out infinite alternate;
}

.book-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 22px;
  align-items: stretch;
}

.book-intro,
.book-scheduler-card,
.book-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54)),
    radial-gradient(circle at 12% 14%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 42%),
    radial-gradient(circle at 86% 6%, rgba(255, 184, 92, 0.16), transparent 38%);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(26px);
}

.book-intro {
  min-height: 0;
  padding: 36px 46px;
}

.book-eyebrow {
  margin: 0 0 18px;
  color: rgba(16, 23, 42, 0.54);
  font-size: 0.76rem;
  font-weight: 860;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book-title {
  max-width: 12ch;
  margin: 0;
  font-size: 5rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.book-gradient-text {
  background: var(--brand-gradient);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bookGradient 12s ease-in-out infinite alternate;
}

.book-lede {
  max-width: 36rem;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.58;
}

.book-profile {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.58);
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 18px 46px rgba(15, 23, 42, 0.06);
}

.book-headshot {
  width: 188px;
  height: 188px;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 32px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--brand-gradient) border-box;
}

.book-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--booking-photo-position, center center);
}

.book-name {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.1;
}

.book-role {
  margin: 0.42rem 0 0;
  color: var(--accent);
  font-weight: 800;
}

.book-quote {
  margin: 20px 0 0;
  border-left: 3px solid var(--accent);
  color: rgba(16, 23, 42, 0.72);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.52;
  padding-left: 18px;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.book-primary,
.book-secondary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 860;
  text-decoration: none;
}

.book-primary {
  min-width: 170px;
  background: var(--brand-gradient);
  background-size: 220% 220%;
  color: white;
  box-shadow: 0 18px 34px rgba(0, 80, 240, 0.2);
  padding: 0.9rem 1.35rem;
  animation: bookGradient 12s ease-in-out infinite alternate;
}

.book-secondary {
  border: 1px solid rgba(16, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(16, 23, 42, 0.74);
  padding: 0.9rem 1.25rem;
}

.book-scheduler-card {
  min-height: 0;
  padding: 14px;
}

.book-scheduler-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 14px;
}

.book-scheduler-head p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.book-time-chip {
  flex: 0 0 auto;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, white);
  color: color-mix(in srgb, var(--accent) 74%, #10172a);
  font-size: 0.84rem;
  font-weight: 860;
  padding: 0.62rem 0.82rem;
}

.book-widget-wrap {
  overflow: hidden;
  min-height: 0;
  border: 0;
  border-radius: 26px;
  background: var(--brand-gradient);
  background-size: 260% 260%;
  padding: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 44px rgba(15, 23, 42, 0.08);
  animation: bookGradient 12s ease-in-out infinite alternate;
}

.calendly-inline-widget {
  width: 100%;
  min-width: 320px;
  height: 648px;
  border-radius: 24px;
  background: white;
  overflow: hidden;
}

.calendly-inline-widget iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px;
}

.book-waitlist-panel {
  display: grid;
  align-content: center;
  min-height: 100%;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    var(--hero-bg);
  border-radius: 24px;
}

.book-waitlist-panel h2 {
  max-width: 520px;
  margin: 0;
  color: #10172a;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.book-waitlist-panel p:not(.book-eyebrow) {
  max-width: 540px;
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.book-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.book-card {
  padding: 22px;
}

.book-card h3 {
  margin: 0 0 14px;
  font-size: 1.08rem;
}

.book-tags,
.book-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.book-tags li {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: rgba(16, 23, 42, 0.68);
  font-size: 0.86rem;
  font-weight: 760;
  padding: 0.58rem 0.76rem;
}

.book-list {
  display: grid;
  gap: 10px;
}

.book-list li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.book-list li::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.58rem;
  border-radius: 999px;
  background: var(--accent);
  vertical-align: 0.08em;
}

.book-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  color: rgba(16, 23, 42, 0.52);
  font-size: 0.88rem;
}

.book-fallback {
  display: none;
  color: var(--muted);
  line-height: 1.6;
  padding: 28px;
}

.book-fallback.is-visible {
  display: block;
}

.dc-consent-banner {
  top: auto !important;
  right: 42px !important;
  bottom: 32px !important;
  max-width: 330px !important;
  margin: 0 !important;
  border-radius: 18px !important;
}

.dc-consent-inner {
  gap: 8px !important;
  padding: 10px !important;
}

.dc-consent-copy h2 {
  font-size: 14px !important;
}

.dc-consent-copy p {
  display: none !important;
}

.dc-consent-actions {
  gap: 7px !important;
}

.dc-consent-actions button,
.dc-consent-link {
  padding: 8px 10px !important;
}

@keyframes bookGradient {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@media (min-width: 961px) {
  .book-page {
    height: 100dvh;
    min-height: 720px;
    overflow: hidden;
    padding: clamp(12px, 2dvh, 24px);
  }

  .book-shell {
    display: flex;
    height: 100%;
    flex-direction: column;
  }

  .book-nav {
    flex: 0 0 auto;
    min-height: clamp(58px, 7dvh, 72px);
    margin-bottom: clamp(10px, 1.6dvh, 18px);
    padding: 10px 16px;
  }

  .book-hero {
    flex: 1 1 auto;
    min-height: 0;
    grid-template-columns: minmax(360px, 0.82fr) minmax(430px, 1.18fr);
  }

  .book-intro,
  .book-scheduler-card {
    height: 100%;
    min-height: 0;
  }

  .book-scroll-cta {
    display: none;
  }

  .book-scheduler-card {
    display: flex;
    flex-direction: column;
  }

  .book-scheduler-head {
    flex: 0 0 auto;
    padding: 10px 14px 12px;
  }

  .book-widget-wrap {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
  }

  .calendly-inline-widget {
    height: 100%;
    min-height: 0;
  }

  .book-fallback {
    position: absolute;
    right: 26px;
    bottom: 22px;
    left: 26px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    padding: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  }

  .book-fallback .book-primary {
    min-height: 44px;
    min-width: 150px;
  }

  .book-footer {
    display: none;
  }
}

@media (min-width: 961px) and (max-height: 850px) {
  .book-intro {
    padding: 26px 34px;
  }

  .book-eyebrow {
    margin-bottom: 12px;
    font-size: 0.68rem;
  }

  .book-title {
    font-size: 4rem;
  }

  .book-lede {
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .book-profile {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    margin-top: 18px;
    border-radius: 26px;
    padding: 12px;
  }

  .book-headshot {
    width: 150px;
    height: 150px;
    border-radius: 26px;
  }

  .book-name {
    font-size: 1.45rem;
  }

  .book-role,
  .book-quote {
    font-size: 0.9rem;
  }

  .book-quote {
    margin-top: 16px;
    line-height: 1.42;
  }

  .book-actions {
    margin-top: 16px;
  }

  .book-primary,
  .book-secondary {
    min-height: 44px;
    padding: 0.72rem 1.05rem;
  }
}

@media (max-width: 960px) {
  .book-page {
    min-height: 100vh;
    overflow: visible;
    padding: 16px;
  }

  .book-hero,
  .book-meta-grid {
    grid-template-columns: 1fr;
  }

  .book-intro,
  .book-scheduler-card {
    min-height: 0;
  }

  .book-intro {
    padding: 30px;
  }

  .book-title {
    max-width: 9ch;
    font-size: 4.2rem;
  }

  .book-lede {
    max-width: 32rem;
  }

  .book-profile {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .book-headshot {
    width: 180px;
    height: 180px;
  }

  .book-scheduler-card {
    min-height: 780px;
  }

  .book-widget-wrap {
    min-height: 700px;
  }

  .calendly-inline-widget {
    height: 700px;
  }
}

@media (max-width: 560px) {
  .book-page {
    padding: 10px;
  }

  .book-nav {
    position: sticky;
    top: 8px;
    z-index: 20;
    border-radius: 24px;
    gap: 8px;
    padding: 10px;
  }

  .book-brand {
    min-width: 0;
  }

  .book-brand-text {
    font-size: 0.95rem;
  }

  .book-nav-links {
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .book-nav-links a {
    font-size: 0.78rem;
    padding: 0.62rem 0.72rem;
    white-space: nowrap;
  }

  .book-intro,
  .book-scheduler-card,
  .book-card {
    border-radius: 26px;
  }

  .book-intro {
    padding: 24px;
  }

  .book-title {
    font-size: 3.2rem;
  }

  .book-lede {
    font-size: 1rem;
    line-height: 1.55;
  }

  .book-profile {
    grid-template-columns: 1fr;
    gap: 14px;
    border-radius: 26px;
    padding: 14px;
  }

  .book-headshot {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.78;
    border-radius: 30px;
  }

  .book-name {
    font-size: 1.8rem;
  }

  .book-role {
    max-width: 16rem;
  }

  .book-actions {
    display: grid;
  }

  .book-primary,
  .book-secondary {
    width: 100%;
  }

  .book-scheduler-card {
    padding: 10px;
    min-height: 780px;
  }

  .book-scheduler-head {
    display: flex;
    padding: 16px 14px;
  }

  .book-time-chip {
    display: inline-flex;
    margin-top: 0;
  }

  .book-widget-wrap {
    border-radius: 22px;
    min-height: 690px;
  }

  .calendly-inline-widget {
    min-width: 0;
    height: 690px;
  }

  .dc-consent-banner {
    top: auto !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    max-width: none !important;
    border-radius: 20px !important;
  }

  .dc-consent-inner {
    padding: 9px !important;
  }

  .dc-consent-copy {
    display: none !important;
  }

  .dc-consent-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .dc-consent-link {
    display: none !important;
  }
}
