:root { --site-header-height: 86px; }

.site-header.intro-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  margin: 0;
  border: 0;
  align-items: center;
  box-sizing: border-box;
  height: var(--site-header-height);
  max-width: none;
  padding: 0 max(32px, calc((100% - 1360px) / 2));
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(140px, 1fr);
  gap: 32px;
  color: #fff;
  background: #000;
}
.intro-header .navigation-capsule { display: contents; }
.intro-header .brand { display: inline-flex; align-items: center; justify-self: start; padding: 0; }
.intro-header .brand > span { display: none; }
.intro-header .brand img { width: 44px; height: 44px; }
.intro-header nav { display: flex; align-items: center; gap: 24px; }
.intro-header a { text-decoration: none; }
.intro-header * { box-sizing: border-box; }
.intro-header nav a, .intro-header nav button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #f4f3f0;
  font-size: 16px;
  font-weight: 400;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-family: var(--font-ui);
  cursor: pointer;
  white-space: nowrap;
}
.intro-header nav a:hover, .intro-header nav button:hover { color: #ffaaa3; }
.intro-header .wallet-btn {
  display: flex;
  align-items: center;
  min-height: 46px;
  gap: 9px;
  border-radius: 99px;
  font-family: var(--font-ui);
  font-weight: 500;
  cursor: pointer;
  justify-self: end;
  padding: 10px 0;
  background: transparent;
  color: #fff;
  border: 0;
  box-shadow: none;
  font-size: 13px;
}
.intro-header .wallet-btn > svg { display: none; }
.intro-header .wallet-address { color: #ccc; border-color: #ffffff30; }
.intro-header a:focus-visible, .intro-header button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

html:root { scroll-padding-top: calc(var(--site-header-height) + 20px); }
@media (max-width: 960px) {
  :root { --site-header-height: 120px; }
  .site-header.intro-header { padding: 0 20px 8px; gap: 0; grid-template-columns: auto 1fr; grid-template-rows: 64px 48px; }
  .intro-header .brand { grid-column: 1; grid-row: 1; }
  .intro-header .brand img { width: 37px; height: 37px; }
  .intro-header .wallet-btn { grid-column: 2; grid-row: 1; font-size: 12px; }
  .intro-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 24px; min-width: 0; }
  .intro-header nav a, .intro-header nav button { font-size: 14px; }
  .intro-header .wallet-address { display: none; }
}
@media (max-width: 600px) {
  .site-header.intro-header { padding-left: 15px; padding-right: 15px; }
  .intro-header nav { justify-content: space-between; gap: 8px; }
  .intro-header nav a, .intro-header nav button { font-size: 12px; }
}

.intro-header .header-actions { display:flex; align-items:center; justify-self:end; gap:18px; grid-column:3; grid-row:1; }
.intro-header .header-social { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:40px; height:44px; color:#f4f3f0; }
.intro-header .header-social:hover { color:#ffaaa3; }
.intro-header .header-social svg { display:block; }
@media(max-width:960px) { .intro-header .header-actions { grid-column:2; grid-row:1; gap:12px; } }
