* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.45;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 14%, rgba(118, 153, 255, 0.22), transparent 38%),
    radial-gradient(circle at 86% 78%, rgba(255, 177, 112, 0.26), transparent 40%),
    linear-gradient(122deg, #f8faff, #f2f4fb);
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.25;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

/* Reserve space for asynchronously loaded shell fragments to reduce CLS. */
#header-slot {
  display: block;
  min-height: 82px;
}

#footer-slot {
  display: block;
  min-height: 36px;
}

@media (max-width: 740px) {
  #header-slot {
    min-height: 72px;
  }
}

.btn {
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  padding: 0.68rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn__icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(145deg, #3a63ea, #2f57d8);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 87, 216, 0.34);
}

.btn--request {
  background: linear-gradient(145deg, #e78d2d, #d97318);
  color: #fff;
  box-shadow: 0 8px 20px rgba(204, 106, 29, 0.34);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.btn--small {
  padding: 0.53rem 1rem;
  font-size: 0.92rem;
}

.section-head {
  margin-bottom: 0.9rem;
}

.section-head__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.section-head h2 {
  margin: 0.26rem 0 0.35rem;
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
}

.section-head p {
  margin: 0;
  color: var(--text-subtle);
}

.hero,
.service-selector,
.flow-panel,
.contact-hub {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.1rem 1rem;
}

.noscript-box {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  background: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
