/* ==========================================================================
   Setlino — legal website styles
   A single local stylesheet for index.html, privacy-policy.html and
   terms-of-use.html. No external requests, no scripts, no cookies.
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/PlusJakartaSans-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/PlusJakartaSans-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/PlusJakartaSans-ExtraBold.ttf') format('truetype');
}

:root {
  --bg: #0c101b;
  --bg-soft: #101725;
  --card: #131a28;
  --card-hover: #17202f;
  --border: #222b3d;
  --border-strong: #2e3950;
  --text: #f4f7fb;
  --body: #dbe3ef;
  --muted: #9aa6bb;
  --accent: #6ee7b7;
  --accent-ink: #06251c;
  --accent-soft: rgba(110, 231, 183, 0.1);
  --accent-line: rgba(110, 231, 183, 0.3);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(3, 6, 12, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(110, 231, 183, 0.1), transparent 62%),
    radial-gradient(700px 420px at -12% 14%, rgba(94, 124, 255, 0.09), transparent 60%),
    var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(110, 231, 183, 0.28);
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-line);
  overflow-wrap: anywhere;
  transition: border-color 0.15s ease, color 0.15s ease;
}

a:hover,
a:focus-visible {
  border-bottom-color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

strong {
  color: var(--text);
  font-weight: 600;
}

em {
  font-style: italic;
}

/* Skip link ---------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border-bottom: none;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Header ------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(12, 16, 27, 0.72);
  backdrop-filter: blur(14px);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: none;
  color: var(--text);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  color: var(--accent);
  flex: none;
}

.brand-name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-tag {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.4;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
}

.site-nav a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-bottom-color: var(--accent-line);
}

.site-nav a[aria-current='page'] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* Shell -------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.shell--narrow {
  max-width: 800px;
}

main {
  display: block;
}

/* Home --------------------------------------------------------------------- */

.hero {
  padding: 76px 0 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.display {
  margin: 0;
  color: var(--text);
  font-size: clamp(44px, 10vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.tagline {
  margin: 14px 0 0;
  font-size: clamp(19px, 3.4vw, 24px);
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.lede {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 18px;
  color: var(--body);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 44px 0 0;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-bottom-width: 1px;
  color: var(--body);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

a.panel:hover,
a.panel:focus-visible {
  background: var(--card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  a.panel:hover,
  a.panel:focus-visible {
    transform: none;
  }
}

.panel-kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-arrow {
  color: var(--accent);
  font-weight: 400;
}

.panel-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  margin-top: 56px;
}

.section-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-card p {
  margin: 0;
  color: var(--body);
  font-size: 15.5px;
}

.contact-card .contact-email {
  font-size: clamp(17px, 3vw, 20px);
  font-weight: 600;
  color: var(--text);
  border-bottom-color: var(--accent-line);
}

.contact-card .contact-email:hover {
  color: var(--accent);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.fact {
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.fact dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

/* Documents ---------------------------------------------------------------- */

.doc-head {
  padding: 52px 0 6px;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent-line);
}

.doc h1 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(30px, 6.4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.meta strong {
  color: var(--body);
  font-weight: 600;
}

.doc-intro {
  margin: 20px 0 0;
  font-size: 17.5px;
  color: var(--body);
  max-width: 68ch;
}

.toc {
  margin: 34px 0 8px;
  padding: 20px 24px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.toc h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
  font-size: 14.5px;
}

.toc li {
  margin-bottom: 7px;
  break-inside: avoid;
}

.toc a {
  color: var(--body);
  border-bottom-color: transparent;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent-line);
}

.doc section {
  scroll-margin-top: 24px;
}

.doc h2 {
  margin: 46px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.doc section:first-of-type h2 {
  margin-top: 34px;
}

.doc h3 {
  margin: 28px 0 8px;
  color: var(--accent);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.doc p {
  margin: 0 0 14px;
  color: var(--body);
}

.doc ul,
.doc ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.doc li {
  margin-bottom: 8px;
  color: var(--body);
}

.doc li::marker {
  color: var(--muted);
}

.callout {
  margin: 20px 0;
  padding: 18px 20px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
}

.callout p:last-child {
  margin-bottom: 0;
}

.note {
  margin: 22px 0;
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 15.5px;
}

.note p:last-child {
  margin-bottom: 0;
}

.identity-card {
  margin: 18px 0 22px;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.identity-card p {
  margin: 0;
}

.identity-card p + p {
  margin-top: 4px;
}

.identity-card .identity-name {
  font-weight: 600;
  color: var(--text);
  font-size: 17px;
}

.badge {
  display: inline-block;
  padding: 3px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  color: var(--body);
  white-space: nowrap;
}

.kv {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 10px 20px;
  margin: 16px 0 22px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.kv dt {
  color: var(--muted);
  font-size: 14px;
}

.kv dd {
  margin: 0;
  color: var(--body);
  font-size: 15px;
}

/* Footer ------------------------------------------------------------------- */

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 13.5px;
}

.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: var(--muted);
  border-bottom-color: transparent;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent-line);
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 720px) {
  body {
    font-size: 16.5px;
  }

  .site-header .shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
  }

  .hero {
    padding-top: 48px;
  }

  .toc ol {
    columns: 1;
  }

  .kv {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .kv dd {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .doc h2 {
    font-size: 20px;
    margin-top: 38px;
  }

  .toc,
  .contact-card,
  .identity-card,
  .panel {
    padding: 16px 18px;
  }

  .site-footer .shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Print -------------------------------------------------------------------- */

@media print {
  body {
    background: #fff;
    color: #111;
    font-size: 11pt;
    line-height: 1.5;
  }

  .skip-link,
  .site-nav,
  .back-link,
  .toc {
    display: none;
  }

  .shell,
  .shell--narrow {
    max-width: none;
    padding: 0;
  }

  .site-header {
    border-bottom: 1px solid #ccc;
    background: #fff;
  }

  .doc h1,
  .doc h2,
  .doc h3,
  .doc p,
  .doc li,
  .display,
  .tagline,
  .lede,
  .panel-title,
  .fact dd,
  .kv dd,
  .identity-card .identity-name,
  strong {
    color: #111;
  }

  .meta,
  .panel-text,
  .fact dt,
  .kv dt {
    color: #555;
  }

  .panel,
  .contact-card,
  .identity-card,
  .toc,
  .callout,
  .note,
  .fact,
  .kv {
    background: #fff;
    border-color: #ccc;
    box-shadow: none;
  }

  .doc h2 {
    break-after: avoid;
    border-color: #ccc;
  }

  a {
    color: #111;
    border-bottom: none;
  }

  .site-footer {
    border-color: #ccc;
    color: #555;
  }
}
