@font-face {
  font-family: "Py Caveat";
  src: url("fonts/caveat.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
#nr-page#nr-page .nr-hero .nr-product--logo .nr-product-logo { width: 145px !important; }
#nr-page#nr-page .nr-hero .nr-product.nr-product--logo {
  flex-direction: row !important; align-items: center !important;
  flex-wrap: wrap; gap: 10px 20px; max-width: none; margin-bottom: 20px !important;
}
#nr-page#nr-page .nr-hero .nr-product--logo .nr-product-stamp { margin: 0 !important; }
#nr-page#nr-page .nr-topbar .nr-menu a { font: 600 13px/1.3 "Hanken Grotesk", sans-serif !important; letter-spacing: 0 !important; text-transform: none; }
#nr-page#nr-page .nr-brand img { width: 110px !important; }
#nr-page#nr-page .nr-hero__grid { grid-template-areas: "copy media" "cta media"; }
#nr-page#nr-page .nr-hero__cta { grid-column: 1; justify-content: flex-start; }
#nr-page#nr-page .nr-hero h1 { font-size: clamp(44px, 4.6vw, 72px) !important; font-weight: 420 !important; line-height: 1.03 !important; letter-spacing: -.05em; }
#nr-page .nr-hero h1 strong { font-weight: 800; }
#nr-page .nr-hero h1 em { font: 700 1.13em/.95 "Py Caveat", cursive; letter-spacing: -.045em; color: #236996; white-space: nowrap; }
#nr-page .nr-hero__copy .nr-hero__lead { max-width: 49ch; font-size: 18px !important; line-height: 1.5 !important; }
#nr-page .py-films { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-top: 28px; }
#nr-page .py-films .nr-student-video { min-width: 0; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
#nr-page .py-films .nr-student-video__player { aspect-ratio: 4 / 5; width: 100%; height: auto; overflow: hidden; border-radius: 12px; background: #202125; }
#nr-page .py-films .lite-video, #nr-page .py-films .lite-video img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
#nr-page .py-films .lite-video::after, #nr-page .py-films .lite-video__play { display: none; }
#nr-page .py-films h3 { margin: 10px 0 0; font-size: 18px; }
#nr-page .nr-about__top .nr-about__mark { display: block; width: clamp(90px,14vw,170px); height: auto; transform: none; }
#nr-page#nr-page .nr-enrollment__body { display: grid !important; grid-template-columns: 1fr minmax(0,.9fr); }
#nr-page#nr-page .nr-enrollment .nr-checks { grid-template-columns: 1fr; }
#nr-page#nr-page .nr-enrollment__purchase { display: block !important; padding: 10px 24px 24px !important; }
#nr-page .nr-enrollment__purchase .nr-price-box { height: 100%; }
#nr-page .nr-enrollment__heading { align-items: center; }
@media (prefers-reduced-motion: no-preference) {
  #nr-page .nr-hero h1 em { display: inline-block; animation: py-ink .5s ease-out both; }

  @keyframes py-ink { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 991px) {
  #nr-page#nr-page .nr-hero__grid { grid-template-areas: "copy" "cta" "media"; grid-template-columns: minmax(0,1fr) !important; }
}
@media (max-width: 740px) {
  #nr-page .py-films { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  #nr-page#nr-page .nr-enrollment__body { grid-template-columns: 1fr; }
  #nr-page .nr-hero h1 em { white-space: normal; }
}
#nr-page .nr-menu-toggle .py-menu-icon { width: 18px; height: 12px; border-block: 2px solid currentColor; position: relative; }
#nr-page .py-menu-icon::after { content: ""; position: absolute; top: 3px; left: 0; right: 0; border-top: 2px solid currentColor; }
#nr-page .nr-menu-toggle[aria-expanded="true"] .py-menu-icon { border: 0; }
#nr-page .nr-menu-toggle[aria-expanded="true"] .py-menu-icon::after,
#nr-page .nr-menu-toggle[aria-expanded="true"] .py-menu-icon::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; border-top: 2px solid currentColor; transform: rotate(45deg); }
#nr-page .nr-menu-toggle[aria-expanded="true"] .py-menu-icon::after { transform: rotate(-45deg); }
#nr-page .nr-hero h1 em { background: none; }
#nr-page .nr-hero h1 em::after { display: none; }
@media (min-width: 741px) and (max-width: 990px) {
  #nr-page#nr-page .nr-enrollment__body { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  #nr-page#nr-page .nr-hero h1 { font-size: clamp(35px,10.8vw,43px) !important; }
  #nr-page .nr-hero .nr-hero__lead { margin-block: 14px; }
}

/* Keep the certificate strip in the document flow above the floating navigation. */
#nr-page .mec-banner {
  margin: 0; padding-block: 10px; color: #141519; background: #e77981;
  border-bottom: 1px solid #1d1e22;
}
#nr-page .mec-banner strong { color: inherit; font-weight: 800; }
#nr-page .mec-banner__arrow { color: inherit; }
#nr-page-shell .row-content-with-floating-nav > .content-column { margin-top: 0; }
#nr-page#nr-page .nr-topbar,
#nr-page#nr-page .nr-topbar:not(.is-hidden),
#nr-page#nr-page .nr-topbar.is-hidden {
  position: sticky !important; top: 8px !important; left: auto !important;
  margin: 10px auto 0 !important; transform: none !important;
}
#nr-page#nr-page .nr-topbar.is-hidden { pointer-events: none; }
#nr-page#nr-page .mec-banner { margin: 0 !important; }
#nr-page#nr-page .py-ai { background: #f4f1ea !important; border-block: 1px solid #d8d2c5; }


#nr-page#nr-page .nr-hero { margin-top: 0 !important; }
#nr-page#nr-page .nr-hero h1 em { color: #236996 !important; -webkit-text-fill-color: #236996; background: transparent !important; }
#nr-page#nr-page .nr-hero__media .lite-video img { object-fit: cover; }
#nr-page { --py-blue: #245f86; --py-line: #ccc7be; --py-ink: #22252a; }
#nr-page .py-wall { columns: 3; column-gap: 16px; margin: 24px 0 0; }
#nr-page .py-wall figure { break-inside: avoid; margin: 0 0 16px; padding: 7px; background: #fffefa; border: 1px solid var(--py-line); border-radius: 12px; }
#nr-page .py-wall img { width: 100%; height: auto; border-radius: 7px; display: block; }
#nr-page .py-wall a { display: block; }
#nr-page .py-more-prints summary { display: flex; width: fit-content; margin: 16px auto; cursor: pointer; list-style: none; }
#nr-page .py-more-prints summary::-webkit-details-marker { display: none; }
#nr-page .py-more-prints summary span:last-child, #nr-page .py-more-prints[open] summary span:first-child { display: none; }
#nr-page .py-more-prints[open] summary span:last-child { display: inline; }
#nr-page .py-film-title { margin: 36px 0 0; padding-top: 25px; border-top: 1px solid var(--py-line); }
#nr-page .py-films .nr-student-video { border-radius: 0; overflow: visible; }
#nr-page .py-films h3 { line-height: 1.4; padding: 0 2px; }
#nr-page .py-profile, #nr-page .py-feature, #nr-page .py-labs, #nr-page .py-certificate, #nr-page .py-bonus {
  display: grid; align-items: center; gap: clamp(24px,4vw,64px); grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
}
#nr-page .py-profile { max-width: 860px; margin: auto; grid-template-columns: minmax(150px,205px) minmax(0,1fr); }
#nr-page .py-profile figure, #nr-page .py-media, #nr-page .py-plan-screen { margin: 0; }
#nr-page .py-profile img { display: block; width: min(100%,200px); aspect-ratio: 1; object-fit: cover; height: auto; border-radius: 50%; border: 5px solid #fefcf7; }
#nr-page #nr-professor { padding-block: clamp(32px,5vw,68px) !important; }
#nr-page .py-feature em { font: 700 1.04em/1 "Py Caveat",cursive; color: var(--py-blue); }
#nr-page .py-note { margin-top: 18px; padding-left: 14px; border-left: 2px solid #cc4b55; font-size: 15px; }
#nr-page .py-media .lite-video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; padding: 0; border-radius: 14px; }
#nr-page .py-media img, #nr-page .py-media iframe { width: 100%; height: auto !important; aspect-ratio: 16/9; display: block; object-fit: cover; border-radius: 14px; }
#nr-page .py-media figcaption, #nr-page .py-plan-screen figcaption { padding: 10px 2px 0; color: #535a61; font: 550 14px/1.4 "Hanken Grotesk",sans-serif; }
#nr-page #nr-labs { border-block: 1px solid var(--py-line); background: #f2efe8; }
#nr-page .py-lab-list { margin: 20px 0 0; padding: 0; list-style: none; }
#nr-page .py-lab-list li { display: grid; gap: 3px; padding: 11px 0; border-top: 1px solid var(--py-line); }
#nr-page .py-lab-list strong { font-size: 19px; }
#nr-page .py-lab-list span { color: #51565a; }

#nr-page .py-ai h2, #nr-page .py-ai p { color: #1d1e22 !important; }
#nr-page .py-ai .nr-kicker, #nr-page .py-ai em, #nr-page .py-ai figcaption { color: #a13843 !important; -webkit-text-fill-color: #a13843; }
#nr-page .py-ranges {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(20px,3vw,46px); margin-block: clamp(24px,3vw,40px) 20px;
}
#nr-page .py-ranges article {
  --range-color: #aa414b;
  display: flex; flex-direction: column; align-items: stretch; border-top: 2px solid var(--range-color);
}
#nr-page .py-ranges article:nth-child(2) { --range-color: var(--py-blue); }
#nr-page .py-ranges article:nth-child(3) { --range-color: #806124; }
#nr-page .py-ranges h3 { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; font-size: 24px; }
#nr-page .py-ranges .py-icon { color: var(--range-color); }
#nr-page .py-ranges p { margin: 0 0 24px; line-height: 1.5; }
#nr-page .py-ranges footer { margin-top: auto; color: #555a60; font-size: 14px; }
#nr-page .py-ranges footer strong { color: var(--py-ink); font: 650 17px/1.4 "JetBrains Mono",monospace; }
#nr-page .py-range { height: 5px; background: #dfddd6; border-radius: 6px; margin-top: 9px; }
#nr-page .py-range::before { content: ""; display: block; margin-left: var(--start); width: calc(var(--end) - var(--start)); height: 100%; background: var(--range-color); border-radius: inherit; }
#nr-page .py-market-source { margin-bottom: 0; color: #555a60; font-size: 14px; line-height: 1.45; }
#nr-page .py-certificate { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); }
#nr-page .py-certificate img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 28px #22252a15; }
#nr-page .py-certificate h2 { margin: 10px 0 16px; }
#nr-page #nr-certificado { background: #fbfaf6; border-block: 1px solid var(--py-line); }
#nr-page .py-bonus { align-items: start; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); margin-top: 26px; }
#nr-page .py-receipt { border: 1px solid var(--py-line); border-radius: 14px; overflow: hidden; background: #fffdf8; margin: 0; }
#nr-page .py-receipt > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 18px; }
#nr-page .py-receipt > div + div { border-top: 1px dashed #d2cfc6; }
#nr-page .py-receipt dt, #nr-page .py-receipt dd { margin: 0; }
#nr-page .py-receipt dt { font-size: 17px; line-height: 1.3; }
#nr-page .py-receipt dt small { display: block; margin-top: 4px; color: #555b60; font-weight: 450; }
#nr-page .py-receipt dd { font: 650 14px/1.4 monospace; white-space: nowrap; }
#nr-page .py-receipt-total { background: #f4f1ea; color: #1d1e22; }
@media(max-width: 740px) {
  #nr-page#nr-page .nr-hero { margin-top: 0 !important; }
  #nr-page .py-profile, #nr-page .py-feature, #nr-page .py-labs, #nr-page .py-certificate, #nr-page .py-bonus { grid-template-columns: 1fr; gap: 20px; }
  #nr-page .py-ranges { grid-template-columns: 1fr; gap: 28px; }
  #nr-page .py-ranges p { margin-bottom: 14px; }
  #nr-page .py-profile img { width: 126px; }
  #nr-page .py-wall { columns: 2; column-gap: 9px; }
  #nr-page .py-wall figure { padding: 4px; margin-bottom: 9px; }
}
@media(max-width: 540px) {
  #nr-page .py-wall { columns: 1; }
}

#nr-page .py-module-row {
  display: grid; grid-template-columns: minmax(160px,.32fr) minmax(0,1fr);
  gap: clamp(22px,4vw,56px); padding: clamp(22px,3vw,38px) 0;
  border-top: 1px solid #ccc7be;
}
#nr-page .py-module-row:first-of-type { margin-top: 26px; }
#nr-page .py-curriculum-intro { max-width: 64ch; line-height: 1.5; }
#nr-page .py-category-copy h3 { margin: 0 0 8px; font-size: 24px; }
#nr-page .py-category-copy p { font-size: 16px; line-height: 1.45; margin: 0; }
#nr-page .py-modules {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px,16vw,205px);
  align-items: start; gap: 14px; min-width: 0; padding: 0 0 8px; list-style: none; margin: 0;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #aca69b transparent;
}
#nr-page .py-modules img { display: block; width: 100%; height: auto; border-radius: 10px; margin-bottom: 7px; }
#nr-page .py-bonus-covers img {
  box-sizing: border-box; aspect-ratio: 16 / 9; object-fit: contain; padding: 8px 14px;
  background: #ccc; filter: sepia(.16); border: 1px solid #b6b4ae;
}
#nr-page .py-modules strong { font-size: 16px; line-height: 1.25; display: block; }
#nr-page .py-rail-controls { display: flex; gap: 8px; margin-top: 16px; }
#nr-page .py-rail-controls[hidden] { display: none; }
#nr-page .py-rail-controls button, #nr-page .py-plan-toggle {
  display: inline-grid; place-items: center; background: #fffefb; color: #1d1e22;
  border: 1.5px solid #1d1e22; border-radius: 9px; box-shadow: 2px 2px 0 #1d1e22; cursor: pointer;
}
#nr-page .py-rail-controls button { width: 42px; height: 40px; font: 700 21px/1 sans-serif; }
#nr-page .py-rail-controls button:hover:enabled, #nr-page .py-plan-toggle:hover { background: #f4e5e3; }
#nr-page .py-rail-controls button:disabled { opacity: .38; cursor: default; box-shadow: none; }
#nr-page .py-plan-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; gap: clamp(30px,5vw,72px); }
#nr-page .py-plan-layout h2 em { font: 700 1.09em/1 "Py Caveat",cursive; color: #245f86; }
#nr-page .py-plan-steps { list-style: decimal-leading-zero; padding-left: 28px; margin: 18px 0 0; }
#nr-page .py-plan-steps li { padding: 9px 0 9px 5px; line-height: 1.5; border-top: 1px solid #d7d2ca; }
#nr-page .py-plan-steps li::marker { font: 650 13px monospace; color: #a13843; }
#nr-page .py-plan-demo { width: 100%; max-width: 630px; justify-self: center; margin: 0; }
#nr-page .py-plan-demo img { display: block; width: 100%; height: auto; border: 1px solid #1d1e22; border-radius: 12px; }
#nr-page .py-plan-demo figcaption { display: grid; justify-items: start; gap: 10px; padding-top: 12px; font-size: 15px; }
#nr-page .py-plan-toggle { padding: 6px 12px; font: inherit; }
#nr-page .py-plan-toggle[hidden] { display: none; }
#nr-page .py-certificate .py-cert-condition { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #c9c3bb; font-size: 16px; line-height: 1.5; }
#nr-page .py-cert-condition strong { text-decoration: underline; text-decoration-color: #cc4b55; text-decoration-thickness: 2px; text-underline-offset: 4px; }
#nr-page .py-bonus-intro { max-width: 68ch; }
#nr-page .py-receipt dt { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; align-items: center; }
#nr-page .py-receipt dt img { width: 48px; height: 40px; object-fit: cover; border-radius: 7px; grid-row: span 2; }
#nr-page .py-receipt dt small { grid-column: 2; }
#nr-page .py-receipt-total dt { display: block; }
@media(max-width:740px) {
  #nr-page .py-module-row, #nr-page .py-plan-layout { grid-template-columns: minmax(0,1fr); gap: 16px; }
  #nr-page .py-category-copy { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 14px; }
  #nr-page .py-category-copy p { grid-row: 2; grid-column: 1/-1; }
  #nr-page .py-rail-controls { grid-column: 2; grid-row: 1; margin: 0 2px 9px 0; }
  #nr-page .py-modules { grid-auto-columns: clamp(145px,46vw,210px); }
  #nr-page .py-plan-demo { width: 100%; }
}

#nr-page .py-icon-library { position: absolute; pointer-events: none; }
#nr-page .py-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linejoin: round; stroke-linecap: round; stroke-width: 1.65; flex: none; }
#nr-page .py-category-copy h3 { display: flex; align-items: center; gap: 10px; }
#nr-page .py-category-copy .py-icon { color: #a93d48; }
#nr-page .py-profile {
  max-width: 1080px; grid-template-columns: minmax(190px,.62fr) minmax(0,1.38fr);
  gap: clamp(28px,5vw,68px); border-block: 1px solid #cfc8ba; padding-block: clamp(32px,4vw,50px);
}
#nr-page .py-portrait {
  position: relative; justify-self: center; width: min(94%,270px); padding: 14px 14px 10px;
  background: #fffdf7; border: 1.5px solid #28282c; box-shadow: 5px 6px 0 #d1cabe;
  transform: rotate(-3deg); border-radius: 4px;
}
#nr-page .py-portrait::before { content: ""; position: absolute; top: -11px; left: 31%; width: 38%; height: 20px; transform: rotate(-3deg); background: #dcd2b6df; }
#nr-page .py-portrait img { width: 100%; border-radius: 2px; border: none; }
#nr-page .py-portrait figcaption { padding-top: 7px; text-align: center; font: 650 clamp(22px,2vw,30px)/1.1 "Py Caveat",cursive; color: #303237; }
#nr-page .py-profile-content h2 { font-size: clamp(36px,4vw,60px); margin: 5px 0 20px; letter-spacing: -.045em; }
#nr-page .py-profile-intro { max-width: 58ch; margin: 0 0 18px; }
#nr-page .py-credentials {
  margin: 0;
  padding: 0 0 0 1.15em;
  list-style: disc outside;
}
#nr-page .py-credentials li {
  padding-left: 4px;
  color: #494c50;
  font-size: 16px;
  line-height: 1.45;
}
#nr-page .py-credentials li + li { margin-top: 10px; }
#nr-page .py-credentials li::marker { color: #a93d48; }
#nr-page .py-credentials strong { color: var(--py-ink); }
#nr-page .py-surname { position: relative; white-space: nowrap; }
#nr-page .py-surname svg { position: absolute; bottom: -.09em; left: 0; width: 100%; height: .2em; fill: none; stroke: #bd4853; stroke-width: 2.6; stroke-linecap: round; }
#nr-page .py-plan-steps { padding-left: 0; list-style: none; }
#nr-page .py-plan-steps li { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 12px; padding: 13px 0; }
#nr-page .py-plan-steps .py-icon, #nr-page .py-lab-list .py-icon { color: #a13e48; }
#nr-page .py-plan-demo figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
#nr-page .py-lab-list li { grid-template-columns: 27px 1fr; column-gap: 12px; }
#nr-page .py-lab-list .py-icon { grid-row: span 2; margin-top: 2px; }
#nr-page .py-lab-list span { grid-column: 2; }

@media(max-width:740px) {
  #nr-page .py-profile { grid-template-columns: minmax(0,1fr); }
  #nr-page .py-portrait { width: min(63%,235px); }
}
@media(prefers-reduced-motion:no-preference) {
  #nr-page .py-profile.py-entered .py-surname path { stroke-dasharray: 1; animation: py-draw .8s ease-out both; }
  #nr-page .py-plan-steps.py-entered li, #nr-page .py-lab-list.py-entered li { animation: py-step-in .38s ease-out backwards; }
  #nr-page .py-entered li:nth-child(2) { animation-delay: 75ms; }
  #nr-page .py-entered li:nth-child(3) { animation-delay: 150ms; }
  @keyframes py-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes py-step-in { from { opacity: .5; transform: translateY(9px); } to { opacity: 1; transform: none; } }
}
