/* ActsLala shared header / footer — all public info pages */
:root {
  --site-bg: #0b0f18;
  --site-panel: #101827;
  --site-text: #e7eefc;
  --site-muted: #a7b4cf;
  --site-dim: #7d8aa3;
  --site-line: rgba(255, 255, 255, 0.10);
  --site-accent: #23e6ff;
  --site-max: 1040px;
  --site-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

.site-wrap {
  width: min(calc(100% - 40px), var(--site-max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--site-line);
  background: rgba(11, 15, 24, 0.96);
  backdrop-filter: blur(12px);
}

.nav-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 750;
  font-size: 1.12rem;
  color: var(--site-text);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  z-index: 2;
  line-height: 0;
}

.brand img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--site-line);
  border-radius: 10px;
  background: transparent;
  color: var(--site-text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  box-shadow: none;
  transform: rotate(45deg);
  position: relative;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: rotate(-90deg);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.main-nav a {
  color: var(--site-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--site-accent);
}

/* Body links that duplicate top nav destinations */
.soft-link,
a.soft-link {
  color: var(--site-dim) !important;
  font-weight: 500;
  text-decoration: none;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  display: inline;
  box-shadow: none !important;
  filter: none !important;
}

.soft-link:hover,
a.soft-link:hover {
  color: var(--site-muted) !important;
  text-decoration: underline;
}

.soft-link-list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.soft-link-list a {
  color: var(--site-dim);
  text-decoration: none;
  display: block;
  line-height: 1.55;
}

.soft-link-list a:hover { color: var(--site-muted); text-decoration: underline; }

.soft-link-list strong {
  display: block;
  font-weight: 650;
  color: var(--site-muted);
  margin-bottom: 2px;
}

.soft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--site-line);
  padding: 36px 0 40px;
  color: var(--site-muted);
  background: #080c14;
  margin-top: 24px;
}

.site-footer-inner {
  display: grid;
  gap: 18px;
}

.site-footer-brand strong {
  color: var(--site-text);
  font-size: 1rem;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 4px;
}

.site-footer-links a {
  color: var(--site-muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
}

.site-footer-links a:hover { color: var(--site-accent); }

/* Logo + operator/copyright block (divider above both lines) */
.site-footer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--site-line);
}

.site-footer-logo {
  flex: 0 0 auto;
  display: inline-flex;
  line-height: 0;
  border-radius: 10px;
  overflow: hidden;
}

.site-footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.site-footer-meta-text {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.site-footer-company {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--site-dim);
}

.site-footer-more {
  margin-left: 0.35em;
  color: var(--site-muted);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer-more:hover {
  color: var(--site-accent);
  text-decoration: underline;
}

.site-footer-copy {
  margin: 0;
  padding-top: 0;
  border-top: none;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--site-dim);
}

@media (max-width: 640px) {
  .site-footer-meta {
    align-items: flex-start;
  }

  .site-footer-logo img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 14px;
    background: #0b0f18;
    border-bottom: 1px solid var(--site-line);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  }

  .main-nav.is-open { display: flex; }

  .main-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--site-line);
    white-space: normal;
  }

  .main-nav a:last-child { border-bottom: none; }
}
