:root {
  --bg: #ffffff;
  --bg-soft: #fff7ed;
  --text: #1c1917;
  --muted: #78716c;
  --border: #fed7aa;
  --link: #ea580c;
  --accent: #f97316;
  --gradient: linear-gradient(135deg, #f97316, #dc2626);
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--text); font-size: 0.95rem; }

.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.btn-outline { border: 1px solid var(--border); color: var(--text); }
.btn-primary { background: var(--gradient); color: #fff; border: none; text-decoration: none; }

.note { font-size: 0.85rem; color: var(--muted); }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 16px;
}

.lead { color: var(--muted); font-size: 1.1rem; max-width: 480px; margin-bottom: 28px; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }

.store-btn {
  display: flex;
  flex-direction: column;
  padding: 10px 18px;
  border: 1px solid var(--text);
  border-radius: 8px;
  color: var(--text);
  min-width: 150px;
}
.store-btn:hover { text-decoration: none; background: var(--bg-soft); }
.store-label { font-size: 0.65rem; letter-spacing: 0.5px; }
.store-name { font-size: 1.1rem; font-weight: 600; }

.store-btn.outline { background: transparent; color: var(--text); }

.phone-frame {
  width: 280px;
  margin: 0 auto;
  border: 10px solid #111;
  border-radius: 36px;
  padding: 12px 8px;
  background: #111;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}

.phone-screen {
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
  min-height: 480px;
  padding: 16px;
}

.mock-header {
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.mock-stories {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.mock-stories span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, #fed7aa, #fdba74);
}

.mock-post {
  height: 200px;
  background: linear-gradient(180deg, #f5f5f5, #e5e5e5);
  border-radius: 4px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}
.mock-post.short { height: 120px; }

.features {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.feature {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
}

.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature h2 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

.cta {
  text-align: center;
  padding: 64px 24px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.cta h2 { font-size: 1.6rem; margin-bottom: 12px; max-width: 560px; margin-inline: auto; }
.cta p { color: var(--muted); margin-bottom: 24px; max-width: 520px; margin-inline: auto; }

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.footer h4 { font-size: 0.85rem; margin-bottom: 8px; }
.footer a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 6px; }
.copy { text-align: center; color: var(--muted); font-size: 0.8rem; }

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .store-buttons { justify-content: center; }
  .nav a:not(.btn) { display: none; }
}
