:root {
  --bg: #080b09;
  --panel: #0c100d;
  --green: #4af07a;
  --green-bright: #7dffa6;
  --green-dim: #3f9163;
  --amber: #ffb454;
  --line: #173322;
  --text: #cfeede;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  background: var(--bg); color: var(--green);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.5; -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; align-items: center;
  min-height: 100vh; min-height: 100dvh;
  padding: 24px 16px; position: relative;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 2px, rgba(0,0,0,.18) 3px);
  z-index: 9; mix-blend-mode: multiply;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(74,240,122,.05), rgba(0,0,0,.55));
  z-index: 8;
}
.lang-en [data-da], .lang-da [data-en] { display: none; }

/* ===== the one window ===== */
.term {
  width: 100%; max-width: 720px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 0 40px rgba(74,240,122,.07), 0 20px 60px rgba(0,0,0,.6);
  position: relative; z-index: 10; overflow: hidden; margin-bottom: 22px;
}
.bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; background: #0a0d0b; border-bottom: 1px solid var(--line);
}
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot.r { background: #ff5f56; }
.dot.y { background: #ffbd2e; }
.dot.g { background: #27c93f; }
.bar .path { margin-left: 8px; color: var(--green-dim); font-size: 12px; letter-spacing: .5px; }
.bar .lang-toggle { margin-left: auto; }
.term-body { padding: 26px 22px 30px; }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
.lang-toggle button {
  background: transparent; color: var(--green-dim); border: none;
  font-family: inherit; font-size: 0.75rem; padding: 0.3rem 0.65rem;
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.lang-toggle button.active { background: var(--green); color: #06130a; font-weight: 700; }
.lang-toggle button:not(.active):hover { color: var(--text); }

.breadcrumb { color: var(--green-dim); margin-bottom: 1.5rem; font-size: 13px; }
.breadcrumb a { color: var(--green-dim); }
.breadcrumb a:hover { color: var(--green-bright); }

.prompt-line { color: var(--green-dim); font-size: 13px; margin-bottom: 6px; }
.prompt-line b, .prompt-line .cmd { color: var(--green); font-weight: 600; }
h1 {
  font-family: 'VT323', monospace; font-weight: 700;
  font-size: clamp(48px, 13vw, 72px); line-height: .95;
  color: var(--green-bright); text-shadow: 0 0 14px rgba(74,240,122,.45);
  letter-spacing: 1px; margin: 2px 0 10px;
}
h1.small { font-size: clamp(32px, 8vw, 44px); }
.tagline { font-size: 13px; color: var(--green-dim); margin-bottom: 22px; }

.cursor {
  display: inline-block; width: 9px; height: 15px;
  background: var(--green-bright); margin-left: 4px; vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
  box-shadow: 0 0 8px rgba(74,240,122,.6);
}
@keyframes blink { 50% { opacity: 0; } }

section { margin-bottom: 2.75rem; }
section > .heading {
  font-weight: 600; font-size: 15px;
  color: var(--green); margin-bottom: 0.9rem;
  display: flex; align-items: center; gap: 11px;
}
section > .heading::before { content: "▶"; font-size: 13px; font-weight: 700; color: var(--amber); }
section p { margin: 0 0 0.8rem; }

ul.services { list-style: none; padding: 0; margin: 0; }
ul.services li {
  padding: 0.5rem 0 0.5rem 1.4rem; position: relative; border-bottom: 1px dashed var(--line);
}
ul.services li:last-child { border-bottom: none; }
ul.services li::before { content: "$"; position: absolute; left: 0; color: var(--green-bright); }

.card {
  border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem;
  background: rgba(74,240,122,.02); margin-bottom: 0.75rem;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  transition: all .15s ease;
}
.card:has(a):hover {
  border-color: var(--green-dim); background: rgba(74,240,122,.08);
  box-shadow: 0 0 22px rgba(74,240,122,.25); transform: translateY(-1px);
}
.card a { color: var(--green-bright); }
.card .meta { color: var(--green-dim); font-size: 0.85rem; margin-top: 0.3rem; }

a { color: var(--green-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; }
.contact-grid dt { color: var(--green-dim); }
.contact-grid dd { margin: 0; }

.cta {
  display: inline-block; margin-top: 0.5rem; padding: 12px 24px;
  border: 1px solid var(--green); border-radius: 8px; color: var(--green);
  text-decoration: none; font-weight: 600; font-size: 14.5px;
  font-family: inherit; background: transparent; cursor: pointer;
  transition: all .15s ease;
}
.cta:hover, .cta:focus {
  background: rgba(74,240,122,.08); color: var(--green-bright);
  box-shadow: 0 0 18px rgba(74,240,122,.25); transform: translateY(-1px);
  text-decoration: none;
}
.cta.amber { border-color: var(--amber); color: var(--amber); }
.cta.amber:hover, .cta.amber:focus {
  background: rgba(255,180,84,.08); color: var(--amber);
  box-shadow: 0 0 18px rgba(255,180,84,.25); transform: translateY(-1px);
}

label { display: block; color: var(--green-dim); margin-bottom: 0.3rem; font-size: 0.9rem; }
input[type=text], input[type=url], textarea, select {
  width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  color: var(--text); font-family: inherit; font-size: 0.95rem; padding: 0.55rem 0.7rem;
  margin-bottom: 1rem;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); }

.qr-output { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-top: 1rem; }
.qr-output img, .qr-output canvas { background: #fff; padding: 10px; border-radius: 6px; }

.donate-block { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: flex-start; }
.donate-block .card { flex: 1; min-width: 220px; text-align: center; }
.donate-block img { max-width: 180px; width: 100%; height: auto; border-radius: 4px; }

.guide-step { margin-bottom: 2rem; }
.guide-step h2 {
  font-family: 'VT323', monospace; font-size: 1.3rem; font-weight: 400;
  color: var(--green-bright); margin: 0 0 0.6rem;
}
.guide-step p { margin: 0 0 0.6rem; }
pre {
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px;
  padding: 0.85rem 1rem; overflow-x: auto; margin: 0 0 0.8rem;
  font-size: 0.88rem; line-height: 1.5;
  position: relative;
}
pre code { color: var(--green-bright); font-family: inherit; }

.copy-btn {
  position: absolute; top: 0.5rem; right: 0.5rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 4px;
  color: var(--green-dim); font-family: inherit; font-size: 0.75rem;
  padding: 0.25rem 0.55rem; cursor: pointer;
  opacity: 0; transition: opacity 0.15s, color 0.15s, border-color 0.15s;
}
pre:hover .copy-btn { opacity: 1; }
.copy-btn:hover { color: var(--green-bright); border-color: var(--green-dim); }
.copy-btn.copied { color: var(--green-bright); border-color: var(--green); opacity: 1; }
code.inline {
  background: var(--panel); border: 1px solid var(--line); border-radius: 3px;
  padding: 0.1rem 0.35rem; font-size: 0.9em; color: var(--green-bright);
}
.callout {
  border-left: 3px solid var(--amber); background: rgba(255,180,84,.06);
  padding: 0.6rem 0.9rem; border-radius: 0 4px 4px 0; margin: 0 0 0.8rem;
  color: var(--text); font-size: 0.92rem;
}
.guide-toc { margin-bottom: 2.5rem; }
.guide-toc a { display: block; padding: 0.25rem 0; color: var(--green-dim); }
.guide-toc a:hover { color: var(--green-bright); }

.cv-entry { margin-bottom: 1.75rem; border-bottom: 1px dashed var(--line); padding-bottom: 1.5rem; }
.cv-entry:last-child { border-bottom: none; }
.cv-entry .role {
  font-family: 'VT323', monospace; font-size: 1.3rem; color: var(--green-bright); margin: 0 0 0.1rem;
}
.cv-entry .meta-line { color: var(--green-dim); font-size: 0.88rem; margin: 0 0 0.6rem; }
.cv-entry ul { margin: 0; padding-left: 1.2rem; }
.cv-entry ul li { margin-bottom: 0.3rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  display: inline-block; border: 1px solid var(--line); border-radius: 4px;
  padding: 0.3rem 0.7rem; font-size: 0.85rem; color: var(--green-dim); background: var(--panel);
}

footer {
  width: 100%; max-width: 720px; margin: 6px 0 18px; position: relative; z-index: 10;
  color: var(--green-dim); font-size: 12.5px; text-align: center;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
footer a { color: var(--green); text-decoration: none; }
footer a:hover { color: var(--green-bright); }
