/* The About, Privacy and Terms pages (2026-11-14; legal.js fills them in).
   The site's colours, --nt- names only, as in styles.css. */
:root {
  --nt-bg: #09090b;
  --nt-panel: #121215;
  --nt-border: #27272a;
  --nt-text: #ececf1;
  --nt-muted: #a1a1aa;
  --nt-faint: #6b6b74;
  --nt-accent: #f2a741;
  --nt-accent-soft: rgba(242, 167, 65, 0.12);
  color-scheme: dark;
  accent-color: var(--nt-accent);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--nt-bg);
  color: var(--nt-text);
  font: 16px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(242, 167, 65, 0.35); color: #fff; }

/* The same size as the chat's header (2026-11-16, the user's ask; styles.css .site-top-inner): 56px high, 24px in from
   the sides, the name at 15px and the links at 13.5px - and, as the whole chat page is from 950px wide, 25% bigger
   there (zoom), the header only, so the pages' own text keeps its size. */
.top {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
  padding: 0 24px;
  border-bottom: 1px solid var(--nt-border);
  background: rgba(9, 9, 11, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  line-height: 1.5;
}
@media (min-width: 950px) {
  .top { zoom: 1.25; }
}
/* The chat header's hearts here too (2026-11-20, the owner's ask; styles.css .site-hearts): the same hearts
   (header-hearts.svg, a 72px tile of two since 2026-12-01, 96px from 2026-11-30 - 128px from 2026-11-29, the owner's ask: Mistress Mandi's footprints' style)
   drifting up-left behind the lips, the name and the links, at the same pace, fading in the same way, and only inside
   the header. Every number here matches styles.css. Reduced motion or not (the owner's answer, 2026-11-25: always
   play). */
.top { overflow: hidden; isolation: isolate; }
.top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: calc(100% + 72px);
  height: calc(100% + 72px);
  background: url(header-hearts.svg) 0 0 / 72px 72px repeat;
  opacity: 0.14;
  animation: top-hearts 10.5s linear infinite, top-hearts-in 1500ms ease-in-out both;
  /* One clock for every page (2026-11-29, the owner's ask; hearts-clock.js): the drift goes on where the last page left
     it, and only a visit's first page fades them in. */
  animation-delay: var(--nt-hearts-phase, 0s), 0s;
  animation-duration: 10.5s, var(--nt-hearts-fade, 1500ms);
  will-change: transform;
  pointer-events: none;
}
@keyframes top-hearts {
  to { transform: translate3d(-72px, -72px, 0); }
}
@keyframes top-hearts-in {
  from { opacity: 0; }
  to { opacity: 0.14; }
}
/* The lips (brand-lips.svg) and the name, leading back to the chat you were in (2026-11-15, the user's ask; the N
   mark before); the six pages' links, as in the chat's header (2026-11-30, the owner's ask: Terms of Service, Privacy
   Policy, Acceptable Use Policy, Refund Policy, Content Removal and About Us; seven, wrapping, before), in one row that
   scrolls sideways where it doesn't fit - the first three showing first - fading at an edge with more past it
   (top-links.js). */
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--nt-text); font-size: 15px; font-weight: 650; white-space: nowrap; text-decoration: none; }
.brand img { width: 44px; height: auto; flex: none; }
/* The name in two colours, in the chosen language (2026-11-18, the user's ask; legal.js, brand-name.js). */
.brand-word { color: #f2a93d; }
.brand-ai { color: #ffffff; }
.top nav { display: flex; gap: 18px; min-width: 0; padding: 4px 0; font-size: 13.5px; white-space: nowrap; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { flex: none; }
.top nav.more-end { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
.top nav.more-start { -webkit-mask-image: linear-gradient(to right, transparent, #000 28px); mask-image: linear-gradient(to right, transparent, #000 28px); }
.top nav.more-start.more-end { -webkit-mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.brand { flex: none; }
.top nav a { color: var(--nt-muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--nt-accent); }
/* (Until 2026-11-18 the links waited for site-lang.js to translate them; the server writes them in the language now.) */

main { max-width: 760px; margin: 0 auto; padding: 44px 20px 72px; }
h1 { margin: 0 0 6px; font-size: clamp(28px, 5vw, 38px); line-height: 1.2; letter-spacing: -0.01em; }
/* "Draft for preliminary review" beside each page's title (2026-11-30, the owner's ask): small and grey at the title's
   foot, as the version number sits beside the chat's banner (styles.css .empty-version). On a narrow screen it goes
   under the title. */
main > h1 { display: inline-block; margin-right: 12px; }
.draft-note { display: inline-block; margin: 0; color: var(--nt-faint); font-size: 12px; line-height: 1; letter-spacing: 0.04em; white-space: nowrap; }
.dated { margin: 0 0 32px; color: var(--nt-faint); font-size: 14px; }
.lead { margin: 0 0 36px; color: var(--nt-muted); font-size: 19px; line-height: 1.6; }
h2 { margin: 40px 0 10px; font-size: 21px; line-height: 1.35; }
h3 { margin: 26px 0 6px; font-size: 17px; }
p, li { color: #d4d4dc; }
ul, ol { padding-left: 0; padding-inline-start: 22px; } /* the start side: the right in Arabic (2026-11-18) */
/* A translated page's note under its heading: the English version applies (2026-11-18, legal.js). */
.translated { margin: 4px 0 18px; color: var(--nt-faint); font-size: 14px; line-height: 1.5; }
li { margin: 6px 0; }
a { color: var(--nt-accent); text-underline-offset: 3px; }
/* About's Try one reply (launch Stage B): the link to the SFW demo, right under the lead. */
.lead + .try { margin: -20px 0 36px; }
.try-link { font-weight: 700; }
strong { color: var(--nt-text); }

.toc {
  margin: 0 0 36px;
  padding: 16px 20px;
  border: 1px solid var(--nt-border);
  border-radius: 12px;
  background: var(--nt-panel);
  columns: 2 240px;
  font-size: 14px;
}
.toc ol { margin: 0; padding-left: 0; padding-inline-start: 18px; }
.toc li { margin: 3px 0; break-inside: avoid; }
.toc a { color: var(--nt-muted); text-decoration: none; }
.toc a:hover { color: var(--nt-accent); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.card { padding: 18px; border: 1px solid var(--nt-border); border-radius: 12px; background: var(--nt-panel); }
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--nt-muted); font-size: 15px; }

.note {
  margin: 22px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--nt-accent);
  border-radius: 0 10px 10px 0;
  background: var(--nt-accent-soft);
}
.note p { margin: 0; }

table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
th, td { padding: 9px 10px; border-bottom: 1px solid var(--nt-border); text-align: left; vertical-align: top; }
th { color: var(--nt-muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* A detail or a passage still to decide (legal.js): plain to spot. */
.ph {
  padding: 0 4px;
  border-radius: 4px;
  outline: 1px dashed var(--nt-accent);
  background: var(--nt-accent-soft);
  color: var(--nt-accent);
}

.foot {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 20px 40px;
  border-top: 1px solid var(--nt-border);
  color: var(--nt-faint);
  font-size: 13px;
}
.foot a { color: var(--nt-muted); }
.foot p { color: var(--nt-faint); margin: 4px 0; }

@media (max-width: 520px) {
  .top { padding: 0 16px; }
  .top nav { gap: 12px; }
  .brand span { display: none; }
  main { padding: 32px 16px 56px; }
  .foot { padding: 20px 16px 32px; }
}
/* On a phone they tighten, as the chat's header does, then scroll (since 2026-11-30; they wrapped onto a second row
   before), so they never run under the lips. */
@media (max-width: 420px) {
  .top nav { column-gap: 10px; font-size: 12px; }
}
@media (max-width: 360px) {
  .top nav { column-gap: 8px; font-size: 11px; }
}

/* The complaints form (the paid build's Stage 9). */
.complaint-form { display: grid; gap: 12px; margin: 18px 0 28px; max-width: 560px; }
.complaint-form label { display: grid; gap: 6px; }
.complaint-form select, .complaint-form textarea, .complaint-form input { font: inherit; padding: 8px 10px; border-radius: 8px; border: 1px solid #3a3a42; background: #111114; color: inherit; }
.complaint-form button { justify-self: start; font: inherit; padding: 8px 18px; border-radius: 8px; border: 1px solid #f2a741; background: #f2a741; color: #000; cursor: pointer; }
.complaint-form button:disabled { opacity: 0.6; cursor: default; }
.complaint-result { min-height: 1.5em; color: #f2a741; }
