/* Portal theme, matched to c4cyber.com.au */
:root {
  --bg:        #0a0e17;
  --panel:     #121a2b;
  --border:    #1f2b45;
  --navy:      #2d4a9e;
  --accent:    #35d0e0;
  --text:      #e7ecf5;
  --muted:     #9aa7c0;
  --white:     #ffffff;
  --err:       #ff6b6b;
  --radius:    16px;
  --radius-sm: 10px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6rem; }

.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10,14,23,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { max-width: 60rem; margin: 0 auto; padding: .9rem 1.25rem; display: flex; align-items: center; gap: .75rem; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand__mark { width: 34px; height: 34px; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--white); letter-spacing: -.01em; }
.nav__spacer { flex: 1; }
.nav__meta { color: var(--muted); font-size: .85rem; }

main { max-width: 44rem; margin: 2.5rem auto; padding: 0 1.25rem; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 600; color: var(--accent); margin: 0 0 .8rem; }
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.5rem;
}
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; color: var(--muted); margin-top: 1.2rem; }
p { margin: .5rem 0; }

label { display: block; margin: .8rem 0; font-size: .9rem; color: var(--muted); }
input[type=email], input[type=text] {
  display: block; width: 100%; margin-top: .35rem; padding: .65rem .75rem;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: #0c1220; color: var(--text); font-family: var(--font-body); font-size: 1rem;
}
input:focus { outline: none; border-color: var(--accent); }
input[type=file] { margin: .6rem 0; color: var(--muted); }

button, .btn {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: var(--white); border: 0; padding: .65rem 1.1rem; border-radius: var(--radius-sm); cursor: pointer;
}
button:hover { filter: brightness(1.08); }
button:disabled { opacity: .5; cursor: default; filter: none; }
button.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }

ul { list-style: none; padding: 0; margin: .5rem 0 0; }
li { padding: .6rem 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
li:last-child { border-bottom: 0; }

.actions { display: flex; gap: .75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.muted, .msg { color: var(--muted); font-size: .9rem; }
.error { color: var(--err); }
code { background: #0c1220; padding: .1rem .35rem; border-radius: 6px; font-size: .85em; }
