/* Segoe UI where installed (Windows); elsewhere Selawik, Microsoft's open (OFL) version with the same metrics */
@font-face { font-family: "Newronis Sans"; src: local("Segoe UI"), local("SegoeUI"), url("/fonts/selawik-400.woff") format("woff");
             font-weight: 400; font-display: swap; }
@font-face { font-family: "Newronis Sans"; src: local("Segoe UI Bold"), local("SegoeUI-Bold"), url("/fonts/selawik-700.woff") format("woff");
             font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/mono-700.woff") format("woff"); font-weight: 700; font-display: swap; }
:root { color-scheme: dark; --bg: #0f1513; --ink: #f2f4ef; --muted: #a3aca8; --lime: #d4ff78; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { display: flex; flex-direction: column; min-height: 100vh; background: var(--bg); color: var(--ink);
       font-family: "Newronis Sans", system-ui, -apple-system, sans-serif;
       background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                         linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
                         radial-gradient(900px 520px at 85% 20%, rgba(150,190,110,.10), transparent 60%);
       background-size: 56px 56px, 56px 56px, 100% 100%; background-attachment: fixed; }
header, main, footer { position: relative; z-index: 1; }
header, main, footer { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
header { padding-top: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.07); max-width: none;
         padding-left: max(40px, calc((100% - 1080px) / 2)); padding-right: max(40px, calc((100% - 1080px) / 2)); }
header img { height: 40px; width: auto; display: block; }
main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.eyebrow { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-weight: 700; color: var(--lime);
           font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
h1 { margin: 1.2rem 0 0 0; font-weight: 700; font-size: clamp(2.9rem, 7.6vw, 6.4rem); line-height: .96;
     letter-spacing: -0.055em; }
h1 span { color: var(--lime); }
.sub { margin: 1.8rem 0 0 0; color: var(--ink); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; }
.lead { margin: .7rem 0 0 0; max-width: 46rem; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.6; }
footer { padding-top: 22px; padding-bottom: 26px; color: #6f7a75; font-size: .8rem; }
@media (max-width: 600px) { header, main, footer { padding-left: 20px; padding-right: 20px; } header img { height: 32px; }
                            main { padding-top: 40px; } }
.brand { display: block; width: min(560px, 100%); height: auto; margin: 0 0 3.2rem -4px; }
@media (max-width: 600px) { .brand { margin-bottom: 2.4rem; } }
/* one column, centred on the page; everything inside it aligned to the left */
.hero { width: 100%; max-width: 760px; margin: 0 auto; text-align: left; }
/* footer: copyright on the left, contact on the right, on one quiet line */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
        color: #7d8a85; font-size: .85rem; }
.foot a { color: #c9cfcc; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.foot a:hover, .foot a:focus-visible { color: var(--lime); border-color: var(--lime); outline: none; }
/* privacy choice notice (shown until the visitor chooses; both choices equally easy) */
.consent { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 10; width: min(760px, calc(100vw - 32px));
           display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap;
           background: #151c1a; border: 1px solid rgba(212,255,120,.55); border-radius: 14px; padding: 14px 18px;
           box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.consent p { margin: 0; color: #dfe4e1; font-size: .9rem; line-height: 1.5; flex: 1 1 280px; }
.consent p a { color: var(--lime); }
.consent-actions { display: flex; gap: 10px; }
.btn { display: inline-block; padding: .55rem 1rem; border-radius: 9px; border: 1px solid var(--lime); color: #e8ffb8;
       background: rgba(212,255,120,.10); text-decoration: none; font-weight: 700; font-size: .875rem; white-space: nowrap; }
.btn:hover, .btn:focus-visible { background: rgba(212,255,120,.2); outline: none; }
/* privacy page */
.doc main { justify-content: flex-start; padding-top: 48px; }
.doc .hero { max-width: 860px; color: #c9cfcc; font-size: .95rem; line-height: 1.7; }
.brand.small { width: 260px; margin-bottom: 2.2rem; }
.doc-title { font-size: clamp(2.2rem, 5vw, 3.2rem) !important; letter-spacing: -0.03em !important; margin: 0 !important; color: var(--ink); }
.meta { color: #7d8a85; margin: .4rem 0 1.6rem 0; }
.doc h2 { color: var(--ink); font-size: 1.05rem; margin: 2rem 0 .5rem 0; }
.doc a { color: var(--lime); }
.doc .foot a { color: #c9cfcc; }
.tbl { overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; font-size: .875rem; margin: .3rem 0 .8rem 0; }
.doc th { text-align: left; color: #8b9691; font-weight: 400; padding: .5rem .6rem .5rem 0; border-bottom: 1px solid #34403c; }
.doc td { padding: .6rem .6rem .6rem 0; border-bottom: 1px solid #232c2a; vertical-align: top; }
.doc td:first-child { color: var(--ink); white-space: nowrap; }
.doc code { color: var(--ink); font-size: .85rem; }
.doc em { font-style: normal; color: var(--ink); }
.obj { border: 1px solid #34403c; border-left: 3px solid var(--lime); border-radius: 10px; background: rgba(26,34,32,.6);
       padding: .8rem 1rem; margin: .6rem 0 1rem 0; }
.obj .t { color: var(--ink); font-weight: 700; margin: 0 0 .25rem 0; }
.obj p { margin: 0; }
.choices { display: flex; gap: 10px; flex-wrap: wrap; }
.foot span a { color: inherit; }
@media (max-width: 600px) { .doc td:first-child { white-space: normal; } }
.foot .mails { display: flex; gap: 22px; flex-wrap: wrap; }
/* contact page */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: .4rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; color: #c9cfcc; font-size: .85rem; margin-bottom: .35rem; }
.form label small { color: #6f7a75; font-size: .8rem; }
.form input, .form textarea { width: 100%; box-sizing: border-box; background: #121917; color: var(--ink); font: inherit; font-size: .95rem;
  border: 1px solid #2c3734; border-radius: 9px; padding: .65rem .8rem; }
.form textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(212,255,120,.12); }
.form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .note { color: #8b9691; font-size: .82rem; line-height: 1.6; margin: 0; }
.form button.btn { cursor: pointer; font-family: inherit; justify-self: start; padding: .65rem 1.3rem; font-size: .9rem; }
.alert { border: 1px solid #34403c; border-left: 3px solid var(--lime); border-radius: 10px; background: rgba(26,34,32,.6);
  padding: .8rem 1rem; margin: 0 0 1.2rem 0; color: var(--ink); }
.alert.err { border-left-color: #ff8f7a; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
