* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f5f5f3;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}


/* =========================
   TOP BAR
========================= */

.topbar {
  height: 40px;
  background: #111827;
  color: #fff;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 13px;
}

.topbar a {
  color: #f5a623;
}

.topbar span {
  margin: 0 10px;
  opacity: .6;
}


/* =========================
   NAVBAR
========================= */

.navbar {
  height: 78px;
  background: #fff;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 7%;

  border-bottom: 1px solid #ddd;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  color: #082b63;
}

.logo-circle {
  width: 43px;
  height: 43px;

  border-radius: 50%;

  border: 5px solid #f5a623;

  position: relative;
}

.logo-circle::after {
  content: "";

  position: absolute;

  width: 13px;
  height: 13px;

  background: #0788d1;

  border-radius: 50%;

  top: 10px;
  left: 10px;
}

.logo-text strong {
  display: block;

  font-size: 20px;
  line-height: 1;
}

.logo-text small {
  display: block;

  color: #0788d1;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 1px;
}


.nav-menu {
  display: flex;
  align-items: center;

  gap: 35px;
}

.nav-menu a {
  color: #333;

  text-decoration: none;

  font-size: 13px;
  font-weight: 600;
}


.audit-btn {
  background: #f5a623;

  color: #082b63;

  padding: 12px 22px;

  border-radius: 25px;

  text-decoration: none;

  font-size: 12px;
  font-weight: 800;
}


/* =========================
   BLUE NAV
========================= */

.blue-nav {
  height: 40px;

  background: #082b63;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 35px;
}

.blue-nav a {
  color: #fff;

  text-decoration: none;

  font-size: 12px;
  font-weight: 600;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 205px;

  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #252930,
      #101318
    );

  color: #fff;
}

.hero-lines {
  position: absolute;

  inset: 0;

  opacity: .3;

  background-image:
    linear-gradient(
      90deg,
      transparent 49%,
      rgba(255,255,255,.15) 50%,
      transparent 51%
    ),
    linear-gradient(
      0deg,
      transparent 49%,
      rgba(255,255,255,.1) 50%,
      transparent 51%
    );

  background-size: 75px 45px;

  transform:
    skewY(-10deg)
    scale(1.4);
}

.hero-content {
  position: relative;

  z-index: 2;

  text-align: center;
}

.hero h1 {
  font-family: Impact, "Arial Narrow", sans-serif;

  font-size: 56px;

  letter-spacing: 1px;

  text-transform: uppercase;
}

.breadcrumb {
  margin-top: 13px;

  font-size: 13px;
}

.breadcrumb span:first-child {
  color: #0788d1;
}

.breadcrumb span:nth-child(2) {
  margin: 0 8px;

  color: #aaa;
}


/* =========================
   MAIN
========================= */

.terms-page {
  width: min(1160px, calc(100% - 40px));

  margin: auto;

  padding: 42px 0 80px;
}

.main-title {
  text-align: center;

  font-size: 30px;

  font-weight: 400;

  line-height: 1.2;

  color: #333;

  margin-bottom: 38px;

  text-transform: uppercase;
}

.main-title strong {
  display: block;

  color: #d99a00;

  font-size: 29px;

  margin-top: 4px;
}


/* =========================
   CONTENT LAYOUT
========================= */

.terms-layout {
  display: grid;

  grid-template-columns: 175px 1fr;

  gap: 45px;

  align-items: start;
}


/* =========================
   SIDEBAR
========================= */

.terms-sidebar {
  border-right: 1px solid #ddd;

  padding-right: 20px;

  position: sticky;

  top: 20px;
}

.terms-sidebar a {
  display: block;

  color: #59636e;

  text-decoration: none;

  font-size: 15px;

  line-height: 1.35;

  padding: 5px 0;
}

.terms-sidebar a:first-child {
  color: #0788d1;

  font-weight: 700;
}

.terms-sidebar a:hover {
  color: #0788d1;
}


/* =========================
   TERMS CONTENT
========================= */

.terms-content {
  background: #fff;

  padding: 0 5px 30px;
}

.terms-content p {
  font-size: 13px;

  line-height: 1.7;

  color: #3d4249;

  margin-bottom: 18px;
}

.terms-content h3 {
  margin-top: 38px;

  margin-bottom: 15px;

  padding-left: 12px;

  border-left: 4px solid #f5a623;

  color: #082b63;

  font-size: 27px;

  line-height: 1.1;

  text-transform: uppercase;
}

.terms-content ol {
  padding-left: 23px;

  margin-bottom: 25px;
}

.terms-content li {
  font-size: 13px;

  line-height: 1.7;

  color: #3d4249;

  margin-bottom: 10px;
}


/* =========================
   FINAL NOTE
========================= */

.final-note {
  font-weight: 700;

  color: #082b63 !important;

  margin-top: 35px;
}

.rating {
  font-weight: 700;

  color: #d99a00 !important;
}


.rws-footer {
  width: 100%;
  background: #020617;
  color: #ffffff;
  padding: 64px 24px 28px;
}

.rws-footer-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.rws-footer-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.rws-footer-brand,
.rws-footer-column {
  min-width: 0;
}

.rws-footer-description {
  max-width: 380px;
  margin: 0;
  color: #e4e8ee;
  font-size: 16px;
  line-height: 1.75;
}

.rws-footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.rws-footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.rws-footer-socials a:hover {
  color: #ffffff;
}

.rws-footer-socials svg {
  display: block;
  flex-shrink: 0;
}

.rws-footer-heading {
  margin: 0 0 18px;
  color: #f8fafc;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.rws-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rws-footer-list li {
  margin: 0 0 12px;
  padding: 0;
  color: rgba(255, 255, 255, 0.898);
  font-size: 16px;
  line-height: 1.5;
}

.rws-footer-list li:last-child {
  margin-bottom: 0;
}

.rws-footer-list a {
  color: rgba(255, 255, 255, 0.924);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.rws-footer-list a:hover {
  color: #ffffff;
}

.rws-footer-bottom {
  width: 100%;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #ebeef3;
  font-size: 14px;
  line-height: 1.5;
}

.rws-footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .rws-footer {
    padding: 56px 24px 28px;
  }

  .rws-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .rws-footer-brand {
    grid-column: 1 / -1;
  }

  .rws-footer-description {
    max-width: 520px;
  }
}

@media (max-width: 600px) {
  .rws-footer {
    padding: 48px 20px 24px;
  }

  .rws-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .rws-footer-brand {
    grid-column: auto;
  }

  .rws-footer-description {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.7;
  }

  .rws-footer-socials {
    margin-top: 18px;
    gap: 20px;
  }

  .rws-footer-heading {
    margin-bottom: 14px;
  }

  .rws-footer-list li,
  .rws-footer-list a {
    font-size: 15px;
    line-height: 1.5;
  }

  .rws-footer-list li {
    margin-bottom: 9px;
  }

  .rws-footer-bottom {
    margin-top: 36px;
    padding-top: 20px;
    font-size: 13px;
  }
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

  .nav-menu {
    display: none;
  }

  .terms-layout {
    grid-template-columns: 1fr;
  }

  .terms-sidebar {
    position: relative;

    top: auto;

    border-right: 0;

    border-bottom: 1px solid #ddd;

    padding: 0 0 15px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 3px 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .topbar {
    font-size: 9px;

    padding: 0 10px;

    white-space: nowrap;

    overflow: hidden;
  }

  .navbar {
    height: 68px;

    padding: 0 20px;
  }

  .audit-btn {
    display: none;
  }

  .blue-nav {
    display: none;
  }

  .hero {
    min-height: 160px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .terms-page {
    width: calc(100% - 26px);

    padding-top: 30px;
  }

  .main-title {
    font-size: 24px;
  }

  .main-title strong {
    font-size: 23px;
  }

  .terms-sidebar {
    grid-template-columns: 1fr;
  }

  .terms-content p,
  .terms-content li {
    font-size: 12px;
  }

  .terms-content h3 {
    font-size: 23px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

}

/* Match Terms heading size with Privacy Policy */
.terms-page h1 {
  font-size: 56px !important;
  line-height: 1.15 !important;
}

/* Make Home icons bigger on both pages */
.breadcrumb .home {
  font-size: 20px !important;
  display: inline-block;
  line-height: 1;
}

.breadcrumb a.home {
  color: #009FE3 !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .terms-page h1 {
    font-size: 36px !important;
  }

  .breadcrumb .home {
    font-size: 22px !important;
  }
}

/* Hero spacing: pricing, rating and AI platform logos */
#heroLeft .hero-proof-pricing {
  margin-top: 14px;
}

#heroLeft .hero-trust-line {
  line-height: 1.6;
}

#heroLeft .hero-pricing-line {
  margin-top: 8px;
  line-height: 1.5;
}

#heroLeft .hero-rating-line {
  margin-top: 6px;
  line-height: 1.5;
}

#heroLeft .hero-rating-stars {
  color: #f59e0b;
}

#heroLeft > div.mt-7 {
  margin-top: 18px;
}

#heroLeft > div.mt-7 > p {
  margin-bottom: 10px;
}

#heroLeft > div.mt-7 img {
  max-height: 28px;
  object-fit: contain;
}

@media (max-width: 640px) {
  #heroLeft h1 {
    font-size: 34px !important;
    line-height: 1.08 !important;
  }

  #heroLeft .hero-proof-pricing {
    margin-top: 12px;
  }
}
