:root {
  color-scheme: dark;
  --night: #08020f;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.2);
  --text: #fff8fb;
  --muted: #c9b8cf;
  --soft: #f6d7de;
  --pink: #ff5cab;
  --gold: #ffe47a;
  --cyan: #6fd9ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(115deg, rgba(38, 75, 125, 0.42), transparent 32%),
    linear-gradient(250deg, rgba(133, 24, 72, 0.48), transparent 34%),
    linear-gradient(180deg, #180a28 0%, var(--night) 46%, #120516 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 62px);
  background: rgba(8, 2, 15, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-icon {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28) inset;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--text);
}

nav a[aria-current="page"] {
  border-bottom: 2px solid var(--cyan);
}

.header-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: #190716;
  background: linear-gradient(135deg, var(--pink), var(--gold));
  box-shadow: 0 16px 40px rgba(255, 92, 171, 0.24);
  font-weight: 900;
  white-space: nowrap;
}

main {
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 76px);
}

.legal-panel {
  max-width: 1028px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

h1,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  color: var(--text);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 34px 0 12px;
  color: var(--soft);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

p {
  margin-bottom: 14px;
}

ul {
  padding-left: 1.3rem;
}

li {
  margin-bottom: 10px;
}

span {
  color: var(--soft);
  font-weight: 800;
}

.legal-panel a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: rgba(4, 1, 7, 0.72);
  text-align: center;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .site-header {
    gap: 12px;
    padding: 13px 16px;
  }

  .brand span {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  nav {
    gap: 10px;
    font-size: 0.84rem;
  }

  .header-cta {
    display: none;
  }

  main {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 420px) {
  .brand span {
    display: none;
  }
}
