/* ═══════════════════════════════════════════════════════════════════════
   ISLIO — legal pages.

   A different job from the landing page: nobody reads these for pleasure,
   they read them to find one answer fast. So: one column, generous measure,
   real hierarchy, an index that jumps. Same surfaces and type as the site,
   none of the instrumentation.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --s0: #08090B;
  --s1: #0D0F12;
  --s2: #121519;
  --s3: #171B20;
  --ink:   #EDEFF2;
  --ink-2: #9AA1AD;
  --ink-3: #626A77;
  --ink-4: #3A414B;
  --amber: #FFB042;
  --edge-top: rgba(255,255,255,.13);
  --edge-bot: rgba(255,255,255,.025);
  --display: ui-serif, Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--s0); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--s0); color: var(--ink-2);
  font-family: var(--body); font-size: 16px; line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .028; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--ink); text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.22); }
a:hover { border-bottom-color: var(--ink); }

/* ── Masthead ────────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(8,9,11,.82); backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-in {
  max-width: 880px; margin: 0 auto; padding: 16px 26px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 19px; font-weight: 600;
  color: var(--ink); border: 0; letter-spacing: -.01em;
}
.brand .mark { width: 30px; height: 30px; display: block; }
.top nav { display: flex; gap: 22px; font-size: 13.5px; }
.top nav a { color: var(--ink-3); border: 0; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); }

/* ── Page shell ──────────────────────────────────────────────────────── */
.wrap { max-width: 880px; margin: 0 auto; padding: 0 26px; }

header.doc { padding: 74px 0 34px; border-bottom: 1px solid rgba(255,255,255,.07); }
header.doc .kicker {
  font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-4);
}
header.doc h1 {
  font-family: var(--display); font-size: clamp(34px, 5.4vw, 50px);
  font-weight: 600; color: var(--ink); letter-spacing: -.022em;
  line-height: 1.08; margin: 14px 0 18px;
}
header.doc .lede { font-size: 17.5px; max-width: 620px; margin: 0; }
header.doc .stamp {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 26px;
  font: 500 11.5px var(--mono); color: var(--ink-4);
}
header.doc .stamp b { color: var(--ink-3); font-weight: 500; }

/* ── The promise box: the one thing worth reading if you read nothing ── */
.tldr {
  margin: 34px 0 0; padding: 22px 24px; border-radius: 14px;
  background: linear-gradient(var(--s2), var(--s1));
  box-shadow: inset 0 1px 0 var(--edge-top), inset 0 -1px 0 var(--edge-bot);
}
.tldr h2 {
  font: 600 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-4); margin: 0 0 12px;
}
.tldr p { margin: 0 0 10px; color: var(--ink-2); font-size: 15.5px; }
.tldr p:last-child { margin-bottom: 0; }
.tldr b { color: var(--ink); font-weight: 600; }

/* ── Index ───────────────────────────────────────────────────────────── */
.toc { margin: 40px 0 8px; }
.toc h2 {
  font: 600 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-4); margin: 0 0 14px;
}
.toc ol {
  margin: 0; padding: 0; list-style: none;
  columns: 2; column-gap: 34px;
}
.toc li { break-inside: avoid; margin-bottom: 7px; font-size: 14px; }
.toc a { color: var(--ink-3); border: 0; }
.toc a:hover { color: var(--ink); }
.toc .n { font: 500 11.5px var(--mono); color: var(--ink-4); margin-right: 8px; }

/* ── Sections ────────────────────────────────────────────────────────── */
section.s { padding: 40px 0 0; scroll-margin-top: 78px; }
section.s > h2 {
  font-family: var(--display); font-size: 25px; font-weight: 600;
  color: var(--ink); letter-spacing: -.015em; margin: 0 0 16px;
  display: flex; gap: 14px; align-items: baseline;
}
section.s > h2 .n {
  font: 500 12px var(--mono); color: var(--ink-4); letter-spacing: .04em;
}
section.s h3 {
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  margin: 26px 0 8px;
}
section.s p { margin: 0 0 14px; }
section.s ul { margin: 0 0 16px; padding: 0; list-style: none; }
section.s li {
  position: relative; padding-left: 20px; margin-bottom: 9px; font-size: 15.5px;
}
section.s li::before {
  content: ""; position: absolute; left: 3px; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ink-4);
}
section.s strong, section.s b { color: var(--ink); font-weight: 600; }

/* A definition grid for "what we collect" style content */
.grid-def {
  margin: 0 0 18px; display: grid; grid-template-columns: 180px 1fr;
  gap: 1px; border-radius: 12px; overflow: hidden;
  background: rgba(255,255,255,.055);
}
.grid-def dt, .grid-def dd {
  margin: 0; padding: 14px 16px; background: var(--s1); font-size: 14.5px;
}
.grid-def dt { color: var(--ink); font-weight: 600; }
.grid-def dd { color: var(--ink-2); }

/* A hard, quotable statement */
.claim {
  margin: 22px 0; padding: 18px 22px; border-radius: 12px;
  background: var(--s1); border-left: 2px solid var(--amber);
  color: var(--ink); font-size: 16px;
}

.note {
  margin: 18px 0; padding: 14px 18px; border-radius: 10px;
  background: rgba(255,255,255,.028); font-size: 14px; color: var(--ink-3);
}

/* Legal boilerplate that has to be shouty by convention — kept quiet visually */
.caps {
  font-size: 13.5px; color: var(--ink-3); line-height: 1.62;
  background: rgba(255,255,255,.022); padding: 16px 18px; border-radius: 10px;
}

/* ── Contact block ───────────────────────────────────────────────────── */
.contact-card {
  margin: 52px 0 0; padding: 26px 28px; border-radius: 16px;
  background: linear-gradient(var(--s2), var(--s1));
  box-shadow: inset 0 1px 0 var(--edge-top), inset 0 -1px 0 var(--edge-bot);
  display: flex; flex-wrap: wrap; gap: 18px 30px;
  align-items: center; justify-content: space-between;
}
.contact-card .t {
  font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--ink);
  margin: 0 0 6px;
}
.contact-card p { margin: 0; font-size: 14.5px; max-width: 420px; }
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  background: var(--ink); color: #08090B; font-weight: 600; font-size: 14px;
  border: 0; white-space: nowrap;
}
.btn:hover { border: 0; opacity: .9; }

/* ── Entity block ────────────────────────────────────────────────────── */
.entity {
  margin: 30px 0 0; padding: 20px 22px; border-radius: 12px;
  background: var(--s1); font-size: 14px;
}
.entity dl { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 8px 18px; }
.entity dt { color: var(--ink-4); font-family: var(--mono); font-size: 12px;
             text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.entity dd { margin: 0; color: var(--ink-2); }
/* Anything still awaiting the company's real details is visibly marked, so a
   placeholder can never reach production unnoticed. */
.todo {
  font-family: var(--mono); font-size: 12.5px; color: #FFB042;
  background: rgba(255,176,66,.09); padding: 2px 7px; border-radius: 5px;
}

footer.doc {
  margin-top: 64px; padding: 26px 0 46px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  font-size: 13px; color: var(--ink-4);
}
/* The byline, matching the landing page's footer exactly — one signature
   across the whole site, not two variations of one. */
.sig { display: flex; flex-direction: column; gap: 3px;
  /* Centred on the role above it: initials are far shorter than
     DESIGN & DEVELOPMENT, and left-aligned they hung off the end
     of it instead of sitting under it like a signature. */
  align-items: center; }
.sig .role { font: 500 9.5px var(--mono); letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-4); }
.sig .who { font: 600 13.5px var(--display); color: var(--ink-2);
  letter-spacing: -.01em; transition: color .25s ease; }
.sig:hover .who { color: var(--ink); }
/* The surname is not a highlight — a signature is one name, in one
   colour. It only needs to be legible and quiet. */
.sig .who em { font-style: normal; color: inherit; }

footer.doc a { color: var(--ink-3); border: 0; }
footer.doc a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .toc ol { columns: 1; }
  .grid-def { grid-template-columns: 1fr; }
  .grid-def dt { padding-bottom: 0; background: var(--s1); }
  .entity dl { grid-template-columns: 1fr; gap: 4px; }
  .entity dt { margin-top: 10px; }
  header.doc { padding-top: 48px; }
}
