/* =========================================================
   GLOBAL
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  user-select: none;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-width: 0;
  margin: 0;

  background: #ffffff;
  color: #1a1a1a;

  line-height: 1.6;

  overflow-x: hidden;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  -webkit-tap-highlight-color: transparent;
}


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

.navbar {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.nav-container {
  width: min(100% - 48px, 1100px);
  min-height: 70px;

  margin-inline: auto;

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

  gap: 24px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
  display: flex;
  align-items: center;

  gap: 8px;

  flex: 0 1 auto;
  min-width: 0;

  overflow: hidden;
}

.logo-icon {
  width: 100px;
  height: 40px;

  flex: 0 0 auto;

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

  background: url("/LogoSmall.svg") center / contain no-repeat;
}

.logo-text {
  color: #1e1b4b;

  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  font-style: italic;
  line-height: 1;

  white-space: nowrap;

  overflow: hidden;
  text-overflow: ellipsis;
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;

  list-style: none;

  gap: clamp(14px, 2.5vw, 28px);

  flex: 1 1 auto;
  min-width: 0;
}

.nav-links li {
  min-width: 0;
}

.nav-links a {
  position: relative;

  display: inline-block;

  color: #4b5563;
  text-decoration: none;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;

  white-space: nowrap;

  transition:
    color 0.2s ease,
    font-weight 0.2s ease;
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -7px;

  height: 2px;

  background: #7c3aed;

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #111827;
  font-weight: 600;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}


/* =========================================================
   NAV ACTIONS
========================================================= */

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 16px;

  flex: 0 0 auto;

  min-width: 0;
}

.btn-link {
  color: #111827;
  text-decoration: none;

  font-size: 14px;
  font-weight: 600;

  white-space: nowrap;
}

.btn-link:hover {
  color: #7c3aed;
}

.btn-primary {
  text-decoration: none;
  background: linear-gradient(130deg, #7a28ce 20%, #d02881, #f46725 90%);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.btn-primary:hover {
  background: #9333ea;
}

.btn-primary:active {
  transform: translateY(1px);
}


/* =========================================================
   MAIN LEGAL CONTENT
========================================================= */

.content-container {
  width: min(100% - 48px, 800px);

  margin-inline: auto;

  padding-top: clamp(36px, 6vw, 56px);
  padding-bottom: clamp(60px, 8vw, 90px);

  min-width: 0;
}

.breadcrumbs {
  margin-bottom: 20px;

  color: #9ca3af;

  font-size: 12px;
  line-height: 1.5;

  overflow-wrap: anywhere;
}

.page-title {
  margin-bottom: 8px;

  color: #111827;

  font-size: clamp(28px, 5vw, 38px);
  font-weight: 800;
  line-height: 1.15;

  overflow-wrap: anywhere;
}

.last-updated {
  margin-bottom: clamp(28px, 5vw, 40px);

  color: #6b7280;

  font-size: 12px;
  line-height: 1.5;
}

.policy-section {
  width: 100%;

  margin-bottom: clamp(24px, 4vw, 32px);
  padding-bottom: clamp(20px, 3vw, 24px);

  border-bottom: 1px solid #f3f4f6;

  min-width: 0;
}

.policy-section.head {
  margin-bottom: 0;
  padding-bottom: 0;
  border: none;
}

.policy-section:last-child {
  border-bottom: none;
}

.policy-section h2 {
  margin-bottom: 12px;

  color: #111827;

  font-size: clamp(15px, 2vw, 17px);
  font-weight: 700;
  line-height: 1.4;

  overflow-wrap: anywhere;
}

.policy-section p {
  color: #4b5563;

  font-size: clamp(13px, 1.5vw, 14px);
  line-height: 1.75;

  overflow-wrap: anywhere;
  word-break: normal;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.card {
    background-color: #f7f7f7;
    padding: 20px 16px;
    border-radius: 6px;
    border: 1px solid #ebebeb;
    margin-bottom: 10px;
}

.cards-grid.ul {
    grid-template-columns: repeat(1, 1fr);
}

.card.ul {
    padding: 20px 40px;
    font-size: 13px;
}

.card h3 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}

/* Footer */
.footer {
  width: 100%;

  background: #ff6b00;
  color: #ffffff;

  padding-top: clamp(42px, 7vw, 70px);
  padding-bottom: 20px;
}

.footer-container {
  width: min(100% - 48px, 1100px);

  margin-inline: auto;

  min-width: 0;
}

.footer-grid {
  display: grid;

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

  gap: clamp(24px, 5vw, 50px);

  margin-bottom: clamp(40px, 6vw, 60px);

  min-width: 0;
}

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

.footer-brand p {
  max-width: 300px;

  margin-top: 16px;

  color: #fff0e6;

  font-size: 13px;
  line-height: 1.7;

  overflow-wrap: anywhere;
}

.footer-brand .logo-text {
  color: #ffffff;
}

.footer-column h5 {
  margin-bottom: 16px;

  color: #fff0e6;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;

  overflow-wrap: anywhere;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;

  min-width: 0;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;

  font-size: 13px;
  line-height: 1.5;

  overflow-wrap: anywhere;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-column a.active {
  font-weight: 700;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.2);

  color: #fff0e6;

  font-size: 11px;
  line-height: 1.5;

  min-width: 0;
}

.footer-bottom > * {
  min-width: 0;
  overflow-wrap: anywhere;
}


/* =========================================================
   LAPTOP
   1000px
========================================================= */

@media (max-width: 1000px) {

  .nav-container {
    width: calc(100% - 40px);
    gap: 18px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .nav-actions {
    gap: 10px;
  }

  .btn-link {
    font-size: 13px;
  }

  .btn-primary {
    padding-inline: 14px;
    font-size: 13px;
  }

  .footer-container {
    width: calc(100% - 40px);
  }

  .footer-grid {
    gap: 28px;
  }
}


/* =========================================================
   TABLET
   768px
========================================================= */

@media (max-width: 768px) {

  .nav-container {
    width: calc(100% - 32px);

    min-height: 0;

    padding-top: 14px;
    padding-bottom: 14px;

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    grid-template-areas:
      "logo actions"
      "links links";

    align-items: center;

    row-gap: 16px;
    column-gap: 14px;
  }


  /* Logo */

  .logo {
    grid-area: logo;

    min-width: 0;
    max-width: 100%;
  }

  .logo-icon {
    width: 90px;
    height: 36px;
  }

  .logo-text {
    font-size: 20px;
  }


  /* Actions */

  .nav-actions {
    grid-area: actions;

    gap: 10px;

    min-width: 0;
  }

  .btn-link {
    font-size: 13px;
  }

  .btn-primary {
    min-height: 38px;

    padding: 9px 14px;

    font-size: 13px;
  }


  /* Navigation row */

  .nav-links {
    grid-area: links;

    width: 100%;
    min-width: 0;

    display: flex;

    justify-content: center;

    /*
      IMPORTANT:
      Allow links to wrap instead of horizontal scrolling.
    */
    flex-wrap: wrap;

    gap: 10px 22px;

    padding: 2px 0 4px;
  }

  .nav-links a {
    font-size: 13px;
  }


  /* Main */

  .content-container {
    width: calc(100% - 40px);
  }


  /* Footer */

  .footer-container {
    width: calc(100% - 40px);
  }

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

    gap: 36px 28px;
  }

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

  .footer-brand p {
    max-width: 520px;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}


/* =========================================================
   MOBILE
   600px
========================================================= */

@media (max-width: 600px) {

  .nav-container {
    width: calc(100% - 28px);

    padding-top: 12px;
    padding-bottom: 12px;

    row-gap: 13px;
    column-gap: 8px;
  }


  /* Logo */

  .logo-icon {
    width: 76px;
    height: 33px;
  }

  .logo-text {
    font-size: 18px;
  }


  /* Actions */

  .nav-actions {
    gap: 7px;
  }

  .btn-link {
    font-size: 12px;
  }

  .btn-primary {
    min-height: 36px;

    padding: 8px 11px;

    border-radius: 7px;

    font-size: 12px;
  }


  /* Navigation */

  .nav-links {
    justify-content: center;

    gap: 9px 17px;

    padding-bottom: 2px;
  }

  .nav-links a {
    font-size: 12px;
  }


  /* Main */

  .content-container {
    width: calc(100% - 32px);

    padding-top: 32px;
    padding-bottom: 55px;
  }

  .breadcrumbs {
    margin-bottom: 16px;
    font-size: 11px;
  }

  .last-updated {
    margin-bottom: 30px;
  }

  .policy-section {
    margin-bottom: 26px;
    padding-bottom: 20px;
  }

  .policy-section h2 {
    margin-bottom: 10px;
  }


  /* Footer */

  .footer {
    padding-top: 44px;
  }

  .footer-container {
    width: calc(100% - 32px);
  }

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

    gap: 30px 20px;

    margin-bottom: 40px;
  }

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

  .footer-brand p {
    max-width: 100%;
    font-size: 12px;
  }

  .footer-column h5 {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .footer-column li {
    margin-bottom: 8px;
  }

  .footer-column a {
    font-size: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;

    gap: 8px;

    font-size: 10px;
  }
}


/* =========================================================
   SMALL PHONES
   480px
========================================================= */

@media (max-width: 480px) {

  .nav-container {
    width: calc(100% - 24px);

    grid-template-columns: minmax(0, 1fr) auto;

    column-gap: 6px;
  }


  /* Logo */

  .logo {
    gap: 4px;
  }

  .logo-icon {
    width: 64px;
    height: 29px;
  }

  .logo-text {
    font-size: 15px;
  }


  /* Actions */

  .nav-actions {
    gap: 5px;
  }

  .btn-link {
    font-size: 11px;
  }

  .btn-primary {
    min-height: 33px;

    padding: 7px 9px;

    border-radius: 6px;

    font-size: 11px;
  }


  /* Links */

  .nav-links {
    gap: 8px 14px;
  }

  .nav-links a {
    font-size: 11px;
  }


  /* Content */

  .content-container {
    width: calc(100% - 28px);

    padding-top: 28px;
    padding-bottom: 45px;
  }

  .page-title {
    font-size: 27px;
  }

  .policy-section p {
    font-size: 12.5px;
    line-height: 1.7;
  }


  /* Footer */

  .footer-container {
    width: calc(100% - 28px);
  }

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

    gap: 26px;
  }

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


/* =========================================================
   VERY SMALL PHONES
   380px
========================================================= */

@media (max-width: 380px) {

  .nav-container {
    width: calc(100% - 20px);

    row-gap: 11px;
    column-gap: 5px;
  }


  /* Logo */

  .logo-icon {
    width: 58px;
    height: 27px;
  }

  .logo-text {
    font-size: 14px;
  }


  /* Actions */

  .nav-actions {
    gap: 4px;
  }

  .btn-link {
    font-size: 10px;
  }

  .btn-primary {
    min-height: 31px;

    padding: 6px 7px;

    font-size: 10px;
  }


  /* Navigation */

  .nav-links {
    gap: 7px 11px;
  }

  .nav-links a {
    font-size: 10px;
  }


  /* Content */

  .content-container {
    width: calc(100% - 22px);
  }

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

  .policy-section h2 {
    font-size: 14px;
  }

  .policy-section p {
    font-size: 12px;
  }


  /* Footer */

  .footer-container {
    width: calc(100% - 22px);
  }
}


/* =========================================================
   EXTRA SMALL
   340px
========================================================= */

@media (max-width: 340px) {

  .nav-container {
    width: calc(100% - 16px);

    padding-top: 10px;
    padding-bottom: 10px;

    row-gap: 10px;
  }


  /* First row becomes more compact */

  .logo-icon {
    width: 52px;
    height: 25px;
  }

  .logo-text {
    font-size: 13px;
  }

  .nav-actions {
    gap: 3px;
  }

  .btn-link {
    font-size: 9.5px;
  }

  .btn-primary {
    min-height: 29px;

    padding: 5px 6px;

    font-size: 9.5px;
  }


  /* Navigation */

  .nav-links {
    gap: 6px 9px;
  }

  .nav-links a {
    font-size: 9.5px;
  }


  /* Content */

  .content-container {
    width: calc(100% - 18px);
  }

  .page-title {
    font-size: 22px;
  }

  .policy-section p {
    font-size: 11.5px;
  }


  /* Footer */

  .footer-container {
    width: calc(100% - 18px);
  }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
