/* =====================================================================
   nowake.ir's home page (nw-front.js), laid out the way discord.com lays
   out its own: a big welcome with the app on a computer and a phone, wide
   rounded cards that take turns putting their picture left and right, a
   moving band of words, a last call with the whole crew.
   NO WAKE's own colours, words, characters and screenshots of its own app.
   It sits between the site's header (fixed, over the page) and footer.
   At the end: the site's header on phones and tablets (a plain bar with
   the logo, the language and the menu).
   ===================================================================== */

/* the site's own sections stay in the page, out of sight */
html.nwf-home #root main > :not(#nwf-front) {
  display: none !important;
}
/* the footer's gap above it showed the site's own backdrop as a band */
html.nwf-home #root footer.footer-wrap {
  margin-top: 0;
}

.nwh {
  --text: #f4f6ff;
  --soft: #cdd4f5;
  --muted: #a3acd9;
  --card: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  --card-line: rgba(255, 255, 255, 0.12);
  --card-shadow: 0 40px 90px -50px rgba(0, 0, 20, 0.8);
  --tile: rgba(255, 255, 255, 0.06);
  --star: rgba(255, 255, 255, 0.75);
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: var(--text);
  font-family: inherit;
  background:
    radial-gradient(1100px 620px at 85% -6%, rgba(77, 140, 255, 0.42), transparent 62%),
    radial-gradient(900px 700px at -10% 22%, rgba(122, 92, 255, 0.3), transparent 60%),
    radial-gradient(1000px 800px at 110% 62%, rgba(47, 111, 235, 0.28), transparent 60%),
    linear-gradient(180deg, #0a0f3f 0%, #121a7c 34%, #101676 62%, #0b1048 88%, #0a0d33 100%);
}
.nwh[data-scheme="light"] {
  --text: #0c1333;
  --soft: #3b4670;
  --muted: #5c678f;
  --card: #fff;
  --card-line: rgba(25, 45, 130, 0.09);
  --card-shadow: 0 40px 80px -50px rgba(30, 50, 150, 0.4);
  --tile: #f3f6ff;
  --star: rgba(47, 91, 234, 0.35);
  background:
    radial-gradient(1100px 620px at 85% -6%, rgba(77, 140, 255, 0.22), transparent 62%),
    radial-gradient(900px 700px at -10% 22%, rgba(122, 92, 255, 0.14), transparent 60%),
    linear-gradient(180deg, #eaf0ff 0%, #f3f6ff 40%, #eef2ff 100%);
}
/* stars all the way down */
.nwh::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, var(--star) 1px, transparent 1.6px),
    radial-gradient(circle, var(--star) 1px, transparent 1.6px),
    radial-gradient(circle, var(--star) 1.4px, transparent 2px);
  background-size: 170px 170px, 260px 260px, 410px 410px;
  background-position: 0 0, 90px 130px, 200px 40px;
  opacity: 0.55;
}
.nwh *,
.nwh *::before,
.nwh *::after {
  box-sizing: border-box;
}
.nwh img {
  max-width: none;
}
.nwh-ico {
  display: inline-block;
  flex-shrink: 0;
  fill: currentColor;
  vertical-align: middle;
}
.nwh-wrap {
  position: relative;
  width: min(1184px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- words ---------- */
.nwh-h1,
.nwh-h2 {
  margin: 0;
  font-weight: 800;
  color: var(--text);
  text-wrap: balance;
}
.nwh-h1 {
  font-size: clamp(40px, 4.3vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.nwh-h2 {
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.nwh[data-lang="en"] .nwh-h1,
.nwh[data-lang="en"] .nwh-h2 {
  text-transform: uppercase;
}
.nwh[data-lang="fa"] .nwh-h1 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.32;
  letter-spacing: 0;
}
.nwh[data-lang="fa"] .nwh-h2 {
  line-height: 1.42;
  letter-spacing: 0;
}
.nwh-accent {
  background: linear-gradient(90deg, #5fb0ff, #8f7bff 60%, #c48bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nwh[data-scheme="light"] .nwh-accent {
  background-image: linear-gradient(90deg, #2563eb, #6a4dff 60%, #9a4dff);
}
.nwh-lead,
.nwh-text {
  margin: 0;
  color: var(--soft);
}
.nwh-lead {
  font-size: 20px;
  line-height: 1.6;
}
.nwh-text {
  font-size: 18px;
  line-height: 1.65;
}
.nwh[data-lang="fa"] .nwh-lead,
.nwh[data-lang="fa"] .nwh-text {
  line-height: 1.95;
}
.nwh[data-lang="fa"] .nwh-text {
  font-size: 17px;
}

/* ---------- buttons ---------- */
.nwh-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 24px;
}
.nwh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.nwh-btn:hover {
  transform: translateY(-2px);
}
.nwh-btn:focus-visible {
  outline: 3px solid #8fc1ff;
  outline-offset: 3px;
}
.nwh-btn--light {
  color: #0b1030 !important;
  background: #fff;
  box-shadow: 0 16px 34px -18px rgba(0, 0, 20, 0.8);
}
.nwh-btn--light:hover {
  box-shadow: 0 20px 40px -16px rgba(0, 0, 20, 0.75);
}
.nwh-btn--brand {
  color: #fff !important;
  background: linear-gradient(135deg, #3f86ff, #5a5cff 60%, #7a4dff);
  box-shadow: 0 16px 34px -16px rgba(70, 110, 255, 0.9);
}
.nwh[data-scheme="light"] .nwh-btn--light {
  color: #fff !important;
  background: #0d1433;
}

/* ---------- the welcome ---------- */
.nwh-hero {
  position: relative;
  padding: clamp(128px, 11vw, 160px) 0 clamp(72px, 8vw, 112px);
}
.nwh-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  grid-template-areas: "copy art" "btns btns";
  align-items: center;
  column-gap: clamp(32px, 4vw, 64px);
  row-gap: clamp(48px, 5vw, 72px);
}
.nwh-hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.nwh-hero-art {
  grid-area: art;
}
.nwh-hero .nwh-btns {
  grid-area: btns;
}

/* the app on a computer, the phone beside it, the crew around them */
.nwh-devices {
  position: relative;
  padding: 7% 13% 0 0;
  padding-inline: 4% 13%;
}
.nwh-monitor {
  position: relative;
  z-index: 2;
}
.nwh-screen {
  aspect-ratio: 16 / 10;
  padding: clamp(6px, 0.8vw, 11px);
  border-radius: clamp(12px, 1.4vw, 20px);
  background: linear-gradient(180deg, #1d2560, #0c1033);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 50px 90px -40px rgba(0, 0, 20, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.nwh-screen-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: clamp(6px, 0.7vw, 10px);
  background: #0b1020;
}
.nwh-neck {
  display: block;
  width: 13%;
  height: clamp(18px, 2.4vw, 36px);
  margin-inline: auto;
  background: linear-gradient(180deg, #252d6e, #141943);
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
}
.nwh-foot {
  display: block;
  width: 36%;
  height: clamp(8px, 0.9vw, 13px);
  margin-inline: auto;
  border-radius: 10px 10px 5px 5px;
  background: linear-gradient(180deg, #343e8c, #171d50);
  box-shadow: 0 22px 34px -12px rgba(0, 0, 20, 0.7);
}
.nwh-phone {
  position: absolute;
  z-index: 3;
  inset-inline-end: 1%;
  bottom: -3%;
  width: 21%;
  padding: clamp(4px, 0.45vw, 7px);
  border-radius: clamp(18px, 2vw, 30px);
  background: #090c22;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 40px 70px -26px rgba(0, 0, 20, 0.85);
}
.nwh-phone-screen {
  aspect-ratio: 540 / 1169;
  overflow: hidden;
  border-radius: clamp(14px, 1.6vw, 24px);
}
.nwh-notch {
  position: absolute;
  top: clamp(8px, 1vw, 14px);
  left: 50%;
  width: 30%;
  height: clamp(6px, 0.7vw, 10px);
  border-radius: 99px;
  background: #04050d;
  transform: translateX(-50%);
}
.nwh-char {
  position: absolute;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 20, 0.45));
}
.nwh-char--peek {
  z-index: 1;
  top: -3%;
  inset-inline-start: 9%;
  width: 17%;
}
.nwh-char--robo {
  z-index: 4;
  bottom: -5%;
  inset-inline-start: -2%;
  width: 16%;
}
.nwh-char--pal {
  z-index: 4;
  top: -21%;
  inset-inline-start: 28%;
  width: 62%;
}

/* ---------- the cards ---------- */
.nwh-sec {
  position: relative;
  padding: clamp(40px, 5vw, 72px) 0;
}
.nwh-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 64px);
  padding: clamp(28px, 3.6vw, 52px);
  border-radius: clamp(32px, 3.6vw, 52px);
  background: var(--card);
  border: 1px solid var(--card-line);
  box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nwh-sec[data-flip] .nwh-card {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}
.nwh-sec[data-flip] .nwh-media {
  order: 2;
}
.nwh-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.nwh-panel {
  --tone-bg: linear-gradient(150deg, #4f8bff, #3346d8);
  position: relative;
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 2.2vw, 30px);
  overflow: hidden;
  border-radius: clamp(22px, 2.6vw, 36px);
  background: var(--tone-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.nwh-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(255, 255, 255, 0.28), transparent 70%),
    radial-gradient(50% 40% at 90% 100%, rgba(0, 0, 30, 0.3), transparent 70%);
  pointer-events: none;
}
.nwh-sec[data-tone="game"] .nwh-panel {
  --tone-bg: linear-gradient(150deg, #ff62d3 0%, #b13dff 52%, #5a2cff 100%);
}
.nwh-sec[data-tone="servers"] .nwh-panel {
  --tone-bg: linear-gradient(150deg, #8a6bff 0%, #4b4fff 55%, #2232c4 100%);
}
.nwh-sec[data-tone="voice"] .nwh-panel {
  --tone-bg: linear-gradient(150deg, #2fe0f2 0%, #2a8bff 52%, #2b3fd6 100%);
}
.nwh-sec[data-tone="style"] .nwh-panel {
  --tone-bg: linear-gradient(150deg, #ffd25a 0%, #ff8d3f 48%, #e34d84 100%);
}
.nwh-sec[data-tone="bots"] .nwh-panel {
  --tone-bg: linear-gradient(150deg, #44e0a0 0%, #17a8b0 48%, #2463e6 100%);
}
.nwh-shot {
  position: relative;
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: clamp(8px, 1vw, 14px);
  box-shadow: 0 30px 60px -24px rgba(5, 8, 40, 0.75);
}
/* a tall picture rises from the bottom edge */
.nwh-panel[data-tall] {
  align-items: flex-end;
  padding-bottom: 0;
}
.nwh-panel[data-tall] .nwh-shot {
  border-radius: clamp(10px, 1.2vw, 16px) clamp(10px, 1.2vw, 16px) 0 0;
}
/* the Shop behind, a profile card in front */
.nwh-shot--back {
  position: absolute;
  top: 9%;
  inset-inline-start: 6%;
  width: 78%;
  max-height: none;
}
.nwh-shot--card {
  position: absolute;
  top: 15%;
  inset-inline-end: 5%;
  width: 34%;
  max-height: none;
  border-radius: clamp(10px, 1.3vw, 18px);
  box-shadow: 0 30px 60px -16px rgba(5, 8, 40, 0.85);
}
/* the crew sit on the cards */
.nwh-char--card {
  z-index: 3;
  width: clamp(72px, 8.5vw, 124px);
}
.nwh-char--a {
  top: clamp(-74px, -6vw, -52px);
  inset-inline-end: 9%;
}
.nwh-char--b {
  top: clamp(-80px, -6.4vw, -56px);
  inset-inline-start: 7%;
}
.nwh-char--c {
  bottom: clamp(-52px, -4vw, -36px);
  inset-inline-end: 6%;
}
.nwh-char--d {
  top: clamp(-70px, -5.6vw, -50px);
  inset-inline-end: 12%;
}
.nwh-char--e {
  top: clamp(-88px, -7vw, -62px);
  inset-inline-start: 9%;
}

/* "Discord bots, here too" */
.nwh-soon {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(122, 92, 255, 0.22), rgba(77, 163, 255, 0.1));
  border: 1px solid rgba(160, 140, 255, 0.35);
}
.nwh[data-scheme="light"] .nwh-soon {
  background: linear-gradient(135deg, rgba(122, 92, 255, 0.1), rgba(77, 163, 255, 0.06));
  border-color: rgba(122, 92, 255, 0.28);
}
.nwh-soon-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #7a5cff, #4da3ff);
}
.nwh-soon b {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.nwh-soon em {
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  color: #241400;
  background: #ffcf4a;
}
.nwh-soon span {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.nwh-action {
  margin-top: 4px;
}

/* ---------- the moving band ---------- */
.nwh-band {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px) 0;
  direction: ltr;
}
.nwh-band-track {
  display: flex;
  width: max-content;
  animation: nwh-band 46s linear infinite;
  animation-play-state: paused;
}
.nwh-band[data-on] .nwh-band-track {
  animation-play-state: running;
}
.nwh[data-lang="fa"] .nwh-band-track {
  animation-direction: reverse;
}
.nwh-band-row {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.4vw, 52px);
  padding-inline-end: clamp(28px, 3.4vw, 52px);
}
.nwh-band-row span {
  font-size: clamp(44px, 6.4vw, 92px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.nwh-band-row img {
  width: clamp(40px, 4.6vw, 66px);
  height: auto;
  border-radius: 28%;
  box-shadow: 0 0 26px rgba(77, 163, 255, 0.55);
}
@keyframes nwh-band {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- and more ---------- */
.nwh-card--more {
  display: block;
  text-align: center;
}
.nwh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(28px, 3vw, 40px);
  text-align: start;
}
.nwh-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 26px;
  background: var(--tile);
  border: 1px solid var(--card-line);
}
.nwh-tile-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #4da3ff, #6a5cff);
  box-shadow: 0 12px 24px -12px rgba(77, 120, 255, 0.9);
}
.nwh-tile h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.nwh-tile p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.nwh[data-lang="fa"] .nwh-tile p {
  line-height: 1.9;
}

/* ---------- the last call ---------- */
.nwh-end {
  position: relative;
  padding: clamp(64px, 8vw, 120px) 0 0;
  text-align: center;
}
.nwh-end .nwh-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.nwh-end-title {
  max-width: 900px;
}
.nwh-end .nwh-lead {
  max-width: 640px;
}
.nwh-end .nwh-btns {
  margin-top: 12px;
}
.nwh-crew {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(24px, 3vw, 40px);
}
.nwh-crew::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(10px, 1.5vw, 20px);
  width: 120%;
  height: 46%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(77, 140, 255, 0.55), transparent);
  transform: translateX(-50%);
}
.nwh-crew img {
  position: relative;
  height: auto;
  margin-inline: clamp(-14px, -1vw, -6px);
  filter: drop-shadow(0 20px 26px rgba(0, 0, 20, 0.5));
}
.nwh-crew-a,
.nwh-crew-e {
  width: clamp(80px, 9vw, 132px);
}
.nwh-crew-b,
.nwh-crew-d {
  width: clamp(110px, 12vw, 176px);
}
.nwh-crew-c {
  z-index: 1;
  width: clamp(150px, 16vw, 236px);
}

/* ---------- coming in ---------- */
@media (prefers-reduced-motion: no-preference) {
  .nwh[data-js] .nwh-hero-copy,
  .nwh[data-js] .nwh-hero-art,
  .nwh[data-js] .nwh-sec .nwh-card,
  .nwh[data-js] .nwh-end .nwh-wrap {
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .nwh[data-js] .nwh-hero:not([data-in]) .nwh-hero-copy,
  .nwh[data-js] .nwh-hero:not([data-in]) .nwh-hero-art,
  .nwh[data-js] .nwh-sec:not([data-in]) .nwh-card,
  .nwh[data-js] .nwh-end:not([data-in]) .nwh-wrap {
    opacity: 0;
    transform: translateY(36px);
  }
  .nwh[data-js] .nwh-hero-art {
    transition-delay: 0.12s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nwh-band-track {
    animation: none;
  }
}

/* ---------- tablets and phones: everything in one column ---------- */
@media (max-width: 1023.98px) {
  .nwh-hero {
    padding-top: 96px;
  }
  .nwh-hero-in {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "art" "copy" "btns";
    row-gap: 36px;
    text-align: center;
  }
  .nwh-hero-copy {
    align-items: center;
    max-width: 680px;
    margin-inline: auto;
  }
  .nwh-hero-art {
    width: min(100%, 680px);
    margin-inline: auto;
  }
  .nwh-card,
  .nwh-sec[data-flip] .nwh-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .nwh-sec .nwh-media {
    order: 2;
    width: min(100%, 600px);
    margin-inline: auto;
  }
  .nwh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .nwh-wrap {
    width: calc(100% - 32px);
  }
  .nwh-hero {
    padding-top: 84px;
  }
  .nwh-lead {
    font-size: 17px;
  }
  .nwh-text {
    font-size: 16px;
  }
  .nwh[data-lang="fa"] .nwh-text {
    font-size: 16px;
  }
  .nwh-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    gap: 14px;
  }
  .nwh-btn {
    width: 100%;
    min-height: 56px;
    font-size: 17px;
    white-space: normal;
  }
  .nwh-action,
  .nwh-action .nwh-btn {
    width: 100%;
  }
  .nwh-card {
    gap: 24px;
    padding: 24px 20px;
  }
  .nwh-copy {
    gap: 16px;
  }
  .nwh-panel {
    aspect-ratio: 1 / 1;
  }
  .nwh-sec[data-tone="servers"] .nwh-panel,
  .nwh-sec[data-tone="voice"] .nwh-panel,
  .nwh-sec[data-tone="bots"] .nwh-panel {
    aspect-ratio: 4 / 3.4;
  }
  .nwh-shot--back {
    width: 88%;
    top: 7%;
  }
  .nwh-shot--card {
    width: 42%;
    top: 30%;
  }
  .nwh-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .nwh-tile {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 4px;
    padding: 18px;
  }
  .nwh-tile-icon {
    grid-row: span 2;
    margin: 0;
  }
  /* the whole crew fits a phone's width */
  .nwh-crew img {
    margin-inline: -1.5vw;
  }
  .nwh-crew-a,
  .nwh-crew-e {
    width: 14vw;
  }
  .nwh-crew-b,
  .nwh-crew-d {
    width: 21vw;
  }
  .nwh-crew-c {
    width: 29vw;
  }
}

/* =====================================================================
   The site's header on phones and tablets: a plain bar with the logo,
   the language and the menu (nw-front.js marks it .nwf-bar); the rest of
   its buttons live in the menu, which opens over the whole page.
   ===================================================================== */
@media (max-width: 1023.98px) {
  header.nwf-bar {
    padding: 0 !important;
  }
  header.nwf-bar > nav {
    width: 100% !important;
    max-width: none !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #2f5bea !important;
    box-shadow: 0 8px 26px -14px rgba(10, 20, 80, 0.7) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  header.nwf-bar #nowake-brand-logo span {
    color: #fff !important;
  }
  header.nwf-bar #navbar-theme-toggle,
  header.nwf-bar #navbar-login-link,
  header.nwf-bar #navbar-cta-button {
    display: none !important;
  }
  header.nwf-bar #navbar-lang-toggle,
  header.nwf-bar #navbar-mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.16) !important;
  }
  header.nwf-bar #navbar-lang-toggle {
    padding: 0 12px !important;
  }
  header.nwf-bar #navbar-lang-toggle span {
    display: inline !important;
    /* the page's own font: no extra font file for two letters */
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  header.nwf-bar #navbar-lang-toggle svg {
    width: 18px;
    height: 18px;
  }
  /* three lines, the last one short */
  header.nwf-bar:not([data-open]) #navbar-mobile-toggle svg {
    display: none;
  }
  header.nwf-bar:not([data-open]) #navbar-mobile-toggle::before {
    content: "";
    width: 20px;
    height: 14px;
    background:
      linear-gradient(#fff, #fff) 0 0 / 100% 2px no-repeat,
      linear-gradient(#fff, #fff) 0 6px / 100% 2px no-repeat,
      linear-gradient(#fff, #fff) 100% 12px / 60% 2px no-repeat;
  }
  header.nwf-bar[data-open] #navbar-mobile-toggle svg {
    width: 22px;
    height: 22px;
  }
  /* the menu, over the whole page under the bar */
  header.nwf-bar .nwf-menu {
    position: fixed !important;
    inset: 64px 0 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 8px 24px 32px !important;
    overflow-y: auto;
    border: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
    background: #2f5bea !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  header.nwf-bar .nwf-menu a:not([href="/login"]):not([href^="https://app."]),
  header.nwf-bar .nwf-menu .nwf-menu-theme {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: start;
    color: #fff !important;
    background: none !important;
    cursor: pointer;
  }
  header.nwf-bar .nwf-menu .nwf-menu-theme {
    font-family: inherit;
  }
  /* the site's own groups and divider: the rows draw the lines */
  header.nwf-bar .nwf-menu > :not(.nwf-menu-theme):not(a) {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
  }
  header.nwf-bar .nwf-menu a[href="/login"],
  header.nwf-bar .nwf-menu a[href^="https://app."] {
    min-height: 54px;
    margin-top: 14px;
    border-radius: 14px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
  }
  header.nwf-bar .nwf-menu a[href="/login"] {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
  }
  header.nwf-bar .nwf-menu a[href^="https://app."] {
    color: #1d3bb8 !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: 0 16px 30px -18px rgba(0, 0, 30, 0.7) !important;
  }
}
