:root {
  /* Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-white-transparent-90: rgba(255, 255, 255, 0.9);
  --color-black-transparent-50: rgba(0, 0, 0, 0.5);

  /* Spacing */
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;

  /* Typography */
  --font-family: 'Lato', Arial, sans-serif;
  --font-weight-normal: 500;
  --font-weight-bold: 700;
  --font-weight-extra-bold: 900;

  /* Border radius */
  --radius-pill: 3em;
  --radius-sm: 1rem;

  /* Dark mode */
  --dark-mode-black: #000000e8;

  /* Clamp */
  --clamp-preferred-size: 4vw;
}

.klaviyo-slideup {
  pointer-events: none; /* block clicks on the main container */
}

.klaviyo-slideup::before { /* the visible triangle pseudo-element */
  pointer-events: auto; /* enable clicks only here */
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: var(--font-family);
  font-size: 100%;
  color: var(--color-black);
  line-height: 1.5;
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

:focus {
  outline: 1px solid var(--color-white);
}

/* General */
header,
.legal > main {
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--color-white);
  padding-block: var(--space-lg);
  padding-inline: clamp(
    var(--space-md),
    var(--clamp-preferred-size),
    var(--space-xl)
  );
  background-color: var(--color-black);
  background: linear-gradient(
      var(--color-black-transparent-50),
      var(--color-black-transparent-50)
    ),
    url('images/LP-Hero.png') center/cover no-repeat;
  background-attachment: fixed;
  background-position: calc(50% - 24px);
}

section {
  margin-block: var(--space-lg);
  padding-inline: clamp(
    var(--space-md),
    var(--clamp-preferred-size),
    var(--space-xl)
  );
  margin-inline: auto;
  max-width: 74rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal nav {
  justify-content: center;
}

nav > ul {
  display: flex;
  gap: 2em;
}

nav a {
  box-shadow: inset 0 0 0 0 var(--color-white);
  color: var(--color-white);
  margin: -0.5rem -1rem;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-pill);
  transition: color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

nav a:hover {
  box-shadow: inset 100px 0 0 0 var(--color-white);
  color: var(--color-black);
}

.legal nav a {
  margin: unset;
  padding: unset;
}

.legal nav a:hover {
  box-shadow: unset;
  color: unset;
}

footer {
  padding-block: var(--space-xl);
  padding-inline: clamp(
    var(--space-md),
    var(--clamp-preferred-size),
    var(--space-xl)
  );
  background-color: var(--color-black);
  color: var(--color-white);
  position: relative;
  z-index: 90001;
}
footer > div {
  margin-inline: auto;
  max-width: 74rem;
}
/* Typography */
h1 {
  font-size: clamp(
    var(--space-lg),
    var(--clamp-preferred-size),
    calc(var(--space-lg) + 0.5rem)
  );
  line-height: 1;
  font-weight: var(--font-weight-normal);
  text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
}
.legal h1 {
  font-size: 2rem;
  text-shadow: unset;
  font-weight: 700;
}

h1 > span {
  color: #ffffffde;
  letter-spacing: 0.125rem;
  font-weight: 500;
}

h2 {
  font-size: clamp(
    var(--space-xl),
    var(--clamp-preferred-size),
    var(--space-xxl)
  );
  line-height: 1;
}

.legal h2 {
  font-size: 1.5rem;
  margin-top: var(--space-md);
}

h3 {
  font-weight: var(--font-weight-bold);
  font-size: 1.125rem;
  line-height: 1.1;
}

strong {
  font-weight: var(--font-weight-bold);
}

/* Klaviyo */
button.klaviyo-close-form {
  background-color: #ffffff;
}

/* Classes */
.padding-top-sm {
  padding-top: var(--space-sm);
}
.hero-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(1rem, var(--clamp-preferred-size), 5rem);
  height: 100%;
}

.text-sm {
  font-size: 0.75rem;
}

.hero-overlay p {
  color: #ffffffde;
  letter-spacing: 0.075rem;
  font-weight: 500;
  text-shadow: 0 2px 4px;
  text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
}

.hero-overlay .btn {
  margin-top: 34vh;
}

.legal-overlay {
  margin-block: var(--space-lg);
  margin-inline: auto;
  padding-block: var(--space-lg);
  padding-inline: clamp(
    var(--space-md),
    var(--clamp-preferred-size),
    var(--space-xl)
  );
  height: 74vh;
  height: 74dvh;
  max-width: 46rem;
  background-color: rgba(255, 255, 255, 0.75);
  color: var(--color-black);
  border-radius: var(--radius-sm);
}

.legal-overlay-inner {
  height: 100%;
  overflow-y: auto;
}

.legal-overlay p,
.legal-overlay h1,
.legal-overlay h2 {
  max-width: 38rem;
  margin-inline: auto;
}

.logo {
  max-width: 10rem;
}

[id='about'] > p,
[id='pricing'] > div,
[id='booking'] > div,
[id='faq'] > .item {
  max-width: 38rem;
  margin-inline: auto;
}

[id='about'] p {
  margin-top: var(--space-md);
}

[id='about'] > p:first-of-type {
  margin-top: 1.25rem;
}

.underline {
  text-decoration-line: underline; /* or just text-decoration: underline; */
  text-decoration-style: dotted;
  text-decoration-color: currentColor;
}

.btn {
  background-color: var(--color-white-transparent-90);
  display: inline-block;
  padding: 1em 3em;
  color: var(--color-black);
  border-radius: var(--radius-pill);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.25s ease-in-out;
}

.btn-secondary {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn:hover {
  transform: scale(1.04);
}

.btn-secondary:hover {
  opacity: 0.75;
}

.center-text {
  text-align: center;
}

.margin-top-sm {
  margin-top: var(--space-sm);
}

.margin-top-md {
  margin-top: var(--space-md);
}

.margin-top {
  margin-top: var(--space-lg);
}

.margin-top-xl {
  margin-top: var(--space-xl);
}

.max-width-20 {
  max-width: 20rem;
}

.item {
  margin-top: var(--space-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  align-items: center;
}

.item:nth-child(odd) {
  direction: rtl; /* flips column order */
}

.item:nth-child(odd) * {
  text-align: left;
  direction: ltr;
}

.item:first-of-type {
  margin-top: 1.25rem;
}

.label {
  font-size: clamp(
    var(--space-lg),
    var(--clamp-preferred-size),
    var(--space-xl)
  );
  font-weight: bold;
  line-height: 1;
}

footer .logo {
  display: inline-block;
  max-width: 8rem;
}

.two-column {
  margin-top: var(--space-md);
  display: flex;
  gap: var(--space-md);
  font-style: normal;
}
.two-column .left,
.two-column .right {
  flex: 1;
  text-align: center;
}
/* responsive styles */
@media (max-width: 28rem) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }
  .two-column {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  header {
    background-attachment: initial;
  }
}

@supports (background-image: url('images/LP-Hero.webp')) {
  header, .legal > main {
    background-image: linear-gradient(
        var(--color-black-transparent-50),
        var(--color-black-transparent-50)
      ),
      url('images/LP-Hero.webp');
  }
}
