﻿:root {
  --bg-top: #060d1d;
  --bg-bottom: #020611;
  --text: #ecf5ff;
  --muted: #8ea5c6;
  --accent: #19b6ff;
  --accent-soft: #7ad8ff;
  --line: rgba(120, 180, 224, 0.22);
  --content-max: 1020px;
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-emphasis: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(165deg, #060d1d 0%, #060b16 48%, #030813 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.09;
  background-image:
    linear-gradient(to right, rgba(31, 169, 232, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 169, 232, 0.3) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 24%, transparent 88%);
  -webkit-mask-image: radial-gradient(circle at center, black 24%, transparent 88%);
}

.bg-particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.62;
}

.wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding: 24px clamp(16px, 3.6vw, 56px) 38px;
}

header,
main,
footer {
  width: min(var(--content-max), 100%);
  margin: 0 auto;
}

header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: clamp(96px, 12vw, 132px);
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 4px rgba(34, 183, 255, 0.16));
}

.brand-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

h1 {
  margin: 0;
  line-height: 1.2;
  font-family: "Bahnschrift", "Segoe UI", "Arial Narrow", sans-serif;
  font-size: clamp(1.45rem, 2.9vw, 2rem);
  color: #ffffff;
}

.version {
  color: #d9efff;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--accent);
  line-height: 1.2;
  padding-bottom: 2px;
  white-space: nowrap;
}

.subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 78ch;
}

.jump-wrap {
  margin-top: 12px;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.jump a,
.jump button {
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  padding: 0 0 2px;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: color 260ms var(--ease-standard), border-color 260ms var(--ease-standard), transform 260ms var(--ease-standard);
}

.jump a:hover,
.jump a:focus-visible,
.jump button:hover,
.jump button:focus-visible,
.jump a.active {
  color: #ffffff;
  border-bottom-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

main {
  margin-top: 12px;
}

main section {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

main section:last-of-type {
  border-bottom: 0;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #f4f9ff;
}

p {
  margin: 7px 0;
  max-width: 88ch;
  color: #c6d8f0;
}

.meta {
  color: var(--muted);
}

a {
  color: var(--accent-soft);
  text-underline-offset: 3px;
}

a:hover {
  color: #c7eeff;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(122, 216, 255, 0.85);
  outline-offset: 3px;
}

footer {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--accent-soft);
  text-decoration: none;
}

footer a:hover {
  color: #c7eeff;
  text-decoration: underline;
}

.heart {
  color: var(--accent);
}

@media (max-width: 760px) {
  html,
  body {
    font-size: 16px;
  }

  .logo {
    width: clamp(80px, 22vw, 106px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }
}

