/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700&family=Playfair+Display:wght@700&family=Didact+Gothic&display=swap');

:root {
  --txt2: #FFFFFD;
  --accent1: #D46446;
  --extra: #274432;
  --txt1: #334138;
  --bg2: #E2E3CC;
  --bg1: #F7F3E8;
}

html {
  font-size: calc(100vw / 1440 * 10);
  overflow-x: hidden;
  overflow-y: scroll;
}
@media (max-width: 1024px) {
  html { font-size: calc(100vw / 1024 * 10); }
}
@media (max-width: 640px) {
  html { font-size: calc(100vw / 375 * 10); }
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding: 0; font-family: 'Manrope', sans-serif; background: var(--bg1); color: var(--txt1); }
h1, h2, h3, h4, h5, h6, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* Preloader */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg1);
}
html.hide #preloader { display: none; }

/* Mobile menu hidden */
#mobile-menu {
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg1);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3.2rem;
}
#mobile-menu.opened { opacity: 1; pointer-events: auto; }
#mobile-menu .nav-link {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem; font-weight: 700; color: var(--txt1);
  transition: color 0.3s;
}
#mobile-menu .nav-link:hover { color: var(--accent1); }

/* Menu lock */
html.menu-lock, html.menu-lock body { overflow: hidden; }

/* Burger */
.burger-btn {
  background: transparent; border: 0; cursor: pointer;
  display: none; flex-direction: column; gap: 0.5rem;
  padding: 0.4rem; z-index: 101; position: relative;
}
.burger-btn span {
  display: block; width: 2.2rem; height: 0.2rem;
  background: var(--txt1); border-radius: 0.1rem;
  transition: transform 0.3s, opacity 0.3s;
}
.burger-btn.act span:nth-child(1) { transform: translateY(0.7rem) rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { transform: translateY(-0.7rem) rotate(-45deg); }
@media (max-width: 640px) {
  .burger-btn { display: flex; }
}

/* Header fixed */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: var(--bg1);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(0,0,0,.15); }

/* Generic nav links */
.nav-link {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(12px, 1.2rem, 1.2rem); font-weight: 400; color: var(--txt1);
  transition: color 0.3s, opacity 0.3s;
  padding: 0.8rem 1.2rem;
  display: inline-block; white-space: nowrap;
}
.nav-link:hover { color: var(--accent1); }
/*.nav-link.active { font-weight: 700; }*/

/* Store float animation (unused but required) */
@keyframes store-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1rem); }
}
.store-btn { animation: store-float 3s ease-in-out infinite; }
.store-btn:hover { animation-play-state: paused; }

/* Scroll-locked */
html.menu-lock, html.menu-lock body { overflow: hidden; }

/* Legal body */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; }
/* /stp:base */
/* stp:header */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 8rem;
  gap: 4.8rem;
}

.header__nav {
  display: flex; align-items: center; gap: 0;
  flex: 1; justify-content: center;
}
.header__nav .nav-link { opacity: 0.5; }
/*.header__nav .nav-link.active { opacity: 1; font-weight: 700; }*/
.header__nav .nav-link:hover { opacity: 1; }

@media (max-width: 1024px) {
  .header__inner { padding: 1.2rem 4rem; gap: 2.4rem; }
  .header__nav .nav-link { font-size: clamp(12px, 1rem, 1rem); padding: 0.6rem 0.8rem; }
}

@media (max-width: 640px) {
  .header__inner {
    padding: 0.8rem 1.6rem;
    justify-content: flex-end;
  }
  .header__nav { display: none; }
}
/* /stp:header */
/* stp:hero */
.hero {
  position: relative;
  width: 100%;
  height: 87rem;
  background: var(--bg1);
  overflow: hidden;
}

/* Header is 10rem tall (24+12 pad + 52 logo), hero starts at y=100 in design */
main { padding-top: 0; }

.hero__img-wrap {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  width: 103.4rem;
  height: 87.3rem;
  pointer-events: none;
}

.hero__logo {
  position: absolute;
  left: 8rem;
  top: 15rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.hero__logo-icon { width: 5.6rem; height: 5.2rem; object-fit: contain; flex-shrink: 0; }
.hero__logo-txt { width: 21.5rem; height: 5.2rem; object-fit: contain; flex-shrink: 0; }
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.hero__content {
  position: absolute;
  left: 8rem;
  top: 26.6rem;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  max-width: 47.4rem;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: 6.4rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--txt1);
  width: 47.4rem;
}

.hero__sub {
  font-family: 'Manrope', sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--txt1);
  opacity: 0.7;
  width: 100%;
}

@media (max-width: 1024px) {
  .hero { height: 70rem; }
  .hero__img-wrap { width: 56rem; height: 58rem; bottom: 0; }
  .hero__logo { top: 11.5rem; }
  .hero__content { top: 20rem; max-width: 32rem; }
  .hero__title { font-size: 4.2rem; width: auto; }
  .hero__sub { font-size: 1.8rem; }
}

@media (max-width: 640px) {
  .hero {
    height: 81.2rem;
    overflow: hidden;
  }
  .hero__logo { left: 50%; top: 8.8rem; transform: translateX(-50%); }
  .hero__img-wrap {
    position: absolute;
    right: 0; left: 0; bottom: 0;
    width: 100%;
    height: 31.7rem;
  }
  .hero__img {
    object-position: center top;
  }
  .hero__content {
    position: absolute;
    left: 2.1rem; right: 2.1rem;
    top: 18.8rem;
    text-align: center;
    align-items: center;
    gap: 2.4rem;
    max-width: none;
  }
  .hero__title {
    font-size: 4.5rem;
    width: 100%;
    line-height: 1.3;
  }
  .hero__sub {
    font-size: clamp(14px, 1.6rem, 1.6rem);
    opacity: 1;
  }
}
/* /stp:hero */
/* stp:about */
.about {
  background: #E3D5BF;
  padding-top: 0;
  padding-bottom: 8rem;
}

/* Section separator label */
.section-sep {
  padding: 8rem 8rem 2.4rem;
}
.section-label {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(12px, 1.6rem, 1.6rem);
  font-weight: 700;
  color: var(--accent1);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4.8rem;
  padding: 0 8rem;
  max-width: 144rem;
  margin: 0 auto;
}

.about__img-wrap {
  flex: 0 0 49.3rem;
  width: 49.3rem;
  height: 49.3rem;
}
.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*border-radius: 0.8rem;*/
}

.about__txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.about__title {
  font-family: 'Playfair Display', serif;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--txt1);
}

.about__body {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--txt1);
}

.about__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12.4rem;
}
.about__icon {
  width: 10rem;
  height: 8.1rem;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .about__img-wrap { flex: 0 0 36rem; width: 36rem; height: 36rem; }
  .about__title { font-size: 3.6rem; }
  .about__content { padding: 0 4rem; gap: 3.2rem; }
  .about__icons { gap: 4rem; }
}

@media (max-width: 640px) {
  .about {
    padding-bottom: 0;
  }
  .about__sep { padding: 8rem 2rem 2.4rem; }
  .section-sep { padding: 8rem 2rem 2.4rem; }

  .about__content {
    flex-direction: column;
    align-items: center;
    padding: 0 1.6rem;
    gap: 4.8rem;
  }
  .about__img-wrap {
    order: 2;
    flex: 0 0 37.5rem;
    width: 37.5rem;
    height: 37.5rem;
    margin: 0 -1.6rem;
    width: calc(100% + 3.2rem);
    border-radius: 0;
  }
  .about__txt {
    order: 1;
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 4.8rem;
  }
  .about__title {
    font-size: 3.6rem;
    line-height: 1.3;
  }
  .about__body {
    font-size: clamp(14px, 1.6rem, 1.6rem);
    text-align: center;
  }
  .about__icons {
    gap: 2.4rem;
    justify-content: space-between;
    width: 100%;
  }
  .about__icon { width: 10rem; height: 8.1rem; }
}
/* /stp:about */
/* stp:how-to-play */
.how-to-play {
  background: var(--bg1);
  padding-bottom: 8rem;
}

.how-to-play__title {
  font-family: 'Playfair Display', serif;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--txt1);
  text-align: left;
  padding: 0 8rem;
  margin-bottom: 0;
  max-width: 144rem;
  margin: 0 auto;
  padding: 0 28.2rem;
  box-sizing: border-box;
  width: 100%;
}

.how-to-play__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4.8rem;
  padding: 0 8rem;
  margin-top: 0;
  padding-top: 4.8rem;
  max-width: 144rem;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.how-to-play__cards {
  flex: 0 0 46.6rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.htp-card {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(51,65,56,0.15);
}

.htp-card__num {
  font-family: 'Manrope', sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--accent1);
  flex: 0 0 4.8rem;
  text-align: center;
}

.htp-card__txt { flex: 1; }

.htp-card__name {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--txt1);
  margin-bottom: 0.4rem;
}

.htp-card__desc {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(12px, 1.2rem, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--txt1);
  opacity: 0.6;
}

.how-to-play__img-wrap {
  flex: 1;
  height: 46.4rem;
}
.how-to-play__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*border-radius: 0.8rem;*/
}

@media (max-width: 1024px) {
  .how-to-play__title { padding: 0 4rem; font-size: 3.6rem; }
  .how-to-play__content { padding: 3.2rem 4rem 0; gap: 3.2rem; }
  .how-to-play__cards { flex: 0 0 38rem; }
  .how-to-play__img-wrap { height: 36rem; }
  .htp-card__num { font-size: 2rem; }
  .htp-card__name { font-size: 1.6rem; }
}

@media (max-width: 640px) {
  .how-to-play { padding-bottom: 0; }
  .how-to-play__title {
    font-size: 3.6rem;
    text-align: center;
    padding: 0 4.1rem;
    width: 100%;
    line-height: 1.3;
  }
  .how-to-play__content {
    flex-direction: column;
    padding: 2.4rem 4.1rem 0;
    gap: 2.4rem;
    align-items: center;
  }
  .how-to-play__cards {
    flex: none;
    width: 100%;
    gap: 2.4rem;
  }
  .htp-card {
    width: 100%;
    gap: 2.4rem;
    justify-content: center;
  }
  .htp-card__num { font-size: 2rem; flex: 0 0 4.8rem; }
  .htp-card__txt { flex: 0 0 22.1rem; }
  .htp-card__name { font-size: clamp(14px, 2rem, 2rem); }
  .htp-card__desc { font-size: clamp(12px, 1.2rem, 1.2rem); }
  .how-to-play__img-wrap {
    flex: none;
    width: calc(100% + 8.2rem);
    height: 22.7rem;
    border-radius: 0;
    overflow: hidden;
  }
  .how-to-play__img {
    border-radius: 0;
    object-position: center top;
  }
}
/* /stp:how-to-play */
/* stp:features */
.features {
  background: var(--extra);
  padding-bottom: 8rem;
}

.features__sep .section-label { color: var(--accent1); }
.features__sep { padding: 8rem 8rem 2.4rem; }

.features__title {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--txt2);
  text-align: center;
  padding: 0 8rem;
  max-width: 144rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.features__cards {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  padding: 4.8rem 0 0;
  align-items: center;
}

.features__row {
  display: flex;
  gap: 4.8rem;
  justify-content: center;
}

.features__row--center {
  /* row2 is centered under row1 */
}

.feat-card {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-bottom: 1.2rem;
  width: 29rem;
  flex-shrink: 0;
}

.feat-card__icon {
  width: 10rem;
  height: 10rem;
  object-fit: contain;
  flex-shrink: 0;
}

.feat-card__txt {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feat-card__name {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--txt2);
}

.feat-card__desc {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(12px, 1.2rem, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--txt2);
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .features__title { font-size: 2.6rem; padding: 0 4rem; }
  .features__sep { padding: 6rem 4rem 2rem; }
  .feat-card { width: 24rem; }
  .feat-card__icon { width: 7rem; height: 7rem; }
  .feat-card__name { font-size: 1.6rem; }
  .features__row { gap: 3rem; }
}

@media (max-width: 640px) {
  .features { padding-bottom: 8rem; }
  .features__sep { padding: 8rem 2rem 2.4rem; }
  .features__title {
    font-size: 2.8rem;
    padding: 0 3.6rem;
    text-align: center;
  }
  .features__cards {
    gap: 4rem;
    padding-top: 4.8rem;
    align-items: flex-start;
    padding-left: 2.1rem;
    padding-right: 2.1rem;
  }
  .features__row {
    flex-direction: column;
    gap: 4rem;
    width: 100%;
  }
  .features__row--center {
    /* same as row on mobile */
  }
  .feat-card {
    width: 100%;
    gap: 1.6rem;
  }
  .feat-card__icon { width: 7.2rem; height: 7.2rem; }
  .feat-card__name { font-size: clamp(14px, 2rem, 2rem); }
  .feat-card__desc { font-size: clamp(12px, 1.2rem, 1.2rem); }
}
/* /stp:features */
/* stp:faq */
.faq {
  background: var(--bg1);
  padding-bottom: 8rem;
}

.faq__content {
  display: flex;
  align-items: flex-start;
  gap: 4.8rem;
  padding: 0 8rem;
  max-width: 144rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.faq__img-wrap {
  flex: 0 0 47.1rem;
  height: 34.3rem;
  /*margin-top: 12.6rem;*/
}
.faq__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*border-radius: 0.8rem;*/
}

.faq__right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.faq__title {
  font-family: 'Playfair Display', serif;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--txt1);
  max-width: 144rem;
  margin: 0 auto 6.4rem;
  padding: 0 8rem;
  box-sizing: border-box;
  text-align: center;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq__item {
  border-radius: 0.4rem;
  overflow: hidden;
  padding: 0 1.2rem;
  background: transparent;
  border-bottom: 1px solid rgba(51,65,56,0.12);
}

.faq__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  padding: 0.9rem 0;
  min-height: 5.4rem;
  cursor: pointer;
}

.faq__question {
  font-family: 'Manrope', sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--txt1);
  flex: 1;
}

.faq__toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  display: flex; align-items: center;
  transition: transform 0.3s;
}
.faq__toggle svg { display: block; width: 2rem; height: 2rem; }
.faq__item.open .faq__toggle { transform: rotate(45deg); }

.faq__answer {
  display: none;
  padding: 0 0 1.2rem;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  line-height: 1.5;
  color: var(--txt1);
  opacity: 0.7;
}
.faq__item.open .faq__answer { display: block; }

@media (max-width: 1024px) {
  .faq__content { padding: 0 4rem; gap: 3.2rem; }
  .faq__img-wrap { flex: 0 0 34rem; height: 26rem;}
  .faq__title { font-size: 3.6rem; padding: 0 4rem; margin-bottom: 4.8rem; }
  .faq__question { font-size: clamp(14px, 1.8rem, 1.8rem); }
}

@media (max-width: 640px) {
  .faq { padding-bottom: 0; }
  .faq__content {
    flex-direction: column;
    padding: 0 2.1rem;
    gap: 2.4rem;
  }
  .faq__img-wrap {
    flex: none;
    order: 2;
    width: calc(100% + 4.2rem);
    margin-left: -2.1rem;
    height: 27.3rem;
    margin-top: 1.6rem;
    border-radius: 0;
  }
  .faq__img { border-radius: 0; }
  .faq__right { order: 1; }
  .faq__title {
    font-size: 3.6rem;
    text-align: left;
    max-width: none;
    padding: 0 2.1rem;
    margin: 0 0 2.4rem;
  }
  .faq__question { font-size: clamp(14px, 1.6rem, 1.6rem); }
  .faq__row { min-height: 7.8rem; }
  .faq__item { padding: 0 1.2rem; }
}
/* /stp:faq */
/* stp:contact */
.contact {
  background: var(--accent1);
  position: relative;
  min-height: 44.8rem;
  overflow: hidden;
}
.contact .section-label { color: var(--txt2); }

.contact__sep { padding: 8rem 0 1.9rem; }

.contact__inner {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.contact__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 8rem 8rem;
  flex-shrink: 0;
  width: 53.9rem;
  z-index: 1;
}

.contact__row {
  display: flex;
  align-items: flex-start;
  gap: 2.4rem;
}

.contact__logo {
  width: 9rem;
  height: 9rem;
  object-fit: contain;
  flex-shrink: 0;
}

.contact__txt {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.contact__title {
  font-family: 'Playfair Display', serif;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--txt2);
  width: 32.1rem;
}

.contact__email {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--txt2);
  text-decoration: none;
  transition: color 0.3s, opacity 0.3s;
}
.contact__email:hover { opacity: 0.8; }
.contact__email svg { flex-shrink: 0; width: 2.4rem; height: 2.4rem; }
.contact__email span { white-space: nowrap; }

.contact__img-wrap {
  position: absolute;
  right: 0;
  top: 0;
  width: 90.1rem;
  height: 44.8rem;
}
.contact__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

@media (max-width: 1024px) {
  .contact { min-height: 36rem; }
  .contact__left { width: 44rem; padding: 0 0 4rem 4rem; }
  .contact__title { font-size: 3.6rem; width: auto; }
  .contact__email { font-size: 1.8rem; gap: 1.6rem; }
  .contact__img-wrap { width: 60rem; height: 36rem; }
  .contact__logo { width: 6rem; height: 6rem; }
}

@media (max-width: 640px) {
  .contact {
    overflow: hidden;
    min-height: auto;
  }
  .contact__sep { padding: 8rem 0 2.4rem; }
  .contact__inner {
    flex-direction: column;
  }
  .contact__left {
    width: 100%;
    padding: 0 2.1rem 2.4rem;
    align-items: center;
    text-align: center;
  }
  .contact__row {
    flex-direction: column;
    align-items: center;
  }
  .contact__logo { width: 9rem; height: 9rem; }
  .contact__txt {
    align-items: center;
    width: 100%;
  }
  .contact__title {
    font-size: 3.6rem;
    width: 100%;
    text-align: center;
  }
  .contact__email {
    font-size: clamp(14px, 2.4rem, 2.4rem);
    justify-content: center;
  }
  .contact__img-wrap {
    position: relative;
    right: auto; top: auto;
    width: 100%;
    height: 21.8rem;
  }
  .contact__img {
    object-position: center top;
  }
}
/* /stp:contact */
/* stp:footer */
.footer {
  background: var(--extra);
  border-top: 1px solid var(--extra);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 128rem;
  margin: 0 auto;
  padding: 7.9rem 0;
}

.footer__copy {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(12px, 1.6rem, 1.6rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--txt2);
  white-space: nowrap;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
  transition: opacity 0.3s;
}
.footer__logo:hover { opacity: 0.8; }
.footer__logo-icon { width: 5.2rem; height: 5.2rem; object-fit: contain; }
.footer__logo-txt { width: 21.5rem; height: 5.2rem; object-fit: contain; }

.footer__policies {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 36rem;
}

.footer__policy-link {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(12px, 1.6rem, 1.6rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--txt2);
  text-decoration: underline;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.footer__policy-link:hover { opacity: 0.7; }

@media (max-width: 1024px) {
  .footer__inner {
    flex-direction: column;
    align-items: center;
    padding: 5rem 4rem;
    gap: 3.2rem;
    text-align: center;
  }
  .footer__logo { order: 1; }
  .footer__policies {
    order: 2;
    width: 28rem;
    gap: 4rem;
    justify-content: space-between;
  }
  .footer__copy {
    order: 3;
    text-align: center;
    white-space: normal;
  }
  .footer__logo-txt { width: 16rem; }
  .footer__logo-icon { width: 4rem; height: 4rem; }
  .footer__copy { font-size: clamp(12px, 1.2rem, 1.2rem); }
  .footer__policy-link { font-size: clamp(12px, 1.2rem, 1.2rem); }
}

@media (max-width: 640px) {
  .footer__inner {
    padding: 8rem 1.6rem 3.2rem;
    gap: 3.2rem;
  }
  .footer__policies {
    width: 30.5rem;
    gap: 6.4rem;
  }
  .footer__logo-icon { width: 5.2rem; height: 5.2rem; }
  .footer__logo-txt { width: 21.5rem; height: 5.2rem; }
}
/* /stp:footer */
/* stp:legal */
.legal-page {
  padding: 0 0 8rem;
}

.legal-page__top-pad {
  height: 10rem; /* clears fixed header */
}

.legal-page .legal-nav {
  display: flex;
  align-items: center;
  padding: 5.6rem 12rem 1.6rem;
  background: var(--bg1);
}
.legal-page .legal-nav .legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  color: var(--txt1);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.legal-page .legal-nav .legal-back svg { flex-shrink: 0; width: 2.4rem; height: 2.4rem; }
.legal-page .legal-nav .legal-back:hover { opacity: 1; }

.legal-content {
  max-width: 128rem;
  margin: 0 auto;
  padding: 0 12rem;
}

.legal-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 6.4rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--txt1);
  margin-bottom: 3.2rem;
  margin-top: 1.6rem;
}
.legal-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--txt1);
  margin-top: 3.2rem;
  margin-bottom: 1.2rem;
}
.legal-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(14px, 1.8rem, 1.8rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--txt1);
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
}
.legal-content p {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--txt1);
  margin-bottom: 1.2rem;
}
.legal-content ul, .legal-content ol {
  padding-left: 2.4rem;
  margin-bottom: 1.2rem;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(14px, 1.6rem, 1.6rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--txt1);
  margin-bottom: 0.4rem;
}
.legal-content a {
  color: var(--accent1);
  text-decoration: underline;
  transition: opacity 0.3s;
}
.legal-content a:hover { opacity: 0.7; }
.legal-content strong, .legal-content b { font-weight: 700; }
.legal-content em, .legal-content i { font-style: italic; }
.legal-content u { text-decoration: underline; }

.legal-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg1); }
.legal-main { flex: 1 0 auto; }

@media (max-width: 640px) {
  .legal-page .legal-nav { padding: 3.2rem 1.6rem 1.6rem; }
  .legal-content { padding: 0 2rem; }
  .legal-content h1 { font-size: 4.8rem; }
  .legal-content h2 { font-size: clamp(14px, 1.8rem, 1.8rem); }
  .legal-content p, .legal-content li { font-size: clamp(14px, 1.6rem, 1.6rem); }
}
/* /stp:legal */
/* stp:title-anim */
.anim-on .ta-w {
  display: inline-block;
  white-space: nowrap;
  will-change: transform, opacity;
}
.anim-on .ta-hero .ta-w {
  opacity: 0;
  transform-origin: 50% 100%;
  animation: ta-paw-drop 0.95s linear calc(0.9s + var(--i) * 0.11s) both;
}
.anim-on .ta-hero .ta-w.ta-beat {
  transform-origin: 50% 60%;
  animation: ta-paw-drop 0.95s linear calc(0.9s + var(--i) * 0.11s) both, ta-heartbeat 4.8s ease-in-out 3.2s infinite;
}
@keyframes ta-paw-drop {
  0% { opacity: 0; transform: translateY(-6rem) scale(0.94, 1.12); animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.45); }
  45% { opacity: 1; transform: translateY(0) scale(1.14, 0.84); animation-timing-function: cubic-bezier(0.2, 0.6, 0.4, 1); }
  66% { opacity: 1; transform: translateY(-1.4rem) scale(0.96, 1.05); animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.45); }
  82% { opacity: 1; transform: translateY(0) scale(1.05, 0.95); animation-timing-function: cubic-bezier(0.2, 0.6, 0.4, 1); }
  100% { opacity: 1; transform: none; }
}
@keyframes ta-heartbeat {
  0%, 30%, 100% { transform: none; color: var(--txt1); }
  6% { transform: scale(1.1); color: var(--accent1); }
  12% { transform: scale(0.98); color: var(--accent1); }
  18% { transform: scale(1.06); color: var(--accent1); }
}
.anim-on .ta-sec .ta-w {
  opacity: 0;
  transform-origin: 50% 85%;
}
.anim-on .ta-sec.is-in .ta-w {
  animation: ta-treat-pop 0.7s cubic-bezier(0.3, 0.7, 0.4, 1) calc(0.1s + var(--i) * 0.06s) both;
}
@keyframes ta-treat-pop {
  0% { opacity: 0; transform: translateY(1.6rem) scale(0.4); }
  55% { opacity: 1; transform: translateY(-0.3rem) scale(1.08); }
  78% { opacity: 1; transform: translateY(0) scale(0.97); }
  100% { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .anim-on .ta-hero .ta-w,
  .anim-on .ta-hero .ta-w.ta-beat { animation-duration: 0.8s, 4.8s; }
  .anim-on .ta-sec.is-in .ta-w { animation-duration: 0.6s; }
  @keyframes ta-paw-drop {
    0% { opacity: 0; transform: translateY(-3.2rem) scale(0.95, 1.08); animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.45); }
    45% { opacity: 1; transform: translateY(0) scale(1.1, 0.88); animation-timing-function: cubic-bezier(0.2, 0.6, 0.4, 1); }
    66% { opacity: 1; transform: translateY(-0.8rem) scale(0.97, 1.04); animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.45); }
    82% { opacity: 1; transform: translateY(0) scale(1.04, 0.96); animation-timing-function: cubic-bezier(0.2, 0.6, 0.4, 1); }
    100% { opacity: 1; transform: none; }
  }
  @keyframes ta-treat-pop {
    0% { opacity: 0; transform: translateY(1rem) scale(0.5); }
    55% { opacity: 1; transform: translateY(-0.2rem) scale(1.06); }
    78% { opacity: 1; transform: translateY(0) scale(0.98); }
    100% { opacity: 1; transform: none; }
  }
}
/* /stp:title-anim */
