:root {
  --ink: #17131f;
  --muted: #6f6a78;
  --purple: #6436df;
  --fuchsia: #bd2eb8;
  --bg: #f8f6fb;
  --card: #fff;
  --border: rgba(63, 42, 91, .11);
  --shadow: 0 18px 46px rgba(72, 39, 132, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 0%, rgba(112, 55, 223, .09), transparent 26rem),
    radial-gradient(circle at 96% 16%, rgba(206, 45, 180, .07), transparent 28rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--purple); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: block;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  width: min(1060px, calc(100% - 40px));
  min-height: 70px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}
.brand:hover { color: var(--ink); background: transparent; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.top-links { display: flex; align-items: center; gap: 24px; }
.top-links a {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color .2s ease;
}
.top-links a:hover, .top-links a.active { color: var(--purple); background: transparent; }

.page-hero {
  padding: 76px 20px 54px;
  color: var(--ink);
  text-align: center;
  background: transparent;
}
.page-hero .eyebrow {
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.page-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(42px, 7vw, 66px);
  line-height: 1.04;
  letter-spacing: -.05em;
  background: linear-gradient(110deg, var(--purple), var(--fuchsia));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero p, .page-hero .date {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  opacity: 1;
}

main { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 82px; }
section {
  padding: 30px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 28px rgba(58, 31, 107, .045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
section:hover {
  transform: translateY(-2px);
  border-color: rgba(100, 54, 223, .18);
  box-shadow: var(--shadow);
}
h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -.015em;
}
h2::before { display: none; }
p { font-size: 15px; }
ul { padding-left: 22px; }
li { margin-bottom: 7px; }

.highlight {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(100, 54, 223, .12);
  border-left: 3px solid var(--purple);
  border-radius: 12px;
  color: var(--muted);
  background: linear-gradient(135deg, rgba(100, 54, 223, .06), rgba(189, 46, 184, .05));
}

table { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; }
th { background: linear-gradient(110deg, var(--purple), var(--fuchsia)); }
td { border-color: var(--border); }
tr:nth-child(even) td { background: rgba(100, 54, 223, .035); }

.contact-grid { gap: 16px; margin-bottom: 16px; }
.contact-card {
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 28px rgba(58, 31, 107, .045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 54, 223, .2);
  box-shadow: var(--shadow);
}
.contact-card .icon { background: linear-gradient(135deg, var(--purple), var(--fuchsia)); }
.badge { background: rgba(100, 54, 223, .08); color: var(--purple); }

details { border-color: var(--border); }
summary { font-size: 15px; }
summary::after { color: var(--purple); }
details p { color: var(--muted); }

.site-footer {
  padding: 34px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, .55);
}
.footer-inner {
  width: min(1060px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-inner p { margin: 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--purple); }

@media (max-width: 640px) {
  .topbar-inner, main { width: min(100% - 28px, 860px); }
  .topbar-inner { min-height: 62px; flex-wrap: wrap; padding: 10px 0; }
  .brand img { width: 34px; height: 34px; }
  .top-links { order: 2; width: 100%; justify-content: space-between; gap: 10px; }
  .top-links a { font-size: 13px; }
  .page-hero { padding: 56px 20px 38px; }
  section { padding: 23px 20px; border-radius: 18px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
