.brand-app-icon {
  width: 31px;
  height: 31px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(220, 178, 91, 0.2);
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 25;
  width: min(1180px, calc(100% - 64px));
  height: 66px;
  padding: 0 15px;
  transform: translateX(-50%);
  border: 1px solid rgba(155, 213, 210, 0.14);
  border-radius: 18px;
  background: rgba(5, 26, 34, 0.76);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(18px);
}

.site-header .brand { font-size: 30px; letter-spacing: -1.5px; }
.site-header .brand-app-icon { width: 43px; height: 43px; border-radius: 13px; }
.hero { padding-top: 145px; }
.hero-copy h1 { font-size: clamp(44px, 4.7vw, 67px); line-height: 1.2; }

.site-header.scrolled {
  top: 9px;
  height: 58px;
  border-color: rgba(220, 178, 91, 0.22);
  background: rgba(4, 22, 29, 0.94);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.3);
}

.site-header,
.site-header .brand,
.site-header .brand-app-icon { transition: height .25s ease, top .25s ease, background .25s ease, box-shadow .25s ease, width .25s ease; }

.site-header.scrolled .brand { font-size: 25px; }
.site-header.scrolled .brand-app-icon { width: 36px; height: 36px; border-radius: 11px; }

@media (max-width: 560px) {
  .site-header { top: 9px; width: calc(100% - 28px); height: 57px; padding: 0 10px; border-radius: 15px; }
  .site-header .brand { font-size: 25px; }
  .site-header .brand-app-icon { width: 35px; height: 35px; border-radius: 11px; }
  .hero { padding-top: 113px; }
}

.site-footer .brand-app-icon {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.waitlist-logo {
  object-fit: cover;
  background: none;
  color: transparent;
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 30;
  background: rgba(229, 242, 240, 0.08);
}

.reading-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #53d9cf, #dcb25b);
  box-shadow: 0 0 13px rgba(81, 217, 208, 0.6);
  transition: width 0.1s linear;
}

.nav-links a.current {
  color: #e5bd65;
}

.site-header .nav-links { gap: 0; align-items: center; }
.site-header .nav-links a { position: relative; display: inline-flex; align-items: center; padding: 8px 15px; color: #b9cbcd; font: 700 12px Manrope, sans-serif; white-space: nowrap; }
.site-header .nav-links a + a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 18px; transform: translateY(-50%); background: rgba(176, 215, 213, .15); }

.menu-toggle {
  display: none;
  border: 1px solid rgba(220, 178, 91, 0.28);
  background: rgba(6, 31, 39, 0.72);
  width: 39px;
  height: 39px;
  padding: 0;
  border-radius: 11px;
  cursor: pointer;
}

.menu-toggle i {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: #e8c66e;
  transition: transform 0.22s ease;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; margin-left: auto; margin-right: 11px; }
  .nav-links {
    display: grid !important;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(153, 212, 209, 0.16);
    border-radius: 16px;
    background: rgba(5, 27, 35, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-9px);
    transition: 0.2s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a, .site-header .nav-links a { padding: 13px 12px; border-radius: 10px; }
  .site-header .nav-links a + a::before { display: none; }
  .nav-links a:hover, .nav-links a.current { background: rgba(220, 178, 91, 0.1); }
  .menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(2.7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-2.7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .nav-cta { display: none; }
  .menu-toggle { margin-right: 0; }
}
