:root {
  --bg: #000000;
  --surface: #090909;
  --surface-hover: #101010;
  --text: #f5f5f5;
  --muted: #a0a0a8;
  --muted-light: #c4c4cc;
  --border: #252525;
  --blue: #0055ff;
  --red: #ff2a3f;
  --accent: #8db7ff;
  --content-width: 1240px;
  --nav-height: 76px;
  --header-offset: 105px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  scrollbar-color: #383838 #000;
  scrollbar-width: thin;
}
body {
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

::selection {
  background: rgba(0, 85, 255, 0.35);
  color: #fff;
}

/* =====================================================
   PAGE BACKGROUND
===================================================== */

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding-top: 0;
}

.ambient {
  position: absolute;
  inset: 0 0 auto;
  height: 570px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(0, 85, 255, 0.13), transparent 43%),
    radial-gradient(
      ellipse at 88% 12%,
      rgba(255, 42, 63, 0.065),
      transparent 36%
    );
}

.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 10%,
    rgba(0, 0, 0, 0.35) 55%,
    #000 100%
  );
}

.container {
  width: min(var(--content-width), calc(100% - 64px));
  margin-inline: auto;
}

/* =====================================================
   QUICKONE INDEX NAVBAR
   Uses the same qo-* classes as the index page.
   Navbar appearance comes from style.css.
===================================================== */

body .qo-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

/* Prevent content from starting behind the fixed navbar. */

.page-shell > .hero {
  padding-top: 150px;
  scroll-margin-top: var(--header-offset);
}

/* Keep section headings visible below the fixed navbar. */

.policy-section,
#contact-us {
  scroll-margin-top: var(--header-offset);
}

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

.hero {
  padding: 38px 0 57px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #aebedb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 23px;
  height: 2px;
  flex-shrink: 0;
  background: var(--blue);
  border-radius: 2px;
}

.hero h1 {
  max-width: 800px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -3px;
  overflow-wrap: anywhere;
}

.hero h1 span {
  color: #a5a5ad;
}

.hero-description {
  max-width: 680px;
  margin-top: 22px;
  color: #a5a5ae;
  font-size: 15px;
  line-height: 1.95;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  padding: 6px 12px;
  border: 1px solid #292929;
  border-radius: 7px;
  background: rgba(12, 12, 12, 0.8);
  color: #c5c5cd;
  font-size: 11px;
}

.meta-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #8dafff;
}

/* =====================================================
   MAIN POLICY LAYOUT
===================================================== */

.policy-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  align-items: start;
  gap: 54px;
  padding-top: 52px;
  padding-bottom: 40px;
}

/* =====================================================
   DESKTOP TABLE OF CONTENTS
===================================================== */

.policy-sidebar {
  position: sticky;
  top: 100px;
  min-width: 0;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #353535 transparent;
  padding-right: 4px;
}

.sidebar-heading {
  margin-bottom: 17px;
  color: #777780;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.toc {
  display: flex;
  flex-direction: column;
  gap: 3px;
  list-style: none;
}

.toc a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #96969f;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.toc a:hover {
  background: #0d0d0d;
  color: #fff;
}

.toc a.active {
  border-color: #252b38;
  background: #10141c;
  color: #f1f5ff;
}

.toc-number {
  min-width: 20px;
  padding-top: 1px;
  color: #626a7b;
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.toc a.active .toc-number {
  color: #8db7ff;
}

.sidebar-note {
  margin-top: 28px;
  padding: 17px;
  border: 1px solid #252525;
  border-radius: 10px;
  background: #090909;
}

.sidebar-note-title {
  margin-bottom: 7px;
  color: #ededed;
  font-size: 12px;
  font-weight: 700;
}

.sidebar-note p {
  color: #898992;
  font-size: 11px;
  line-height: 1.8;
}

.sidebar-note a {
  display: inline-block;
  margin-top: 11px;
  color: #9bbcff;
  font-size: 11px;
  font-weight: 600;
}

.sidebar-note a:hover {
  color: #fff;
}

/* =====================================================
   POLICY CONTENT
===================================================== */

.policy-content {
  min-width: 0;
  max-width: 850px;
}

.policy-intro {
  margin-bottom: 35px;
  padding: 23px 25px;
  border: 1px solid #282828;
  border-radius: 11px;
  background: linear-gradient(125deg, #0d0d0d, #080808);
}

.policy-intro-title {
  margin-bottom: 8px;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.policy-intro p {
  color: #a4a4ad;
  font-size: 13px;
  line-height: 1.9;
}

.policy-section {
  padding: 0 0 33px;
  margin: 0 0 34px;
  border-bottom: 1px solid #202020;
  scroll-margin-top: var(--header-offset);
}

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

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

.section-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid #292929;
  border-radius: 9px;
  background: #0d0d0d;
  color: #a5c3ff;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.section-heading h2 {
  min-width: 0;
  padding-top: 3px;
  color: #f5f5f5;
  font-family: "Manrope", sans-serif;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
}

.policy-content p {
  margin-bottom: 15px;
  color: #b2b2ba;
  font-size: 13.5px;
  line-height: 2;
  overflow-wrap: anywhere;
}

.policy-content p:last-child {
  margin-bottom: 0;
}

.policy-content strong {
  color: #e7e7eb;
  font-weight: 600;
}

.policy-content h3 {
  margin: 27px 0 10px;
  color: #ededf0;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.policy-content h3:first-child {
  margin-top: 0;
}

.policy-content ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 20px;
  padding-left: 0;
  list-style: none;
}

.policy-content li {
  position: relative;
  padding-left: 22px;
  color: #b2b2ba;
  font-size: 13.5px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.policy-content li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #668fff;
}

.policy-content a.inline-link {
  color: #9cbcff;
  text-decoration: underline;
  text-decoration-color: #485d82;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.policy-content a.inline-link:hover {
  color: #fff;
}

.subsection {
  margin-top: 24px;
}

.subsection h3 {
  margin-top: 0;
}

/* =====================================================
   CONTACT CARD
===================================================== */

.contact-card {
  margin-top: 17px;
  padding: 22px;
  border: 1px solid #292929;
  border-radius: 10px;
  background: #0a0a0a;
}

.contact-row {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid #202020;
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-label {
  color: #898992;
  font-size: 12px;
}

.contact-value {
  min-width: 0;
  color: #e1e1e7;
  font-size: 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* =====================================================
   ACKNOWLEDGEMENT
===================================================== */

.acknowledgement {
  margin-top: 10px;
  padding: 24px;
  border: 1px solid #292929;
  border-radius: 11px;
  background:
    radial-gradient(
      ellipse at top left,
      rgba(0, 85, 255, 0.09),
      transparent 65%
    ),
    #090909;
}

.acknowledgement h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.acknowledgement p {
  margin-bottom: 12px;
}

.acknowledgement .copyright-line {
  padding-top: 15px;
  border-top: 1px solid #272727;
  color: #81818a;
  font-size: 11px;
}

/* =====================================================
   BACK TO TOP
===================================================== */

.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 1100;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #343434;
  border-radius: 11px;
  background: #111;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #202020;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* =====================================================
   MOBILE TABLE OF CONTENTS
===================================================== */

.mobile-toc {
  display: none;
  margin-top: 24px;
}

.mobile-toc label {
  display: block;
  margin-bottom: 8px;
  color: #8c8c95;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mobile-toc select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #303030;
  border-radius: 9px;
  outline: none;
  background: #0b0b0b;
  color: #e7e7ec;
  font-family: inherit;
  font-size: 12px;
}

.mobile-toc select:focus {
  border-color: #526d9e;
}

/* =====================================================
   TABLET — 1050px
===================================================== */

@media (max-width: 1050px) {
  :root {
    --header-offset: 95px;
  }

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

  .policy-layout {
    grid-template-columns: 215px minmax(0, 1fr);
    gap: 30px;
    padding-top: 40px;
  }

  .page-shell > .hero {
    padding-top: 130px;
  }

  .hero {
    padding-bottom: 48px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .policy-content {
    max-width: none;
  }

  .policy-sidebar {
    top: 90px;
    max-height: calc(100vh - 105px);
  }
}

/* =====================================================
   MOBILE / TABLET — 760px
===================================================== */

@media (max-width: 760px) {
  :root {
    --nav-height: 66px;
    --header-offset: 85px;
  }

  html {
    scroll-padding-top: var(--header-offset);
  }

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

  .page-shell > .hero {
    padding-top: 115px;
  }

  .hero {
    padding-bottom: 38px;
  }

  .eyebrow {
    margin-bottom: 17px;
    font-size: 10px;
    letter-spacing: 1.6px;
  }

  .hero h1 {
    font-size: clamp(36px, 8vw, 53px);
    line-height: 1.15;
    letter-spacing: -1.8px;
  }

  .hero-description {
    margin-top: 17px;
    font-size: 13px;
    line-height: 1.9;
  }

  .hero-meta {
    gap: 8px;
    margin-top: 22px;
  }

  .meta-pill {
    min-height: 32px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .policy-layout {
    display: block;
    padding-top: 27px;
    padding-bottom: 65px;
  }

  .policy-sidebar {
    display: none;
  }

  .mobile-toc {
    display: block;
    margin-bottom: 28px;
  }

  .policy-intro {
    margin-top: 0;
    margin-bottom: 31px;
    padding: 19px;
  }

  .policy-intro p,
  .policy-content p,
  .policy-content li {
    font-size: 13px;
  }

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

  .section-heading {
    gap: 11px;
    margin-bottom: 15px;
  }

  .section-number {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .section-heading h2 {
    font-size: 18px;
  }

  .policy-content h3 {
    margin-top: 22px;
    font-size: 14px;
  }

  .contact-card {
    padding: 16px;
  }

  .contact-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .acknowledgement {
    padding: 19px;
  }

  .back-to-top {
    right: 15px;
    bottom: 15px;
    width: 39px;
    height: 39px;
  }
}

/* =====================================================
   SMALL MOBILE — 480px
===================================================== */

@media (max-width: 480px) {
  :root {
    --header-offset: 78px;
  }

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

  .page-shell > .hero {
    padding-top: 105px;
  }

  .hero {
    padding-bottom: 30px;
  }

  .hero h1 {
    font-size: clamp(33px, 9vw, 42px);
    letter-spacing: -1.4px;
  }

  .hero-description {
    font-size: 12.5px;
  }

  .hero-meta {
    align-items: flex-start;
  }

  .meta-pill {
    max-width: 100%;
    font-size: 10px;
  }

  .policy-layout {
    padding-top: 22px;
    padding-bottom: 45px;
  }

  .policy-intro {
    padding: 16px;
    border-radius: 9px;
  }

  .policy-intro-title {
    font-size: 14px;
  }

  .policy-intro p,
  .policy-content p,
  .policy-content li {
    font-size: 12.5px;
    line-height: 1.9;
  }

  .section-heading {
    gap: 10px;
  }

  .section-number {
    width: 29px;
    height: 29px;
    font-size: 10px;
  }

  .section-heading h2 {
    padding-top: 1px;
    font-size: 17px;
    letter-spacing: -0.3px;
  }

  .contact-card {
    padding: 14px;
  }

  .acknowledgement {
    padding: 16px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }
}

/* =====================================================
   EXTRA SMALL MOBILE — 380px
===================================================== */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 26px);
  }

  .page-shell > .hero {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 32px;
    letter-spacing: -1.1px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  .section-heading h2 {
    font-size: 16px;
  }

  .mobile-toc select {
    min-height: 43px;
  }
}

.site-footer,
footer.site-footer {
  display: none !important;
}

/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================================================
   PRINT
===================================================== */

@media print {
  :root {
    --bg: #fff;
    --text: #111;
  }

  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt;
    overflow: visible;
  }

  .ambient,
  .qo-navbar,
  .policy-sidebar,
  .mobile-toc,
  .back-to-top,
  .site-footer,
  footer {
    display: none !important;
  }

  .container {
    width: 100%;
  }

  .page-shell > .hero,
  .hero {
    padding: 0 0 25px;
    border-bottom: 1px solid #ccc;
  }

  .hero h1,
  .hero h1 span,
  .section-heading h2,
  .policy-content h3,
  .policy-content strong {
    color: #111 !important;
  }

  .hero-description,
  .policy-content p,
  .policy-content li {
    color: #333 !important;
  }

  .policy-layout {
    display: block;
    padding: 25px 0;
  }

  .policy-intro,
  .contact-card,
  .acknowledgement,
  .section-number {
    background: #fff !important;
    border-color: #ccc !important;
  }

  .policy-section {
    break-inside: avoid;
    border-color: #ccc;
  }

  .policy-content li::before {
    background: #555;
  }

  a {
    color: #111 !important;
  }
}
