/* The working note: sign-up, confirm and unsubscribe pages (16 Nov 2026).
   Same look as /lets-talk: black, Inter, white outline buttons, the 2vw rail. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.nl {
  --nl-muted: #aaaaaa;
  --nl-soft: #dddddd;
  --nl-line: #777777;
  --nl-error: #ff8a8a;
  min-height: 70vh;
  padding: 160px var(--rail-pad, 2vw) 96px;
  color: #ffffff;
  font-family: "Inter", sans-serif;
}

.nl-inner {
  max-width: 640px;
}

/* Sign-up page: on phones the form comes right after the intro; from 1024px the form sits
   in its own column beside the intro, so it is on the first screen. */
.nl-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "signup" "list";
}

.nl-head { grid-area: head; }
.nl-signup { grid-area: signup; }
.nl-split .nl-list { grid-area: list; margin-top: 56px; margin-bottom: 0; }

@media (min-width: 1024px) {
  .nl-split {
    max-width: 1240px;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    grid-template-areas: "head signup" "list signup";
    column-gap: 6vw;
    align-items: start;
  }
  .nl-split .nl-list { margin-top: 0; }
  .nl-signup {
    position: sticky;
    top: 140px;
    padding-top: 44px;
  }
}

.nl-eyebrow {
  color: var(--nl-muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.nl h1 {
  font-weight: 400;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.nl-lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--nl-soft);
  max-width: 58ch;
  margin-bottom: 40px;
}

.nl-list {
  list-style: none;
  border-top: 1px solid #2a2a2a;
  margin-bottom: 48px;
}

.nl-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #2a2a2a;
  line-height: 1.55;
  color: var(--nl-soft);
}

.nl-list strong {
  color: #ffffff;
  font-weight: 500;
}

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

/* display:flex above beats the browser's own [hidden] rule; keep the form hidden after a sign-up. */
.nl-form[hidden] {
  display: none;
}

.nl-form label.nl-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
}

.nl-form input[type="email"] {
  background: transparent;
  border: 1px solid var(--nl-line);
  border-radius: 10px;
  padding: 14px 16px;
  color: #ffffff;
  font: inherit;
  font-size: 1rem;
  width: 100%;
}

.nl-form input[type="email"]::placeholder {
  color: var(--nl-muted);
}

.nl-form input[type="email"]:focus-visible,
.nl-box input:focus-visible,
.nl-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.nl-form input[aria-invalid="true"] {
  border-color: var(--nl-error);
}

.nl-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--nl-soft);
  cursor: pointer;
}

.nl-box input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  accent-color: #ffffff;
  cursor: pointer;
}

.nl-button {
  align-self: flex-start;
  min-height: 48px;
  background: transparent;
  color: #ffffff;
  padding: 0.9em 2.2em;
  border-radius: 40px;
  border: 2px solid #ffffff;
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.nl-button:hover {
  background: #ffffff;
  color: #000000;
}

.nl-button:active {
  transform: translateY(1px);
}

.nl-button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.nl-fine {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--nl-muted);
  max-width: 60ch;
}

.nl a {
  color: var(--nl-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nl-status {
  min-height: 1.6em;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--nl-soft);
}

.nl-status[data-tone="error"] {
  color: var(--nl-error);
}

.nl-status[data-tone="done"] {
  color: #ffffff;
  font-weight: 500;
}

.nl-done {
  border-left: 2px solid #ffffff;
  padding: 4px 0 4px 20px;
}

.nl-done h2 {
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.nl-done p {
  color: var(--nl-soft);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .nl {
    padding: 120px 4vw 72px;
  }
  .nl-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nl-button {
    transition: none;
  }
}
