/* Global reset / basics */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #111827;
  background: #0f172a; /* dark slate background */
}

/* Layout shells */
header,
section,
footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
}

/* HERO */
header {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  background: radial-gradient(circle at top left, #1d4ed8, #0f172a 55%);
  border-radius: 18px;
  color: #f9fafb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

h1,
h2,
h3 {
  margin-top: 0;
}

h1 {
  font-size: clamp(1.8rem, 2.6vw + 1.4rem, 2.6rem);
  line-height: 1.25;
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.1rem;
}

.subhead {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #cbd5f5;
  margin-bottom: 0.5rem;
}

.phone-cta {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0.75rem 0 1.1rem;
}

.phone-cta a {
  color: #facc15;
  text-decoration: none;
}

.phone-cta a:hover {
  text-decoration: underline;
}

header p {
  max-width: 640px;
}

.highlight {
  background: rgba(250, 204, 21, 0.18);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}

/* Badges */
.badges {
  margin-top: 1.1rem;
}

.badges span {
  display: inline-block;
  margin: 0.25rem 0.4rem 0.25rem 0;
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.6);
  color: #e5e7eb;
}

/* Main background card behind sections */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.08), transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(129, 140, 248, 0.16), transparent 55%);
  z-index: -1;
}

section {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 16px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.5);
  color: #e5e7eb;
}

/* Text colors inside sections */
section h2,
section h3 {
  color: #f9fafb;
}

section p,
section li {
  color: #cbd5f5;
}

/* Flex cards */
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.card {
  flex: 1 1 320px;
  border-radius: 14px;
  padding: 1.25rem 1.3rem 1.4rem;
  background: radial-gradient(circle at top left, #111827, #020617);
  border: 1px solid rgba(31, 41, 55, 0.85);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.9);
}

/* Forms */
form label {
  display: block;
  margin-top: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #e5e7eb;
}

form input,
form textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  margin-top: 0.25rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: #020617;
  color: #e5e7eb;
  font: inherit;
}

form input:focus,
form textarea:focus {
  outline: 2px solid #facc15;
  outline-offset: 1px;
  border-color: #facc15;
}

form button {
  margin-top: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #111827;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.45);
  transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, filter 0.08s ease-out;
}

form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.6);
  filter: brightness(1.02);
}

form button:active {
  transform: translateY(1px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

/* Lists */
ol,
ul {
  padding-left: 1.15rem;
}

ol li + li,
ul li + li {
  margin-top: 0.2rem;
}

/* Links */
a {
  color: #60a5fa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1.25rem 2.4rem;
  font-size: 0.88rem;
  color: #9ca3af;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  margin-top: 1.4rem;
}

/* Responsive tweaks */
@media (max-width: 720px) {
  header,
  section,
  footer {
    padding-inline: 1rem;
  }

  .phone-cta {
    font-size: 1.25rem;
  }

  header {
    margin-inline: 0.75rem;
  }

  section {
    margin-inline: 0.75rem;
  }
}
