@charset "UTF-8";

.newsletter-section {
  padding: 24px 48px 80px;
  position: relative;
}

.newsletter-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 36px 34px;
  border: 1px solid rgba(189, 0, 1, 0.14);
  border-radius: 4px;
  background:
    linear-gradient(
      135deg,
      rgba(70, 0, 0, 0.22),
      rgba(8, 8, 8, 0.98) 28%,
      rgba(12, 12, 12, 0.98)
    ),
    radial-gradient(circle at top right, rgba(189, 0, 1, 0.12), transparent 28%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.newsletter-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(189, 0, 1, 0.07),
    transparent 16%,
    transparent 84%,
    rgba(189, 0, 1, 0.05)
  );
}

.newsletter-copy,
.newsletter-inline,
.newsletter-note {
  position: relative;
  z-index: 1;
}

.newsletter-kicker,
.newsletter-modal-kicker {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #bd0001;
  margin-bottom: 14px;
}

.newsletter-title {
  max-width: none;
  margin: 0 0 18px;
  font-family: "Orbitron", monospace;
  font-size: 2.5vw;
  font-weight: 900;
  line-height: 1.06;
  color: #ffffff;
}

.newsletter-text,
.newsletter-modal-text {
  font-size: 17px;
  line-height: 1.8;
  color: #969696;
  max-width: 720px;
}

.newsletter-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.newsletter-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-field span {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b0b0b0;
}

.newsletter-field input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(150, 150, 150, 0.22);
  background: rgba(3, 3, 3, 0.82);
  color: #f5f5f5;
  font-family: "Rajdhani", sans-serif;
  font-size: 18px;
  border-radius: 2px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.newsletter-field input:focus {
  border-color: rgba(189, 0, 1, 0.64);
  box-shadow: 0 0 0 3px rgba(189, 0, 1, 0.14);
  background: #090909;
}

.newsletter-btn,
.newsletter-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 57px;
  padding: 0 24px;
  background: #bd0001;
  border: 1px solid #bd0001;
  color: #fff;
  font-family: "Orbitron", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: none;
  box-shadow:
    0 0 14px rgba(189, 0, 1, 0.42),
    0 0 28px rgba(189, 0, 1, 0.18);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.34);
  transition:
    transform 0.2s,
    box-shadow 0.25s,
    background 0.25s;
}

.newsletter-btn:hover,
.newsletter-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 20px rgba(189, 0, 1, 0.65),
    0 0 42px rgba(189, 0, 1, 0.28);
  background: #d10001;
}

.newsletter-btn-wide {
  width: 100%;
}

.newsletter-note {
  margin-top: 12px;
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: #969696;
}

.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.newsletter-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.newsletter-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 3, 0.78);
  backdrop-filter: blur(6px);
}

.newsletter-modal-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 560px);
  padding: 34px 30px 28px;
  border: 1px solid rgba(189, 0, 1, 0.18);
  border-radius: 4px;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 18, 0.98),
    rgba(6, 6, 6, 0.98)
  );
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 50px rgba(189, 0, 1, 0.08);
}

.newsletter-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(189, 0, 1, 0.24);
  background: rgba(189, 0, 1, 0.08);
  color: #f5f5f5;
  font-size: 26px;
  line-height: 1;
  border-radius: 2px;
  cursor: none;
}

.newsletter-modal-title {
  font-family: "Orbitron", monospace;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.12;
  margin-bottom: 14px;
}

.newsletter-modal-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.newsletter-status {
  min-height: 24px;
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: #969696;
}

.newsletter-status.is-error {
  color: #ff8f8f;
}

.newsletter-status.is-success {
  color: #fff;
}

@media (min-width: 769px) {
  .newsletter-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 18px 30px;
    align-items: end;
  }

  .newsletter-copy {
    grid-column: 1 / -1;
  }

  .newsletter-inline {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .newsletter-field {
    max-width: none;
  }

  .newsletter-btn {
    min-width: 320px;
  }
}

@media (max-width: 768px) {
  .newsletter-section {
    padding: 20px 20px 56px;
  }

  .newsletter-title {
    font-size: 23px;
  }

  .newsletter-shell {
    padding: 28px 20px;
  }

  .newsletter-inline {
    grid-template-columns: 1fr;
  }

  .newsletter-modal-panel {
    padding: 28px 20px 24px;
  }
}
