/* meiDawn — card-on-grey design system (LocalReels deleterequest / beta pages) */

:root {
  --navy: #0f172a;
  --text: #1e293b;
  --text-muted: #5f6b7a;
  --border: #e5e7eb;
  --bg: #f9f9f9;
  --card-bg: #ffffff;
  --accent: #1a73e8;
  --accent-dark: #1558b3;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* Header */

.site-header {
  background: var(--navy);
  color: #fff;
  padding: 1.25rem 1.5rem;
}

.site-header .header-inner {
  max-width: 740px;
  margin: 0 auto;
}

.brand {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.header-tagline {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

/* Layout */

.page {
  max-width: 740px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
}

.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* Typography */

h1 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  color: var(--navy);
}

h2 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

p {
  margin: 0.75rem 0;
  color: var(--text);
}

ul, ol {
  margin: 0.75rem 0;
  padding-left: 1.3rem;
}

li {
  margin: 0.4rem 0;
}

strong {
  color: var(--navy);
}

.callout {
  background: var(--bg);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Hero (beta page) */

.hero {
  text-align: center;
  margin-bottom: 1rem;
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(26, 115, 232, 0.1);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.beta-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.app-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--navy));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.25);
}

.hero .app-name {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 auto 1.25rem;
  max-width: 520px;
}

.hero .description {
  font-size: 1rem;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

/* Feature list */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.6rem;
  margin: 0.6rem 0;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* CTA button */

.cta-wrap {
  text-align: center;
  margin: 2rem 0 0.5rem;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.9rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.35);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.cta-button:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 18px rgba(26, 115, 232, 0.4);
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
}

.cta-subtext {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Notify form */

.notify-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.notify-section label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.notify-form {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.notify-form input[type="email"] {
  flex: 1 1 260px;
  max-width: 320px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
}

.notify-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

.notify-form button {
  padding: 0.7rem 1.5rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.notify-form button:hover {
  background: #1e293b;
}

.notify-form button:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.notify-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.notify-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notify-success {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: #15803d;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
}

.notify-success .check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notify-error {
  color: #b91c1c;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* Footer */

.site-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

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

/* Mobile */

@media (max-width: 600px) {
  .page {
    padding: 1.75rem 1rem 2.5rem;
  }

  .card {
    padding: 1.75rem 1.25rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .hero .app-name {
    font-size: 1.7rem;
  }

  .hero .tagline {
    font-size: 1.05rem;
  }

  .cta-button {
    width: 100%;
  }

  .notify-form {
    flex-direction: column;
    align-items: stretch;
  }

  .notify-form input[type="email"] {
    max-width: none;
  }
}
