/* ─────────────────────────────────────────────────────────────────────────
   NIKSY · shared styling for the legal + contact pages.

   Same world as the landing page (direction A×B): deep banknote-green ground,
   luminous edges, warm accents used only for detail. The legal pages used to be
   plain white, so following a footer link dropped you out of the product and
   into a document — which is the wrong signal for the pages that carry the
   privacy promises.

   Legibility leads here, not decoration: long-form text, generous measure,
   a real type scale. Committed single-theme for the same reason as the
   landing — every colour painted explicitly, nothing borrowed from the host.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --void:     #04120D;
  --panel:    #0B241A;
  --panel-2:  #0F2E22;
  --edge:     rgba(120,235,190,.13);
  --edge-lit: rgba(120,235,190,.32);

  --note:     #1FA97F;
  --lit:      #46E3AE;
  --glow:     #7DFFD0;
  --gold:     #F0C868;
  --coral:    #FF8F6B;

  --tx:       #EAF6F0;
  --soft:     #A6C3B7;
  --faint:    #6D8B7F;

  --disp: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--void);
  color: var(--tx);
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .18vw, 1.07rem);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(52rem 34rem at 82% -12%, rgba(31,169,127,.2), transparent 62%),
    radial-gradient(38rem 30rem at 0% 12%, rgba(70,227,174,.08), transparent 60%);
}
header, main, footer { position: relative; z-index: 1; }

.wrap { width: min(100% - 2.5rem, 52rem); margin-inline: auto; }

a { color: var(--lit); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--glow); }
:focus-visible { outline: 2px solid var(--lit); outline-offset: 3px; border-radius: 5px; }

/* ── Header ───────────────────────────────────────────────────────────── */
header { padding: 2rem 0 2.25rem; border-bottom: 1px solid var(--edge); }
header .brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--disp); font-size: 1.3rem; font-weight: 600;
  color: var(--tx); text-decoration: none; margin-bottom: 1.4rem;
}
header .brand img { width: 30px; height: 30px; display: block;
                    filter: drop-shadow(0 2px 10px rgba(70,227,174,.28)); }
header h1 {
  font-family: var(--disp); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.8rem); line-height: 1.08;
  margin: 0; text-wrap: balance;
}
header > .wrap > p {
  margin: .6rem 0 0; color: var(--faint);
  font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
}
nav.top { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.5rem; }
nav.top a { color: var(--soft); text-decoration: none; font-size: .87rem; font-weight: 600; }
nav.top a:hover { color: var(--glow); }

/* ── Long-form body ───────────────────────────────────────────────────── */
main { padding: 2.75rem 0 1rem; }
main h2 {
  font-family: var(--disp); font-weight: 600; letter-spacing: -.015em;
  font-size: clamp(1.3rem, 1.15rem + .7vw, 1.65rem); line-height: 1.2;
  margin: 2.75rem 0 .25rem; text-wrap: balance; scroll-margin-top: 1.5rem;
}
main h2:first-child { margin-top: 0; }
main h3 {
  font-family: var(--disp); font-weight: 600; font-size: 1.14rem;
  margin: 1.9rem 0 .2rem; color: var(--tx);
}
main p { margin: .9rem 0; color: var(--soft); }
main strong { color: var(--tx); font-weight: 600; }
main em { color: var(--tx); }

main ul { margin: 1rem 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
main li { display: grid; grid-template-columns: 1rem 1fr; gap: .65rem;
          align-items: start; color: var(--soft); }
main li::before { content: "▸"; color: var(--lit); }

code {
  font-family: var(--mono); font-size: .88em; color: var(--glow);
  background: rgba(120,235,190,.08); border: 1px solid var(--edge);
  padding: .1em .4em; border-radius: 5px;
}

/* Tables — the retention and third-party matrices. */
.table-scroll, main > table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .93rem; }
th { text-align: left; font-family: var(--mono); font-size: .72rem; font-weight: 500;
     letter-spacing: .13em; text-transform: uppercase; color: var(--faint);
     padding: 0 1rem .7rem 0; border-bottom: 1px solid var(--edge-lit); }
td { padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--edge);
     color: var(--soft); vertical-align: top; }

/* The one thing that must not be skimmed past. */
.callout {
  margin: 1.75rem 0; padding: 1.25rem 1.4rem; border-radius: 16px;
  background: rgba(255,143,107,.05); border: 1px solid rgba(255,143,107,.22);
}
.callout p { margin: 0; color: var(--soft); font-size: .93rem; }
.callout strong { color: var(--coral); }

hr { border: 0; border-top: 1px solid var(--edge); margin: 2.5rem 0; }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer {
  margin-top: 3.5rem; padding: 2rem 0 3rem;
  border-top: 1px solid var(--edge); color: var(--faint);
}
footer p { margin: 0; font-size: .87rem; }
footer strong { color: var(--soft); }
