@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=DM+Serif+Display&display=swap');

:root {
  --site-shell-bg-light: #fafafa;
  --site-shell-bg-white: #ffffff;
  --site-shell-bg-dark: #0a0a0a;
  --site-shell-text-dark: #111111;
  --site-shell-text-secondary: #555555;
  --site-shell-text-muted: #888888;
  --site-shell-text-light: #fafafa;
  --site-shell-accent: #c8e64a;
  --site-shell-accent-dark: #a5c23a;
  --site-shell-border: #e5e5e5;
  --site-shell-border-dark: #333333;
  --site-shell-font-sans: var(--font-sans, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  --site-shell-font-mono: var(--font-mono, 'JetBrains Mono', 'SF Mono', monospace);
}

body.mobile-menu-open {
  overflow: hidden;
}

.site-shell-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--site-shell-border);
}

.site-shell-nav .site-shell-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-shell-nav .site-shell-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-shell-nav .site-shell-logo img {
  height: 24px;
  width: auto;
  display: block;
}

.site-shell-nav .site-shell-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-shell-nav .site-shell-nav-links > a,
.site-shell-nav .site-shell-nav-links > button,
.site-shell-nav .site-shell-nav-dropdown > .site-shell-nav-dropdown-trigger {
  font-family: var(--site-shell-font-sans);
  color: var(--site-shell-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-shell-nav .site-shell-nav-links > a:hover,
.site-shell-nav .site-shell-nav-links > button:hover,
.site-shell-nav .site-shell-nav-dropdown:hover > .site-shell-nav-dropdown-trigger,
.site-shell-nav .site-shell-nav-login:hover {
  color: var(--site-shell-text-dark);
}

.site-shell-nav .site-shell-nav-divider {
  width: 1px;
  height: 20px;
  background: var(--site-shell-border);
  margin: 0 4px;
}

.site-shell-nav .site-shell-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-shell-nav .site-shell-nav-login {
  font-family: var(--site-shell-font-sans);
  color: var(--site-shell-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.site-shell-nav .site-shell-nav-dropdown {
  position: relative;
}

.site-shell-nav .site-shell-nav-dropdown-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.site-shell-nav .site-shell-nav-dropdown:hover .site-shell-nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.site-shell-nav .site-shell-nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.site-shell-nav .site-shell-nav-dropdown:hover .site-shell-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.site-shell-nav .site-shell-nav-dropdown-content {
  background: var(--site-shell-bg-white);
  border: 1px solid var(--site-shell-border);
  border-radius: 12px;
  padding: 16px;
  min-width: 480px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.site-shell-nav .site-shell-nav-dropdown-content-wide {
  min-width: 560px;
}

.site-shell-nav .site-shell-nav-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.site-shell-nav .site-shell-nav-mega-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-shell-nav .site-shell-nav-mega-label {
  font-family: var(--site-shell-font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--site-shell-text-muted);
  padding: 0 12px 8px;
  border-bottom: 1px solid var(--site-shell-border);
  margin-bottom: 4px;
}

.site-shell-nav .site-shell-nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--site-shell-text-dark);
  transition: background 0.15s;
}

.site-shell-nav .site-shell-nav-dropdown-item:hover {
  background: var(--site-shell-bg-light);
}

.site-shell-nav .site-shell-nav-dropdown-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--site-shell-bg-light);
  border-radius: 6px;
  flex-shrink: 0;
}

.site-shell-nav .site-shell-nav-dropdown-icon svg {
  width: 16px;
  height: 16px;
  color: var(--site-shell-text-secondary);
}

.site-shell-nav .site-shell-nav-dropdown-item:hover .site-shell-nav-dropdown-icon {
  background: var(--site-shell-accent);
}

.site-shell-nav .site-shell-nav-dropdown-item:hover .site-shell-nav-dropdown-icon svg {
  color: var(--site-shell-bg-dark);
}

.site-shell-nav .site-shell-nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.site-shell-nav .site-shell-nav-dropdown-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--site-shell-text-dark);
}

.site-shell-nav .site-shell-nav-dropdown-desc {
  font-size: 11px;
  color: var(--site-shell-text-muted);
}

.site-shell-nav .site-shell-nav-cta {
  margin-left: 0;
}

.site-shell-nav .btn,
.site-shell-footer .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.site-shell-nav .btn-accent,
.site-shell-footer .btn-accent {
  background: var(--site-shell-accent);
  color: var(--site-shell-text-dark);
}

.site-shell-nav .btn-accent:hover,
.site-shell-footer .btn-accent:hover {
  background: var(--site-shell-accent-dark);
}

.site-shell-nav .site-shell-mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--site-shell-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--site-shell-text-dark);
  cursor: pointer;
}

.site-shell-nav .site-shell-mobile-menu-toggle svg {
  width: 20px;
  height: 20px;
}

.site-shell-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 10, 10, 0.52);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  padding: 20px;
}

.site-shell-mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.site-shell-mobile-menu-panel {
  width: min(420px, 100%);
  height: 100%;
  margin-left: auto;
  background: #f7f3eb;
  border-radius: 24px;
  padding: 24px 20px 32px;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.site-shell-mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.site-shell-mobile-menu .mobile-menu-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--site-shell-border);
  border-radius: 999px;
  background: transparent;
  color: var(--site-shell-text-dark);
  cursor: pointer;
}

.site-shell-mobile-menu .mobile-menu-close svg {
  width: 20px;
  height: 20px;
}

.site-shell-mobile-menu a {
  display: block;
  color: var(--site-shell-text-dark);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.site-shell-mobile-menu .site-shell-mobile-cal-trigger {
  display: block;
  width: 100%;
  color: var(--site-shell-text-dark);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--site-shell-font-sans);
}

.site-shell-mobile-menu .mobile-menu-section {
  margin-top: 20px;
  margin-bottom: 8px;
  font-family: var(--site-shell-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--site-shell-text-muted);
}

.site-shell-footer {
  background: var(--site-shell-bg-dark);
  color: var(--site-shell-text-light);
  padding: 80px 24px 28px;
}

.site-shell-footer .site-shell-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(140px, 1fr));
  gap: 28px;
  align-items: start;
}

.site-shell-footer .site-shell-footer-brand {
  padding-right: 24px;
}

.site-shell-footer .site-shell-footer-logo {
  margin-bottom: 18px;
}

.site-shell-footer .site-shell-footer-logo img {
  height: 20px;
  width: auto;
  display: block;
}

.site-shell-footer .site-shell-footer-tagline {
  color: rgba(250, 250, 250, 0.72);
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
}

.site-shell-footer .site-shell-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.site-shell-footer .site-shell-footer-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--site-shell-text-light);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.site-shell-footer .site-shell-footer-social a:hover {
  border-color: var(--site-shell-accent);
  color: var(--site-shell-accent);
  background: rgba(200, 230, 74, 0.08);
}

.site-shell-footer .site-shell-footer-social svg {
  width: 18px;
  height: 18px;
}

.site-shell-footer .site-shell-footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-shell-footer .site-shell-footer-column-title {
  font-family: var(--site-shell-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.48);
  margin-bottom: 4px;
}

.site-shell-footer .site-shell-footer-column a,
.site-shell-footer .status-link {
  color: rgba(250, 250, 250, 0.84);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.site-shell-footer .site-shell-footer-column a:hover,
.site-shell-footer .status-link:hover {
  color: var(--site-shell-accent);
}

.site-shell-footer .status-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-shell-footer .status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #71717a;
  box-shadow: 0 0 0 6px rgba(113, 113, 122, 0.16);
}

.site-shell-footer .status-indicator.operational {
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.16);
}

.site-shell-footer .status-indicator.degraded {
  background: #f59e0b;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.16);
}

.site-shell-footer .status-indicator.down {
  background: #ef4444;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.16);
}

.site-shell-footer .site-shell-footer-bottom {
  max-width: 1400px;
  margin: 48px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-shell-footer .site-shell-footer-bottom p {
  color: rgba(250, 250, 250, 0.48);
  font-size: 13px;
}

.site-shell-footer-stamp {
  max-width: 1400px;
  margin: 56px auto 0;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(250, 250, 250, 0.22);
  user-select: none;
}

.footer-stamp-mark {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(250, 250, 250, 0.3);
  margin-bottom: 20px;
}

.footer-stamp-line {
  font-size: 10px;
  line-height: 2.2;
}

.footer-stamp-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(250, 250, 250, 0.32);
  margin: 2px 0;
}

.footer-stamp-url {
  font-size: 9px;
  letter-spacing: 0.18em;
  margin-top: 14px;
  color: rgba(250, 250, 250, 0.16);
}

.legal-shell main {
  padding-top: 124px;
}

@media (max-width: 980px) {
  .site-shell-nav .site-shell-nav-links {
    display: none;
  }

  .site-shell-nav .site-shell-mobile-menu-toggle {
    display: inline-flex;
  }

  .site-shell-footer .site-shell-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-shell-footer .site-shell-footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .site-shell-nav .site-shell-nav-inner {
    padding: 14px 16px;
  }

  .site-shell-nav .site-shell-logo img {
    height: 22px;
  }

  .site-shell-nav .site-shell-nav-dropdown-content,
  .site-shell-nav .site-shell-nav-dropdown-content-wide {
    min-width: 0;
    width: min(88vw, 520px);
  }

  .site-shell-nav .site-shell-nav-mega-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-shell-footer {
    padding: 64px 16px 24px;
  }

  .site-shell-footer .site-shell-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-shell-footer .site-shell-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-shell main {
    padding-top: 112px;
  }
}
