/* Colors and type. Swap these to restyle the page.
   Sources are noted on each variable. */

:root {
  /* Luxtrava Orange. Brand site Colors collection, and the button fill on luxtrava.com. */
  --brand-primary: #db4a2b;
  /* Same Luxtrava Orange. Used for the featured button so it stands out. */
  --brand-accent: #db4a2b;
  /* Cream page wash. luxtrava.com body background, rgb(241, 239, 237). */
  --bg: #f1efed;
  /* Brand black. Brand site Colors collection. */
  --text: #000000;
  /* Darkened from luxtrava.com body text rgb(103, 118, 142) so small type stays WCAG AA on cream. */
  --text-muted: #3d4654;
  /* White buttons. Brand site color Pure White, on the cream card. */
  --button-bg: #ffffff;
  --button-text: #000000;
  /* Poppins is the heading font on luxtrava.com. The brand font library includes Poppins Black.
     One Google family, two weights, so the page stays fast. */
  --font-heading: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  /* Hover shade of Luxtrava Orange. Not a separate brand color. */
  --accent-hover: #c44126;
  /* luxtrava.com buttons use a 6px radius. 10px keeps that family on these larger tap targets. */
  --radius: 10px;
  --card-max: 440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.45;
  background-color: #1c1614;
  padding: max(16px, env(safe-area-inset-top)) 0 max(24px, env(safe-area-inset-bottom));
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background: #1c1614 url("images/bg.webp") center / cover no-repeat;
}

body::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(28, 16, 12, 0.18) 0%, rgba(20, 12, 10, 0.34) 100%);
}

.card {
  width: min(var(--card-max), calc(100% - 20px));
  margin: 0 auto;
  padding: 28px 18px 22px;
  background: var(--bg);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.masthead {
  text-align: center;
  margin-bottom: 22px;
}

.logo {
  display: block;
  width: min(250px, 78%);
  height: auto;
  margin: 0 auto 12px;
}

h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tagline {
  margin: 6px auto 0;
  max-width: 28ch;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--button-bg);
  color: var(--button-text);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.btn svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--brand-primary);
}

.btn-featured {
  background: var(--brand-accent);
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

.btn-featured svg {
  color: #ffffff;
}

a:focus-visible {
  outline: 3px solid #000000;
  outline-offset: 3px;
}

.btn-featured:focus-visible {
  outline-color: #000000;
}

.app-block {
  margin: 6px 0 2px;
  padding: 16px 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.app-block h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.app-note {
  margin: 6px auto 12px;
  max-width: 34ch;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
}

.store {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  text-align: left;
}

.store svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.store-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.store-kicker {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.store-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.is-ios [data-store="apple"],
.is-android [data-store="play"] {
  box-shadow: 0 0 0 3px var(--brand-accent);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.socials svg {
  width: 20px;
  height: 20px;
}

.save {
  margin: 14px 0 0;
  text-align: center;
}

.save a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
}

.copyright {
  margin-top: 10px;
  font-weight: 600;
}

.noscript-links {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.noscript-links a {
  color: var(--brand-primary);
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .store,
  .socials a {
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  }

  .btn:hover,
  .store:hover,
  .socials a:hover {
    transform: translateY(-1px);
  }

  .btn:active,
  .store:active,
  .socials a:active {
    transform: translateY(1px);
  }

  .btn:hover {
    background: #f7f5f3;
  }

  .btn-featured:hover {
    background: var(--accent-hover);
  }

  .masthead,
  .stack > * {
    animation: rise 0.45s ease both;
  }

  .stack > *:nth-child(2) { animation-delay: 0.04s; }
  .stack > *:nth-child(3) { animation-delay: 0.08s; }
  .stack > *:nth-child(4) { animation-delay: 0.12s; }
  .stack > *:nth-child(5) { animation-delay: 0.16s; }
  .stack > *:nth-child(6) { animation-delay: 0.2s; }
  .stack > *:nth-child(7) { animation-delay: 0.24s; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  body {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .card {
    padding: 32px 22px 26px;
  }
}
