/* ==========================================================================
   Slicer Syndicate e.V. — Website Stylesheet
   ========================================================================== */

:root {
  --bg: #0b0c10;
  --bg-panel: #14161d;
  --bg-panel-2: #1b1e27;
  --border: #262a35;

  --cyan: #08f7fe;
  --magenta: #fe53bb;
  --purple: #b026ff;

  --text: #f4f6f8;
  --text-muted: #a8aeb8;
  --text-dim: #767c88;

  --radius: 14px;
  --max-width: 1120px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link for keyboard/screen-reader users */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--bg-panel);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Headings & text ---------- */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 18px;
  color: var(--text);
}

h2 .accent,
h1 .accent {
  background: linear-gradient(90deg, var(--cyan), var(--purple) 60%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: var(--cyan);
}

p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.lead {
  font-size: 1.15rem;
  color: var(--text);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--magenta);
  margin-bottom: 12px;
}

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

.section-narrow {
  max-width: 760px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  color: #06070a;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 0 0 1px rgba(8, 247, 254, 0.4), 0 8px 28px -6px rgba(176, 38, 255, 0.55);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 16, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.brand-text {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--cyan);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.is-open {
    max-height: 400px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: 76px 0 64px;
  text-align: center;
}

.hero-logo {
  width: 160px;
  height: 160px;
  margin: 0 auto 28px;
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 20px 60px -18px rgba(176, 38, 255, 0.45);
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 28px;
}

.hero .btn-row {
  justify-content: center;
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 820px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #06070a;
  font-weight: 800;
  margin-bottom: 14px;
}

/* ---------- Callout / info boxes ---------- */

.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--magenta);
  background: var(--bg-panel);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* ---------- Table ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

th, td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

th {
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-panel-2);
}

tr:last-child td {
  border-bottom: none;
}

td strong {
  color: var(--text);
}

/* ---------- Timeline (workshop steps) ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--border);
}

.timeline li {
  position: relative;
  padding: 4px 0 28px 30px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(8, 247, 254, 0.15);
}

.timeline li:last-child {
  padding-bottom: 4px;
}

.timeline .time {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-col strong {
  color: var(--text);
  display: block;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* ---------- Utilities ---------- */

.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.legal h2 {
  margin-top: 40px;
}

.legal h2:first-of-type {
  margin-top: 0;
}
