/*
 * Terms style.css
 */


/* ---------- HERO META STRIP ---------- */
.hero-meta{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:34px;
  max-width:820px;
}
.hero-meta-item{
  background:var(--background);
  border:1px solid var(--border);
  border-left:3px solid var(--blue);
  padding:14px 18px;
}
.hero-meta-item span{
  display:block;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:1.2px;
  color:var(--muted);
  font-weight:700;
  margin-bottom:4px;
}
.hero-meta-item strong{
  color:#25384c;
  font-size:14px;
  font-weight:600;
}

.section{padding:22px 0;background:#fff}
.section-alt{background:var(--background);border-block:1px solid var(--border-light)}
.section-heading{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:end;margin-bottom:34px}
.section-heading p,p{color:var(--muted)}

/* ---------- LEGAL INTRO ---------- */
.legal-intro{
  background:#fff;
  border:1px solid var(--border);
  border-left:5px solid var(--blue);
  padding:30px 34px;
  max-width:900px;
}
.legal-intro p{
  font-size:15px;
  color:var(--text);
  margin:0 0 14px;
  line-height:1.75;
}
.legal-intro p:last-child{margin-bottom:0}

/* ---------- TABLE OF CONTENTS ---------- */
.toc-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:0;
  border:1px solid var(--border);
  border-radius:4px;
  background:#fff;
  overflow:hidden;
  counter-reset:toc;
}
.toc-list li{
  counter-increment:toc;
  border-bottom:1px solid var(--border-light);
  border-right:1px solid var(--border-light);
}
.toc-list li:nth-child(2n){border-right:0}
.toc-list li:nth-last-child(-n+2){border-bottom:0}
.toc-list a{
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 22px;
  text-decoration:none;
  color:var(--text);
  font-size:14px;
  font-weight:500;
  transition:background .15s ease, color .15s ease;
}
.toc-list a::before{
  content:"§ " counter(toc, decimal-leading-zero);
  color:var(--blue);
  font-weight:700;
  font-size:12px;
  font-family:"SFMono-Regular",Consolas,monospace;
  min-width:42px;
}
.toc-list a:hover{background:var(--background);color:var(--blue)}

/* ---------- LEGAL SECTIONS ---------- */
.legal-section{
  padding:36px 0;
  border-bottom:1px solid var(--border-light);
  scroll-margin-top:90px;
}
.legal-section:last-child{border-bottom:0}
.legal-section h2{
  font-size:24px;
  margin-bottom:18px;
  position:relative;
}
.legal-number{
  color:var(--blue);
  font-size:12px;
  font-weight:700;
  letter-spacing:1.4px;
  margin-bottom:10px;
  font-family:"SFMono-Regular",Consolas,monospace;
}
.legal-section p{
  font-size:15px;
  line-height:1.75;
  color:var(--text);
  margin:0 0 14px;
  max-width:820px;
}
.legal-section p:last-child{margin-bottom:0}
.legal-section p strong{color:#25384c}

/* Warning-tinted sections (warranty / liability) */
.legal-section-warning{
  background:var(--warn);
  border:1px solid var(--warn-border);
  border-left:5px solid #d9a441;
  padding:30px 34px;
  margin:24px 0;
  border-radius:4px;
}
.legal-section-warning h2{color:#6b4a12}
.legal-section-warning .legal-number{color:#a77a1e}
.legal-section-warning p{color:#5a4a2a}

/* ---------- LEGAL LIST ---------- */
.legal-list{
  padding:0 0 0 22px;
  margin:10px 0 14px;
  list-style:none;
  max-width:820px;
}
.legal-list li{
  position:relative;
  padding:8px 0 8px 24px;
  font-size:15px;
  line-height:1.7;
  color:var(--text);
  border-bottom:1px solid var(--border-light);
}
.legal-list li:last-child{border-bottom:0}
.legal-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  width:8px;
  height:8px;
  background:var(--blue);
  border-radius:50%;
}

/* ---------- CALLOUT / CONTACT / FOOTER ---------- */
.callout{background:var(--navy);color:#fff;padding:31px;border-left:5px solid var(--blue)}
.callout-label{color:#b9d5ed;font-size:11px;font-weight:700;letter-spacing:1.4px;margin-bottom:16px}
.callout h3{color:#fff;font-size:23px}
.callout p{color:#d5e0ea;margin:10px 0 0}

.contact-box{display:grid;grid-template-columns:1fr auto;gap:50px;align-items:center;border:1px solid var(--border);padding:35px;background:#fff}
.contact-details{min-width:230px}
.contact-details .button{margin-bottom:15px;display:inline-block;padding:10px 17px;border-radius:3px;text-decoration:none;font-weight:600;font-size:13px;background:var(--blue);color:#fff}
.contact-details .button:hover{background:var(--blue-hover)}
.contact-details strong{display:block;color:#536270;font-size:11px;text-transform:uppercase;letter-spacing:.7px;margin-top:10px}
.contact-details a:not(.button){display:block;text-decoration:none}

/* ---------- RESPONSIVE ---------- */
@media(max-width:850px){
  nav{display:none}
  .section-heading,.contact-box{grid-template-columns:1fr;gap:25px}
  .hero-meta{grid-template-columns:1fr}
  .toc-list{grid-template-columns:1fr}
  .toc-list li{border-right:0 !important}
  .toc-list li:nth-last-child(2){border-bottom:1px solid var(--border-light)}
  .toc-list li:last-child{border-bottom:0}
}
@media(max-width:560px){
  .container{width:calc(100% - 28px)}
  .hero{padding:50px 0 48px}
  .hero h1{font-size:39px}
  .hero-copy{font-size:16px}
  .section{padding:48px 0}
  h2{font-size:22px}
  .legal-section h2{font-size:20px}
  .legal-intro,.legal-section-warning{padding:22px}
  .legal-section{padding:28px 0}
  .footer-inner{padding:14px 0;flex-direction:column;align-items:flex-start}
}