/* Depth layer. Loaded after motion.css and easy to remove.
   Adds colour, texture and layering to the flat sections. */

/* Feature row: soft dot pattern and layered cards */
.features {
  position: relative;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(65, 93, 130, 0.09) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
}

.feature {
  box-shadow:
    0 1px 2px rgba(12, 24, 44, 0.04),
    0 10px 30px -18px rgba(12, 24, 44, 0.22);
}

.feature-icon {
  background: #f7ead9;
  color: var(--teal);
  box-shadow: 0 10px 20px -10px rgba(65, 93, 130, 0.35);
}

.feature:hover .feature-icon {
  background: var(--teal);
  color: var(--white);
}

/* Accent highlight behind one phrase in the headline */
.hl {
  background: none;
  padding: 0 0.08em;
  margin: 0 -0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Small cyan bar before each eyebrow label */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--cyan);
  vertical-align: middle;
  margin-right: 12px;
  transform: translateY(-1px);
}

/* Dark band gets a soft light source */
.band {
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(42, 36, 32, 0.7);
}

.band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 162, 93, 0.28), transparent 68%);
  pointer-events: none;
}

.band > * {
  position: relative;
}

/* Closing area gets a warm-to-cool wash */
.closing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(640px 280px at 100% 0%, rgba(245, 162, 93, 0.18), transparent 70%),
    radial-gradient(520px 260px at 0% 100%, rgba(65, 93, 130, 0.12), transparent 70%),
    var(--white);
}

/* Footer edge */
.site-footer {
  position: relative;
  background:
    linear-gradient(90deg, var(--teal), var(--cyan) 50%, var(--teal)) top / 100% 3px no-repeat,
    var(--navy);
  padding-top: 52px;
}

/* Inline text links get a small arrow */
.links a::after {
  content: none;
  color: var(--cyan);
  font-weight: 800;
}

/* Layered shadow on the header while the page scrolls is handled by the
   browser's default; here the header simply gets a crisper edge */
.site-header {
  box-shadow: 0 1px 0 rgba(12, 24, 44, 0.04), 0 8px 24px -20px rgba(12, 24, 44, 0.4);
}

@media (max-width: 600px) {
  .features {
    background-size: 18px 18px;
  }

  .eyebrow::before {
    width: 16px;
  }
}
