@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

.book-marketing {
  --book-ink: #19152d;
  --book-muted: #49445e;
  --book-paper: #faf9fd;
  --book-violet: #5034a2;
  --book-dark: #211a39;
  margin: 0;
  color: var(--book-ink);
  background: var(--book-paper);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.book-marketing *, .book-marketing *::before, .book-marketing *::after { box-sizing: border-box; }
.book-marketing :where(h1, h2, h3, p, figure, dl, dd) { margin: 0; }
.book-marketing a { color: inherit; text-decoration: none; }
.book-marketing a:focus-visible { outline: 3px solid #5b3ac7; outline-offset: 4px; }
.book-marketing img { display: block; max-width: 100%; }
.book-marketing em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.book-marketing section[id] { scroll-margin-block: 1.5rem; }

.book-shell { width: min(100% - clamp(2.5rem, 8vw, 8rem), 82rem); margin-inline: auto; }

.book-skip {
  position: absolute;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  padding: .6rem 1rem;
  color: white !important;
  background: var(--book-dark);
  border-radius: .6rem;
  transform: translateY(-200%);
}

.book-skip:focus { transform: none; }

.book-header {
  position: relative;
  z-index: 1;
  top: 1.35rem;
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  gap: clamp(.85rem, 2.4vw, 2rem);
  min-height: 4.1rem;
  padding: .5rem .55rem .5rem 1.2rem;
  border: 1px solid #ffffffdf;
  border-radius: 100rem;
  background: #ffffffb8;
  box-shadow: 0 8px 26px #423b8116, 0 1px 2px #4e398c0e;
  backdrop-filter: blur(18px);
}

.book-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .55rem;
  white-space: nowrap;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -.045em;
}

.book-brand img { flex: 0 0 auto; border-radius: 25%; }
.book-brand strong { color: var(--book-violet); font-weight: 800; }
.book-nav, .book-header-actions { display: flex; align-items: center; gap: clamp(.85rem, 2.4vw, 2rem); }
.book-nav a, .book-login { font-size: .91rem; font-weight: 670; }
.book-nav a:hover, .book-login:hover { color: var(--book-violet); text-decoration: underline; text-underline-offset: .24em; }
.book-header-actions { justify-self: end; gap: clamp(.65rem, 1.6vw, 1.4rem); }
.book-login { display: inline-flex; align-items: center; min-height: 2.75rem; white-space: nowrap; }

.book-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  padding: .61rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 100rem;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.book-button span { font-size: 1.02em; }
.book-button.book-button-dark { color: #fff; background: var(--book-dark); box-shadow: 0 3px 6px #211a3921; }
.book-button.book-button-dark:hover { background: #3a295f; }
.book-button.book-button-light { background: #ffffff66; border-color: #54448537; }
.book-button.book-button-light:hover { background: #fff; border-color: #5444856c; }
.book-button.book-button-compact { min-height: 2.75rem; padding-inline: .95rem; font-size: .86rem; }

.book-hero {
  position: relative;
  isolation: isolate;
  margin-top: -4.1rem;
  padding-block: clamp(9rem, 12.5vw, 12rem) clamp(4.35rem, 8vw, 8rem);
  overflow: clip;
  background:
    radial-gradient(ellipse at 87% 2%, #fbc0f4bd, transparent 44%),
    radial-gradient(ellipse at 16% 9%, #d0e7ffa8, transparent 49%),
    radial-gradient(ellipse at 83% 70%, #9da2f698, transparent 58%),
    radial-gradient(ellipse at 47% 25%, #eeedffe6, transparent 58%),
    linear-gradient(153deg, #f3f5ff 1%, #cfdffb 48%, #e8c5f9 100%);
}

.book-hero::before, .book-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.book-hero::before {
  width: 140%;
  height: 83%;
  left: -12%;
  top: 40%;
  border-radius: 50%;
  transform: rotate(-15deg);
  background: radial-gradient(ellipse at 40% -36%, #ffffff99 21%, #d8f6ff94 39%, #8e9df659 52%, #b39af333 63%, transparent 73%);
  filter: blur(clamp(13px, 2vw, 30px));
}

.book-hero::after {
  inset: auto 0 0;
  height: clamp(3rem, 10vw, 8rem);
  background: linear-gradient(0deg, var(--book-paper), #faf9fd00);
}

.book-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(1.7rem, 5vw, 5.3rem);
}

.book-hero-copy { position: relative; z-index: 1; padding-block: .45rem; }
.book-hero h1 {
  font-size: clamp(3.45rem, 5.55vw, 6.05rem);
  font-weight: 710;
  line-height: .96;
  letter-spacing: -.07em;
}

.book-hero h1 em {
  display: block;
  color: var(--book-violet);
  font-size: 1.18em;
  letter-spacing: -.065em;
  line-height: .98;
}

.book-hero-copy p {
  width: min(100%, 30rem);
  margin-top: clamp(1rem, 2.2vw, 1.7rem);
  color: #39344e;
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
  text-wrap: pretty;
}

.book-hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: clamp(1.45rem, 2.7vw, 2.05rem); }

.book-preview { position: relative; min-width: 0; width: 100%; }
.book-preview-frame {
  position: relative;
  display: grid;
  gap: .35rem;
  padding: .52rem;
  border: 1px solid #ffffffdc;
  border-radius: 1.42rem;
  background: linear-gradient(147deg, #fffffff0, #f4edff96);
  box-shadow: 0 35px 75px -30px #402d8f67, 0 13px 36px -17px #402d8f4d, 0 1px 4px #44358317;
}

.book-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .1rem .7rem;
  padding: .2rem .38rem;
  color: #454056;
  font-size: .73rem;
}

.book-preview-context { display: flex; align-items: center; gap: .35rem; font-weight: 750; }
.book-preview-context img { border-radius: 25%; }
.book-preview-image { overflow: hidden; border: 1px solid #403d6320; border-radius: .92rem; background: #f8f8fb; }
.book-preview-image img { width: 100%; height: auto; }

.book-product { padding-block: 1rem clamp(4rem, 7vw, 7rem); }
.book-section-intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); align-items: end; gap: .75rem 3rem; margin-bottom: clamp(1.25rem, 3vw, 2.15rem); }
.book-marketing h2 { font-size: clamp(2.55rem, 5vw, 4.25rem); font-weight: 690; line-height: 1.02; letter-spacing: -.072em; text-wrap: balance; }
.book-marketing h2 em { color: var(--book-violet); letter-spacing: -.055em; font-size: 1.13em; }
.book-section-intro p, .book-use-intro p { max-width: 27rem; color: var(--book-muted); font-size: clamp(1rem, 1.5vw, 1.16rem); text-wrap: pretty; }

.book-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.9vw, 1.3rem); }
.book-feature {
  display: grid;
  align-content: start;
  gap: .48rem;
  padding: clamp(1.15rem, 2.55vw, 2rem);
  border: 1px solid #fff;
  border-radius: 1.55rem;
}

.book-feature-blue { background: #e5eeff; }
.book-feature-lilac { background: #ebe6fb; }
.book-feature-pink { background: #f5e8f7; }
.book-feature h3 { font-size: clamp(1.16rem, 2.15vw, 1.48rem); line-height: 1.12; font-weight: 730; letter-spacing: -.04em; }
.book-feature p { color: #484359; font-size: .98rem; text-wrap: pretty; }
.book-symbol {
  position: relative;
  display: inline-block;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: .48rem;
  color: #4a3e83;
  background: #ffffffa9;
  border: 1px solid #fff;
  border-radius: .82rem;
}

.book-symbol::before, .book-symbol::after { position: absolute; content: ""; }
.book-symbol-booking::before { inset: .72rem .64rem .66rem; border: 1.5px solid; border-top-width: 4px; border-radius: .24rem; }
.book-symbol-booking::after { width: .44rem; height: .27rem; top: 1.2rem; left: 1.02rem; border: solid; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.book-symbol-clock::before { inset: .65rem; border: 1.5px solid; border-radius: 50%; }
.book-symbol-clock::after { top: .92rem; left: 1.16rem; width: .42rem; height: .46rem; border: solid; border-width: 0 0 1.5px 1.5px; }
.book-symbol-list::before { inset: .67rem .69rem; border: 1.5px solid; border-radius: .2rem; }
.book-symbol-list::after { top: .97rem; left: .92rem; width: .64rem; height: 1.5px; background: currentColor; box-shadow: 0 .25rem currentColor, 0 .5rem currentColor; }

.book-use-cases { padding-block: clamp(2.7rem, 5vw, 5rem); background: #f0eef9; }
.book-use-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.6rem clamp(2rem, 7vw, 7rem); align-items: start; }
.book-use-intro p { margin-top: .9rem; }
.book-use-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: .35rem 1.5rem; padding-block: 1rem; border-bottom: 1px solid #cbc4dc; }
.book-use-row:first-child { padding-top: .1rem; }
.book-use-row:last-child { padding-bottom: .1rem; border-bottom: 0; }
.book-use-row dt { font-weight: 740; letter-spacing: -.025em; }
.book-use-row dd { color: var(--book-muted); text-wrap: pretty; }

.book-final { padding-top: clamp(2.75rem, 6vw, 6rem); }
.book-final-inner {
  padding: clamp(2rem, 5.4vw, 4.5rem) clamp(1.35rem, 6vw, 5.8rem);
  border-radius: clamp(1.35rem, 3vw, 2rem);
  color: #fff;
  background:
    radial-gradient(ellipse at 85% 130%, #50398c, transparent 52%),
    radial-gradient(ellipse at 102% 6%, #5b3480, transparent 67%),
    linear-gradient(119deg, #211835, #261c47 66%, #332050);
}

.book-final h2 em { color: #d3b9ff; }
.book-final p { margin: .8rem 0 1.35rem; color: #f0e8ff; text-wrap: pretty; }
.book-button.book-button-invert { color: #211a39; background: #fff; }
.book-button.book-button-invert:hover { background: #e9dcff; }
.book-final a:focus-visible { outline-color: #f2e7ff; }

.book-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.25rem; }
.book-footer .book-brand { opacity: .9; }

@media (max-width: 62rem) {
  .book-hero-inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .book-hero h1 { font-size: clamp(2.85rem, 5.85vw, 3.6rem); }
  .book-hero-copy p { margin-top: 1.2rem; }
  .book-hero-actions .book-button { gap: .38rem; padding-inline: .85rem; font-size: .86rem; }
}

@media (max-width: 48rem) {
  .book-hero { padding-block: 7rem 3.8rem; }
  .book-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; }
  .book-hero-copy { padding: 0; }
  .book-hero h1 { font-size: clamp(3.85rem, 9.5vw, 5.15rem); }
  .book-hero h1 em { font-size: 1.16em; }
  .book-preview { max-width: 39rem; }
  .book-section-intro, .book-use-layout { grid-template-columns: minmax(0, 1fr); }
  .book-product-grid { gap: .65rem; }
}

@media (max-width: 37rem) {
  .book-shell { width: calc(100% - 2rem); }
  .book-header {
    top: .75rem;
    grid-template-columns: minmax(max-content, 1fr) auto;
    gap: .4rem;
    min-height: 3.55rem;
    padding: .3rem .32rem .3rem .62rem;
  }
  .book-header .book-brand { gap: .38rem; font-size: .98rem; }
  .book-header .book-brand img { width: 1.53rem; height: 1.53rem; }
  .book-nav { display: none; }
  .book-header-actions { gap: .62rem; }
  .book-header-actions .book-login { font-size: .83rem; }
  .book-header-actions .book-button { min-height: 2.65rem; gap: .2rem; padding-inline: .7rem; font-size: .78rem; }
  .book-hero { margin-top: -3.55rem; padding-block: 5.8rem 3.2rem; }
  .book-hero h1 { font-size: clamp(2.43rem, 11vw, 4rem); }
  .book-hero h1 em { font-size: 1.2em; }
  .book-product-grid { grid-template-columns: minmax(0, 1fr); }
  .book-preview-frame { padding: .36rem; gap: .2rem; border-radius: 1rem; }
  .book-preview-bar { padding: .15rem .22rem; font-size: .69rem; }
  .book-preview-image { border-radius: .7rem; }
  .book-use-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 22rem) {
  .book-header .book-button span, .book-hero-actions .book-button-light span { display: none; }
  .book-header .book-brand { gap: .33rem; font-size: .88rem; }
  .book-header .book-brand img { width: 1.35rem; height: 1.35rem; }
  .book-header-actions { gap: .38rem; }
  .book-header-actions .book-login { font-size: .78rem; }
  .book-header-actions .book-button { min-height: 2.75rem; padding-inline: .54rem; font-size: .75rem; }
  .book-hero-actions { gap: .42rem; }
  .book-hero-actions .book-button { gap: .3rem; padding-inline: .72rem; font-size: .82rem; }
  .book-final h2 { font-size: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) { .book-button { transition: none; } }
@media (prefers-reduced-transparency: reduce) { .book-header { background: #fff; backdrop-filter: none; } }
.book-legal { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.book-legal a { color: inherit; font-size: .875rem; }
