/* ==========================================================
   SCH Garage Door - Privacy Policy & Terms of Service
   Industrial look shared with the service pages.
   Privacy: sticky numbered contents + timeline.
   Terms: at a glance steps + section cards.
   ========================================================== */
.legal { --steel: #2b3138; --steel-2: #3a424b; --plate: #e9ecef; background: var(--plate); }
.legal h1, .legal h2 { font-family: "Oswald", "Poppins", sans-serif; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.75; color: #3a444f; }
.legal ul { margin: 0 0 14px; }
.legal article ul li, .tm-card ul li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.legal article ul li::before, .tm-card ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }
.legal a:not(.btn) { color: var(--orange); font-weight: 600; }
.legal a:not(.btn):hover { text-decoration: underline; }
.legal [id] { scroll-margin-top: 110px; }

/* Hero */
.lg-hero { position: relative; overflow: hidden; color: #fff; background: var(--steel); padding: 64px 0 70px; }
.lg-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background: repeating-linear-gradient(45deg, var(--orange) 0 14px, #111 14px 28px);
}
.lg-hero-terms { background: linear-gradient(120deg, #0f2335 0%, #2b3138 100%); }
.lg-hero-inner { display: flex; align-items: center; gap: 28px; }
.lg-hero-ico { flex-shrink: 0; width: 96px; height: 96px; display: grid; place-items: center; background: var(--orange); box-shadow: 8px 8px 0 #111; }
.lg-hero-terms .lg-hero-ico { background: #111; box-shadow: 8px 8px 0 var(--orange); }
.lg-hero-ico svg { width: 48px; height: 48px; color: #fff; }
.lg-hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1; }
.lg-hero-sub { margin: 10px 0 14px; color: #d7dee6 !important; font-size: 17px !important; max-width: 640px; }
.lg-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; font-size: 13.5px !important; }
.lg-meta span { color: #b9c4cf; }
.lg-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--orange); vertical-align: 2px; }
.legal .lg-meta a { color: #fff; border-bottom: 2px solid var(--orange); }

/* Privacy promise strip */
.pv-promise { background: #fff; border-bottom: 1px solid #dde2e7; }
.pv-promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pv-promise-grid div { padding: 22px 24px; border-left: 1px solid #e3e7eb; display: flex; flex-direction: column; }
.pv-promise-grid div:first-child { border-left: 0; padding-left: 0; }
.pv-promise-grid b { font-family: "Oswald", var(--font-head); text-transform: uppercase; font-weight: 600; font-size: 19px; color: var(--navy); }
.pv-promise-grid b::before { content: "\2713"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; background: var(--orange); color: #fff; font-size: 13px; }
.pv-promise-grid span { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Privacy layout */
.pv-layout { display: grid; grid-template-columns: 280px 1fr; gap: 44px; padding-top: 50px; padding-bottom: 80px; align-items: start; }
.pv-toc { position: sticky; top: 112px; background: var(--steel); color: #fff; padding: 22px 0 14px; border-top: 5px solid var(--orange); }
.pv-toc-title { margin: 0 22px 10px; color: var(--orange) !important; font-family: "Oswald", var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: 14px !important; }
.pv-toc ol { list-style: none; margin: 0; padding: 0; }
.legal .pv-toc a { display: flex; gap: 12px; align-items: baseline; padding: 8px 22px; color: #c9d4df; font-weight: 500; font-size: 14px; border-left: 3px solid transparent; transition: .2s; }
.legal .pv-toc a span { font-family: "Oswald", var(--font-head); color: #7f8c99; font-size: 13px; }
.legal .pv-toc a:hover, .legal .pv-toc a.active { color: #fff; background: rgba(255,255,255,.06); border-left-color: var(--orange); text-decoration: none; }
.legal .pv-toc a.active span { color: var(--orange); }
.pv-body { position: relative; padding-left: 64px; }
.pv-body::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 3px; background: repeating-linear-gradient(var(--steel) 0 10px, transparent 10px 18px); }
.pv-sec { position: relative; background: #fff; padding: 28px 30px 16px; margin-bottom: 22px; box-shadow: 0 10px 26px rgba(15,35,53,.08); border-left: 5px solid var(--orange); }
.pv-num { position: absolute; left: -64px; top: 24px; width: 47px; height: 47px; display: grid; place-items: center; background: var(--steel); color: #fff; font-family: "Oswald", var(--font-head); font-weight: 600; font-size: 17px; box-shadow: 4px 4px 0 var(--orange); }
.pv-sec h2 { font-size: 24px; color: var(--navy); margin-bottom: 12px; }
.pv-sec p { margin: 0 0 14px; }

/* Contact block */
.lg-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px !important; }
.legal .lg-contact li { padding: 12px 14px 12px 16px !important; background: var(--plate); border-left: 3px solid var(--orange); margin: 0 !important; font-size: 14.5px; }
.legal .lg-contact li::before { display: none; }
.lg-contact b { display: block; font-family: var(--font-head); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }

/* Terms: at a glance */
.tm-glance { background: #fff; padding: 54px 0 46px; }
.tm-glance h2 { font-size: 28px; color: var(--navy); margin-bottom: 22px; }
.tm-glance-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: g; }
.tm-glance-list li { position: relative; padding: 24px 24px 22px; background: var(--steel); color: #fff; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%); margin-left: -6px; padding-left: 42px; }
.tm-glance-list li:first-child { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); margin-left: 0; padding-left: 24px; }
.tm-glance-list li:nth-child(even) { background: var(--orange); }
.tm-glance-list span { font-family: "Oswald", var(--font-head); font-size: 34px; font-weight: 700; line-height: 1; opacity: .35; }
.tm-glance-list b { display: block; margin: 6px 0 6px; font-family: "Oswald", var(--font-head); text-transform: uppercase; font-weight: 600; font-size: 18px; letter-spacing: .4px; }
.legal .tm-glance-list p { margin: 0; color: #e8edf2; font-size: 13.5px; line-height: 1.55; padding-right: 12px; }
.legal .tm-glance-list li:nth-child(even) p { color: #fff4ea; }
.legal .tm-glance-note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }

/* Terms: jump chips */
.tm-jump { position: sticky; top: 92px; z-index: 50; background: var(--steel); border-bottom: 4px solid var(--orange); }
.tm-jump-inner { display: flex; gap: 6px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: thin; }
.legal .tm-jump a { flex-shrink: 0; padding: 7px 14px; background: rgba(255,255,255,.07); color: #dbe3eb; font-family: var(--font-head); font-weight: 500; font-size: 13px; white-space: nowrap; }
.legal .tm-jump a:hover, .legal .tm-jump a.active { background: var(--orange); color: #fff; text-decoration: none; }

/* Terms: cards */
.tm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 46px 0 80px; }
.tm-card { background: #fff; padding: 0 28px 14px; box-shadow: 0 10px 26px rgba(15,35,53,.08); border-top: 5px solid var(--steel); }
.tm-card header { display: flex; align-items: center; gap: 14px; margin: 0 -28px 16px; padding: 16px 28px; border-bottom: 1px dashed #dde2e7; }
.tm-card header span { flex-shrink: 0; padding: 4px 10px; background: var(--orange); color: #fff; font-family: "Oswald", var(--font-head); font-weight: 600; font-size: 14px; }
.tm-card h2 { font-size: 21px; color: var(--navy); }
.tm-card p { margin: 0 0 14px; }
.tm-wide { grid-column: 1 / -1; }
.tm-alert { background: #fff4ea; border-top-color: var(--orange); position: relative; }
.tm-alert header span { background: #111; }
.tm-alert::after { content: "!"; position: absolute; right: 24px; top: 14px; width: 34px; height: 34px; display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--orange) 0 6px, #111 6px 12px); color: #fff; font-family: "Oswald", sans-serif; font-weight: 700; font-size: 22px; text-shadow: 0 0 4px #000; }

/* Footer legal links */
.footer-legal a { color: #fff; }

@media (max-width: 1024px) {
  .pv-layout { grid-template-columns: 1fr; gap: 26px; }
  .pv-toc { position: relative; top: 0; }
  .pv-toc ol { columns: 2; }
  .tm-glance-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tm-glance-list li, .tm-glance-list li:first-child { clip-path: none; margin-left: 0; padding-left: 24px; }
  .tm-grid { grid-template-columns: 1fr; }
  .tm-jump { top: 78px; }
}
@media (max-width: 680px) {
  .lg-hero { padding: 44px 0 52px; }
  .lg-hero-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .lg-hero-ico { width: 70px; height: 70px; }
  .lg-hero-ico svg { width: 36px; height: 36px; }
  .pv-promise-grid { grid-template-columns: 1fr; }
  .pv-promise-grid div, .pv-promise-grid div:first-child { border-left: 0; padding: 14px 0; border-bottom: 1px solid #e3e7eb; }
  .pv-toc ol { columns: 1; }
  .pv-body { padding-left: 0; }
  .pv-body::before { display: none; }
  .pv-num { position: static; margin-bottom: 12px; width: 40px; height: 40px; font-size: 15px; }
  .pv-sec { padding: 22px 18px 10px; }
  .lg-contact { grid-template-columns: 1fr; }
  .tm-glance-list { grid-template-columns: 1fr; }
  .tm-jump { top: 68px; }
  .tm-card { padding: 0 18px 10px; }
  .tm-card header { margin: 0 -18px 14px; padding: 14px 18px; }
  .tm-alert::after { display: none; }
}
