/* Nerd Protection page only. Uses the site's existing red, ink, and type palette. */
.np-page {
  --np-red: #c51f2d;
  --np-ink: #18191c;
  --np-muted: #5d6069;
  --np-line: #dfe1e6;
  color: var(--np-ink);
  background: #fff;
  padding: 0;
}
.np-page [hidden] {
  display: none !important;
}
.np-page .wrap {
  width: min(1180px, calc(100% - 64px));
}
.np-page p {
  line-height: 1.65;
  color: var(--np-muted);
  font-size: 1rem;
}
.np-page .np-eyebrow,
.np-page .np-label {
  display: block;
  color: var(--np-red);
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
  font-weight: 750;
}
.np-page .np-eyebrow {
  margin-bottom: 18px;
}
.np-intro {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 70px;
  padding-top: 66px;
  padding-bottom: 48px;
  align-items: center;
}
.np-intro h1 {
  font-size: clamp(2.7rem, 4.8vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  margin: 0 0 24px;
  font-weight: 800;
}
.np-intro h1 span {
  color: var(--np-red);
}
.np-page .np-lead {
  max-width: 620px;
  font-size: 1.125rem;
  margin-bottom: 22px;
}
.np-text-link {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 0;
}
.np-text-link:hover {
  color: var(--np-red);
}
.np-intro-note {
  border-left: 3px solid var(--np-red);
  padding: 4px 0 4px 28px;
}
.np-intro-note h2 {
  font-size: 1.65rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 12px 0;
}
.np-intro-note p {
  margin-bottom: 16px;
}
.np-page .np-intro-note .np-availability {
  font-size: 0.875rem;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--np-line);
}
.np-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.np-plan {
  border: 1px solid var(--np-line);
  border-radius: 20px;
  padding: 32px 34px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 42px #10132008;
  min-width: 0;
  background: white;
}
.np-plan-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  min-height: 46px;
}
.np-device-label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--np-muted);
}
.np-plan h2 {
  font-size: 2rem;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 5px 0 14px;
}
.np-page .np-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--np-ink);
}
.np-price strong {
  font-size: clamp(3rem, 4.5vw, 4.2rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
  font-weight: 780;
}
.np-price > span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--np-muted);
}
.np-page .np-plan-summary {
  margin: 0 0 25px;
  max-width: 430px;
  min-height: 3.3em;
}
.np-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.np-benefits li {
  position: relative;
  padding-left: 25px;
  min-width: 0;
}
.np-benefits li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--np-red);
  font-weight: 750;
}
.np-benefits strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.np-benefits span {
  display: block;
  font-size: 0.9375rem;
  color: var(--np-muted);
  line-height: 1.55;
  margin-top: 2px;
}
.np-page .np-remote-note {
  margin: 23px 0 0;
  font-size: 0.9375rem;
  border-top: 1px solid var(--np-line);
  padding-top: 18px;
}
.np-plan-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  padding: 8px 0 0;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--np-red);
}
.np-plan-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.np-plan-plus {
  background: #1b1c20;
  color: #fff;
  border-color: #1b1c20;
  border-top: 5px solid #df2635;
  padding-top: 28px;
}
.np-plan-plus .np-label {
  color: #ff7e88;
}
.np-plan-plus .np-device-label,
.np-page .np-plan-plus p,
.np-plan-plus .np-benefits span,
.np-plan-plus .np-price > span {
  color: #d0d1d7;
}
.np-page .np-plan-plus .np-price {
  color: #fff;
}
.np-plan-plus .np-benefits li:before,
.np-plan-plus .np-plan-link {
  color: #ff7e88;
}
.np-page .np-plan-footnote {
  font-size: 0.875rem;
  margin: 20px 0 0;
  line-height: 1.65;
  max-width: 960px;
}
.np-shared {
  background: #f4f5f7;
  margin-top: 65px;
  padding: 60px 0;
}
.np-section-heading {
  margin-bottom: 32px;
}
.np-section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 0;
}
.np-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.np-detail-grid article + article {
  border-left: 1px solid #d8dbe1;
  padding-left: 36px;
}
.np-number {
  display: block;
  font-size: 1rem;
  font-weight: 750;
  color: var(--np-red);
  margin-bottom: 18px;
}
.np-detail-grid h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.np-detail-grid p {
  margin-bottom: 15px;
}
.np-page .np-detail-grid .np-detail-note {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.np-compare {
  padding-top: 64px;
  padding-bottom: 10px;
}
.np-table-region {
  overflow-x: auto;
  border: 1px solid var(--np-line);
  border-radius: 14px;
}
.np-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9375rem;
  line-height: 1.55;
  table-layout: fixed;
}
.np-table th,
.np-table td {
  text-align: left;
  vertical-align: top;
  padding: 18px 22px;
  overflow-wrap: anywhere;
}
.np-table thead {
  background: #1b1c20;
  color: white;
}
.np-table thead th {
  font-size: 1rem;
  font-weight: 650;
}
.np-table thead th:first-child {
  width: 40%;
}
.np-table tbody th {
  font-weight: 600;
}
.np-table tbody td {
  color: #4f525c;
}
.np-table tbody tr + tr {
  border-top: 1px solid var(--np-line);
}
.np-table tbody tr:nth-child(even) {
  background: #f7f8fa;
}
.np-questions {
  padding-top: 60px;
  padding-bottom: 65px;
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 60px;
}
.np-faq details {
  border-top: 1px solid var(--np-line);
  padding: 19px 0;
}
.np-faq details:last-child {
  border-bottom: 1px solid var(--np-line);
}
.np-faq summary {
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  list-style-position: outside;
  margin-left: 18px;
  padding-left: 6px;
}
.np-faq summary::marker {
  color: var(--np-red);
}
.np-faq p {
  margin: 14px 0 0 24px;
}
.np-closing {
  background: #191a1e;
  color: white;
  padding: 45px 0;
}
.np-closing .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}
.np-closing h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.16;
  margin: 0;
}
.np-closing .np-eyebrow {
  color: #ff7e88;
}
.np-page .np-closing p {
  color: #d0d1d7;
  margin: 0;
}
.np-closing strong {
  color: #fff;
  font-weight: 600;
}
.np-page :is(a, summary, [tabindex]):focus-visible {
  outline: 3px solid #287fbe;
  outline-offset: 5px;
}
.np-page :is(#np-comparison, #np-details) {
  scroll-margin-top: 24px;
}
.np-purchase,
.np-primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--np-red);
  color: #fff;
  border: 1px solid var(--np-red);
  border-radius: 9px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  padding: 14px 20px;
  cursor: pointer;
  min-height: 50px;
}
.np-purchase {
  width: 100%;
  margin-top: auto;
  transform: translateY(0);
}
.np-benefits + .np-purchase,
.np-remote-note + .np-purchase {
  margin-top: 27px;
}
.np-plan-plus .np-purchase {
  background: #fff;
  border-color: #fff;
  color: #191a1e;
}
.np-purchase:hover,
.np-primary-button:hover {
  background: #a61824;
  border-color: #a61824;
}
.np-plan-plus .np-purchase:hover {
  background: #ffe9eb;
  border-color: #ffe9eb;
}
.np-page .np-button-note {
  font-size: 0.875rem;
  text-align: center;
  margin: 10px 0 15px;
}
.np-secondary-button {
  background: #fff;
  color: var(--np-ink);
  border: 1px solid #bfc3cc;
  border-radius: 9px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.5;
  min-height: 48px;
  padding: 12px 18px;
  cursor: pointer;
}
.np-secondary-button:hover {
  background: #f1f2f5;
}
.np-page button:focus-visible,
.np-page input:focus-visible,
.np-page select:focus-visible {
  outline: 3px solid #287fbe;
  outline-offset: 4px;
}
.np-registration {
  padding-top: 32px;
  padding-bottom: 70px;
}
.np-back-link,
.np-example-button {
  background: none;
  border: 0;
  padding: 7px 0;
  color: var(--np-red);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 650;
  cursor: pointer;
  text-align: left;
}
.np-back-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.np-back-link:hover,
.np-example-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.np-register-heading h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 14px;
}
.np-register-heading > p {
  font-size: 1.125rem;
  margin-bottom: 26px;
}
.np-preview-notice {
  border: 1px solid #e5cace;
  border-left: 4px solid var(--np-red);
  background: #fff5f6;
  padding: 16px 20px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #68313a;
  border-radius: 8px;
  margin-bottom: 28px;
}
.np-preview-notice strong {
  display: block;
  color: #5e222c;
}
.np-register-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}
.np-register-card {
  border: 1px solid var(--np-line);
  border-radius: 18px;
  background: white;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 12px 35px #11182706;
}
.np-progress {
  list-style: none;
  margin: 0;
  padding: 24px 28px;
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--np-line);
  background: #f7f8fa;
}
.np-progress li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--np-muted);
}
.np-progress li > span {
  display: grid;
  place-items: center;
  border: 1px solid #a2a6b0;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #41454e;
}
.np-progress li[aria-current] {
  color: var(--np-red);
  font-weight: 750;
}
.np-progress li[aria-current] > span {
  background: var(--np-red);
  border-color: var(--np-red);
  color: white;
}
.np-progress li.np-complete > span {
  background: #26282f;
  border-color: #26282f;
  color: white;
}
.np-form-step {
  border: 0;
  padding: 30px 32px 8px;
  margin: 0;
  min-width: 0;
}
.np-form-step h2,
.np-payment-preview h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}
.np-page .np-form-intro {
  margin-bottom: 25px;
}
.np-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  min-width: 0;
}
.np-field label {
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.5;
}
.np-field label span {
  font-weight: 450;
  color: var(--np-muted);
}
.np-field input,
.np-field select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 12px 14px;
  min-height: 48px;
  border: 1px solid #b4b8c2;
  border-radius: 8px;
  background: #fff;
  color: var(--np-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  box-sizing: border-box;
}
.np-field input::placeholder {
  color: #747782;
  opacity: 1;
}
.np-field [aria-invalid='true'] {
  border: 2px solid #bb1424;
  background: #fff9fa;
}
.np-field-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
}
.np-device-fields {
  border-top: 1px solid var(--np-line);
  padding-top: 22px;
  margin-top: 22px;
}
.np-device-fields h3 {
  font-size: 1.125rem;
  line-height: 1.4;
  margin-bottom: 17px;
}
.np-page .np-small-note {
  font-size: 0.875rem;
}
.np-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 32px;
  border-top: 1px solid var(--np-line);
  margin-top: 20px;
  flex-wrap: wrap;
}
.np-form-actions .np-primary-button {
  margin-left: auto;
}
.np-page .np-form-error {
  margin: 15px 32px;
  padding: 12px 15px;
  background: #fff0f1;
  border-left: 3px solid #bb1424;
  color: #92111f;
  font-size: 0.9375rem;
}
.np-order-summary {
  background: #f5f6f8;
  border: 1px solid var(--np-line);
  padding: 26px;
  border-radius: 16px;
}
.np-order-summary h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 14px 0 18px;
}
.np-order-summary .np-price strong {
  font-size: 3rem;
}
.np-page .np-order-summary .np-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  color: var(--np-ink);
}
.np-order-summary ul {
  padding-left: 20px;
  display: grid;
  gap: 11px;
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 24px 0;
}
.np-order-summary li::marker {
  color: var(--np-red);
}
.np-page .np-summary-note {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0;
  padding-top: 17px;
  border-top: 1px solid #d8dbe2;
}
.np-page .np-summary-note + .np-summary-note {
  border-top: 0;
  padding-top: 12px;
}
.np-review-group {
  border-bottom: 1px solid var(--np-line);
  padding: 0 0 18px;
  margin-bottom: 18px;
}
.np-review-heading {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
}
.np-review-heading h3 {
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: 0;
}
.np-review-group dl {
  margin: 12px 0 0;
  display: grid;
  gap: 9px;
}
.np-review-group dl > div {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 14px;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.np-review-group dt {
  color: var(--np-muted);
}
.np-review-group dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.np-terms-note {
  background: #f5f6f8;
  padding: 18px;
  border-radius: 8px;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.np-terms-note p {
  font-size: 0.9375rem;
  margin: 5px 0 0;
}
.np-payment-preview {
  padding: 34px 32px;
}
.np-payment-preview > p {
  overflow-wrap: anywhere;
}
.np-payment-plan {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  flex-wrap: wrap;
  border: 1px solid var(--np-line);
  background: #f6f7f9;
  padding: 22px;
  border-radius: 10px;
  margin: 25px 0;
  font-size: 1.125rem;
}
.np-payment-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
@media (max-width: 900px) {
  .np-register-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 20px;
  }
  .np-progress {
    gap: 15px;
    padding: 22px 20px;
  }
  .np-progress li {
    gap: 6px;
  }
  .np-form-step,
  .np-payment-preview {
    padding-left: 24px;
    padding-right: 24px;
  }
  .np-form-actions {
    padding: 20px 24px;
  }
}
@media (max-width: 700px) {
  .np-register-layout {
    grid-template-columns: 1fr;
  }
  .np-order-summary {
    order: -1;
    padding: 22px;
  }
  .np-order-summary ul {
    display: none;
  }
  .np-order-summary .np-label {
    margin-bottom: 6px;
  }
  .np-order-summary h2 {
    margin: 0 0 10px;
  }
  .np-page .np-order-summary .np-price {
    margin: 0 0 4px;
  }
  .np-order-summary #np-summary-devices {
    margin-bottom: 10px;
  }
  .np-page .np-order-summary .np-summary-note {
    font-size: 0.875rem;
    padding-top: 10px;
  }
  .np-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .np-progress {
    gap: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .np-progress li {
    font-size: 0.875rem;
    gap: 5px;
  }
  .np-progress li > span {
    width: 24px;
    height: 24px;
  }
  .np-form-actions .np-primary-button {
    flex: 1;
  }
  .np-preview-notice {
    padding: 14px;
  }
  .np-review-group dl > div {
    grid-template-columns: 90px minmax(0, 1fr);
  }
  .np-purchase {
    margin-top: 24px;
  }
}
@media (max-width: 380px) {
  .np-progress li {
    flex-direction: column;
    gap: 6px;
  }
  .np-form-step,
  .np-payment-preview {
    padding-left: 18px;
    padding-right: 18px;
  }
  .np-form-actions {
    padding: 18px;
  }
  .np-form-actions .np-primary-button {
    font-size: 0.9375rem;
  }
  .np-review-group dl > div {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 900px) {
  .np-intro {
    gap: 32px;
    grid-template-columns: 1.3fr 1fr;
  }
  .np-plan {
    padding-left: 25px;
    padding-right: 25px;
  }
  .np-detail-grid {
    gap: 24px;
  }
  .np-detail-grid article + article {
    padding-left: 24px;
  }
  .np-questions {
    gap: 30px;
    grid-template-columns: 1fr 1.5fr;
  }
}
@media (max-width: 700px) {
  .np-page .wrap {
    width: calc(100% - 36px);
  }
  .np-intro {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 38px;
    padding-bottom: 32px;
  }
  .np-intro h1 {
    font-size: clamp(2.6rem, 9vw, 3.7rem);
  }
  .np-intro-note {
    padding-left: 19px;
  }
  .np-intro-note h2 br {
    display: none;
  }
  .np-plans {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .np-plan-top {
    min-height: 0;
    margin-bottom: 12px;
  }
  .np-plan-summary {
    min-height: 0 !important;
  }
  .np-plan-link {
    margin-top: 25px;
    padding-top: 0;
  }
  .np-shared {
    margin-top: 40px;
    padding: 38px 0;
  }
  .np-detail-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .np-detail-grid article + article {
    border-left: 0;
    border-top: 1px solid #d8dbe1;
    padding-left: 0;
    padding-top: 26px;
  }
  .np-number {
    margin-bottom: 10px;
  }
  .np-compare {
    padding-top: 40px;
  }
  .np-table th,
  .np-table td {
    padding: 13px 10px;
    font-size: 0.875rem;
  }
  .np-table thead th {
    font-size: 0.9375rem;
  }
  .np-table thead th:first-child {
    width: 35%;
  }
  .np-questions {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .np-closing .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }
}
@media print {
  .np-page {
    display: block !important;
    background: white !important;
  }
  .np-plans {
    grid-template-columns: 1fr 1fr;
  }
  .np-plan {
    box-shadow: none;
    break-inside: avoid;
  }
  .np-plan-plus {
    background: #fff;
    color: #18191c;
    border: 2px solid #444;
  }
  .np-plan-plus :is(p, span, strong, a),
  .np-page .np-plan-plus .np-price {
    color: #18191c !important;
  }
  .np-shared {
    background: #f5f5f5;
  }
  .np-closing {
    background: #fff;
    color: #18191c;
    border-top: 1px solid #999;
  }
  .np-page .np-closing p,
  .np-closing strong {
    color: #18191c;
  }
  .np-faq details {
    break-inside: avoid;
  }
  .np-page .wrap {
    width: 100%;
  }
  .np-text-link,
  .np-plan-link {
    display: none;
  }
}
