:root {
  --noti-dark:    #0f0f14;
  --noti-surface: #16161f;
  --noti-border:  #2a2a38;
  --noti-accent:  #7c6af7;
  --noti-accent2: #a78bfa;
  --noti-muted:   #8888aa;
  --noti-text:    #e8e8f0;
}

* { box-sizing: border-box; }

body {
  background-color: var(--noti-dark);
  color: var(--noti-text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
}

/* ── Header ── */
.noti-header {
  background: var(--noti-surface);
  border-bottom: 1px solid var(--noti-border);
  padding: 2.5rem 0 2rem;
}

.noti-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--noti-accent), var(--noti-accent2));
  border-radius: 14px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 24px rgba(124, 106, 247, 0.35);
}

.noti-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.35rem;
}

.noti-header .subtitle {
  color: var(--noti-muted);
  font-size: 0.9rem;
}

/* ── Layout ── */
.noti-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  max-width: 1060px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

/* ── Sticky TOC ── */
.noti-toc {
  position: sticky;
  top: 2rem;
  align-self: start;
  padding-right: 2rem;
}

.noti-toc p {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--noti-muted);
  margin-bottom: 0.75rem;
}

.noti-toc a {
  display: block;
  font-size: 0.82rem;
  color: var(--noti-muted);
  text-decoration: none;
  padding: 0.3rem 0 0.3rem 0.75rem;
  border-left: 2px solid var(--noti-border);
  margin-bottom: 0.15rem;
  transition: color .2s, border-color .2s;
}

.noti-toc a:hover {
  color: var(--noti-accent2);
  border-left-color: var(--noti-accent);
}

/* ── Content ── */
.noti-content section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--noti-border);
}

.noti-content section:last-child {
  border-bottom: none;
}

.section-number {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--noti-accent);
  margin-bottom: 0.5rem;
}

.noti-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1.1rem;
}

.noti-content p {
  color: #c8c8de;
  margin-bottom: 1rem;
}

/* ── Highlight box ── */
.noti-highlight {
  background: rgba(124, 106, 247, 0.08);
  border: 1px solid rgba(124, 106, 247, 0.25);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.25rem;
}

.noti-highlight p {
  margin-bottom: 0;
  color: #d8d8f0;
}

/* ── List ── */
.noti-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.noti-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--noti-border);
  color: #c8c8de;
  font-size: 0.95rem;
}

.noti-list li:last-child { border-bottom: none; }

.noti-list .dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--noti-accent);
  border-radius: 50%;
  margin-top: 0.62rem;
}

/* ── Contact card ── */
.noti-contact-card {
  background: var(--noti-surface);
  border: 1px solid var(--noti-border);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
}

.noti-contact-card .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--noti-muted);
  margin-bottom: 0.2rem;
}

.noti-contact-card .value {
  color: var(--noti-text);
  font-weight: 400;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.noti-contact-card .value:last-child { margin-bottom: 0; }

.noti-contact-card a {
  color: var(--noti-accent2);
  text-decoration: none;
}

.noti-contact-card a:hover { text-decoration: underline; }

/* ── Term label (list item headings) ── */
.noti-term {
  color: var(--noti-text);
  font-weight: 500;
}

/* ── Footer note (small version text) ── */
.noti-footer-note {
  font-size: 0.78rem;
}

/* ── Footer ── */
.noti-footer {
  border-top: 1px solid var(--noti-border);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--noti-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .noti-layout {
    grid-template-columns: 1fr;
  }
  .noti-toc {
    position: static;
    padding-right: 0;
    margin-bottom: 2.5rem;
    padding: 1rem 1.25rem;
    background: var(--noti-surface);
    border: 1px solid var(--noti-border);
    border-radius: 10px;
  }
}
