.updates-main {
  position: relative;
}

.updates-container {
  width: min(100% - 3rem, 76ch);
  margin-inline: auto;
}

.updates-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  line-height: 1.15;
  text-wrap: balance;
}

.updates-hero .lead {
  max-width: 64ch;
}

.updates-copy {
  color: var(--muted);
  line-height: 1.85;
  max-width: 66ch;
}

.updates-list li {
  border-top: 1px solid var(--line);
  padding-top: var(--space-2);
  color: var(--muted);
}

.updates-form {
  display: grid;
  gap: var(--space-4);
}

.form-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span {
  color: #d8dee5;
  font-size: 0.92rem;
}

.updates-interest-field {
  position: relative;
}

.interest-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.interest-trigger {
  position: relative;
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  padding: 0.62rem 2.15rem 0.62rem 0.78rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.interest-trigger::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1px solid #8394a5;
  border-bottom: 1px solid #8394a5;
  transform: translateY(-62%) rotate(45deg);
}

.interest-trigger:hover {
  border-color: #3c4857;
}

.interest-trigger:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
  border-color: var(--accent-cyan);
}

.interest-trigger:disabled {
  color: #8d97a3;
  border-color: #2a313b;
  background: rgba(255, 255, 255, 0.03);
  cursor: not-allowed;
}
.updates-interest-field.is-open .interest-trigger::after {
  transform: translateY(-36%) rotate(-135deg);
}

.interest-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border: 1px solid #33414f;
  border-radius: var(--radius);
  background: #11171f;
  max-height: 16rem;
  overflow-y: auto;
}

.interest-list li {
  margin: 0;
  padding: 0.58rem 0.65rem;
  border-radius: 2px;
  color: #d6dde5;
  cursor: pointer;
}

.interest-list li:hover,
.interest-list li.is-active {
  background: rgba(120, 184, 207, 0.16);
  color: #edf3f8;
}

.interest-list li[aria-selected="true"] {
  box-shadow: inset 0 0 0 1px rgba(120, 184, 207, 0.48);
}

.consent-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.7rem;
}

.consent-row input {
  margin-top: 0.2rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.updates-actions {
  margin-top: 0;
}

.updates-closing {
  border-top: 1px solid var(--line);
  margin-top: var(--space-7);
}

@media (max-width: 900px) {
  .updates-container {
    width: min(100% - 2rem, 76ch);
  }

  .updates-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .updates-container {
    width: min(100% - 1.25rem, 76ch);
  }

  .updates-copy,
  .updates-hero .lead,
  .updates-list li,
  .field span,
  .consent-row span {
    overflow-wrap: anywhere;
  }

  .updates-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .updates-actions .button {
    width: 100%;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
  }

  .interest-list {
    max-height: 42vh;
  }
}
