/* =========================================
   HUNTLIX TERMS & CONDITIONS
   Premium Responsive Legal Page
========================================= */

#huntlix-terms {
  --ht-navy:#17213f;
  --ht-purple:#713ce6;
  --ht-blue:#3269ed;
  --ht-muted:#60708a;
  --ht-border:#e5e9f4;
  --ht-soft:#f8f9ff;
  max-width:1200px;
  margin:0 auto;
  padding:20px 16px 70px;
  color:var(--ht-navy);
  font-family:inherit;
  line-height:1.75;
}

#huntlix-terms *,
#huntlix-terms *::before,
#huntlix-terms *::after {
  box-sizing:border-box;
}

#huntlix-terms a {
  text-decoration:none;
}

#huntlix-terms a:focus-visible,
#huntlix-terms summary:focus-visible {
  outline:3px solid #a68af8;
  outline-offset:3px;
}

#huntlix-terms h2,
#huntlix-terms h3 {
  color:var(--ht-navy);
  line-height:1.3;
  margin:0 0 14px;
}

#huntlix-terms h2 {
  font-size:clamp(24px,2.6vw,34px);
  font-weight:800;
  letter-spacing:-.6px;
}

#huntlix-terms h3 {
  font-size:17px;
  font-weight:750;
}

#huntlix-terms p {
  font-size:14px;
  line-height:1.85;
  color:var(--ht-muted);
  margin:0 0 15px;
}

/* HERO */

#huntlix-terms .ht-hero {
  position:relative;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  align-items:center;
  gap:25px;
  min-height:350px;
  padding:55px 50px;
  overflow:hidden;
  border:1px solid #e6e1f8;
  border-radius:25px;
  background:linear-gradient(125deg,#f9f5ff,#edf4ff);
}

#huntlix-terms .ht-eyebrow {
  display:inline-block;
  color:#6e3bdb;
  background:#efe8ff;
  border-radius:25px;
  padding:7px 14px;
  margin-bottom:18px;
  font-size:11px;
  font-weight:800;
  letter-spacing:1.3px;
}

#huntlix-terms .ht-hero h2 {
  font-size:clamp(37px,4.4vw,55px);
  letter-spacing:-1.6px;
  line-height:1.15;
  margin-bottom:22px;
}

#huntlix-terms .ht-hero h2 span {
  background:linear-gradient(110deg,#7a3ae9,#3269ed);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}

#huntlix-terms .ht-hero p {
  max-width:610px;
  font-size:16px;
}

#huntlix-terms .ht-hero-tags {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:24px;
}

#huntlix-terms .ht-hero-tags span {
  padding:7px 12px;
  border-radius:25px;
  border:1px solid #e8e2f7;
  background:#fff;
  color:#515b7d;
  font-size:11px;
  font-weight:750;
}

/* HERO ART */

#huntlix-terms .ht-hero-visual {
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:240px;
}

#huntlix-terms .ht-orbit {
  position:absolute;
  width:260px;
  height:260px;
  border:1px dashed #c8b8f5;
  border-radius:50%;
}

#huntlix-terms .ht-document {
  position:relative;
  z-index:1;
  width:165px;
  height:210px;
  padding:22px;
  border-radius:17px;
  background:#fff;
  border:1px solid #e7e3f6;
  box-shadow:0 22px 50px #5140bf30;
  transform:rotate(-7deg);
}

#huntlix-terms .ht-doc-top {
  display:flex;
  align-items:center;
  gap:9px;
  color:#49329d;
  font-size:12px;
  font-weight:900;
  letter-spacing:1px;
  margin-bottom:22px;
}

#huntlix-terms .ht-doc-top span {
  display:flex;
  justify-content:center;
  align-items:center;
  width:35px;
  height:35px;
  border-radius:10px;
  color:#fff;
  background:linear-gradient(135deg,#7e44e9,#3869ec);
  font-size:25px;
}

#huntlix-terms .ht-doc-line {
  height:8px;
  width:85%;
  background:#e9e8f5;
  border-radius:5px;
  margin:12px 0;
}

#huntlix-terms .ht-doc-line.long {width:100%}
#huntlix-terms .ht-doc-line.medium {width:65%}

#huntlix-terms .ht-doc-check {
  position:absolute;
  right:-17px;
  bottom:-15px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  border-radius:17px;
  background:linear-gradient(135deg,#8c55ee,#3869ed);
  color:#fff;
  font-size:31px;
  font-weight:900;
  box-shadow:0 10px 25px #583bce45;
}

#huntlix-terms .ht-float {
  position:absolute;
  z-index:2;
  padding:10px 14px;
  background:#fff;
  border:1px solid #e6e6f3;
  border-radius:11px;
  box-shadow:0 10px 25px #29357c18;
  font-size:12px;
  font-weight:800;
  color:#6240ba;
  white-space:nowrap;
}

#huntlix-terms .ht-float-one {
  top:15px;
  left:0;
}

#huntlix-terms .ht-float-two {
  right:0;
  bottom:10px;
}

/* INTRO NOTE */

#huntlix-terms .ht-intro-notice {
  display:flex;
  align-items:flex-start;
  gap:16px;
  padding:21px 24px;
  margin:28px 0;
  background:#f4f6ff;
  border:1px solid #e1e7fb;
  border-radius:15px;
}

#huntlix-terms .ht-notice-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:37px;
  height:37px;
  background:#e3eaff;
  color:#3865d9;
  border-radius:11px;
  font-size:21px;
  font-weight:900;
}

#huntlix-terms .ht-intro-notice strong {
  display:block;
  font-size:14px;
  margin-bottom:5px;
}

#huntlix-terms .ht-intro-notice p {
  margin:0;
  font-size:13px;
}

/* HIGHLIGHTS */

#huntlix-terms .ht-highlights {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:30px 0 45px;
}

#huntlix-terms .ht-highlight {
  padding:23px;
  background:#fff;
  border:1px solid var(--ht-border);
  border-radius:16px;
  box-shadow:0 6px 22px #27325c07;
}

#huntlix-terms .ht-highlight-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:49px;
  height:49px;
  border-radius:13px;
  font-size:25px;
  margin-bottom:16px;
}

#huntlix-terms .ht-highlight-icon.purple {
  background:#eee7ff;
  color:#713ce6;
}

#huntlix-terms .ht-highlight-icon.blue {
  background:#e9efff;
  color:#3269ed;
}

#huntlix-terms .ht-highlight-icon.orange {
  background:#fff0df;
  color:#db8b27;
}

#huntlix-terms .ht-highlight strong {
  display:block;
  font-size:15px;
  margin-bottom:7px;
}

#huntlix-terms .ht-highlight p {
  font-size:12px;
  margin:0;
}

/* MAIN LAYOUT */

#huntlix-terms .ht-layout {
  display:grid;
  grid-template-columns:265px minmax(0,1fr);
  align-items:start;
  gap:28px;
}

#huntlix-terms .ht-sidebar {
  position:sticky;
  top:25px;
  display:grid;
  gap:18px;
  max-height:calc(100vh - 45px);
  overflow-y:auto;
  scrollbar-width:thin;
}

#huntlix-terms .ht-toc {
  display:grid;
  gap:2px;
  padding:20px 15px;
  border:1px solid var(--ht-border);
  background:#fff;
  border-radius:16px;
  box-shadow:0 5px 22px #25335a08;
}

#huntlix-terms .ht-toc-title {
  display:block;
  padding:0 11px 13px;
  color:#7040d8;
  font-size:11px;
  font-weight:850;
  letter-spacing:1.2px;
}

#huntlix-terms .ht-toc a {
  display:block;
  padding:9px 11px;
  border-radius:8px;
  color:#5c6881;
  font-size:12px;
  font-weight:650;
  line-height:1.5;
  transition:background .2s,color .2s;
}

#huntlix-terms .ht-toc a:hover {
  background:#f0ebff;
  color:#6538d6;
}

#huntlix-terms .ht-sidebar-contact {
  padding:23px;
  background:linear-gradient(135deg,#f7f3ff,#f0f5ff);
  border:1px solid #e6e1fa;
  border-radius:16px;
}

#huntlix-terms .ht-sidebar-icon {
  color:#713ce6;
  font-size:29px;
  margin-bottom:9px;
}

#huntlix-terms .ht-sidebar-contact h3 {
  font-size:16px;
}

#huntlix-terms .ht-sidebar-contact p {
  font-size:12px;
}

#huntlix-terms .ht-sidebar-contact a {
  font-size:12px;
  font-weight:800;
  color:#6537d6;
}

/* LEGAL CARDS */

#huntlix-terms .ht-content {
  min-width:0;
  display:grid;
  gap:22px;
}

#huntlix-terms .ht-legal-card {
  scroll-margin-top:25px;
  padding:31px;
  background:#fff;
  border:1px solid var(--ht-border);
  border-radius:18px;
  box-shadow:0 6px 24px #24345c06;
}

#huntlix-terms .ht-card-heading {
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:21px;
}

#huntlix-terms .ht-number {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:52px;
  height:52px;
  border-radius:14px;
  background:#eee8ff;
  color:#713ce6;
  font-size:17px;
  font-weight:850;
}

#huntlix-terms .ht-overline {
  display:block;
  font-size:10px;
  font-weight:850;
  letter-spacing:1.1px;
  color:#7445d5;
  margin-bottom:5px;
}

#huntlix-terms .ht-card-heading h2 {
  margin:0;
  font-size:clamp(21px,2.2vw,27px);
}

#huntlix-terms .ht-legal-card a:not(.ht-contact-btn) {
  color:#6538d6;
  overflow-wrap:anywhere;
}

#huntlix-terms .ht-legal-card a:not(.ht-contact-btn):hover {
  text-decoration:underline;
}

/* SERVICE GRID */

#huntlix-terms .ht-service-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:23px 0;
}

#huntlix-terms .ht-service-grid>div {
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  padding:15px;
  border:1px solid #e8e9f4;
  background:#f9faff;
  border-radius:12px;
}

#huntlix-terms .ht-service-grid span {
  color:#713ce6;
  font-size:23px;
  flex-shrink:0;
}

#huntlix-terms .ht-service-grid strong {
  font-size:12px;
  color:#293451;
}

/* RULE LIST */

#huntlix-terms .ht-rule-list {
  display:grid;
  gap:10px;
  margin:22px 0;
}

#huntlix-terms .ht-rule-list>div {
  display:flex;
  align-items:flex-start;
  gap:13px;
  padding:14px 16px;
  border:1px solid #f1e5e7;
  background:#fffafb;
  border-radius:11px;
}

#huntlix-terms .ht-rule-list span {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#ffe6e9;
  color:#bc4053;
  font-size:19px;
  font-weight:800;
}

#huntlix-terms .ht-rule-list p {
  margin:0;
  font-size:13px;
}

/* INFORMATION BOX */

#huntlix-terms .ht-info-box {
  margin:23px 0;
  padding:20px 22px;
  border:1px solid #f0e0bd;
  background:#fff9ed;
  border-radius:13px;
}

#huntlix-terms .ht-info-box strong {
  display:block;
  color:#855a20;
  font-size:14px;
  margin-bottom:7px;
}

#huntlix-terms .ht-info-box p {
  font-size:12px;
  margin:0;
}

/* CHECK CARDS */

#huntlix-terms .ht-check-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
  margin:23px 0;
}

#huntlix-terms .ht-check-grid>div {
  padding:19px;
  border:1px solid #e7eaf4;
  background:#f9faff;
  border-radius:13px;
}

#huntlix-terms .ht-check-grid span {
  display:flex;
  align-items:center;
  justify-content:center;
  width:29px;
  height:29px;
  border-radius:9px;
  background:#e9e2ff;
  color:#713ce6;
  font-weight:900;
  margin-bottom:12px;
}

#huntlix-terms .ht-check-grid strong {
  display:block;
  font-size:13px;
  margin-bottom:5px;
}

#huntlix-terms .ht-check-grid p {
  font-size:12px;
  margin:0;
}

/* CONTACT CARD */

#huntlix-terms .ht-contact-card {
  background:linear-gradient(135deg,#faf8ff,#f4f7ff);
}

#huntlix-terms .ht-contact-email {
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px;
  background:#fff;
  border:1px solid #e6e8f4;
  border-radius:12px;
  margin:20px 0;
}

#huntlix-terms .ht-contact-email>span {
  display:flex;
  align-items:center;
  justify-content:center;
  width:45px;
  height:45px;
  border-radius:12px;
  background:#eee8ff;
  color:#713ce6;
  font-size:25px;
}

#huntlix-terms .ht-contact-email small {
  display:block;
  color:#78849a;
  font-size:11px;
}

#huntlix-terms .ht-contact-email a {
  font-size:14px;
  font-weight:800;
}

#huntlix-terms .ht-contact-btn {
  display:inline-block;
  padding:12px 20px;
  border-radius:10px;
  background:linear-gradient(110deg,#753be7,#3469ee);
  color:#fff;
  font-size:12px;
  font-weight:800;
}

/* FAQ */

#huntlix-terms .ht-faq-section {
  margin-top:75px;
  padding:55px 35px;
  background:#f8f9ff;
  border-radius:23px;
}

#huntlix-terms .ht-section-heading {
  text-align:center;
  max-width:750px;
  margin:0 auto 32px;
}

#huntlix-terms .ht-faq {
  max-width:900px;
  margin:auto;
  display:grid;
  gap:12px;
}

#huntlix-terms .ht-faq details {
  border:1px solid #e4e8f3;
  border-radius:13px;
  background:#fff;
  overflow:hidden;
}

#huntlix-terms .ht-faq details[open] {
  border-color:#cbbcf8;
  background:#fefcff;
}

#huntlix-terms .ht-faq summary {
  position:relative;
  display:block;
  cursor:pointer;
  list-style:none;
  padding:20px 55px 20px 21px;
  font-size:14px;
  font-weight:750;
  color:#202b48;
}

#huntlix-terms .ht-faq summary::-webkit-details-marker {
  display:none;
}

#huntlix-terms .ht-faq summary::after {
  content:"+";
  position:absolute;
  right:21px;
  top:50%;
  transform:translateY(-50%);
  color:#713ce6;
  font-size:24px;
  font-weight:400;
}

#huntlix-terms .ht-faq details[open] summary::after {
  content:"−";
}

#huntlix-terms .ht-faq details p {
  padding:0 21px 21px;
  margin:0;
  font-size:13px;
}

#huntlix-terms .ht-faq a {
  color:#6738d6;
  text-decoration:underline;
}

/* FINAL CTA */

#huntlix-terms .ht-final {
  margin-top:50px;
  padding:60px 30px;
  text-align:center;
  border-radius:23px;
  background:linear-gradient(115deg,#191b53,#6134d3);
}

#huntlix-terms .ht-final>span {
  display:block;
  color:#d7ccff;
  font-size:11px;
  font-weight:800;
  letter-spacing:1.3px;
  margin-bottom:17px;
}

#huntlix-terms .ht-final h2 {
  color:#fff;
  margin-bottom:14px;
}

#huntlix-terms .ht-final p {
  max-width:620px;
  margin:0 auto 24px;
  color:#ddd8f8;
}

#huntlix-terms .ht-final a {
  display:inline-block;
  padding:13px 23px;
  border-radius:10px;
  background:#fff;
  color:#4d30a8;
  font-size:13px;
  font-weight:800;
}

/* RESPONSIVE */

@media(max-width:980px) {
  #huntlix-terms .ht-layout {
    grid-template-columns:215px minmax(0,1fr);
    gap:18px;
  }
  #huntlix-terms .ht-legal-card {
    padding:25px;
  }
  #huntlix-terms .ht-service-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:720px) {
  #huntlix-terms .ht-hero {
    grid-template-columns:1fr;
    padding:37px 25px;
  }
  #huntlix-terms .ht-hero-visual {
    min-height:180px;
    transform:scale(.75);
    margin:-25px 0;
  }
  #huntlix-terms .ht-layout {
    grid-template-columns:1fr;
  }
  #huntlix-terms .ht-sidebar {
    position:static;
    max-height:none;
    overflow:visible;
  }
  #huntlix-terms .ht-toc {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #huntlix-terms .ht-toc-title {
    grid-column:1/-1;
  }
  #huntlix-terms .ht-sidebar-contact {
    display:none;
  }
  #huntlix-terms .ht-highlights {
    grid-template-columns:1fr;
  }
  #huntlix-terms .ht-faq-section {
    padding:40px 20px;
  }
}

@media(max-width:480px) {
  #huntlix-terms {
    padding:12px 12px 45px;
  }
  #huntlix-terms .ht-hero h2 {
    font-size:37px;
  }
  #huntlix-terms .ht-hero-visual {
    transform:scale(.65);
    margin:-35px 0;
  }
  #huntlix-terms .ht-intro-notice {
    padding:17px;
  }
  #huntlix-terms .ht-toc {
    grid-template-columns:1fr;
  }
  #huntlix-terms .ht-legal-card {
    padding:22px 17px;
  }
  #huntlix-terms .ht-card-heading {
    gap:11px;
  }
  #huntlix-terms .ht-number {
    width:43px;
    height:43px;
    font-size:14px;
  }
  #huntlix-terms .ht-service-grid,
  #huntlix-terms .ht-check-grid {
    grid-template-columns:1fr;
  }
  #huntlix-terms .ht-faq-section {
    padding:35px 15px;
  }
  #huntlix-terms .ht-final {
    padding:45px 22px;
  }
}

@media(prefers-reduced-motion:reduce) {
  #huntlix-terms .ht-toc a {
    transition:none;
  }
}
/* Huntlix Terms and Conditions - Sidebar Update */

#huntlix-terms .ht-toc {
    max-height: 65vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d8c9fa transparent;
}

#huntlix-terms .ht-toc::-webkit-scrollbar {
    width: 5px;
}

#huntlix-terms .ht-toc::-webkit-scrollbar-thumb {
    background: #d8c9fa;
    border-radius: 10px;
}

#huntlix-terms .ht-legal-card {
    scroll-margin-top: 110px;
}

#huntlix-terms .ht-legal-card h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    color: #171238;
    margin: 24px 0 12px;
}

#huntlix-terms .ht-legal-card ul {
    padding-left: 22px;
    margin: 16px 0 20px;
}

#huntlix-terms .ht-legal-card li {
    line-height: 1.8;
    margin-bottom: 8px;
    color: #475569;
}

#huntlix-terms .ht-legal-card li::marker {
    color: #6d39d7;
}

@media (max-width: 767px) {
    #huntlix-terms .ht-toc {
        max-height: 350px;
    }

    #huntlix-terms .ht-legal-card {
        scroll-margin-top: 85px;
    }

    #huntlix-terms .ht-legal-card h3 {
        font-size: 17px;
    }
}
