@layer components {
  .nh-regs {
    container-type: inline-size;
    container-name: nh-regs;
  }

  .nh-regs__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
  }

  .nh-regs__badge { margin-bottom: var(--space-m); }

  .nh-regs__title {
    font-size: var(--text-3xl);
    font-weight: var(--weight-semibold);
    color: var(--text-title);
    line-height: 1.15;
    letter-spacing: -0.015em;
    max-width: 60rem;
    margin-inline: auto;
    margin-bottom: var(--space-m);
  }

  .nh-regs__subtitle {
    font-size: var(--text-m);
    color: var(--text-body);
    line-height: 1.7;
    max-width: 60rem;
    margin-inline: auto;
  }

  .nh-regs__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
  }

  .nh-regs__card {
    padding: var(--space-xl) var(--space-l);
    border-top: 4px solid var(--success);
  }

  .nh-regs__card-top {
    display: flex;
    align-items: flex-start;
    gap: var(--space-m);
    margin-bottom: var(--space-xl);
  }

  .nh-regs__card-icon {
    flex-shrink: 0;
    color: var(--success);
  }

  .nh-regs__card-name {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--text-title);
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .nh-regs__card-full {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    color: var(--success-d-1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-3xs);
  }

  .nh-regs__card-de {
    display: block;
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-style: italic;
    margin-top: var(--space-4xs);
  }

  .nh-regs__card-body {
    font-size: var(--text-s);
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
  }

  .nh-regs__points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
  }

  .nh-regs__point {
    display: flex;
    align-items: flex-start;
    gap: var(--space-s);
    font-size: var(--text-s);
    color: var(--text-body);
    line-height: 1.5;
  }

  .nh-regs__point .icon {
    width: 1.6rem;
    height: 1.6rem;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 0.15em;
  }

  /* Closing note bar */
  .nh-regs__note {
    display: flex;
    align-items: flex-start;
    gap: var(--space-m);
    padding: var(--space-l) var(--space-xl);
    background: var(--success-10);
    border-left: 3px solid var(--success);
    border-radius: var(--radius-s);
  }

  .nh-regs__note > .icon {
    color: var(--success);
    flex-shrink: 0;
    width: 2.2rem;
    height: 2.2rem;
    margin-top: 0.1em;
  }

  .nh-regs__note p {
    font-size: var(--text-s);
    font-weight: var(--weight-medium);
    color: var(--text-body);
    line-height: 1.6;
  }

  @container nh-regs (max-width: 768px) {
    .nh-regs__cards { grid-template-columns: 1fr; }
    .nh-regs__title { font-size: var(--text-2xl); }
  }

  @container nh-regs (max-width: 480px) {
    .nh-regs__card { padding: var(--space-xl) var(--space-l); }
    .nh-regs__title { font-size: var(--text-xl); }
    .nh-regs__card-name { font-size: var(--text-xl); }
    .nh-regs__note {
      flex-direction: column;
      gap: var(--space-s);
      padding: var(--space-l);
    }
  }
}
