/* This stylesheet is loaded only for the editable /terms article. */
.article:has(.nh-terms-intro) { max-width: 960px; }
.article-enhanced .nh-terms-intro h2,
.article-enhanced .nh-terms-section h2 { border-top: 0; padding-top: 0; margin-top: 0; }
.nh-terms-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(25px, 5vw, 48px);
  border: 1px solid rgba(93, 211, 225, .26);
  border-radius: clamp(18px, 3vw, 28px);
  background: linear-gradient(125deg, rgba(36, 83, 102, .22), rgba(17, 34, 65, .16) 65%, rgba(131, 143, 243, .08));
  box-shadow: 0 20px 65px rgba(2, 12, 28, .11), inset 0 1px rgba(199, 250, 255, .08);
  margin-bottom: clamp(24px, 5vw, 43px);
}
.nh-terms-intro::before { content: ''; position: absolute; height: 210px; width: 210px; top: -110px; right: -55px; border-radius: 50%; background: radial-gradient(circle, rgba(52,215,238,.22), transparent 70%); pointer-events: none; }
.nh-terms-intro__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 19px; }
.nh-terms-pill { display: inline-flex; padding: 7px 10px; border: 1px solid rgba(110, 225, 218, .4); border-radius: 99px; color: var(--accent-2); font: 700 10px/1.3 var(--font-mono); letter-spacing: .08em; }
.nh-terms-date { color: var(--muted); font: 400 12px/1.4 var(--font-body); }
.nh-terms-intro h2 { max-width: 670px; font-size: clamp(27px, 4vw, 43px); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 14px; }
.nh-terms-intro > p { max-width: 730px; color: var(--ink-dim); font-size: clamp(14px, 1.9vw, 17px); line-height: 1.7; }
.nh-terms-highlights { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: clamp(22px, 4vw, 33px); }
.nh-terms-highlights > div { display: flex; flex-direction: column; gap: 6px; padding: 17px 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.nh-terms-highlights strong { color: var(--ink); font-size: 13px; }
.nh-terms-highlights span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.nh-terms-index { margin-bottom: clamp(38px, 7vw, 68px); padding: 25px clamp(20px, 4vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.nh-terms-index__label, .nh-terms-section__number { color: var(--accent); font: 700 11px/1.5 var(--font-mono); letter-spacing: .13em; }
.nh-terms-index__label { margin: 0 0 15px; }
.nh-terms-index__links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 3px 22px; }
.nh-terms-index__links a { display: block; padding: 9px 0; color: var(--ink-dim); border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.4; transition: color .2s, padding-left .2s; }
.nh-terms-index__links a:hover, .nh-terms-index__links a:focus-visible { color: var(--accent); padding-left: 4px; }
.nh-terms-section { padding: 0 clamp(3px, 2vw, 15px) 35px; margin: 0 0 42px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.nh-terms-section__number { display: block; margin: 0 0 13px; }
.nh-terms-section h2 { color: var(--ink); font-size: clamp(24px, 3.3vw, 33px); line-height: 1.18; margin: 0 0 21px; letter-spacing: -.025em; }
.nh-terms-section h3 { color: var(--ink); font-size: 17px; margin: 27px 0 11px; }
.nh-terms-section p, .nh-terms-section li { color: var(--ink-dim); font-size: 15px; line-height: 1.78; }
.nh-terms-section p { margin-bottom: 16px; }
.nh-terms-section li { margin-bottom: 9px; padding-left: 4px; }
.nh-terms-section a { color: var(--accent); text-underline-offset: 4px; text-decoration: underline; text-decoration-color: rgba(52,215,238,.4); }
.nh-terms-section a:hover { text-decoration-color: currentColor; }
.nh-terms-callout { padding: 20px 23px; margin: 23px 0; border-left: 3px solid var(--accent-2); border-radius: 0 14px 14px 0; background: linear-gradient(90deg, rgba(79,212,210,.11), rgba(79,212,210,.025)); }
.nh-terms-callout strong { display: block; color: var(--ink); margin-bottom: 5px; }
.nh-terms-callout p { margin: 0; }
.nh-terms-section--last { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.nh-terms-contact { display: flex; gap: 12px 25px; justify-content: space-between; flex-wrap: wrap; align-items: center; margin-top: 28px; padding: 25px; border-radius: 17px; border: 1px solid var(--line-strong); background: var(--panel); }
.nh-terms-contact > span { color: var(--muted); font: 700 10px/1.5 var(--font-mono); letter-spacing: .13em; }
.nh-terms-contact a { font-weight: 600; font-size: 13px; white-space: nowrap; }
@media (max-width: 670px) {
  .nh-terms-highlights { grid-template-columns: 1fr; }
  .nh-terms-highlights > div { padding: 13px 15px; }
  .nh-terms-index__links { grid-template-columns: 1fr; }
  .nh-terms-section { padding-bottom: 26px; margin-bottom: 31px; }
  .nh-terms-contact { padding: 20px; }
}
