﻿:root {
  color-scheme: light;
  --cream: #f8eee8;
  --peach: #f6d6cc;
  --coral: #f49b9b;
  --ink: #2a1f1c;
  --muted: #7a6f6a;
  --shadow: 0 18px 45px rgba(60, 40, 35, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: radial-gradient(
    circle at 10% 10%,
    #ffffff 0%,
    var(--cream) 55%,
    #efe1db 100%
  );
  color: var(--ink);
  min-height: 100vh;
  overflow: hidden;
  background: transparent;
}

body.policy-body {
  overflow: auto;
  background: radial-gradient(
    circle at 10% 10%,
    #ffffff 0%,
    var(--cream) 55%,
    #efe1db 100%
  );
  background: #eee;
}

#root {
  height: 100vh;
}

.page {
  position: relative;
  height: 100vh;
  width: 100vw;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.2fr);
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "logo carousel"
    "content carousel";
  gap: 24px;
  padding: 56px clamp(32px, 6vw, 90px);
  padding: 0;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.5;
  z-index: 0;
  display: none;
}

.page::before {
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(244, 155, 155, 0.6) 0%,
    rgba(244, 155, 155, 0) 70%
  );
  top: -90px;
  left: -40px;
}

.page::after {
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(182, 214, 220, 0.6) 0%,
    rgba(182, 214, 220, 0) 70%
  );
  bottom: -120px;
  right: 5%;
}

.policy-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 24px 90px;
  color: var(--ink);
}

.policy-page .styfty-logo {
  width: 250px;
  margin: 0 auto 32px auto;
  display: block;
}

.policy-card {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.policy-card h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.policy-card h2 {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 28px 0 10px;
}

.policy-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 28px;
}

.policy-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.policy-actions a {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: #829e55;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 21px;
}

.policy-actions a:hover {
  text-decoration: underline;
}

.logo {
  grid-area: logo;
  align-self: start;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  padding-top: 100px;
  padding-left: 100px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(
    140deg,
    #ffffff 0%,
    var(--peach) 60%,
    var(--coral) 100%
  );
  box-shadow: var(--shadow);
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.7;
}

.logo img {
  width: 100%;
  max-width: 250px;
}

.d-flex{display: flex; justify-content: space-between;}

.content {
  grid-area: content;
  z-index: 1;
  max-width: 420px;
  align-self: center;
  max-width: 100%;
  padding: 0 80px 0 100px;
}

.content h1 {
  /* font-family: "DM Serif Display", "Times New Roman", serif; */
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.content h1 small {
  font-size: 40px;
}

.content p {
  margin: 0 0 28px 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  background: linear-gradient(
    120deg,
    #ffffff 0%,
    #ffe7e0 50%,
    var(--coral) 100%
  );
  color: var(--ink);
  padding: 14px 28px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: var(--shadow);
  cursor: pointer;
  background: #829e55;
  color: #ffffff;
  line-height: 1;
  gap: 20px;
  text-decoration: none;
  font-weight: 700;
  /* display: flex; */
  height: 64px;
  padding-right: 64px;
  position: relative;
}

.cta span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(244, 155, 155, 0.8);
  color: #ffffff;
  font-size: 1rem;
  margin-left: 4px;
  background: transparent;
  margin-left: 0px;
  transition: all 0.3s ease;
  /* width: auto; */
  position: absolute;
  right: 20px;
}

.cta span:nth-child(1) {
  transform: scale(0);
  /* width: 0; */
  right: 40px;
}
.cta:hover span:nth-child(1) {
  transform: scale(1);
  /* width: 36px; */
  right: 20px;
}
.cta:hover span:nth-child(2) {
  transform: scale(0);
  /* width: 0; */
  right: 0;
}

.policy-link {
  display: inline-flex;
  margin-top: 24px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
}

.policy-link:hover {
  text-decoration: underline;
}

.carousel {
  grid-area: carousel;
  position: relative;
  z-index: 1;
  background: #fff8f5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  align-self: center;
  height: clamp(340px, 70vh, 560px);
  width: 100%;
  height: 100vh;
  border-radius: 0;
}

.carousel-track {
  display: flex;
  height: 100%;
  width: 400%;
  animation: slide 18s linear infinite;
}

.slide {
  flex: 0 0 25%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

@keyframes slide {
  0% {
    transform: translateX(0%);
  }
  22% {
    transform: translateX(0%);
  }
  33% {
    transform: translateX(-25%);
  }
  55% {
    transform: translateX(-25%);
  }
  66% {
    transform: translateX(-50%);
  }
  88% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(-75%);
  }
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  #root {
    height: auto;
    min-height: 100vh;
  }

  .page {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "logo"
      "carousel"
      "content";
    padding: 32px 24px 48px;
    height: auto;
    width: 100%;
  }

  .logo {
    justify-content: center;
    padding-left: 0;
    padding-top: 0;
  }

  .content {
    text-align: center;
    margin: 0 auto;
    padding: 0;
  }

  .content h1{max-width: 470px; margin-left: auto; margin-right: auto; font-size: 50px;}
  .content h1 small{font-size: 30px;}
  .content p{max-width: 650px; margin-left: auto; margin-right: auto;}

  .carousel {
    height: 320px;
    border-radius: 10px;
  }
  
  .policy-page{padding-top: 32px;}

}

@media (max-width: 767px) {
  .logo img{max-width: 175px;}
  .content h1{font-size: 40px;}
  .content h1 small {font-size: 20px;}
  .cta{height: auto;}
  .d-flex{display: inline-flex; flex-direction: column; align-items: center;}
  .policy-link{text-decoration: underline;}
  .policy-page .styfty-logo{max-width: 175px;}
  .policy-page{padding-top: 32px;}
}
