:root {
  --bg: #f5f5f8;
  --hero-from: #ffd9c2;
  --hero-to: #fff1e8;
  --surface: #ffffff;
  --surface-raised: #fff1ea;
  --border: #e8e8ed;
  --text-primary: #1c1c1e;
  --text-secondary: #6b6b70;
  --text-tertiary: #a4a4aa;
  --accent: #ff5722;
  --accent-dark: #d8431a;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
}

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

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

/* ---------- Hero / one-page layout ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px 40px;
  background: linear-gradient(180deg, var(--hero-from) 0%, var(--hero-to) 45%, var(--bg) 100%);
  overflow: hidden;
}

.logo {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-bottom: 16px;
}

.app-name {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}

.app-name .accent {
  color: var(--accent);
}

.headline {
  font-size: clamp(16px, 2.4vw, 19px);
  font-weight: 600;
  color: var(--text-primary);
  max-width: 520px;
  margin: 0 0 8px;
  line-height: 1.4;
}

.subheadline {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 0 28px;
  line-height: 1.5;
}

.previews {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 32px;
}

.phone-mock {
  width: 190px;
  aspect-ratio: 9 / 19.5;
  background: #000;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  position: relative;
}

.phone-mock::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 16px;
  background: #000;
  border-radius: 10px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: var(--surface);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-mock:first-child {
  transform: rotate(-4deg) translateY(6px);
}

.phone-mock:last-child {
  transform: rotate(4deg) translateY(6px);
}

.badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.badge img {
  height: 44px;
  width: auto;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-secondary);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ---------- Simple content pages (terms/privacy/support) ---------- */

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.page-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.page-title-link {
  font-weight: 800;
  font-size: 17px;
}

.page h1 {
  font-size: 26px;
  margin-bottom: 4px;
}

.page .updated {
  color: var(--text-tertiary);
  font-size: 13px;
  margin-bottom: 28px;
}

.page h2 {
  font-size: 17px;
  margin-top: 28px;
  margin-bottom: 8px;
}

.page p, .page li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.page a.link {
  color: var(--accent);
  font-weight: 600;
}

.back-link {
  display: inline-block;
  margin-top: 32px;
  font-weight: 600;
  color: var(--text-secondary);
}

.back-link:hover {
  color: var(--accent);
}

.support-email {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 20px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
