/* The Monday Register — homepage for the new-company list. See DESIGN-SPEC-newco.md */
.newco {
  --surface-container: #e8eef3;
  --surface-high: #dbe3ea;
  --faint: #8a95a3;
  --rule: #e1e6ec;
  --sheet-shadow: 0 1px 2px rgba(18, 24, 32, 0.06), 0 18px 40px -12px rgba(18, 24, 32, 0.18);
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
.nc-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-deep); margin: 0; }
.nc-h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1.2; margin: 0 0 1.25rem; }

/* Hero */
.nc-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 0; }
.nc-hero-copy { grid-column: 1 / 7; padding-bottom: 6rem; }
.nc-hero h1 {
  font-family: var(--font-display); font-weight: 650;
  font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.05; letter-spacing: -0.02em;
  margin: 0.75rem 0 1.25rem; max-width: 14ch;
}
.nc-lede { font-size: 1.0625rem; line-height: 1.55; color: var(--ink-soft); max-width: 52ch; margin: 0 0 2rem; }

/* Form */
.nc-form { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; max-width: 34rem; }
.nc-form input {
  font: inherit; font-size: 1rem; padding: 0.85rem 0.95rem; min-height: 48px;
  border: 1px solid #b9c3ce; border-radius: 2px; background: #fff; color: var(--ink);
}
.nc-form input:focus-visible, .nc-form .btn:focus-visible { outline: 3px solid rgba(31, 81, 105, 0.4); outline-offset: 2px; }
.nc-form .btn { border-radius: 2px; min-height: 48px; padding-inline: 1.2rem; font-weight: 600; transition: background 150ms ease-out, transform 120ms ease-out; }
.nc-form .btn:active { transform: scale(0.98); }
.nc-region-label { grid-column: 1 / -1; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-deep); }
.nc-region {
  grid-column: 1 / -1; font: inherit; font-size: 1rem; min-height: 48px; padding: 0.7rem 0.9rem;
  border: 1px solid #b9c3ce; border-radius: 2px; background: #fff; color: var(--ink); margin-bottom: 0.25rem;
}
.nc-region:focus-visible { outline: 3px solid rgba(31, 81, 105, 0.4); outline-offset: 2px; }
.nc-form.is-done .nc-region, .nc-form.is-done .nc-region-label { display: none; }
.nc-micro { grid-column: 1 / -1; margin: 0.35rem 0 0; font-size: 0.875rem; color: var(--muted); }
.nc-form.is-done input, .nc-form.is-done .btn { display: none; }
.nc-form.is-done .nc-micro { color: var(--steel-deep); font-weight: 500; font-size: 1rem; }

/* Ledger sheet (signature: overlaps hero and band) */
.nc-sheet {
  grid-column: 7 / 13; align-self: end; position: relative; z-index: 2;
  margin: 0 0 -3rem; background: #fff; border-radius: 2px; box-shadow: var(--sheet-shadow);
  padding: 1.5rem 1.5rem 1.1rem;
}
.nc-sheet-head { display: grid; gap: 0.15rem; padding-bottom: 1rem; border-bottom: 2px solid var(--signal); }
.nc-count {
  font-family: var(--font-display); font-weight: 650; color: var(--signal);
  font-size: clamp(3.4rem, 8vw, 6rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.nc-count-unit { color: var(--ink-soft); font-weight: 500; }
.nc-ledger { list-style: none; margin: 0; padding: 0; }
.nc-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.25rem 1rem; align-items: baseline;
  padding: 0.7rem 0; border-bottom: 1px solid var(--rule);
}
.nc-row-who, .nc-row-what { display: grid; min-width: 0; }
.nc-row-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nc-row-num, .nc-row-date { font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.nc-row-what { text-align: right; font-size: 0.875rem; }
.nc-row-sector { color: var(--ink-soft); }
.nc-row-town { color: var(--muted); }
.nc-ledger-empty { padding: 1rem 0; color: var(--muted); }
.nc-sheet-foot { margin: 0.9rem 0 0; font-size: 0.8rem; color: var(--muted); }

/* Breakdown band */
.nc-band { background: var(--surface-container); padding: 6rem 0 4rem; }
.nc-bars-col { grid-column: 1 / 6; }
.nc-bars-col--right { grid-column: 7 / 13; }
.nc-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.nc-bar { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; }
.nc-bar-count { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.nc-bar-track { grid-column: 1 / -1; height: 6px; background: var(--surface-high); }
.nc-bar-fill { display: block; height: 100%; width: var(--w); background: var(--steel-deep); }

/* Sections */
.nc-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.nc-prose { grid-column: 1 / 6; }
.nc-prose p { line-height: 1.55; max-width: 62ch; color: var(--ink-soft); }
.nc-not { border-left: 3px solid var(--signal); padding-left: 0.9rem; }
.nc-small { font-size: 0.9rem; color: var(--muted); }
.nc-columns { grid-column: 7 / 13; margin: 0; background: #fff; border-radius: 2px; box-shadow: var(--sheet-shadow); }
.nc-columns > div { display: grid; grid-template-columns: 11.5rem 1fr; gap: 1rem; padding: 0.7rem 1.1rem; border-bottom: 1px solid var(--rule); }
.nc-columns > div:last-child { border-bottom: 0; }
.nc-columns dt { font-family: var(--font-mono); font-size: 0.82rem; color: var(--steel-deep); }
.nc-columns dd { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.nc-who { background: var(--surface-container); }
.nc-who-title { grid-column: 1 / 4; }
.nc-who-list { grid-column: 4 / 13; margin: 0; display: grid; gap: 1.5rem; }
.nc-who-list > div { display: grid; grid-template-columns: 14rem 1fr; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #cdd6df; }
.nc-who-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.nc-who-list dt { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.nc-who-list dd { margin: 0; line-height: 1.55; color: var(--ink-soft); max-width: 58ch; }

/* Brand imagery */
.nc-doors { margin: 0; line-height: 0; background: var(--surface-container); }
.nc-doors img { display: block; width: 100%; height: clamp(160px, 24vw, 320px); object-fit: cover; object-position: center 40%; }

/* Closing band */
.nc-close { background: var(--ink); color: #f2f4f7; padding: clamp(3.5rem, 7vw, 5.5rem) 0; overflow: hidden; }
.nc-close-inner { position: relative; }
.nc-close-inner > :not(.nc-close-img) { max-width: min(40rem, 52%); position: relative; z-index: 1; }
.nc-close-img {
  position: absolute; right: -6rem; top: 50%; transform: translateY(-50%);
  width: min(46%, 560px); height: auto; border-radius: 2px; opacity: 0.85;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
@media (max-width: 900px) {
  .nc-close-img { position: static; transform: none; width: 100%; margin-bottom: 2rem; opacity: 1; }
  .nc-close-inner > :not(.nc-close-img) { max-width: none; }
}
.nc-close h2 { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.1; margin: 0 0 0.75rem; letter-spacing: -0.015em; }
.nc-close p { color: #b8c2cd; line-height: 1.55; }
.nc-form--dark .btn-primary { background: var(--signal); color: #fff; }
.nc-form--dark .btn-primary:hover { background: #a94c1d; }
.nc-form--dark .nc-micro { color: #b8c2cd; }
.nc-form--dark.is-done .nc-micro { color: #fff; }

/* Motion: ink settling */
.nc-in { animation: nc-settle 220ms ease-out both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes nc-settle { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .nc-in { animation: nc-fade 150ms linear both; animation-delay: 0ms; }
  @keyframes nc-fade { from { opacity: 0; } to { opacity: 1; } }
}

@media (max-width: 900px) {
  .nc-hero-copy, .nc-sheet, .nc-bars-col, .nc-bars-col--right, .nc-prose, .nc-columns, .nc-who-title, .nc-who-list { grid-column: 1 / -1; }
  .nc-hero-copy { padding-bottom: 2.5rem; }
  .nc-bars-col--right { margin-top: 2.5rem; }
  .nc-columns { margin-top: 1.5rem; }
}
@media (max-width: 560px) {
  .nc-form { grid-template-columns: 1fr; }
  .nc-sheet { padding: 1.1rem 1rem 0.9rem; }
  .nc-row { grid-template-columns: minmax(0, 1fr) auto; }
  .nc-row-date { grid-column: 2; grid-row: 1; }
  .nc-row-what { grid-column: 1 / -1; text-align: left; display: flex; gap: 0.5rem; }
  .nc-row-what .nc-row-town::before { content: "· "; }
  .nc-columns > div, .nc-who-list > div { grid-template-columns: 1fr; gap: 0.25rem; }
}
.nc-h2--spaced { margin-top: 2.5rem; }
/* Liquidations rows carry more detail: always use the two-line layout. */
[data-product="liquidations"] .nc-row { grid-template-columns: minmax(0, 1fr) auto; }
[data-product="liquidations"] .nc-row-date { grid-column: 2; grid-row: 1; }
[data-product="liquidations"] .nc-row-what { grid-column: 1 / -1; text-align: left; display: flex; flex-wrap: wrap; gap: 0.15rem 0.5rem; }
[data-product="liquidations"] .nc-row-what .nc-row-town::before { content: "· "; }

/* Pricing */
.nc-pricing { background: var(--surface-container); }
.nc-pricing-lede { color: var(--ink-soft); margin: -0.5rem 0 1.75rem; max-width: 62ch; }
.nc-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.nc-plan { background: #fff; border-radius: 2px; padding: 1.4rem 1.3rem; display: grid; gap: 0.6rem; align-content: start; box-shadow: 0 1px 2px rgba(18, 24, 32, 0.06); }
.nc-plan--best { box-shadow: var(--sheet-shadow); border-top: 3px solid var(--signal); }
.nc-plan-name { margin: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-deep); }
.nc-plan-price { margin: 0; font-family: var(--font-display); font-weight: 650; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.nc-plan-price span { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.nc-plan ul { margin: 0.25rem 0 0.5rem; padding-left: 1.1rem; color: var(--ink-soft); line-height: 1.5; }
.nc-plan .btn { justify-self: start; border-radius: 2px; min-height: 44px; }
.nc-checkout { margin-top: 1.5rem; max-width: 36rem; display: grid; gap: 0.6rem; background: #fff; padding: 1.2rem; border-radius: 2px; box-shadow: var(--sheet-shadow); }
.nc-checkout input[type=email] { font: inherit; padding: 0.8rem 0.9rem; min-height: 48px; border: 1px solid #b9c3ce; border-radius: 2px; }
.nc-checkout-what { margin: 0; font-weight: 600; }
.nc-waiver { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.45; }
.nc-waiver input { margin-top: 0.2rem; }
.nc-checkout .btn { border-radius: 2px; min-height: 48px; justify-self: start; }
@media (max-width: 900px) { .nc-plans { grid-template-columns: 1fr; } }
.nc-auction-strip { margin: 0.9rem 0 0; padding: 0.6rem 0.8rem; background: #fbf1eb; border-left: 3px solid var(--signal); font-size: 0.9rem; color: var(--ink-soft); }
.nc-row-auction { color: var(--signal); font-weight: 600; }
[data-product="liquidations"] .nc-row-what .nc-row-auction::before { content: "· "; }
