/* WebEZ main site — DESIGN.md tokens */
:root {
  --navy: #0B1E3D;
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --accent: #06B6D4;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --text: #0F172A;
  --muted: #64748B;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* ── Hero (landing) ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(600px 320px at 85% -10%, rgba(6,182,212,0.14), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(37,99,235,0.12), transparent 60%),
    var(--bg);
}
.hero-card { max-width: 640px; width: 100%; text-align: center; }
.brand { display: flex; justify-content: center; margin-bottom: 28px; }
.brand-logo { max-width: 220px; width: 100%; height: auto; }
.brand-logo.small { max-width: 150px; }
.brand-fallback {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em;
}
.brand-fallback.small { font-size: 22px; }
.brand-fallback .bolt { color: var(--accent); }
.brand-fallback .dot { color: var(--primary); }
.tagline { font-size: clamp(28px, 6vw, 44px); font-weight: 800; letter-spacing: -0.02em; color: var(--navy); line-height: 1.15; }
.sub { margin-top: 16px; font-size: 16px; color: var(--muted); max-width: 460px; margin-left: auto; margin-right: auto; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.supporting { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 26px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }

/* ── Proposal page ── */
.page { max-width: 560px; margin: 0 auto; padding: 40px 20px 64px; }
.back { display: inline-block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 28px; }
.back:hover { color: var(--primary); }
.page h1 { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; margin-top: 8px; }
.lead { margin: 10px 0 28px; color: var(--muted); font-size: 15px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input[type=text], .field input[type=tel], .field select, .field textarea {
  width: 100%; height: 44px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 10px; font-size: 15px;
  background: var(--surface); color: var(--text);
}
.field textarea { height: auto; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
.field input[type=file] { font-size: 14px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-status { display: none; padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.form-status.error { display: block; background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.success { text-align: center; padding: 40px 0; }
.success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #DCFCE7; color: #15803D;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 16px;
}
.success h2 { font-size: 22px; color: var(--navy); }
.success p { color: var(--muted); margin: 10px 0 24px; }

/* ── Mobile 375px ── */
@media (max-width: 480px) {
  .ctas { flex-direction: column; }
  .btn { width: 100%; }
  .page { padding: 24px 16px 48px; }
}
