/* =========================================================================
   Security services page, in the editorial system shared with careers and
   the blog: alternating light and dark bands, large light-weight display
   type, thin rules instead of cards, outlined rectangular buttons.

   Loaded after styles.css. Nothing shared is restyled. Class names are the
   original ones; the page was split into four bands and otherwise untouched.
   ========================================================================= */

:root {
  --c-light:      #F4F5F2;
  --c-light-2:    #EAECE7;
  --c-ink:        #0C1E1B;
  --c-ink-soft:   #3E4A46;
  --c-ink-dim:    #7A847F;
  --c-rule-light: rgba(12, 30, 27, 0.16);
  --c-rule-soft:  rgba(12, 30, 27, 0.09);
  --c-rule-dark:  rgba(240, 240, 240, 0.14);
}

.coverage-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Every band paints its own ground and ink. */
.sec-band { padding: 120px 0; }
.sec-band--light { background: var(--c-light);   color: var(--c-ink); }
.sec-band--grey  { background: var(--c-light-2); color: var(--c-ink); }
.sec-band--dark  { background: var(--bg-dark);   color: var(--text-white); }

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

.sec-hero {
  position: relative;
  background: var(--bg-darker);
  color: var(--text-white);
  padding: 176px 32px 0;
  text-align: center;
}

/* The old grid and glow overlays. Neutralised rather than deleted from the
   markup, so the page keeps working if this stylesheet is ever swapped back. */
.sec-hero-grid, .sec-hero-glow { display: none; }

.sec-hero-inner { max-width: 1240px; margin: 0 auto; }

.sec-hero-title {
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0 auto 26px;
  max-width: 16ch;
}

.sec-hero-subtitle {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 56ch;
  margin: 0 auto 80px;
}

/* Metrics as a ruled row, not four boxes. */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--c-rule-dark);
  text-align: left;
}
@media (min-width: 800px) { .metrics-row { grid-template-columns: repeat(4, 1fr); } }

.metric-card {
  padding: 36px 24px 48px 0;
  border-right: 1px solid var(--c-rule-dark);
}
.metric-card:last-child { border-right: 0; }
@media (max-width: 799px) { .metric-card:nth-child(2n) { border-right: 0; } }

.metric-value {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}

.metric-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ------------------------------------------------------------- coverage */

.coverage-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-align: center;
  margin: 0 auto 22px;
  max-width: 20ch;
}

.coverage-subtitle {
  color: var(--c-ink-soft);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-align: center;
  max-width: 58ch;
  margin: 0 auto 80px;
}

/* Twelve areas on a ruled three-column grid: icon, title, list, rule below.
   The same construction as the perks on the careers page. */
.coverage-grid {
  display: grid;
  gap: 0 48px;
}
@media (min-width: 680px)  { .coverage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .coverage-grid { grid-template-columns: repeat(3, 1fr); } }

.coverage-card {
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--c-rule-light);
}

.coverage-card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
}
.coverage-card-icon svg { width: 100%; height: 100%; }
/* The inline icons carry a yellow stroke attribute from the dark design.
   CSS beats a presentation attribute, so they read in ink here. */
.coverage-card-icon svg * { stroke: var(--c-ink); }

.coverage-card-title {
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin: 0 0 16px;
}

.coverage-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--c-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.coverage-list li {
  padding: 7px 0;
  border-top: 1px solid var(--c-rule-soft);
}
.coverage-list li:first-child { border-top: 0; padding-top: 0; }

/* ---------------------------------------------------------------- teams */

.teams-block { }

.teams-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}

.teams-subtitle {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 50ch;
  margin: 0 0 72px;
}

/* Two teams side by side, divided by a single vertical rule. */
.team-card + .team-card { margin-top: 56px; }

@media (min-width: 900px) {
  .teams-block { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; }
  .teams-title, .teams-subtitle { grid-column: 1 / -1; }
  .team-card + .team-card { margin-top: 0; border-left: 1px solid var(--c-rule-dark); padding-left: 80px; }
}

.team-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.team-card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-rule-dark);
  border-radius: 50%;
}
.team-card-icon svg { width: 20px; height: 20px; }
.team-card-icon svg * { stroke: var(--text-white); }

.team-card-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0;
}

.team-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.team-list li {
  padding: 12px 0;
  border-top: 1px solid var(--c-rule-dark);
}
.team-list li:last-child { border-bottom: 1px solid var(--c-rule-dark); }

/* ---------------------------------------------------------------- trust */

.trust-block { display: grid; gap: 56px; }

.trust-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-dim);
  margin: 0 0 20px;
}
.trust-heading--spaced { margin-top: 0; }

/* Chips are outlined rectangles, not pills, in keeping with the buttons. */
.trust-pills, .compliance-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pill, .compliance-pill {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border: 1px solid var(--c-rule-light);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-ink);
  background: transparent;
}

.trust-pill { font-weight: 600; }

/* The markets row sits inside the trust block in the markup, so it takes
   the same label treatment and a rule above. */
.global-markets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--c-rule-light);
  padding-top: 40px;
}
@media (min-width: 700px) { .global-markets { grid-template-columns: repeat(4, 1fr); } }

.market-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 24px 16px 0;
  border-right: 1px solid var(--c-rule-soft);
}
.market-item:last-child { border-right: 0; }

.market-flag { font-size: 1.25rem; line-height: 1; }

.market-name {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* ------------------------------------------------------------------ cta */

/* The closing band: heading left, button right, like the careers page. */
.cta-card {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) { .cta-card { grid-template-columns: 1fr auto; gap: 60px; } }

.cta-card-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0 0 14px;
  max-width: 14ch;
}

.cta-card-subtitle {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0;
}

@media (min-width: 900px) {
  .cta-card-title, .cta-card-subtitle { grid-column: 1; }
  .cta-card-btn { grid-column: 2; grid-row: 1 / 3; }
}

.cta-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  padding: 15px 26px;
  border: 1px solid currentColor;
  font-size: 0.9375rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}
.cta-card-btn::after {
  content: "\2192";
  transition: transform 0.25s ease;
}
.cta-card-btn:hover { background: var(--text-white); color: var(--c-ink); }
.cta-card-btn:hover::after { transform: translateX(4px); }
.cta-card-btn:focus-visible { outline: 2px solid var(--green-accent); outline-offset: 3px; }

/* --------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  .cta-card-btn, .cta-card-btn::after { transition: none; }
}
