/* ============================================================
   newsletter.css — Page-specific styles for the Newsletter page
   Shared styles (tokens, base, components, nav, footer) are
   loaded from their respective shared files.
   ============================================================ */

/* ==================== HERO — SPLIT LAYOUT ==================== */
.nl-hero {
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}

.nl-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ==================== LEFT — PITCH ==================== */
.nl-label {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.nl-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 400;
  letter-spacing: -1.44px;
  line-height: 1.05;
  margin-top: 8px;
}

.nl-subtitle {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  margin-top: 24px;
  max-width: 480px;
}

.nl-what-you-get {
  margin-top: 50px;
}

.nl-what-you-get h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}

.nl-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nl-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.nl-item-number {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--navy-light);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  user-select: none;
}

.nl-item-text {
  padding-top: 4px;
}

.nl-item-text strong {
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.nl-item-text span {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.nl-proof {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--navy-light);
  display: flex;
  gap: 40px;
}

.nl-proof-value {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: -1px;
  line-height: 1;
}

.nl-proof-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ==================== RIGHT — FORM CARD ==================== */
.nl-form-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  max-width: 500px;
  margin-left: auto;
}

.nl-form-card h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 8px;
}

.nl-form-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.nl-form-group {
  margin-bottom: 20px;
}

.nl-form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.nl-form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: #fff;
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.nl-form-group input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239, 62, 35, 0.08);
}

.nl-form-group input::placeholder {
  color: var(--text-secondary);
}

.nl-form-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.nl-form-submit:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.nl-form-note {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 12px;
  text-align: center;
}

/* ==================== SUCCESS STATE ==================== */
.nl-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.nl-success.show {
  display: block;
}

.nl-success svg {
  width: 48px;
  height: 48px;
  color: var(--green);
  margin: 0 auto 20px;
}

.nl-success h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 12px;
}

.nl-success p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 320px;
  margin: 0 auto;
}

/* ==================== PAST ISSUES ==================== */
.past-section {
  padding: 0 0 100px;
}

.past-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.past-heading {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -1.44px;
}

.past-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.past-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-medium);
}

.past-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.past-card-issue {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.past-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.past-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.past-card-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.past-card-topic {
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ==================== FOOTER CTA BAND ==================== */
.footer-cta {
  background: #303030;
  padding: 50px 0;
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-cta-text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.64px;
  color: #ededed;
}

.footer-cta-text p {
  font-size: 15px;
  color: #e8e8e8;
  margin-top: 9px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .nl-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nl-form-card {
    max-width: 100%;
    margin-left: 0;
  }

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

  .footer-cta-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nl-title {
    font-size: 36px;
  }

  .nl-proof {
    flex-direction: column;
    gap: 20px;
  }
}
