/* Goals and numbers: the real first estimate, live, and how the goal drives the work. Prefixed .nm-. */
.nm-section { padding: 96px 0; background: #fbfaff; border-top: 1px solid rgba(23,24,28,.05); border-bottom: 1px solid rgba(23,24,28,.05); }
.nm-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.nm-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.nm-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: #6A4BFF; margin-bottom: 10px; }
.nm-title { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; color: #17181C; margin: 0 0 14px; }
.nm-dot { color: #6A4BFF; }
.nm-sub { font-size: 17px; line-height: 1.55; color: #666B7A; margin: 0; }
.nm-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; align-items: start; }

.nm-card { background: #fff; border-radius: 18px; padding: 22px 22px 18px;
  box-shadow: 0 0 0 1px rgba(23,24,28,.08), 0 2px 4px rgba(23,24,28,.04), 0 24px 48px -24px rgba(106, 75, 255,.35); }
.nm-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.nm-kicker { margin: 0 0 2px; font-size: 12.5px; color: #666B7A; }
.nm-card-title { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 30px; letter-spacing: -.01em; color: #17181C; }
.nm-scen { display: inline-flex; padding: 3px; border-radius: 999px; background: #f2f1f8; }
.nm-scen button { appearance: none; border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: #666B7A; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.nm-scen button[aria-checked="true"] { background: #fff; color: #17181C; box-shadow: 0 1px 3px rgba(23,24,28,.15); }
.nm-scen button:focus-visible { outline: 2px solid #6A4BFF; outline-offset: 2px; }

.nm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.nm-tiles div { background: #f7f6fb; border-radius: 12px; padding: 11px 12px; }
.nm-tiles strong { display: block; font-size: 22px; letter-spacing: -.02em; color: #17181C; font-variant-numeric: tabular-nums; transition: color .3s; }
.nm-tiles span { font-size: 12.5px; color: #666B7A; line-height: 1.35; }

.nm-chart { position: relative; height: 250px; padding: 6px 0 26px 52px; }
.nm-chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.nm-gridlines line { stroke: rgba(23,24,28,.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.nm-area { fill: rgba(16, 150, 100, .10); transition: d .5s ease; }
.nm-cum { fill: none; stroke: #129065; stroke-width: 3; vector-effect: non-scaling-stroke; transition: d .5s ease; }
.nm-mon { fill: none; stroke: #6A4BFF; stroke-width: 2.5; vector-effect: non-scaling-stroke; transition: d .5s ease; }
.nm-axis-y { position: absolute; left: 0; top: 6px; bottom: 26px; width: 48px; display: flex; flex-direction: column; justify-content: space-between; text-align: right; font-size: 11.5px; color: #8a8f99; font-variant-numeric: tabular-nums; }
.nm-axis-x { position: absolute; left: 52px; right: 0; bottom: 4px; display: flex; justify-content: space-between; font-size: 11.5px; color: #8a8f99; }
.nm-legend { position: absolute; right: 4px; top: -4px; display: flex; gap: 14px; font-size: 12.5px; font-weight: 600; }
.nm-legend .c { color: #129065; } .nm-legend .m { color: #6A4BFF; }

.nm-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-top: 10px; }
.nm-in { display: block; font-size: 14px; line-height: 1.5; color: #3d4150; }
.nm-in output { display: inline-block; min-width: 2.2em; text-align: center; font-weight: 700; color: #17181C; background: #f2f1f8; border-radius: 6px; padding: 0 6px; font-variant-numeric: tabular-nums; }
.nm-in input[type=range] { display: block; width: 100%; margin-top: 6px; accent-color: #6A4BFF; }
.nm-fine { margin: 14px 0 0; font-size: 12.5px; color: #8a8f99; line-height: 1.5; }

.nm-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.nm-steps > li { display: flex; gap: 14px; background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 0 0 1px rgba(23,24,28,.07), 0 10px 26px -18px rgba(23,24,28,.3); }
.nm-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: #17181C; color: #fff; }
.nm-steps h3 { margin: 3px 0 6px; font-size: 17px; letter-spacing: -.01em; color: #17181C; }
.nm-steps p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #4b5060; }
.nm-goal { background: #f7f6fb; border-radius: 12px; padding: 12px; margin-top: 4px; }
.nm-goal-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.nm-goal-top span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6A4BFF; }
.nm-goal-top strong { font-size: 18px; }
.nm-math { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; margin-bottom: 10px; }
.nm-math span { background: #fff; border-radius: 8px; padding: 4px 8px; box-shadow: 0 0 0 1px rgba(23,24,28,.08); font-weight: 600; }
.nm-math i { font-style: normal; color: #8a8f99; }
.nm-plan { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nm-plan li { font-size: 13.5px; line-height: 1.4; color: #3d4150; }
.nm-plan b { display: block; font-size: 12px; color: #17181C; }

@media (max-width: 980px) { .nm-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .nm-section { padding: 64px 0; }
  .nm-tiles { grid-template-columns: 1fr 1fr; }
  .nm-inputs { grid-template-columns: 1fr; }
  .nm-chart { height: 210px; }
}

.nm-miles { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
.nm-miles span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #f2f1f8; color: #666B7A; }
.nm-miles span.is-done { background: #e8f7f0; color: #0f7a55; }
.nm-miles span.is-done::before { content: "\2713"; font-weight: 800; }
.nm-miles span.is-next { background: #17181C; color: #fff; }
.nm-miles span.is-next i { display: inline-block; width: 46px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.nm-miles span.is-next b { display: block; height: 100%; width: 60%; background: #9fe0c1; }
.nm-note { margin-top: 4px !important; font-size: 13px !important; color: #666B7A !important; }

/* The controls say they move (founder, 2026-10-06): a hint above the sliders, and while the
   section shows itself off, the slider that is moving and the scenario switch are outlined. */
.nm-try { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px; font-size: 14px; font-weight: 600; line-height: 1.4; color: #5A3FE0; }
.nm-try svg { width: 18px; height: 18px; flex: none; }
.nm-demo .nm-try svg { animation: nm-nudge .9s ease-in-out infinite; }
@keyframes nm-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.nm-in { border-radius: 10px; padding: 6px 8px; margin: -6px -8px; transition: background-color .3s ease, box-shadow .3s ease; }
.nm-in output { transition: background-color .3s ease, color .3s ease; }
.nm-in.is-demo { background: #F4F3F8; box-shadow: 0 0 0 1.5px rgba(106, 75, 255, .4); }
.nm-in.is-demo output { background: #6A4BFF; color: #fff; }
.nm-scen { transition: box-shadow .3s ease; }
.nm-scen.is-demo { box-shadow: 0 0 0 1.5px rgba(106, 75, 255, .4), 0 0 0 5px rgba(106, 75, 255, .12); }
@media (prefers-reduced-motion: reduce) { .nm-demo .nm-try svg { animation: none; } }
