/* Loyt shared styles */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-300: #999999;
  --gray-500: #666666;
  --gray-700: #2a2a2a;
  --gray-800: #1a1a1a;
  --gray-900: #0d0d0d;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  width: 34px; height: 34px;
  background: url('/logo.png') center/contain no-repeat;
  display: block;
  cursor: pointer;
  transition: transform 0.3s;
  flex-shrink: 0;
  text-decoration: none;
}
.logo:hover { transform: scale(1.08); }

.nav-right {
  display: flex; align-items: center; gap: 28px;
}
.nav-right a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-right a:hover { color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  width: 22px; height: 1.5px;
  background: var(--white);
  display: block;
}

/* FOOTER */
footer {
  padding: 60px 40px 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 14px;
  color: var(--gray-300);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 24px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

/* SUBPAGE */
.subpage-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}
.subpage-content h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.subpage-content .lang-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  margin-top: 48px;
}
.subpage-content .lang-label:first-child { margin-top: 0; }
.subpage-content h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin: 48px 0 24px;
  letter-spacing: -0.01em;
}
.subpage-content p, .subpage-content li {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 12px;
}
.subpage-content ul {
  list-style: none;
  padding: 0;
}
.subpage-content ul li::before {
  content: '→ ';
  color: var(--gray-500);
}
.subpage-content a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.subpage-content .divider {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 40px 0;
}
.subpage-content .go-home {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s;
}
.subpage-content .go-home:hover { color: var(--white); }

/* MOBILE */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-right .nav-link { display: none; }
  .hamburger { display: flex; }
  footer {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px;
  }
  .footer-bottom { padding: 24px 20px; }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
}
