:root {
  --bg: #f7f2ea;
  --bg-deep: #efe4d5;
  --text: #1e1f23;
  --muted: #5f6067;
  --accent: #84501d;
  --blue: #8a8fd0;
  --card: rgba(255, 255, 255, 0.48);
  --line: rgba(132, 80, 29, 0.14);
  --shadow: 0 30px 90px rgba(48, 34, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "SF Pro Display", "Segoe UI", -apple-system, BlinkMacSystemFont,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 194, 120, 0.48), transparent 24%),
    radial-gradient(circle at 84% 20%, rgba(146, 150, 214, 0.4), transparent 28%),
    linear-gradient(180deg, #fcfaf7 0%, var(--bg) 58%, var(--bg-deep) 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.hero-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
}

.hero {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(320px, 520px);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  animation: fade-up 700ms ease both;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 24px 44px rgba(124, 117, 190, 0.2);
}

.eyebrow {
  margin: 24px 0 10px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero h1 span {
  color: var(--accent);
}

.hero-text {
  margin: 20px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--muted);
}

.app-store-button {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 28px;
  padding: 14px 20px 15px;
  border-radius: 18px;
  color: #fff;
  background: #111214;
  box-shadow: 0 18px 30px rgba(17, 18, 20, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-store-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 34px rgba(17, 18, 20, 0.24);
}

.app-store-small {
  font-size: 0.72rem;
  line-height: 1;
  opacity: 0.82;
}

.app-store-large {
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-shot {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  animation: float-in 850ms ease both;
}

.hero-shot img {
  width: 100%;
  aspect-ratio: 1284 / 2778;
  object-fit: cover;
  border-radius: 28px;
}

.policy-page {
  min-height: 100vh;
  padding: 48px 24px;
}

.policy-shell {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.policy-home {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.policy-shell h1,
.policy-shell h2 {
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  letter-spacing: -0.04em;
}

.policy-shell h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 0.96;
}

.policy-updated {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.policy-section {
  padding-top: 28px;
}

.policy-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.policy-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 560px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-logo,
  .app-store-button {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px) {
  .hero-page {
    padding: 28px 18px;
  }

  .hero-logo {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .hero-shot {
    padding: 12px;
    border-radius: 28px;
  }

  .hero-shot img {
    border-radius: 20px;
  }

  .policy-page {
    padding: 24px 16px;
  }

  .policy-shell {
    padding: 24px 20px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-shot {
    animation: none;
  }

  .app-store-button {
    transition: none;
  }
}
