/* ===== Reset & base (shared with admin console styling language) ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f3f4f6; color: #111827; font-size: 15px; line-height: 1.55;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: #1a56db; text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }
input { font-family: inherit; font-size: 15px; }

/* ===== Header / footer ===== */
.site-header {
  background: #fff; border-bottom: 1px solid #e5e7eb;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.logo { font-size: 20px; font-weight: 700; color: #1a56db; }
.logo:hover { text-decoration: none; }
.header-nav { display: flex; gap: 20px; align-items: center; font-size: 14px; }
.site-footer {
  margin-top: auto; padding: 24px; text-align: center;
  color: #9ca3af; font-size: 13px;
}

/* ===== Layout ===== */
.page { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 40px 16px; }
.card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 32px; width: 100%; max-width: 420px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.card h1 { font-size: 22px; margin-bottom: 6px; }
.card .sub { color: #6b7280; font-size: 14px; margin-bottom: 20px; }
.card + .card { margin-top: 16px; }

/* ===== Forms ===== */
label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin: 12px 0 4px; }
input[type=email], input[type=password], input[type=text] {
  display: block; width: 100%; padding: 10px 14px;
  border: 1px solid #d1d5db; border-radius: 8px; outline: none;
}
input:focus { border-color: #1a56db; box-shadow: 0 0 0 3px rgba(26,86,219,.12); }
.btn {
  display: block; width: 100%; padding: 11px; margin-top: 20px;
  background: #1a56db; color: #fff; border: none; border-radius: 8px;
  font-weight: 600; font-size: 15px;
}
.btn:hover { background: #1648b8; }
.btn:disabled { background: #93b0e8; cursor: default; }
.btn.secondary { background: #fff; color: #374151; border: 1px solid #d1d5db; }
.btn.secondary:hover { background: #f9fafb; }
.msg { border-radius: 8px; padding: 10px 14px; font-size: 14px; margin: 12px 0; }
.msg.error { background: #fee2e2; color: #991b1b; }
.msg.success { background: #d1fae5; color: #065f46; }
.form-links { margin-top: 14px; font-size: 14px; text-align: center; }

/* ===== Landing / hero ===== */
.hero { text-align: center; max-width: 640px; margin: 32px auto 8px; padding: 0 8px; }
.hero h1 { font-size: 36px; line-height: 1.2; margin-bottom: 14px; }
.hero p { color: #4b5563; font-size: 17px; margin-bottom: 28px; }
.hero .btn { display: inline-block; width: auto; padding: 12px 32px; }
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; max-width: 760px; margin: 36px auto; padding: 0 8px; width: 100%;
}
.feature { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 20px; }
.feature h3 { font-size: 15px; margin-bottom: 6px; }
.feature p { color: #6b7280; font-size: 13.5px; }

/* ===== Pricing ===== */
.price-card { text-align: center; max-width: 360px; }
.price { font-size: 40px; font-weight: 700; }
.price small { font-size: 16px; font-weight: 400; color: #6b7280; }
.price-note { color: #059669; font-weight: 600; font-size: 14px; margin: 6px 0 16px; }
.price-features { list-style: none; text-align: left; margin: 0 auto 8px; max-width: 260px; }
.price-features li { padding: 5px 0 5px 26px; position: relative; font-size: 14px; color: #374151; }
.price-features li::before { content: '✓'; position: absolute; left: 4px; color: #059669; font-weight: 700; }

/* ===== Status badge ===== */
.badge {
  display: inline-block; padding: 3px 12px; border-radius: 12px;
  font-size: 13px; font-weight: 600; background: #d1fae5; color: #065f46;
}

/* ===== Utility ===== */
.center { text-align: center; }
.muted { color: #6b7280; font-size: 14px; }
.spacer { height: 8px; }

/* Utility classes (replace former inline style attributes so the CSP can
   use style-src 'self' without 'unsafe-inline') */
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.banner-msg { max-width: 420px; width: 100%; }
.btn.btn-nav { width: auto; margin: 0; padding: 8px 18px; display: inline-block; color: #fff; }

/* Pre-launch notice shown on funnel pages until the backend address is set */
.msg.launching-soon {
  background: #eef2ff; color: #312e81; border: 1px solid #c7d2fe;
  max-width: 420px; width: 100%; margin: 0 0 16px; text-align: center; line-height: 1.5;
}
.msg.launching-soon a { font-weight: 600; }
