/* AlternServ — brand palette from "Identitate vizuala 2024" */
:root {
  --aqua: #43f3a8;
  --neon: #cdff00;
  --green: #005a44;
  --bg: #04211a;
  --bg-raised: #08302699;
  --surface: #0a3a2e;
  --line: #1c5a4a;
  --text: #eaf6f0;
  --muted: #a9c9bd;
  --radius: 14px;
  --wrap: 1120px;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aqua); }
a:hover { color: var(--neon); }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
li::marker { color: var(--aqua); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--neon); color: #04211a; padding: 8px 12px; z-index: 100; border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #04211aee; backdrop-filter: blur(10px); border-bottom: 1px solid #ffffff12; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.logo img { width: 182px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--text); text-decoration: none; font-size: 0.98rem; font-weight: 500; }
.site-nav a:hover { color: var(--aqua); }
.site-nav a[aria-current="page"] { color: var(--aqua); }
.site-nav a.lang { border: 1px solid #ffffff40; border-radius: 999px; padding: 4px 11px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; }
.site-nav a.lang:hover { border-color: var(--aqua); }
.nav-toggle, .nav-button { display: none; }

/* Long-form text (privacy, 404) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose p, .prose li { color: #cfe6dc; }

/* Buttons */
.btn {
  display: inline-block; background: var(--aqua); color: #04211a !important; font-weight: 650;
  padding: 14px 26px; border-radius: 999px; text-decoration: none; border: 2px solid var(--aqua);
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--neon); border-color: var(--neon); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text) !important; border-color: #ffffff40; }
.btn-ghost:hover { background: transparent; border-color: var(--aqua); color: var(--aqua) !important; }
.btn-small { padding: 9px 18px; font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Sections */
section { padding: 84px 0; }
.eyebrow { color: var(--neon); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.band { background: var(--green); }
.band .lead, .band p { color: #d5efe5; }
.tint { background: #062a21; border-block: 1px solid #ffffff0d; }

/* Hero */
.hero { padding: 88px 0 96px; background:
  radial-gradient(900px 480px at 85% -10%, #43f3a81f, transparent 60%),
  radial-gradient(700px 420px at -10% 110%, #005a44aa, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--aqua); }
.page-hero { padding: 72px 0 56px; background: radial-gradient(800px 380px at 90% -20%, #43f3a81a, transparent 60%); }

/* Status panel in hero */
.panel { background: linear-gradient(160deg, #0c4435, #07291f); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 30px 80px #00000055; }
.panel-title { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 5px #43f3a82e; margin-right: 8px; }
.panel ul { list-style: none; padding: 0; margin: 0; }
.panel li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid #ffffff12; margin: 0; font-size: 0.97rem; }
.panel li span:last-child { color: var(--aqua); font-weight: 600; text-align: right; white-space: nowrap; }

/* Cards & grids */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.band .card { background: #004a38; border-color: #1f7a63; }
.step { counter-increment: step; }
.steps { counter-reset: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; color: var(--neon); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em; margin-bottom: 14px; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #04211a; background: var(--neon); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 0.7em; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 3px solid var(--aqua); border-bottom: 3px solid var(--aqua); transform: rotate(-45deg); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat strong { display: block; font-size: 2.1rem; line-height: 1.1; color: var(--aqua); letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 0.95rem; }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 0.97rem; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid #ffffff12; vertical-align: top; }
thead th { background: #0d4a3a; font-size: 1rem; color: var(--aqua); position: sticky; top: 0; }
tbody th { font-weight: 600; color: var(--muted); width: 24%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--aqua); font-weight: 600; }
.note { color: var(--muted); font-size: 0.93rem; margin-top: 16px; }

/* Definition rows */
.spec { display: grid; grid-template-columns: 220px 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); margin: 0; }
.spec dt, .spec dd { padding: 14px 18px; margin: 0; border-bottom: 1px solid #ffffff12; }
.spec dt { color: var(--muted); font-weight: 600; }
.spec dt:last-of-type, .spec dd:last-of-type { border-bottom: 0; }

/* CTA */
.cta { text-align: center; }
.cta .lead { margin-inline: auto; }
.cta .actions { justify-content: center; }
.mail-big { font-size: clamp(1.4rem, 3.4vw, 2.2rem); font-weight: 700; letter-spacing: -0.01em; }

/* Footer */
.site-footer { background: #031812; border-top: 1px solid #ffffff12; padding: 56px 0 24px; font-size: 0.95rem; color: var(--muted); }
.footer-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-row img { margin-bottom: 16px; }
.footer-row nav { display: grid; gap: 8px; align-content: start; }
.footer-row a { color: var(--text); text-decoration: none; }
.footer-row a:hover { color: var(--aqua); }
.footer-label { color: var(--neon); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #ffffff12; font-size: 0.85rem; }
.footer-legal p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .g4, .stats { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr; }
  .footer-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .hero { padding: 56px 0 64px; }
  .g2, .g4 { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .spec dt { border-bottom: 0; padding-bottom: 0; }
  .footer-row { grid-template-columns: 1fr; gap: 28px; }
  .logo img { width: 150px; }

  .nav-button { display: grid; gap: 5px; padding: 12px 8px; cursor: pointer; }
  .nav-button span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }
  .nav-toggle { display: block; position: absolute; opacity: 0; right: 20px; width: 40px; height: 40px; }
  .nav-toggle:focus-visible + .nav-button { outline: 3px solid var(--neon); border-radius: 6px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: #04211a; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid #ffffff12; font-size: 1.05rem; }
  .site-nav a.lang { align-self: flex-start; margin-top: 16px; padding: 6px 14px; border-bottom: 1px solid #ffffff40; }
  .site-nav .btn { margin-top: 16px; text-align: center; border-bottom: 2px solid var(--aqua); }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
