/* Match the organizer form's charcoal, orange, and Oxanium styling. */
#hacker-interest {
  position: fixed;
  inset: 0;
  width: min(920px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--text-gainsboro);
  background: #1c1c1c;
  border: 1px solid var(--border-orange-alpha-30);
  border-top: 2px solid var(--text-orange);
  border-radius: var(--radius-5);
  box-shadow: 0 24px 80px #0006;
}
#hacker-interest::backdrop { background: #000b; }
html:has(#hacker-interest[open]) { overflow: hidden; }
#hacker-interest [hidden] { display: none; }
.hacker-interest-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 28px 36px;
  padding: 44px 36px 36px;
}
.hacker-interest-close {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #aaa;
  font-size: 30px;
  line-height: 1;
  border-radius: 3px;
}
.hacker-interest-close:hover { color: var(--text-white); }
#hacker-interest-title {
  margin-bottom: 14px;
  color: var(--text-white);
  font-size: clamp(2.8rem, 3vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  outline: none;
}
#hacker-interest-title span { display: inline; color: var(--text-orange); }
#hacker-interest-description { font-size: 1.7rem; line-height: 1.65; }
#hacker-interest-form {
  grid-column: 2;
  grid-row: 1 / 3;
  min-width: 0;
  padding-left: 32px;
  border-left: 1px solid #363636;
  align-content: center;
}
#hacker-interest-form h3 {
  margin-bottom: 24px;
  color: var(--text-white);
  font-size: 1.9rem;
  font-weight: 600;
}
.hacker-interest-field { margin-bottom: 18px; }
.hacker-interest-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-white);
  font-size: 1.6rem;
  font-weight: 600;
}
.hacker-interest-field label span { display: inline; color: var(--text-orange); }
#hacker-interest-form input:not([type='hidden']) {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #555;
  border-radius: 3px;
  background: #171717;
  color: var(--text-white);
  font: inherit;
  font-size: 1.6rem;
}
#hacker-interest :is(input, button, a, #hacker-interest-status):focus-visible {
  outline: 2px solid var(--text-orange);
  outline-offset: 3px;
}
#hacker-interest-form .btn {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 48px;
  height: auto;
  padding: 12px 14px;
  border-radius: 3px;
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
  clip-path: none;
}
#hacker-interest-form .btn:disabled { opacity: 0.65; cursor: wait; }
.hacker-interest-film { align-self: end; }
.hacker-interest-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #363636;
  border-radius: 3px;
  background: #171717;
}
#hacker-interest-status:empty { display: none; }
#hacker-interest-status { margin-top: 16px; font-size: 1.6rem; line-height: 1.6; }
#hacker-interest-status[data-kind='error'] { color: #ffc08a; }
#hacker-interest-fallback { margin-top: 8px; color: var(--text-orange); font-size: 1.6rem; text-decoration: underline; }
.hacker-interest-check { margin-bottom: 16px; color: var(--text-orange); font-size: 3.2rem; }
#hacker-interest-sent h3 { margin-bottom: 10px; }
#hacker-interest-sent p { margin-bottom: 24px; font-size: 1.6rem; }
@media (max-width: 680px) {
  .hacker-interest-content { display: flex; flex-direction: column; gap: 28px; padding: 36px 24px 24px; }
  #hacker-interest-title { font-size: 2.8rem; }
  #hacker-interest-form { padding: 24px 0 0; border-left: 0; border-top: 1px solid #363636; }
  #hacker-interest-form h3 { margin-bottom: 20px; }
  .hacker-interest-film { width: 100%; }
}
