
@layer layout {

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: #f6f3ef;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background: linear-gradient(
    to bottom right,
    rgba(255, 220, 200, 0.08),
    rgba(44, 42, 39, 0.03),
    rgba(255, 245, 235, 0.06)
  );
}

.page {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.92),
      rgba(255,255,255,0.75)
    );

  backdrop-filter: blur(14px) saturate(140%);

  border-bottom: 1px solid rgba(0,0,0,0.08);

  box-shadow:
    0 4px 20px rgba(0,0,0,0.04),
    inset 0 -1px 0 rgba(255,255,255,0.4);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--warm),
    transparent
  );

  opacity: 0.35;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.name {
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.subtitle {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(44,42,39,0.5);
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  text-decoration: none;
  color: rgba(44,42,39,0.7);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 200ms ease;
}

.nav a:hover {
  color: var(--warm);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;

  width: 0%;
  height: 1px;

  background: var(--warm);

  transition: width 200ms ease;
}

.nav a:hover::after {
  width: 100%;
}

.system-status {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--warm);
  opacity: 0.7;
}

@media (max-width: 600px) {
  .subtitle,
  .system-status {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav {
    gap: 0.8rem;
  }

  .nav a {
    font-size: 0.75rem;
  }
}

}