/* Technicise EU — no external fonts or CDNs: nothing leaves the visitor's
   browser to a third party, which keeps the site trivially GDPR-clean. */

:root {
  --bg: #fbfcfd;
  --surface: #ffffff;
  --surface-2: #f4f7f9;
  --text: #0f151c;
  --muted: #58656f;
  --line: #e1e8ee;
  --accent: #0f766e;
  --accent-soft: #e6f4f2;
  --accent-2: #1d4ed8;
  --shadow: 0 1px 2px rgba(15,21,28,.05), 0 8px 24px -12px rgba(15,21,28,.12);
  --radius: 12px;
  --maxw: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0e13;
    --surface: #121920;
    --surface-2: #171f28;
    --text: #e7eef4;
    --muted: #93a3b1;
    --line: #222d38;
    --accent: #2dd4bf;
    --accent-soft: #10302e;
    --accent-2: #7aa2f7;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  --bg: #0a0e13; --surface: #121920; --surface-2: #171f28;
  --text: #e7eef4; --muted: #93a3b1; --line: #222d38;
  --accent: #2dd4bf; --accent-soft: #10302e; --accent-2: #7aa2f7;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

h1,h2,h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-top: 0; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em;
  background: var(--surface-2); padding: .12em .4em; border-radius: 5px; }

/* header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .inner { display: flex; align-items: center; gap: 16px;
  max-width: var(--maxw); margin: 0 auto; padding: 12px 16px; }
.brand { font-weight: 700; letter-spacing: -.02em; text-decoration: none; color: var(--text);
  font-size: 1.06rem; display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.brand .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); flex: none; }
nav.main { margin-left: auto; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
nav.main a { color: var(--muted); text-decoration: none; padding: 7px 10px;
  border-radius: 8px; font-size: .93rem; }
nav.main a:hover { color: var(--text); background: var(--surface-2); }
nav.main a[aria-current="page"] { color: var(--text); background: var(--accent-soft); }
.theme-btn { border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 8px; padding: 6px 9px; cursor: pointer; font-size: .9rem; line-height: 1; }
.theme-btn:hover { color: var(--text); }

/* hero */
.hero { padding: 72px 0 36px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
  padding: 5px 11px; border-radius: 99px; margin-bottom: 18px; }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: var(--muted); max-width: 62ch; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-block; text-decoration: none; padding: 11px 20px; border-radius: 9px;
  font-weight: 600; font-size: .96rem; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .btn-primary { color: #06211f; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-primary { color: #06211f; }
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); }

/* sections + cards */
section { padding: 44px 0; }
section.tight { padding: 28px 0; }
.section-head { max-width: 64ch; margin-bottom: 26px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .muted, .muted { color: var(--muted); }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; display: block; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .more { color: var(--accent); font-weight: 600; font-size: .92rem; }

.pill-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 0; padding: 0; list-style: none; }
.pill-row li { font-size: .82rem; color: var(--muted); border: 1px solid var(--line);
  background: var(--surface-2); padding: 3px 10px; border-radius: 99px; }

/* stats */
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat .n { font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em; color: var(--accent); display: block; }
.stat .l { font-size: .9rem; color: var(--muted); }

/* tables */
table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 0 0 1em; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-wrap table { margin: 0; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* misc */
.band { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { padding-left: 26px; position: relative; margin-bottom: .55em; }
ul.checks li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.note { border-left: 3px solid var(--accent); background: var(--surface); padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); font-size: .94rem; }

footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 34px 0;
  color: var(--muted); font-size: .9rem; background: var(--surface); }
footer.site .cols { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
footer.site a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; }
footer.site a:hover { color: var(--accent); }
footer.site h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text); margin: 0 0 8px; }
.legal { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; }

@media (max-width: 640px) {
  .hero { padding: 44px 0 26px; }
  nav.main { gap: 0; }
  nav.main a { padding: 6px 7px; font-size: .86rem; }
  .brand span.long { display: none; }
}

/* Persistent sandbox launch button in the header, on every page. */
nav.main a.nav-cta {
  background: var(--accent); color: #fff; font-weight: 600;
  padding: 7px 14px; border-radius: 8px; margin-left: 6px; white-space: nowrap;
}
nav.main a.nav-cta:hover { filter: brightness(1.08); background: var(--accent); color: #fff; }
:root[data-theme="dark"] nav.main a.nav-cta { color: #06211f; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) nav.main a.nav-cta { color: #06211f; }
}
@media (max-width: 640px) {
  nav.main a.nav-cta { padding: 6px 10px; font-size: .85rem; margin-left: 2px; }
}
