@font-face {
  font-family: "Inter";
  src:
    url("./fonts/inter-latin-wght-normal.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src:
    url("./fonts/nunito-sans-latin-wght-normal.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef3fb;
  --surface-glass: rgba(255, 255, 255, 0.82);

  --text: #0e2346;
  --muted: #617089;

  --border: rgba(14, 35, 70, 0.10);

  --blue: #176eff;
  --violet: #8a63f7;

  --gradient:
    linear-gradient(
      135deg,
      #176eff 0%,
      #4287ff 45%,
      #8a63f7 100%
    );

  --shadow:
    0 24px 70px
    rgba(18, 43, 82, 0.10);

  --shadow-soft:
    0 12px 36px
    rgba(18, 43, 82, 0.07);
}

:root[data-theme="dark"] {
  --bg: #081426;
  --surface: #0e1b30;
  --surface-soft: #13233b;
  --surface-glass: rgba(14, 27, 48, 0.84);

  --text: #f7faff;
  --muted: #b5c1d2;

  --border: rgba(255, 255, 255, 0.10);

  --shadow:
    0 26px 80px
    rgba(0, 0, 0, 0.34);

  --shadow-soft:
    0 12px 36px
    rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;

  background:
    var(--bg);

  color:
    var(--text);

  font-family:
    "Inter",
    system-ui,
    sans-serif;

  -webkit-font-smoothing:
    antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-glow {
  position: fixed;
  z-index: -1;

  width: 650px;
  height: 650px;

  border-radius: 50%;

  filter: blur(36px);

  pointer-events: none;
}

.page-glow--one {
  top: -320px;
  right: -220px;

  background:
    rgba(138, 99, 247, 0.13);
}

.page-glow--two {
  top: 720px;
  left: -380px;

  background:
    rgba(23, 110, 255, 0.10);
}


/* HEADER */

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;

  border-bottom:
    1px solid var(--border);

  background:
    var(--surface-glass);

  backdrop-filter:
    blur(22px)
    saturate(140%);

  -webkit-backdrop-filter:
    blur(22px)
    saturate(140%);
}

.site-header__inner {
  width:
    min(1180px, calc(100% - 40px));

  min-height: 78px;

  margin: 0 auto;

  display: flex;
  align-items: center;

  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;

  gap: 11px;
}

.brand__icon {
  width: 46px;
  height: 46px;

  object-fit: contain;

  border-radius: 12px;
}

.brand__wordmark {
  display: flex;
  align-items: baseline;

  gap: 6px;

  font-family:
    "Nunito Sans",
    sans-serif;
}

.brand__cirqela {
  font-size: 1.42rem;
  font-weight: 800;

  letter-spacing:
    -0.04em;
}

.brand__product {
  font-size: 1.05rem;
  font-weight: 600;
}

.site-nav {
  margin-left: auto;

  display: flex;

  gap: 24px;

  color:
    var(--muted);

  font-size: 0.84rem;
  font-weight: 650;
}

.site-nav a:hover {
  color:
    var(--text);
}


/* THEME */

.theme-switcher {
  display: inline-flex;

  gap: 3px;

  padding: 4px;

  border:
    1px solid var(--border);

  border-radius: 999px;

  background:
    var(--surface);
}

.theme-switcher button {
  min-height: 32px;

  padding:
    5px
    10px;

  border: 0;
  border-radius: 999px;

  background: transparent;

  color:
    var(--muted);

  font: inherit;

  font-size: 0.68rem;
  font-weight: 700;

  cursor: pointer;
}

.theme-switcher button.active {
  color: #ffffff;

  background:
    var(--gradient);
}


/* GENERIC */

.eyebrow {
  display: block;

  margin-bottom: 13px;

  color:
    var(--blue);

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing:
    0.14em;

  text-transform:
    uppercase;
}

.button {
  min-height: 48px;

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

  padding:
    0
    20px;

  border-radius: 999px;

  font-size: 0.86rem;
  font-weight: 750;

  transition:
    transform 0.18s ease;
}

.button:hover {
  transform:
    translateY(-2px);
}

.button--primary {
  color: #ffffff;

  background:
    var(--gradient);

  box-shadow:
    0 13px 30px
    rgba(64, 88, 235, 0.23);
}

.button--secondary {
  border:
    1px solid var(--border);

  background:
    var(--surface);

  box-shadow:
    var(--shadow-soft);
}

.section {
  width:
    min(1180px, calc(100% - 40px));

  margin: 0 auto;

  padding:
    115px
    0;
}

.section-heading {
  max-width: 790px;

  margin-bottom: 46px;
}

.section-heading--wide {
  max-width: 850px;
}

.section-heading h2,
.how-section h2,
.control-section h2,
.retention-section h2,
.privacy-section h2,
.future-section h2,
.final-cta h2 {
  margin:
    0
    0
    18px;

  font-family:
    "Nunito Sans",
    sans-serif;

  font-size:
    clamp(
      2.3rem,
      4.4vw,
      4rem
    );

  font-weight: 800;

  line-height: 1.04;

  letter-spacing:
    -0.05em;
}

.section-heading p,
.how-section p,
.retention-section p,
.privacy-section p,
.future-section p,
.final-cta p {
  margin: 0;

  color:
    var(--muted);

  line-height: 1.72;
}


/* HERO */

.hero {
  width:
    min(1180px, calc(100% - 40px));

  min-height:
    calc(100vh - 78px);

  margin: 0 auto;

  padding:
    90px
    0
    100px;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(420px, 0.9fr);

  gap: 72px;

  align-items: center;
}

.hero__content {
  min-width: 0;
}

.hero h1 {
  margin:
    0
    0
    25px;

  font-family:
    "Nunito Sans",
    sans-serif;

  font-size:
    clamp(
      3rem,
      5vw,
      5.15rem
    );

  font-weight: 800;

  line-height: 0.98;

  letter-spacing:
    -0.058em;
}

.hero h1 span {
  display: block;

  margin-top: 14px;

  background:
    var(--gradient);

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
}

.hero__lead {
  max-width: 660px;

  margin:
    0
    0
    14px;

  font-size: 1.12rem;
  line-height: 1.7;
}

.hero__secondary {
  max-width: 650px;

  margin: 0;

  color:
    var(--muted);

  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;

  gap: 11px;

  margin-top: 31px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;

  gap: 9px;

  margin-top: 24px;
}

.hero__trust span {
  padding:
    7px
    10px;

  border:
    1px solid var(--border);

  border-radius: 999px;

  background:
    var(--surface-glass);

  color:
    var(--muted);

  font-size: 0.7rem;
  font-weight: 650;
}


/* RELAY PREVIEW */

.relay-preview {
  padding: 25px;

  border:
    1px solid var(--border);

  border-radius: 32px;

  background:
    var(--surface);

  box-shadow:
    var(--shadow);
}

.relay-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 18px;
}

.relay-preview__brand {
  display: flex;
  align-items: center;

  gap: 10px;
}

.relay-preview__brand img {
  width: 42px;
  height: 42px;

  object-fit: contain;

  border-radius: 11px;
}

.relay-preview__brand div {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.relay-preview__brand strong {
  font-family:
    "Nunito Sans",
    sans-serif;
}

.relay-preview__brand span {
  color:
    var(--muted);

  font-size: 0.7rem;
}

.status-pill {
  padding:
    6px
    9px;

  border-radius: 999px;

  background:
    rgba(35, 139, 105, 0.10);

  color:
    #238b69;

  font-size: 0.64rem;
  font-weight: 750;
}

.relay-address {
  padding: 16px;

  border:
    1px solid var(--border);

  border-radius: 18px;

  background:
    var(--surface-soft);
}

.relay-address span,
.relay-address small {
  display: block;

  color:
    var(--muted);

  font-size: 0.66rem;
}

.relay-address strong {
  display: block;

  margin:
    5px
    0;

  overflow-wrap: anywhere;

  color:
    var(--blue);

  font-size: 0.82rem;
}

.order-card {
  margin-top: 13px;

  padding: 18px;

  border:
    1px solid var(--border);

  border-radius: 20px;
}

.order-card__top {
  display: flex;
  justify-content: space-between;

  margin-bottom: 18px;
}

.order-card__top div {
  display: flex;
  flex-direction: column;

  gap: 3px;
}

.order-card__top span {
  color:
    var(--muted);

  font-size: 0.65rem;
}

.order-timeline {
  position: relative;
}

.order-step {
  position: relative;

  display: grid;

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

  gap: 10px;

  padding-bottom: 17px;
}

.order-step::before {
  content: "";

  position: absolute;

  left: 6px;
  top: 13px;
  bottom: -1px;

  width: 2px;

  background:
    var(--border);
}

.order-step:last-child::before {
  display: none;
}

.order-step > span {
  position: relative;
  z-index: 2;

  width: 14px;
  height: 14px;

  margin-top: 2px;

  border:
    3px solid var(--surface);

  border-radius: 50%;

  background:
    var(--border);
}

.order-step--done > span {
  background:
    var(--gradient);

  box-shadow:
    0 0 0 3px
    rgba(23, 110, 255, 0.08);
}

.order-step div {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.order-step strong {
  font-size: 0.75rem;
}

.order-step small {
  color:
    var(--muted);

  font-size: 0.64rem;
}

.relay-settings {
  margin-top: 13px;

  padding:
    8px
    15px;

  border:
    1px solid var(--border);

  border-radius: 18px;

  background:
    var(--surface-soft);
}

.relay-settings__row,
.channel-row {
  min-height: 40px;

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

  gap: 15px;

  border-bottom:
    1px solid var(--border);

  font-size: 0.72rem;
}

.relay-settings__row:last-child,
.channel-row:last-child {
  border-bottom: 0;
}

.toggle {
  position: relative;

  width: 34px;
  height: 20px;

  border-radius: 999px;

  background:
    rgba(97, 112, 137, 0.25);
}

.toggle::after {
  content: "";

  position: absolute;

  top: 3px;
  left: 3px;

  width: 14px;
  height: 14px;

  border-radius: 50%;

  background: #ffffff;
}

.toggle--on {
  background:
    var(--gradient);
}

.toggle--on::after {
  left: 17px;
}


/* MAIL */

.mail-grid {
  display: grid;

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

  gap: 14px;
}

.mail-card {
  min-height: 95px;

  display: flex;
  align-items: center;

  gap: 14px;

  padding: 18px;

  border:
    1px solid var(--border);

  border-radius: 20px;

  background:
    var(--surface);

  box-shadow:
    var(--shadow-soft);
}

.mail-card > span {
  width: 31px;
  height: 31px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background:
    var(--surface-soft);

  color:
    var(--blue);

  font-size: 0.68rem;
  font-weight: 800;
}

.mail-card strong {
  font-size: 0.82rem;
}

.mail-card--marketing {
  opacity: 0.55;
}


/* HOW */

.how-section {
  width:
    min(1180px, calc(100% - 40px));

  margin:
    25px
    auto
    120px;

  padding: 68px;

  display: grid;

  grid-template-columns:
    0.9fr
    1.1fr;

  gap: 70px;

  border:
    1px solid var(--border);

  border-radius: 38px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 110, 255, 0.065),
      rgba(138, 99, 247, 0.08)
    ),
    var(--surface);

  box-shadow:
    var(--shadow);
}

.how-section__copy p + p {
  margin-top: 13px;
}

.flow {
  display: flex;
  flex-direction: column;

  justify-content: center;
}

.flow-step {
  display: grid;

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

  gap: 14px;
}

.flow-step > span {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: #ffffff;

  background:
    var(--gradient);

  font-family:
    "Nunito Sans",
    sans-serif;

  font-weight: 800;
}

.flow-step strong {
  display: block;

  margin-bottom: 5px;

  font-size: 0.86rem;
}

.flow-step p {
  font-size: 0.74rem;
}

.flow-line {
  width: 2px;
  height: 28px;

  margin:
    5px
    0
    5px
    20px;

  background:
    linear-gradient(
      var(--blue),
      var(--violet)
    );

  opacity: 0.25;
}


/* CONTROL */

.control-section {
  width:
    min(1180px, calc(100% - 40px));

  margin: 0 auto;

  padding:
    0
    0
    120px;
}

.control-grid {
  display: grid;

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

  gap: 18px;
}

.control-card {
  padding: 24px;

  border:
    1px solid var(--border);

  border-radius: 25px;

  background:
    var(--surface);

  box-shadow:
    var(--shadow-soft);
}

.control-card__header {
  min-height: 70px;

  display: flex;
  flex-direction: column;

  gap: 5px;

  padding-bottom: 13px;

  border-bottom:
    1px solid var(--border);
}

.control-card__header strong {
  font-family:
    "Nunito Sans",
    sans-serif;

  font-size: 1rem;
}

.control-card__header span {
  color:
    var(--muted);

  font-size: 0.68rem;
}

.control-card--marketing {
  background:
    linear-gradient(
      145deg,
      rgba(23, 110, 255, 0.05),
      rgba(138, 99, 247, 0.07)
    ),
    var(--surface);
}

.marketing-state {
  min-height: 180px;

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

  gap: 13px;
}

.marketing-state__icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background:
    var(--surface-soft);

  color:
    var(--muted);

  font-size: 1.2rem;
}

.marketing-state div {
  display: flex;
  flex-direction: column;

  gap: 3px;
}

.marketing-state div span {
  color:
    var(--muted);

  font-size: 0.67rem;
}


/* RETENTION */

.retention-section {
  width:
    min(1180px, calc(100% - 40px));

  margin:
    0
    auto
    110px;

  display: grid;

  grid-template-columns:
    0.95fr
    1.05fr;

  gap: 70px;

  align-items: center;
}

.retention-section__copy p + p {
  margin-top: 13px;
}

.retention-card {
  padding: 28px;

  border:
    1px solid var(--border);

  border-radius: 28px;

  background:
    var(--surface);

  box-shadow:
    var(--shadow);
}

.retention-stage {
  display: grid;

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

  gap: 12px;
}

.retention-stage__dot {
  width: 14px;
  height: 14px;

  margin-top: 3px;

  border-radius: 50%;

  background:
    var(--gradient);
}

.retention-stage div {
  display: flex;
  flex-direction: column;

  gap: 4px;
}

.retention-stage small {
  color:
    var(--blue);

  font-size: 0.59rem;
  font-weight: 800;

  letter-spacing:
    0.1em;
}

.retention-stage strong {
  font-size: 0.84rem;
}

.retention-stage p {
  font-size: 0.72rem;
}

.retention-rail {
  width: 2px;
  height: 36px;

  margin:
    6px
    0
    6px
    6px;

  background:
    linear-gradient(
      var(--blue),
      var(--violet)
    );

  opacity: 0.27;
}

.retention-choice-section {
  width:
    min(760px, calc(100% - 40px));

  margin:
    0
    auto
    120px;
}

.retention-choice-card {
  padding: 32px;

  border:
    1px solid var(--border);

  border-radius: 28px;

  background:
    var(--surface);

  box-shadow:
    var(--shadow-soft);
}

.retention-choice-card h2 {
  margin:
    0
    0
    24px;

  font-family:
    "Nunito Sans",
    sans-serif;

  font-size: 1.65rem;
}

.retention-options {
  display: grid;

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

  gap: 9px;

  margin-bottom: 24px;
}

.retention-options > div {
  min-height: 45px;

  display: flex;
  align-items: center;

  gap: 9px;

  padding:
    0
    12px;

  border:
    1px solid var(--border);

  border-radius: 14px;

  color:
    var(--muted);

  font-size: 0.73rem;
}

.retention-option--active {
  color:
    var(--text) !important;

  background:
    var(--surface-soft);
}

.radio {
  width: 15px;
  height: 15px;

  border:
    2px solid var(--border);

  border-radius: 50%;
}

.radio--active {
  border:
    4px solid var(--blue);
}

.retention-rule {
  min-height: 43px;

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

  gap: 15px;

  border-top:
    1px solid var(--border);

  font-size: 0.7rem;
}

.retention-rule span {
  color:
    var(--muted);
}


/* PRIVACY */

.privacy-section {
  width:
    min(1180px, calc(100% - 40px));

  margin:
    0
    auto
    120px;

  padding: 68px;

  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 70px;

  border:
    1px solid var(--border);

  border-radius: 38px;

  background:
    var(--surface);

  box-shadow:
    var(--shadow);
}

.privacy-section p + p {
  margin-top: 13px;
}

.privacy-table {
  display: flex;
  flex-direction: column;

  justify-content: center;
}

.privacy-table > div {
  min-height: 52px;

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

  gap: 15px;

  border-bottom:
    1px solid var(--border);

  font-size: 0.73rem;
}

.privacy-table > div:last-child {
  border-bottom: 0;
}

.privacy-table strong {
  text-align: right;

  font-size: 0.68rem;
}

.needed {
  color:
    var(--muted);
}

.protected {
  color:
    #238b69;
}

.relay {
  color:
    var(--blue);
}


/* BENEFITS */

.benefit-grid {
  display: grid;

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

  gap: 16px;
}

.benefit-card {
  min-height: 235px;

  padding: 25px;

  border:
    1px solid var(--border);

  border-radius: 24px;

  background:
    var(--surface);

  box-shadow:
    var(--shadow-soft);
}

.benefit-card > span {
  display: block;

  margin-bottom: 30px;

  color:
    var(--blue);

  font-size: 0.64rem;
  font-weight: 800;

  letter-spacing:
    0.12em;
}

.benefit-card h3 {
  margin:
    0
    0
    9px;

  font-family:
    "Nunito Sans",
    sans-serif;

  font-size: 1rem;
}

.benefit-card p {
  margin: 0;

  color:
    var(--muted);

  font-size: 0.76rem;
  line-height: 1.6;
}


/* FUTURE */

.future-section {
  width:
    min(1000px, calc(100% - 40px));

  margin:
    10px
    auto
    120px;

  padding: 55px;

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

  gap: 40px;

  border:
    1px solid var(--border);

  border-radius: 32px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 110, 255, 0.06),
      rgba(138, 99, 247, 0.08)
    ),
    var(--surface);
}

.future-section > div {
  max-width: 720px;
}

.future-label {
  flex: 0 0 auto;

  padding:
    7px
    10px;

  border:
    1px solid var(--border);

  border-radius: 999px;

  color:
    var(--muted);

  font-size: 0.64rem;
  font-weight: 700;
}


/* CTA */

.final-cta {
  width:
    min(1000px, calc(100% - 40px));

  margin:
    0
    auto
    120px;

  padding:
    80px
    50px;

  text-align: center;

  border:
    1px solid var(--border);

  border-radius: 40px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 110, 255, 0.07),
      rgba(138, 99, 247, 0.10)
    ),
    var(--surface);

  box-shadow:
    var(--shadow);
}

.final-cta > img {
  width: 68px;
  height: 68px;

  margin-bottom: 22px;

  object-fit: contain;

  border-radius: 16px;
}

.final-cta h2 {
  max-width: 760px;

  margin:
    0
    auto
    17px;
}

.final-cta p {
  max-width: 620px;

  margin:
    0
    auto;
}


/* FOOTER */

.site-footer {
  border-top:
    1px solid var(--border);
}


.footer-inner {
  min-height: 110px;

  display: grid;

  grid-template-columns:
    auto
    1fr
    auto;

  gap: 28px;

  align-items: center;

  color: var(--text-soft);

  font-size: .87rem;
}


.footer-brand {
  display: flex;

  align-items: center;

  gap: 9px;

  color: var(--text);

  font-weight: 800;
}


.footer-brand img {
  width: 31px;
  height: 31px;
}


.footer-inner > p {
  margin: 0;

  text-align: center;
}


.footer-links {
  display: flex;

  gap: 18px;
}



/* RESPONSIVE */

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;

    grid-template-columns: 1fr;

    padding-top: 70px;
  }

  .relay-preview {
    max-width: 620px;
  }

  .how-section,
  .retention-section,
  .privacy-section {
    grid-template-columns: 1fr;
  }

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

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

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

  .future-section {
    align-items: flex-start;

    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header__inner,
  .hero,
  .section,
  .how-section,
  .control-section,
  .retention-section,
  .privacy-section {
    width:
      calc(100% - 28px);
  }

  .site-header__inner {
    min-height: 70px;
  }

  .brand__icon {
    width: 39px;
    height: 39px;
  }

  .brand__cirqela {
    font-size: 1.15rem;
  }

  .brand__product {
    font-size: 0.9rem;
  }

  .theme-switcher button {
    padding:
      5px
      7px;

    font-size: 0.62rem;
  }

  .hero {
    padding:
      58px
      0
      75px;
  }

  .hero h1 {
    font-size:
      clamp(
        2.7rem,
        13vw,
        4.2rem
      );
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .relay-preview {
    padding: 18px;

    border-radius: 25px;
  }

  .section {
    padding:
      85px
      0;
  }

  .how-section,
  .privacy-section {
    padding:
      34px
      24px;

    border-radius: 28px;
  }

  .control-grid,
  .benefit-grid,
  .mail-grid {
    grid-template-columns: 1fr;
  }

  .retention-options {
    grid-template-columns: 1fr;
  }

  .retention-choice-section,
  .future-section,
  .final-cta {
    width:
      calc(100% - 28px);
  }

  .final-cta {
    padding:
      55px
      24px;
  }

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

    padding:
      28px
      0;

    flex-wrap: wrap;
  }

  .site-footer p {
    width: 100%;

    order: 4;
  }
}

@media (max-width: 480px) {
  .brand__product {
    display: none;
  }

  .theme-switcher button:first-child {
    display: none;
  }

  .future-section {
    padding:
      34px
      24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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


/* ==========================================================
   CIRQELA PRIVACY RELAY LANGUAGE PICKER
   ========================================================== */

.language-picker {
  position: relative;

  flex: 0 0 auto;
}


.language-picker__trigger {
  min-width: 42px;
  height: 42px;

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

  gap: 5px;

  padding:
    0
    8px;

  border:
    1px solid var(--border);

  border-radius: 999px;

  background:
    var(--surface);

  color:
    var(--muted);

  font-family:
    inherit;

  cursor: pointer;

  box-shadow:
    0 5px 18px
    rgba(18, 43, 82, 0.04);

  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    transform .18s ease;
}


.language-picker__trigger:hover {
  color:
    var(--text);

  background:
    var(--surface-soft);

  border-color:
    rgba(23, 110, 255, 0.18);

  transform:
    translateY(-1px);
}


.language-picker__trigger svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;
  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.language-picker__current {
  min-width: 17px;

  color:
    var(--text);

  font-size: .58rem;
  font-weight: 800;

  letter-spacing:
    .03em;
}


.language-picker__menu {
  position: absolute;

  z-index: 100;

  top:
    calc(100% + 10px);

  right: 0;

  width: 220px;

  padding: 9px;

  visibility: hidden;

  opacity: 0;

  transform:
    translateY(-4px)
    scale(.98);

  transform-origin:
    top right;

  border:
    1px solid var(--border);

  border-radius: 18px;

  background:
    var(--surface);

  box-shadow:
    0 22px 60px
    rgba(18, 43, 82, 0.16);

  transition:
    opacity .16s ease,
    transform .16s ease,
    visibility .16s ease;
}


:root[data-theme="dark"]
.language-picker__menu {
  box-shadow:
    0 24px 64px
    rgba(0, 0, 0, 0.38);
}


.language-picker--open
.language-picker__menu {
  visibility: visible;

  opacity: 1;

  transform:
    translateY(0)
    scale(1);
}


.language-picker__heading {
  padding:
    8px
    10px
    9px;

  color:
    var(--muted);

  font-size: .65rem;
  font-weight: 800;

  letter-spacing:
    .08em;

  text-transform: uppercase;
}


.language-picker__divider {
  height: 1px;

  margin:
    4px
    7px;

  background:
    var(--border);
}


.language-picker__option {
  width: 100%;
  min-height: 40px;

  display: grid;

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

  align-items: center;

  gap: 8px;

  padding:
    0
    10px;

  border: 0;

  border-radius: 11px;

  background: transparent;

  color:
    var(--text);

  font-family:
    inherit;

  font-size: .76rem;
  font-weight: 620;

  text-align: left;

  cursor: pointer;

  transition:
    background .16s ease,
    color .16s ease;
}


.language-picker__option:hover {
  background:
    var(--surface-soft);
}


.language-picker__option--active {
  background:
    linear-gradient(
      135deg,
      rgba(23, 110, 255, 0.09),
      rgba(138, 99, 247, 0.10)
    );

  color:
    var(--text);

  font-weight: 750;
}


.language-picker__check {
  visibility: hidden;

  color:
    var(--blue);

  font-size: .72rem;
  font-weight: 900;
}


.language-picker__option--active
.language-picker__check {
  visibility: visible;
}


@media (max-width: 980px) {

  .language-picker {
    margin-left: auto;
  }

}


@media (max-width: 680px) {

  .site-header__inner {
    gap: 10px;
  }


  .language-picker__trigger {
    min-width: 39px;
    height: 39px;

    padding:
      0
      7px;
  }


  .language-picker__trigger svg {
    width: 17px;
    height: 17px;
  }


  .language-picker__current {
    display: none;
  }


  .language-picker__menu {
    width: 210px;
  }

}


@media (max-width: 480px) {

  .language-picker__menu {
    position: fixed;

    top: 76px;
    right: 14px;

    width:
      min(
        250px,
        calc(100vw - 28px)
      );

    transform-origin:
      top right;
  }

}



/* ==========================================================
   CIRQELA UNIFIED SCROLL HEADER V2
   Zelfde gedrag als de /2027/ hoofdpagina:
   transparant bovenaan → glass na scroll
   ========================================================== */

header.cirqela-scroll-header {
  position: sticky !important;

  top: 0;

  z-index: 1000;

  background:
    transparent !important;

  border-bottom:
    1px solid
    transparent !important;

  box-shadow:
    none !important;

  -webkit-backdrop-filter:
    none !important;

  backdrop-filter:
    none !important;

  transition:
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease,
    backdrop-filter .24s ease;
}


/*
 * Pas wanneer de bezoeker scrollt ontstaat de
 * daadwerkelijke navigatiebalk.
 */

header.cirqela-scroll-header.is-scrolled {
  background:
    var(
      --glass,
      rgba(255,255,255,.84)
    ) !important;

  border-bottom-color:
    var(
      --border,
      rgba(14,35,70,.10)
    ) !important;

  -webkit-backdrop-filter:
    blur(22px)
    saturate(140%) !important;

  backdrop-filter:
    blur(22px)
    saturate(140%) !important;

  box-shadow:
    0 8px 32px
    rgba(18,43,82,.055) !important;
}


:root[data-theme="dark"]
header.cirqela-scroll-header.is-scrolled {
  box-shadow:
    0 10px 34px
    rgba(0,0,0,.18) !important;
}



/* ==========================================================
   CIRQELA DARK HEADER FIX
   Privacy Relay
   ========================================================== */

/* Bovenaan altijd volledig onderdeel van de hero */
html[data-theme="light"]
header.cirqela-scroll-header:not(.is-scrolled),
html[data-theme="dark"]
header.cirqela-scroll-header:not(.is-scrolled) {
  background:
    transparent !important;

  border-bottom-color:
    transparent !important;

  box-shadow:
    none !important;

  -webkit-backdrop-filter:
    none !important;

  backdrop-filter:
    none !important;
}


/* Light mode na scroll */
html[data-theme="light"]
header.cirqela-scroll-header.is-scrolled {
  background:
    rgba(255, 255, 255, .84) !important;

  border-bottom-color:
    rgba(14, 35, 70, .10) !important;

  -webkit-backdrop-filter:
    blur(22px)
    saturate(140%) !important;

  backdrop-filter:
    blur(22px)
    saturate(140%) !important;

  box-shadow:
    0 8px 32px
    rgba(18, 43, 82, .055) !important;
}


/* Dark mode na scroll */
html[data-theme="dark"]
header.cirqela-scroll-header.is-scrolled {
  background:
    rgba(11, 25, 45, .88) !important;

  border-bottom-color:
    rgba(255, 255, 255, .10) !important;

  -webkit-backdrop-filter:
    blur(22px)
    saturate(140%) !important;

  backdrop-filter:
    blur(22px)
    saturate(140%) !important;

  box-shadow:
    0 10px 34px
    rgba(0, 0, 0, .18) !important;
}


/* CIRQELA SOCIAL HEADER CONTROL STANDARD */

/*
 * Cirqela Social is de visuele referentie voor
 * taal- en themabediening in de publieke website.
 */

.header-actions {
  gap: 12px;
}


/* Taal — desktop */

.language-picker__trigger {
  min-width: 42px;
  height: 42px;

  gap: 5px;

  padding:
    0
    8px;
}


.language-picker__trigger svg {
  width: 18px;
  height: 18px;
}


.language-picker__current {
  min-width: 17px;

  font-size: .58rem;
  font-weight: 800;

  letter-spacing: .03em;
}


/* Thema — desktop */

.theme-switcher {
  gap: 3px;

  padding: 4px;
}


.theme-switcher button {
  min-height: 34px;

  padding:
    0
    12px;

  font-size: .78rem;
  font-weight: 700;
}


/* Tablet / mobiel — gelijk aan Social */

@media (max-width: 760px) {

  .language-picker__trigger {
    min-width: 39px;
    height: 39px;

    padding:
      0
      7px;
  }


  .language-picker__trigger svg {
    width: 17px;
    height: 17px;
  }


  .language-picker__current {
    display: none;
  }


  .language-picker__menu {
    width: 210px;
  }


  .theme-switcher button {
    min-height: 32px;

    padding:
      0
      8px;

    font-size: .7rem;
  }

}


/* Kleine telefoons — gelijk aan Social */

@media (max-width: 520px) {

  .theme-switcher {
    gap: 1px;
  }


  .theme-switcher button {
    padding:
      0
      7px;
  }


  .theme-switcher button[
    data-theme-choice="auto"
  ],
  .theme-switcher button[
    data-theme-option="auto"
  ] {
    display: none;
  }


  .language-picker__menu {
    position: fixed;

    top: 76px;
    right: 12px;

    width:
      min(
        250px,
        calc(100vw - 24px)
      );

    transform-origin:
      top right;
  }

}

/* ==========================================================
   CIRQELA PUBLIC HEADER NAV STANDARD
   Referentie: Cirqela Social
   ========================================================== */

.site-header__inner {
  min-height: 90px;

  display: grid;

  grid-template-columns:
    auto
    1fr
    auto;

  gap: 34px;

  align-items: center;
}


.site-nav {
  display: flex;

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

  gap: 30px;

  font-family:
    Inter,
    system-ui,
    sans-serif;

  font-size: .92rem;
  font-weight: 400;

  color: var(--text-soft, var(--muted));
}


.site-nav a {
  color: inherit;

  transition:
    color .15s ease,
    transform .15s ease;
}


.site-nav a:hover {
  color: var(--text);

  transform:
    translateY(-1px);
}


.header-actions {
  display: flex;

  align-items: center;

  justify-self: end;

  gap: 12px;
}


@media (max-width: 1080px) {

  .site-header__inner {
    grid-template-columns:
      auto
      auto;

    justify-content:
      space-between;
  }


  .site-nav {
    display: none;
  }

}


@media (max-width: 760px) {

  .site-header__inner {
    min-height: 76px;
  }

}


/* ==========================================================
   CIRQELA HEADER ALIGNMENT FINAL
   Visuele referentie: Cirqela Social
   ========================================================== */

.site-header__inner {
  min-height: 90px;

  display: grid;

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

  gap: 34px;

  align-items: center;
}


.site-header__inner > .brand {
  justify-self: start;
}


.site-nav {
  display: flex;

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

  justify-self: center;

  gap: 30px;

  margin: 0;

  white-space: nowrap;

  font-family:
    Inter,
    system-ui,
    sans-serif;

  font-size: .92rem;
  font-weight: 400;

  color:
    var(--text-soft, var(--muted));
}


.site-nav a {
  color: inherit;

  transition:
    color .15s ease,
    transform .15s ease;
}


.site-nav a:hover {
  color: var(--text);

  transform:
    translateY(-1px);
}


.site-header__inner > .header-actions {
  justify-self: end;

  margin: 0;

  display: flex;
  align-items: center;

  gap: 12px;
}


@media (max-width: 1080px) {

  .site-header__inner {
    grid-template-columns:
      auto
      auto;

    justify-content:
      space-between;
  }


  .site-nav {
    display: none;
  }

}


@media (max-width: 760px) {

  .site-header__inner {
    min-height: 76px;
  }

}

