/* ═══════════════════════════════════════════════════════════
   ELEVATION GLAZING LTD — LEGAL PAGES SHARED STYLESHEET
   Used by: privacy-policy, cookie-policy, terms,
            complaints, cancellation, guarantee
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink:    #0D1117;
  --ink-90: #111820;
  --navy:   #1A2E52;
  --steel:  #2C3E5A;
  --frost:  #F0F3F8;
  --chalk:  #F7F8FA;
  --white:  #FFFFFF;
  --rule:   rgba(255,255,255,0.08);
  --rule-dk:#DDE2EC;
  --warm:   #C8B49A;
  --warm-lt:#E8DDD0;
  --mist:   rgba(255,255,255,0.55);
  --ghost:  rgba(255,255,255,0.25);
  --f-display: 'Bebas Neue', sans-serif;
  --f-body:    'DM Sans', sans-serif;
  --f-mono:    'DM Mono', monospace;
  --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--chalk);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%; left: 16px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  border: 2px solid var(--navy);
}
.skip-link:focus { top: 16px; }

/* Focus */
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

/* ─── Nav ─── */
.l-nav {
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.l-nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.l-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.l-nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
  /* Invert navy logo to white for dark nav background */
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.l-nav-logo:hover .l-nav-logo-img { opacity: 0.8; }
.l-back-link {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
  flex-shrink: 0;
}
.l-back-link:hover { color: var(--white); }

/* ─── Main content area ─── */
.l-main { padding: 64px 0 96px; }
.l-container { max-width: 960px; margin: 0 auto; padding: 0 32px; }

/* ─── Page header ─── */
.l-page-header {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--navy);
}
.l-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.l-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--navy);
}
.l-h1 {
  font-family: var(--f-display);
  font-size: clamp(48px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
.l-meta-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.l-meta-item {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7A8499;
}
.l-meta-item strong { color: var(--steel); font-weight: 500; }

/* ─── Body content ─── */
.l-body { max-width: 760px; }
.l-body p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--steel);
  margin-bottom: 16px;
}
.l-body a { color: var(--navy); text-decoration: underline; }
.l-body a:hover { color: var(--ink); }
.l-body strong { font-weight: 500; color: var(--ink); }

.l-h2 {
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-dk);
}
.l-h3 {
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 12px;
}

.l-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.l-list li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--steel);
  padding-left: 20px;
  position: relative;
}
.l-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--navy);
}
.l-list li strong { font-weight: 500; color: var(--ink); }
.l-list a { color: var(--navy); }

/* ─── Info box ─── */
.l-intro-box {
  background: var(--white);
  border: 1px solid var(--rule-dk);
  border-left: 3px solid var(--navy);
  padding: 28px 32px;
  margin-bottom: 40px;
}
.l-intro-box p { font-size: 15px; color: var(--steel); line-height: 1.75; }

.l-warning-box {
  background: #FFF8F0;
  border: 1px solid #F0DCC8;
  border-left: 3px solid var(--warm);
  padding: 24px 28px;
  margin: 24px 0;
}
.l-warning-box p { font-size: 14px; color: #5A4030; line-height: 1.7; }
.l-warning-box strong { color: #3A2010; }

/* ─── Data table ─── */
.l-data-table {
  border: 1px solid var(--rule-dk);
  margin: 24px 0;
  overflow: hidden;
}
.l-data-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--rule-dk);
}
.l-data-row:last-child { border-bottom: none; }
.l-data-row-head { background: #F0F3F8; }
.l-data-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7A8499;
  padding: 14px 20px;
  border-right: 1px solid var(--rule-dk);
  display: flex;
  align-items: center;
}
.l-data-row-head .l-data-label { color: var(--steel); }
.l-data-value {
  font-size: 14px;
  font-weight: 300;
  color: var(--steel);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  line-height: 1.6;
}
.l-data-value a { color: var(--navy); }
.l-data-value strong { font-weight: 500; color: var(--ink); }

/* ─── Numbered section ─── */
.l-numbered { counter-reset: section; }
.l-numbered .l-h2::before {
  counter-increment: section;
  content: counter(section) ". ";
  color: var(--warm);
}

/* ─── Footer ─── */
.l-footer {
  background: var(--ink);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.l-footer .l-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-footer p {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.3);
  text-align: center;
  line-height: 1.8;
}
.l-footer a { color: rgba(255,255,255,0.45); text-decoration: none; }
.l-footer a:hover { color: var(--white); }

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .l-container { padding: 0 20px; }
  .l-main { padding: 40px 0 64px; }
  .l-data-row { grid-template-columns: 1fr; }
  .l-data-label { border-right: none; border-bottom: 1px solid var(--rule-dk); padding: 10px 16px; }
  .l-data-value { padding: 10px 16px; }
  .l-nav-inner { padding: 0 20px; }
  .l-meta-row { gap: 12px; }
}
