:root {
  --bg: #08090d;
  --border: rgba(255,255,255,.14);
  --text: #f7f8fc;
  --muted: #b6bdd3;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(139,92,246,.22), transparent 28%),
    radial-gradient(circle at 100% 20%, rgba(34,211,238,.14), transparent 24%),
    linear-gradient(180deg, #0b0d12 0%, #090a0f 100%);
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bg-blur,
.bg-blur2 {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .22;
  pointer-events: none;
  z-index: 0;
}

.bg-blur {
  width: 260px;
  height: 260px;
  background: #8b5cf6;
  top: -60px;
  left: -60px;
}

.bg-blur2 {
  width: 320px;
  height: 320px;
  background: #22d3ee;
  bottom: -100px;
  right: -100px;
}

.page {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 24px;
  align-items: stretch;
  padding: 24px 0;
}

.left, .right {
  min-width: 0;
}

.hero {
  position: sticky;
  top: 24px;
  height: calc(100vh - 48px);
  min-height: 720px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #111;
  animation: fadeUp .7s ease both;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.7) 100%);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 24px 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: #eef2ff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

h1 {
  margin: 14px 0 8px;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.subtitle {
  margin: 0;
  color: #d7dcef;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 420px;
}

.right {
  display: flex;
  align-items: flex-start;
}

.content-wrap {
  width: 100%;
  padding: 10px 0;
  animation: fadeUp .8s ease both;
}

.top-card {
  border-radius: 30px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.05));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 18px;
}

.top-card h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  letter-spacing: -.03em;
}

.top-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.72;
  font-size: .96rem;
}

.top-card p:last-child {
  margin-bottom: 0;
  color: var(--text);
  font-weight: 700;
}

.section-title {
  margin: 18px 4px 12px;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.06));
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.24);
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.08));
}

.card:focus-visible {
  outline: 2px solid rgba(34,211,238,.85);
  outline-offset: 2px;
}

.icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(139,92,246,.22), rgba(34,211,238,.16));
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.content {
  flex: 1;
  min-width: 0;
}

.title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.desc {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arrow {
  font-size: 1.2rem;
  opacity: .9;
  flex: 0 0 auto;
}

.footer {
  text-align: center;
  color: var(--muted);
  font-size: .84rem;
  margin-top: 22px;
  padding-bottom: 8px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
  .page {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(760px, calc(100% - 24px));
    padding: 18px 0 26px;
  }

  .hero {
    position: relative;
    top: auto;
    height: 460px;
    min-height: 460px;
  }

  .content-wrap {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .page {
    width: calc(100% - 20px);
    gap: 16px;
    padding: 10px 0 22px;
  }

  .hero {
    height: 380px;
    min-height: 380px;
    border-radius: 26px;
  }

  .hero-content {
    padding: 20px 18px 18px;
  }

  h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: .95rem;
  }

  .top-card {
    border-radius: 24px;
    padding: 18px;
  }

  .links {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 16px;
    border-radius: 20px;
  }

  .icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .desc {
    white-space: normal;
    overflow: visible;
  }
}