:root {
  --brand: #007AFF;
  --brand-dark: #0051A8;
  --bg: #F2F2F7;
  --card: #FFFFFF;
  --text-primary: #1C1C1E;
  --text-secondary: #636366;
  --text-tertiary: #8E8E93;
  --separator: #E5E5EA;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
  width: 100%;
}

.hero {
  text-align: center;
  margin-bottom: 48px;
}

.logo {
  width: 96px;
  height: 96px;
  background: var(--brand);
  border-radius: 24px;
  color: white;
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.25);
}

h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 22px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.pitch {
  background: var(--card);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
}

.pitch > p:first-child {
  font-size: 19px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.features li {
  padding-left: 28px;
  position: relative;
}

.features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.features strong {
  font-weight: 600;
}

.status {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: var(--brand);
  color: white;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.status-text {
  color: var(--text-secondary);
}

.contact {
  text-align: center;
}

.cta {
  display: inline-block;
  background: var(--brand);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: background 120ms;
}

.cta:hover {
  background: var(--brand-dark);
}

footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid var(--separator);
}

footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

footer a {
  color: var(--brand);
  text-decoration: none;
  font-size: 15px;
}

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

footer .copy {
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ── Legal page styles ───────────────────────────────────────────── */
.legal {
  background: var(--card);
  border-radius: 16px;
  padding: 40px;
}

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

.legal h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal p,
.legal ul,
.legal ol {
  margin-bottom: 16px;
}

.legal ul,
.legal ol {
  padding-left: 24px;
}

.legal li {
  margin-bottom: 6px;
}

.legal strong { font-weight: 600; }

.legal a {
  color: var(--brand);
}

.legal .meta {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
}

.legal table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 16px;
  font-size: 15px;
}

.legal th,
.legal td {
  border: 1px solid var(--separator);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--bg);
  font-weight: 600;
}

.legal .review-notice {
  background: #FFF9E6;
  border-left: 4px solid #F5C842;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 15px;
  color: #5C4400;
}

.back-link {
  display: inline-block;
  color: var(--brand);
  text-decoration: none;
  margin-bottom: 16px;
  font-size: 15px;
}

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

/* ── /email-preferences placeholder ──────────────────────────────── */
.placeholder-card {
  background: var(--card);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.placeholder-card h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.placeholder-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  main { padding: 24px 16px; }
  h1 { font-size: 36px; }
  .tagline { font-size: 18px; }
  .pitch,
  .legal,
  .placeholder-card { padding: 24px; }
  .legal h1 { font-size: 26px; }
  .legal h2 { font-size: 19px; }
}
