/* Agent-Endpoint — legal pages in the patch-bay world (shared by privacy/termini) */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background: #25221f;
  color: #c9c1b6;
  font-family: 'Poppins', system-ui, sans-serif;
}
::selection { background: #d3c6b4; color: #25221f; }

/* top rail: darkened brushed-steel strip (same material as the landing) */
.legal-rail {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; padding: 0 clamp(20px, 4vw, 56px);
  background:
    linear-gradient(180deg, rgba(18,14,10,.62), rgba(18,14,10,.72)),
    url("plates/legal-rail.png?v=2160") repeat;
  background-size: auto, 2160px 158px;
  border-bottom: 1px solid #4a443d;
}
.legal-rail .wordmark {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: .04em;
  color: #b39a83;
  text-shadow: 0 -1px 0 rgba(0,0,0,.55), 0 1px 0 rgba(255,255,255,.18);
}
.legal-nav { display: flex; gap: 34px; }
.legal-nav a {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .02em;
  color: #cfc6bb;
  text-decoration: none;
}
.legal-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.legal-nav a[aria-current="page"] {
  color: #e0b070;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.legal-nav a:focus-visible, .plate a:focus-visible { outline: 3px solid #d3c6b4; outline-offset: 3px; }

.wrap { max-width: 1000px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 40px) 90px; }

h1 {
  font-family: 'Allerta Stencil', 'Aladin', sans-serif;
  font-weight: 400;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #d3c6b4;
}
.date {
  margin-top: 14px;
  font-size: 15px;
  color: #9a938a;
}

/* engraved content plates */
.plate {
  position: relative;
  margin-top: 20px;
  padding: 26px clamp(20px, 3vw, 36px);
  background: linear-gradient(180deg, #34302a 0%, #2b2723 100%);
  border: 1px solid #4a443d;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.07);
}
.plate h2 {
  display: flex; align-items: baseline; gap: 14px;
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #c9a479;
}
.plate h2 .num {
  font-size: .8em;
  color: #7d7263;
  font-variant-numeric: tabular-nums;
}
.plate p { margin-top: 12px; font-size: 16px; line-height: 1.7; max-width: 76ch; }
.plate p + p { margin-top: 10px; }
.plate strong { color: #d8d0c4; font-weight: 600; }

/* service bullets: the cable colours from the landing legend */
.plate ul { list-style: none; margin-top: 14px; }
.plate li {
  position: relative;
  padding-left: 30px;
  margin-top: 9px;
  font-size: 16px;
  line-height: 1.6;
}
.plate li::before {
  content: "";
  position: absolute; left: 0; top: .5em;
  width: 14px; height: 8px; border-radius: 4px;
  background: var(--cable, #c9a479);
  box-shadow: inset 0 -2px 2px rgba(0,0,0,.35);
}
.plate li:nth-child(1) { --cable: #e05a4e; }  /* Gmail red   */
.plate li:nth-child(2) { --cable: #4a7fe0; }  /* Drive blue  */
.plate li:nth-child(3) { --cable: #e0a34e; }  /* amber       */
.plate li:nth-child(4) { --cable: #4ea86a; }  /* green       */
.plate li:nth-child(5) { --cable: #8b5ae0; }  /* violet      */
.plate li:nth-child(6) { --cable: #e07a3f; }  /* orange      */
.plate li:nth-child(7) { --cable: #9a938a; }  /* neutral     */

/* numbered terms rows (big tabular numeral, like the proposal image) */
.plate.term { display: grid; grid-template-columns: auto 1fr; gap: 4px 26px; align-items: start; }
.plate.term .big-num {
  grid-row: span 2;
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 9vw, 88px);
  line-height: .9;
  color: #57503f;
  font-variant-numeric: tabular-nums;
}
.plate.term h2 { align-self: end; }
.plate.term p { grid-column: 2; margin-top: 2px; }

.plate a { color: #e0b070; text-decoration: underline; text-underline-offset: 4px; }

.legal-foot {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #3a352f;
  font-size: 14px;
  color: #8a837a;
  text-align: center;
}
.legal-foot a { color: #b5a488; }
