/*
 * apply-nanoprep — converted from src/app/how-to/apply-nanoprep/apply-nanoprep.module.css
 * Declarations are unchanged; only class selectors were renamed.
 */
.np-apply-nanoprep__wrap {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 64px 40px 32px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

.np-apply-nanoprep__intro {
  font-size: 17px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 14px;
  font-weight: 400;
}

.np-apply-nanoprep__intro-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

/* STEPS */
.np-apply-nanoprep__steps {
  display: flex;
  flex-direction: column;
}

.np-apply-nanoprep__step {
  position: relative;
  padding: 0 0 34px 74px;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.np-apply-nanoprep__step:last-child {
  padding-bottom: 0;
}

.np-apply-nanoprep__step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green2);
  color: #fff;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.np-apply-nanoprep__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--rule);
  z-index: 1;
}

.np-apply-nanoprep__step-body h3 {
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 9px;
  padding-top: 9px;
}

.np-apply-nanoprep__step-body p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.75;
  font-weight: 300;
}

/* SIDEBAR */
.np-apply-nanoprep__facts {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  background: var(--light);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 28px 26px;
}

.np-apply-nanoprep__facts h2 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
}

.np-apply-nanoprep__facts-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 22px;
}

.np-apply-nanoprep__facts-list dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.np-apply-nanoprep__facts-list dd {
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.5;
}

.np-apply-nanoprep__toc {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

.np-apply-nanoprep__toc h3 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}

.np-apply-nanoprep__toc ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.np-apply-nanoprep__toc a {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 9px;
  line-height: 1.4;
  transition: color 0.2s;
}

.np-apply-nanoprep__toc a:hover {
  color: var(--green2);
}

.np-apply-nanoprep__toc-num {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(58, 170, 106, 0.12);
  color: var(--green2);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

@media (max-width: 900px) {
  .np-apply-nanoprep__wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .np-apply-nanoprep__sidebar {
    display: none;
  }
}

@media (max-width: 820px) {
  .np-apply-nanoprep__step {
    padding-left: 64px;
  }

  .np-apply-nanoprep__step-num {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .np-apply-nanoprep__step:not(:last-child)::after {
    left: 20px;
    top: 42px;
  }
}
