/* Nene launch page — sections 1b to 5: the problem, the rules engine, the
   connector, how it works, and the alternatives with the comparison table. */

/* --- 1b · The problem, in one number --- */

.ns-band {
  height: 40px;
  background: var(--surface-sunken);
}

.ns-tk-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-body);
}

/* --- 2 · The rules engine --- */

.ns-rule-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.ns-rule-card__statement {
  max-width: 34ch;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.6vw, 1.4375rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-strong);
}

/* --- 3 · Nene in Claude --- */

.ns-connector__wash {
  background: linear-gradient(160deg, #0b1a26 0%, #12293a 60%, #1b3b52 140%);
}

.ns-kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 26px;
  padding: 26px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ns-kv dt {
  color: var(--gold-400);
}

.ns-kv dd {
  margin: 0;
  color: var(--sand-50);
}

.ns-page .ns-connector-code {
  color: var(--gold-300);
}

/* --- 4 · How it works --- */

.ns-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.ns-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 26px;
}

/* --- 5 · The two ways you do this now --- */

.ns-quote {
  padding: 20px 24px;
  border-left: 2px solid var(--line-gold);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  background: var(--sand-100);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-strong);
}

.ns-figure-line {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.4vw, 2.125rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-strong);
}

.ns-third {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
}

.ns-third p {
  max-width: 60ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.1vw, 1.875rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--sand-50);
  text-wrap: pretty;
}

/* Comparison table. Nene's column is tinted; the one row Nene loses stays in. */

.ns-compare {
  border-radius: var(--radius-l);
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  background: var(--surface-card);
  box-shadow: var(--shadow-1);
}

.ns-compare table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.ns-compare colgroup col:first-child {
  width: 30%;
}

.ns-compare th,
.ns-compare td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  vertical-align: top;
}

.ns-compare thead th {
  background: var(--sand-100);
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.ns-compare tbody th {
  color: var(--text-body);
}

.ns-compare tbody tr:last-child th,
.ns-compare tbody tr:last-child td {
  border-bottom: 0;
}

.ns-compare__nene {
  background: rgba(245, 238, 224, 0.42);
  color: var(--text-strong);
}

.ns-compare thead .ns-compare__nene {
  background: var(--surface-accent);
  border-bottom-color: var(--line-gold);
  color: var(--gold-700);
}

.ns-compare__win {
  color: var(--text-strong);
  font-weight: var(--weight-medium);
}

.ns-compare__muted {
  color: var(--text-muted);
  font-weight: 400;
}

.ns-compare__tk {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--amber-600);
}

.ns-household-list li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
}

.ns-household-list li:last-child {
  border-bottom: 0;
}


@media (min-width: 900px) {
  .ns-band {
    height: 140px;
  }

  .ns-tk-card {
    font-size: 17px;
  }

  .ns-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }

  .ns-third {
    gap: 40px;
    align-items: center;
    padding: 40px;
  }

  .ns-compare th,
  .ns-compare td {
    padding: 20px 24px;
    font-size: 15px;
  }
}
