/* Desktop layout from Figma 2378:3407; mobile uses the same LP content. */
:root {
  --lp-width: min(100vw, 500px);
}

html {
  background: #fff;
  scroll-behavior: smooth;
}

body {
  isolation: isolate;
}

.lp {
  position: relative;
  z-index: 1;
  width: var(--lp-width);
  max-width: none;
  padding-bottom: calc(var(--lp-width) * 86 / 375 + env(safe-area-inset-bottom));
}

.fixed-footer {
  width: var(--lp-width);
  max-width: none;
  height: calc(var(--lp-width) * 76 / 375 + env(safe-area-inset-bottom));
}

.desktop-brand,
.desktop-sidebar {
  display: none;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 8px;
  z-index: 100;
  padding: 12px 20px;
  background: white;
  color: #141316;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width:600px) {
  :root {
    --lp-width: 100vw;
  }
}

@media (min-width:601px) {
  html {
    background-color: #fff;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: url('../assets/pc-pattern.png') left top / 30px 30px repeat;
    opacity: .7;
  }

  body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border-inline: 30px solid #f57992;
  }
}

@media (min-width:1280px) {
  .desktop-brand {
    display: block;
    position: fixed;
    z-index: 5;
    left: calc((100vw - 500px) / 4 + 15px);
    top: 50%;
    width: 248px;
    transform: translate(-50%, -50%);
  }

  .desktop-brand img {
    display: block;
    width: 100%;
    height: auto;
  }

  .desktop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: fixed;
    z-index: 10;
    right: calc((100vw - 500px) / 4 + 15px);
    top: 50%;
    width: 338px;
    max-height: calc(100svh - 48px);
    overflow-y: auto;
    padding-block: 4px;
    transform: translate(50%, -50%);
  }

  .desktop-nav {
    display: flex;
    flex-direction: column;
    padding: 32px 32px 40px;
    border: 1px solid #141316;
    border-radius: 16px;
    background: #fff;
    flex-shrink: 0;
  }

  .desktop-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 57px;
    padding: 16px 0 16px 8px;
    border-bottom: 1px dashed #141316;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
  }

  .desktop-nav a:hover {
    color: #be2440;
  }

  .desktop-nav img {
    width: 25px;
    height: 25px;
    flex: none;
  }

  .desktop-reservation {
    position: relative;
    container-type: inline-size;
    height: 60px;
    min-height: 60px;
  }

  .desktop-reservation .fixed-cta {
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    font-size: 16px;
  }

  .desktop-reservation .fixed-cta::before {
    inset: 4px;
  }

  .desktop-reservation .illustration {
    left: 68px;
    top: 9px;
    width: 35px;
    height: 41px;
  }

  .desktop-reservation .reserve-label {
    left: 6px;
    top: -10px;
    width: 69px;
  }

  .desktop-reservation .arrow {
    right: 9px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}