/* content.css — the reading layer.
 *
 * main.css owns the experience: fixed stage, locked body, scroll choreography.
 * A service page has to be the opposite of that — it scrolls normally, it is
 * crawlable, and someone who arrived from a search result can read it without
 * waiting for anything. Same tokens, same type, different job.
 */

body.doc {
  overflow-y: auto;
  height: auto;
}

/* The field runs quieter behind copy than it does in the experience, where it
   is the subject rather than the backdrop. */
.stage--ambient {
  opacity: 0;
}
.stage--ambient.is-ready {
  opacity: 0.55;
}

.doc main {
  position: relative;
  z-index: 10;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 48px);
}

/* ------------------------------------------------------------------- hero */

.doc__hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 40px;
}
.doc__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 7.4vw, 86px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 14px 0 22px;
}
.doc__lede {
  font-size: clamp(16px, 1.9vw, 21px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted);
  max-width: 620px;
}
.doc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.doc__actions .btn {
  display: inline-block;
}

/* --------------------------------------------------------------- sections */

.doc__section {
  padding: clamp(60px, 9vw, 108px) 0;
  border-top: 1px solid var(--hair);
}
.doc__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 18px;
}
.doc__h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
  max-width: 18ch;
}
.doc__cols {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
}

/* ------------------------------------------------------------------ steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: 14px;
  overflow: hidden;
}
.step {
  background: rgba(4, 8, 18, 0.62);
  padding: 26px clamp(18px, 3vw, 32px);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 6px 12px;
  align-items: baseline;
}
.step__n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--blue);
}
.step__h {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(17px, 2.1vw, 21px);
  letter-spacing: -0.01em;
}
.step p {
  grid-column: 2;
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

/* ----------------------------------------------------------- deliverables */

.deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.deliverables li {
  padding: 24px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: rgba(4, 8, 18, 0.5);
}
.deliverables h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
  margin-bottom: 8px;
}
.deliverables p {
  margin: 0;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

/* -------------------------------------------------------------- close/CTA */

.doc__cta {
  padding: clamp(70px, 10vw, 120px) 0 clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--hair);
}
.doc__foot {
  position: relative;
  z-index: 10;
  max-width: 880px;
  margin: 0 auto;
  padding: 26px clamp(20px, 6vw, 48px) 44px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  border-top: 1px solid var(--hair);
}

/* ------------------------------------------------------- audience gateways
 *
 * "Protect Me" and "Protect My Company" are not service pages — they are the
 * fork in the road. Their job is to confirm the visitor is in the right place
 * within about three seconds, then hand them to the one service that answers
 * their actual question. So they read wider than a service page: less prose,
 * more routing.
 */

.doc--gate main {
  max-width: 1060px;
}
.doc--gate .doc__foot {
  max-width: 1060px;
}
.doc--gate .doc__lede {
  max-width: 720px;
}

/* The recognition beat. Someone lands here scared of one specific thing; if
   they see it named in their own words they stop evaluating and start reading. */
.symptoms {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 700px;
}
.symptoms li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}
.symptoms li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(32, 139, 255, 0.8);
}

/* Routing cards — the whole reason the page exists. Same geometry as the
   homepage doors so the handoff feels like one continuous surface. */
.routes {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.route {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: rgba(4, 8, 18, 0.55);
  transition:
    border-color 0.4s ease,
    background 0.4s ease,
    transform 0.4s ease;
}
.route:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}
.route__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-soft);
}
.route__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(19px, 2.3vw, 23px);
  letter-spacing: -0.015em;
}
.route p {
  margin: 0;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}
.route__arrow {
  margin-top: auto;
  padding-top: 14px;
  font-size: 15px;
  color: var(--faint);
  transition: color 0.35s ease;
}
.route:hover .route__arrow {
  color: var(--blue-soft);
}

/* Three motions, for the enterprise page: test / watch / lead. Numbered so the
   page reads as a decision, not a menu. */
.motions {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 40px;
}
.motion__n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}
.motion h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.motion p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

/* Credential strip — the trust line that lets a municipality forward the page
   to a procurement officer without extra explanation. */
.creds {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
}
.creds li {
  padding: 8px 16px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Without WebGL the page loses only its backdrop, which is the point. */
html.no-webgl .stage--ambient {
  display: none;
}
