/* -- HERO -- */
.pn-hero {
  background: #ffffff;
  border-bottom: 1px solid #ececec;
  padding: 64px 6% 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pn-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pn-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00768e;
  background: rgba(0,194,238,0.1);
  border: 1px solid rgba(0,194,238,0.3);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.pn-hero h1 {
  font-family: var(--ff-font-display); font-weight: var(--ff-display-fw); text-transform: var(--ff-display-tt); letter-spacing: var(--ff-display-ls); text-transform: uppercase;
  font-size: 2.4rem;
  color: var(--ff-ink);
  margin-bottom: 14px;
  line-height: 1.2;
}
.pn-hero p {
  font-size: 0.88rem;
  color: var(--ff-muted-2);
  letter-spacing: 0.04em;
}

/* -- PAGE LAYOUT -- */
.pn-page {
  flex: 1;
  padding: 52px 6%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.pn-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

/* -- LEFT NAV -- */
.pn-nav {
  position: sticky;
  top: 124px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pn-nav-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ff-muted-5);
  margin-bottom: 10px;
  padding-left: 14px;
}
.pn-nav-item {
  padding: 11px 14px;
  border-radius: 8px;
  font-family: var(--ff-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: #777;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.pn-nav-item:hover {
  background: var(--ff-surface-3);
  color: var(--ff-ink);
}
.pn-nav-item.active {
  background: var(--ff-brand-tint);
  color: var(--ff-brand);
  font-weight: 700;
  border-left-color: var(--ff-brand);
}

/* -- CONTENT -- */
.pn-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pn-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--ff-line-faint);
  position: relative;
}
.pn-section:last-child {
  border-bottom: none;
}
.pn-section-number {
  font-family: var(--ff-font-display); font-weight: var(--ff-display-fw); text-transform: var(--ff-display-tt); letter-spacing: var(--ff-display-ls);
  font-size: 0.72rem;
  color: var(--ff-brand);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.pn-section h2 {
  font-family: var(--ff-font-display); font-weight: var(--ff-display-fw); text-transform: var(--ff-display-tt); letter-spacing: var(--ff-display-ls);
  font-size: 1.25rem;
  color: var(--ff-ink);
  margin-bottom: 16px;
  line-height: 1.3;
}
.pn-section p {
  font-size: 0.92rem;
  color: var(--ff-muted);
  line-height: 1.85;
  margin-bottom: 14px;
}
.pn-section p:last-child {
  margin-bottom: 0;
}

/* Lists */
.pn-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}
.pn-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--ff-muted);
  line-height: 1.5;
}
.pn-list li i {
  color: var(--ff-brand);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Callout box */
.pn-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ff-brand-tint);
  border: 1.5px solid rgba(0,194,238,0.25);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px;
}
.pn-callout i {
  font-size: 1.3rem;
  color: var(--ff-brand);
  flex-shrink: 0;
}
.pn-callout p {
  font-size: 0.88rem;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

/* Inline link */
.pn-link {
  color: var(--ff-brand);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,194,238,0.3);
  transition: border-color 0.2s;
}
.pn-link:hover {
  border-color: var(--ff-brand);
}

/* -- RESPONSIVE -- */
@media (max-width: 860px) {
  .pn-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pn-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 36px;
  }
  .pn-nav-label { display: none; }
  .pn-nav-item {
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 50px;
    padding: 7px 14px;
    font-size: 0.8rem;
    background: var(--ff-surface-3);
  }
  .pn-nav-item.active {
    border-radius: 50px;
    border-bottom-color: var(--ff-brand);
  }
}
@media (max-width: 600px) {
  .pn-hero h1 { font-size: 1.7rem; }
  .pn-page { padding: 36px 5%; }
  .pn-section h2 { font-size: 1.1rem; }
}
/* Sub-sections inside a numbered section (3A Events, 5.1 Corrections). */
.pn-subheading {
  font-family: var(--ff-font-display, inherit);
  font-size: 1rem;
  color: var(--ff-ink);
  margin: 26px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--ff-line, #eee);
}

/* Anything still to be filled in before this notice is published. Deliberately loud —
   a legal page must not go live with "[Insert Email Address]" reading as body copy. */
.pn-todo {
  background: #fff3cd;
  color: #7a5200;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px dashed #d9a441;
  white-space: nowrap;
}
