/* MeDaBlur.app — Website */
:root {
  --bg: #fafafa;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --accent: #0a7ea4;
  --accent-hover: #086890;
  --border: #e5e5e5;
  --card: #fff;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.nav a {
  margin-left: 1.25rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

/* Hero */
.hero {
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.hero .tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}

.app-badge {
  display: inline-block;
  margin-top: 0.5rem;
}

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

.video-wrap {
  margin-top: 2rem;
}

.video-wrap video {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Sections */
section {
  padding: 2.5rem 0;
}

section:nth-child(even) {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
}

/* How it works */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.steps .num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  margin-bottom: 0.2rem;
}

/* Screenshots */
.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.screenshots figure {
  margin: 0;
  text-align: center;
}

.screenshots img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.screenshots figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.screenshot-placeholder {
  aspect-ratio: 9/19;
  max-width: 220px;
  margin: 0 auto;
  background: linear-gradient(135deg, #e8e8e8 0%, #f0f0f0 100%);
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Features grid */
.features {
  display: grid;
  gap: 1.25rem;
}

.feature {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.feature:last-child {
  border-bottom: none;
}

.feature strong {
  display: block;
  margin-bottom: 0.35rem;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Legal pages */
.legal-page {
  padding: 2rem 0 4rem;
}

.legal-page h1 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.legal-page p, .legal-page ul {
  margin: 0 0 1rem;
  color: var(--text);
}

.legal-page ul {
  padding-left: 1.5rem;
}

.legal-page .back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-page .back:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .nav a { margin-left: 0.75rem; }
  .screenshots { grid-template-columns: 1fr; }
}
