@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  --bg: #f5f0e6;
  --bg-accent: #e7ddd0;
  --card: #ffffff;
  --text: #1b1a18;
  --muted: #5f5b54;
  --primary: #0b5d5b;
  --primary-dark: #084241;
  --accent: #c96b3c;
  --border: #e2d6c8;
  --shadow: 0 22px 50px rgba(20, 14, 8, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page {
  position: relative;
  min-height: 100vh;
  padding: 64px 8vw 80px;
  background: radial-gradient(circle at top left, #fff7ee 0%, var(--bg) 45%, #efe6d8 100%);
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-accent);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 14px;
  color: var(--text);
}

.body-copy {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 12px;
}

.cta {
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta.rea {
  background: #e4002b;
  color: #fff;
  box-shadow: 0 14px 30px rgba(228, 0, 43, 0.25);
}

.cta.rea:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(228, 0, 43, 0.35);
}

.cta.domain {
  background: #0f7d3b;
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 125, 59, 0.25);
}

.cta.domain:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 125, 59, 0.35);
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-media {
  display: flex;
  justify-content: center;
}

.carousel {
  width: min(520px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.carousel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: #f7f2ea;
}

.carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.carousel-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.carousel-btn {
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  flex: 0 0 auto;
}

.carousel-btn:hover {
  background: var(--primary-dark);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  flex: 1 1 120px;
  justify-content: center;
  flex-wrap: wrap;
  min-width: 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d5c8b8;
  cursor: pointer;
}

.dot.is-active {
  background: var(--accent);
}

.footer {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.footer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 16px 30px rgba(20, 14, 8, 0.08);
}

.footer-card h2 {
  font-family: "Fraunces", serif;
  margin: 0 0 10px;
}

.footer-copy {
  margin: 0 0 12px;
  line-height: 1.65;
  color: var(--muted);
}

.footer-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

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

.legal-links {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-link {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}

.legal-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.policy-page {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.policy-card {
  width: min(760px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.policy-card h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 14px 0 18px;
  letter-spacing: -0.02em;
}

.policy-nav {
  margin-top: 18px;
}

.stats-banner {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  background: #fff7f0;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px 24px;
  box-shadow: 0 18px 36px rgba(20, 14, 8, 0.08);
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 20px;
  padding: 14px 16px;
  border: 1px solid #efe2d2;
}

.stat.highlight {
  justify-content: center;
  text-align: center;
  background: #0b5d5b;
  color: #fff;
  border: none;
}

.stat-icon {
  width: 38px;
  height: 38px;
}

.stat-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.2;
}

.stat-text {
  font-size: 1.1rem;
  font-weight: 600;
}

@media (max-width: 720px) {
  .page {
    padding: 48px 6vw 64px;
  }

  .policy-card {
    padding: 22px;
  }

  .carousel-controls {
    gap: 12px;
    justify-content: center;
  }

  .carousel-dots {
    order: 3;
    width: 100%;
  }

  .carousel-btn {
    padding: 8px 12px;
  }

  .stats-banner {
    padding: 18px;
  }
}
