.ncwt {
  --ncwt-navy: #071f3b;
  --ncwt-navy-2: #0c2a4d;
  --ncwt-gold: #e4ad36;
  --ncwt-gold-soft: #fbf2dc;
  --ncwt-ink: #11233d;
  --ncwt-muted: #66758a;
  --ncwt-border: #e6dfd3;
  --ncwt-canvas: #faf8f4;
  --ncwt-white: #fff;
  --ncwt-success: #0f6a52;
  --ncwt-info: #eef8f3;
  color: var(--ncwt-ink);
  font-family: inherit;
  max-width: 1320px;
  margin: 0 auto;
  padding: 34px 22px 70px;
  box-sizing: border-box;
}

.ncwt *, .ncwt *::before, .ncwt *::after { box-sizing: border-box; }
.ncwt h1, .ncwt h2, .ncwt h3, .ncwt p { margin-top: 0; }
.ncwt h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 18px; color: var(--ncwt-navy); }
.ncwt h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.15; margin-bottom: 8px; color: var(--ncwt-navy); }
.ncwt h3 { font-size: 1.08rem; margin-bottom: 10px; color: var(--ncwt-navy); }

.ncwt__hero { padding: 18px 0 30px; max-width: 920px; }
.ncwt__eyebrow { font-size: .76rem; letter-spacing: .13em; font-weight: 800; color: var(--ncwt-success); margin-bottom: 14px; }
.ncwt__lead { font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.65; color: var(--ncwt-muted); max-width: 860px; }
.ncwt__notice { border-radius: 14px; padding: 14px 16px; margin-top: 20px; line-height: 1.5; }
.ncwt__notice--info { background: var(--ncwt-info); border: 1px solid #cae4d7; color: #174f41; }

.ncwt__layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, .8fr); gap: 24px; align-items: start; }
.ncwt__form { display: grid; gap: 18px; }
.ncwt__card, .ncwt__result-card, .ncwt__content { background: var(--ncwt-white); border: 1px solid var(--ncwt-border); border-radius: 18px; box-shadow: 0 12px 38px rgba(14, 36, 60, .05); }
.ncwt__card { padding: 24px; position: relative; }
.ncwt__step { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ncwt-gold-soft); color: #9a6800; font-weight: 800; margin-bottom: 14px; }
.ncwt__card > div > p { color: var(--ncwt-muted); margin-bottom: 18px; line-height: 1.55; }
.ncwt__grid { display: grid; gap: 16px; }
.ncwt__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ncwt__field { display: grid; gap: 7px; min-width: 0; }
.ncwt__field > span:first-child { font-weight: 700; font-size: .93rem; }
.ncwt__field small { color: var(--ncwt-muted); line-height: 1.4; font-size: .78rem; }
.ncwt__field select, .ncwt__field input { width: 100%; min-height: 48px; border: 1px solid #dcd6cc; border-radius: 12px; padding: 0 13px; background: #fff; color: var(--ncwt-ink); font: inherit; outline: none; }
.ncwt__field select:focus, .ncwt__field input:focus { border-color: var(--ncwt-gold); box-shadow: 0 0 0 3px rgba(228, 173, 54, .16); }
.ncwt__field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
  padding-right: 46px !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23071f3b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 15px center !important;
  background-size: 18px 18px !important;
}
.ncwt__field select:invalid,
.ncwt__field select option[value=""] { color: var(--ncwt-muted); }

.ncwt__money-wrap { position: relative; display: block; }
.ncwt__money-wrap > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ncwt-muted); font-weight: 700; pointer-events: none; }
.ncwt__money-wrap input { padding-left: 30px; }
.ncwt__field.is-disabled { opacity: .48; }
.ncwt__check { display: flex; align-items: flex-start; gap: 10px; background: #f7f9fb; border-radius: 12px; padding: 13px; margin-top: 16px; font-size: .88rem; line-height: 1.45; color: var(--ncwt-muted); }
.ncwt__check input { margin-top: 3px; }

.ncwt__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ncwt__button { min-height: 50px; border: 0; border-radius: 12px; padding: 0 20px; font: inherit; font-weight: 800; cursor: pointer; background: linear-gradient(135deg, #f0be4c, #dda12c); color: #1c2d40; box-shadow: 0 8px 20px rgba(223, 163, 47, .18); }
.ncwt__button:hover { transform: translateY(-1px); }
.ncwt__button:focus-visible { outline: 3px solid rgba(228, 173, 54, .35); outline-offset: 3px; }
.ncwt__button--ghost { background: #fff; color: var(--ncwt-ink); border: 1px solid var(--ncwt-border); box-shadow: none; }

.ncwt__results { display: grid; gap: 14px; position: sticky; top: 28px; }
.ncwt__result-card { padding: 19px; }
.ncwt__result-card--primary { background: var(--ncwt-navy); color: #fff; border-color: var(--ncwt-navy); padding: 24px; }
.ncwt__result-card--primary strong { display: block; font-size: clamp(2.15rem, 5vw, 3.4rem); line-height: 1; margin: 10px 0 9px; color: #fff; }
.ncwt__result-card--primary > span:last-child { color: #c8d4e2; font-size: .83rem; line-height: 1.45; }
.ncwt__result-kicker { font-size: .72rem; letter-spacing: .12em; font-weight: 800; color: #f1c35a; }
.ncwt__result-row { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid #eee8df; font-size: .88rem; }
.ncwt__result-row:last-child { border-bottom: 0; }
.ncwt__result-row span { color: var(--ncwt-muted); }
.ncwt__result-row strong { text-align: right; color: var(--ncwt-ink); }
.ncwt__result-row--strong { padding-top: 14px; }
.ncwt__result-row--strong span, .ncwt__result-row--strong strong { color: var(--ncwt-navy); font-weight: 800; }
.ncwt__result-card--status { display: flex; gap: 12px; align-items: flex-start; }
.ncwt__result-card--status p, .ncwt__result-card--warning p { margin: 5px 0 0; color: var(--ncwt-muted); font-size: .82rem; line-height: 1.5; }
.ncwt__status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ncwt-gold); margin-top: 5px; flex: 0 0 auto; }
.ncwt__result-card--warning { background: #fffaf0; border-color: #ecdcb6; }

.ncwt__content { margin-top: 34px; padding: clamp(24px, 4vw, 44px); }
.ncwt__content > p { color: var(--ncwt-muted); line-height: 1.72; max-width: 1000px; }
.ncwt__content > h2 { margin-top: 32px; }
.ncwt__content > h2:first-child { margin-top: 0; }
.ncwt__content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 24px 0; }
.ncwt__content-grid > div { background: var(--ncwt-canvas); border: 1px solid var(--ncwt-border); border-radius: 14px; padding: 20px; }
.ncwt__content ul { margin: 0; padding-left: 20px; color: var(--ncwt-muted); line-height: 1.65; }
.ncwt__content li + li { margin-top: 7px; }
.ncwt__legal { margin-top: 28px; background: #f6f3ec; border-left: 4px solid var(--ncwt-gold); padding: 16px 18px; line-height: 1.55; color: #59677a; }

@media (max-width: 980px) {
  .ncwt { padding-top: 22px; }
  .ncwt__layout { grid-template-columns: 1fr; }
  .ncwt__results { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ncwt__result-card--primary { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .ncwt { padding-left: 14px; padding-right: 14px; }
  .ncwt__hero { padding-top: 6px; }
  .ncwt__grid--2, .ncwt__content-grid, .ncwt__results { grid-template-columns: 1fr; }
  .ncwt__card { padding: 19px; }
  .ncwt__result-card--primary { grid-column: auto; }
  .ncwt__actions { display: grid; grid-template-columns: 1fr; }
  .ncwt__button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ncwt *, .ncwt *::before, .ncwt *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* 0.1.1 — dedicated public-page shell. Scoped to this calculator only. */
body.ncwt-public-page {
  background: #faf8f4;
}

body.ncwt-public-page .ncwt-page-shell {
  width: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #fbfaf7 0%, #f8f5ef 100%);
}

body.ncwt-public-page .ncwt-page-shell__inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 34px 32px 84px;
}

body.ncwt-public-page .ncwt-page-shell__inner > .ncwt,
body.ncwt-public-page .ncwt-page-shell__inner > p > .ncwt {
  width: 100%;
}

body.ncwt-public-page .ncwt {
  max-width: 1200px;
  padding: 24px 0 56px;
}

body.ncwt-public-page .ncwt__hero {
  max-width: 980px;
  padding: 22px 0 38px;
}

body.ncwt-public-page .ncwt h1 {
  font-size: clamp(2.65rem, 4.7vw, 4.35rem);
  max-width: 980px;
}

body.ncwt-public-page .ncwt__lead {
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  max-width: 920px;
}

body.ncwt-public-page .ncwt__layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(350px, .72fr);
  gap: 28px;
}

body.ncwt-public-page .ncwt__form {
  gap: 20px;
}

body.ncwt-public-page .ncwt__card {
  padding: 28px;
}

body.ncwt-public-page .ncwt__field > span:first-child {
  font-size: .98rem;
}

body.ncwt-public-page .ncwt__field select,
body.ncwt-public-page .ncwt__field input {
  min-height: 54px;
  border-radius: 13px;
  font-size: 1rem;
}

body.ncwt-public-page .ncwt__field small {
  font-size: .81rem;
}

body.ncwt-public-page .ncwt__button {
  min-height: 54px;
  padding-inline: 23px;
}

body.ncwt-public-page .ncwt__results {
  gap: 16px;
  top: 24px;
}

body.ncwt-public-page .ncwt__result-card {
  padding: 22px;
}

body.ncwt-public-page .ncwt__result-card--primary {
  min-height: 172px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 18px 44px rgba(7, 31, 59, .16);
}

body.ncwt-public-page .ncwt__result-card--primary strong {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  margin: 12px 0 10px;
}

body.ncwt-public-page .ncwt__result-row {
  font-size: .92rem;
  padding: 11px 0;
}

body.ncwt-public-page .ncwt__content {
  margin-top: 40px;
  padding: clamp(30px, 4vw, 48px);
}

@media (max-width: 1100px) {
  body.ncwt-public-page .ncwt-page-shell__inner {
    padding-inline: 24px;
  }

  body.ncwt-public-page .ncwt__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, .75fr);
  }
}

@media (max-width: 980px) {
  body.ncwt-public-page .ncwt__layout {
    grid-template-columns: 1fr;
  }

  body.ncwt-public-page .ncwt__results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.ncwt-public-page .ncwt__result-card--primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body.ncwt-public-page .ncwt-page-shell__inner {
    padding: 18px 14px 56px;
  }

  body.ncwt-public-page .ncwt {
    padding-top: 10px;
  }

  body.ncwt-public-page .ncwt__hero {
    padding-bottom: 26px;
  }

  body.ncwt-public-page .ncwt__card {
    padding: 20px;
  }

  body.ncwt-public-page .ncwt__results {
    grid-template-columns: 1fr;
  }

  body.ncwt-public-page .ncwt__result-card--primary {
    grid-column: auto;
    min-height: 0;
  }
}


/* 0.2.2 — Typography Readability Polish. Public calculator only. */
body.ncwt-public-page .ncwt {
  font-size: 17px;
  line-height: 1.55;
}

body.ncwt-public-page .ncwt h2 {
  font-size: clamp(1.55rem, 2.35vw, 2rem);
}

body.ncwt-public-page .ncwt h3 {
  font-size: 1.2rem;
}

body.ncwt-public-page .ncwt__eyebrow {
  font-size: .84rem;
}

body.ncwt-public-page .ncwt__lead {
  font-size: clamp(1.12rem, 1.55vw, 1.32rem);
  line-height: 1.62;
}

body.ncwt-public-page .ncwt__notice {
  font-size: 1rem;
}

body.ncwt-public-page .ncwt__card > div > p {
  font-size: 1.06rem;
  line-height: 1.62;
}

body.ncwt-public-page .ncwt__field > span:first-child {
  font-size: 1.06rem;
}

body.ncwt-public-page .ncwt__field select,
body.ncwt-public-page .ncwt__field input {
  min-height: 58px;
  font-size: 1.08rem;
}

body.ncwt-public-page .ncwt__field small {
  font-size: .9rem;
  line-height: 1.5;
}

body.ncwt-public-page .ncwt__check {
  font-size: .98rem;
  line-height: 1.5;
}

body.ncwt-public-page .ncwt__button {
  font-size: 1.02rem;
}

body.ncwt-public-page .ncwt__result-kicker {
  font-size: .8rem;
}

body.ncwt-public-page .ncwt__result-card--primary > span:last-child {
  font-size: .94rem;
}

body.ncwt-public-page .ncwt__result-row {
  font-size: 1rem;
  line-height: 1.45;
}

body.ncwt-public-page .ncwt__result-card--status p,
body.ncwt-public-page .ncwt__result-card--warning p {
  font-size: .94rem;
}

body.ncwt-public-page .ncwt__content > p,
body.ncwt-public-page .ncwt__content ul {
  font-size: 1.04rem;
}

body.ncwt-public-page .ncwt__legal {
  font-size: .98rem;
}

@media (max-width: 720px) {
  body.ncwt-public-page .ncwt {
    font-size: 16.5px;
  }

  body.ncwt-public-page .ncwt__field select,
  body.ncwt-public-page .ncwt__field input {
    min-height: 56px;
    font-size: 1.05rem;
  }
}

/* 0.2.3 — Large Form Controls. Deliberately strong readability increase. */
body.ncwt-public-page .ncwt__field > span:first-child {
  font-size: 1.18rem;
  line-height: 1.35;
}

body.ncwt-public-page .ncwt__field select,
body.ncwt-public-page .ncwt__field input {
  min-height: 82px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

body.ncwt-public-page .ncwt__field select {
  padding-right: 64px !important;
  background-position: right 20px center !important;
  background-size: 24px 24px !important;
}

body.ncwt-public-page .ncwt__field select option {
  font-size: 1.35rem;
  color: var(--ncwt-ink);
}

body.ncwt-public-page .ncwt__money-wrap > span {
  left: 20px;
  font-size: 1.55rem;
}

body.ncwt-public-page .ncwt__money-wrap input {
  padding-left: 46px;
}

body.ncwt-public-page .ncwt__field small {
  margin-top: 3px;
  font-size: 1rem;
  line-height: 1.5;
}

/* Give the longer tax-status selection a little more room on desktop. */
body.ncwt-public-page .ncwt__form > .ncwt__card:first-child .ncwt__grid--2 {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
}

@media (max-width: 980px) {
  body.ncwt-public-page .ncwt__form > .ncwt__card:first-child .ncwt__grid--2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.ncwt-public-page .ncwt__field select,
  body.ncwt-public-page .ncwt__field input {
    min-height: 70px;
    font-size: 1.35rem;
  }

  body.ncwt-public-page .ncwt__field select {
    padding-right: 54px !important;
    background-position: right 16px center !important;
    background-size: 22px 22px !important;
  }

  body.ncwt-public-page .ncwt__money-wrap > span {
    font-size: 1.3rem;
  }
}


/* 0.2.4 — Whole-Page Readability. Keep 0.2.3 form controls; enlarge all other calculator-page text. */
body.ncwt-public-page .ncwt {
  font-size: 19px;
  line-height: 1.62;
}

body.ncwt-public-page .ncwt__eyebrow {
  font-size: .98rem;
  line-height: 1.35;
}

body.ncwt-public-page .ncwt__lead {
  font-size: clamp(1.28rem, 1.7vw, 1.48rem);
  line-height: 1.62;
}

body.ncwt-public-page .ncwt__notice {
  font-size: 1.15rem;
  line-height: 1.55;
  padding: 17px 19px;
}

body.ncwt-public-page .ncwt h2 {
  font-size: clamp(1.8rem, 2.55vw, 2.25rem);
}

body.ncwt-public-page .ncwt h3 {
  font-size: 1.42rem;
  line-height: 1.3;
}

body.ncwt-public-page .ncwt__step {
  width: 40px;
  height: 40px;
  font-size: 1.08rem;
}

body.ncwt-public-page .ncwt__card > div > p {
  font-size: 1.22rem;
  line-height: 1.62;
}

/* Form-control value sizes from 0.2.3 are intentionally preserved. */
body.ncwt-public-page .ncwt__field > span:first-child {
  font-size: 1.24rem;
}

body.ncwt-public-page .ncwt__field small {
  font-size: 1.08rem;
  line-height: 1.55;
}

body.ncwt-public-page .ncwt__check {
  font-size: 1.12rem;
  line-height: 1.55;
  padding: 16px;
}

body.ncwt-public-page .ncwt__button {
  font-size: 1.14rem;
  min-height: 58px;
}

body.ncwt-public-page .ncwt__result-kicker {
  font-size: .96rem;
  line-height: 1.35;
}

body.ncwt-public-page .ncwt__result-card--primary > span:last-child {
  font-size: 1.08rem;
  line-height: 1.55;
}

body.ncwt-public-page .ncwt__result-row {
  font-size: 1.17rem;
  line-height: 1.45;
  padding: 14px 0;
}

body.ncwt-public-page .ncwt__result-row--strong {
  font-size: 1.24rem;
}

body.ncwt-public-page .ncwt__result-card--status,
body.ncwt-public-page .ncwt__result-card--warning {
  font-size: 1.12rem;
}

body.ncwt-public-page .ncwt__result-card--status p,
body.ncwt-public-page .ncwt__result-card--warning p {
  font-size: 1.08rem;
  line-height: 1.55;
}

body.ncwt-public-page .ncwt__content > p,
body.ncwt-public-page .ncwt__content ul,
body.ncwt-public-page .ncwt__content ol {
  font-size: 1.16rem;
  line-height: 1.72;
}

body.ncwt-public-page .ncwt__content-grid > div {
  font-size: 1.12rem;
}

body.ncwt-public-page .ncwt__legal {
  font-size: 1.1rem;
  line-height: 1.62;
  padding: 19px 21px;
}

@media (max-width: 720px) {
  body.ncwt-public-page .ncwt {
    font-size: 17.5px;
  }

  body.ncwt-public-page .ncwt__lead {
    font-size: 1.18rem;
  }

  body.ncwt-public-page .ncwt__card > div > p {
    font-size: 1.1rem;
  }

  body.ncwt-public-page .ncwt__result-row {
    font-size: 1.06rem;
  }

  body.ncwt-public-page .ncwt__result-row--strong {
    font-size: 1.12rem;
  }

  body.ncwt-public-page .ncwt__content > p,
  body.ncwt-public-page .ncwt__content ul,
  body.ncwt-public-page .ncwt__content ol {
    font-size: 1.06rem;
  }
}

/* 0.2.5 — High-Visibility Page Typography. Strong override so public page text is unmistakably larger. */
body.ncwt-public-page .ncwt {
  font-size: 22px !important;
  line-height: 1.68 !important;
}

body.ncwt-public-page .ncwt__eyebrow {
  font-size: 1.12rem !important;
}

body.ncwt-public-page .ncwt__lead {
  font-size: clamp(1.45rem, 2vw, 1.7rem) !important;
  line-height: 1.58 !important;
}

body.ncwt-public-page .ncwt__notice {
  font-size: 1.35rem !important;
  line-height: 1.5 !important;
}

body.ncwt-public-page .ncwt h2 {
  font-size: clamp(2.05rem, 3vw, 2.6rem) !important;
}

body.ncwt-public-page .ncwt h3 {
  font-size: 1.65rem !important;
}

body.ncwt-public-page .ncwt__card > div > p,
body.ncwt-public-page .ncwt__content > p {
  font-size: 1.4rem !important;
  line-height: 1.68 !important;
}

body.ncwt-public-page .ncwt__check {
  font-size: 1.35rem !important;
  line-height: 1.55 !important;
}

body.ncwt-public-page .ncwt__field small {
  font-size: 1.24rem !important;
  line-height: 1.52 !important;
}

body.ncwt-public-page .ncwt__button {
  font-size: 1.32rem !important;
}

body.ncwt-public-page .ncwt__result-kicker {
  font-size: 1.12rem !important;
}

body.ncwt-public-page .ncwt__result-card--primary > span:last-child {
  font-size: 1.28rem !important;
  line-height: 1.55 !important;
}

body.ncwt-public-page .ncwt__result-row {
  font-size: 1.42rem !important;
  line-height: 1.45 !important;
  padding: 17px 0 !important;
}

body.ncwt-public-page .ncwt__result-row--strong {
  font-size: 1.5rem !important;
}

body.ncwt-public-page .ncwt__result-card--status,
body.ncwt-public-page .ncwt__result-card--warning,
body.ncwt-public-page .ncwt__result-card--status p,
body.ncwt-public-page .ncwt__result-card--warning p {
  font-size: 1.3rem !important;
  line-height: 1.55 !important;
}

body.ncwt-public-page .ncwt__content ul,
body.ncwt-public-page .ncwt__content ol,
body.ncwt-public-page .ncwt__content-grid > div {
  font-size: 1.35rem !important;
  line-height: 1.7 !important;
}

body.ncwt-public-page .ncwt__legal {
  font-size: 1.28rem !important;
  line-height: 1.62 !important;
}

@media (max-width: 720px) {
  body.ncwt-public-page .ncwt {
    font-size: 19px !important;
  }
  body.ncwt-public-page .ncwt__lead { font-size: 1.32rem !important; }
  body.ncwt-public-page .ncwt__card > div > p,
  body.ncwt-public-page .ncwt__content > p,
  body.ncwt-public-page .ncwt__content ul,
  body.ncwt-public-page .ncwt__content ol { font-size: 1.2rem !important; }
  body.ncwt-public-page .ncwt__result-row { font-size: 1.2rem !important; }
  body.ncwt-public-page .ncwt__result-row--strong { font-size: 1.28rem !important; }
  body.ncwt-public-page .ncwt__result-card--status,
  body.ncwt-public-page .ncwt__result-card--warning,
  body.ncwt-public-page .ncwt__result-card--status p,
  body.ncwt-public-page .ncwt__result-card--warning p { font-size: 1.16rem !important; }
}
