:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.75);
  --border: rgba(255, 255, 255, 0.18);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, rgba(111, 96, 255, 0.18), transparent 20%),
    radial-gradient(circle at bottom right, rgba(33, 193, 163, 0.12), transparent 18%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-shell {
  max-width: 1200px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 24px 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  overflow: hidden;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 0;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-logo {
  display: block;
  height: 84px;
  width: auto;
  max-width: min(320px, 52vw);
  object-fit: contain;
  background: transparent;
}

.brand-copy {
  line-height: 1.2;
}

.brand-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tag {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
  position: relative;
  margin-left: auto;
}

.brand-icon::before,
.brand-icon::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.brand-icon::before {
  inset: 0;
  border: 3px solid #fff;
}

.brand-icon::after {
  width: 12px;
  height: 12px;
  background: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  min-height: auto;
  flex: 1 1 auto;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
  position: relative;
}

.hero-copy h1 .letter,
.hero-copy h1 .hero-highlight {
  display: inline-block;
}

.hero-copy h1.animate-title .letter {
  opacity: 0;
  transform: translateY(18px) rotate(-6deg);
  animation: launch 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-copy h1 .hero-highlight {
  margin-left: 0.35rem;
  color: #fff;
}

@keyframes launch {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.hero-copy p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 620px;
  margin-top: 24px;
}

.hero-visual {
  position: absolute;
  top: 18%;
  left: 52%;
  width: 220px;
  height: 220px;
  transform: translateX(-25%) rotate(-12deg);
  pointer-events: none;
  display: grid;
  place-items: center;
}

.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-visual::after {
  transform: translate(14px, -14px);
  filter: blur(8px);
  opacity: 0.35;
}

.hero-visual::before {
  transform: translate(-10px, 8px) rotate(1deg);
}

.hero-visual .cube-face {
  position: absolute;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  border-radius: 22px;
  backdrop-filter: blur(18px);
}

.hero-visual .cube-face-front {
  transform: translate(20px, 20px) rotate(18deg) skewY(-8deg);
}

.hero-visual .cube-face-right {
  transform: translate(80px, 8px) rotate(24deg) skewY(-18deg);
  width: 110px;
  height: 160px;
  opacity: 0.8;
}

.hero-visual .cube-face-top {
  transform: translate(12px, -20px) rotate(12deg) skewX(-20deg);
  width: 160px;
  height: 90px;
  opacity: 0.75;
}

.hero-visual .chromatic {
  position: absolute;
  inset: 24px;
  border-radius: 28px;
  background: radial-gradient(circle at 40% 20%, rgba(133, 176, 255, 0.28), transparent 32%),
    radial-gradient(circle at 70% 70%, rgba(255, 160, 184, 0.22), transparent 24%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.site-footer {
  margin-top: 0;
  padding-top: 0;
  flex: 0 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-copy {
  margin: 0;
  font-size: 1rem;
  color: #f7f7ff;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: var(--muted);
}

.footer-actions p {
  margin: 0;
  font-weight: 600;
  color: #fff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.site-footer hr {
  margin: 28px 0 24px;
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 880px) {
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .brand-icon {
    margin-left: auto;
  }

  .hero-visual {
    top: 14%;
    left: 68%;
    width: 180px;
    height: 180px;
    transform: translateX(-20%) rotate(-10deg);
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 18px 16px 14px;
  }

  .hero-copy h1 {
    font-size: 3.2rem;
  }

  .hero-copy p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 14px;
  }

  .hero-visual {
    position: static;
    margin: 20px auto 0;
    transform: none;
    width: 170px;
    height: 170px;
  }

  .site-header {
    justify-content: space-between;
    align-items: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-links {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand-lockup {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    height: 64px;
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: 3.5rem;
  }

  .footer-actions {
    align-items: flex-start;
  }
}
