:root {
  --bg: #070f18;
  --bg-elev: #0c1826;
  --cyan: #6ee7ff;
  --cyan-soft: #95f0ff;
  --text: #e8f4fa;
  --muted: #9bb3c4;
  --card: rgba(12, 24, 38, 0.92);
  --border: rgba(110, 231, 255, 0.2);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  min-height: 100%;
}

body {
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(110, 231, 255, 0.12), transparent 55%),
    linear-gradient(rgba(110, 231, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 231, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  background-attachment: fixed;
}

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

.wrap {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

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

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 0 24px rgba(110, 231, 255, 0.18);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

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

nav a {
  margin-left: 18px;
  font-size: 0.95rem;
  font-weight: 600;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 10px;
}

h2 {
  font-size: 1.2rem;
  margin: 28px 0 8px;
  color: var(--cyan-soft);
}

.lede, .meta, p, li {
  color: var(--text);
}

.meta, .lede {
  color: var(--muted);
  margin: 0 0 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 32px 36px;
  box-shadow: var(--shadow);
}

.hero {
  text-align: center;
  padding: 20px 8px 8px;
}

.hero img {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(110, 231, 255, 0.22);
  margin-bottom: 18px;
}

.hero p {
  color: var(--muted);
  max-width: 560px;
  margin: 12px auto 28px;
}

.links {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.link-card {
  display: block;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.link-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--text);
}

.link-card strong {
  display: block;
  color: var(--cyan-soft);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.link-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

ul { padding-left: 1.15rem; }
li { margin: 0.4rem 0; }

footer.site {
  margin-top: 36px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 640px) {
  header.site { flex-direction: column; align-items: flex-start; }
  nav a { margin: 0 16px 0 0; }
  .links { grid-template-columns: 1fr; }
  .card, .link-card { padding: 22px 18px; }
}
