/* Reset + page chrome that main.tsx/CssBaseline previously provided for the React build.
   marketing.css itself is unchanged and still scopes all component styling under .marketing-site. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: #111C2B;
  font-family: 'Plus Jakarta Sans', 'Inter Tight', Inter, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; }

/* Request-demo form -- replaces tp-react-elements RenderForm + MUI Alert/Button/CircularProgress. */
.demo-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.demo-fieldset:disabled { opacity: .65; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 600; color: #142e45; }
.field label .req { color: #C0392B; margin-left: 2px; }
.field input, .field select {
  font: inherit;
  font-size: 14px;
  min-height: 43px;
  padding: 10px 14px;
  border: 1px solid #c5d1dc;
  border-radius: 7px;
  color: #111C2B;
  background: #fff;
  width: 100%;
}
.field input:focus, .field select:focus { outline: 3px solid #138dcc; outline-offset: 1px; border-color: #087fc3; }
.field.has-error input, .field.has-error select { border-color: #C0392B; }
.field-error { font-size: 12px; color: #C0392B; }
.demo-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; width: 100%; margin-top: 5px;
  background: #073B6D; color: #fff; border: 1px solid #073B6D;
  border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer;
}
.demo-submit:hover { background: #0b518e; }
.demo-submit:disabled { opacity: .7; cursor: default; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #ffffff55; border-top-color: #fff;
  animation: spin .8s linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.alert-error {
  margin-top: 18px; padding: 12px 16px; border-radius: 8px;
  background: #fdecea; border: 1px solid #f3c6c1; color: #7a2a20; font-size: 13.5px; line-height: 1.6;
}
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
