* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #2865dc;
  outline-offset: 3px;
}
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.narrow { max-width: 860px; }
.full-width { width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--yellow); padding: 10px 14px; z-index: 100; font-weight: 800; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Guardrail Demo Banner & Flash Alerts */
.demo-guardrail-bar { background: #181b1f; color: #e5e7eb; font-size: 11px; padding: 8px 0; border-bottom: 1px solid #2d3239; }
.demo-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.demo-pill { background: var(--yellow); color: #111; font-weight: 900; padding: 2px 8px; border-radius: 6px; letter-spacing: 0.05em; }
.demo-switch-links a { color: var(--yellow); font-weight: 700; }
.flash-banner { margin: 16px 0; padding: 14px 18px; border-radius: 12px; font-weight: 700; font-size: 13px; }
.flash-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.flash-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Buttons & Form Controls */
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 11px; font-weight: 800; font-size: 13px;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(0,0,0,0.08); }
.button-small { min-height: 40px; padding-inline: 15px; font-size: 12px; }
.button-yellow { background: var(--yellow); color: #111; border-color: var(--yellow); }
.button-yellow:hover { background: #ffd02b; }
.button-dark { background: #151719; color: #fff; }
.button-outline { border-color: #555b61; color: #fff; background: rgba(20, 22, 24, 0.2); }

.form-input, .clean-form input[type="text"], .clean-form input[type="tel"], .clean-form input[type="email"], .clean-form input[type="password"], .clean-form input[type="number"], .clean-form select {
  width: 100%; padding: 11px 14px; border: 1px solid #d1d5db; border-radius: 10px; font-size: 13px; background: #fff; color: #111;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.form-row-4 { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; }
.consent-label { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: #4b5563; cursor: pointer; }

.urgency-ticker-bar { background: #111315; color: #f9fafb; font-size: 12px; padding: 9px 0; border-bottom: 2px solid var(--yellow); }
