:root {
  --bg: #0d1117;
  --panel: rgba(16, 23, 32, 0.84);
  --line: rgba(255, 255, 255, 0.14);
  --text: #e8edf5;
  --muted: #9ca7bb;
  --primary: #e0a456;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --display: "Playfair Display", serif;
  --body: "Manrope", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: radial-gradient(1000px 520px at 86% -10%, rgba(46, 201, 201, 0.2), transparent 60%),
    radial-gradient(900px 520px at -10% 28%, rgba(224, 164, 86, 0.18), transparent 60%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(980px, 100% - 2rem);
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 14, 21, 0.7);
  backdrop-filter: blur(16px);
}

.topbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.52rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: contain;
  transform: scaleX(-1);
  background: rgba(255, 255, 255, 0.05);
}

.brand strong {
  font-family: var(--display);
  font-size: 1.14rem;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.btn-home {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 0.48rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.btn-home:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

main {
  padding: 1.2rem 0 2rem;
}

.hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1rem;
  margin-bottom: 0.85rem;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.7rem, 5.2vw, 2.5rem);
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.22rem;
  margin-bottom: 0.45rem;
}

p {
  margin: 0.35rem 0;
  color: var(--muted);
}

.meta {
  color: #c8d6e8;
  font-size: 0.84rem;
}

.grid {
  display: grid;
  gap: 0.72rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 0.92rem;
}

ul {
  margin: 0.45rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

li {
  margin: 0.2rem 0;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.6rem;
}

.info-table th,
.info-table td {
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
  vertical-align: top;
  padding: 0.58rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.info-table th {
  color: #d8e3f2;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0 2rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.2rem;
  flex-wrap: wrap;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.36rem;
}

.footer-links a,
.footer-cookie-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-links a:hover,
.footer-cookie-btn:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-cookie-btn {
  cursor: pointer;
  font-family: inherit;
}

.footer-links > * + * {
  position: relative;
  padding-left: 0.62rem;
}

.footer-links > * + *::before {
  content: "·";
  position: absolute;
  left: 0.14rem;
  color: #7f8da1;
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 120;
  padding: 0.72rem;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-card {
  width: min(980px, 100%);
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(12, 18, 26, 0.94);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  padding: 0.76rem;
  display: grid;
  gap: 0.56rem;
  pointer-events: auto;
}

.cookie-copy {
  margin: 0;
  color: #d4dfed;
  font-size: 0.82rem;
}

.cookie-copy a {
  color: #93f2f2;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.48rem;
  flex-wrap: wrap;
}

.cookie-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.44rem 0.74rem;
  cursor: pointer;
}

.cookie-btn.accept {
  background: linear-gradient(120deg, var(--primary), #efb56d);
  color: #1f1407;
  border-color: rgba(224, 164, 86, 0.58);
}

@media (max-width: 820px) {
  .info-table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
