/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/instrument-sans-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/instrument-sans-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/instrument-sans-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/instrument-sans-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html, body { margin: 0; padding: 0; background: #05080F; overflow-x: hidden; }
* { box-sizing: border-box; }
::selection { background: rgba(59,130,246,0.35); }
@keyframes floatGlow { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.85; } }
img { max-width: 100%; }

@media (max-width: 860px) {
  .os-cols { display: flex !important; flex-direction: column !important; }
  .os-hide-m { display: none !important; }
  .os-panel { padding: 36px 22px !important; }
  .os-img-first { order: -1; }
}

@media (max-width: 640px) {
  h1 { font-size: 38px !important; }
  h2 { font-size: 26px !important; }
  h3 { font-size: 22px !important; }
  header { padding-top: 56px !important; }
  .os-pad { padding-left: 28px !important; padding-right: 28px !important; }
}

/* Fixed header bar — reliable across all screen sizes */
.os-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 16px 24px;
  background: rgba(5, 8, 15, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.os-page {
  min-height: 100vh;
  background: #05080F;
  color: #E7ECF4;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-top: 61px;
}

@media (max-width: 640px) {
  .os-nav {
    padding: 12px 16px;
  }
  .os-page {
    padding-top: 53px;
  }
}

/* ── Policy pages ── */
.os-policy-page {
  min-height: 100vh;
  background: #05080F;
  color: #E7ECF4;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-top: 61px;
}

.os-policy-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 16px 24px;
  background: rgba(5, 8, 15, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.os-policy-nav a {
  color: inherit;
  text-decoration: none;
}

.os-policy-nav__inner {
  width: 100%;
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.os-policy-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.os-policy-nav__logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 5px solid #F97316;
  border-top-color: #FDBA74;
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.35);
}

.os-policy-nav__back {
  font-size: 14px;
  color: #9AA6B8;
  padding: 9px 14px;
  border-radius: 8px;
  transition: color 0.15s;
}

.os-policy-nav__back:hover {
  color: #FFFFFF;
}

.os-policy-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.os-policy-main h1 {
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1.15;
}

.os-policy-meta {
  margin: 0 0 40px;
  font-size: 14px;
  color: #64748B;
}

.os-policy-main h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
}

.os-policy-main p,
.os-policy-main li {
  font-size: 15.5px;
  line-height: 1.7;
  color: #9AA6B8;
}

.os-policy-main p {
  margin: 0 0 16px;
}

.os-policy-main ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.os-policy-main li {
  margin-bottom: 8px;
}

.os-policy-main a {
  color: #60A5FA;
  text-decoration: none;
}

.os-policy-main a:hover {
  text-decoration: underline;
}

.os-policy-footer {
  display: flex;
  justify-content: center;
  padding: 32px 24px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.os-policy-footer__inner {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 13px;
  color: #64748B;
}

.os-policy-footer__inner a {
  color: #9AA6B8;
  text-decoration: none;
}

.os-policy-footer__inner a:hover {
  color: #FFFFFF;
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  pointer-events: auto;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(11, 17, 29, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.cookie-banner__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner__text {
  flex: 1 1 320px;
}

.cookie-banner__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.cookie-banner__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #9AA6B8;
}

.cookie-banner__desc a {
  color: #60A5FA;
  text-decoration: none;
}

.cookie-banner__desc a:hover {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-btn {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cookie-btn--primary {
  background: #2563EB;
  color: #FFFFFF;
}

.cookie-btn--primary:hover {
  background: #3B82F6;
}

.cookie-btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #E7ECF4;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.10);
}

.cookie-btn--ghost {
  background: transparent;
  color: #9AA6B8;
  padding: 10px 12px;
}

.cookie-btn--ghost:hover {
  color: #FFFFFF;
}

.cookie-banner__settings {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-banner__settings[hidden] {
  display: none !important;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.cookie-toggle__label {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.cookie-toggle__desc {
  font-size: 13px;
  color: #64748B;
  margin-top: 2px;
}

.cookie-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #2563EB;
  cursor: pointer;
}

@media (max-width: 640px) {
  .os-policy-main h1 {
    font-size: 30px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
