[data-site-header] { min-height: 92px; }
html { scrollbar-gutter: stable; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  width: 100%;
  height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(16px, 2.4vw, 40px);
  border-bottom: 1px solid var(--line, rgba(238, 239, 233, .15));
  background: rgba(12, 13, 11, .88);
  backdrop-filter: blur(16px);
}

.site-header a { color: inherit; text-decoration: none; }
.site-header button { font: inherit; }
.site-header__brand {
  width: fit-content;
  font-size: 27px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.095em;
}
.site-header__brand-dot { color: var(--acid, #c9fb50); font-size: .76em; vertical-align: 8%; padding-left: 1px; }
.site-header__menus { grid-column: 2; display: flex; align-items: center; gap: clamp(18px, 2.6vw, 42px); }
.site-header__nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); font-size: 13px; color: #c2c3bc; }
.site-header__nav--secondary { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line, rgba(238, 239, 233, .15)); gap: clamp(14px, 1.8vw, 28px); }
.site-header__nav a, .site-header__nav button, .site-header__cta { transition: color .2s ease, border-color .2s ease; }
.site-header__nav a:hover, .site-header__nav a[aria-current], .site-header__nav button:hover, .site-header__cta:hover { color: var(--acid, #c9fb50); }
.site-header__cta {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.site-header a:focus-visible { outline: 2px solid var(--acid, #c9fb50); outline-offset: 5px; }
.site-header button:focus-visible { outline: 2px solid var(--acid, #c9fb50); outline-offset: 5px; }

.idea-dialog {
  width: min(600px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line, rgba(238, 239, 233, .15));
  color: var(--paper, #eeefe9);
  background: var(--bg, #0c0d0b);
  box-shadow: 0 24px 100px rgba(0, 0, 0, .55);
}
.idea-dialog::backdrop { background: rgba(0, 0, 0, .78); backdrop-filter: blur(5px); }
.idea-dialog [hidden] { display: none !important; }
.idea-modal { padding: clamp(22px, 5vw, 36px); }
.idea-modal__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.idea-modal__head h2 { margin: 0; font-size: clamp(28px, 6vw, 42px); line-height: 1; letter-spacing: -.07em; }
.idea-modal__close { width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid var(--line, rgba(238, 239, 233, .15)); color: inherit; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; }
.idea-modal__close:hover, .idea-modal__close:focus-visible { border-color: var(--acid, #c9fb50); outline: none; }
.idea-modal__copy { margin: 15px 0 24px; color: var(--muted, #92948b); font-size: 14px; line-height: 1.65; }
.idea-form { display: grid; gap: 16px; }
.idea-field { display: grid; gap: 8px; }
.idea-field > span { color: var(--muted, #92948b); font: 10px var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; }
.idea-field input, .idea-field textarea { width: 100%; min-width: 0; border: 1px solid var(--line, rgba(238, 239, 233, .15)); border-radius: 0; padding: 12px 13px; color: var(--paper, #eeefe9); background: var(--panel, #151713); font: 15px var(--sans, sans-serif); }
.idea-field textarea { min-height: 145px; resize: vertical; line-height: 1.55; }
.idea-field input::placeholder, .idea-field textarea::placeholder { color: #707269; }
.idea-field input:focus, .idea-field textarea:focus { outline: 1px solid var(--acid, #c9fb50); border-color: var(--acid, #c9fb50); }
.idea-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.idea-submit { min-height: 48px; width: fit-content; border: 1px solid var(--acid, #c9fb50); padding: 0 18px; color: var(--bg, #0c0d0b); background: var(--acid, #c9fb50); font-weight: 800; cursor: pointer; }
.idea-submit:disabled { opacity: .65; cursor: wait; }
.idea-submit:focus-visible { outline: 2px solid var(--paper, #eeefe9); outline-offset: 4px; }
.idea-form__status { margin: 0; color: #ffb5a0; font-size: 13px; line-height: 1.5; }
.idea-success { margin: 28px 0 4px; color: var(--acid, #c9fb50); font-size: 16px; line-height: 1.6; }

@media (max-width: 900px) {
  .site-header { column-gap: 16px; }
  .site-header__menus { gap: 20px; }
  .site-header__nav { gap: 16px; }
  .site-header__nav--secondary { padding-left: 18px; gap: 14px; }
}

@media (max-width: 640px) {
  [data-site-header] { min-height: 140px; }
  .site-header {
    height: auto;
    min-height: 110px;
    padding: 14px 0;
    grid-template-columns: 1fr auto;
    grid-template-rows: 30px 18px 18px;
    row-gap: 8px;
    column-gap: 0;
  }
  .site-header__menus { display: contents; }
  .site-header__brand { grid-column: 1; grid-row: 1; font-size: 25px; }
  .site-header__nav { justify-content: flex-start; gap: 24px; font-size: 11px; }
  .site-header__nav--primary { grid-column: 1 / -1; grid-row: 2; }
  .site-header__nav--secondary { grid-column: 1 / -1; grid-row: 3; padding: 0; border: 0; }
  .idea-modal { padding: 22px 18px; }
  .idea-modal__copy { font-size: 13px; }
}

@media (max-width: 370px) {
  .site-header__nav { gap: 18px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *, .site-header *::before, .site-header *::after { transition-duration: .01ms !important; }
}
