/* NEXXVU website (C486): minimal, same visual language as the Portal (white, red accent, system type). */
:root { --bg: #ffffff; --text: #0f172a; --muted: #64748b; --line: #e2e8f0; --accent: #dc2647; --accent-text: #ffffff; --panel: #f8fafc; }
@media (prefers-color-scheme: dark) { :root { --bg: #07101f; --text: #f1f5f9; --muted: #94a3b8; --line: #1e293b; --accent: #f43f5e; --panel: #0f172a; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.mark { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .6rem; background: var(--accent); color: var(--accent-text); font-weight: 800; }
nav.site a { color: var(--muted); text-decoration: none; margin-left: 1.25rem; font-size: .95rem; }
nav.site a:hover, nav.site a[aria-current] { color: var(--text); }
main { padding: 4.5rem 0 5rem; }
h1 { font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.15; margin: 0 0 1rem; letter-spacing: -.02em; }
h2 { font-size: 1.25rem; margin: 2.5rem 0 .5rem; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 2.25rem; max-width: 36rem; }
.button { display: inline-block; padding: .7rem 1.2rem; border-radius: .6rem; background: var(--accent); color: var(--accent-text); text-decoration: none; font-weight: 600; }
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--line); margin-left: .5rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin-top: 3rem; }
.card { border: 1px solid var(--line); border-radius: .8rem; padding: 1.1rem 1.2rem; background: var(--panel); text-decoration: none; color: var(--text); }
.card strong { display: block; margin-bottom: .25rem; } .card span { color: var(--muted); font-size: .95rem; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding: 1.5rem 1.25rem; }
footer.site a { color: var(--muted); }
form.contact { display: grid; gap: 1rem; max-width: 32rem; }
form.contact label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
form.contact input, form.contact textarea { font: inherit; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--bg); color: var(--text); }
form.contact textarea { min-height: 9rem; }
.note { color: var(--muted); font-size: .95rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 34rem) { nav.site a { margin-left: .8rem; } .button.secondary { margin: .6rem 0 0; } }
.form-error { color: var(--accent); font-weight: 600; }
