:root {
  color-scheme: light;
  --ink: #1e1b2e;
  --muted: #4b4666;
  --paper: #f7f4fb;
  --accent: #f27b50;
  --accent-dark: #d35f3b;
  --primary: #6b5ba6;
  --primary-soft: #988ebf;
  --sky: #bdd9f2;
  --olive: #535927;
  --shadow: 0 30px 70px rgba(36, 30, 58, 0.18);
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #e6def7 0%, var(--paper) 45%, var(--sky) 100%);
  min-height: 100vh;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

a {
  color: var(--accent-dark);
}

.page {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 4rem 6vw 6rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}

.hero-text h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 2vw + 2rem, 3.5rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  animation: fadeUp 750ms ease-out both;
  animation-delay: 120ms;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  animation: fadeUp 700ms ease-out both;
}

.brand-logo {
  width: 88px;
  height: 88px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
  color: var(--muted);
}

.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 32rem;
  animation: fadeUp 750ms ease-out both;
  animation-delay: 220ms;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-meta span {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--sky);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  animation: fadeUp 700ms ease-out both;
}

.hero-meta span:nth-child(1) {
  animation-delay: 300ms;
}

.hero-meta span:nth-child(2) {
  animation-delay: 380ms;
}

.hero-meta span:nth-child(3) {
  animation-delay: 460ms;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  top: -200px;
}

.hero-media {
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 0;
  animation: floatIn 900ms ease-out both;
}

.mockup-wrap {
  width: min(980px, 92vw);
  padding: 0;
  transform: translateY(-2%);
}

.app-mockup {
  width: 100%;
  height: auto;
  display: block;
}

.policy {
  display: flex;
  justify-content: center;
  margin-top: -160px;
}

.policy-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 2.5rem;
  max-width: 720px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(152, 142, 191, 0.2);
  animation: fadeUp 800ms ease-out both;
  animation-delay: 200ms;
}

.policy-card h2 {
  margin-top: 0;
  font-family: "Fraunces", serif;
  font-size: 2rem;
}

.policy-card h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.policy-card p {
  line-height: 1.7;
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.policy-updated {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
}

@media (max-width: 720px) {
  .page {
    padding: 3rem 6vw 4rem;
  }

  .mockup-wrap {
    width: min(700px, 90vw);
    transform: none;
  }

  .policy-card {
    padding: 2rem 1.5rem;
  }
}

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