/* /reserve and /reserved. Self-contained: shares the homepage fonts and
   palette but none of its stylesheets, so the ad landing page stays light. */

@font-face {
  font-family: "Sunghyun Sans";
  src: url("assets/fonts/SunghyunSans-Regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Sunghyun Sans";
  src: url("assets/fonts/SunghyunSans-SemiBold-latin.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Sunghyun Sans";
  src: url("assets/fonts/SunghyunSans-Bold-latin.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: "HAL Timezone";
  src: url("assets/fonts/HALTimezone-Regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --shell: #ffffff;
  --white: #ffffff;
  --purple: #9841e6;
  --orange: #e75619;
  --orange-press: #c9450f;
  --yellow: #fdbc2c;
  --butter: #fbecc7;
  --green: #325725;
  --ink: #371b0a;
  --muted: #6b5a4e;
  --line: #e6e1dc;
  --photo-bg: #f2eadf;
  --sans: "Sunghyun Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "HAL Timezone", ui-serif, Georgia, "Times New Roman", serif;
  --gutter: 20px;
  --measure: 34rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Top bar --------------------------------------------------------------- */

.rv-bar {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.rv-wordmark {
  display: block;
  width: 72px;
}

/* Product: gallery, then the buy column --------------------------------- */

.rv-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding-top: 0;
}

.rv-gallery {
  min-width: 0;
  margin: 0 calc(-1 * var(--gutter));
}

.rv-stage {
  position: relative;
}

/* Swipeable on touch, arrow and thumbnail driven elsewhere. */
.rv-slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  background: #fff;
  scrollbar-width: none;
}

.rv-slides::-webkit-scrollbar {
  display: none;
}

.rv-slide {
  flex: 0 0 100%;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin: 0;
  background: #fff;
  scroll-snap-align: start;
}

.rv-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Lifestyle scenes fill the frame instead of floating on white. */
.rv-slide-scene img {
  object-fit: cover;
}

.rv-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 4px rgba(55, 27, 10, 0.18);
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.rv-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rv-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.rv-arrow-prev {
  left: 12px;
}

.rv-arrow-next {
  right: 12px;
}

.rv-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.rv-thumbs::-webkit-scrollbar {
  display: none;
}

.rv-thumbs button {
  flex: 0 0 72px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.rv-thumbs button[aria-current="true"] {
  border-color: var(--purple);
}

.rv-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 9vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.rv-tagline {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 1.4;
  text-wrap: balance;
}

.rv-price {
  margin: 10px 0 0;
  font-size: 18px;
}

.rv-price strong {
  margin-right: 4px;
  color: var(--orange);
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
}

.rv-cta {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.rv-cta:hover {
  background: var(--orange-press);
}

.rv-cta:active {
  transform: scale(0.98);
}

/* On phones the docked bar carries the button, so the in-column one hides. */
.rv-cta-main,
.rv-cta-fine {
  display: none;
}

.rv-cta-fine {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.rv-desc {
  max-width: 44ch;
  margin: 16px 0 0;
  color: var(--muted);
}

.rv-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.rv-features li {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.rv-features img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Thank-you page spiral. */
.rv-draw path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Docked buy bar (phones) ----------------------------------------------- */

.rv-dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.rv-dock p {
  display: grid;
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

.rv-dock span {
  color: var(--muted);
  font-size: 14px;
}

.rv-dock .rv-cta {
  min-height: 50px;
  padding: 12px 26px;
}

/* After it ships: the monthly plan, kept apart from today's $50. */
.rv-plan {
  margin: 22px 0 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--butter);
  font-size: 15px;
  line-height: 1.45;
}

/* Footer ---------------------------------------------------------------- */

.rv-join {
  max-width: 560px;
  padding-bottom: 32px;
}

.rv-join h2 {
  margin: 0;
  color: var(--purple);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
}

.rv-join > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.rv-join-form {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.rv-join-form input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #cfc8c1;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.rv-join-form button {
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.rv-join-form button:disabled {
  opacity: 0.6;
}

.rv-join-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  font-size: 15px;
}

.rv-join-status[data-state="error"] {
  color: #b3261e;
}

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

.rv-footer {
  margin-top: 72px;
  padding: 40px 0 calc(104px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #faf8f6;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.rv-legal {
  display: grid;
  gap: 20px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.rv-legal-brand {
  display: grid;
  gap: 10px;
}

.rv-legal-brand img {
  display: block;
  width: 56px;
  height: auto;
}

.rv-legal p {
  margin: 0;
}

.rv-legal nav {
  display: flex;
  gap: 20px;
}

.rv-legal a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.rv-legal a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 900px) {
  .rv-legal {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

/* Thank-you page -------------------------------------------------------- */

.rv-thanks {
  display: grid;
  min-height: 100svh;
  align-content: center;
  justify-items: center;
  padding: 48px var(--gutter);
  text-align: center;
}

.rv-thanks svg {
  width: 96px;
  height: 96px;
  margin-top: 40px;
}

.rv-thanks h1 {
  max-width: 12ch;
  margin: 28px 0 0;
  color: var(--purple);
  font-family: var(--display);
  font-size: clamp(44px, 12vw, 76px);
  font-weight: 400;
  line-height: 1.02;
}

.rv-thanks p {
  max-width: 30ch;
  margin: 18px 0 0;
  font-size: 19px;
}

.rv-thanks .rv-home {
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
}

/* Wider screens: photos left, buy column right ------------------------- */

@media (min-width: 900px) {
  :root {
    --gutter: 40px;
  }

  .rv-bar {
    height: 64px;
  }

  .rv-wordmark {
    width: 84px;
  }

  .rv-product {
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, 1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
    max-width: 1280px;
    padding-top: 32px;
  }

  .rv-gallery {
    margin: 0;
  }

  .rv-slides {
    border: 1px solid var(--line);
    border-radius: 20px;
  }

  .rv-thumbs {
    padding: 0;
  }


  .rv-thumbs button {
    flex-basis: 84px;
    height: 60px;
  }

  .rv-buy {
    position: sticky;
    top: 32px;
  }

  .rv-title {
    font-size: 48px;
  }

  .rv-features li {
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 12px;
  }

  .rv-features img {
    width: 40px;
    height: 40px;
  }

  .rv-cta-main {
    display: flex;
    width: 100%;
    margin-top: 20px;
  }

  .rv-cta-fine {
    display: block;
  }

  .rv-dock {
    display: none;
  }

  .rv-footer {
    padding-bottom: 40px;
  }

  .rv-faq {
    margin-top: 112px;
  }
}

.rv-footer .wrap {
  max-width: 1280px;
}
