html,
body {
  margin: 0;
  min-height: 100%;
  background: #f5f4ed;
}

body {
  color: #2d3432;
}

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

button {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-layout-root {
  min-height: 100vh;
}

.landing-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 52, 50, 0.24) transparent;
}

.landing-scrollbar::-webkit-scrollbar {
  width: 10px;
}

.landing-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(45, 52, 50, 0.22);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}

[data-local-resource-open='true'] > div[class*='absolute'],
.local-resource-open > div[class*='absolute'] {
  opacity: 1 !important;
  transform: translate(-50%, 0) !important;
  pointer-events: auto !important;
}

.local-resource-open [class*='max-h-0'] {
  max-height: 160px !important;
}

.local-mobile-menu-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.local-mobile-menu-open > div:last-child {
  transform: translateY(0) !important;
}

.local-mobile-menu-open [class*='max-h-0'] {
  max-height: 160px !important;
}

.local-lang-open + div,
.local-lang-open ~ div {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.local-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.local-auth-modal--open {
  pointer-events: auto;
  opacity: 1;
}

.local-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 21, 20, 0.66);
}

.local-auth-modal__panel {
  position: relative;
  width: min(456px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border: 1px solid rgba(45, 52, 50, 0.16);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(18, 21, 20, 0.22);
  padding: 36px 32px 28px;
  color: #2d3432;
}

.local-auth-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #5e6663;
  cursor: pointer;
}

.local-auth-modal__close svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.local-auth-modal__eyebrow {
  margin: 0 36px 2px 0;
  font-family: Newsreader, 'Libre Baskerville', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: #c96442;
}

.local-auth-modal__title {
  margin: 0 36px 24px 0;
  font-family: 'Libre Baskerville', Newsreader, Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0;
  color: #2d3432;
}

.local-auth-modal__gift {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  border: 1px solid rgba(201, 100, 66, 0.03);
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(255, 227, 87, 0.15) 0%,
    rgba(255, 219, 113, 0.15) 12%,
    rgba(221, 248, 255, 0.15) 60%,
    rgba(255, 191, 192, 0.15) 100%
  );
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.local-auth-modal__gift svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #2d3432;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.local-auth-modal__gift strong {
  color: #c96442;
  font-weight: 700;
}

.local-auth-modal__providers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.local-auth-provider {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fff;
  color: #202322;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition: border-color 160ms ease, background 160ms ease;
}

.local-auth-provider:hover {
  border-color: #c9cbc8;
  background: #fbfbfa;
}

.local-auth-provider svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.local-auth-provider__google {
  width: 22px;
  height: 22px;
}

.local-auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 0 12px 16px;
  color: #a8aaa8;
  font-size: 14px;
  font-style: normal;
}

.local-auth-divider span {
  height: 1px;
  background: #e5e5e5;
}

.local-auth-divider em {
  font-style: normal;
}

.local-auth-email {
  display: block;
  margin-bottom: 16px;
}

.local-auth-email input {
  width: 100%;
  height: 48px;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
  padding: 0 16px;
  color: #2d3432;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.local-auth-email input:focus {
  border-color: #2d3432;
}

.local-auth-email input::placeholder {
  color: #898b88;
}

.local-auth-continue {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #2d3432;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.local-auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  font-size: 13px;
  line-height: 20px;
}

.local-auth-links a {
  color: #202322;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.local-auth-links span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #ececec;
}

.local-auth-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .landing-layout-root {
    height: auto;
  }

  .local-auth-modal {
    padding: 14px;
  }

  .local-auth-modal__panel {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
    border-radius: 18px;
    padding: 34px 20px 24px;
  }

  .local-auth-modal__close {
    top: 14px;
    right: 14px;
  }

  .local-auth-modal__eyebrow {
    margin-bottom: 2px;
    font-size: 18px;
    line-height: 28px;
  }

  .local-auth-modal__title {
    margin: 0 32px 20px 0;
    font-size: 24px;
    line-height: 34px;
  }

  .local-auth-modal__gift {
    min-height: 42px;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .local-auth-modal__gift svg {
    width: 18px;
    height: 18px;
  }

  .local-auth-modal__providers {
    gap: 10px;
    margin-bottom: 22px;
  }

  .local-auth-provider {
    min-height: 48px;
    gap: 10px;
    border-radius: 12px;
    font-size: 14px;
  }

  .local-auth-provider svg {
    width: 22px;
    height: 22px;
  }

  .local-auth-divider {
    gap: 16px;
    margin-bottom: 14px;
    font-size: 14px;
  }

  .local-auth-email {
    margin-bottom: 14px;
  }

  .local-auth-email input,
  .local-auth-continue {
    height: 48px;
    border-radius: 12px;
    font-size: 14px;
  }

  .local-auth-email input {
    padding: 0 16px;
  }

  .local-auth-links {
    gap: 20px;
    margin-top: 24px;
    font-size: 13px;
  }
}
