:root {
  --cream: #f5f0e8;
  --cream-deep: #ece4d4;
  --ink: #111111;
  --blue: #1a56ff;
  --muted: #666666;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
}

a {
  color: var(--blue);
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  text-align: center;
}

.hero .star {
  position: absolute;
  font-size: 22px;
  color: var(--blue);
}

.hero .star.one { top: 40px; left: 8%; }
.hero .star.two { bottom: 60px; right: 10%; color: #e0245e; }
.hero .star.three { top: 30%; right: 6%; font-size: 16px; }

.hero-logo {
  height: 56px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 24px 0 12px;
  line-height: 1.15;
}

.hero p.subtitle {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 28px;
  font-size: 16px;
}

.app-store-badge {
  height: 52px;
  display: inline-block;
}

.hero-shots {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
}

.polaroid {
  border: 3px solid var(--ink);
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--ink);
  width: 160px;
  display: block;
}

.polaroid.tilt-left {
  transform: rotate(-6deg);
  margin-right: -18px;
  position: relative;
  z-index: 1;
}

.polaroid.tilt-right {
  transform: rotate(4deg);
  position: relative;
  z-index: 2;
}

/* ---------- Features ---------- */

.features {
  padding: 56px 0 72px;
}

.features h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

.feature-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.feature-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 24px 20px 28px;
  width: 240px;
  text-align: center;
}

.feature-card img {
  width: 140px;
  border: 3px solid var(--ink);
  border-radius: 4px;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ---------- Footer ---------- */

footer {
  background: var(--cream-deep);
  border-top: 2px solid var(--ink);
  padding: 40px 0;
  text-align: center;
}

footer .tagline {
  font-family: Georgia, serif;
  font-size: 16px;
  margin-bottom: 16px;
}

footer .links a {
  color: var(--ink);
  text-decoration: none;
  margin: 0 12px;
  font-size: 14px;
}

footer .links a:hover {
  text-decoration: underline;
}

footer .contact {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.legal .back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
}

.legal h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 18px;
  margin: 32px 0 8px;
}

.legal p, .legal li {
  font-size: 15px;
  color: #333;
}

.legal .notice {
  background: #fff8e0;
  border: 1px solid #e8d98a;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  margin-bottom: 32px;
}

/* ---------- Responsive ---------- */

@media (max-width: 700px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-shots {
    flex-direction: column;
    align-items: center;
  }

  .polaroid.tilt-left {
    margin-right: 0;
    margin-bottom: -12px;
  }

  .feature-cards {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    width: 100%;
    max-width: 320px;
  }
}
